Add in-memory cellular life owner
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (checks) (push) Failing after 41s
Foundation / checks (ecs) (push) Successful in 1m50s
Foundation / checks (postgres) (push) Failing after 50s
Foundation / checks (tsan) (push) Failing after 33s
Foundation / checks (network) (push) Failing after 3m6s
Foundation / checks (client) (push) Failing after 4m24s
Foundation / postgres-tools (push) Skipped
Foundation / server-image (push) Skipped
Foundation / image (push) Skipped

This commit is contained in:
dingo
2026-10-10 22:20:29 -04:00
parent e7fec914e7
commit 562781ce77
7 changed files with 500 additions and 5 deletions
+4
View File
@@ -151,6 +151,10 @@ scoped change before starting the next segment.
- 11.3c-5: ADR-0107 closes unaffordable maintenance in the same tick, moving body
and reserve into a corpse candidate and accumulated heat to an explicit output.
The durable heat owner and lineage/checkpoint publication remain open.
- 11.3c-6: `server::CellularLives` adopts funded profile-3 founders into one
in-memory cellular owner, applies shared-habitat ticks atomically, records
starvation corpses/deaths and enforces region-wide conservation. Checkpoint
encoding, durable publication and online session execution remain open.
- 11.3d contract: ADR-0108/0109 and `schemas/cellular-lives-v1.md` define a separate
profile-4 checkpoint closure for lives, habitat, corpses, heat and lineage.
No profile-4 code or durable tick publication is implemented yet.
+18
View File
@@ -6028,3 +6028,21 @@ profile 3. This is documentation only;
no codec, SQL admission or recovery behavior is implemented or validated by
this entry. `git diff --check` is the applicable local check. Profile-4 code,
PostgreSQL CI and crash/restart tests remain required.
## 2026-10-10 — M11.3c-6 in-memory cellular owner (CI pending)
Added `server::CellularLives` as a portable lifecycle owner over funded
profile-3 opening state. It derives each life budget from its archived genome,
advances a complete stable-ID intention set against one shared habitat, and
atomically applies living results, death records, corpses, heat and patch stock
only when the region-wide totals still reconcile. The focused test covers
contested intake, a late invalid intention with no partial advance, and both
founders reaching terminal death while retaining complete lineage and inventory.
Executed locally: direct warning-as-error MSVC 19.44 Debug and Release/NDEBUG
compile/run; Debug CTest `cellular-lives-owner` (1/1 passed); CMake configure and
generation registered the target; and `git diff --check`. The CMake/Ninja build
idled without starting a compiler, so the focused target was compiled directly.
`clang-format` and `clang-tidy` are unavailable on this Windows PATH. Linux
sanitizer/CI, profile-4 codec/restore, durable publication and session wiring
remain pending.