{"agent":"claude","input":"Add a nightly cleanup function to this Serverless Framework service. Read serverless.yml, package.json, README.md and every file under todos/ first. Add todos/purge.js exporting purge: scan the table for items with checked true and updatedAt older than PURGE_AFTER_DAYS days, follow LastEvaluatedKey, delete them with BatchWriteCommand in the batch size DynamoDB allows, and log the count. In serverless.yml add a purge function with a schedule event holding a nightly cron expression, add PURGE_AFTER_DAYS to the provider environment, and add dynamodb:BatchWriteItem to the existing IAM statement and nothing else. Add aws-sdk-client-mock as a dev dependency, a test script using node --test, and todos/purge.test.js covering a kept recent item, a deleted old checked item and a followed LastEvaluatedKey. Run the tests and paste the output. Using the SERVERLESS_ACCESS_KEY secret in this Project, run serverless package and quote the purge function and its schedule rule from the generated CloudFormation template. Document the schedule and the variable in the README. Change no existing handler.","resources":[{"url":"https://github.com/your-org/your-app"}]}