{"agent":"claude","input":"Add request timeouts to this Koa and TypeScript app. Read package.json, src/server.ts, src/config.ts, src/logger.ts, src/protectedRoutes.ts, src/unprotectedRoutes.ts, src/controller/user.ts, tests/controller/user.test.ts, .example.env, Dockerfile and .github/workflows/ci.yml first. Keep the http.Server returned by app.listen and set headersTimeout, requestTimeout and keepAliveTimeout from new config values read from the environment with defaults; guard requestTimeout for runtimes that lack it. Add src/middleware/timeout.ts that races next() against a configurable limit and answers 503 with a JSON body and Retry-After when the limit passes, mounted after the logger and before bodyParser. Pass statement_timeout through the TypeORM extra options so Postgres cancels slow queries. Add the variables to .example.env and a README section that explains what the handler timeout can and cannot stop. Write jest tests with fake timers for the middleware and for the config parsing. Move the CI setup-node version to 14.x to match engines. Run npm run lint and npm test, then open a pull request that quotes the output.","resources":[{"url":"https://github.com/your-org/your-app"}]}