GeezerVison is showing github.com — id: design: identity management UX (from #5684) · Issue #5890 · developing-today/code
id: design: identity management UX (from #5684) #5890DescriptionSummary
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
Custody-variant migration, the delegation management view, and plain-language custody disclosures.
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 dezren39 commented on Nov 5, 2026 🤖 Agent note · done
Triage findings (verified fresh 2026-11-05):
- Issue id: design: identity management UX (from #5684) #5890 is OPEN, labels at claim were
task/triage, queue/queued, app/id — no hard-stop labels (held, user/owned, do-not-merge, do-not-auto-edit).
- This is a design ticket, not a bug/fix: it must settle custody-variant migration, the delegation management view, and plain-language custody disclosures, and close with a recorded decision (chosen shape, alternatives rejected and why, invariants implementation must hold).
- Ordering / blockers: Parent issue design(id): identity, login & delegation — simplicity-first key custody, security-code recovery, and pseudo-login identities #5684 is OPEN (
kind/design, priority/high, effort/l) and carries the surrounding Drew-ruled decisions (keen, simplicity-first key custody variants, security-code recovery, pseudo-login delegation) that this ticket must not re-decide; any answer that would change a parent decision must be recorded explicitly. Programme epic epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056 is OPEN.
- The issue body itself states implementation timing is a separate decision, possibly months out. Fix path scoped: (1) align with the parent design(id): identity, login & delegation — simplicity-first key custody, security-code recovery, and pseudo-login identities #5684 decision record, (2) then run this design, (3) if it splits further, file splits and link them here rather than growing this issue.
- No code change, PR, or closure is warranted from triage: the issue is live, correctly scoped, and not superseded or already handled.
developing-today commented on Nov 8, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 8, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 8, 2026 🤖 Agent note · handed off
developing-today commented on Nov 8, 2026 🤖 Agent note · handed off
- Agent: repo queue worker, lane code-n (repo-worker-code)
- Session / ID: cron repo-queue-worker-shift-n run 2026-11-08 16:47 CST; task 12868
- Found via: claimed task 12868 this shift; execution-lane assignment returned
opencode
- Task: task 12868 for issue id: design: identity management UX (from #5684) #5890 (small_fix). Fresh check: target is OPEN, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit) on the target checked. Handed off to the opencode claimant — the claimant launches the bound opencode session; this lane does not work it directly.
- Expectation: claimant session drives task 12868 to a terminal state. Attempts 5/8.
- Links: task 12868 · issue id: design: identity management UX (from #5684) #5890
dezren39 commented on Nov 8, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 9, 2026 Decision record — identity management UX (#5890)
This record settles the custody-change UX, delegation-management view, and custody disclosures assigned to #5890. It is design-only; no product code is changed. It applies the constraints in parent #5684 and does not change them.
1. Chosen model and migration rules
Keep four concepts visibly separate in the product: (1) the ID, defined by its key/public-key identifier; (2) custody, who can access that private key; (3) sign-in, how the person proves themselves to a service; and (4) delegated logins, separate pseudo-login identities acting under a grant. A Google/OIDC sign-in is not evidence that the service holds the ID key. Recovery codes are a recovery path, not a routine login or a pseudo-login.
A custody migration is a same-key handoff, not key rotation:
- Service-held (a) → user-held (b): offer “Move key to my device” only as an explicit, authenticated handoff. The target device imports the exact existing key and signs a fresh challenge; the service then disables its signing access, removes all service-accessible copies (including backups), and records completion. Keep the same ID only after proof of possession and a truthful service-side completion state. A service cannot cryptographically prove that no backup copy exists: if it cannot guarantee deletion and loss of access to every service-held copy, do not label the result “user-held.” Say plainly that the service still has a copy, or do not call the migration complete. The service can refuse or prevent this handoff while it controls the key; this UX does not promise otherwise.
- User-held (b) → service-held (a): require a clear opt-in and re-authentication with the current key. Transfer that same key, then require the service to sign a fresh challenge before recording service custody. If the person keeps another copy, disclose that both the person and service can sign. Do not imply that moving the key changes the ID.
- Key unavailable or replaced: this is recovery/key replacement, not a custody-only migration. Under design(id): identity, login & delegation — simplicity-first key custody, security-code recovery, and pseudo-login identities #5684’s key-derived ID rule, a different public key is a different ID unless an explicit succession/continuity mechanism says otherwise. Do not silently carry grants, history, or the old ID label to a replacement key. Recovery-code mechanics belong to sibling #5888; its PR #7622 is still open. This record does not treat its proposed new-key installation as proof that the old ID remains the same.
- Variant (c), security codes: codes overlay the custody choice; they do not themselves change custody. A migration must not silently regenerate or invalidate them. Show the current recovery status and use the accepted id: design: 10 security codes recovery (custody variant c) (from #5684) #5888 protocol for recovery or code replacement. Do not promise that codes defeat a service custodian’s veto until that design resolves the issue.
- Variant (d), pseudo-logins: these are not a way to migrate the root key. Keep the root ID and its separately revocable pseudo-logins distinct. If the root public key is unchanged, the existing grants remain attached to that root; if the root key changes, do not carry grants forward automatically. The signed-grant, expiry, revocation, and raw-provenance contract follows the decision recorded in #5889.
The UX does not redefine issuer rotation: privileged/issuer-key rotation and compromise recovery remain governed by #2804, not by a parallel account-migration mechanism here.
2. Delegation management view
Provide one “Devices & delegated logins” view under the person’s ID. Show a row per persistent pseudo-login (normally one per device/login method), with grants grouped under that row. Each row shows: device/name; whether it is user-owned, service-held, or a session-only login-derived identity; the worlds and capabilities it can use in plain language; expiry; last use; and a revoke action. “Edit scope” creates a new signed grant and supersedes/revokes the old grant; it does not mutate an issued grant. Default scope is the narrowest requested scope, and every grant is time-bounded.
Keep ephemeral login-derived browser sessions in a separate “Active sessions” section, explicitly labelled as session state with no standing grant; end-session deletes/revokes that session, not the root ID. The confirmation for a persistent grant says who can act, as whom, where, and until when. Revocation stops future authorization at the next verification; it does not erase or invalidate actions already recorded. Preserve #5889’s raw-view tuple (pseudo-login actor, principal, grant, context/scope snapshot); the friendly view may say “you,” but the raw view must not collapse provenance.
3. Plain-language disclosures
Show the applicable copy before setup or a custody change, not behind an “advanced” link. Pair it with explicit “Who can sign / block access / recover” rows.
- Service-held key (a): “The service holds a copy of your signing key. It can sign as you while it has that key, and it can stop you from signing in. Anyone who kept another copy may also sign. If the key is lost and no separate recovery path works, support cannot recreate it.” Who can block access: the service. Recovery: only a separately configured recovery path; do not imply support can override cryptographic loss.
- User-held key (b): “The sign-in service checks who you are but never receives your signing key. Only someone with a copy of that key can sign as you. The service can block its own sign-in, but it cannot sign for you or restore a key you have lost.” Who can recover: the person with another key copy or a configured recovery path, not the authorizer.
- Security codes (c): “These codes are a separate way to recover access; they are not your everyday sign-in. Keep them somewhere safe and separate from your device.” Include the parent-required loss statement verbatim: “If all codes are lost (and no other recovery path was set up), nobody can unlock the account. Not support, not the service, not the developers. The identity is unrecoverable.” The screen must not contradict the final id: design: 10 security codes recovery (custody variant c) (from #5684) #5888 threshold or key-replacement semantics.
- Delegated login (d): “This device signs as its own login identity and can act for your ID only within the grant shown here. Your main key approves the grant; it does not sign this device’s everyday actions. You can revoke future use. Past actions remain in the history with this device and grant visible.” For a session-only login: “This browser session has no standing grant and ends when the session expires or is ended.”
4. Alternatives rejected
5. Invariants for implementation
- The ID label follows the public-key/hash identity. Same-key custody transfer preserves it; changed key does not preserve it absent a separately accepted succession rule.
- Custody is never inferred from the login provider. The UI identifies who can access/sign with the key and who can deny access.
- A migration is not complete until the destination proves possession and the source’s remaining key access is accurately disclosed; failure leaves the old custody state visible and does not delete the only working key.
- Recovery codes are neither ordinary credentials nor implicit delegation grants. Their threshold, invalidation, and replacement follow id: design: 10 security codes recovery (custody variant c) (from #5684) #5888; the all-codes-lost copy above is mandatory.
- Every persistent pseudo-login has an individually inspectable, least-privilege, expiring grant and independent revocation; changing a grant creates a new signed grant.
- A pseudo-login signs its actions; the root key does not. Raw records retain actor, principal, grant, and context/scope provenance. Revocation affects future checks, never historical attribution.
- User-facing consent states the signing authority, lockout risk, recovery path, scope, and expiry before confirmation.
Parent alignment and scope
No parent #5684 choice is changed: simplicity-first familiar sign-in; key-derived native IDs; honest custody; recovery codes; pseudo-login actions signed by a separate identity; and visible raw provenance remain constraints. In particular, this record explicitly leaves key-replacement continuity to the parent/recovery design rather than silently changing what an ID is. The protocol details remain with the existing sibling designs: #5884, #5886, #5887, #5888, and #5889. This is one integrated management UX decision; no additional design split is needed. PR #5707 remains the separate essay-answer artifact and is not repeated here.
This closes the scoped design decision for #5890; implementation remains follow-on work.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|