Tell the owner what its engulf and bud did, and why its cell died

M11.8 server half (ADR-0129): v10 diagnostics report the tick's engulf and bud
results in two reserved bytes, and v10 type 27 tells the owner its life ended with
the cause (starved or engulfed). The bridge fills both from the owner's tick
feedback and corpses; v9 views are unchanged. Client presentation stays with the
maintainer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-14 07:57:37 -04:00
co-authored by Claude Opus 5.5
parent e74bdf286b
commit 69e3866fd9
14 changed files with 312 additions and 8 deletions
+30
View File
@@ -0,0 +1,30 @@
# M11.8: Deliver readable cellular gameplay UI
M11.8 makes energy and resource needs, mutation tradeoffs and death causes
understandable, with one shared phenotype presentation for players and wildlife.
The client UI is the maintainer's (client UI is deferred); this plan tracks the
server and protocol signals it needs. Contract:
[ADR-0129](../adr/0129-cellular-readable-play-signals.md).
## What the owner now receives (v10)
| Need | Signal |
|---|---|
| Energy and resource needs | Reserve per channel, maintenance and movement cost each tick (v9 diagnostics, ADR-0117) |
| Feeding and movement results | Movement and intake results (v9) |
| Engulf and bud results | Diagnostics bytes 77-78 (ADR-0129) |
| Mutation tradeoffs | Outstanding offer with each candidate's value, maintenance and mass (type 26, ADR-0121) |
| Mutation outcome | Receipt and `ActionOutcome` of a choice (ADR-0121) |
| Death cause | Type 27: tick, life and cause (ADR-0129) |
| Restart | A new life request after death (ADR-0127) |
| Shared presentation | Players and wildlife replicate through the same organism presentation; suspended cells are not replicated (ADR-0128) |
## Remaining (maintainer)
The engineering client's HUD, death and restart screens, offer chooser, bud
control, accessibility and the first-session observation checks.
## Progress
- 2026-10-14: server and protocol signals implemented and tested (codec and QUIC
delivery tests).
+13
View File
@@ -7445,3 +7445,16 @@ Run 374 (e71147f) failed `checks (tsan)`: `cellular-lives-owner` read the bud
through a reference into the owner's previous state after the M11.5d controller
check advanced a tick. The test now reads the current life. ASan locally confirms
the fix; no product code was involved.
## 2026-10-14 — M11.8 server half: readable play signals (CI pending)
ADR-0129: v10 diagnostics carry engulf and bud results (bytes 77-78) filled from
tick feedback; v10 type 27 `CellularLifeEnded` (tick, life, cause) is sent once to
the owner when its life becomes a corpse; v9 views have the new bytes cleared. The
client stores the last life end. `cellular-session-protocol-v6-v10` covers the
codec (round trip, v9 refusal, unknown values, effects without tick effects,
type 27 bounds); `quic-sessions` delivers type 27 to a v10 owner only.
Executed locally: MSVC Debug 69/69, network 75/75, client-network 89/89; g++-14
`-Werror -Wshadow` and clang-tidy-19 on the protocol, sessions, client, tests and
server main (with the bridge); clang-format 19.1.5.