Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 2m18s
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 5m33s
Foundation / checks (postgres) (push) Canceled after 5m29s
Foundation / checks (tsan) (push) Canceled after 5m28s
Foundation / checks (client) (push) Canceled after 5m37s
Foundation / checks (network) (push) Canceled after 5m39s
54 lines
2.8 KiB
Markdown
54 lines
2.8 KiB
Markdown
# Exact cellular population envelope 1
|
|
|
|
Authority: ADR-0139/0140/0142. Little-endian integers, no padding. Size is bounded by
|
|
`max_cellular_population_bytes`. No changes to existing cellular owner envelopes.
|
|
|
|
| Offset | Bytes | Field |
|
|
|---:|---:|---|
|
|
| 0 | 8 | Magic `AEVOPOP1` |
|
|
| 8 | 4 | Version 1 |
|
|
| 12 | 4 | Automatic policy flag, exactly 0 or 1 |
|
|
| 16 | 4 | Materialization radius, micrometres, positive |
|
|
| 20 | 4 | Collapse radius, strictly larger, at most 1,000,000 micrometres |
|
|
| 24 | 8 | Conversion sequence |
|
|
| 32 | 8 | World |
|
|
| 40 | 8 | Region |
|
|
| 48 | 8 | Frame |
|
|
| 56 | 8 | Completed tick |
|
|
| 64 | 8 | Nested biological payload bytes |
|
|
| 72 | 8 | Cohort member count, at most 256 |
|
|
| 80 | 16 each | Sorted unique member life ID and exact genome ID |
|
|
| after members | declared length | Complete canonical rules-8 CellularLives snapshot |
|
|
| final | 8 | FNV-1a64 over all preceding bytes |
|
|
|
|
Require exact total length, matching trusted identity/tick, valid policy, canonical
|
|
nested restoration and complete byte-identical re-encoding. Every tagged member
|
|
must exist, have zero account, active presence and exactly the recorded genome.
|
|
The membership table contains no additional inventory. Untagged living cells are
|
|
individuals. New offspring may be individual until the next applicable group
|
|
conversion. No random seed or residual is missing: the representation is exact.
|
|
|
|
The checksum detects corruption, not malicious alteration. Production object
|
|
publication must also bind SHA-256, predecessor, current fence and immutable
|
|
manifest. Migration 44 admits this envelope as checkpoint profile 5, nested
|
|
cellular bundle 9 and history profile 5. It must never be labeled as the existing
|
|
raw cellular profile-4 payload. Entry wraps identical rules-8 biology with empty
|
|
membership and sequence zero; reverse entry unwraps the identical biology.
|
|
Conversion sequence is local to each profile-5 generation. The immutable region
|
|
commit sequence and transition evidence distinguish generations and never reset.
|
|
See [population batch format 1](cellular-population-batch.md).
|
|
|
|
## Portable envelope 2
|
|
|
|
ADR-0144 adds magic `AEVOPOP2`, version 2, with the identical header/member layout
|
|
and a nested [owner format 7](cellular-lives-v7.md), rules 8. Envelope 1 requires
|
|
owner format 6; magic, envelope version and nested tuple must agree. Explicit
|
|
no-tick upgrade retains every membership tag, conversion sequence and policy.
|
|
Paired population migration moves the exact existing tags with their cells,
|
|
retaining each region's policy and conversion sequence; it performs no collapse,
|
|
materialization or new automatic-policy evaluation. Untagged members stay untagged.
|
|
|
|
Envelope 2 is portable only in this segment. Existing durable trace 1 refuses it;
|
|
schema 45/profile 5 does not admit the new nested owner tuple. No live flag or
|
|
default entry enables migration or this new representation.
|