feat(persistence): admit durable maturing wildlife migrations
Foundation / checks (ecs) (push) Successful in 2m20s
Foundation / checks (deploy) (push) Successful in 4m7s
Foundation / checks (network) (push) Successful in 21m2s
Foundation / checks (client) (push) Successful in 22m21s
Foundation / checks (tsan) (push) Successful in 28m57s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (postgres) (push) Canceled after 38m8s
Foundation / checks (checks) (push) Canceled after 38m19s

This commit is contained in:
dingo
2026-10-19 11:57:00 -04:00
parent ae2a2d78ba
commit d3a867a662
25 changed files with 578 additions and 82 deletions
@@ -7,12 +7,18 @@ formats retain their meanings.
The publisher restores both digest-verified predecessor cuts, replays the exact
retained trace and uploads/reads back both complete candidates. Two same-profile
bundle-10 no-tick manifests each advance sequence once and bind their own
predecessor commit/SHA, world/region/frame, completed tick, quantum and history.
bundle-10 (trace 1) or bundle-11 (trace 2) no-tick manifests each advance sequence
once and bind their own predecessor commit/SHA, world/region/frame, completed tick,
quantum and history.
Ordinary batch evidence is zero: migration is neither a biological interval nor
a profile/version conversion. Result IDs come from the retained trace; writer
fields name the respective current endpoint authorities.
ADR-0161/schema 54 requires the exact retained bundle/trace pair at both
predecessors/results. Rules 9 continues funded growth only on subsequent ticks;
the transfer itself preserves every life field. Mixed bundles or cross-rule
traces fail. Existing rules-8 evidence and all transaction guards retain meaning.
Exact retry input is request UUID plus both canonical manifests. Both CURRENT
lease grants are supplied separately. SQL locks endpoint lease rows in increasing
region order and checks both grants, captured heads, pending pointers, stage and
@@ -8,6 +8,9 @@ One source-authorized request binds canonical
[migration trace 1](../cellular-migration-trace-v1.md), both retained predecessor
commits/manifests and their exact payloads. Both cuts use bundle 10, the same
representation, world/frame/completed tick and compatible geometry/biology.
ADR-0161/schema 54 additionally admits equal bundle-11 cuts with trace 2 (rules 9).
Bundle 10/trace 1 retains rules 8; mixed tuples, cross-rule traces and unknown
versions fail. Both paths use the same journals and source/head/eligibility guards.
The source lease/head is fenced; the destination head is checked optimistically
and remains free to advance. Later staging must check it again. Preparation
does not establish a simultaneous world cut or a physical route.
@@ -4,6 +4,11 @@ Semantic adapter contract, schema 52;
[ADR-0156](../../docs/adr/0156-census-pending-migration-evidence.md).
No biological codec/rule change or client endpoint.
ADR-0161/schema 54 admits both exact bundle-10/trace-1 and bundle-11/trace-2
handoffs. Verification uses the retained pair, never the latest head's rule.
Mixed pairs, unknown versions and unavailable replay evidence fail the whole
registered query. Ghosts add no stock under either rule.
- Capture source/destination pending pointer union, history domain, complete
region registry and exact current heads in one read-only repeatable-read view.
- Inventory order is ascending request UUID. Maximum 64 requests; a 65th response