GeezerVison is showing github.com — id: match attestation v1 — signed result objects, state machine, counting views in pkgs/id (from #2039) · Issue #3792 · developing-today/code
id: match attestation v1 — signed result objects, state machine, counting views in pkgs/id (from #2039) #3792Labels app/idPackage/app: id (pkgs/ or apps/ in this repo)expediteImportant - do this very soon, before anything not expeditedqueue/parkedQueue task is parked (waiting on CI, time, or an event)source/creatorFiled by the new-issue-creator jobstatus/parkedDeliberately paused with a recorded resume conditiontask/triageQueue packet kind: verify, reproduce, and route this itemwork/assignedQueue worker lifecycle state DescriptionImplementation of the #2039 v1 design (synthesis of #2037 + #2038, record on #2039 by task 5730). The #2037 investigation doc (doc/2026-10-30T19-20-40Z_investigation_match_result_attestation) defines the objects — genesis agreement, result claim, witness decision (complete/partial evidence), objection — as ordinary signed graph events, with result states computed by viewers (no server decides). The mutual-concession PoC #2248 is closed/done and proves the core flow on tic-tac-toe.
v1 scope: the attestation objects + state machine + counting view as a library in pkgs/id, adopting the #2039 decisions (outer-cap objection acceptance in v1; witness-set as a registry-view writer-set cousin per #2030; attestation-layer validity rule for fork invalidation, not the store's resolve.rs). Prerequisite: #2814 player-signed move capture.
Acceptance: objects round-trip as signed events; state machine covers conceded/witnessed/objected/offline-synced examples from the #2037 doc as tests; counting view matches the doc's counting rules; existing suite passes. Activitydeveloping-today commented on Nov 1, 2026 dezren39 commented on Nov 1, 2026 dezren39 commented on Nov 1, 2026 dezren39 commented on Nov 16, 2026
Agent note · picked up (openchamber scheduled lane code-f, task 5782)
Claimed small_fix task 5782 for issue #3792. Fresh revalidation: issue OPEN (authored/assigned dezren39, labels task/triage + source/creator + queue/queued + app/id + expedite, no hard-stop labels); PR #7179 OPEN non-draft at a57c217, authored/assigned dezren39, zero labels, head branch queue/5782-3792-attestation-v1 (this task's branch).
Prior premise check: authorship alone is not a hold per Drew's 2026-11-07 ruling (comment 6783837636) — no Drew decision pending, no held/user-owned/do-not-merge labels. Proceeding to disposition the PR against current main. dezren39 commented on Nov 16, 2026
Agent note · parked (openchamber scheduled lane code-f, task 5782)
PR #7179 is NOT superseded (identifiers sign_objection/sign_witness_decision/WitnessDecision/V1MatchState absent from main) and must NOT merge as-is: its branch keeps the pre-split pkgs/id/src/attestation.rs layout, which main deleted in the crate split (attestation now at pkgs/id/crates/id-events/src/attestation.rs). Merging would revert the split.
New finding settling the open port question: id-events already depends on id-store (Cargo.toml, step 2b #4405), so v1.rs's crate::chain::{ChainExt, Event} imports are satisfiable inside id-events — place v1 there, rewrite chain imports to the id-store path, resolve the attestation_poc.rs conflict (main evolved the same file), run attestation tests in the owning crate, refresh the PR branch, re-run CI, merge. Checks on #7179 are red at a57c217 (incl. native-arm64 world-snapshot determinism FAILURE); must re-run after the port.
No worktree created this run (laptop primary main untouched at 70abb62); no branch/PR edits made. Resume: fresh worktree from origin/main, checkout queue/5782-3792-attestation-v1, port per above. dezren39 commented on Nov 16, 2026
🤖 Agent note · parked (awaiting CI) — lane code-f, task 5782
- Work completed this shift:
- Revalidated issue id: match attestation v1 — signed result objects, state machine, counting views in pkgs/id (from #2039) #3792 OPEN and PR feat(id): add v1 attestation signed objects #7179 OPEN at
a57c217a1a. Authorship alone is not a hold per Drew’s 2026-11-07 ruling.
- Merged
origin/main into queue/5782-3792-attestation-v1 in worktree ~/git/fleet/5782-3792-attestation-v1.
- Ported
v1.rs to the crate split: moved v1.rs to pkgs/id/crates/id-events/src/attestation/v1.rs, updated chain imports to id_store::chain (id-events depends on id-store per pkgs/id crate split — step 2: extract id-store, then id-events #4405), added chat: None to ChainExt.
- Added
#[allow(clippy::unwrap_used)] annotations to v1 tests in attestation_poc.rs.
- Ran
cargo check -p id-events (PASS) and cargo test -p id --test attestation_poc (PASS, 16/16 tests pass, including all 3 v1 tests).
- Committed (
75ba94bff3) and pushed queue/5782-3792-attestation-v1 to origin.
- Action: parked for 20 minutes awaiting CI on PR feat(id): add v1 attestation signed objects #7179 (head
75ba94bff3).
- Resume: when CI checks on PR feat(id): add v1 attestation signed objects #7179 are green, merge PR feat(id): add v1 attestation signed objects #7179 into main, complete task 5782, and close issue id: match attestation v1 — signed result objects, state machine, counting views in pkgs/id (from #2039) #3792.
- Bookkeeping: sandbox backlog/sweep deferred to fleet reconciliation (openchamber scheduled lane).
dezren39 commented on Nov 16, 2026 Agent note - PR #7179 shepherded and merged. Agent: queue worker (repo-worker-code), lane code-a. Session/ID: task 14713. Found via: queue claim (per-PR shepherd follow-on from batch triage task 12908). Fresh state at shepherd time: the base attestation module and PoC tests had already landed on main separately; PR #7179s remaining delta was the v1 submodule (pkgs/id/crates/id-events/src/attestation/v1.rs, the pub mod v1 wiring, and two v1 tests in pkgs/id/tests/attestation_poc.rs). Refreshed the branch with a merge of current main (d9a6dfb) in a fleet worktree, verified locally on the laptop: cargo test -p id --test attestation_poc 16 passed (both v1 tests ok), cargo test -p id-events --lib 316 passed. PR was CLEAN/MERGEABLE and merged. Issue #3792 stays open for its remaining scope beyond this PR. dezren39 commented on Nov 16, 2026 dezren39 commented on Nov 16, 2026
Agent note — done: attestation v1 landed (task 5782, lane any-b, 2026-11-16)
State: done (fixed_merged). PR #7179 ("feat(id): add v1 attestation signed objects") is MERGED as ae551b6d0a275c0f2397caaf6744a844615ea9fa (2026-11-16T09:39:21Z).
What unblocked it: the packet's gate — prerequisite issue #2814 (player-signed move capture) — is now CLOSED, and prerequisite PR #4345 was already merged. This lane re-verified the gate fresh, merged current main into the PR branch (clean), and re-ran the targeted suite at the merged head: cargo test --test attestation_poc — 16 passed, 0 failed, including the v1 witness-decision, objection, and offline-sync cases and the #6441/#2863 main-side guards the PR body records as preserved. A parallel lane landed the merge while this verification ran; the stray branch copy this lane's push recreated after the merge auto-deleted it has been removed.
Per the PR record, v1 delivers the versioned signed objects (WitnessDecision with complete/partial evidence, Objection), the extended viewer-computed state machine, the evidence-closure/fork check at the attestation layer, and the registry counting view as a projection with explicit policy.
MetadataMetadataapp/idPackage/app: id (pkgs/ or apps/ in this repo)expediteImportant - do this very soon, before anything not expeditedqueue/parkedQueue task is parked (waiting on CI, time, or an event)source/creatorFiled by the new-issue-creator jobstatus/parkedDeliberately paused with a recorded resume conditiontask/triageQueue packet kind: verify, reproduce, and route this itemwork/assignedQueue worker lifecycle state DevelopmentNo branches or pull requestsIssue actions
|