sign-in: CDP WebAuthn authenticator silenced ADD PASSWORD (stale checkout, fixed at HEAD) #497
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#497
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
sign-inleg (4154ms) turned red:artifacts/ceremony/reset-1.pngandreset-2.png(~1.7s apart, before/after the "ADD PASSWORD" click) are visually identical — both show the "Updating Credentials" screen still offering "ADD PASSKEY" / "ADD PASSWORD" buttons; no password field ever appeared.Evidence
logs/droplet-journal.txtshows the reset ceremony reaching kanidm but never completing a write:grep _credential logs/droplet-journal.txtreturns only those four GETs — there is no POST/PUT to_credential/_updateanywhere in the journal. The click on ADD PASSWORD reached the reset page and kanidm answered every status poll cleanly (200s throughout, no server-side errors after startup); the ceremony window's own app JS simply never issued the write.Diagnosis (already recorded by the healer,
logs/healer-claude.out)This drive checked out commit
ffe788e("the rehearsal drive's sign-in leg drives the PASSWORD ceremony, not the passkey"). At that commit,openAppCeremonyWindow(app/tests/e2e/fixtures/ceremony.ts) still calledattachAuthenticator, wiring a CDP virtual WebAuthn authenticator onto the app's own pinned-CA ceremony window — even thoughregisterPassword/loginWithPasswordno longer need one. That's the same CDP contamination that silenced ADD PASSKEY under the original #494; here it silenced ADD PASSWORD instead.The fix is already on the tree: HEAD is
80b26fa("the founding drive signs in on a PASSWORD, not a passkey — ADR 0170"), landed 2026-08-13 00:41:03Z, ~2 minutes after this drive's 00:39 start.openAppCeremonyWindownow returns a barePagewith noattachAuthenticatorcall anywhere in the droplet ceremony path — closing the exact gapffe788eleft open.Suspected layer
Harness (test fixture:
app/tests/e2e/fixtures/ceremony.ts) — not product code, not infra. kanidm itself behaved correctly throughout.What plugging it needs
Nothing further to build — the defect is already fixed at HEAD (
80b26fa). This red is a stale-checkout artifact: the drive pinnedffe788emoments before the fix landed. Re-run the #183 rehearsal drive against current HEAD to confirmsign-ingoes green; if it stays red there, that's a new/different defect deserving its own issue.Not the known frontier
This is not the known own-VPS pairing frontier —
pairandmeshboth ran green (4ms/5ms) in this drive, so the carrier-pairing gap named in legs.json's skip reasons doesn't apply here.drive
20260813T003900Zred atsign-in:kanidm add-password screen rendered no password field — artifacts/ceremony/reset-N.png shows what didevidence:
test-results/…/20260813T003900Z/on matou-workstation (legs.json, droplet-journal.txt, trace)swarm-claim host=matou-dev-server-01 run=5433
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #497 — status
success✅ close-report gates passed — every claim verified against main; closing.
envelope
HOLD — the title/body framing is wrong, do not implement against it. The error text ("kanidm add-password screen rendered no password field") comes FROM ffe788e's new registerPassword, so HEAD ran — there is no stale checkout. Evidence (drive 20260813T003900Z reset-1 vs reset-2: pixel-identical after the ADD PASSWORD click, exactly like drive 214238Z's ADD PASSKEY): NO click mutates the page in the app ceremony window — kanidm's buttons are htmx (hx-post + swap), and nothing swaps. This is not WebAuthn and not the password dialog: it is clicks-have-no-effect in that window. Trace analysis incoming on this issue within the hour — wait for it.
Follow-through on the promised trace analysis: root cause confirmed on #498 — kanidm 403s every credential-update POST because the own-VPS ceremony window reaches it on the localhost forward while kanidm's cookie is scoped to its public domain (frontdoor.go origin vs enrolment.go OpenCeremony). The CDP-attach theory this ticket closed on was coincidental — the passkey click died the same 403, invisible until window-diagnostics.log (
a1a8f37).