panel-unlock 4/7 — the app door relays the sealed passcode, panel sign-ins only (#1929) #1933
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
Depends on
You do not have permission to read 1 dependency
Reference
Matou/idss#1933
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
docs/ux/flows/panel-unlock.mermaidWhat to build
The bridge's app door learns to carry a sealed passcode from a steward's
phone to their control-panel tab — and nothing else about it changes.
ek=). Anordinary service sign-in code never does.
challenges only. The door stores ciphertext only, bound to that one
challenge.
deletes it. A second ask gets nothing.
two-minute life, DDR 0246 d.6). A box for a different challenge, a second box
for the same one, or a box arriving after expiry is refused.
that is not to the panel.
This ticket also records the mechanism. ADR 0282 d.6 reads as though one tab
spans the act; it does not — the door page is the bridge's at
id.<apex>, thepanel is
admin.<apex>, and the hop through the gate's callback is a fullnavigation that kills any key the door page minted. Ruled with Ben at the spec's
seam gate: the unlock line arms the wallet for that one sign-in challenge, and
the panel tab mints the sealing keypair and completes the handover (5/7). One
tap, no second scan, memory only, and no secret in any URL or history entry.
Write that amendment into ADR 0282 in this ticket's PR, and update STATUS.M in the
same commit (CLAUDE.md's rule).
Acceptance criteria
Blocked by
internal/idpread sites this ticket also touches (confirmed with Ben at ticketing; there is no semantic dependency).Task manifest
Ticketed by
/to-ticketsfrom spec #1929; granularity, blocking edges and cross-repo filing confirmed with Ben 2026-09-27.🤖 Generated with Claude Code
https://claude.ai/code/session_015es4bpK4qRqZhrRYQBWCiY
close-report for #1933 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
Follow-up (no change owed here): verified against the code you landed — the door stores and relays
ek=andsealed_passcodeas opaque strings with no format validation, which is the right call and leaves the contents free for the two ends to settle. They are now settled on #1934 (the tab'sDecrypterside) and matou-app#663 (the wallet'sEncrypterside):ek=carries an Ed25519 verkey qb64 andsealed_passcodea CESR qb64X25519_Cipher_Salt(1AAH), both produced bysignify-ts's exportedEncrypter/Decrypter—crypto_box_sealitself is not exported, but signify's ownControlleralready seals a bran exactly this way.Two cosmetic notes, neither worth reopening:
appChallengeDescriptor.SealingKey's doc comment says "throwaway X25519 PUBLIC key". With the signify route it is an Ed25519 verkey thatEncrypterconverts to X25519 itself. Worth a wording fix whenever that file is next touched.panelServiceName = "the control panel"makes panel-ness a comparison of display strings (d.Service == panelServiceName). Safe today because both sides are the same constant, but it means a rewording or an i18n pass would silently stop the sealing key riding panel codes. The wallet does not depend on it — for that side, the presence ofekis the signal.🤖 Generated with Claude Code
https://claude.ai/code/session_015es4bpK4qRqZhrRYQBWCiY
Retro (no work owed here — #1957 carries it): the relay that shipped is the mechanism ADR 0282's amendment replaced.
This ticket's body described armed consent — "the unlock line arms the wallet for that one sign-in challenge, and the panel tab mints the sealing keypair and completes the handover" — because the plain reading of d.6 has a hole: the door page is at
id.<apex>, the panel atadmin.<apex>, and the hop between them is a full navigation that destroys any key the door page minted.But the acceptance criteria encoded the pre-amendment shape, and that is what got built and verified:
handleChallengereads?ek=at mint time, so the key is whatever the sign-in code carried;useSignin.ts'ssealPasscode(verkey), matou-app#663, wherelink.tssaysekis "present ONLY" on the sign-in link);statushands the ciphertext to whoever polls that challenge.Every one of those is correct against the criteria, and the seam tests prove them. The gap is that no route accepts a sealing key from the panel after the sign-in, and nothing answers "did this sign-in arm a handover?" — so the panel, which never minted the key the box is sealed to, cannot open it. The armed mechanism is in the ADR text and in this ticket's prose, and in no code.
Worth noting for #1940/#1943: neither gate would have caught this. Gate 6 checks that declared symbols are implemented; gate 8 checks that a changed area's suite ran. Both passed honestly. The thing that drifted is the
criteriamap, which is free text no gate reads — the ticket said one mechanism and asked for another.Ruled by Ben, 2026-09-28: keep sign-in-armed. The fix is not to collapse the sign-in path into the scan-a-code shape (which would cost a second scan on every fresh sign-in, the thing d.2 rejected). #1957 now carries the three-party build; this ticket stays closed.
🤖 Generated with Claude Code
https://claude.ai/code/session_015es4bpK4qRqZhrRYQBWCiY