feat(lifecycle): preserve inherited plans in exact populations
Foundation / checks (ecs) (push) Successful in 2m26s
Foundation / checks (deploy) (push) Successful in 4m57s
Foundation / checks (network) (push) Successful in 20m53s
Foundation / checks (client) (push) Successful in 22m12s
Foundation / checks (tsan) (push) Successful in 39m45s
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 45m41s
Foundation / checks (checks) (push) Canceled after 45m43s

This commit is contained in:
dingo
2026-10-19 15:19:43 -04:00
parent fad79973e2
commit a898a35e1b
22 changed files with 582 additions and 36 deletions
+29
View File
@@ -69,3 +69,32 @@ ADR-0158/schema 53 subsequently admits nested rules 9 as bundle 11. Entry requir
the retained bundle-10 same-profile upgrade; ordinary intervals use batch 2 and
profile transitions preserve the exact tuple. See
[durable maturation](cellular-maturation-upgrade.md). Default entry is unchanged.
## Portable retained-plan envelope 3
[ADR-0171](../docs/adr/0171-retained-plan-exact-populations.md) adds `AEVOPOP3`,
version 3, with the same bounded header/member layout and a complete nested
[owner 8/rules 10](cellular-lives-v8.md). Exact nested plans and their revisions
remain per organism. Whole eligible groups are still tagged by expressed genome;
membership does not replace heterogeneous retained state or own inventory.
An explicit detached envelope-2/rules-9 inheritance candidate preserves policy,
conversion sequence and every membership tag. It invokes the exact nested
inheritance upgrade without advancing time. Direct portable wrapping of an
inherited raw owner is also possible. Old outer versions cannot label owner 8;
magic, version and nested owner/rules must agree and re-encode exactly. Earlier
envelopes retain their original bytes and meanings.
Population batch 3 uses `AEVOPBT3`, version 3 and nested raw trace 4; the existing
header, recorded tick intentions and exact representation-boundary layout are
unchanged. No-tick conversions carry no biological trace. Biological intervals
remain bounded by 64 ticks, require fully suspended controlled cells and retain
frozen-only controlled inputs, with no birth requests or mutation selections.
Wildlife executes the unchanged controller while recording and recorded inputs
while replaying. Paid births, development and inherited plans use the same kernel.
Old batch versions and raw trace 3 never replay an envelope-3 biological interval.
[Census projection 2](ecology/regional-cellular-census-v2.md) distinguishes
cohort/individual stock and plan references without changing biological totals.
No population checkpoint tuple mapping, SQL admission, profile transition,
cross-region transfer or production selector is added by this portable segment.