Resolve cellular engulfment and detritus in the region step
Foundation / checks (ecs) (push) Successful in 2m17s
Foundation / checks (deploy) (push) Successful in 3m57s
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 6m13s
Foundation / checks (checks) (push) Canceled after 6m19s
Foundation / checks (tsan) (push) Canceled after 3m58s
Foundation / checks (client) (push) Canceled after 6m17s
Foundation / checks (network) (push) Canceled after 6m18s

ADR-0124 implements ADR-0098's predation and corpse rules for the
cellular trial. Under rules 3 the pure region step adds an engulf phase
after every life's step: in ascending life id, a predator takes the
lowest-id contacted survivor whose total mass, times 1.5 per micrometre
of its membrane, is at most the predator's. The prey's whole inventory
moves once; the predator keeps what its remaining per-tick intake allows
and the rest, like every starvation corpse, becomes detritus in the
patch at the dead cell's 1 mm cell. Corpse candidates report their cause.
Rules 2 is unchanged and ignores engulf intents.

Owner, protocol v11, persistence and recovery wiring follow in the next
11.3f steps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-13 18:47:48 -04:00
co-authored by Claude Opus 5.5
parent 4751b23857
commit 0fb67c3257
9 changed files with 502 additions and 9 deletions
+16 -1
View File
@@ -7206,4 +7206,19 @@ an identity only with `born`. The session layer now clears identity and commit
on every other result. `quic_sessions` adds an `existing_life` refusal that
must arrive valid while the session stays established. Locally (MSVC, client
preset) the case failed with the same 33-byte decode error before the fix and
passed after it.
passed after it.
## 2026-10-13 — M11.3f-1 cellular engulfment and detritus resolver (CI pending)
ADR-0124. `propose_cellular_region_step` takes `CellularRegionRules`; rules 3
adds an engulf phase after every life's step (ascending life id, one prey per
predator, contact plus `predator_mass × 1000 ≥ 1500 × prey_membrane_um ×
prey_mass`), bounds the predator's gain by its remaining per-tick intake, and
deposits detritus and starvation corpses into the patch at the dead cell's
1 mm cell (a new patch at an empty cell, the nearest patch when full). Corpse
candidates report a cause and predator. Rules 2 results are unchanged.
Executed locally: MSVC Debug full build and `ctest -R cellular` (6/6, with five
new region-step cases: capacity split and region-wide conservation, size,
membrane and contact refusal, one prey per predator per tick, empty-cell
detritus, rules-2 no-op and invalid rules-3 intents); g++-14 `-Werror`,
clang-tidy-19 and clang-format 19.1.5 on the changed files.