You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
id: implement signed async turns and deterministic replay for board game posts (#5525) #6160
Parent implementation issue: #5525. Governing design: #2054, especially §4 and acceptance criteria.
Starting point: PR #6158 adds the signed, package-pinned GamePost metadata and same-board Post.embed_ref integration. The merged #2266/#2755 artifact is a test-only PoC, not production implementation.
Scope
Add signed challenge acceptance and async GameTurn objects using the existing board-object signing envelope.
Bind each turn to its GamePost/package version, assigned author/role, turn index and prior game frontier; reject wrong signers and stale/wrong frontiers without erasing competing valid branches.
Replay the exact package bytes named by the GamePost under the existing sandbox/resource limits. Do not infer player evidence from host-authored world journal events.
Prove the flow with the checked-in tic-tac-toe package and deterministic replay tests.
Acceptance
A package-pinned async game can be opened and advanced through signed objects.
A valid signed lineage replays to the same state from the same inputs; wrong signer/frontier is rejected, and competing turns remain visible as forks.
Signature/tamper and graph scope checks are tested. No live-session hosting or UI is claimed.
Follow-up slice to #5525; this issue does not close the parent.
Still live: verified at intake — merged-PR search returns only unrelated number mentions; no production signed-turn implementation exists yet. The body's ## Acceptance section already exists, so this pass adds labels and this comment only (no body edit).
Notes: the frontier discipline (wrong signer / stale frontier rejected without erasing competing valid branches) is the design's core invariant — replay determinism tests should pin it from the first commit, per the fleet testing doctrine (name the oracle: the checked-in tic-tac-toe package replayed from the same inputs).
Risks: conflating host-journal events with player evidence is called out in the body as a known trap; keep the evidence model object-only.
Suggested approach: signed challenge/turn objects on the existing board-object envelope, deterministic replay harness next, then the tamper/scope test suite.
Expectation: met — signed async turns + deterministic replay landed, with replay authorization aligned to the signed schedule.
Links: PR feat(id): signed async game turns and deterministic replay for game posts (#6160) #8327, head 079546c. Fixes this shift: 8b750f1 (replay refuses a genesis that is not the package's initial state — Codex P2, genesis "X--------" could execute the X participant's signed turn as O's move) and 079546c (generated replication-convergence property test — Codex P1). All six Codex findings across rounds are replied to and resolved; the final head's Codex review completed with no findings. Verified on the laptop: cargo test --lib boards:: in pkgs/id — 43 passed, 0 failed. PR checks stayed QUEUED in the fleet runner stall; merged under standing merge authority on laptop targeted tests + clean Codex + clean merge-tree against main. Parent issue id: implement ID boards v1 - signed boards, portable themes, playable posts (design #2054) #5525 stays open (this slice does not close it).
Activity
developing-today commentedon Nov 5, 2026
CODE-1783
dezren39 commentedon Nov 5, 2026
Intake review
## Acceptancesection already exists, so this pass adds labels and this comment only (no body edit).159 remaining items
dezren39 commentedon Nov 11, 2026
🤖 Agent note · picked up
fix(id): replay refuses a genesis that is not the package initial sta…
test(id): generated replication-convergence property for game graphs (#…
Merge pull request #8327 from developing-today/queue/12921-6160-signe…
dezren39 commentedon Nov 11, 2026
🤖 Agent note · done
cargo test --lib boards::in pkgs/id — 43 passed, 0 failed. PR checks stayed QUEUED in the fleet runner stall; merged under standing merge authority on laptop targeted tests + clean Codex + clean merge-tree against main. Parent issue id: implement ID boards v1 - signed boards, portable themes, playable posts (design #2054) #5525 stays open (this slice does not close it).