Add primitive object publication and recovery adapter (M11.2c-2d)
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m53s
Foundation / checks (client) (push) Successful in 12m22s
Foundation / checks (network) (push) Successful in 13m52s
Foundation / checks (tsan) (push) Successful in 8m7s
Foundation / checks (checks) (push) Successful in 33m54s
Foundation / checks (postgres) (push) Successful in 47m38s
Foundation / postgres-tools (push) Successful in 19s
Foundation / image (push) Successful in 2m39s
Foundation / server-image (push) Successful in 4m16s

This commit is contained in:
dingo
2026-10-10 11:15:44 -04:00
parent 58aff5adeb
commit 7461d02961
9 changed files with 524 additions and 6 deletions
@@ -211,6 +211,18 @@ admission and retry behavior, not end-to-end recoverability or deployable gamepl
Death, respawn, offline timers, biological tick integration and life transfer are
outside 11.2 and remain governed by later gates.
## 11.2c-2d: Object-store publication and recovery adapter
The C++ persistence adapter writes the canonical primitive payload and batch trace
to the immutable object store, verifies each read-back, and only then calls the
schema v16 publisher. Before upload it restores the verified predecessor payload,
replays the batch and requires byte-identical candidate state. Unknown outcomes
retain the exact manifest and trace for an exact retry. Recovery verifies the
committed head, retained build/profile, payload closure, head trace replay and
reconciliation between restored lives and immutable SQL bindings; it fails closed
on absent/corrupt evidence and never substitutes an older head. This adapter does
not add a serving host, request protocol or session routing for primitive lives.
## 11.2c-1: Durable identity reservations
Schema v15 adds [life reservations](../../schemas/life-reservations-v1.md):
+6 -3
View File
@@ -82,8 +82,11 @@ Local checks do not close ADR-0097's reference-worker qualification.
converge, conflicting evidence and stale control refuse, and runtime can read
immutable life bindings. Full PostgreSQL migrations, process, recovery,
backup/restore, host-loss, upgrade and privilege checks pass.
- Remaining 11.2c/d: C++ durable publication/object-store adapter, primitive-life
region recovery/host and explicit session protocol integration, plus crash-boundary
qualification. Schema admission alone does not make profile 3 hostable.
- 11.2c-2d: C++ object-store publication, verified predecessor replay, exact-byte
retry and profile-3 recovery adapter with SQL life-binding reconciliation. Full
PostgreSQL/process/recovery and upgrade qualification passes.
- Remaining 11.2d: primitive-capable region host and explicit new-life session
protocol, crash-boundary qualification and readiness integration. The generic
two-profile host still cannot serve profile 3.
No deployed world has been provisioned or changed by this work.
+16
View File
@@ -5620,3 +5620,19 @@ admission and a runtime binding read, but not the C++ object-store publication
adapter or primitive-capable server recovery/session path. Do not interpret its
green database gate as end-to-end life recovery. Full C++ unit/network/QUIC lanes
were not rerun because this segment changes no replicated network type.
## 2026-10-10 — M11.2c-2d persistence adapter
Added verified immutable-object publication for profile 3, exact prepared manifest
and trace retry, portable batch replay from the committed predecessor, and recovery
that checks payload closure, head-trace replay and durable life-binding agreement.
The focused fresh-cluster publication/recovery test passed. GCC 14 Release build,
clang-format 19, clang-tidy 19 on the new adapter and test, and the complete
`tools/ci/postgres-check.sh` passed, including all existing host/session/process,
backup/restore, host-loss, upgrade and migration checks. The final full run is in
`build/m112-c2d-full.log`.
No production world was provisioned or changed. The new adapter can persist and
recover profile 3, but `RegionHost` and session routing remain limited to the
existing environmental/lineage profiles; no primitive session can yet reach this
adapter.