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
53 lines
3.1 KiB
Markdown
53 lines
3.1 KiB
Markdown
# Retained-plan cellular census projection 2
|
|
|
|
Authority: [ADR-0169](../../docs/adr/0169-retained-plan-census-observations.md).
|
|
This is a detached read-only C++ observation, not a new snapshot/wire codec,
|
|
SQL journal, permission grant or accepted extinction record.
|
|
|
|
Projection 2 supports owner format 8/rules 10, raw or portable population envelope
|
|
3 (ADR-0171). Regional and scoped
|
|
boundaries explicitly include `projection_version=2`; all other identity,
|
|
frame, tick, quantum, complete genome and disjoint-resident checks from
|
|
[projection 1](regional-cellular-census-v1.md) still apply. Mixed projection
|
|
boundaries refuse the complete set. Portable whole-group representation changes
|
|
preserve the complete owner; durable population admission and migration remain
|
|
unsupported in this segment.
|
|
|
|
Each genome row retains its five existing resident categories (individual and
|
|
cohort wildlife, active, lingering and suspended controlled organisms). Counts,
|
|
body and reserve use the organism's **expressed** genome. Projection 2 adds:
|
|
|
|
| Field | Meaning | Owned inventory |
|
|
|---|---|---|
|
|
| `living_plan_holders[kind]` | Living local organisms whose retained offspring genome is this row | None |
|
|
| `retained_dead_plan_records` | Local corpses retaining this offspring genome | None |
|
|
|
|
A parent with expressed genome A and selected plan B contributes its one body
|
|
and reserve to A and one reference to B. It does not contribute a second
|
|
organism, expressed archive carrier or future child. Each funded newborn is a
|
|
real additional resident under its own expressed genome and initially retains
|
|
that same plan. A later parent selection does not rewrite earlier children.
|
|
Suspension retains a living plan reference without offline progression; death
|
|
removes that living reference and retains a separate historical record.
|
|
|
|
Exact-genome and descendant-closure queries independently sum stock and each
|
|
reference measure with overflow checks. Descendant closure includes the anchor,
|
|
visits shared descendants once and does not assume ancestry follows ID order.
|
|
Never sum reference counts into organism counts or inventory. A living plan
|
|
holder is not proof of reproductive capability, funded birth or survival. A dead
|
|
record is not current viable stock. Unknown genome or unavailable evidence
|
|
returns an error, never measured zero or terminal extinction.
|
|
|
|
Projection 1 remains valid for its supported old owners. Its added C++ fields
|
|
default to zero and are **unobserved**, not measured absence. Inspect the
|
|
projection boundary before interpreting them. No old golden or retained
|
|
biological format changes.
|
|
|
|
Committed history reconstructs each exact manifest/payload/trace cut before
|
|
observing it. Registered snapshots capture domain, registry and heads in their
|
|
existing read-only database snapshot, fully replay the selected cuts, propagate
|
|
the projection boundary and validate the whole declared set. Missing builds,
|
|
objects, stale authority or false evidence refuse the entire query. No extra
|
|
census write or publication window is introduced. Other stores, clone domains,
|
|
global viability reconciliation and client authorization remain separate work.
|