Summary
Improve observability with health checks and structured JSON logging.
Tasks
Acceptance Criteria
/api/health returns { status: "healthy", uptime: X, version: "1.0.0" }
/api/ready returns 200 when Copilot client is connected, 503 otherwise
- All logs are JSON formatted with timestamps and request IDs
- Log level configurable via
LOG_LEVEL env var
Summary
Improve observability with health checks and structured JSON logging.
Tasks
GET /api/healthendpoint with status, uptime, and versionGET /api/readyreadiness check (Copilot client connected)console.logwith structured logger (pino or winston)Acceptance Criteria
/api/healthreturns{ status: "healthy", uptime: X, version: "1.0.0" }/api/readyreturns 200 when Copilot client is connected, 503 otherwiseLOG_LEVELenv var