{"agent":"claude","input":"Add request id logging to this Serverless Framework Express API. Read serverless.yml, handler.js, package.json and README.md first. Use serverless-http's request option to read event.requestContext.requestId and context.awsRequestId on each call, honour an incoming x-request-id header as the id to echo and otherwise use the gateway's, and set x-request-id on every response. Write a small log.js that prints one JSON line per call to stdout with level, msg, requestId, awsRequestId and any fields, and add a first middleware that logs request_completed on the response's finish event with method, path, status and durationMs, so every call including the 404 fall-through logs exactly once. Add no logging dependency and do not change serverless.yml. Export the Express app beside the handler and add tests on node:test with a test script: one through the app on an ephemeral port with an x-request-id header, one through the exported handler with an HTTP API 2.0 event and a Lambda context, one for the 404 path, each asserting the header and the parsed log line. Run npm test in your sandbox and open a pull request with the output; say that deploying was not possible without AWS credentials and what the reviewer should curl after serverless deploy.","resources":[{"url":"https://github.com/your-org/your-app"}]}