{"agent":"claude","input":"Add structured logging to this Koa API. Read src/logger.ts, src/server.ts, src/config.ts, src/cron.ts, src/controller/user.ts, src/protectedRoutes.ts, src/unprotectedRoutes.ts, package.json, .eslintrc, tsconfig.json, Dockerfile and tests/controller/user.test.ts first. Replace the winston reconfiguration in src/logger.ts with one createLogger instance: timestamp, errors with stack and json format on a single Console transport, and colorize plus simple only when config.debugLogging is true; drop the file transport. Add a requestLogger middleware that reads or creates an X-Request-Id with crypto.randomUUID, stores it on ctx.state.requestId, echoes it in the response header, times the handler, and logs one object per request with requestId, method, path, route pattern from the router, status, durationMs, ip and userAgent, keeping the existing error-to-response behaviour and logging the error object with its stack. Provide ctx.state.log as a child logger with the request id. Replace console.log in src/server.ts and src/cron.ts with the logger. Add tests/logger.test.ts with a capturing transport that asserts the fields, the header echo, reuse of an incoming id, and the error path. Run npm run lint and npm test until they pass, start the built server once with NODE_ENV=production to capture a sample line, then open a pull request that shows a development line and a production line side by side.","resources":[{"url":"https://github.com/your-org/your-app"}]}