{"agent":"claude","input":"Add health checks to this NestJS API. Read src/main.ts, src/app.module.ts, src/database/config/database.config.ts, src/home/home.controller.ts, test/user/auth.e2e-spec.ts, test/jest-e2e.json, docker-compose.relational.ci.yaml and the Dockerfile first. Add @nestjs/terminus at the version matching @nestjs/common, and a HealthModule with GET /health/live, which answers 200 with no dependency checks, and GET /health/ready, which pings the database through the TypeORM or Mongoose indicator chosen by the same isDocumentDatabase switch app.module.ts uses, with a timeout, and answers 200 or 503 with the indicator result. Keep the routes unauthenticated, tag them for Swagger, and say in the pull request what paths they get under the global prefix. Add an e2e spec under test/health/ in the style of the existing specs and run the relational e2e suite through docker compose. Add a HEALTHCHECK on the ready route to the Dockerfile. Open a pull request with the paths, the test output and the one-line change needed to serve the routes at the root instead.","resources":[{"url":"https://github.com/your-org/your-app"}]}