feat(ecology): own cells and their local environment together
Foundation / checks (ecs) (push) Successful in 2m28s
Foundation / checks (deploy) (push) Successful in 4m59s
Foundation / checks (network) (push) Successful in 20m56s
Foundation / checks (client) (push) Successful in 22m1s
Foundation / checks (tsan) (push) Successful in 45m41s
Foundation / checks (postgres) (push) Successful in 1h13m35s
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 1h20m34s

ADR-0172 records the maintainer's M12.5 ownership decision: one owner per
patch of space for cells and their local environment, reserves belonging
to the biological individual, and an open planet boundary whose every
crossing is a recorded import or export.

The portable CellularEnvironment owner (envelope AEVOCEN1) holds an exact
population with tagged water and dissolved compartments, refuses declared
atmosphere, imports infall from finite per-source entitlements (ADR-0136
step B) and radiates retained heat. Each tick's exchange is a validated
swap on the nested owner, undone if the biological tick refuses. Closed
and source-off regions keep their biology byte for byte; raw and cohort
representations agree under infall. No existing format, trace, golden,
default opening or live version changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-19 16:05:17 -04:00
co-authored by Claude Opus 5.5
parent a898a35e1b
commit 4c70257883
17 changed files with 1335 additions and 6 deletions
+39
View File
@@ -1,5 +1,44 @@
# Validation report
## 2026-10-19 - Cellular environment joint owner (M12.5a-b)
[ADR-0172](../adr/0172-cellular-environment-ownership.md) records the maintainer's
ownership decision and adds envelope `AEVOCEN1`. The joint owner applies each
tick's infall import and radiative heat export to the nested cellular owner as one
validated swap, then runs the unchanged population tick; a refused tick swaps the
exchange back. The only nested change is a private exchange/savepoint pair; no
existing envelope, trace, golden or rule changes meaning.
Executed locally:
- GCC 14.2 Release full CTest **94/94, 8.83 s** and MSVC 19.44 Release full CTest
**94/94, 15.16 s**, with NDEBUG. After trimming test tick counts only, the two
environment tests pass **2/2** on both (2.48 s GCC, 3.23 s MSVC).
- Clang 19.1 ASan/UBSan cellular subset **28/28, 200.52 s**, then the trimmed
environment tests **2/2, 66.03 s**, with no sanitizer reports.
- clang-tidy 19 (warnings as errors) on the new owner/tests and the changed
cellular owner/population sources; clang-format 19 on every touched file.
- Fresh-process continuation of a two-source, radiating region (400 + 400 ticks):
MSVC and GCC checkpoint and resumed outputs are byte-identical, SHA-256
`1746dd489226d612d46624c36987fba83f711c54dfe3f03f3e0bb0be65ea7379`.
Evidence in the suite: closed and source-off regions keep population bytes
identical to a plain population every tick; a finite entitlement of ten bubbles
per channel is consumed exactly (20 credited, later events counted exhausted and
skipped, nothing more imported); radiated heat (75,000 pJ over 1,500 ticks at a
50 pJ cap) leaves lives, corpses and habitat identical to the closed run; real
wildlife collapsed into an exact cohort matches the individual run through 121
infall events; a refused tick on an import tick leaves the envelope unchanged and
the retried tick imports. Restore refuses corruption, wrong identity, future
format, import above entitlement, a changed nested length, declared atmosphere,
zero depth, a box unequal to the cellular area or outside its voxel, overlapping
or unsorted sources, stockless or out-of-habitat sources and an owner without a
boundary ledger. Every tick audits `current = opening + incoming - outgoing` and
that environmental flows equal the nested ledger.
No producer, durable profile, SQL schema, worker integration, target-host cost,
default opening or live upgrade. No World0 operation.
## 2026-10-19 - Portable retained-plan exact populations
[ADR-0171](../adr/0171-retained-plan-exact-populations.md) adds explicit envelope