drives: journey.wkt-app — the real AppImage ×2 over CDP: founder adopts the words, member registers, approval from the app, both QR doors for both identities, kept (WKT-DEMO B, plan Task 5) #1841

Closed
opened 2026-09-24 18:26:26 +00:00 by ben · 2 comments
Owner

What

New app/tests/e2e/fixtures/appFlows.ts (assertNeverSetup, wordsFromLabels, recoverWithWords, registerMember, approvePendingFromApp, memberEntersCommunity, approveOnCard — selectors mirror matou-app's own frontend/tests/e2e/utils/test-helpers.ts: #word-0..11, /recover identity/i, /join now/i, #name/#email/#joinReason, .word-card span.font-mono, .members-card .profile-card .card-name, .modal-content Approve, [data-field="approve-card"] [data-action="approve"] [data-status="done"]) + new app/tests/e2e/journey.wkt-app.spec.ts (plan Task 5 Step 4 — the whole body is in the plan). Nine legs; the founder runs BOTH QR doors before the member path so the receive path is proven even while the ADR 0235 walls stand; the dashboard hops' svc label is unasserted until the first fire pins it; the kept leg copies the AppImage + both config dirs into ~/.idss-kept/wkt-demo/app/ with HOW-TO-RUN.txt.

Interfaces

  • Consumes Tasks 2–4 of this plan and Drive A's keptHome (#1833).

Acceptance

  • New appFlows.test.ts (plan Task 5 Step 1) green; tsc + eslint clean on the spec + fixtures; playwright test --list shows the one test. Not fired here (Task 8).

out_of_scope: firing; the matou-app/idss walls (Task 7 tickets).

Plan: docs/superpowers/plans/2026-09-24-wkt-app-drive.md (commit bc1d4ccc) — steps, exact code, tests and commands live there; this ticket is the work order. Spec: docs/superpowers/specs/2026-09-24-wkt-demo-founding-and-app-drives-design.md (Drive B). Read the plan header (Global Constraints, Review Focus) first. Drive A's plan/tickets: docs/superpowers/plans/2026-09-24-wkt-founding-drive.md, #1829–#1836.

Discipline: TDD as the plan orders it; one commit per task with the plan's subject line; STATUS entry in the same commit; nothing here changes any other target; the founder words are read from the kept bundle into memory only — never logged, never copied.

## What New `app/tests/e2e/fixtures/appFlows.ts` (`assertNeverSetup`, `wordsFromLabels`, `recoverWithWords`, `registerMember`, `approvePendingFromApp`, `memberEntersCommunity`, `approveOnCard` — selectors mirror matou-app's own `frontend/tests/e2e/utils/test-helpers.ts`: `#word-0..11`, /recover identity/i, /join now/i, `#name`/`#email`/`#joinReason`, `.word-card span.font-mono`, `.members-card .profile-card .card-name`, `.modal-content` Approve, `[data-field="approve-card"]` `[data-action="approve"]` `[data-status="done"]`) + new `app/tests/e2e/journey.wkt-app.spec.ts` (plan Task 5 Step 4 — the whole body is in the plan). Nine legs; the founder runs BOTH QR doors before the member path so the receive path is proven even while the ADR 0235 walls stand; the dashboard hops' `svc` label is unasserted until the first fire pins it; the `kept` leg copies the AppImage + both config dirs into `~/.idss-kept/wkt-demo/app/` with `HOW-TO-RUN.txt`. ## Interfaces - Consumes Tasks 2–4 of this plan and Drive A's `keptHome` (#1833). ## Acceptance - New `appFlows.test.ts` (plan Task 5 Step 1) green; tsc + eslint clean on the spec + fixtures; `playwright test --list` shows the one test. Not fired here (Task 8). out_of_scope: firing; the matou-app/idss walls (Task 7 tickets). **Plan:** `docs/superpowers/plans/2026-09-24-wkt-app-drive.md` (commit `bc1d4ccc`) — steps, exact code, tests and commands live there; this ticket is the work order. **Spec:** `docs/superpowers/specs/2026-09-24-wkt-demo-founding-and-app-drives-design.md` (Drive B). Read the plan header (Global Constraints, Review Focus) first. Drive A's plan/tickets: `docs/superpowers/plans/2026-09-24-wkt-founding-drive.md`, #1829–#1836. **Discipline:** TDD as the plan orders it; one commit per task with the plan's subject line; STATUS entry in the same commit; nothing here changes any other target; the founder words are read from the kept bundle into memory only — never logged, never copied.

swarm-claim host=elitebook-distributed-server-03 run=32053
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=32053 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #1841 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1841,
  "status": "success",
  "commits": [
    "952d7f48897849a566b1c293653c4b16e4543465"
  ],
  "changed_files": [
    "STATUS.md",
    "app/tests/e2e/fixtures/appFlows.test.ts",
    "app/tests/e2e/fixtures/appFlows.ts",
    "app/tests/e2e/journey.wkt-app.spec.ts"
  ],
  "tests": [
    {
      "command": "cd app && CI=true pnpm exec vitest run tests/e2e/fixtures/appFlows.test.ts tests/e2e/fixtures/wktApp.test.ts tests/e2e/fixtures/appRig.test.ts tests/e2e/fixtures/qrRead.test.ts",
      "exit_code": 0
    },
    {
      "command": "cd app && CI=true pnpm exec tsc --noEmit -p tsconfig.json (wkt-app.spec.ts + appFlows.ts clean; 3 pre-existing errors in untouched files)",
      "exit_code": 0
    },
    {
      "command": "cd app && CI=true pnpm exec eslint tests/e2e/journey.wkt-app.spec.ts tests/e2e/fixtures/appFlows.ts",
      "exit_code": 0
    },
    {
      "command": "cd app && CI=true OC_E2E_RUN_DIR=/tmp/wkt-run OC_E2E_SPEC=journey.wkt-app.spec.ts WKT_KEPT_POINTER=/tmp/fake-pointer.json pnpm exec playwright test --list",
      "exit_code": 0
    },
    {
      "command": "CI=true pnpm run lint (repo root eslint — the pre-push TS gate)",
      "exit_code": 0
    }
  ],
  "criteria": {
    "New appFlows.test.ts (plan Task 5 Step 1) green": "app/tests/e2e/fixtures/appFlows.test.ts — vitest 2 tests green (assertNeverSetup on #/setup vs #/dashboard; wordsFromLabels maps positions, throws on Word #13)",
    "tsc clean on the spec + fixtures": "tsc --noEmit reports zero errors for journey.wkt-app.spec.ts and appFlows.ts (the r.leg fix); the only remaining errors are 3 pre-existing ones in untouched files (bootstrap.ts, appShell.test.ts, foundingPage.test.ts)",
    "eslint clean on the spec + fixtures": "eslint tests/e2e/journey.wkt-app.spec.ts tests/e2e/fixtures/appFlows.ts exit 0",
    "playwright test --list shows the one test": "playwright --list for OC_E2E_SPEC=journey.wkt-app.spec.ts → 'Total: 1 test in 1 file' — the founder+member+both-QR-doors test",
    "Not fired here (Task 8)": "the live drive is Task 8 (#1844, session on bens-mac-04); this ticket ships only the spec + fixtures + unit test",
    "out_of_scope honoured (firing; the matou-app/idss walls)": "no fire run; no matou-app or idss wall touched — only new app/tests/e2e files + STATUS.md"
  },
  "summary": "Shipped the wkt-app journey spec (nine legs, founder+member over CDP, approval from the app, both QR doors) and its appFlows fixtures + unit test; unit tests, tsc, eslint and playwright --list all clean.",
  "blockers": []
}
**close-report** for #1841 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1841, "status": "success", "commits": [ "952d7f48897849a566b1c293653c4b16e4543465" ], "changed_files": [ "STATUS.md", "app/tests/e2e/fixtures/appFlows.test.ts", "app/tests/e2e/fixtures/appFlows.ts", "app/tests/e2e/journey.wkt-app.spec.ts" ], "tests": [ { "command": "cd app && CI=true pnpm exec vitest run tests/e2e/fixtures/appFlows.test.ts tests/e2e/fixtures/wktApp.test.ts tests/e2e/fixtures/appRig.test.ts tests/e2e/fixtures/qrRead.test.ts", "exit_code": 0 }, { "command": "cd app && CI=true pnpm exec tsc --noEmit -p tsconfig.json (wkt-app.spec.ts + appFlows.ts clean; 3 pre-existing errors in untouched files)", "exit_code": 0 }, { "command": "cd app && CI=true pnpm exec eslint tests/e2e/journey.wkt-app.spec.ts tests/e2e/fixtures/appFlows.ts", "exit_code": 0 }, { "command": "cd app && CI=true OC_E2E_RUN_DIR=/tmp/wkt-run OC_E2E_SPEC=journey.wkt-app.spec.ts WKT_KEPT_POINTER=/tmp/fake-pointer.json pnpm exec playwright test --list", "exit_code": 0 }, { "command": "CI=true pnpm run lint (repo root eslint — the pre-push TS gate)", "exit_code": 0 } ], "criteria": { "New appFlows.test.ts (plan Task 5 Step 1) green": "app/tests/e2e/fixtures/appFlows.test.ts — vitest 2 tests green (assertNeverSetup on #/setup vs #/dashboard; wordsFromLabels maps positions, throws on Word #13)", "tsc clean on the spec + fixtures": "tsc --noEmit reports zero errors for journey.wkt-app.spec.ts and appFlows.ts (the r.leg fix); the only remaining errors are 3 pre-existing ones in untouched files (bootstrap.ts, appShell.test.ts, foundingPage.test.ts)", "eslint clean on the spec + fixtures": "eslint tests/e2e/journey.wkt-app.spec.ts tests/e2e/fixtures/appFlows.ts exit 0", "playwright test --list shows the one test": "playwright --list for OC_E2E_SPEC=journey.wkt-app.spec.ts → 'Total: 1 test in 1 file' — the founder+member+both-QR-doors test", "Not fired here (Task 8)": "the live drive is Task 8 (#1844, session on bens-mac-04); this ticket ships only the spec + fixtures + unit test", "out_of_scope honoured (firing; the matou-app/idss walls)": "no fire run; no matou-app or idss wall touched — only new app/tests/e2e files + STATUS.md" }, "summary": "Shipped the wkt-app journey spec (nine legs, founder+member over CDP, approval from the app, both QR doors) and its appFlows fixtures + unit test; unit tests, tsc, eslint and playwright --list all clean.", "blockers": [] } ``` </details>
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#1841
No description provided.