Files
aevolution/docs/adr/0129-cellular-readable-play-signals.md
T
dingoandClaude Opus 5.5 69e3866fd9 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>
2026-10-14 07:57:37 -04:00

1.6 KiB

ADR-0129: Cellular readable play signals (server half of M11.8)

Status

Accepted (2026-10-14). The engineering client's presentation is the maintainer's; this records only what the server tells the owner.

Context

M11.8 asks that energy and resource needs, mutation tradeoffs and death causes be understandable, with one shared presentation for players and wildlife. The owner already receives its reserve and costs (v9 diagnostics, ADR-0117) and its outstanding offer with each candidate's tradeoffs (v10 type 26, ADR-0121). It did not learn what its engulf or bud intention did, nor why its cell died: the view simply cleared. Wildlife and players already share one replicated presentation.

Decision

  • v10 diagnostics use two of the five reserved bytes after the tick-effects flag: byte 77 is the engulf result (0 not reported, 1 not requested, 2 engulfed, 3 no eligible prey, 4 unsupported) and byte 78 the bud result (0 not reported, 1 not requested, 2 budded, 3 not able, 4 insufficient funding, 5 no placement). Both are zero without tick effects. v9 keeps all five bytes zero; the server clears them before sending a v9 view.
  • v10 adds type 27, CellularLifeEnded: the tick, the life identity and the cause (0 not recorded, 1 starved, 2 engulfed), sent once to the owner's v10 session when its life becomes a corpse. The predator is not named.
  • Suspended cells (ADR-0128) are not replicated, so nothing reveals an absent player.

Consequences

The client can say why a cell died and what a bud or engulf attempt did, without inferring it from a vanished view. v1-v9 are unchanged.