The bridge sign-in page words progress into its refusal alert — one [data-status] region serves two writers #1024
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#1024
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?
Failure
The idss-idp bridge's sign-in page has exactly one status region, and it is double-booked: the Go server words its refusals there, and the member-browser bundle words its progress there. A member signing in sees "Reconnecting your identity…" rendered in error red inside a
role="alert"region, and a screen reader announces it assertively — while nothing has gone wrong.The rehearsal drive
20260830T083843Zwalked straight into this: itsoidc-adminleg red at 1558 ms withthe bridge refused the sign-in: Reconnecting your identity…, quoting the bundle's own "we're working" line back as a bridge refusal (artifacts/legs.json, last row;artifacts/journey.jsonfault). The drive-side probe has been repaired in072afabeso it waits through those lines, but the region itself is unchanged — this issue is the product defect underneath, not the probe.Evidence
internal/idp/brand.go:123— the page renders ONE status element:<p class="status" data-status role="alert">%s</p>internal/idp/brand.go:108— it is styled as an error unconditionally:.status { min-height: 1.2em; margin: 14px 0 0; font-size: .9rem; color: #b00020; }internal/idp/signin.go:44,85,123,127,129— the server's fivewritePage(w, id, …)statuses: the empty fresh-page render plus four refusals (didn't verify / no membership yet / revoked / couldn't complete).app/src/keriweb/main.ts:104— the bundle's sign-in path grabs that same element:const status = statusEl('[data-status]').app/src/keriweb/main.ts:111,119,135— and writes progress into it:say(status, 'Reconnecting your identity…'),say(status, 'Answering the community’s challenge…'),say(status, 'Signing you in…').internal/idp/brand.go:146,151— the inline fallback script also targets[data-status]for the bundle's thrown errors, which are refusals; those are correct and must keep landing in the refusal region.logs/droplet-journal.txt:1646-1677shows idss-idp listening on127.0.0.1:8465from 08:49:56 with no refusal logged, confirming the text on screen was the bundle's progress and not a server answer.Suspected layer
The bridge's own sign-in page markup (
internal/idp/brand.go) plus the member-browser bundle's sign-in path (app/src/keriweb/main.tsidssKeriSignIn). Not the OIDC flow, not the roster, not the drive harness.What plugging it needs
Split the two channels so "we're working" and "no" are distinguishable to a member, to assistive tech, and to any observer:
brand.go— add a second paragraph beside the status one, e.g.<p class="progress" data-progress aria-live="polite"></p>, not error-coloured. Leave[data-status] role="alert"as the refusal channel only, and keep the server writing itswritePagestatuses there.main.tsidssKeriSignIn— point its threesay(status, …)calls at[data-progress]; leave thrown-error text going to[data-status](those are genuine refusals). Clear the progress line when a refusal is shown so the two never read as contradicting each other.brand.go's inline fallback script (:146-151) — keep writing caught errors to[data-status], and clear[data-progress].app/tests/e2e/fixtures/idip.test.ts— its newbundleSignInProgressLines()scan should then assert the sign-in path writes to[data-progress], at which pointBRIDGE_REFUSAL_TEXTcan collapse back to the simple non-empty test the region was always meant to support.Note for whoever picks this up: where the progress line sits on the page and its exact copy is a UX call against the bridge sign-in contract (ADR 0212,
brand.gois the contract perapp/tests/e2e/fixtures/idip.ts's header). The requirement — progress must not be worded into the refusal alert — is not in question.drive
20260830T083843Zred atoidc-admin:the bridge refused the sign-in: Reconnecting your identity…evidence:
/home/dev/swarm/Matou/idss/test-results/drive-idip/20260830T083843Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedswarm-claim host=elitebook-distributed-server-03 run=14418
(automated multi-host claim — lowest live claim id works this ticket)
Ruled by agent under ADR 0174 — veto anytime.
The issue flags one open UX call: where the new progress line sits on the page and its exact copy (against the ADR 0212 bridge sign-in contract). The requirement itself — progress must not be worded into the
role="alert"refusal region — was not in question and is what the fix delivers.Ruling: the progress line renders as a second paragraph
<p class="progress" data-progress aria-live="polite">placed directly beneath the[data-status]alert, styled muted (color: #555), not error-red. It carries no static copy; the member-browser bundle writes its three in-flight lines there ("Reconnecting your identity…", "Answering the community's challenge…", "Signing you in…") and the page's submit handler clears it the instant a refusal is shown.Why two-way: a pure markup/CSS placement + region split. Fully revertible by a later commit, touches no credentials, no security posture, no member-facing trust accept, and destroys no data. Proven at the render seam —
TestSeam_SignInPage_ProgressAndRefusalAreDistinctRegions(internal/idp/seam_test.go) asserts the two regions exist and are distinct, andapp/tests/e2e/fixtures/idip.test.tspins the sign-in path's progress writes to[data-progress]. A steward can reword or relocate the line anytime without reopening the defect.close-report for #1024 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
2cb38c9is not reachable from origin/main (not landed)envelope
close-report for #1024 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
member-joindies at "Failed to fetch" #1031