{"agent":"claude","input":"Add a request id to every log line. Read package.json, src/app.js, src/index.js, src/config/logger.js, src/config/morgan.js, src/middlewares/error.js, tests/unit/middlewares/error.test.js, tests/integration/docs.test.js and tests/utils/setupTestDB.js first. Add a middleware that reuses an incoming X-Request-Id header or generates one with crypto.randomBytes, sets it on the response, and runs the request inside an AsyncLocalStorage store. Add a Winston format that reads the store and prints the id in the existing printf format when present, a Morgan token so access lines carry it, and a requestId field in the error handler's JSON body. Mount the middleware before the Morgan handlers. Write a node-mocks-http unit test and a supertest integration test. Run yarn test against a local MongoDB, yarn lint and yarn prettier, and open a pull request with the output and a sample of the interleaved log lines from two concurrent requests.","resources":[{"url":"https://github.com/your-org/your-app"}]}