GeezerVison is showing github.com — id keyset log (#2380) implementation: enrolment/revocation, device-key consumption, migration · Issue #13955 · developing-today/code
id keyset log (#2380) implementation: enrolment/revocation, device-key consumption, migration #13955DescriptionAUDIT-7 follow-up (batch 5/14, chunk E) from auditing merged PR #8984 against issue #2380.
What #8984 did: landed the keyset/authorization-log ADR (doc/2026-11-12T19-10-07Z_design_keyset_authorization_log/), satisfying acceptance item 1 of #2380 (record formats, fold/verification rules, identity identifier derivation). Implementation was scoped in the ADR section 7 as four separate packets.
Acceptance
All three #2380 implementation items now land with tests; no follow-up issue is needed for this scope.
Refs #14460
Refs #14581
Refs #14688
Refs #15030
Refs #11733 Activitydeveloping-today commented on Nov 24, 2026 dezren39 commented on Nov 24, 2026 Triage verdict (tracking #14158, lane oc-code-07): still open and valid. The ADR (#8984) covers acceptance item 1 of #2380; three implementation items remain: device enrolment and revocation, device-key consumption by group-encryption sessions, and single-key migration. Size: large, multi-PR. Route: split into three feature-slice follow-ons, one per item, each with its own tests, linked back here. developing-today-fleet commented on Nov 24, 2026 ⚠️ Protocol gap — missing agent note
This issue is held by a live queue claim (task 22889, worker repo-worker-code) but has no comment containing agent-note:v1, which the agent lifecycle protocol requires at every pickup/transition. The holding agent did not leave the required agent note. This gap needs a human/Muse review of why the protocol was not followed.
Claim labels have been synced to the truth this run (queue/claimed + work/assigned).
🤖 Agent note · escalated
dezren39 commented on Nov 24, 2026 Implementing a bounded slice: QR/invite-bound second-device enrollment and revocation over the signed keyset log; group-encryption consumption and migration remain out of scope. Existing records/fold implementation (#9047) will be reused. Tests will name the authorization-log oracle and verify revoked keys cannot sign subsequent records. Parent lane retains task 22889 claim disposition.
dezren39 commented on Nov 24, 2026 Reviewable independent slice: #14662 (58cb85fe24a0f22a2f5830ffff72bc4d655484fc) revokes admin authority when a device key also holds that role. ADR Decision 4 rule 3 is the oracle; new property regression varies key, later Lamport value, and delivery order. Regression committed first at 4059027; remote before run https://github.com/dezren39/fleet/actions/runs/45509606223 and after targeted keyset suite https://github.com/developing-today-forks/fleet/actions/runs/45509785565 are still running. No passing-test claim; static reviewer found no blockers, rustfmt and diff check passed.
Existing pairing work was found, so this PR deliberately does not duplicate #14460 / #14581. Recommended continuation: use #14460 for the CLI surface, incorporate #14581’s revoked-key re-enrollment guard/model update, wire DeviceQr parsing into the unchanged CLI Revoke arm, and validate the eventual accept paste budget before showing an offer (accept length = 465 + Lamport digits + encoded label length; 47 ASCII label characters exceed 512 at Lamport 1). Neither pairing PR currently proves the full acceptance target. Group encryption and migration remain outside this slice; do not close all of #13955 for pairing alone.
Next slice: after continuing #14460, id keyset device-qr payloads passed to id keyset revoke succeed, and targeted pairing/replay tests pass remotely.
dezren39 commented on Nov 24, 2026
Parked with reviewable slice, not blocked on a person.
Slice landed: PR #14662 revokes admin authority when a dual-role device key is revoked (ADR Decision 4 rule 3 oracle). Branch code-f/13955-keyset-pairing-20261124, SHA 58cb85f. Diff vs origin/main: 1 file, +60 (property regression first at 4059027, fix, model update).
Verification: rustfmt + diff check passed, independent static review no blockers. Targeted remote keyset suite developing-today-forks/fleet#45509785565 still running at park time; no passing-test claim. Before run had red dezren39/fleet#45509606223.
Existing pairing PRs #14460 and #14581 overlap the QR/invite surface, so this slice deliberately avoids duplicating them. Recommended continuation: shepherd #14460 for CLI surface, fold in revoked-key re-enrollment guard, fix scanned-revoke wiring and accept payload budget. This task definition stale no-PR premise is disproved.
Resume: fleet queue session result developing-today-forks/fleet#45509785565 --json; then review/merge #14662 and continue pairing follow-ups. Claim parked by lane code-f; no merge performed. dezren39 commented on Nov 25, 2026 Progress: PR #14688 is open as a draft, stacked on #14460. It wires scanned id:keyset-device?... payloads into id keyset revoke while preserving hex input, rejects enrolment offers whose eventual accept would exceed the 512-character budget, and ports #14581’s revoked-key re-enrolment guard/model update. PR #14581 targeted keyset_file::tests run succeeded: dezren39/fleet#45518431688. Targeted tests for this follow-up are running; the current run predates the final revoked-key guard commit, so a final-head run will follow. Group-encryption consumption and single-key migration remain open follow-ons.
dezren39 commented on Nov 25, 2026 Progress: final-head Fleet run 45521496793 at 8d38fe9f907f9b34b6c86cae21ec868f0e0a9efa failed while compiling unchanged id-store dependencies, before the targeted QR/keyset tests could run (mixed iroh-blobs Hash types and redb 5 range API errors; E0107/E0277/E0308). PR #14688 remains draft; no passing-test claim. A same-command keyset compile on main is running as 45522686635 to establish whether this is baseline or branch-specific. Group-encryption consumption and migration remain out of scope and #13955 stays open.
dezren39 commented on Nov 25, 2026
Decided: Merge the successful baseline main revision 5acf8c224f1bb83287667e689b8eed3f41dd2a05 into the #14460 parent branch, then merge that refreshed branch into stacked PR #14688.
Why: PR #14688 inherits the id-store compile break from #14460’s base at 6319ae8; main’s dependency/API compatibility fix 14b85c2 is absent from that stack, while the exact main revision 5acf8c2 passed the targeted baseline. A merge keeps the follow-up based on #14460 and avoids adding unrelated id-store changes to its diff.
Undo: If the refreshed parent introduces unrelated regressions, revert the merge commits on the stack and keep #14688 draft until a compatible targeted test route is established.
By: repo-worker-code developing-today-fleet commented on Nov 26, 2026 Progress update (2026-11-26): prerequisite pairing surface PR #14460 is now merged. The follow-up PR #14688 contains QR-payload revoke parsing and accept-payload size validation; its exact tested head bb0c92eda973e111d402c809cf973467c2cd96f0 passed the targeted Fleet run (12 passed, 0 failed; https://github.com/developing-today-forks/fleet/actions/runs/45615332005). However, the PR remains draft and GitHub currently reports CONFLICTING / DIRTY against main. The branch is materially behind current main, so the old passing run does not establish that the current PR is mergeable or tested against its current base. No merge or code changes made. Resume when a conflict-resolved head is pushed; then rerun targeted verification on that exact head, review fresh checks, and disposition the PR. Other #13955 slices (group-encryption device-key consumption and single-key migration) remain separate. developing-today-fleet commented on Nov 27, 2026
Parked recheck (lane any-o, task 22889): #13955 OPEN, no hold labels. Follow-up PR #14688 still OPEN/DRAFT at unchanged head bb0c92e, mergeable CONFLICTING, sole check Proof SKIPPED. Prerequisites #14460 and #14662 are both MERGED. No merge or edits per shepherd plan; no source/host changes. Resume when a conflict-resolved head is pushed on #14688, then exact-head targeted tests + checks before merge. developing-today-fleet commented on Nov 27, 2026
Recheck update: PR #14688 was still on head bb0c92e and GitHub reported it conflicted before this pass. I merged current main (8b28a2c) into the existing PR worktree, retained the QR/paste/revocation changes, and resolved the overlapping unknown-revocation assertion. The pushed PR head is now 3c4ef96e274; GitHub reports the branch clean and mergeable against current main.
Exact-head Fleet run https://github.com/dezren39/fleet/actions/runs/45973739132 is running targeted id-directory pairing/revocation tests and the id-cli QR parsing test. I’ll disposition PR #14688 after that run is terminal. Group-encryption device-key consumption and single-key migration remain separate slices. developing-today-fleet commented on Nov 27, 2026
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|