services: the drive records a community with NO services — not even the front door every community gets #1474

Closed
opened 2026-09-14 18:04:32 +00:00 by matou-build-agent · 3 comments

The failure

Leg 2 (services) went GREEN on drive 20260914T175306Z, but the community it designed has no services at all. The drive's own persisted state carries no services key whatsoever:

$ python3 -c "import json; print(list(json.load(open('state/founding-state.json'))['draft'].keys()))"
['step', 'details', 'brand', 'identity', 'access', 'address']

(20260914T175306Z/state/founding-state.json; logs/founding-state.log is the same document and the string services does not occur in it once.)

That contradicts the product's own rule. front-door is Always: true in the one catalogue table — internal/catalogue/catalogue.go:376-379, commented "The front door is what a community IS: on every community, ticked and un-tickable at founding (Ben's ruling 2026-09-11 on #1390)" — and the founding catalogue seeds exactly those entries into the picks on a first visit (app/src/components/founding/FoundingServiceCatalogue.vue:286-292: "a first visit starts with the always-on services already in, because they are not a choice").

So every leg downstream of it — the bench in leg 6, the resume in leg 7, and the Build it in leg 8 — is being proven over a hollow stack. It does not RED; it silently proves less. That is the expensive kind: a green drive that certified nothing about services, including the one service the product says is non-negotiable.

The evidence

The catalogue's Continue is pressable before the catalogue has loaded:

  • FoundingServiceCatalogue.vue:15 — data-status="service-catalogue" is on the ROOT <section>, so it is visible the instant the section mounts.
  • FoundingServiceCatalogue.vue:25-27 — while entries is empty the body is the [data-field="catalogue-loading"] lede.
  • FoundingServiceCatalogue.vue:29 / :137 — the <template v-else> that gates the cards CLOSES at line 137.
  • FoundingServiceCatalogue.vue:183-190 — the Back/Continue row sits OUTSIDE that gate, disabled only on busy, never on "not loaded yet".
  • FoundingServiceCatalogue.vue:266-292 — entries and the always-on seed are both awaited in onMounted; until that resolves picked is an empty Map.
  • FoundingServiceCatalogue.vue:437-447 — onContinue saves picksNow() as-is, so a press before the seed lands calls saveServices([]).

And the drive presses it immediately:

  • app/tests/e2e/fixtures/wizard.ts:173-181 — servicesToAccess waits only for [data-status="service-catalogue"] to be visible, then clicks [data-action="continue"] on the next line. Leg 2 took 1558 ms end to end.

Either way the recorded outcome is the same and is not in doubt: zero picks were saved.

The suspected layer

Harness (the actionable half). servicesToAccess must wait for the catalogue to have actually loaded before pressing Continue — the [data-field="catalogue-lede"] / [data-field="chosen-count"] row, or at least one [data-field="catalogue-card"], all of which live inside the v-else. Then assert the front door is in: [data-service="front-door"][data-status="chosen"], and after Continue that the draft records it. That alone restores the drive's honesty and needs no ruling.

Product (flagged, needs a ruling — do NOT land it on this ticket's say-so). Should [data-action="continue"] be disabled while !entries.length && !loadError? Today a real operator who presses Continue quickly founds a community with no front door. Moving that button inside the v-else, or adding the disabled condition, changes what the operator can press — a product-surface call, so it wants Ben rather than a worker.

drive 20260914T175306Z red at facts-resume: expect(locator).toContainText(expected) failed Locator: locator('[data-status="founding-journey"]') Expected substring: "root@168.144.165.29" Timeout: 30000ms Error: element(s) not found Call log: - E
evidence: /home/swarm/session-runner/idss/test-results/drive-droplet/20260914T175306Z on matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was captured

## The failure Leg 2 (`services`) went GREEN on drive `20260914T175306Z`, but the community it designed has **no services at all**. The drive's own persisted state carries no `services` key whatsoever: ``` $ python3 -c "import json; print(list(json.load(open('state/founding-state.json'))['draft'].keys()))" ['step', 'details', 'brand', 'identity', 'access', 'address'] ``` (`20260914T175306Z/state/founding-state.json`; `logs/founding-state.log` is the same document and the string `services` does not occur in it once.) That contradicts the product's own rule. `front-door` is `Always: true` in the one catalogue table — `internal/catalogue/catalogue.go:376-379`, commented "The front door is what a community IS: on every community, ticked and un-tickable at founding (Ben's ruling 2026-09-11 on #1390)" — and the founding catalogue seeds exactly those entries into the picks on a first visit (`app/src/components/founding/FoundingServiceCatalogue.vue:286-292`: "a first visit starts with the always-on services already in, because they are not a choice"). So every leg downstream of it — the bench in leg 6, the resume in leg 7, and the Build it in leg 8 — is being proven over a hollow stack. It does not RED; it silently proves less. That is the expensive kind: a green drive that certified nothing about services, including the one service the product says is non-negotiable. ## The evidence The catalogue's Continue is pressable before the catalogue has loaded: - `FoundingServiceCatalogue.vue:15` — `data-status="service-catalogue"` is on the ROOT `<section>`, so it is visible the instant the section mounts. - `FoundingServiceCatalogue.vue:25-27` — while `entries` is empty the body is the `[data-field="catalogue-loading"]` lede. - `FoundingServiceCatalogue.vue:29` / `:137` — the `<template v-else>` that gates the cards CLOSES at line 137. - `FoundingServiceCatalogue.vue:183-190` — the Back/Continue row sits OUTSIDE that gate, disabled only on `busy`, never on "not loaded yet". - `FoundingServiceCatalogue.vue:266-292` — `entries` and the always-on seed are both awaited in `onMounted`; until that resolves `picked` is an empty Map. - `FoundingServiceCatalogue.vue:437-447` — `onContinue` saves `picksNow()` as-is, so a press before the seed lands calls `saveServices([])`. And the drive presses it immediately: - `app/tests/e2e/fixtures/wizard.ts:173-181` — `servicesToAccess` waits only for `[data-status="service-catalogue"]` to be visible, then clicks `[data-action="continue"]` on the next line. Leg 2 took 1558 ms end to end. Either way the recorded outcome is the same and is not in doubt: zero picks were saved. ## The suspected layer **Harness (the actionable half).** `servicesToAccess` must wait for the catalogue to have actually loaded before pressing Continue — the `[data-field="catalogue-lede"]` / `[data-field="chosen-count"]` row, or at least one `[data-field="catalogue-card"]`, all of which live inside the `v-else`. Then assert the front door is in: `[data-service="front-door"][data-status="chosen"]`, and after Continue that the draft records it. That alone restores the drive's honesty and needs no ruling. **Product (flagged, needs a ruling — do NOT land it on this ticket's say-so).** Should `[data-action="continue"]` be disabled while `!entries.length && !loadError`? Today a real operator who presses Continue quickly founds a community with no front door. Moving that button inside the `v-else`, or adding the disabled condition, changes what the operator can press — a product-surface call, so it wants Ben rather than a worker. drive `20260914T175306Z` red at `facts-resume`: `expect(locator).toContainText(expected) failed Locator: locator('[data-status="founding-journey"]') Expected substring: "root@168.144.165.29" Timeout: 30000ms Error: element(s) not found Call log: - E` evidence: `/home/swarm/session-runner/idss/test-results/drive-droplet/20260914T175306Z` on matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was captured <!-- rehearsal-sig: 8818a2292fd8 -->
Author
Member

swarm-claim host=bens-mac-04 run=23992
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=bens-mac-04 run=23992 (automated multi-host claim — lowest live claim id works this ticket)
Author
Member

close-report for #1474 — status success

⛔ close-report gates REFUSED this close — the following claims did not verify:

  • commit 029c9c5b is not reachable from origin/main (not landed)
  • changed_files: 'app/tests/e2e/fixtures/wizard.ts' is not in the diff of the claimed commits
  • changed_files: 'app/tests/unit/foundingServiceCatalogue.test.ts' is not in the diff of the claimed commits
  • changed_files: 'STATUS.md' is not in the diff of the claimed commits
envelope
{
  "issue": 1474,
  "status": "success",
  "commits": [
    "029c9c5b"
  ],
  "changed_files": [
    "app/tests/e2e/fixtures/wizard.ts",
    "app/tests/unit/foundingServiceCatalogue.test.ts",
    "STATUS.md"
  ],
  "tests": [
    {
      "command": "CI=true pnpm --filter app exec vitest run tests/unit/foundingServiceCatalogue.test.ts",
      "exit_code": 0
    },
    {
      "command": "CI=true pnpm --filter app exec vue-tsc -p tsconfig.json --noEmit",
      "exit_code": 0
    },
    {
      "command": "CI=true pnpm --filter app exec eslint tests/e2e/fixtures/wizard.ts tests/unit/foundingServiceCatalogue.test.ts",
      "exit_code": 0
    },
    {
      "command": "OC_E2E_RUN_DIR=/tmp/fakerun OC_E2E_SPEC=journey.droplet.spec.ts CI=true pnpm --filter app exec playwright test --list",
      "exit_code": 0
    }
  ],
  "criteria": {
    "The drive no longer certifies a serviceless stack (harness half)": "wizard.ts servicesToAccess now waits for [data-service=\"front-door\"][data-status=\"chosen\"] before pressing Continue (commit 029c9c5b) — that card is chosen only after the catalogue read resolves, so the press can no longer land before the front-door seed",
    "The load-gate contract is pinned red-first": "app/tests/unit/foundingServiceCatalogue.test.ts (4 cases) proves: before the read there is only catalogue-loading and no chosen front door; a Continue then saves []; only after load is the front door chosen+un-tickable and recorded by Continue — 4/4 green",
    "The product-surface half is not landed on this ticket's say-so": "filed as #1475 (ready-for-human) and recorded in STATUS.md; no product source touched"
  },
  "summary": "The services drive fixture now waits for the catalogue to load (front door shown chosen) before pressing Continue, so a green drive can no longer certify a community with no services.",
  "blockers": []
}
**close-report** for #1474 — status `success` :no_entry: **close-report gates REFUSED this close** — the following claims did not verify: - commit 029c9c5b is not reachable from origin/main (not landed) - changed_files: 'app/tests/e2e/fixtures/wizard.ts' is not in the diff of the claimed commits - changed_files: 'app/tests/unit/foundingServiceCatalogue.test.ts' is not in the diff of the claimed commits - changed_files: 'STATUS.md' is not in the diff of the claimed commits <details><summary>envelope</summary> ```json { "issue": 1474, "status": "success", "commits": [ "029c9c5b" ], "changed_files": [ "app/tests/e2e/fixtures/wizard.ts", "app/tests/unit/foundingServiceCatalogue.test.ts", "STATUS.md" ], "tests": [ { "command": "CI=true pnpm --filter app exec vitest run tests/unit/foundingServiceCatalogue.test.ts", "exit_code": 0 }, { "command": "CI=true pnpm --filter app exec vue-tsc -p tsconfig.json --noEmit", "exit_code": 0 }, { "command": "CI=true pnpm --filter app exec eslint tests/e2e/fixtures/wizard.ts tests/unit/foundingServiceCatalogue.test.ts", "exit_code": 0 }, { "command": "OC_E2E_RUN_DIR=/tmp/fakerun OC_E2E_SPEC=journey.droplet.spec.ts CI=true pnpm --filter app exec playwright test --list", "exit_code": 0 } ], "criteria": { "The drive no longer certifies a serviceless stack (harness half)": "wizard.ts servicesToAccess now waits for [data-service=\"front-door\"][data-status=\"chosen\"] before pressing Continue (commit 029c9c5b) — that card is chosen only after the catalogue read resolves, so the press can no longer land before the front-door seed", "The load-gate contract is pinned red-first": "app/tests/unit/foundingServiceCatalogue.test.ts (4 cases) proves: before the read there is only catalogue-loading and no chosen front door; a Continue then saves []; only after load is the front door chosen+un-tickable and recorded by Continue — 4/4 green", "The product-surface half is not landed on this ticket's say-so": "filed as #1475 (ready-for-human) and recorded in STATUS.md; no product source touched" }, "summary": "The services drive fixture now waits for the catalogue to load (front door shown chosen) before pressing Continue, so a green drive can no longer certify a community with no services.", "blockers": [] } ``` </details>
Author
Member

close-report for #1474 — status success

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

envelope
{
  "issue": 1474,
  "status": "success",
  "commits": [
    "029c9c5b"
  ],
  "changed_files": [
    "app/tests/e2e/fixtures/wizard.ts",
    "app/tests/unit/foundingServiceCatalogue.test.ts",
    "STATUS.md"
  ],
  "tests": [
    {
      "command": "CI=true pnpm --filter app exec vitest run tests/unit/foundingServiceCatalogue.test.ts",
      "exit_code": 0
    },
    {
      "command": "CI=true pnpm --filter app exec vue-tsc -p tsconfig.json --noEmit",
      "exit_code": 0
    },
    {
      "command": "CI=true pnpm --filter app exec eslint tests/e2e/fixtures/wizard.ts tests/unit/foundingServiceCatalogue.test.ts",
      "exit_code": 0
    },
    {
      "command": "OC_E2E_RUN_DIR=/tmp/fakerun OC_E2E_SPEC=journey.droplet.spec.ts CI=true pnpm --filter app exec playwright test --list",
      "exit_code": 0
    }
  ],
  "criteria": {
    "The drive no longer certifies a serviceless stack (harness half)": "wizard.ts servicesToAccess now waits for [data-service=\"front-door\"][data-status=\"chosen\"] before pressing Continue (commit 029c9c5b) — that card is chosen only after the catalogue read resolves, so the press can no longer land before the front-door seed",
    "The load-gate contract is pinned red-first": "app/tests/unit/foundingServiceCatalogue.test.ts (4 cases) proves: before the read there is only catalogue-loading and no chosen front door; a Continue then saves []; only after load is the front door chosen+un-tickable and recorded by Continue — 4/4 green",
    "The product-surface half is not landed on this ticket's say-so": "filed as #1475 (ready-for-human) and recorded in STATUS.md; no product source touched"
  },
  "summary": "The services drive fixture now waits for the catalogue to load (front door shown chosen) before pressing Continue, so a green drive can no longer certify a community with no services.",
  "blockers": []
}
**close-report** for #1474 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1474, "status": "success", "commits": [ "029c9c5b" ], "changed_files": [ "app/tests/e2e/fixtures/wizard.ts", "app/tests/unit/foundingServiceCatalogue.test.ts", "STATUS.md" ], "tests": [ { "command": "CI=true pnpm --filter app exec vitest run tests/unit/foundingServiceCatalogue.test.ts", "exit_code": 0 }, { "command": "CI=true pnpm --filter app exec vue-tsc -p tsconfig.json --noEmit", "exit_code": 0 }, { "command": "CI=true pnpm --filter app exec eslint tests/e2e/fixtures/wizard.ts tests/unit/foundingServiceCatalogue.test.ts", "exit_code": 0 }, { "command": "OC_E2E_RUN_DIR=/tmp/fakerun OC_E2E_SPEC=journey.droplet.spec.ts CI=true pnpm --filter app exec playwright test --list", "exit_code": 0 } ], "criteria": { "The drive no longer certifies a serviceless stack (harness half)": "wizard.ts servicesToAccess now waits for [data-service=\"front-door\"][data-status=\"chosen\"] before pressing Continue (commit 029c9c5b) — that card is chosen only after the catalogue read resolves, so the press can no longer land before the front-door seed", "The load-gate contract is pinned red-first": "app/tests/unit/foundingServiceCatalogue.test.ts (4 cases) proves: before the read there is only catalogue-loading and no chosen front door; a Continue then saves []; only after load is the front door chosen+un-tickable and recorded by Continue — 4/4 green", "The product-surface half is not landed on this ticket's say-so": "filed as #1475 (ready-for-human) and recorded in STATUS.md; no product source touched" }, "summary": "The services drive fixture now waits for the catalogue to load (front door shown chosen) before pressing Continue, so a green drive can no longer certify a community with no services.", "blockers": [] } ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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#1474
No description provided.