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
+3 -2
View File
@@ -38,8 +38,9 @@ allows only the existing fenced entry points. Earlier migration bytes are intact
No live/default auto-upgrade or new provisioning mode. An explicitly upgraded
owner can recover and continue raw/cohort biology, including interval admission,
settlement and materialization before returning-player operations. Biological
durable migration remains bundle 10 only. ADR-0160 qualifies portable equal-rules-9
candidates/trace 2 without extending that admission. ADR-0159 admits rules-9 retained
ADR-0160 qualifies portable equal-rules-9 candidates/trace 2. ADR-0161/schema 54
admits bundle-11/trace-2 durable migration through the existing fenced workflow,
without mixed-bundle migration or any automatic upgrade. ADR-0159 admits rules-9 retained
body/reserve to census projection 1 and the verified history/registered snapshot
readers. Mixed rule cuts or unavailable evidence prevent a complete result and
cannot prove zero life or terminal extinction. Ecology/environment/actual-days/product
+7 -5
View File
@@ -1,8 +1,10 @@
# Exact paired biological transfer trace 2
Authority: [ADR-0160](../docs/adr/0160-portable-maturing-wildlife-transfer.md).
Portable replay only. Durable freeze/stage/paired publication remains bundle
10/trace 1 and explicitly refuses this version; no ownership grant is added.
This trace alone grants no authority. Follow-on
[ADR-0161](../docs/adr/0161-durable-maturing-wildlife-transfer.md)/schema 54 admits
bundle-11/trace-2 pairs through the existing fenced freeze/stage/paired publication
workflow and complete recovery. Bundle 10 still requires trace 1; mixed pairs fail.
Use the exact bounded [trace-1 layout](cellular-migration-trace-v1.md), with these
two changes:
@@ -33,6 +35,6 @@ Newly spent construction energy becomes heat under ADR-0157, not migration flow.
Qualification includes real growth before and after transfer, raw/cohort exact
biology, repeated returns, stock/census closure, placement/capacity/eligibility
refusals, codec tampering and independent-process raw/cohort pair and interval
continuation. A later durable gate must explicitly admit trace 2 with bundle 11,
source freeze, staged ghost, atomic paired receipt, recovery and pending-handoff
census evidence. Nothing here enables routing or claims sustainable ecology.
continuation. Schema 54's admission additionally requires source freeze, staged
ghost, atomic paired receipt, recovery and pending-handoff census evidence.
Nothing here enables routing or claims sustainable ecology.
@@ -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