sign-in: [data-status="credential-enrolled"] is unreachable — the hand-off auto-completes over it #1466
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#1466
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?
Not the known frontier
The brief names the KNOWN frontier as "pairing never flips — the own-VPS carrier issue named in legs.json's skip reasons". That premise is stale for this run.
artifacts/legs.jsonrecordspairas green and carries no skip reasons at all:The drive founded the community cleanly (16/16 green through
finish) and died on new ground atsign-in. This is a fresh red, not the carrier frontier.The failure
artifacts/legs.json, legsign-in, 129515 ms:The credential DID land — the marker is what's missing
The kanidm ceremony fully succeeded.
logs/droplet-journal.txt:The drive's own ceremony capture confirms the password is on the account (
trace stdout,reset-3):"Password CHANGE PASSWORD", thenreset-done @ https://id.rehearsal-f.idss.nz/ui/login.The helper's poll saw it and stopped. Every
_credential/_statusrequest in the whole journal:Three polls, 2 s apart (the documented cadence), the last one 1.5 s after the commit — then silence for the remaining 120 s. The poll terminated because it succeeded.
Why the marker was never visible: it is destroyed within one IPC round-trip
app/src/components/founding/FoundingHandOff.vue:12wraps the entire pre-landing screen, including the confirmation, in a branch thatdonetears down:with
const landed = computed(() => props.handOff.done === true);app/src/components/founding/FoundingStandup.vuesetsdonethe instant the credential lands —onOpenDashboard:maybeFinish()'s only brake is the recovery-kit offer:…and that brake is released before the ceremony even starts. Ben's 2026-09-12 ruling removed the kit offer from the screen, so the surface now auto-defers it the moment the hand-off opens:
So by enrolment time
kit.resolution === 'declined', andregistered → doneis separated only by thecompleteHandOffround-trip. The scrub demonstrably ran:state/founding-state.jsonis absent (cat: … No such file or directory) —CompleteHandOffsetsstateFileDeletedandho.Done = true(internal/founding/handoff.go:747).The failure screenshot is the proof of which branch won.
artifacts/legs/sign-in-w1.pngand the error-context snapshot show the landed branch (data-status="hand-off-complete"), with neither marker present:enrol-pendingasserted visible earlier in the same leg and passed, solandedwas false then — it flipped during the ceremony.The timing that makes it deterministic here
From
trace.zip(test.trace), the drive clicks Save Changes, thenregisterPasswordsleeps before returning:The helper's winning poll (13:59:41) falls inside
registerPassword's own 2 s wait. The app flipsregistered → doneduring that sleep, and the assertion only starts looking at00:15:31.367— after the confirmation has already been torn down, waiting 120 s for a state the app can never re-enter.Suspected layer
Product, with a harness assertion that encodes the vanished contract.
The product defect is real independent of the test:
FoundingHandOff.vue's own comment states the intent — "Only the enrolled confirmation renders here, after the ceremony" — but no operator can ever read it. Removing the kit offer deleted the only thing that used to hold the hand-off atregistered(previouslymaybeFinish()returned early onkit.resolution === 'offered'and the screen sat showingcredential-enrolleduntil the operator resolved the kit). Auto-deferring the kit collapsed that pause to one IPC round-trip, making a specified confirmation unreachable. Ben's ruling removed the kit offer, not the credential confirmation — so this is collateral, not the ruling's intent.What plugging it needs
credential-enrolledin thev-elsehand-off-completebranch ofFoundingHandOff.vuetoo (it readsenrolment.registered/enrolment.account, both still present on the completed view), rather than only insidev-if="!landed". That restores a confirmation the operator can actually read and makes the marker terminal instead of transient.journey.droplet.spec.ts:508,journey.selfhosted.spec.ts:528,journey.device.spec.ts:1256— to asserthand-off-completeplus the enrolled account field. They will all race the same way on any run where the helper's 2 s poll lands insideregisterPassword's 2 s wait.Live box at 168.144.168.195 answered throughout (
systemctl --failedclean,kanidmdactive since 13:51:10, listening on 127.0.0.1:8443,/status→true), which is what rules out an infra cause: nothing failed on the droplet, and the credential is committed. Thelogs/guest-*.logfiles are allssh: connect to host 127.0.0.1 port 44097: Connection refused— expected noise, they harvest the local qemu guest which this droplet drive never stands up (host.json:"qemu": "exit ENOENT: spawn qemu-system-x86_64 ENOENT").drive
20260914T134258Zred atsign-in:expect(locator).toBeVisible() failed Locator: locator('[data-status="credential-enrolled"]') Expected: visible Timeout: 120000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeoevidence:
/home/swarm/session-runner/idss/test-results/drive-droplet/20260914T134258Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedswarm-claim host=bens-mac-04 run=23852
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1466 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope