Context
PRD v0.2 AC-F6.3 and launch gate PR-4 require a readiness endpoint that returns 200 only when the DB pool and required config are initialized.
Problem
Gateway and API expose /health but no dedicated /ready signal for Render and orchestrators to distinguish liveness from readiness.
Proposed scope
Acceptance criteria
References
docs/PRD.md (AC-F6.3, PR-4)
crates/api/src/routes/mod.rs
crates/gateway/src/routes.rs
Context
PRD v0.2 AC-F6.3 and launch gate PR-4 require a readiness endpoint that returns 200 only when the DB pool and required config are initialized.
Problem
Gateway and API expose
/healthbut no dedicated/readysignal for Render and orchestrators to distinguish liveness from readiness.Proposed scope
GET /readytocrates/gatewayandcrates/apiAcceptance criteria
/readyreturns 200 when DB ping succeeds and required config present/readyreturns 503 when DB unreachable/readyseparately from/healthReferences
docs/PRD.md(AC-F6.3, PR-4)crates/api/src/routes/mod.rscrates/gateway/src/routes.rs