Skip to content

id: design: pseudo-login identities & scoped do-as delegation (variant d) (from #5684) #5889

Open

Description

@dezren39

Summary

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

Ownership forms, challenge signing, scope/expiry/revocation, and raw-view provenance for do-as delegation.

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).

Activity

  1. added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 5, 2026
  2. developing-today commented on Nov 5, 2026

    @developing-today
    Contributor
  3. added
    queue/queuedHas a queued task in the Supabase agent queue
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 5, 2026
  4. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    work/assignedQueue worker lifecycle state
    and removed
    queue/queuedHas a queued task in the Supabase agent queue
    on Nov 5, 2026
  5. developing-today commented on Nov 5, 2026

    @developing-today
    Contributor

    🤖 Agent note · handed off / parked

  6. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · state: handed off

  7. added
    queue/claimedQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 5, 2026
  8. 11 remaining items

  9. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    queue/claimedQueue worker lifecycle state
    and removed
    queue/claimedQueue worker lifecycle state
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 5, 2026
  10. developing-today commented on Nov 5, 2026

    @developing-today
    Contributor

    🤖 Agent note · handed off

  11. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 5, 2026
  12. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    Agent note - handed off

  13. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    Triage — 2026-11-05 (current main at 50237a7debf6e9114122c593a15a467858d2bf9a)

    • Revalidated this issue as open with no linked PR. The checkout matches origin/main. The pseudo-login-specific identity, login-challenge, and management design is not already present, so keep this ticket open.
    • Relevant primitives do exist: JoinCapability (pkgs/id/src/world/mod.rs:335), delegate_to_friend (pkgs/id/src/world/core.rs:1577-1584), scoped expiry/use bounds (pkgs/id/src/world_session/types.rs:496-499), and effective-scope/revocation checks (pkgs/id/src/world/core.rs:2159-2218). The design should decide how pseudo-login identities and challenge signing compose with these; it should not treat scoped delegation as wholly absent.
    • This remains a design ticket, not a ready code fix. Settle ownership, challenge signing, scope/expiry/revocation, raw-view provenance, alternatives, and implementation invariants in its decision record.
    • Ordering: implementation waits for that decision record. Parent design(id): identity, login & delegation — simplicity-first key custody, security-code recovery, and pseudo-login identities #5684 is open and constrains custody decisions, but its gap-pass comment says follow-on designs are prioritized independently; id: design: pseudo-login identities & scoped do-as delegation (variant d) (from #5684) #5889 need not wait for the parent to close. Record any changed parent decision there explicitly. Existing parked labels remain appropriate pending explicit design prioritization.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)queue/parkedQueue task is parked (waiting on CI, time, or an event)status/parkedDeliberately paused with a recorded resume conditiontask/triageQueue packet kind: verify, reproduce, and route this itemwork/assignedQueue worker lifecycle state

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions