Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 2m33s
Foundation / checks (network) (push) Successful in 21m15s
Foundation / checks (client) (push) Successful in 22m8s
Foundation / checks (tsan) (push) Successful in 25m2s
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 38m24s
Foundation / checks (postgres) (push) Canceled after 38m24s
72 lines
4.2 KiB
Markdown
72 lines
4.2 KiB
Markdown
# Regional cellular census projection v1
|
|
|
|
Authority: [ADR-0150](../../docs/adr/0150-regional-cellular-census-projection.md),
|
|
under [ADR-0133](../../docs/adr/0133-ecological-identity-and-time-evidence.md).
|
|
Portable API: `evo::server::CellularCensus`. This is an in-memory observation
|
|
contract, not a persistent codec, network message or complete world evidence set.
|
|
|
|
## Boundary and rows
|
|
|
|
The boundary records exact world, region, frame, completed simulation tick,
|
|
50,000 µs quantum and owner/rules/population versions. Raw observation has
|
|
population format zero; exact populations retain envelope 1 or 2. Only rules 8,
|
|
owner 6/7 and those exact representations are supported. Unsupported sources fail.
|
|
The projection version is 1, separately from every biological/checkpoint format.
|
|
|
|
Rows are unique and ascending by immutable genome ID. Each retains its genome
|
|
schema, development version and exact parent IDs, including ancestors with no
|
|
resident carriers. These links describe genome ancestry; they do not fabricate
|
|
organism parentage or a species classifier. Mutation counts use a resident's
|
|
current genome rather than its immutable birth genome.
|
|
|
|
Each row contains five disjoint resident categories:
|
|
|
|
| Category | Meaning |
|
|
|---|---|
|
|
| individual wildlife | Zero-account living resident without a cohort tag |
|
|
| cohort wildlife | The same owned resident store, classified by an exact membership tag |
|
|
| active controlled | Controlled living resident with active presence |
|
|
| lingering controlled | Frozen controlled life still lingering in its world slot |
|
|
| suspended controlled | Frozen controlled living stock outside active occupancy |
|
|
|
|
Each category reports a whole-individual count, body inventory and reserve
|
|
inventory, in pJ and the four disjoint C/N/P/other fg channels. There are no
|
|
fractional organisms, statistical representatives or duplicate cohort inventory.
|
|
Counts and inventories exclude corpses, detritus, habitat food, nursery, heat and
|
|
cumulative boundary inflow/outflow. Those compartments still belong in a separate
|
|
whole-region conservation audit; they are not living or viable reproductive stock.
|
|
|
|
`retained_nonresident_records` counts historical departed organisms by their
|
|
locally recorded genome. It carries no inventory or current presence/absence
|
|
meaning. A remote mutation or death need not be known by this historical source.
|
|
It is never added to resident stock. Returned residents cease being nonresident
|
|
under the existing migration contract.
|
|
|
|
## Queries and authority limits
|
|
|
|
`query(anchor, exact_genome)` selects only the named genome's current residents.
|
|
`query(anchor, descendants)` includes that anchor and all locally retained genome
|
|
descendants. Child adjacency and a visited set prevent repeated counting;
|
|
iterative traversal avoids native stack growth. Unknown anchors and invalid scope
|
|
are errors, not empty observations. Channel/count overflow refuses a result.
|
|
|
|
The archive caps observation at 4,096 genomes and 65,536 historical organism
|
|
records; the owner caps resident lives at 256. Enumeration uses retained records,
|
|
never the numeric distance between sparse IDs. Building adjacency costs
|
|
O(G log G + E log G); querying descendant closure costs O(G + E), with E bounded by
|
|
the supported genome-parent limits. No database, clocks, threads or renderer are
|
|
involved. Returned rows and boundary remain detached from subsequent simulation.
|
|
|
|
There is deliberately no terminal-extinction status. Zero carriers describes only
|
|
this exact regional observation; a missing row is not a zero for another region.
|
|
The API supplies no commit, owner epoch, history branch, region-set coverage,
|
|
pending-transfer status or proof of current authority. A detached candidate or
|
|
destination ghost can be observed for comparison but cannot be published as owned
|
|
world stock. Before paired migration commit, the frozen committed source owns
|
|
migrants; afterwards only the committed destination owns them.
|
|
|
|
Durable M12.6 publication must derive this projection from a verified committed
|
|
payload, bind its manifest/digest and branch, and append evidence atomically with
|
|
the biological head. M12.7 must reconcile every required owner/store at a complete
|
|
watermark. Neither operation is implemented by this local projection.
|