feat(persistence): define retained-plan checkpoint upgrade candidates
Foundation / checks (ecs) (push) Successful in 2m51s
Foundation / checks (deploy) (push) Successful in 5m18s
Foundation / checks (network) (push) Successful in 25m49s
Foundation / checks (client) (push) Successful in 26m34s
Foundation / checks (tsan) (push) Successful in 37m12s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (checks) (push) Canceled after 47m59s
Foundation / checks (postgres) (push) Canceled after 47m53s
Foundation / checks (ecs) (push) Successful in 2m51s
Foundation / checks (deploy) (push) Successful in 5m18s
Foundation / checks (network) (push) Successful in 25m49s
Foundation / checks (client) (push) Successful in 26m34s
Foundation / checks (tsan) (push) Successful in 37m12s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (checks) (push) Canceled after 47m59s
Foundation / checks (postgres) (push) Canceled after 47m53s
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
# Portable retained-plan checkpoint upgrade
|
||||
|
||||
Authority: [ADR-0167](../docs/adr/0167-retained-plan-checkpoint-upgrade.md).
|
||||
Bundle 12 is exactly
|
||||
`{rules=10,envelope=8,habitat=2,coordinate=1,genome=1,development=4,founder=3,archive=2,mutation_state=1}`.
|
||||
It is raw profile 4/history 4 only, with the unchanged 360-byte manifest and
|
||||
50,000-microsecond quantum. [Owner 8](cellular-lives-v8.md) stores the additional
|
||||
plan references/history; [raw trace 4](cellular-region-batch-v4.md) records its
|
||||
subsequent biological steps. Legacy trace defaults and version tuples remain.
|
||||
|
||||
Only a supported, structurally valid, non-genesis raw bundle-11 predecessor at
|
||||
positive tick may derive a bundle-12 candidate. Require nonzero predecessor
|
||||
digest, a distinct nonzero commit, next sequence without wrap, a same-frame
|
||||
nonzero holder/epoch and valid build/payload bindings. The result preserves
|
||||
world, region, frame, profile, history, quantum and biological tick. Its exact
|
||||
predecessor reference is retained and batch evidence is empty. No skipped
|
||||
prerequisite, downgrade, repeated upgrade or bundle-12 genesis exists.
|
||||
|
||||
The payload operation fully restores the source under its declared manifest and
|
||||
uses the detached owner-7/rules-9 -> owner-8/rules-10 upgrade. Preserve all
|
||||
expressed bodies/genomes, inventories, growth/damage, position, habitat, heat,
|
||||
nursery, source provenance, archive revisions/births/deaths, boundary flows,
|
||||
presence and standing offers. Initialize local living/corpse offspring plans to
|
||||
their current expressed genome and retain no invented plan selections. The
|
||||
complete target must restore canonically under the result tuple. Ordinary
|
||||
successors retain bundle 12; biological continuation requires trace 4.
|
||||
|
||||
These functions are portable and storage-free. They validate structure, owner
|
||||
identity/tick and canonical biology, but do not compute or verify SHA-256 values,
|
||||
contact a database, reserve identities or grant authority. The I/O caller must
|
||||
independently verify both manifest and object digest bindings before relying on
|
||||
the result. `supported()` describes reader support only. Legacy revision-bundle
|
||||
helpers remain the trace-3 admission set and exclude bundle 12.
|
||||
|
||||
No population envelope maps to bundle 12. Profile transitions, population
|
||||
successors/restore, census and migration remain unsupported for this owner.
|
||||
Missing or unsupported projections cannot establish zero life or extinction.
|
||||
SQL schema and C++ durable upgrade/publication adapters are unchanged; neither
|
||||
portable candidate function is a new durable entry point.
|
||||
|
||||
The next durable segment must admit this exact pair through fenced atomic
|
||||
evidence/result/head publication, retain both complete manifests and payloads,
|
||||
rederive the target on recovery, refuse pending intervals/handoffs and qualify
|
||||
exact retries, stale writers, ambiguous outcomes and process/storage failures.
|
||||
No worker or DEV/default opening selects bundle 12 automatically.
|
||||
Reference in New Issue
Block a user