Carry the engulf intent on v10 sessions and the batch trace
Foundation / checks (ecs) (push) Successful in 2m28s
Foundation / checks (deploy) (push) Successful in 4m6s
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 6m47s
Foundation / checks (checks) (push) Canceled after 6m58s
Foundation / checks (client) (push) Canceled after 6m59s
Foundation / checks (tsan) (push) Canceled after 4m28s
Foundation / checks (network) (push) Canceled after 6m58s

ADR-0124: byte 12 of the canonical cellular input, the CellularAction
wire message and the batch trace record becomes a target kind (0 none,
1 patch, 2 engulf with zero coordinates). Kind 2 exists only on v10,
which no server admitted before; cellular servers now admit v10 with v9
behaviour plus engulf, and still refuse a v10 mutation choice until
11.4c. Admission, the session-batch adapter, trace codec, matcher and
action-block validator carry the kind.

The client session library accepts v10 and an engulf flag, and its send
no longer reports a message its version cannot encode as sent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-13 19:04:46 -04:00
co-authored by Claude Opus 5.5
parent 02adc35fa2
commit e17ade8cb7
15 changed files with 175 additions and 39 deletions
@@ -30,8 +30,11 @@ must still be resolved correctly.
byte 12 of the 24-byte canonical input: 0 none, 1 patch intake at the given
patch address, 2 engulf. An engulf intent carries zero coordinates; the server
chooses the prey. Clients still send only intentions.
- Kind 2 is accepted only on session protocol v11, which otherwise equals v10.
Earlier sessions keep refusing it, and their bytes are unchanged.
- Kind 2 is accepted only on session protocol v10. v10 was defined for
mutation choice (ADR-0121) but no server admitted it yet, so no existing peer
changes meaning; v7 to v9 keep refusing kind 2 and their bytes are unchanged.
Cellular servers now admit v10 sessions with v9 behaviour plus kind 2; a v10
mutation choice is refused until 11.4c wires its publication.
### Tick order (rules 3)
@@ -97,7 +100,8 @@ then adds two phases, all in ascending stable life id:
## Consequences
- Biology gains a pure engulf/detritus resolution; the cellular owner, snapshot,
manifest bundle, SQL admission, protocol v11, batch trace and recovery change.
manifest bundle, SQL admission, v10 session admission, batch trace and
recovery change.
- Founders are equal in size, so live engulfment needs mutation (11.4) or
later growth before it is observable in play.
- Size may dominate predation (ADR-0098 risk); 11.9 watches for it, and the
+8
View File
@@ -428,6 +428,14 @@ scoped change before starting the next segment.
inventory. Mutation selection accepts formats 3 and 4. Persistence, protocol
and provisioning remain.
- 11.3f-3 (ADR-0124): engulf travels as target kind 2 in byte 12 of the
canonical input, the v10 `CellularAction` and the batch trace, with zero
coordinates and never with a patch target. Cellular servers admit v10
sessions with v9 behaviour plus kind 2 (a v10 mutation choice is still
refused until 11.4c); the client session library offers v10 and an engulf
flag, and no longer reports an unencodable message as sent. SQL admission of
kind 2 and the rules-3 bundle remain.
## Exit boundary
11.3 closes only when the documented segments have evidence and the player-facing
+20 -1
View File
@@ -7238,4 +7238,23 @@ owner case: engulf-profile genesis, equal-founder `no_eligible_prey`, refused
engulf-plus-intake tick, starvation detritus into the patch, per-tick
conservation, format-4 round trip and tampered corpse causes); g++-14
`-Werror`, clang-tidy-19 (the one remaining `cellular_session_batch.cpp:110`
report predates this change) and clang-format 19.1.5.
report predates this change) and clang-format 19.1.5.
## 2026-10-13 — M11.3f-3 engulf intent on the wire (CI pending)
Byte 12 of the canonical cellular input, the v10 `CellularAction` and the batch
trace intent record is now a target kind (0 none, 1 patch, 2 engulf with zero
coordinates). v7-v9 still refuse kind 2. `RegionSessions` admits v10 for
cellular servers with v9 behaviour (actions, datagrams, perception); a v10
mutation choice still closes with `protocol` until 11.4c. Admission, the
session-batch adapter, trace codec, trace/action matcher and action-block
validator carry the kind. The client session library accepts v10 and an
engulf flag, and its `send` no longer reports an empty (refused) encoding as
sent.
Executed locally: MSVC Debug `ctest` 68/68; client-network build with
`cellular-intent-protocol` (new v10 engulf case), `cellular-session-batch`
(engulf intent, trace round trip and stripped-flag mismatch) and
`quic-sessions` (a v10 client's engulf action admitted and carried; a v7 client
cannot send one) passing; `motion-trace-smoke` failed once under `-j 6` load
and passed alone. g++-14 `-Werror`, clang-tidy-19 (two existing reports in the
mutation test remain) and clang-format 19.1.5.