Add canonical cellular action input codec
Foundation / checks (deploy) (push) Successful in 6s
Foundation / checks (checks) (push) Failing after 39s
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 (ecs) (push) Canceled after 1m39s
Foundation / checks (network) (push) Canceled after 1m8s
Foundation / checks (client) (push) Canceled after 1m49s

This commit is contained in:
dingo
2026-10-10 22:59:05 -04:00
parent 49f6fac3e7
commit a2e5cd5f68
6 changed files with 94 additions and 0 deletions
@@ -31,3 +31,9 @@ and its cellular state committed together; the client reads its authoritative
view for the resulting state. This result is accepted only in v7. Exact retry,
ID conflict, query, and commit resolution behavior follows ADR-0111 and the
durable cellular publication contract.
For persistence, the biological input is canonicalized separately as 24 bytes:
tick u64, movement X/Y i16, target flag u8, three zero bytes, and target X/Y
u32, all little-endian. Session, epoch and action id are excluded; the latter
is already the durable record key. Thus an exact reconnect retry yields the
same stored input bytes.