{"agent":"claude","input":"Add a GitHub Actions workflow that posts the Terraform plan on every pull request. Read terraform.tf, main.tf, variables.tf, outputs.tf, .terraform.lock.hcl and .gitignore first and note whether there is a backend or cloud block. Write .github/workflows/terraform-plan.yml on pull_request with least-privilege permissions (contents read, pull-requests write, id-token write), a concurrency group per pull request, Terraform installed at the version the configuration allows, AWS credentials from an OpenID Connect role named in a repository variable, and steps for terraform fmt -check, init, validate and plan -no-color -out=tfplan, each with continue-on-error. Add a github-script step that creates or updates a single comment with a hidden marker, showing each step's result and the plan inside a details block, truncated under GitHub's comment limit. Fail the job after the comment if fmt, init or validate failed. Do not add apply. If state is local, say so in the workflow and the pull request and show how to switch to remote state. In the sandbox run terraform fmt -check, terraform init -backend=false, terraform validate and actionlint, include the output, and open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}