{"agent":"claude","input":"Add CloudWatch alarms to this Serverless Framework service. Read serverless.yml, handler.js, package.json and README.md first, and if the repository holds several services, read validate.js and the root package.json too. Add serverless-plugin-aws-alerts under plugins and configure custom.alerts with one SNS alarm topic named from the service and stage, an email subscription whose address comes from a stage parameter rather than a literal, and the functionErrors, functionThrottles and functionDuration alarms. Override functionDuration with a threshold derived from the function's timeout and set treatMissingData to notBreaching on functionErrors. Using the SERVERLESS_ACCESS_KEY from the environment, run serverless package and inspect .serverless/cloudformation-template-update-stack.json: confirm three AWS::CloudWatch::Alarm resources with Dimensions naming the function, one AWS::SNS::Topic and its subscription, and no change to the existing table or role. Run serverless print to show the resolved configuration. Add an Alarms section to the README and run the repository's validation scripts. Open a pull request that quotes the alarm resources from the template and the print output; do not deploy.","resources":[{"url":"https://github.com/your-org/your-app"}]}