GeezerVison is showing github.com — id: implement Issuer key rotation and compromise recovery (design #2804) · Issue #5526 · developing-today/code
id: implement Issuer key rotation and compromise recovery (design #2804) #5526DescriptionImplementation of an ID design that has not landed yet (zero implementation as of the 2026-11-04 inventory).
Design issue: #2804
Design doc: doc/2026-11-01_design_id2804.md (in developing-today/code)
Acceptance, in brief: issuer key rotation and compromise recovery flows per the design, with tests.
Current state: no issuer-key rotation or compromise-recovery machinery exists.
The design documents govern. If implementation shows the design is wrong or incomplete, file a design amendment rather than silently diverging.
Scope: pkgs/id and its tests. Filed 2026-11-04 under Drew's order to begin work on all not-implemented ID designs. Inventory: workspace/goals/keep-the-four-repos-healthy/files/id-design-implementation-inventory-2026-11-04.md (in the fleet workspace). Activitydeveloping-today commented on Nov 4, 2026 dezren39 commented on Nov 4, 2026 dezren39 commented on Nov 4, 2026 🤖 Agent note · done
- Agent: queue worker (repo-worker-code), lane code-g
- Session / ID: task 9593
- Found via: queue claim
- Task: implemented issue id: implement Issuer key rotation and compromise recovery (design #2804) #5526 — issuer key rotation and compromise recovery per design issue id: design: issuer key rotation and compromise recovery for currency issuers (from #2041) #2804 — merged in PR feat(id): issuer key rotation and compromise recovery — protocol core (#5526) #5566 (squash ffbc76e)
- What landed (pkgs/id protocol core, design §7 phases 1–2 at the library layer):
pkgs/id/src/issuer_rotation.rs — the IssuerRotation record carried in the signed header extension (ChainExt::rotation, gated to kind issuer.rotation, per design §3.2's storage rule), domain-separated successor proof, consecutive predecessor-linked generations, compromise recovery validated only against the definition's committed recovery-key hash (a compromised minting key cannot author its own recovery, and no commitment means no authoritative recovery), fold_rotation_chain (deterministic, order-independent; duplicate-predecessor forks stay Conflicted unless a single committed-key recovery resolves the head, with rivals recorded as voided_transitions; a transition never installs the key it replaces), and the successor causal-link rule (references_rotation).
- Review: Codex round 1 raised two P1 findings (extension transport; recovery must resolve forked heads) and CodeRabbit two more (same fork issue; same-key recovery) — all four fixed in PR feat(id): issuer key rotation and compromise recovery — protocol core (#5526) #5566 and replied to on their threads; Codex's final round on the merged head was clean.
- Tests: laptop — full pkgs/id lib suite 2,147 passed, 13 integration targets + id-core brought the pre-merge run to 2,572 passed / 0 failed; final head module suite 18/18;
cargo check --all-targets and cargo fmt clean.
- Not in this PR, by the design's own seams (§7 phases 3–6): counting-view pinning (issue id: investigate: trust/visibility model — servers accept all signed objects; views count only allowed writers #2030's layer), anchored registry/gateway barrier (issue id: design: currency control plane — registry, account factory, gateway #2062's layer), reconciliation and wallet adoption; the currency-definition format that will carry the recovery-key commitment is issue id: design: graph token object formats + snapshot anchoring spec (from #2041) #2251's. The fold takes the commitment as an input, exactly as
fold_authorisation takes the expected issuer.
- Links: PR feat(id): issuer key rotation and compromise recovery — protocol core (#5526) #5566 (merged, ffbc76e); branch queue/9593-5526-issuer-key-rotation; design doc/2026-11-01_design_id2804.md
dezren39 commented on Nov 17, 2026
Agent note — triage: implementation already landed (PR #5566, task 9593); closing (task 18316, lane any-m, 2026-11-17)
State: triaged — fresh checks this run:
- Issue id: implement Issuer key rotation and compromise recovery (design #2804) #5526 is OPEN with legacy labels
status:in-review + epic/id-program, but its implementation already landed: task 9593 (lane code-g, 2026-11-04) implemented the design id: design: issuer key rotation and compromise recovery for currency issuers (from #2041) #2804 protocol core and PR feat(id): issuer key rotation and compromise recovery — protocol core (#5526) #5566 merged it (squash ffbc76e, 2026-11-04T16:38Z), with the full pkgs/id suite passing (2,572 tests) and all Codex/CodeRabbit findings dispositioned in that PR. The done note is the third comment on this issue.
- Verified on current main this run: the machinery still exists at
pkgs/id/crates/id-store/src/issuer_rotation.rs (moved there by the pkgs/id crate split, pkgs/id crate split — step 2: extract id-store, then id-events #4405), with fold_rotation_chain and rotation tests (pkgs/id/tests/probe_rotation_self.rs) present.
- The design §7 phases 3-6 were explicitly other issues' layers per the design's own seams — id: investigate: trust/visibility model — servers accept all signed objects; views count only allowed writers #2030 (counting-view pinning), id: design: currency control plane — registry, account factory, gateway #2062 (registry/gateway barrier), id: design: graph token object formats + snapshot anchoring spec (from #2041) #2251 (currency-definition commitment format) — and all three are now CLOSED. Nothing in this issue's scope remains unimplemented.
Verdict: already done. Closing as completed; the stale status:in-review label does not reflect the merged state.
dezren39 commented on Nov 17, 2026 agent-note:v1
state: triaged / already_done
task: 19849
lane: any-w
Fresh check 2026-11-17T09:12Z: issue #5526 is CLOSED (status:done). Task 18316 (lane any-m) closed it today with evidence: the implementation landed in PR #5566 (merged 2026-11-04, task 9593) and the machinery is verified present on current main at pkgs/id/crates/id-store/src/issuer_rotation.rs. Completing task 19849 as already_done; no follow-on needed.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|