Files
aevolution/schemas/cellular-migration-trace-v2.md
dingo d3a867a662
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
feat(persistence): admit durable maturing wildlife migrations
2026-10-19 11:57:00 -04:00

41 lines
2.2 KiB
Markdown

# Exact paired biological transfer trace 2
Authority: [ADR-0160](../docs/adr/0160-portable-maturing-wildlife-transfer.md).
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:
| Offset | Bytes | Value |
|---:|---:|---|
| 0 | 8 | ASCII magic `AEVMIG02` |
| 8 | 4 | Version, exactly 2 |
Version 2 requires equal rules-9/owner-7 predecessors in both regions. Raw
representation 1 uses those owners directly; population representation 2 uses
envelope 2. Trace 1 retains equal rules 8 and its exact old bytes. Never infer the
rule from a current head, accept mixed predecessor rules, or pair one version's
magic with another version number. Unknown versions fail before allocation.
All other fields and bounds are unchanged: positive common completed cut, stable
trusted request, both endpoint predecessor digests/result identities, exact
whole-genome member set, transferred energy/C/N/P/other, zero reserved field,
canonical little-endian re-encoding and final FNV-1a64. Maximum size remains
2,312 bytes. The I/O layer still owes manifest/payload SHA-256 validation.
Preparation/replay preserves every realized growth/body/reserve/damage/choice
field at the no-tick cut. It neither spends food nor runs maturation. Ordinary
destination intervals continue the retained rules-9 kernel and boundary ledger.
Source nonresident history owns no inventory and never grows another copy.
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. 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.