GeezerVison is showing github.com — id: design: user-held keys (custody variant b) (from #5684) · Issue #5887 · developing-today/code
id: design: user-held keys (custody variant b) (from #5684) #5887Labels app/idPackage/app: id (pkgs/ or apps/ in this repo)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item DescriptionSummary
Follow-on design ticket from #5684 — its decomposition sketch names this as a separate design, and the parent's acceptance requires these tickets to be filed and linked. Filed in the 2026-11-04 gap pass (WS-F) so the design work exists and can be prioritised on its own merits; implementation timing is a separate decision, possibly months out.
What this design must settle
Drive/file storage of user-held keys, client-side unlock, and the new-device and lost-key flows.
Context from the parent
The parent design — Drew-ruled keen and simplicity-first — fixes the key-custody variants, security-code recovery, and pseudo-login delegation for ID identity. The parent issue carries the surrounding decisions this ticket must not re-decide; where this ticket's answer would change a parent decision, record that explicitly rather than silently forking it.
Decision record expected
Close this design with a recorded decision (on this issue or in a doc/ record linked from it): the chosen shape, the alternatives rejected and why, and the invariants implementation must hold. If the design splits further, file the splits and link them here rather than growing this issue.
Relations
Parent: #5684. Programme: epic #2056. Filed by WS-F (2026-11-04 ID design gap & expansion pass). Activitydeveloping-today commented on Nov 5, 2026 added task/triageQueue packet kind: verify, reproduce, and route this item kind/designA design proposal (design-architect): multi-step, phased, decision-bearing and removed on Nov 5, 2026dezren39 commented on Nov 5, 2026 agent-note:v1
- task: 10289
- state: done (triaged; pickup and triage in one pass, lane code-h direct)
Triage 2026-11-05 (task 10289): well-scoped follow-on design ticket from #5684, verified open with no hard-stop labels and no decision record yet (only comment is the Kaneo link).
Ordering / authority notes, from fresh reads:
- Parent design(id): identity, login & delegation — simplicity-first key custody, security-code recovery, and pseudo-login identities #5684 is OPEN, and per this ticket's context the parent's custody variants, security-code recovery, and pseudo-login delegation are already Drew-ruled (keen, simplicity-first). So this ticket needs no new Drew decision to proceed: it designs variant (b) detail (drive/file storage of user-held keys, client-side unlock, new-device and lost-key flows) inside rulings that already exist. Anything that would change a parent ruling gets recorded explicitly on the parent, per the ticket's own context rule — that is the only escalation path, and nothing in triage suggests it is triggered.
- The closing decision record is ordered after design(id): identity, login & delegation — simplicity-first key custody, security-code recovery, and pseudo-login identities #5684's decision record (the variants it fixes are this ticket's inputs), or must name the parent draft it was taken against.
- Added
kind/design to match sibling tickets. Programme: epic epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056.
No blocker on Drew. dezren39 commented on Nov 10, 2026 🤖 Agent note · done
- Agent: repo queue worker, lane code-w (repo-worker-code)
- Session / ID: cron repo-queue-worker-shift-w run 2026-11-10; task 14380
- Task: task 14380 for issue id: design: user-held keys (custody variant b) (from #5684) #5887 (small_fix, direct lane row 5888). Decision recorded and merged:
doc/2026-11-10_design_id5887.md via PR doc(id): user-held keys — custody variant (b) design for #5887 #8130 (merged, merge commit ef17aee).
- The decision in one paragraph: in custody variant (b) the real key lives only as an Argon2id-wrapped encrypted blob in storage the user already has (Google Drive app-data by default, downloadable file backup always offered); unlock is client-side after ordinary login — the authorizer authenticates and issues challenges and never possesses key or passphrase; new devices get a scoped pseudo-login delegation signed once by the real key; recovery is blob copies plus the variant (c) code-wrapped copy, and the two honestly unrecoverable states (passphrase forgotten with no codes; every blob copy lost) are named in the doc with the plain-language wording setup must show. Threat model, five rejected alternatives, the parent design(id): identity, login & delegation — simplicity-first key custody, security-code recovery, and pseudo-login identities #5684 variant-(b) open question answered (Drive as default home passes simplicity; file-only custody would fail), and six implementation invariants are in the doc. Implementation follow-ons are named in §10 of the doc, sequenced after the sibling variant designs.
- Codex gate: PR doc(id): user-held keys — custody variant (b) design for #5887 #8130 Codex review failed on usage limits with no findings posted (same fleet-wide limit seen on PR ci(mod-tidy): restore path-gated PR and main-push triggers (#7748) #8112 / mcpx(plugin): thread host abort signal through mcpx_exec (PLG-38, #1940) #8089); no inline findings existed to disposition.
- Links: task 14380 · issue id: design: user-held keys (custody variant b) (from #5684) #5887 · PR doc(id): user-held keys — custody variant (b) design for #5887 #8130 · parent design(id): identity, login & delegation — simplicity-first key custody, security-code recovery, and pseudo-login identities #5684
MetadataMetadataapp/idPackage/app: id (pkgs/ or apps/ in this repo)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item DevelopmentNo branches or pull requestsIssue actions
|