S3a identity — IDIP chosen: the walk lands on S3a-APP (#1513), so no leg ever ran #1627

Closed
opened 2026-09-19 13:16:33 +00:00 by matou-build-agent · 1 comment

What failed

The drive never ran a single leg. artifacts/verdict.json:

"legs": { "total": 0, "green": 0, "red": 0, "skip": 0 },
"firstRedLeg": "<no legs ran>"

artifacts/legs.json is literally [], and artifacts/journey.json is {"rows": null, "fault": null} — the drive died inside the founding wizard walk 33s in (startedAt 13:10:56 → endedAt 13:11:29), before the first leg could be recorded.

It died on the S3a step. artifacts/journey.idip-…/error-context.md:

Error: expect(locator).toBeVisible() failed

Locator: locator('[data-status="address"]')
Expected: visible
Timeout: 30000ms
Error: element(s) not found

…at app/tests/e2e/fixtures/idip.ts:116, inside s3aIdentityIdip:

await live.page.click('[data-status="identity"] [data-action="option:idip"]');
await live.page.click('[data-status="identity"] [data-action="continue"]');
await expect(live.page.locator('[data-status="address"]')).toBeVisible();  // ← here

The page was not blank or crashed — the accessibility snapshot in the same file shows the wizard sitting on a different screen:

- text: Step 3 of 4
- paragraph: Identity
- heading "Your community app" [level=3]
- text: "FEATURES Identity & credentials— always on: the wallet itself"
- checkbox "Notices — announcements to members" [checked]
- textbox "CONTACT EMAIL": drive@example.nz
- button "Back"
- button "Continue"

Why — the actual defect

Since #1513 (a9c1acaf, 2026-09-16), choosing IDIP on S3a no longer walks to Address. It raises the DDR 0228 S3a-APP sub-view first, and Option 1 is preselected:

  • app/src/components/founding/FoundingIdentity.vue:234 — const walletChoice = ref<'now' | 'later'>(props.draft.app?.choice === 'later' ? 'later' : 'now');
  • FoundingIdentity.vue:268-269 — // Option 1 — open S3a-APP, where Continue records the submission. then emit('openApp', withIdentity);
  • FoundingJourney.vue:571 — appGate.value = true; → renders FoundingCommunityApp
  • FoundingCommunityApp.vue:8 — <section class="oc-app" data-status="s3a-app">

So the drive's Continue press lands it on [data-status="s3a-app"], which carries its own Back/Continue and never becomes [data-status="address"]. The 30s ceiling burns blind and the whole journey aborts before leg 1.

The fixture was last touched two days before that gate landed:

fdef4eab 2026-09-14 founding e2e: every live founding caller FOLLOWS THE PAGE's walk (#1447) — Address → Services → Access → Connect → the bench → Confirm → Build it
a9c1acaf 2026-09-16 sandcastle: #1513 — S3a offers the community wallet app (Option 1 / not now) and S3a-APP records the choice

(git merge-base --is-ancestor fdef4eab a9c1acaf → true.) And grep -rn "s3a-app" app/tests/ returns nothing — no e2e fixture anywhere knows this screen exists. The gate shipped with unit tests (tests/unit/foundingCommunityApp.test.ts, foundingIdentity.test.ts) and no walk helper.

Suspected layer: harness

The product is behaving exactly as #1513 / DDR 0228 specify; the drive fixture is the stale party.

Infra is exonerated too. I reached the live box read-only and it is clean:

--- failed units ---     (empty)
--- listening ---        only sshd :22 and systemd-resolved :53
--- nix present? ---     no nix binary
--- /etc/idss ---        ls: cannot access '/etc/idss': No such file or directory

That matches harvested logs/droplet-units.txt (=== systemctl --failed === empty; ss -tlnp shows sshd + resolved only) and logs/droplet-do-forensics.txt:

tcp/22: a FRESH connect succeeded — the box answers, whatever ssh did
ID 3418024475  completed  create  2026-09-19 13:09:59 → 13:10:37   (the only DO action)

The droplet was created 13:09:59, booted 13:10:36, and never received a deploy — because the wizard never reached Build it. logs/droplet-keri.txt (Unit keria.service could not be found, witness probe curl: (7) Failed to connect to 127.0.0.1 port 5642) and logs/droplet-caddy.txt (-- No entries --) are downstream of that, not independent faults.

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." This run did not hit it: legs.json is [], so this drive recorded no skip reasons at all, and the pairing legs sit far downstream of S3a. This is a fresh, earlier break that masks the frontier entirely — the drive cannot even reach the point where pairing would be skipped.

Absent / non-evidence

  • artifacts/journey.json rows are null — no founding rows; the walk never founded.
  • logs/state-logs.log: ERROR: no state logs directory …/state/logs and logs/clan-config-snapshot.log: no config repo … nothing to snapshot (a drive that never built one) — both expected for a pre-found abort.
  • logs/broker-journal.txt: dev@100.98.48.68: Permission denied (publickey) — off-mesh executor, harvests nothing by design (ADR 0208 / #681); the verdict does not depend on it.
  • logs/helper.log is only Electron GLX/ANGLE noise on a headless host (GLX is not present, Exiting GPU process due to errors during initialization) — not the failure.
  • host.json "qemu": "exit ENOENT: spawn qemu-system-x86_64 ENOENT" and logs/qemu.log — irrelevant on the idip droplet target; no local guest is used.
  • The 129-byte logs/guest-*.log stubs are the same pre-found emptiness.

What plugging it needs

Teach s3aIdentityIdip the DDR 0228 sub-view — app/tests/e2e/fixtures/idip.ts:111-118:

export async function s3aIdentityIdip(live: LaunchedApp): Promise<void> {
  await test.step('S3a identity — IDIP chosen', async () => {
    await expect(live.page.locator('[data-status="identity"]')).toBeVisible();
    await live.page.click('[data-status="identity"] [data-action="option:idip"]');
    // Option 1 ("wallet:coa") is PRESELECTED, so Continue raises S3a-APP
    // (DDR 0228 / #1513) rather than walking to Address — press through it.
    // Its Continue records set-community-app and then walks on.
    await live.page.click('[data-status="identity"] [data-action="continue"]');
    const app = live.page.locator('[data-status="s3a-app"]');
    await expect(app).toBeVisible();
    await app.locator('[data-action="continue"]').click();
    await expect(live.page.locator('[data-status="address"]')).toBeVisible();
  });
}

Press through the gate rather than clicking [data-action="wallet:later"] to skip it: #788's drive is the self-sovereign journey and #1513/#1522 put the community app on exactly that path, so walking it also covers the set-community-app submission this drive should be exercising. If the drive is meant to take "not now" instead, that is a one-line swap — but it trades away that coverage.

Worth adding in the same change: idip.test.ts already pins BRIDGE_PROGRESS_TEXT / JOIN_PROGRESS_TEXT against main.ts so a reworded line "reds in vitest here rather than on a paid droplet." No equivalent guard exists for the shape of the walk. A vitest pin tying the renderer's gates (appGate, ceremony) and FOUNDING_STACK to each fixture's expected next-screen would have reddened on #1513's own commit instead of on a rented droplet three days later.

Re-drive after the fix to reach the real pairing frontier.

drive 20260919T130942Z red at wizard: drive red at wizard — the wizard died before any leg ran
evidence: /home/swarm/session-runner/idss/test-results/drive-idip/20260919T130942Z on matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was captured

## What failed The drive never ran a single leg. `artifacts/verdict.json`: ``` "legs": { "total": 0, "green": 0, "red": 0, "skip": 0 }, "firstRedLeg": "<no legs ran>" ``` `artifacts/legs.json` is literally `[]`, and `artifacts/journey.json` is `{"rows": null, "fault": null}` — the drive died inside the founding wizard walk 33s in (`startedAt` 13:10:56 → `endedAt` 13:11:29), before the first leg could be recorded. It died on the S3a step. `artifacts/journey.idip-…/error-context.md`: ``` Error: expect(locator).toBeVisible() failed Locator: locator('[data-status="address"]') Expected: visible Timeout: 30000ms Error: element(s) not found ``` …at `app/tests/e2e/fixtures/idip.ts:116`, inside `s3aIdentityIdip`: ```ts await live.page.click('[data-status="identity"] [data-action="option:idip"]'); await live.page.click('[data-status="identity"] [data-action="continue"]'); await expect(live.page.locator('[data-status="address"]')).toBeVisible(); // ← here ``` The page was not blank or crashed — the accessibility snapshot in the same file shows the wizard sitting on a *different* screen: ``` - text: Step 3 of 4 - paragraph: Identity - heading "Your community app" [level=3] - text: "FEATURES Identity & credentials— always on: the wallet itself" - checkbox "Notices — announcements to members" [checked] - textbox "CONTACT EMAIL": drive@example.nz - button "Back" - button "Continue" ``` ## Why — the actual defect Since #1513 (`a9c1acaf`, 2026-09-16), choosing IDIP on S3a no longer walks to Address. It raises the DDR 0228 **S3a-APP** sub-view first, and Option 1 is *preselected*: - `app/src/components/founding/FoundingIdentity.vue:234` — `const walletChoice = ref<'now' | 'later'>(props.draft.app?.choice === 'later' ? 'later' : 'now');` - `FoundingIdentity.vue:268-269` — `// Option 1 — open S3a-APP, where Continue records the submission.` then `emit('openApp', withIdentity);` - `FoundingJourney.vue:571` — `appGate.value = true;` → renders `FoundingCommunityApp` - `FoundingCommunityApp.vue:8` — `<section class="oc-app" data-status="s3a-app">` So the drive's Continue press lands it on `[data-status="s3a-app"]`, which carries its own Back/Continue and never becomes `[data-status="address"]`. The 30s ceiling burns blind and the whole journey aborts before leg 1. The fixture was last touched two days *before* that gate landed: ``` fdef4eab 2026-09-14 founding e2e: every live founding caller FOLLOWS THE PAGE's walk (#1447) — Address → Services → Access → Connect → the bench → Confirm → Build it a9c1acaf 2026-09-16 sandcastle: #1513 — S3a offers the community wallet app (Option 1 / not now) and S3a-APP records the choice ``` (`git merge-base --is-ancestor fdef4eab a9c1acaf` → true.) And `grep -rn "s3a-app" app/tests/` returns **nothing** — no e2e fixture anywhere knows this screen exists. The gate shipped with unit tests (`tests/unit/foundingCommunityApp.test.ts`, `foundingIdentity.test.ts`) and no walk helper. ## Suspected layer: harness The product is behaving exactly as #1513 / DDR 0228 specify; the drive fixture is the stale party. Infra is exonerated too. I reached the live box read-only and it is clean: ``` --- failed units --- (empty) --- listening --- only sshd :22 and systemd-resolved :53 --- nix present? --- no nix binary --- /etc/idss --- ls: cannot access '/etc/idss': No such file or directory ``` That matches harvested `logs/droplet-units.txt` (`=== systemctl --failed ===` empty; `ss -tlnp` shows sshd + resolved only) and `logs/droplet-do-forensics.txt`: ``` tcp/22: a FRESH connect succeeded — the box answers, whatever ssh did ID 3418024475 completed create 2026-09-19 13:09:59 → 13:10:37 (the only DO action) ``` The droplet was created 13:09:59, booted 13:10:36, and never received a deploy — because the wizard never reached Build it. `logs/droplet-keri.txt` (`Unit keria.service could not be found`, witness probe `curl: (7) Failed to connect to 127.0.0.1 port 5642`) and `logs/droplet-caddy.txt` (`-- No entries --`) are downstream of that, not independent faults. ## 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." This run did **not** hit it: `legs.json` is `[]`, so this drive recorded no skip reasons at all, and the pairing legs sit far downstream of S3a. This is a fresh, earlier break that masks the frontier entirely — the drive cannot even reach the point where pairing would be skipped. ## Absent / non-evidence - `artifacts/journey.json` rows are `null` — no founding rows; the walk never founded. - `logs/state-logs.log`: `ERROR: no state logs directory …/state/logs` and `logs/clan-config-snapshot.log`: `no config repo … nothing to snapshot (a drive that never built one)` — both expected for a pre-found abort. - `logs/broker-journal.txt`: `dev@100.98.48.68: Permission denied (publickey)` — off-mesh executor, harvests nothing by design (ADR 0208 / #681); the verdict does not depend on it. - `logs/helper.log` is only Electron GLX/ANGLE noise on a headless host (`GLX is not present`, `Exiting GPU process due to errors during initialization`) — not the failure. - `host.json` `"qemu": "exit ENOENT: spawn qemu-system-x86_64 ENOENT"` and `logs/qemu.log` — irrelevant on the `idip` droplet target; no local guest is used. - The 129-byte `logs/guest-*.log` stubs are the same pre-found emptiness. ## What plugging it needs Teach `s3aIdentityIdip` the DDR 0228 sub-view — `app/tests/e2e/fixtures/idip.ts:111-118`: ```ts export async function s3aIdentityIdip(live: LaunchedApp): Promise<void> { await test.step('S3a identity — IDIP chosen', async () => { await expect(live.page.locator('[data-status="identity"]')).toBeVisible(); await live.page.click('[data-status="identity"] [data-action="option:idip"]'); // Option 1 ("wallet:coa") is PRESELECTED, so Continue raises S3a-APP // (DDR 0228 / #1513) rather than walking to Address — press through it. // Its Continue records set-community-app and then walks on. await live.page.click('[data-status="identity"] [data-action="continue"]'); const app = live.page.locator('[data-status="s3a-app"]'); await expect(app).toBeVisible(); await app.locator('[data-action="continue"]').click(); await expect(live.page.locator('[data-status="address"]')).toBeVisible(); }); } ``` Press *through* the gate rather than clicking `[data-action="wallet:later"]` to skip it: #788's drive is the self-sovereign journey and #1513/#1522 put the community app on exactly that path, so walking it also covers the `set-community-app` submission this drive should be exercising. If the drive is meant to take "not now" instead, that is a one-line swap — but it trades away that coverage. Worth adding in the same change: `idip.test.ts` already pins `BRIDGE_PROGRESS_TEXT` / `JOIN_PROGRESS_TEXT` against `main.ts` so a reworded line "reds in vitest here rather than on a paid droplet." No equivalent guard exists for the *shape of the walk*. A vitest pin tying the renderer's gates (`appGate`, `ceremony`) and `FOUNDING_STACK` to each fixture's expected next-screen would have reddened on #1513's own commit instead of on a rented droplet three days later. Re-drive after the fix to reach the real pairing frontier. drive `20260919T130942Z` red at `wizard`: `drive red at wizard — the wizard died before any leg ran` evidence: `/home/swarm/session-runner/idss/test-results/drive-idip/20260919T130942Z` on matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was captured <!-- rehearsal-sig: dcf630511b50 -->
Owner

Fixed by hand in 0a4d5664 — the same diagnosis, reached from the drive log before this was filed. s3aIdentityIdip (app/tests/e2e/fixtures/idip.ts) now takes the wallet choice's not now line (wallet:later) before Continue, so the walk lands on Address again. The #788 journey proves identity, not pairing, and on a live drive "later" is also what keeps the pipeline tail from submitting to the real Coa; the Option 1 walk against the fake Coa is #1522's own journey.

Live proof is the re-fire now starting on elitebook-03 (debug, ADR 0221). Closing — nothing for a worker to do here.

Fixed by hand in `0a4d5664` — the same diagnosis, reached from the drive log before this was filed. `s3aIdentityIdip` (`app/tests/e2e/fixtures/idip.ts`) now takes the wallet choice's **not now** line (`wallet:later`) before Continue, so the walk lands on Address again. The #788 journey proves identity, not pairing, and on a live drive "later" is also what keeps the pipeline tail from submitting to the real Coa; the Option 1 walk against the fake Coa is #1522's own journey. Live proof is the re-fire now starting on elitebook-03 (debug, ADR 0221). Closing — nothing for a worker to do here.
ben closed this issue 2026-09-19 13:17:10 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#1627
No description provided.