IDIP drive cannot pass S6a on a headless drive host — no OS keychain, so the ceremony's fail-loud commit blocks founding #900
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
2 participants
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#900
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
drive-idipred at legcreate(sigb052db2832cd, runtest-results/drive-idip/20260827T152913Z, commit61618ff2). Playwright timed out 60s waiting for[data-status="install-machine"]atapp/tests/e2e/fixtures/idip.ts:68; the element never existed because the wizard never advanced past the S6a recovery-phrase ceremony.Evidence
The error-context accessibility snapshot (
report/data/0a5cc9693f93e34f080a73a53abd893fc9e1c62f.md) shows the ceremony still on screen at the ceiling —Create · 6 of 7, twelve words rendered, the three confirm boxes correctly filled by the drive (reward/bind/garage) — with one extra paragraph the happy path does not have:That is verbatim
app/src/lib/keri/keychainStore.ts:68, thrown fromrequireKeychain()(app/src/lib/keri/keychainStore.ts:65-71) whensafe.isEncryptionAvailable()is false. The chain, all working as designed:app/src-electron/electron-main.ts:375-381wires the real ElectronsafeStorageintosafeStorageKeriStore.idss:keychain-setcatches and returns{ok:false,error}(app/src-electron/electron-main.ts:392-401); the preload rethrows it (app/src-electron/electron-preload.ts:70).RecoveryPhraseCeremony.commit()(app/src/lib/foundingCeremony.ts:150-157) callsstore.setItem(StoreKeys.passcode, …), so it rejects.FoundingRecoveryPhrase.vue:125-135—onCreateawaitsceremony.commit()and emitsconfirmedonly on success, by design ("the wizard's create-community can never fire on an unsaved phrase", lines 64-66). The rejection surfaces in theuseAsyncGuarderror paragraph and founding never starts.Founding indeed never started:
logs/founding-state.logandstate/founding-state.jsonare both still"founded": false,"step": "review"; there is nostate/clan-config;artifacts/journey.jsonis{"rows":null,"fault":null};logs/droplet-units.txtshows the box with nothing but sshd listening.Suspected layer — the drive host, not the app
The app's refusal is correct (ADR 0195 §"only the derived passcode is persisted in the OS keychain"; ADR 0100 fail-loud). The defect is that the rehearsal drive host has no OS keychain and nothing in the repo gives Electron one:
logs/claude-env.txt, checked live on matou-workstation): noDBUS_SESSION_BUS_ADDRESS, noDISPLAY, noXDG_CURRENT_DESKTOP;gnome-keyring-daemonandsecret-toolare not onPATH(onlydbus-run-sessionis). Electron 33 (app/package.json:36) therefore reportssafeStorage.isEncryptionAvailable() === false.app/tests/e2e/fixtures/launch.ts:93-108launches Electron with only--user-data-dir; no--password-store, no keyring bring-up.grepacrossscripts/anddocs/GOTCHAS.mdfinds no keyring/dbus handling anywhere.keychainStore— every other journey (journey.device,journey.droplet,journey.rented,journey.selfhosted) takes the kanidm S3a path and never touches it. So this is not a regression; the IDIP drive has never been runnable on this host.This red will re-fire on every IDIP drive until it is plugged, and each one spends a droplet: DO droplet
595638739(clan-lab-rehearsal-a5f8bd3c, syd1, s-2vcpu-4gb) was created at 15:29:47Z and burned standing still at the S6a gate (logs/droplet-do-forensics.txt).What plugging it needs
A human ruling between two routes, because they differ in what the drive proves about ADR 0195 and in what they touch:
gnome-keyringon matou-workstation and wrap the drive indbus-run-session+ an unlocked login keyring, sosafeStorageexercises the real libsecret backend. Highest fidelity; touches host infra outside this checkout (root package install) and the harness's executor.--password-store=basicinapp/tests/e2e/fixtures/launch.ts:93-95(or callsafeStorage.setUsePlainTextEncryption(true)inelectron-main.tsbehind a drive-only env gate). One or two lines, but it means the passcode is at rest under Chromium's hardcoded key, i.e. the drive stops proving the ADR 0195 guarantee it exists to prove — and route 2b puts an escape hatch in production main-process code.Whichever route wins should also land a
docs/GOTCHAS.mdentry (headless Electron ⇒safeStorageunavailable ⇒ S6a blocks founding), since no existing entry names it.Secondary (diagnosis quality, not the cause)
s6aRecoveryPhraseAndCreate(app/tests/e2e/fixtures/idip.ts:67-68) waits blind on[data-status="install-machine"]and reportselement(s) not foundafter 60s, discarding the ceremony's own error paragraph that names the cause.identityRowsDonein the same file (app/tests/e2e/fixtures/idip.ts:82-91) already has the right shape — race the success locator against the failure locator and throw its detail text. Worth the same treatment so a future S6a refusal reds in seconds with its reason. Verifiable againstapp/tests/e2e/fixtures/idip.test.ts.drive
20260827T152913Zred atcreate:expect(locator).toBeVisible() failed Locator: locator('[data-status="install-machine"]') Expected: visible Timeout: 60000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 60evidence:
/home/dev/swarm/Matou/idss/test-results/drive-idip/20260827T152913Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedFixed on
mainatcc82fc3d(the #788 bring-up session, 2026-08-27): the e2e launcher (app/tests/e2e/fixtures/launch.ts) now starts Electron with--password-store=basic, giving safeStorage a backend on the headless drive host. The product's refusal stays as it is — it is honest (keychainStore.ts). If a session-runner is mid-way on this, stand down; the next #788 tick re-drives on the fix.Session-runner tick (matou-workstation): honoured the stand-down — this ticket is already CLOSED and the primary fix landed at
cc82fc3d. No re-drive, no reopen.The two deliverables this ticket named but the fix commit did not land — the docs/GOTCHAS.md entry (headless Electron ⇒ safeStorage unavailable ⇒ S6a blocks founding) and the fail-fast S6a diagnosis in app/tests/e2e/fixtures/idip.ts (race success against a failure locator, like identityRowsDone) — are preserved as follow-up #901 (ready-for-agent), so the residue is not lost.
Ruled by agent under ADR 0174 — veto anytime.