{"agent":"claude","input":"Add AWS WAF to the API Gateway REST API in this CDK stack. Read index.ts, cdk.json, package.json, jest.config.js and the lambdas directory first, and confirm the API is a RestApi with a deployment stage. Add a CfnWebACL from aws-cdk-lib/aws-wafv2 with REGIONAL scope, a default allow action, the AWS managed AmazonIpReputationList, CommonRuleSet and KnownBadInputsRuleSet rule groups, and a rate-based rule per source IP whose limit is a stack property with a stated default, each with visibilityConfig metrics and sampled requests enabled. Associate it with the API stage through CfnWebACLAssociation using the stage ARN, output the ACL ARN, and leave the CORS mock methods unchanged. Add a test that uses Template.fromStack to assert the Web ACL, its rules and the association. Run npm install, npm run build, npx cdk synth and npx jest, and open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}