{"agent":"codex","input":"Add request ID logging to this NestJS API and open a pull request. Read package.json, jest.json, tsconfig.json, index.js, src/main.ts, src/app.module.ts, src/app.controller.ts, src/user/auth.middleware.ts, src/user/user.module.ts, src/article/article.module.ts, src/shared/pipes/validation.pipe.ts, src/shared/base.controller.ts and src/tag/tag.controller.spec.ts first. Add src/shared/request-id.middleware.ts, a NestMiddleware that reuses an incoming X-Request-Id header or generates one with Node's built-in crypto module, stores it on the request and sets it on the response. Make ApplicationModule implement NestModule and apply it to every route so it runs before AuthMiddleware. Add a LoggingInterceptor using Logger from @nestjs/common, registered globally, that logs method, URL, status, elapsed time and the request id per request, and an error line with the id and status when a handler throws; add a small exception filter that puts the request id in unhandled error bodies. Do not add a logging dependency and do not touch the npm crypto placeholder package. Write src/shared/request-id.middleware.spec.ts with plain request and response objects, and an e2e spec that builds a testing module with only AppController, the middleware and the interceptor, no TypeORM, and checks the header with supertest on GET /api and on a 404. Run npm test and npm run prestart:prod to compile with the pinned TypeScript 3.8, fix what they report, and open a pull request with a sample log excerpt.","resources":[{"url":"https://github.com/your-org/your-app"}]}