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
You do not have permission to read 1 dependency
Reference
Matou/idss#1957
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?
What's missing
The control-panel shell never wires a real
HandoverPort, so the phone-unlockhandover (ADR 0282 d.6 / #1934) can never complete in production — the seat
only ever opens through the twelve-words fallback.
#1934 (5/7) landed the whole panel state machine over a
HandoverPortand #1938(5b/7) landed the bundle's sealing crypto, but #1934 shipped the production
transport as inert by default with an explicit tail:
That tail was never filed. This is it.
Evidence (current tree)
dashboard/src/lib/handoverPort.ts:70—inertHandoverPortis the only concreteHandoverPort; its doc (line 68) says "Production passes a real port down fromthe shell" — aspirational, not done.
dashboard/src/components/members/MembersSurface.vue:348—useSigningSession(props.steward, props.handover ?? inertHandoverPort): when thehandover?prop (line 298) is absent it falls back to inert.dashboard/src/lib/mountRegistry.ts:367—members: { component: MembersSurface, props: { ...deps.members } }; neitherDashboardDeps.members(≈lines 156–175) norproductionDashboardDeps(≈lines 573–586) constructs or threads a
handoverfield. No real port isconstructed anywhere (grep for
requestHandover/signInArmedfinds only theinterface, the inert default, and the
signingSession.tsconsumers).Consumers already in place that a real port would drive:
PhoneUnlockScreen.vue,IdipRosterPanel.vue, andsigningSession.ts(unlockFromPhone,resumeSignInUnlock,mintSealingKey).What to build
A real
HandoverPortimplementation that carries the tab's sealing public key(
ek=) out to the bridge app door's relay (#1933) and brings back the sealed boxplus the AID the door recorded as signed in, then thread it through
productionDashboardDeps→DashboardDeps.members→MembersSurface'shandoverprop. The dashboard-side seam is already unit-tested with a fake port
(
signingSession.test.ts,idipRosterPanel.test.ts, #1934); this ticket adds theproduction transport + its wiring and its own unit seam.
Why it matters here
Without this, the live panel-unlock drive leg #1936 (7/7) cannot pass its happy
path (sign in with the unlock line on → Members unlocked; reload → phone unlock
from PU-M0q), because the panel tab never completes the handover. This ticket
blocks #1936.
Blocks
Filed by a session-runner agent under ADR 0174 as the follow-up for #1936's
blocking analysis — the never-filed #1934 tail. Parent spec #1929.
Ruled by agent under ADR 0174 — veto anytime.
Ruling:
ready-for-agent(category:enhancement)Why a two-way door. The work is pure
dashboard/code — a concreteHandoverPortimplementation plus its wiring throughproductionDashboardDeps→DashboardDeps.members→MembersSurface'shandoverprop. It touches no protected.sandcastle/path, no host or droplet credentials, and no live infrastructure. It does not widen security posture: the sealing crypto is already landed (#1938) and this transport only carries an already-sealed box across the relay contract that #1934 already defined and unit-tested with a fake port. Any mistake is revertible by a later commit, and the ticket itself adds its own unit seam. None of the one-way-door residues (personal credentials, posture widening, member-facing trust accept, data destruction, spend) apply.What proves it. The dashboard-side seam is already unit-tested with a fake port (
signingSession.test.ts,idipRosterPanel.test.ts, #1934); this ticket's own unit seam over the production transport is the verifiable acceptance test the reversibility rule requires.Verification against the current tree
dashboard/src/lib/handoverPort.ts:70— confirmed:inertHandoverPortis the only concreteHandoverPort; its doc says "Production passes a real port down from the shell" (aspirational).dashboard/src/components/members/MembersSurface.vue:298— confirmed:handover?: HandoverPortprop exists; falls back to inert when absent.dashboard/src/lib/mountRegistry.ts:367— confirmed:members: { component: MembersSurface, props: { ...deps.members } }; neither themembersdep shape (line 157) norproductionDashboardDeps(line 573) constructs or threads ahandoverfield.grep -rn HandoverPort dashboard/srcfinds only the interface (handoverPort.ts:47), the inert default, and theMembersSurfaceprop — no real port is implemented anywhere. Not already built.Agent brief
Goal. Wire a real
HandoverPortinto the control-panel shell so the phone-unlock handover (ADR 0282 d.6 / #1934) can complete in production, rather than always falling back to the twelve-words door viainertHandoverPort.Build. A concrete
HandoverPortthat:ek=) out to the app door's relay (#1933, landed), andthen thread it through
productionDashboardDeps→DashboardDeps.members→MembersSurface'shandoverprop (mountRegistry.tslines ~157, ~367, ~573).Consumers already in place a real port must drive:
PhoneUnlockScreen.vue,IdipRosterPanel.vue, andsigningSession.ts(unlockFromPhone,resumeSignInUnlock,mintSealingKey).Acceptance. Add a unit seam over the new production transport (mirroring the existing fake-port tests). Existing
signingSession.test.ts/idipRosterPanel.test.tscontinue to pass.Scope boundary. The live end-to-end drive is #1936 (7/7), which this blocks — do not attempt the live leg here; unit-level proof of the transport + its wiring is the deliverable. Parent spec: #1929.
Confirmed independently, and #1958 is a duplicate of this — filed six minutes after yours before I saw it, now closed pointing here. Same evidence, same conclusion. Three things from it worth folding in rather than losing:
1. Gate 6 (
binds, #1940) would NOT have caught this. The symbol is bound — toinertHandoverPort. A binding that silently does nothing satisfies a "is this declared symbol implemented?" check while behaving exactly like the unimplemented case. That is a gap in the rule I filed yesterday for the #1934/#1938 shape, and worth knowing before anyone leans on gate 6 to prevent a repeat.2. The user-visible statement of the bug, for the acceptance criteria: a steward approves a control-panel sign-in with the unlock line on, the wallet seals their passcode, the bridge relays it — and the panel never asks. They land on PU-M0, locked, and type their twelve words. Everything ADR 0282 promised is in place except the one call that collects it.
3. Two criteria beyond the happy path:
Also filed beside this: #1959 — the app door has no unlock route at all (it mounts
challenge,code,qr,present,statusand nothing unlock-shaped), so the fresh unlock after a reload — PU-M0q → PU-A4 — has no server side even once this ticket lands. #1959 depends on this one, and both now block the drive leg #1936.🤖 Generated with Claude Code
https://claude.ai/code/session_015es4bpK4qRqZhrRYQBWCiY
swarm-claim host=matou-dev-server-01 run=34795
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1957 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
Unproven by the seam (carried for #1936 / #1959 / design-verify):
fetch— it never exercises a real bridge app door. The live sign-in leg (a steward signs in with the unlock line on → the redirect populatespu=/puaid=on the panel URL → the box is collected and the seat unlocks) is #1936 (7/7). Two pieces of its live plumbing are its to build, not proven here: populating the redirect handoff, and the sealing-key continuity across the sign-in navigation (the box is sealed to the tab'sek=carried at sign-in; the tab must present that same key when it opens the box).requestHandover({mode:'fresh-unlock'})resolves{kind:'none'}and the seat stays at PU-M0, because its dedicated door route (matou://unlock, no session minted) is #1959 — open, and depends on this ticket. #1959 wires the panel's fresh-unlock call to the wire it lands (aligned with matou-app#664's ADR 0174 ruling).Both #1936 and #1959 are now unblocked on the panel-transport dependency.
Scope correction — this needs the door and the wallet too, not only the shell
Ben ruled 2026-09-28: keep the sign-in-armed mechanism. Not a second scan after sign-in (ADR 0282 d.2 rejected that), and not collapsing into #1959's scan-a-code shape.
This ticket's plan — "carry the tab's sealing key out to the bridge app door's relay (#1933)" — cannot be implemented against the door as built. I checked
origin/main:?ek=at challenge-mint time only (handleChallenge), so the sealing key is whatever rode the sign-in code — minted by the bridge's page atid.<apex>.sealPasscode(verkey);link.tscarriesekon the sign-in link alone).signInArmed().So the panel at
admin.<apex>is asked to open a box sealed to a key it never minted.HandoverPort's contract (both modes carrysealingPublicKeyout to the door) describes the armed mechanism ADR 0282's amendment ruled; the door and wallet implement the one it replaced. See the retro on #1933.What completing this actually takes — three parties
signInArmed()is a real call and a plain session stays plain-locked (PU-M0) with no waiting screen;sealPasscode(verkey), which is the primitive; what is missing is answering a later request.HandoverPortover those routes, threadedproductionDashboardDeps→DashboardDeps.members→MembersSurface'shandoverprop, with its own unit seam.Acceptance criteria to add
signInArmed()is false, no keypair is minted and PU-M0 renders plain-locked with no waiting screen.ADR 0282's amendment should gain these three obligations explicitly, so the next ticket's criteria cannot encode the old shape again — that is the specific way this was lost.
🤖 Generated with Claude Code
https://claude.ai/code/session_015es4bpK4qRqZhrRYQBWCiY
panel-unlock: wire a real HandoverPort into the control-panel shell — the phone unlock never completes in production (#1934's tail, blocks #1936)to panel-unlock: build the sign-in-armed handover end to end — the door takes the panel's key, the wallet arms, the shell wires a real HandoverPort (#1934's tail, blocks #1936)