GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id: persist signed-move bindings/frontiers in the world journal + ingest signed moves into the event store (#2814 follow-up) · Issue #4346 · developing-today/code

id: persist signed-move bindings/frontiers in the world journal + ingest signed moves into the event store (#2814 follow-up) #4346

New issue
Copy link
New issue
Copy link
Closed
#9037
Closed
id: persist signed-move bindings/frontiers in the world journal + ingest signed moves into the event store (#2814 follow-up)#4346
#9037
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workepic/id-programReprioritization program epic (2026-11-12)kind/enhancementmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/queue-workerFiled or worked by the queue/worker pilottask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@dezren39
dezren39
opened on Nov 2, 2026
Issue body actions

Problem

PR #4345 implements #2814 v1: player-signed move capture with key binding, strict chain verification at the world input seam, and cross-referenced accepted-move records — all as runtime state in WorldCore. Two pieces of the #2814 design are deliberately not in v1:

  1. Journal/checkpoint persistence of signed play. Author-key bindings, per-author move frontiers (next seq + frontier event id), and accepted SignedMoveRecords do not survive a world restart or journal compaction. After a restart, a bound participant's chain position is lost; signed play would need to re-anchor, which the strict seq/backlink verification refuses by design.
  2. Event-store ingestion of signed move bytes. The design (issue id: player-signed move capture for world games — prerequisite for match attestation (#2037/#2039) #2814, 2026-11-01 lane F note) has the signed bytes go to the event store so equivocation at one author sequence produces the existing fork-proof behavior in event_store/ingest.rs. In v1 the world keeps the bytes in SignedMoveRecords and itself refuses a rival at an accepted sequence, but nothing ingests them into the store, so no fork proof is produced.

Scope

  • Persist bindings + frontiers + signed-move records through the world journal and checkpoints (new journal entries and/or checkpoint fields, with the journal-version contract in world/mod.rs honored; replay must re-verify chain continuity, as WorldCore::restore does for other state).
  • On signed-move acceptance, ingest the signed event bytes into the event store (or provide the documented hand-off), so two distinct signed events at one author sequence yield a fork proof under existing ingest rules.
  • Tests: signed game → world restore from journal (incl. a compacted journal) → chains continue at the right seq/frontier; equivocation across a restart still produces a fork proof.

Context

  • Origin: id: player-signed move capture for world games — prerequisite for match attestation (#2037/#2039) #2814 v1 scope boundaries, recorded in PR feat(id): player-signed move capture for world games (#2814) #4345.
  • Code: pkgs/id/src/world/signed.rs, WorldCore::{bind_author_key, prepare_input_signed, record_signed_move} in pkgs/id/src/world/core.rs.

Acceptance criteria

  • Author-key bindings, per-author move frontiers, and accepted SignedMoveRecords persist through the world journal/checkpoint path and are restored on world restart, so a bound participant's chain position survives a restart without re-anchoring.
  • Signed move bytes are ingested into the event store so a rival move at an already-accepted author sequence produces the existing fork-proof behavior in event_store/ingest.rs.
  • Tests cover: restart persistence of bindings/frontiers/records, journal compaction not losing signed-play state, and equivocation at one author sequence yielding a fork proof after ingestion.
  • Existing signed-move verification behavior (strict seq/backlink checks at the world input seam) is unchanged for the runtime path.

Activity

Next
  1. dezren39
    added
    kind/enhancement
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    status/needs-triageNot yet triaged; needs a first look
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    source/queue-workerFiled or worked by the queue/worker pilot
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 2, 2026
  2. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    Intake review

    🤖 Agent note · filed

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: repo-fleet-monitor run 2026-11-02T12:12Z
    • Found via: monitor reconciliation (Duty 2 intake enrichment)
    • Task: Intake pass — verified still live, appended acceptance criteria, normalized labels.
    • Expectation: effort/m; done = journal persistence + event-store ingestion per the acceptance criteria above.
    • Links: origin issue id: player-signed move capture for world games — prerequisite for match attestation (#2037/#2039) #2814; v1 implementation PR feat(id): player-signed move capture for world games (#2814) #4345

    Related: issue #2814 (design/origin), PR #4345 (v1, explicitly leaves this scope out — so this issue is still live, not resolved by that PR).
    Notes: Unlabelled at filing; now carries kind/enhancement, app/id, priority/normal, effort/m. Two separable pieces (journal persistence, event-store ingestion) — a worker may checkpoint them independently.
    Risks: Restart/compaction semantics are the subtle part; equivocation must produce a fork proof, not just a local refusal, after ingestion.
    Suggested approach: Persist bindings/frontiers/records alongside the existing journal checkpoint format first, then wire ingestion of the stored signed bytes into event_store/ingest.rs and test equivocation end-to-end.

  3. github-actions
    assigned
    dezren39
    on Nov 3, 2026
  4. dezren39
    added
    queue/queuedHas a queued queue task
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 3, 2026
  5. developing-today commented on Nov 3, 2026

    @developing-today
    developing-todayBot
    on Nov 3, 2026 – with developing.today
    Contributor
    More actions

    agent-note:v1
    state: triaged (coverage pass)
    Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 40 (priority/normal). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
    Found via: coverage pass 2026-11-03

  6. dezren39
    added
    work/assignedQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 3, 2026
  7. 66 remaining items

  8. dezren39
    added a commit that references this issue on Nov 11, 2026

    fix(id/world): MoveChain::verify refuses blank world_id and empty inp…

    a9571ec
  9. dezren39
    added
    epic/id-programReprioritization program epic (2026-11-12)
    on Nov 12, 2026
  10. dezren39 commented on Nov 12, 2026

    @dezren39
    dezren39
    on Nov 12, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged — REAL and current; fix packet enqueued

    • Agent: queue worker lane code-c (task 12154, triage re-queue under code#7016 doctrine)
    • Verdict: issue id: persist signed-move bindings/frontiers in the world journal + ingest signed moves into the event store (#2814 follow-up) #4346 is real and current on fresh main (3273254). Nothing has landed: no merged PR or commit references id: persist signed-move bindings/frontiers in the world journal + ingest signed moves into the event store (#2814 follow-up) #4346 since the done-task-only audit.
    • Evidence (verified this shift on the laptop clone):
      • pkgs/id/crates/id-worlds/src/world/signed.rs module doc still states: "Journal persistence of the binding and the move frontiers (so signed play survives a restart without re-anchoring) is a follow-up."
      • WorldCore in pkgs/id/crates/id-worlds/src/world/core.rs: author_keys, move_chains, and signed_moves are runtime-only fields, initialized empty in new(); restore_inner contains no signed-state handling, so bindings/frontiers/records are lost on restart.
      • No event-store ingestion exists on the world path: grep ingest over pkgs/id/crates/id-worlds/src/ finds only doc comments; the fork-proof ingest rules live in pkgs/id/crates/id-events/src/event_store/ingest.rs and are never called with signed move bytes.
      • Prior escalation of this task rested on the issue being assigned to dezren39; per Drew's 2026-11-11 ruling that is the fleet working identity, not a hold. The issue carries no held, user/owned, do-not-merge, or do-not-auto-edit label. Stale user/escalated / queue/blocked / status/blocked labels from that escalation are removed by this note's label sync.
    • Triage: work kind task/small-fix (implementation packet), priority priority/normal (unchanged), effort effort/m (unchanged), kind kind/enhancement (unchanged).
    • First concrete step for the fix: add journal/checkpoint persistence for author_keys + move_chains frontiers + signed_moves in id-worlds (honoring the journal-version contract in world/mod.rs), restore them in restore_inner with chain-continuity re-verification, then ingest accepted signed bytes into the event store on acceptance.
    • Acceptance check: the issue's own criteria — restart persistence incl. a compacted journal, chain continuation at the right seq/frontier after restore, and an equivocation at one author sequence yielding a fork proof after ingestion; existing strict seq/backlink verification unchanged.
    • Routing: the implementation is a self-contained medium feature, so per the triage packet's acceptance it is converted to a fix packet (dedupe repo-health:v1:fix:developing-today/code:issue:4346) and returned to the queue as follow-on task 15310. Issue id: persist signed-move bindings/frontiers in the world journal + ingest signed moves into the event store (#2814 follow-up) #4346 stays OPEN.
  11. dezren39
    added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    queue/queuedHas a queued queue task
    and removed
    task/triageQueue packet kind: verify, reproduce, and route this item
    status/blockedQueue or user escalation state
    user/escalatedRequires a Drew decision or access
    queue/blockedQueue or user escalation state
    on Nov 12, 2026
  12. dezren39 commented on Nov 12, 2026

    @dezren39
    dezren39
    on Nov 12, 2026
    MemberAuthor
    More actions

    🤖 Agent note · implemented, PR opened

    • Agent: queue worker (repo-worker-code), lane code-a
    • Session / ID: task 15310 (small_fix)
    • Outcome: PR feat(id-worlds): journal signed-move bindings/frontiers + event-store ingest hand-off (#4346) #9037 — journal persistence of signed play + event-store ingest hand-off, commit e5f9ffd on branch queue/15310-4346-signed-journal.
    • What landed: journal entries AuthorKeyBound / SignedMoveAccepted (new journal version 8, JOURNAL_VERSION_SIGNED_PLAY); actor journals bindings and accepted moves; restore re-verifies chains (full payload-commitment verify when the committed input is retained, header checks when it aged out under compaction); checkpoint_entries carries bindings + records through compaction; WorldCore::ingest_signed_moves hands accepted bytes to the event store.
    • Tests: cargo test -p id-worlds — 735 passed, 0 failed, including 4 new tests (restart persistence + compaction, tampered-journal refusal, fork proof after ingest, version-8 contract). rustfmt clean. Clippy is not installed on the laptop, so the clippy gate is CI's.
    • Remaining: CI + Codex review on PR feat(id-worlds): journal signed-move bindings/frontiers + event-store ingest hand-off (#4346) #9037, then merge (the PR closes this issue on merge).
    • Links: task 15310 · PR feat(id-worlds): journal signed-move bindings/frontiers + event-store ingest hand-off (#4346) #9037
  13. dezren39
    removed
    queue/queuedHas a queued queue task
    on Nov 12, 2026
  14. dezren39
    added 2 commits that reference this issue on Nov 14, 2026

    feat(id-worlds): journal signed-move bindings/frontiers + event-store…

    9f62d20

    feat(id-worlds): journal signed-move bindings/frontiers + event-store…

    cbd2af9
  15. dezren39
    closed this as completedin #9037on Nov 14, 2026
  16. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    Agent: repo-worker-code (lane any-a)
    State: done — PR #9037 landed; this issue closed by the merge

    • task: 17185 (pr_shepherd, PR feat(id-worlds): journal signed-move bindings/frontiers + event-store ingest hand-off (#4346) #9037 for id: persist signed-move bindings/frontiers in the world journal + ingest signed moves into the event store (#2814 follow-up) #4346)
    • Rebased branch queue/15310-4346-signed-journal onto main 8b522c1 (9f62d20): the only conflicts were the journal-version constants — id: scheduled events follow-ups — recurring schedules and cross-world schedule delivery (P10.3 remainder) #1355 had taken version 8 for recurring schedules, so signed play renumbered to JOURNAL_VERSION_SIGNED_PLAY = 9 with MAX_JOURNAL_VERSION following it; v8 binaries now refuse signed journals at the header check, as the version contract intends.
    • Codex findings dispositioned and fixed in 6f48e4a: P1 — signed input + acceptance now persist as ONE journal transaction before either is applied in memory (pure WorldCore::signed_move_record + record_signed_move apply); P2 — restore refuses signed-move records referencing a future sequence, another participant's input, or a non-input event; header-only verification only for genuinely aged-out inputs. Both review threads replied to and resolved.
    • Tests: cargo test -p id-worlds --lib on the laptop — 672 passed, 0 failed (incl. two new restore-refusal regression tests, signed_input_flows_through_the_actor, signed_play_survives_journal_restore_and_compaction); cargo fmt clean.
    • Merged: PR feat(id-worlds): journal signed-move bindings/frontiers + event-store ingest hand-off (#4346) #9037 squash-merged as cbd2af9 at 2026-11-14T19:59:22Z; branch deleted. The mcpx-test failures on the PR's stale head were in an untouched subsystem (this diff is id-worlds only) and are tracked by the standing mcpx/CI investigations, not this PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workepic/id-programReprioritization program epic (2026-11-12)kind/enhancementmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/queue-workerFiled or worked by the queue/worker pilottask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.