fix: gate durable runtime readiness
This commit is contained in:
@@ -168,12 +168,14 @@ Readiness reports must keep these dimensions distinct:
|
||||
| Dimension | Green condition | Degraded/blocking condition |
|
||||
| --- | --- | --- |
|
||||
| DB live | `db.ready=true`, `db.connected=true`, `db.liveDbEvidence=true` | Missing env, failed connection, disabled probe, or no `liveDbEvidence` |
|
||||
| Runtime durability | `runtime.durable=true` with a durable adapter | `runtime.adapter="memory"` or `runtime.durable=false` |
|
||||
| Runtime durability | `runtime.adapter="postgres"`, `runtime.durable=true`, `runtime.ready=true`, `runtime.liveRuntimeEvidence=true`, and runtime auth/schema/migration/read gates are all ready | `runtime.adapter="memory"`, `runtime.durable=false`, missing migration ledger, failed schema/auth/readiness, or no `liveRuntimeEvidence` |
|
||||
|
||||
Do not declare DEV-LIVE complete while `runtime.adapter="memory"` or
|
||||
`runtime.durable=false`, even when DB live readiness is connected. The next
|
||||
fix boundary is a durable runtime store and migration path; documenting or
|
||||
testing this contract must not mutate runtime state or PROD.
|
||||
`runtime.durable=false`, even when DB live readiness is connected. A selected
|
||||
Postgres adapter may report `runtime.durableRequested=true`, but it still stays
|
||||
non-durable until the schema, migration ledger, and read readiness gates are
|
||||
proven through the configured adapter. Documenting or testing this contract
|
||||
must not mutate runtime state or PROD.
|
||||
|
||||
## Runtime Substitution Ban
|
||||
|
||||
|
||||
Reference in New Issue
Block a user