Add durable cellular action protocol v7
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (checks) (push) Failing after 40s
Foundation / checks (postgres) (push) Canceled after 0s
Foundation / checks (tsan) (push) Canceled after 0s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (client) (push) Canceled after 1m16s
Foundation / checks (ecs) (push) Canceled after 1m8s
Foundation / checks (network) (push) Canceled after 37s

This commit is contained in:
dingo
2026-10-10 22:57:03 -04:00
parent d0c7a938f1
commit d1717410d6
7 changed files with 163 additions and 18 deletions
+6 -2
View File
@@ -175,8 +175,12 @@ scoped change before starting the next segment.
and only provisional receipts, so they cannot satisfy ADR-0108's exact retry
requirement after reconnect. ADR-0111 keeps v6 frozen and specifies a reliable
v7 action with stable account/action identity and commit-bound input/result
bytes. Durable host work is paused at this contract boundary until the v7
codec and store records are implemented.
bytes. The codec is now implemented; durable input records, recovery and
atomic publication remain required before the host may consume it.
- 11.3d-5a: protocol v7 now defines a reliable 48-byte cellular action carrying
stable per-account action identity, plus a distinct committed-cellular result.
The strict codec and round-trip/refusal tests are implemented; admission,
durable input records and atomic tick publication remain open.
## Exit boundary
+19
View File
@@ -6108,3 +6108,22 @@ records the resolution: preserve v6 unchanged and use a reliable v7 cellular
action whose canonical input and final result commit with the cellular
checkpoint. No implementation or tests were run for this documentation-only
contract; durable host coding follows it.
## 2026-10-10 — M11.3d-5a reliable v7 cellular action codec (CI pending)
Added the v7 reliable-stream `CellularAction` wire value with stable nonzero
account/action identity, intended tick, signed movement fields and optional
patch target. Admission owns movement bounds. Added `ActionResult::committed`
for cellular actions and kept it
v7-only; v6 cellular intentions and their bytes remain unchanged. The schema
defines the exact 48-byte layout and identifies server-side checks still owned
by admission and durable publication.
Executed locally: warning-as-error MSVC 19.44 direct compile and run of
`tests/cellular_intent_protocol_tests.cpp` with the protocol codec (v6 and v7
round trips, version gates, zero identity, reserved bytes and absent-target
canonicality passed), plus `git diff --check`. The CMake/Ninja target regenerated
successfully but idled without starting compilation; direct compilation was
used. `clang-format` and `clang-tidy` are unavailable on this Windows PATH. CI,
server admission, action ledger input bytes, durable publication and restart
recovery remain pending.