Show what a mutation costs and why an engulf failed
Foundation / checks (ecs) (push) Successful in 2m24s
Foundation / checks (deploy) (push) Successful in 4m7s
Foundation / checks (tsan) (push) Successful in 9m49s
Foundation / checks (client) (push) Successful in 17m12s
Foundation / checks (network) (push) Successful in 19m34s
Foundation / checks (checks) (push) Successful in 43m5s
Foundation / checks (postgres) (push) Successful in 44m57s
Foundation / server-image (push) Successful in 31s
Foundation / postgres-tools (push) Successful in 1m13s
Foundation / image (push) Successful in 3m24s

After the first M11.9 playtest (ADR-0129 amendment): each offered candidate now
carries its funded cost to the cell, construction energy and matter per channel,
so the client can grey out what the reserve cannot pay; a candidate is affordable
by that cost exactly when the owner would fund it. A failed engulf now reports no
contact, prey too large, or membrane too thick. The v10 candidate record grows to
64 bytes, so v10 clients must be rebuilt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-14 15:39:35 -04:00
co-authored by Claude Opus 5.5
parent dba73a97f5
commit 7c16a13dd9
16 changed files with 172 additions and 41 deletions
@@ -31,3 +31,17 @@ simply cleared. Wildlife and players already share one replicated presentation.
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.
## Amendment (2026-10-14, after the first M11.9 playtest)
- Each offered candidate also carries its cost to this cell: the construction
energy and the matter per channel its funded transition takes from the reserve
(ADR-0118). The client compares it with the reserve in the diagnostics to grey out
what the cell cannot afford. The cost is fixed for the offer (its context is), and
a candidate is affordable by the shown cost exactly when the owner would fund it.
Candidates that only shed or reshape may cost nothing. The candidate record grows
from 24 to 64 bytes; v10 clients must be rebuilt.
- The engulf result says why nothing was taken: 5 no other cell touching, 6 every
touching cell too large even with the thinnest membrane, 7 a touching cell small
enough but defended by its membrane. Value 3 (no eligible prey) is no longer sent.
Who is engulfed is unchanged.
+14 -3
View File
@@ -19,12 +19,23 @@ server and protocol signals it needs. Contract:
| 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)
## Client integration (2026-10-14)
The engineering client's HUD, death and restart screens, offer chooser, bud
control, accessibility and the first-session observation checks.
The engineering client now selects v10 and exposes the owner mutation offer,
engulf and bud controls, reserve/tick feedback, death cause and a new-life request.
Discrete requests retain their identity through reconnect, with explicit unresolved
outcomes. The UI adds a responsive cellular HUD and dark teal theme using the
existing toolkit/font. See [CLIENT](CLIENT.md) for operation and protocol limits.
Human accessibility/hardware checks and first-session/repeated-life observations
remain. Existing v10 signals do not provide detailed engulf refusals, full mutation
prices, or historical death/result recovery across every server restart.
## Progress
- 2026-10-14: server and protocol signals implemented and tested (codec and QUIC
delivery tests).
- 2026-10-14 (after the first playtest): each offered candidate carries its cost to
the cell (energy and matter per channel) so the client can grey out unaffordable
choices, and a failed engulf says why (no contact, too large, membrane). The
candidate record is now 64 bytes; v10 clients need rebuilding.
+13
View File
@@ -7481,3 +7481,16 @@ postgres attempt failed only in the ASan pass at `region upgrade test line 197`
re-run passed. The DEV overlay now serves region 100/4 with the `cellular-v4`
opening (ADR-0123 note). Executed locally: `deploy-policy-check.py` (0 failures),
`deploy-policy-selftest.py` (46 cases) and `ops-lib-check.sh`.
## 2026-10-14 — offer costs and engulf reasons (CI pending)
ADR-0129 amendment: offered candidates carry their funded cost to the cell (64-byte
candidate records), and engulf results distinguish no contact, prey too large and
membrane too thick. Tests: the region step reports each reason; the codec round-
trips costs; the PostgreSQL host test checks that a candidate is affordable by its
shown cost exactly when `fund_mutation` succeeds against the cell's reserve.
Executed locally: MSVC Debug 69/69, network 75/75, client-network protocol/QUIC/
session/cellular 15/15 (`evo-client.exe` was in use and not relinked); the WSL
PostgreSQL C++ suite; g++-14 `-Werror -Wshadow` and clang-tidy-19 on the changed
sources and server main; clang-format 19.1.5.