{"agent":"claude","input":"Add canary deployments to every Lambda function in this CDK stack. Read index.ts, cdk.json, package.json, jest.config.js, tsconfig.json, README.md, the handlers under lambdas/ and the repository's scripts/build-typescript.sh and scripts/synth.sh first. For each function create a lambda.Alias named live on currentVersion, point its LambdaIntegration at the alias, add a CloudWatch alarm on the alias's error metric with one-minute periods and a threshold of one, and a codedeploy.LambdaDeploymentGroup using LambdaDeploymentConfig.CANARY_10PERCENT_5MINUTES with that alarm; do it through one helper called once per function. Keep the DynamoDB grants on the functions, retain old versions, and explain in README.md how a deploy now shifts traffic and rolls back. Write index.test.ts with Template.fromStack assertions for the five aliases, five deployment groups with the canary config and alarm, five error alarms, and API Gateway integrations that reference aliases. Run npm run build, npx jest and cdk synth with the repository's fake context, and open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}