{"agent":"claude","input":"Move this Terraform root module's state to a remote S3 backend. Read every .tf file, .terraform.lock.hcl, .gitignore and the README first, and keep provider versions as they are. Add a bootstrap/ root module that creates the state bucket (versioning enabled, server-side encryption, public access blocked, prevent_destroy) and a DynamoDB lock table with a LockID hash key, with the bucket name as a variable and both names as outputs. Add a backend \"s3\" block to the terraform {} block in terraform.tf with encrypt = true, remove the commented-out cloud block, and add a backend.hcl example plus README steps for terraform init -backend-config=backend.hcl and terraform init -migrate-state. Run terraform fmt -check -recursive, terraform init -backend=false and terraform validate in both modules. Do not run apply. Open a pull request that lists the files, the migration commands in order, and the validate output.","resources":[{"url":"https://github.com/your-org/your-app"}]}