handover capability: the armed sign-in mints a single-use capability and delivers it to the panel over the OIDC channel (ADR 0282, splits the gate-hop out of #1961) #1967
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#1967
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent / origin
bind/collectroutes and its panel transport rewrite all authenticate against the capability this ticket mints and delivers — so #1961 cannot build against a real, secure binding until this lands.Why this is its own ticket (the wide gate-hop finding)
Ben rejected the AID-bearer cookie as the binding (it is forgeable —
setSessionCookiewritesValue: aidwith nothing signing it; #1966 tracks that hole on its own) and ruled the panel must present a high-entropy, single-use handover capability, bound to that one sign-in, delivered over the OIDC channel — never a URL, fragment or cookie, never derived from the AID.Delivering it to the panel over the OIDC channel is not reachable from #1961's
internal/idp+dashboard/tests/unitseam. Verified while working #1961:admin.<apex>) is served behind the gate'sforward_auth(ADR 0074/0038). The SPA holds no OIDC access token — noaccess_token/id_token/token storage anywhere indashboard/src.GET /api/v1/me(internal/controlapi/me.go), resolved off the SSO cookie via aSessionResolver→ the tier's standing decider (roster/ledger)./mereads the cookie's subject, never a token, and there is no channel today that carries a door-minted per-sign-in secret from the door through to the panel.So "deliver over the OIDC channel" means building a new carrier: the door mints the capability into the OIDC token exchange (
internal/idp—setUserinfo/id-token is here), the OIDC client / gate that completes the hop and holds the token captures it (internal/controlapi), and a panel-readable surface exposes it (/meor a dedicated route). That spans a different package and the session substrate — wide, and rightly its own slice, exactly as Ben's ruling anticipated.What to build
sealed_passcodeonpresent(option A — the wallet sealed at Approve to whatever key rode the code). Option B removes that: the wallet arms (one Approve with the unlock line on, keeps the passcode ready to seal for that one challenge) and seals when asked (matou-app#674). Sopresentcarries anarmedsignal for a control-panel challenge, not a box. The door records that the completing sign-in armed a handover.signInArmed()answers not armed and the seat is plain-locked (PU-M0) with no waiting screen.Acceptance criteria
Task manifest
Filed 2026-09-28 while working #1961, under Ben's ruling that the capability's mint-and-delivery be split out and block the rest if the gate-hop proved wide. It did (the panel holds no OIDC token; delivery needs a new carrier through the gate). This is the two-way-door engineering split, not a re-opening of the design — Ben's mechanism (minted capability, over OIDC) stands.
🤖 Generated with Claude Code
swarm-claim host=elitebook-distributed-server-03 run=35112
(automated multi-host claim — lowest live claim id works this ticket)
One hazard to name before this is built — the carrier must not be an identity lookup.
The split is right and faithful to the ruling; the finding that drove it (the panel is behind
forward_authand holds no OIDC token at all) is exactly the wide gate-hop the escape hatch was written for. No objection.But your last acceptance criterion carries the whole security property in its second half —
— and the obvious carrier is the one that breaks it.
GET /api/v1/meresolves the subject of the community SSO session cookie through aSessionResolverand answers facts about that identity. Hanging the capability there makes delivery an identity lookup, which is precisely what the ruling forbids ("the AID is not an input at any point"). It would also make the capability only as strong as that cookie — and that cookie is forgeable today (#1966), so anyone who knows the steward's AID could hop, ask/me, and be handed the capability. Option B would have bought nothing.What keeps the property true is that the capability is bound to one specific armed sign-in and travels with that sign-in's own token exchange — never retrieved afterwards by asking "what is the capability for this identity?". An attacker's forged-cookie hop is a different auth request and was never armed (the silent hop never touches the app door), so under your criterion 2 it mints nothing and there is nothing for them to collect. That is why the ruling holds independently of #1966 — and it holds only while delivery stays per-sign-in rather than per-identity.
So if a panel-readable surface is needed, make it a route that takes the capability from the completing sign-in's own exchange and hands it over once, rather than an identity-resolved field on
/me. Worth an explicit test: a second, unarmed session for the same member must be able to read nothing.Everything else about the split stands. #1961's
depends_onwiring looks right.Correction to my note above: the
depends_onedge was not wired — #1961 had no tracker blockers, only theagent-blockedlabel, so the task-list filter would not have known. I have added it: #1961 is now blocked by #1967 on the tracker. The split itself stands as filed; only the edge was missing.close-report for #1967 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
ek=and the dormant relay come out (ADR 0282 amended 2026-09-29) #1994