panel: the unlock leaves for the APEX's sign-in door, two landings share ONE capability read, and the expired page wears the community's kit — the first live steward unlock's three faults (GOTCHAS #373/#374) #2008
No reviewers
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.
Dependencies
No dependencies set.
Reference
Matou/idss!2008
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "session/panel-unlock-live-faults"
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?
Ben's first live steward unlock through the app (Whakatōhea Demo, 2026-09-30, app 0.8.3, release
c976e06b) found three faults. Two are the panel's, one is the gate's page; all three are read from the demo's access log, not guessed. Refs #1936.What Ben saw
/authz/callbacksaying "This sign-in attempt has expired" on an unbranded page; Continue here went to the Portal.The faults, and the fixes
1. The panel's unlock link was relative (GOTCHAS #373)
/authz/signin?prompt=login&rd=/members. Right when the panel was the apex (ADR 0247); wrong now that it isadmin.<apex>(ADR 0271). Two consequences from the log:admin GET /authz/signin … 302→ the gate sealed its flow cookie onadmin.<apex>; the sign-in came back to the apex's/authz/callbackwith no cookie → 400signin_expired.rd, so/membersread as none; it forwarded the apex root as thelogin_hint, and the door named the destination "the community portal": an ordinary sign-in, nocred=administrator, nooffer=unlock(challenge 764 bytes against 1044 for the real panel sign-in).Fix: the panel leaves for
https://<apex>/authz/signinwith the panel page's absolute address asrd.signInStartForApexsits besidesignInOriginForApexand is threaded the same way (DashboardTransportConfig.signInStart→deps.members.signInStart→MembersSurface→IdipRosterPanel). The unit test that had pinned the relative link (toMatch(/^\/authz\/signin\?/),toContain('rd=')) now asserts the origin and thatrdparses as an absolute URL.2. Two landings read the single-use capability at once (GOTCHAS #374)
admin GET /api/v1/panel/handover 200 size=60at 00:31:11, then… 200 size=2at 00:31:12, and noPOST /login/app/handoverto the door, ever. The Members tab mountsIdipRosterPaneltwice while its path probe answers; both mounts calledresumeSignInUnlock, both read the capability, the second's empty answer overwrote the first's, and the collect returnednonewithout a request.Fix:
HttpHandoverPortcaches the read (the promise), not the answer — a second asker joins the read in flight, a failed read is forgotten.resumeSignInUnlockruns one landing at a time; later callers join it, and the "came from an unlock" marker is remembered whichever mount carried it. Tests reproduce the live sequence (a read that answers once, then empties): one read, both askers armed, the collect still carries the capability.3. The expired page wears the community's kit
Ben: "this needs to be fixed". The restart page is served on the apex, where the Portal's compiled tokens and landed logo already are, so it links
/brand/portal/tokens.cssand wears/brand/portal/logothe way the join page does (DDR 0270 §1); the initials tile is the fallback for a logo that never landed, and a kit-less control plane fabricates nothing. The shared refusal style now draws its colours from--oc-*tokens with the old neutrals as fallbacks, so the refusal pages render exactly as before.Rendered against the demo's real assets — left with the landed logo, right the initials fallback:
Checked
dashboardvitestvue-tsc --noEmitgo test ./internal/controlapi/Not fixed here
MAX_POLLS = 20 × 500 ms) while the door's challenge lives two minutes; on this walk the app gave up at 00:31:17, six seconds after the panel first asked. matou-app PR #696 makes the wallet wait the challenge's life. Both must ship before the walk is repeated.testingrelease and app release.🤖 Generated with Claude Code
https://claude.ai/code/session_01WgMdPvssS1d7W1v2dL7bcH
1e784e0bca1670108493panel: the unlock leaves for the APEX's sign-in door, two landings share ONE capability read, and the expired page wears the community's kit — the first live steward unlock's three faults (GOTCHAS #372/#373)to panel: the unlock leaves for the APEX's sign-in door, two landings share ONE capability read, and the expired page wears the community's kit — the first live steward unlock's three faults (GOTCHAS #373/#374)