drive 8 ARM: the brand-reach fidelity walk — seven branded ports one at a time, the applied kit at every door (local-guest, --drive brands) #1277

Closed
opened 2026-09-06 19:50:50 +00:00 by ben · 56 comments
Owner

Ben's instruction 2026-09-06: "create Drive eight, which tests all of the installable services one at a time and checks them for brand kit implementation" — rulings: the SEVEN branded ports, install→check→remove, in-service UI + card line. The drive is BUILT as app/tests/e2e/provision-brands.live.spec.ts (d28c6b5c, on the DDR 0225 / spec #1253 contract, all 13 arc tickets landed). This is the arm: unattended on the standing-drive queue through the local-brands compound (queue lib: local-guest world + --drive brands).

Destination

One GREEN run of drive 8 on the local-guest world, every leg green by LEG LIST (39 legs, zero skips by construction):

  1. founding prefix → operator-session (front door, DDR 0172) → gateway-change
  2. browse-brand-lines — every S2b card wears its DERIVED brand-adoption line verbatim (adoption.go goldens); Coa wears the conditional "Would carry…"; Document editing (Collabora) wears NONE (absence is silence, DDR 0225)
  3. then SEVEN cycles, one service at a time, in order archive → document-archive → newsletters → whakapapa → surveys → data-collections → video (largest pull LAST):
    tick-<slug> → deploy-<slug> (30 m ceiling) → <slug>-healthy (the REAL health check) → <slug>-wears-kit → remove-<slug> (untick classifies remove-and-deploy, card GONE from S5)

<slug>-wears-kit opens the EXACT S5 door (forwarded port cross-checked, DDR 0165), screenshots to artifacts/brand/<slug>.png FIRST, then hunts only what the surface's ruled token set promises: the kit name ("E2E Drive") in the served page/title, the matou accent #619793 in served CSS (+ PeerTube /api/v1/config, Grist /custom.css), a fetchable logo-named asset. whakapapa hunts name-only (its accent rides the same tree-config carrier the title proves; goldens own the values).

Close condition

One GREEN drive, all 39 legs green by leg list, verdict.json (drive brands) green, the browse-brand-lines frame and all seven artifacts/brand/<slug>.png door frames eyeballed.

A red files its defect and blocks this issue (reporter contract); the drive re-fires when the blocker closes. Expected first-red candidates, so a triager reads them as PRODUCT/wire findings not harness noise: (a) video/PeerTube — the biggest image pull and a 100 GB disk floor the guest may not meet (an honest gate/park is a finding about the card's Unavailable contract, not a ghost); (b) the removal path (remove-and-deploy → card gone) has never been live-driven on a co-host; (c) the six NEW surfaces' first live apply (only archive + files have ever deployed on this world) — a <slug>-wears-kit red naming a missing mark is exactly the drive doing its job. A local-guest preflight refusal (MemAvailable floor, payload slot, idss-guest.service still running) is a host park, not a regression.

Host: elitebook-03 — the only executor whose local-guest world stands up. The payload carries no warm gateway cache (cold enroll build); seven deploy+remove switches make this the longest local drive yet — the spec's own ceiling is 8 h. Queues drained 2026-09-06, so this arms alone: REHEARSAL_DRIVE_QUEUE=<this>.

Ben's instruction 2026-09-06: "create Drive eight, which tests all of the installable services one at a time and checks them for brand kit implementation" — rulings: the SEVEN branded ports, install→check→remove, in-service UI + card line. The drive is BUILT as `app/tests/e2e/provision-brands.live.spec.ts` (`d28c6b5c`, on the DDR 0225 / spec #1253 contract, all 13 arc tickets landed). This is the arm: unattended on the standing-drive queue through the `local-brands` compound (queue lib: `local-guest` world + `--drive brands`). ## Destination One GREEN run of drive 8 on the local-guest world, every leg green by LEG LIST (39 legs, zero skips by construction): 1. **founding prefix** → **operator-session** (front door, DDR 0172) → **gateway-change** 2. **browse-brand-lines** — every S2b card wears its DERIVED brand-adoption line verbatim (adoption.go goldens); Coa wears the conditional "Would carry…"; Document editing (Collabora) wears NONE (absence is silence, DDR 0225) 3. then SEVEN cycles, one service at a time, in order archive → document-archive → newsletters → whakapapa → surveys → data-collections → video (largest pull LAST): `tick-<slug>` → `deploy-<slug>` (30 m ceiling) → `<slug>-healthy` (the REAL health check) → `<slug>-wears-kit` → `remove-<slug>` (untick classifies `remove-and-deploy`, card GONE from S5) `<slug>-wears-kit` opens the EXACT S5 door (forwarded port cross-checked, DDR 0165), screenshots to `artifacts/brand/<slug>.png` FIRST, then hunts only what the surface's ruled token set promises: the kit name ("E2E Drive") in the served page/title, the matou accent `#619793` in served CSS (+ PeerTube `/api/v1/config`, Grist `/custom.css`), a fetchable logo-named asset. whakapapa hunts name-only (its accent rides the same tree-config carrier the title proves; goldens own the values). ## Close condition **One GREEN drive, all 39 legs green by leg list, `verdict.json` (drive `brands`) green, the browse-brand-lines frame and all seven `artifacts/brand/<slug>.png` door frames eyeballed.** A red files its defect and blocks this issue (reporter contract); the drive re-fires when the blocker closes. Expected first-red candidates, so a triager reads them as PRODUCT/wire findings not harness noise: (a) video/PeerTube — the biggest image pull and a 100 GB disk floor the guest may not meet (an honest gate/park is a finding about the card's Unavailable contract, not a ghost); (b) the removal path (`remove-and-deploy` → card gone) has never been live-driven on a co-host; (c) the six NEW surfaces' first live apply (only archive + files have ever deployed on this world) — a `<slug>-wears-kit` red naming a missing mark is exactly the drive doing its job. A local-guest preflight refusal (MemAvailable floor, payload slot, `idss-guest.service` still running) is a host park, not a regression. Host: **elitebook-03** — the only executor whose local-guest world stands up. The payload carries no warm gateway cache (cold enroll build); seven deploy+remove switches make this the longest local drive yet — the spec's own ceiling is 8 h. Queues drained 2026-09-06, so this arms alone: `REHEARSAL_DRIVE_QUEUE=<this>`. <!-- rehearsal-target: local-brands --> <!-- rehearsal-confirm: 1 -->

drive 20260906T195212Z RED — now blocked by: #1278 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260906T195212Z` RED — now blocked by: #1278 (evidence on each). The drive re-fires when the last blocker closes.

rehearsal healer: drive 20260906T232019Z red at remove-archive (sig 363b2c05fde1) self-fixed — commit a436c883b1e2b714436b87aac9f26ec9156dd738 (2 files changed, 55 insertions(+)); checks: pnpm --filter app exec vitest run tests/e2e/fixtures/provision.test.ts → 20 passed (1 file); pnpm exec vue-tsc -p tsconfig.json --noEmit in app/ → clean (these browser-driving helpers are structurally verified — tsc + the pure-logic fixture tests — per provision.ts:162-171). The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260906T232019Z` red at `remove-archive` (sig 363b2c05fde1) self-fixed — commit `a436c883b1e2b714436b87aac9f26ec9156dd738` (2 files changed, 55 insertions(+)); checks: `pnpm --filter app exec vitest run tests/e2e/fixtures/provision.test.ts` → 20 passed (1 file); `pnpm exec vue-tsc -p tsconfig.json --noEmit` in app/ → clean (these browser-driving helpers are structurally verified — tsc + the pure-logic fixture tests — per provision.ts:162-171). The drive stays armed; the next tick re-drives.

drive 20260906T234910Z RED — now blocked by: #1281 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260906T234910Z` RED — now blocked by: #1281 (evidence on each). The drive re-fires when the last blocker closes.

rehearsal healer: drive 20260907T004410Z red at remove-archive (sig 363b2c05fde1) fast-lane self-fixed — commit fe6381e364d834ce85b6f134078148ebef849351 filed and closed #1282 through the close-report gate; checks: targeted (red-first): go test ./internal/provision/ -run TestDeploy_AZeroServiceDeployCarriesAnEmptyServicesArrayNeverNull -v → FAIL before the fix (health_test.go:1060: outcome.Services is nil — an empty selection must stay an empty SLICE, not a nil one), PASS after. package: go test ./internal/provision/ → ok. consumers: go test ./internal/controlapi/ → ok. whole tree: go test ./internal/... → every package ok, no failures. go build ./... → clean; gofmt -l internal/provision/ → clean.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260907T004410Z` red at `remove-archive` (sig 363b2c05fde1) fast-lane self-fixed — commit `fe6381e364d834ce85b6f134078148ebef849351` filed and closed #1282 through the close-report gate; checks: targeted (red-first): `go test ./internal/provision/ -run TestDeploy_AZeroServiceDeployCarriesAnEmptyServicesArrayNeverNull -v` → FAIL before the fix (`health_test.go:1060: outcome.Services is nil — an empty selection must stay an empty SLICE, not a nil one`), PASS after. package: `go test ./internal/provision/` → ok. consumers: `go test ./internal/controlapi/` → ok. whole tree: `go test ./internal/...` → every package ok, no failures. `go build ./...` → clean; `gofmt -l internal/provision/` → clean.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive 20260907T013453Z red at operator-session (sig b5659a2277df) self-fixed — commit 9567f4b21e0ccd6e2ed921b450ae0ad2a3907d29 (6 files changed, 222 insertions(+), 5 deletions(-)); checks: targeted (red-first): pnpm --filter app exec vitest run tests/e2e/fixtures/evidence.test.ts → FAIL before the fix (2 failed: TypeError: servedHttpStatusLine is not a function), PASS after (25 passed). fixture suite: pnpm --filter app exec vitest run tests/e2e/fixtures/evidence.test.ts tests/e2e/fixtures/snapshotRail.test.ts → 34 passed (2 files); whole fixtures dir → 353 passed (17 files). pnpm exec vue-tsc -p tsconfig.json --noEmit in app/ → clean (the guest-driving waiter is structurally verified — tsc + the pure-logic predicate test — the same posture provision.ts:162-171 records).. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260907T013453Z` red at `operator-session` (sig b5659a2277df) self-fixed — commit `9567f4b21e0ccd6e2ed921b450ae0ad2a3907d29` (6 files changed, 222 insertions(+), 5 deletions(-)); checks: targeted (red-first): `pnpm --filter app exec vitest run tests/e2e/fixtures/evidence.test.ts` → FAIL before the fix (2 failed: `TypeError: servedHttpStatusLine is not a function`), PASS after (25 passed). fixture suite: `pnpm --filter app exec vitest run tests/e2e/fixtures/evidence.test.ts tests/e2e/fixtures/snapshotRail.test.ts` → 34 passed (2 files); whole fixtures dir → 353 passed (17 files). `pnpm exec vue-tsc -p tsconfig.json --noEmit` in app/ → clean (the guest-driving waiter is structurally verified — tsc + the pure-logic predicate test — the same posture provision.ts:162-171 records).. The drive stays armed; the next tick re-drives.

drive 20260907T015459Z RED — now blocked by: #1284 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260907T015459Z` RED — now blocked by: #1284 (evidence on each). The drive re-fires when the last blocker closes.

rehearsal healer: drive 20260907T023209Z red at deploy-document-archive (sig 8bcb93da00e3) self-fixed — commit 1e85bf4de65790eea826d2fe5dcc7de13d216371 (2 files changed, 145 insertions(+), 11 deletions(-)); checks: targeted (red-first): pnpm --filter app exec vitest run tests/e2e/fixtures/provision.test.ts → 7 failed before the fix (TypeError: formatDeployBarState is not a function, fleetProbeUrl is not a function), 27 passed after. fixtures suite: pnpm --filter app exec vitest run tests/e2e/fixtures/ → 360 passed (17 files). pnpm exec vue-tsc -p tsconfig.json --noEmit in app/ → clean (the browser-driving half is structurally verified — tsc + the pure-logic fixture tests — the posture provision.ts:162-171 records).. The session also named a residual fault — it is being filed and will block the drive.

rehearsal healer: drive `20260907T023209Z` red at `deploy-document-archive` (sig 8bcb93da00e3) self-fixed — commit `1e85bf4de65790eea826d2fe5dcc7de13d216371` (2 files changed, 145 insertions(+), 11 deletions(-)); checks: targeted (red-first): `pnpm --filter app exec vitest run tests/e2e/fixtures/provision.test.ts` → 7 failed before the fix (`TypeError: formatDeployBarState is not a function`, `fleetProbeUrl is not a function`), 27 passed after. fixtures suite: `pnpm --filter app exec vitest run tests/e2e/fixtures/` → 360 passed (17 files). `pnpm exec vue-tsc -p tsconfig.json --noEmit` in app/ → clean (the browser-driving half is structurally verified — tsc + the pure-logic fixture tests — the posture provision.ts:162-171 records).. The session also named a residual fault — it is being filed and will block the drive.

drive 20260907T023209Z RED — now blocked by: #1285 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260907T023209Z` RED — now blocked by: #1285 (evidence on each). The drive re-fires when the last blocker closes.

rehearsal healer: drive 20260907T041410Z red at deploy-document-archive (sig 8bcb93da00e3) fast-lane self-fixed — commit 48b6f5caec4ea87266471eb4f9a954eb27ded928 filed and closed #1287 through the close-report gate; checks: targeted (red-first): go test ./internal/clan/ -run TestClassify_PytestTracemallocHintIsNotMasked -v → FAIL before the fix (clan_test.go:416: a pytest tracemalloc hint must not mask a real success, got clan: masked_exit on gateway: … Enable tracemalloc to get traceback where the object was allocated.), PASS after. package: go test ./internal/clan/ → ok (18.5s). consumers: go test ./internal/provision/ ./internal/controlapi/ → both ok. whole tree: go test ./internal/... → every package ok, no failures. go build ./... → clean; gofmt -l internal/clan/ → clean. Commit shape: 2 files, 19 non-test lines added (internal/clan/errors.go 19/0), 0 deletions; no assertion, test or leg touched — the only test change is a new test added.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260907T041410Z` red at `deploy-document-archive` (sig 8bcb93da00e3) fast-lane self-fixed — commit `48b6f5caec4ea87266471eb4f9a954eb27ded928` filed and closed #1287 through the close-report gate; checks: targeted (red-first): `go test ./internal/clan/ -run TestClassify_PytestTracemallocHintIsNotMasked -v` → FAIL before the fix (`clan_test.go:416: a pytest tracemalloc hint must not mask a real success, got clan: masked_exit on gateway: … Enable tracemalloc to get traceback where the object was allocated.`), PASS after. package: `go test ./internal/clan/` → ok (18.5s). consumers: `go test ./internal/provision/ ./internal/controlapi/` → both ok. whole tree: `go test ./internal/...` → every package ok, no failures. `go build ./...` → clean; `gofmt -l internal/clan/` → clean. Commit shape: 2 files, 19 non-test lines added (`internal/clan/errors.go` 19/0), 0 deletions; no assertion, test or leg touched — the only test change is a new test added.. The drive stays armed; the next tick re-drives.

drive 20260907T052357Z RED — now blocked by: #1289 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260907T052357Z` RED — now blocked by: #1289 (evidence on each). The drive re-fires when the last blocker closes.
Author
Owner

Run 10 (20260907T133810Z) — 12/13 green, ran THROUGH the site's mesh outage (the reporter could not reach the tracker, so no blocker was filed by the harness). Founded in full (key drift from the #1288 test rename), archive cycle re-proven, then deploy-document-archive green (55.7 min — #1290), document-archive-healthy green (first contact), document-archive-wears-kit red (#1291). Both ruled + landed at 96a3397c; tickets closed. Queue re-armed — run 11 fires next tick and re-founds (product commit).

**Run 10 (`20260907T133810Z`) — 12/13 green, ran THROUGH the site's mesh outage** (the reporter could not reach the tracker, so no blocker was filed by the harness). Founded in full (key drift from the #1288 test rename), archive cycle re-proven, then `deploy-document-archive` green (55.7 min — #1290), `document-archive-healthy` green (first contact), `document-archive-wears-kit` red (#1291). Both ruled + landed at `96a3397c`; tickets closed. Queue re-armed — run 11 fires next tick and re-founds (product commit).

drive 20260907T174810Z RED — now blocked by: #1292 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260907T174810Z` RED — now blocked by: #1292 (evidence on each). The drive re-fires when the last blocker closes.

rehearsal healer: drive 20260907T190409Z red at document-archive-wears-kit (sig b19be4ada563) self-fixed — commit 5fee5e15b9db2650328dfbd90c7368176cd20153 (3 files changed, 197 insertions(+), 13 deletions(-)); checks: targeted (red-first): pnpm --filter app exec vitest run tests/e2e/fixtures/brandreach.test.ts → FAIL before the fix (4 failed | 10 passed — missing doorFetchText/logoFetched exports, and the body scan finding 3 page.request reads), PASS after (14 passed). fixtures suite: pnpm --filter app exec vitest run tests/e2e/fixtures/ → 367 passed (17 files). pnpm exec vue-tsc -p tsconfig.json --noEmit in app/ → clean. Commit shape: 3 files, 129 non-test changed lines; no assertion, test or leg touched, no internal/ or app/src/ change.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260907T190409Z` red at `document-archive-wears-kit` (sig b19be4ada563) self-fixed — commit `5fee5e15b9db2650328dfbd90c7368176cd20153` (3 files changed, 197 insertions(+), 13 deletions(-)); checks: targeted (red-first): `pnpm --filter app exec vitest run tests/e2e/fixtures/brandreach.test.ts` → FAIL before the fix (4 failed | 10 passed — missing `doorFetchText`/`logoFetched` exports, and the body scan finding 3 `page.request` reads), PASS after (14 passed). fixtures suite: `pnpm --filter app exec vitest run tests/e2e/fixtures/` → 367 passed (17 files). `pnpm exec vue-tsc -p tsconfig.json --noEmit` in app/ → clean. Commit shape: 3 files, 129 non-test changed lines; no assertion, test or leg touched, no `internal/` or `app/src/` change.. The drive stays armed; the next tick re-drives.

drive 20260907T194850Z RED but nothing could be filed or matched (cap/limit) — flipped ready-for-human so the drive never hot-loops. A human decides the next drive.

drive `20260907T194850Z` RED but nothing could be filed or matched (cap/limit) — flipped ready-for-human so the drive never hot-loops. A human decides the next drive.
Author
Owner

**Run 13 (20260907T194850Z) — 16/17 green: document-archive-wears-kit GREEN (config-API brand, deploy 7.5 min), remove-document-archive green, newsletters deployed 15.5 min; red newsletters-healthy = #1305 (control plane resolved an empty Listmonk credential — #863/#1284 class; video + whakapapa fixed pre-emptively). Landed 0fce2fe3, ticket closed. The reporter parked this run because the elitebook Claude token hit its weekly limit — un-parked (ready-for-agent restored); healer/reporter are blind until the token failover is confirmed, so I am reading reds by hand.

**Run 13 (`20260907T194850Z`) — 16/17 green: document-archive-wears-kit GREEN (config-API brand, deploy 7.5 min), remove-document-archive green, newsletters deployed 15.5 min; red newsletters-healthy = #1305 (control plane resolved an empty Listmonk credential — #863/#1284 class; video + whakapapa fixed pre-emptively). Landed `0fce2fe3`, ticket closed. The reporter parked this run because the elitebook Claude token hit its weekly limit — un-parked (ready-for-agent restored); healer/reporter are blind until the token failover is confirmed, so I am reading reds by hand.

drive 20260907T210012Z RED — now blocked by: #1306 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260907T210012Z` RED — now blocked by: #1306 (evidence on each). The drive re-fires when the last blocker closes.

drive 20260907T221610Z RED — now blocked by: #1308 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260907T221610Z` RED — now blocked by: #1308 (evidence on each). The drive re-fires when the last blocker closes.

drive 20260907T232822Z RED — now blocked by: #1310 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260907T232822Z` RED — now blocked by: #1310 (evidence on each). The drive re-fires when the last blocker closes.

drive 20260908T003210Z RED — now blocked by: #1311 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260908T003210Z` RED — now blocked by: #1311 (evidence on each). The drive re-fires when the last blocker closes.
Author
Owner

drive 20260908T013813Z (3a2645a2) RED at deploy-whakapapa after the full 75 min deploy ceiling — ghost red, environmental, no ticket. Evidence: guest-grampsweb.log shows both podman-grampsweb + podman-grampsweb-celery pulling ghcr.io/gramps-project/grampsweb@sha256:d37a3e5a… from 02:12:47, last blob line 02:16:48, then silence; no failed units, clan-switch-gateway still inside switch-to-configuration at harvest (03:28), Caddy dial 127.0.0.1:8085 refused every 5 min. The drive host journal: wlp108s0: Lost carrier 02:22:22 → Gained carrier 03:48:30 (the drive host rides Wi-Fi; -01/-02 and Forgejo dropped together = the site AP/uplink, second time in 24 h). The reporter never posted (Forgejo unreachable from -03 in its window). Run 19 fired 03:52Z on the same commit with the link back — that is the #1311 proof. Hazard noted for later: a stalled registry pull inside switch-to-configuration holds a deploy open until the harness ceiling; podman's "pull timeout 5m0s" did not fire on a silent stall.

drive `20260908T013813Z` (3a2645a2) RED at `deploy-whakapapa` after the full 75 min deploy ceiling — **ghost red, environmental**, no ticket. Evidence: `guest-grampsweb.log` shows both `podman-grampsweb` + `podman-grampsweb-celery` pulling `ghcr.io/gramps-project/grampsweb@sha256:d37a3e5a…` from 02:12:47, last blob line 02:16:48, then silence; no failed units, `clan-switch-gateway` still inside `switch-to-configuration` at harvest (03:28), Caddy `dial 127.0.0.1:8085 refused` every 5 min. The drive host journal: `wlp108s0: Lost carrier` 02:22:22 → `Gained carrier` 03:48:30 (the drive host rides Wi-Fi; -01/-02 and Forgejo dropped together = the site AP/uplink, second time in 24 h). The reporter never posted (Forgejo unreachable from -03 in its window). Run 19 fired 03:52Z on the same commit with the link back — that is the #1311 proof. Hazard noted for later: a stalled registry pull inside `switch-to-configuration` holds a deploy open until the harness ceiling; podman's "pull timeout 5m0s" did not fire on a silent stall.

drive 20260908T035208Z RED — now blocked by: #1315 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260908T035208Z` RED — now blocked by: #1315 (evidence on each). The drive re-fires when the last blocker closes.

rehearsal healer: drive 20260908T053608Z red at whakapapa-healthy (sig 1163e96f8198) fast-lane self-fixed — commit 04237af30b734ada43f151c736b0b0e49f107840 filed and closed #1316 through the close-report gate; checks: targeted (red-first): go test ./control-plane/cmd/control-plane/ -run TestWhakapapaHealth_AbsentFixtureIs404NotAnEmptyList -v → FAIL before the fix (provision_whakapapa_health_test.go:285: a fresh tree answering 404 for the absent fixture must be CREATED, not read as a fault: gramps web: could not read the family tree (HTTP 404) — the drive's error string verbatim), PASS after. package: go test ./control-plane/cmd/control-plane/ → ok (6.99s). trees: go test ./control-plane/... → no failures; go test ./internal/... → no failures. go build ./... → clean; gofmt -l control-plane/cmd/control-plane/ → clean; go vet ./control-plane/... → clean. Commit shape: 3 files, 24 changed non-test lines (whakapapahealth.go 15, GOTCHAS.md 9), one commit, not pushed; rails self-check → no removed assertion/expectation line, no removed test or leg declaration, no added skip.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260908T053608Z` red at `whakapapa-healthy` (sig 1163e96f8198) fast-lane self-fixed — commit `04237af30b734ada43f151c736b0b0e49f107840` filed and closed #1316 through the close-report gate; checks: targeted (red-first): `go test ./control-plane/cmd/control-plane/ -run TestWhakapapaHealth_AbsentFixtureIs404NotAnEmptyList -v` → FAIL before the fix (`provision_whakapapa_health_test.go:285: a fresh tree answering 404 for the absent fixture must be CREATED, not read as a fault: gramps web: could not read the family tree (HTTP 404)` — the drive's error string verbatim), PASS after. package: `go test ./control-plane/cmd/control-plane/` → ok (6.99s). trees: `go test ./control-plane/...` → no failures; `go test ./internal/...` → no failures. `go build ./...` → clean; `gofmt -l control-plane/cmd/control-plane/` → clean; `go vet ./control-plane/...` → clean. Commit shape: 3 files, 24 changed non-test lines (whakapapahealth.go 15, GOTCHAS.md 9), one commit, not pushed; rails self-check → no removed assertion/expectation line, no removed test or leg declaration, no added skip.. The drive stays armed; the next tick re-drives.

drive 20260908T065505Z RED — now blocked by: #1317 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260908T065505Z` RED — now blocked by: #1317 (evidence on each). The drive re-fires when the last blocker closes.

drive 20260908T080408Z RED — now blocked by: #1318 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260908T080408Z` RED — now blocked by: #1318 (evidence on each). The drive re-fires when the last blocker closes.

rehearsal healer: drive 20260908T092408Z red at deploy-surveys (sig 119db33993c0) fast-lane self-fixed — commit 409b233ef50695a605b34a57ef5f1d65a9c638c5 filed and closed #1319 through the close-report gate; checks: targeted (red-first): go test ./internal/clan/ -run 'TestRenderSurveys_AdminConsoleCarriesLimeSurveyConfigEnv|TestRenderSurveys_BrandThemeParentsAreWritableByLimeSurvey' -v → FAIL before the fix (surveys_test.go:136: the admin console must inherit limesurvey-init's environment (LIMESURVEY_CONFIG, #1319) and surveys_test.go:167: the brand theme's parent dirs must be re-owned writable by limesurvey ("z /var/lib/limesurvey/upload/themes 0750 limesurvey ${config.users.users.limesurvey.group} - -")), PASS after. package: go test ./internal/clan/ → ok (17.986s), all 10 TestRenderSurveys_* PASS. tree: go test ./internal/... → no failures. real-nixpkgs eval: IDSS_EVAL_SMOKE=1 go test ./internal/clan/ -run TestSurveysCohost_EvalSmoke -v → PASS (44.33s) — positive half evaluated the co-hosted gateway to /nix/store/gs0378ih7cv44z69shxfiqvs5v06c3iw-nixos-system-gateway-26.11.20260612.173d0ad.drv, teeth half still fails on the phantom uploadsDir. built-artifact check on that drv: unit-limesurvey-admin.service.drv carries LIMESURVEY_CONFIG=/nix/store/in36sfliyb3zc7fgcfd457zsqiplynqy-config.php; nixos-tmpfiles.d.drv carries both z /var/lib/limesurvey/upload/themes{,/survey} 0750 limesurvey wwwrun - -. go build ./... → clean; go vet ./internal/clan/ → clean; gofmt -l internal/clan/ → clean. Commit shape: 3 files, 68 changed non-test lines (internal/clan/surveys.go 57/3, docs/GOTCHAS.md 8/0), one commit, not pushed; rails self-check → no removed or edited assertion/expectation line (the test file is additions only, 50/0), no removed test or leg declaration, no added skip.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260908T092408Z` red at `deploy-surveys` (sig 119db33993c0) fast-lane self-fixed — commit `409b233ef50695a605b34a57ef5f1d65a9c638c5` filed and closed #1319 through the close-report gate; checks: targeted (red-first): `go test ./internal/clan/ -run 'TestRenderSurveys_AdminConsoleCarriesLimeSurveyConfigEnv|TestRenderSurveys_BrandThemeParentsAreWritableByLimeSurvey' -v` → FAIL before the fix (`surveys_test.go:136: the admin console must inherit limesurvey-init's environment (LIMESURVEY_CONFIG, #1319)` and `surveys_test.go:167: the brand theme's parent dirs must be re-owned writable by limesurvey ("z /var/lib/limesurvey/upload/themes 0750 limesurvey ${config.users.users.limesurvey.group} - -")`), PASS after. package: `go test ./internal/clan/` → ok (17.986s), all 10 `TestRenderSurveys_*` PASS. tree: `go test ./internal/...` → no failures. real-nixpkgs eval: `IDSS_EVAL_SMOKE=1 go test ./internal/clan/ -run TestSurveysCohost_EvalSmoke -v` → PASS (44.33s) — positive half evaluated the co-hosted gateway to `/nix/store/gs0378ih7cv44z69shxfiqvs5v06c3iw-nixos-system-gateway-26.11.20260612.173d0ad.drv`, teeth half still fails on the phantom `uploadsDir`. built-artifact check on that drv: `unit-limesurvey-admin.service.drv` carries `LIMESURVEY_CONFIG=/nix/store/in36sfliyb3zc7fgcfd457zsqiplynqy-config.php`; `nixos-tmpfiles.d.drv` carries both `z /var/lib/limesurvey/upload/themes{,/survey} 0750 limesurvey wwwrun - -`. `go build ./...` → clean; `go vet ./internal/clan/` → clean; `gofmt -l internal/clan/` → clean. Commit shape: 3 files, 68 changed non-test lines (`internal/clan/surveys.go` 57/3, `docs/GOTCHAS.md` 8/0), one commit, not pushed; rails self-check → no removed or edited assertion/expectation line (the test file is additions only, 50/0), no removed test or leg declaration, no added skip.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive 20260908T105026Z red at deploy-archive (sig 5401f695e3a1) fast-lane self-fixed — commit a948f6ed5589e23da8e4681984415d26c2297dd1 filed and closed #1320 through the close-report gate; checks: targeted (red-first): go test ./internal/clan/ -run TestRenderArchive_MintRidesItsOwnReadinessGate → FAIL before the fix (archive_test.go:507: the key mint must run inside its OWN bounded retry loop, not one bare exec trusting the fail-open module:enable poll (#1277 drive-8)), PASS after. package: go test ./internal/clan/ → ok (18.009s), all TestRenderArchive_* pass including the nine pre-existing Reconciler* gates. trees: go test ./internal/... → no failures; go test ./control-plane/... → no failures. nix syntax on the rendered artifact: dumped RenderArchive(sampleArchive()) and ran nix-instantiate --parse → NIX PARSE OK (the new shell block does not break the Nix indented string). go build ./... → clean; gofmt -l internal/clan/ → clean; go vet ./internal/clan/ → clean. Commit shape: 3 files, 39 changed non-test lines (internal/clan/archive.go 29/2, docs/GOTCHAS.md 8/0), one commit, not pushed; rails self-check → internal/clan/archive_test.go is additions only (47/0), zero removed lines, no removed or edited assertion/expectation, no removed test or leg declaration, no added skip.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260908T105026Z` red at `deploy-archive` (sig 5401f695e3a1) fast-lane self-fixed — commit `a948f6ed5589e23da8e4681984415d26c2297dd1` filed and closed #1320 through the close-report gate; checks: targeted (red-first): `go test ./internal/clan/ -run TestRenderArchive_MintRidesItsOwnReadinessGate` → FAIL before the fix (`archive_test.go:507: the key mint must run inside its OWN bounded retry loop, not one bare exec trusting the fail-open module:enable poll (#1277 drive-8)`), PASS after. package: `go test ./internal/clan/` → ok (18.009s), all `TestRenderArchive_*` pass including the nine pre-existing `Reconciler*` gates. trees: `go test ./internal/...` → no failures; `go test ./control-plane/...` → no failures. nix syntax on the rendered artifact: dumped `RenderArchive(sampleArchive())` and ran `nix-instantiate --parse` → NIX PARSE OK (the new shell block does not break the Nix indented string). `go build ./...` → clean; `gofmt -l internal/clan/` → clean; `go vet ./internal/clan/` → clean. Commit shape: 3 files, 39 changed non-test lines (`internal/clan/archive.go` 29/2, `docs/GOTCHAS.md` 8/0), one commit, not pushed; rails self-check → `internal/clan/archive_test.go` is additions only (47/0), zero removed lines, no removed or edited assertion/expectation, no removed test or leg declaration, no added skip.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive 20260908T112826Z red at surveys-healthy (sig 9ea63fb93ac3) fast-lane self-fixed — commit 62f097938765d38e9e20612ad00a9703bf801442 filed and closed #1321 through the close-report gate; checks: targeted (red-first): go test ./internal/clan/ -run TestRenderSurveys_RemoteControlJSONInterfaceIsEnabled -v → FAIL before the fix (surveys_test.go:191: LimeSurvey's RemoteControl JSON-RPC interface must be enabled — the port's own health gate speaks it, and LimeSurvey ships it off (answering an empty 200)), PASS after. package: go test ./internal/clan/ → ok (17.999s), all 11 TestRenderSurveys_* PASS. trees: go test ./internal/... ./control-plane/... → no failures. real-nixpkgs eval smoke: IDSS_EVAL_SMOKE=1 go test ./internal/clan/ -run TestSurveysCohost_EvalSmoke -v → PASS (26.98s) — positive half evaluated the co-hosted gateway to /nix/store/ik6mywa8pbhqxi5kz1annh5sjlk3n5sr-nixos-system-gateway-26.11.20260612.173d0ad.drv, teeth half still fails on the phantom uploadsDir as it should. built-artifact check on that drv: decoded its config.php derivation (g8r8paiis1rhn2aqixvz5lc8wz41rwmw-config.php.drv) → config.config carries RPCInterface = "json", and the API-publishing key is absent. root-cause verified against the pinned package source (realized /nix/store/rs1f1f5smj81i1x4vv2578aqijwd0r4q-source, limesurvey-6.15.14+250924): config-defaults.php:642 = 'off'; RemoteControl.php:39-69 echoes nothing unless xml/json; LSjsonRPCServer.php accepts exactly the request shape surveysRPC sends. go build ./... → clean; gofmt -l internal/clan/ → clean; go vet ./internal/clan/ → clean. Commit shape: 3 files, 18 changed non-test lines (internal/clan/surveys.go 10/0, docs/GOTCHAS.md 8/0), one commit, not pushed; rails self-check → internal/clan/surveys_test.go is additions only (30/0), zero removed lines anywhere in the diff, no removed or edited assertion/expectation, no removed test or leg declaration, no added skip.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260908T112826Z` red at `surveys-healthy` (sig 9ea63fb93ac3) fast-lane self-fixed — commit `62f097938765d38e9e20612ad00a9703bf801442` filed and closed #1321 through the close-report gate; checks: targeted (red-first): `go test ./internal/clan/ -run TestRenderSurveys_RemoteControlJSONInterfaceIsEnabled -v` → FAIL before the fix (`surveys_test.go:191: LimeSurvey's RemoteControl JSON-RPC interface must be enabled — the port's own health gate speaks it, and LimeSurvey ships it off (answering an empty 200)`), PASS after. package: `go test ./internal/clan/` → ok (17.999s), all 11 `TestRenderSurveys_*` PASS. trees: `go test ./internal/... ./control-plane/...` → no failures. real-nixpkgs eval smoke: `IDSS_EVAL_SMOKE=1 go test ./internal/clan/ -run TestSurveysCohost_EvalSmoke -v` → PASS (26.98s) — positive half evaluated the co-hosted gateway to `/nix/store/ik6mywa8pbhqxi5kz1annh5sjlk3n5sr-nixos-system-gateway-26.11.20260612.173d0ad.drv`, teeth half still fails on the phantom `uploadsDir` as it should. built-artifact check on that drv: decoded its `config.php` derivation (`g8r8paiis1rhn2aqixvz5lc8wz41rwmw-config.php.drv`) → `config.config` carries `RPCInterface = "json"`, and the API-publishing key is absent. root-cause verified against the pinned package source (realized `/nix/store/rs1f1f5smj81i1x4vv2578aqijwd0r4q-source`, limesurvey-6.15.14+250924): `config-defaults.php:642` = `'off'`; `RemoteControl.php:39-69` echoes nothing unless xml/json; `LSjsonRPCServer.php` accepts exactly the request shape `surveysRPC` sends. `go build ./...` → clean; `gofmt -l internal/clan/` → clean; `go vet ./internal/clan/` → clean. Commit shape: 3 files, 18 changed non-test lines (`internal/clan/surveys.go` 10/0, `docs/GOTCHAS.md` 8/0), one commit, not pushed; rails self-check → `internal/clan/surveys_test.go` is additions only (30/0), zero removed lines anywhere in the diff, no removed or edited assertion/expectation, no removed test or leg declaration, no added skip.. The drive stays armed; the next tick re-drives.

drive 20260908T112826Z RED — now blocked by: #1322 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260908T112826Z` RED — now blocked by: #1322 (evidence on each). The drive re-fires when the last blocker closes.

drive 20260908T131808Z RED — now blocked by: #1323 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260908T131808Z` RED — now blocked by: #1323 (evidence on each). The drive re-fires when the last blocker closes.

drive 20260908T145808Z RED — now blocked by: #1326 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260908T145808Z` RED — now blocked by: #1326 (evidence on each). The drive re-fires when the last blocker closes.

rehearsal healer: drive 20260908T164009Z red at deploy-surveys (sig 119db33993c0) fast-lane self-fixed — commit f99c325ee195462891408c0bc561d9673636512b filed and closed #1329 through the close-report gate; checks: targeted (red-first): IDSS_EVAL_SMOKE=1 go test ./internal/clan/ -run TestSurveysCohost_EvalSmoke -v → FAIL before the fix (97.65s), reproducing the drive's exact sentence: "The option systemd.services.surveys-brand.environment.PATH' has conflicting definition values" — same 8-package vs 5-package values, at … while evaluating the option systemd.units."surveys-brand.service".text. PASS after (34.88s): toplevel evaluated to /nix/store/8ijby2gkggdy94l6jmcrlshdv1102cy3-nixos-system-gateway-26.11.20260612.173d0ad.drv; "surveys environment guard passed: LIMESURVEY_CONFIG inherited by both oneshots, PATH generated from pathalone"; the #1322 config.config merge guard still passes; the teeth half still fails on the phantomuploadsDiras it should. package:go test ./internal/clan/→ ok (18.4s), all 11TestRenderSurveys_PASS. trees:go test ./internal/... ./control-plane/... → no failures. root cause verified against the pinned nixpkgs source (/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source): nixos/lib/systemd-lib.nix:660definesenvironment.PATH = mkIf (config.path != []) …at normal priority,:708-720 stage2ServiceConfigmkAfter-appends the 5 default packages to every service'spath; nixos/modules/services/web-apps/limesurvey.nix:327-333shows limesurvey-init declares only DBENGINE + LIMESURVEY_CONFIG and nopath, which is why its evaluated environment carries the default-5 PATH the render was copying. go build ./...→ clean;go vet ./internal/clan/→ clean;gofmt -l internal/clan/ → clean. commit shape: 3 files, 25 changed non-test lines (internal/clan/surveys.go20/5;surveys_eval_test.go128/0;surveys_test.go27/2), one commit, not pushed. rails self-check with the lib's own regexes → rule 1 NONE on all three patterns (removed assertion/expectation, removed test/leg declaration, added skip); no.sandcastle/rehearsal-or.forgejo/workflows/` path in the diff.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260908T164009Z` red at `deploy-surveys` (sig 119db33993c0) fast-lane self-fixed — commit `f99c325ee195462891408c0bc561d9673636512b` filed and closed #1329 through the close-report gate; checks: targeted (red-first): `IDSS_EVAL_SMOKE=1 go test ./internal/clan/ -run TestSurveysCohost_EvalSmoke -v` → FAIL before the fix (97.65s), reproducing the drive's exact sentence: "The option `systemd.services.surveys-brand.environment.PATH' has conflicting definition values" — same 8-package vs 5-package values, at `… while evaluating the option systemd.units."surveys-brand.service".text`. PASS after (34.88s): toplevel evaluated to `/nix/store/8ijby2gkggdy94l6jmcrlshdv1102cy3-nixos-system-gateway-26.11.20260612.173d0ad.drv`; "surveys environment guard passed: LIMESURVEY_CONFIG inherited by both oneshots, PATH generated from `path` alone"; the #1322 config.config merge guard still passes; the teeth half still fails on the phantom `uploadsDir` as it should. package: `go test ./internal/clan/` → ok (18.4s), all 11 `TestRenderSurveys_*` PASS. trees: `go test ./internal/... ./control-plane/...` → no failures. root cause verified against the pinned nixpkgs source (`/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source`): `nixos/lib/systemd-lib.nix:660` defines `environment.PATH = mkIf (config.path != []) …` at normal priority, `:708-720` `stage2ServiceConfig` mkAfter-appends the 5 default packages to every service's `path`; `nixos/modules/services/web-apps/limesurvey.nix:327-333` shows limesurvey-init declares only DBENGINE + LIMESURVEY_CONFIG and no `path`, which is why its evaluated environment carries the default-5 PATH the render was copying. `go build ./...` → clean; `go vet ./internal/clan/` → clean; `gofmt -l internal/clan/` → clean. commit shape: 3 files, 25 changed non-test lines (`internal/clan/surveys.go` 20/5; `surveys_eval_test.go` 128/0; `surveys_test.go` 27/2), one commit, not pushed. rails self-check with the lib's own regexes → rule 1 NONE on all three patterns (removed assertion/expectation, removed test/leg declaration, added skip); no `.sandcastle/rehearsal-*` or `.forgejo/workflows/` path in the diff.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive 20260908T180009Z red at surveys-wears-kit (sig 01a1c359036d) fast-lane self-fixed — commit db322c716178fd467a3c85ed3dc6b9fcdad59080 filed and closed #1330 through the close-report gate; checks: targeted (red-first): go test ./internal/clan/ -run TestRenderSurveys_UserThemeRootDirIsTheWritableThemeHome → FAIL before the fix (surveys_test.go:221: config.php must point LimeSurvey's user survey-theme root at the WRITABLE theme home … "(lib.mkDefault { userthemerootdir = \"/var/lib/limesurvey/upload/themes/survey\"; })" missing), PASS after. package: go test ./internal/clan/ → ok (18.2s), all 12 TestRenderSurveys_* PASS. real-nixpkgs eval smoke: IDSS_EVAL_SMOKE=1 go test ./internal/clan/ -run TestSurveysCohost_EvalSmoke -v → PASS (39.4s) — gateway evaluated to /nix/store/qpaky2b6cl5yvyyjl9ncg24jja6z8pxa-nixos-system-gateway-26.11.20260612.173d0ad.drv; the decoded services.limesurvey.config reads "config":{"RPCInterface":"json","config":{"defaultlang":"en"},"defaulttheme":"idss_brand","sitename":"E2E Drive","tempdir":"/var/lib/limesurvey/tmp","uploaddir":"/var/lib/limesurvey/upload","userquestionthemerootdir":"/var/lib/limesurvey/upload/themes/question","userthemerootdir":"/var/lib/limesurvey/upload/themes/survey"} — the new key lands beside nixpkgs' own and the #1322 merge guard still passes; the #1329 PATH guard still passes; the teeth half still fails on the phantom uploadsDir as it should. generated-PHP syntax (the new console guard rides inside a Nix indented string): dumped surveysThemeCommandPHP and ran nix shell nixpkgs#php83 --command php -l → "No syntax errors detected"; the Nix side is proven by the eval smoke itself, which resolved YII_CONSOLE_COMMANDS to a store path. trees: go test ./internal/... → no failures; go test ./control-plane/... → no failures. go build ./... → clean; gofmt -l internal/clan/ → clean; go vet ./internal/clan/ → clean. commit shape: 3 files, 45 changed non-test lines (internal/clan/surveys.go 34/3, docs/GOTCHAS.md 8/0; surveys_test.go 32/0 is a test file), one commit, not pushed. rails self-check: the ENTIRE diff removes exactly three lines, all in product code and all mechanical (renderLimeSurveyDaemon(&b, cfg, pkg) → …, store), its signature, and themeDir := store + "/upload/themes/survey/" + surveysBrandTheme → the shared derivation) — zero removed lines in any test file, no removed or edited assertion/expectation, no removed test or leg declaration, no added skip; no .sandcastle/rehearsal-* or .forgejo/workflows/ path in the diff.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260908T180009Z` red at `surveys-wears-kit` (sig 01a1c359036d) fast-lane self-fixed — commit `db322c716178fd467a3c85ed3dc6b9fcdad59080` filed and closed #1330 through the close-report gate; checks: targeted (red-first): `go test ./internal/clan/ -run TestRenderSurveys_UserThemeRootDirIsTheWritableThemeHome` → FAIL before the fix (`surveys_test.go:221: config.php must point LimeSurvey's user survey-theme root at the WRITABLE theme home … "(lib.mkDefault { userthemerootdir = \"/var/lib/limesurvey/upload/themes/survey\"; })" missing`), PASS after. package: `go test ./internal/clan/` → ok (18.2s), all 12 `TestRenderSurveys_*` PASS. real-nixpkgs eval smoke: `IDSS_EVAL_SMOKE=1 go test ./internal/clan/ -run TestSurveysCohost_EvalSmoke -v` → PASS (39.4s) — gateway evaluated to `/nix/store/qpaky2b6cl5yvyyjl9ncg24jja6z8pxa-nixos-system-gateway-26.11.20260612.173d0ad.drv`; the decoded `services.limesurvey.config` reads `"config":{"RPCInterface":"json","config":{"defaultlang":"en"},"defaulttheme":"idss_brand","sitename":"E2E Drive","tempdir":"/var/lib/limesurvey/tmp","uploaddir":"/var/lib/limesurvey/upload","userquestionthemerootdir":"/var/lib/limesurvey/upload/themes/question","userthemerootdir":"/var/lib/limesurvey/upload/themes/survey"}` — the new key lands beside nixpkgs' own and the #1322 merge guard still passes; the #1329 PATH guard still passes; the teeth half still fails on the phantom `uploadsDir` as it should. generated-PHP syntax (the new console guard rides inside a Nix indented string): dumped `surveysThemeCommandPHP` and ran `nix shell nixpkgs#php83 --command php -l` → "No syntax errors detected"; the Nix side is proven by the eval smoke itself, which resolved `YII_CONSOLE_COMMANDS` to a store path. trees: `go test ./internal/...` → no failures; `go test ./control-plane/...` → no failures. `go build ./...` → clean; `gofmt -l internal/clan/` → clean; `go vet ./internal/clan/` → clean. commit shape: 3 files, 45 changed non-test lines (`internal/clan/surveys.go` 34/3, `docs/GOTCHAS.md` 8/0; `surveys_test.go` 32/0 is a test file), one commit, not pushed. rails self-check: the ENTIRE diff removes exactly three lines, all in product code and all mechanical (`renderLimeSurveyDaemon(&b, cfg, pkg)` → `…, store)`, its signature, and `themeDir := store + "/upload/themes/survey/" + surveysBrandTheme` → the shared derivation) — zero removed lines in any test file, no removed or edited assertion/expectation, no removed test or leg declaration, no added skip; no `.sandcastle/rehearsal-*` or `.forgejo/workflows/` path in the diff.. The drive stays armed; the next tick re-drives.

drive 20260908T193408Z RED — now blocked by: #1331 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260908T193408Z` RED — now blocked by: #1331 (evidence on each). The drive re-fires when the last blocker closes.

rehearsal healer: drive 20260908T225808Z red at document-archive-healthy (sig 132bf7d1dfb0) fast-lane self-fixed — commit e0a0937f0f9691167f227e241aff4f15bd7f7df7 filed and closed #1332 through the close-report gate; checks: targeted (red-first): go test ./control-plane/cmd/control-plane/ -run 'TestPaperlessHealth_(ReRunsAgainstPaperlessRealDeleteSemantics|TrashedLeftoverIsSweptBeforeHandingInANewDocument|FindRidesOutTheIndexCommitLag)' -v → all three FAIL before the fix, reproducing the drive's two sentences verbatim (… took the document in but could not process it (the OCR/consume pipeline failed) ×2, and … cannot be found by searching — the document archive kept nothing findable on the dataset); all three PASS after (2.015s). package: go test ./control-plane/... → ok, control-plane/cmd/control-plane 24.705s, all other packages ok; TestComposeProvision_DocumentArchiveActivatesOnlyOnARealConsumeAndFind PASS in all three subtests (the negative "keeps nothing findable" subtest now takes 16.03s — the honest cost of the bounded find window, and it still reds). regression: TestPaperlessHealth_StaleFixtureDoesNotGreenVacuously (#1169's vacuous-green guard) still PASS. trees: go test ./internal/... → no failures. root cause verified against the realized pinned source /nix/store/91q0r1c79ar72b45w14ax1ky5hnyvlg1-source (paperless-ngx 2.20.15, pyproject.toml:3): src/documents/consumer.py:804-826 pre_check_duplicate queries Document.global_objects and appends the trash note; src/documents/views.py:3207-3242 TrashView with {"action":"empty","documents":[…]} → src/documents/tasks.py:355-374 empty_trash, called inline, a hard delete; src/documents/index.py:139-148 open_index_writer uses AsyncWriter; src/documents/views.py:2665-2670 confirms ?task_id= IS honoured (so the SUCCESS the check read was genuinely its own task, not a stale one). go build ./... → clean; gofmt -l control-plane/ → clean; go vet ./control-plane/... → clean. commit shape: 3 files, 144 changed non-test lines, one commit 8a5d0568, not pushed; working tree clean.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260908T225808Z` red at `document-archive-healthy` (sig 132bf7d1dfb0) fast-lane self-fixed — commit `e0a0937f0f9691167f227e241aff4f15bd7f7df7` filed and closed #1332 through the close-report gate; checks: targeted (red-first): `go test ./control-plane/cmd/control-plane/ -run 'TestPaperlessHealth_(ReRunsAgainstPaperlessRealDeleteSemantics|TrashedLeftoverIsSweptBeforeHandingInANewDocument|FindRidesOutTheIndexCommitLag)' -v` → all three FAIL before the fix, reproducing the drive's two sentences verbatim (`… took the document in but could not process it (the OCR/consume pipeline failed)` ×2, and `… cannot be found by searching — the document archive kept nothing findable on the dataset`); all three PASS after (2.015s). package: `go test ./control-plane/...` → ok, `control-plane/cmd/control-plane` 24.705s, all other packages ok; `TestComposeProvision_DocumentArchiveActivatesOnlyOnARealConsumeAndFind` PASS in all three subtests (the negative "keeps nothing findable" subtest now takes 16.03s — the honest cost of the bounded find window, and it still reds). regression: `TestPaperlessHealth_StaleFixtureDoesNotGreenVacuously` (#1169's vacuous-green guard) still PASS. trees: `go test ./internal/...` → no failures. root cause verified against the realized pinned source `/nix/store/91q0r1c79ar72b45w14ax1ky5hnyvlg1-source` (paperless-ngx 2.20.15, `pyproject.toml:3`): `src/documents/consumer.py:804-826` `pre_check_duplicate` queries `Document.global_objects` and appends the trash note; `src/documents/views.py:3207-3242` `TrashView` with `{"action":"empty","documents":[…]}` → `src/documents/tasks.py:355-374` `empty_trash`, called inline, a hard delete; `src/documents/index.py:139-148` `open_index_writer` uses `AsyncWriter`; `src/documents/views.py:2665-2670` confirms `?task_id=` IS honoured (so the SUCCESS the check read was genuinely its own task, not a stale one). `go build ./...` → clean; `gofmt -l control-plane/` → clean; `go vet ./control-plane/...` → clean. commit shape: 3 files, 144 changed non-test lines, one commit `8a5d0568`, not pushed; working tree clean.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive 20260909T000457Z red at deploy-surveys (sig 119db33993c0) fast-lane self-fixed — commit ae313728fa3b569c3ade8963e489722a617c4874 filed and closed #1333 through the close-report gate; checks: targeted (red-first): go test ./internal/clan/ -run TestRenderSurveys_OneshotsWaitForTheCredentialsWriter → FAIL before the fix (both render sites still emitted after = [ "limesurvey-init.service" "httpd.service" ];), PASS after (0.004s). package: go test ./internal/clan/ → ok 18.9s. real-nixpkgs eval smoke: IDSS_EVAL_SMOKE=1 go test ./internal/clan/ -run TestSurveysCohost_EvalSmoke -v → PASS (36.8s); gateway evaluated to a toplevel drv, and the new unit-file guard read the GENERATED units back: limesurvey-admin.service credentials-readiness gate present: After=limesurvey-init.service phpfpm-limesurvey.service httpd.service and the same for surveys-brand.service — so the edge survives module merging, not just the render. The pre-existing guards in that smoke all still pass: the #1329 PATH guard (PATH generated from path alone), the #1322 config.config merge guard (nixpkgs' uploaddir/tempdir/userquestionthemerootdir survive beside the port's RPCInterface/userthemerootdir/sitename/defaulttheme), and the teeth half still fails on the phantom uploadsDir as it should. root cause verified against the pinned nixpkgs source /nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/nixos/modules/services/web-apps/limesurvey.nix: :55-56 config.php file_get_contents the nonce+key from $CREDENTIALS_DIRECTORY; :393-398 phpfpm-limesurvey ExecStartPre is the sole writer into ${stateDir}/credentials; :437 the tmpfiles rule creates that dir empty; :329 limesurvey-init is before = [ "phpfpm-limesurvey.service" ]. trees: go test ./internal/... → no failures; go test ./control-plane/... → no failures. go build ./... → clean; gofmt -l internal/clan/ → clean; go vet ./internal/clan/ → clean. commit shape: 3 files, 30 changed non-test lines (internal/clan/surveys.go 28/2; surveys_eval_test.go 32/0 and surveys_test.go 27/0 are test files), one commit 9889d49b, not pushed, working tree clean. rails self-check: removed lines in the ENTIRE diff are exactly two — both the identical b.WriteString(" after = [ …limesurvey-init… httpd… ];\n") render calls in product code — so no removed assertion/expectation, no removed test or leg declaration, no added skip (t.Skip/.skip(), zero removed lines in any test file; no .sandcastle/rehearsal-* or .forgejo/workflows/ path in the diff.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260909T000457Z` red at `deploy-surveys` (sig 119db33993c0) fast-lane self-fixed — commit `ae313728fa3b569c3ade8963e489722a617c4874` filed and closed #1333 through the close-report gate; checks: targeted (red-first): `go test ./internal/clan/ -run TestRenderSurveys_OneshotsWaitForTheCredentialsWriter` → FAIL before the fix (both render sites still emitted `after = [ "limesurvey-init.service" "httpd.service" ];`), PASS after (0.004s). package: `go test ./internal/clan/` → ok 18.9s. real-nixpkgs eval smoke: `IDSS_EVAL_SMOKE=1 go test ./internal/clan/ -run TestSurveysCohost_EvalSmoke -v` → PASS (36.8s); gateway evaluated to a toplevel drv, and the new unit-file guard read the GENERATED units back: `limesurvey-admin.service credentials-readiness gate present: After=limesurvey-init.service phpfpm-limesurvey.service httpd.service` and the same for `surveys-brand.service` — so the edge survives module merging, not just the render. The pre-existing guards in that smoke all still pass: the #1329 PATH guard (`PATH generated from `path` alone`), the #1322 `config.config` merge guard (nixpkgs' `uploaddir`/`tempdir`/`userquestionthemerootdir` survive beside the port's `RPCInterface`/`userthemerootdir`/`sitename`/`defaulttheme`), and the teeth half still fails on the phantom `uploadsDir` as it should. root cause verified against the pinned nixpkgs source `/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/nixos/modules/services/web-apps/limesurvey.nix`: `:55-56` config.php file_get_contents the nonce+key from `$CREDENTIALS_DIRECTORY`; `:393-398` `phpfpm-limesurvey` ExecStartPre is the sole writer into `${stateDir}/credentials`; `:437` the tmpfiles rule creates that dir empty; `:329` `limesurvey-init` is `before = [ "phpfpm-limesurvey.service" ]`. trees: `go test ./internal/...` → no failures; `go test ./control-plane/...` → no failures. `go build ./...` → clean; `gofmt -l internal/clan/` → clean; `go vet ./internal/clan/` → clean. commit shape: 3 files, 30 changed non-test lines (`internal/clan/surveys.go` 28/2; `surveys_eval_test.go` 32/0 and `surveys_test.go` 27/0 are test files), one commit `9889d49b`, not pushed, working tree clean. rails self-check: removed lines in the ENTIRE diff are exactly two — both the identical `b.WriteString(" after = [ …limesurvey-init… httpd… ];\n")` render calls in product code — so no removed assertion/expectation, no removed test or leg declaration, no added skip (`t.Skip`/`.skip(`), zero removed lines in any test file; no `.sandcastle/rehearsal-*` or `.forgejo/workflows/` path in the diff.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive 20260909T005911Z red at data-collections-wears-kit (sig 3c9fda7664a0) self-fixed — commit 5ff939f289075289cd0cb7375b02b0b4f7a5ed0c (9 files changed, 191 insertions(+), 27 deletions(-)); checks: targeted (red-first): pnpm --filter app exec vitest run tests/e2e/fixtures/brandreach.test.ts → 2 failed | 19 passed before the fix (the new data-collections is read as the OWNER pins: opts.bearer/extraHTTPHeaders/Bearer ${opts.bearer} absent from assertServiceWearsKit, and svc.slug === 'data-collections' / the mint-store path absent from the live spec), 21 passed after (15ms). The pre-existing pins all still hold — notably fetchThroughDoor(page still occurs exactly 3× in assertServiceWearsKit (no new Node-side read, GOTCHAS #184) and page.request still absent. package: pnpm --filter app run build (vue-tsc -p tsconfig.json) → clean; node app/scripts/run-unit-tests.mjs → 113 test files / 1440 tests passed, plus the 3 rendererBuild tests. pnpm exec eslint on all three changed files → clean. prettier: all three files were already --check-warned on origin/main before my edits (verified by stashing) — unchanged by this commit, not reformatted so the diff stays small. commit shape: 3 files, 76 insertions / 3 deletions, one commit fb7a48f1, not pushed, working tree clean. rails self-check: the ENTIRE diff removes exactly three lines, all plumbing — assertServiceWearsKit's opts type, its browser.newContext({ ignoreHTTPSErrors: true }) call, and the { auth } argument at the call site — so no removed or edited assertion/expectation, no removed test/leg declaration, no added skip, zero removed lines in any test file; every file is under app/tests/ (harness/fixtures — no internal/ or app/src/ product surface), and no .sandcastle/rehearsal-* or .forgejo/workflows/ path is touched.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260909T005911Z` red at `data-collections-wears-kit` (sig 3c9fda7664a0) self-fixed — commit `5ff939f289075289cd0cb7375b02b0b4f7a5ed0c` (9 files changed, 191 insertions(+), 27 deletions(-)); checks: targeted (red-first): `pnpm --filter app exec vitest run tests/e2e/fixtures/brandreach.test.ts` → 2 failed | 19 passed before the fix (the new `data-collections is read as the OWNER` pins: `opts.bearer`/`extraHTTPHeaders`/`Bearer ${opts.bearer}` absent from `assertServiceWearsKit`, and `svc.slug === 'data-collections'` / the mint-store path absent from the live spec), 21 passed after (15ms). The pre-existing pins all still hold — notably `fetchThroughDoor(page` still occurs exactly 3× in `assertServiceWearsKit` (no new Node-side read, GOTCHAS #184) and `page.request` still absent. package: `pnpm --filter app run build` (vue-tsc -p tsconfig.json) → clean; `node app/scripts/run-unit-tests.mjs` → 113 test files / 1440 tests passed, plus the 3 rendererBuild tests. `pnpm exec eslint` on all three changed files → clean. prettier: all three files were already `--check`-warned on `origin/main` before my edits (verified by stashing) — unchanged by this commit, not reformatted so the diff stays small. commit shape: 3 files, 76 insertions / 3 deletions, one commit `fb7a48f1`, not pushed, working tree clean. rails self-check: the ENTIRE diff removes exactly three lines, all plumbing — `assertServiceWearsKit`'s `opts` type, its `browser.newContext({ ignoreHTTPSErrors: true })` call, and the `{ auth }` argument at the call site — so no removed or edited assertion/expectation, no removed test/leg declaration, no added skip, zero removed lines in any test file; every file is under `app/tests/` (harness/fixtures — no `internal/` or `app/src/` product surface), and no `.sandcastle/rehearsal-*` or `.forgejo/workflows/` path is touched.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive 20260909T020728Z red at data-collections-wears-kit (sig 3c9fda7664a0) self-fixed — commit c0da2f3670d3b7c873621878ad3bacfbda9b812f (3 files changed, 131 insertions(+), 8 deletions(-)); checks: targeted (red-first): pnpm --filter app exec vitest run tests/e2e/fixtures/brandreach.test.ts → 5 failed | 21 passed BEFORE the fix (the new pins: the applied custom.css ref must win over grist-core's stock icon CSS, a relative ref must resolve against its own document not the door root, a colourless surface like Paperless must keep the natural order, null when nothing is referenced, and the source pin that assertServiceWearsKit drives through pickLogoRef( with no new URL(ref, door)); 26 passed AFTER (12ms). The pre-existing pins all still hold — fetchThroughDoor(page still occurs exactly 3× in assertServiceWearsKit (GOTCHAS #184), page.request still absent, the bearer/extraHTTPHeaders pins from the previous heal, and findLogoRef's own three cases unchanged. package: pnpm --filter app run build (vue-tsc -p tsconfig.json) → clean; node scripts/run-unit-tests.mjs from the app package root → 113 test files / 1445 tests passed (the 1440 baseline + my 5), plus the 3 isolated rendererBuild tests. pnpm exec eslint on both changed .ts files → clean. commit shape: 3 files, 73 changed non-test lines (brandreach.ts 66, GOTCHAS.md 7; brandreach.test.ts is a test file), one commit 52a4ad43, not pushed, working tree clean. rails self-check: the ENTIRE diff removes exactly 8 lines, all plumbing inside assertServiceWearsKit (the cssTexts/extraTexts accumulators becoming cssDocs/extraDocs, the findLogoRef call and the door-root resolve) — no removed or edited assertion/expectation, no removed test or leg declaration, no added skip, ZERO removed lines in any test file; both code files are under app/tests/ (harness/fixtures — no internal/ or app/src/ product surface), and no .sandcastle/rehearsal-* or .forgejo/workflows/ path is touched. What the check PROVES is unchanged: data-collections' ruled token set (DDR 0225 {name:false,accent:true,logo:true}) and logoFetched's "OK with real bytes" bar both stand — only which reference the check drives through, and against what base, changed.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260909T020728Z` red at `data-collections-wears-kit` (sig 3c9fda7664a0) self-fixed — commit `c0da2f3670d3b7c873621878ad3bacfbda9b812f` (3 files changed, 131 insertions(+), 8 deletions(-)); checks: targeted (red-first): `pnpm --filter app exec vitest run tests/e2e/fixtures/brandreach.test.ts` → 5 failed | 21 passed BEFORE the fix (the new pins: the applied custom.css ref must win over grist-core's stock icon CSS, a relative ref must resolve against its own document not the door root, a colourless surface like Paperless must keep the natural order, null when nothing is referenced, and the source pin that assertServiceWearsKit drives through `pickLogoRef(` with no `new URL(ref, door)`); 26 passed AFTER (12ms). The pre-existing pins all still hold — `fetchThroughDoor(page` still occurs exactly 3× in `assertServiceWearsKit` (GOTCHAS #184), `page.request` still absent, the bearer/extraHTTPHeaders pins from the previous heal, and findLogoRef's own three cases unchanged. package: `pnpm --filter app run build` (vue-tsc -p tsconfig.json) → clean; `node scripts/run-unit-tests.mjs` from the app package root → 113 test files / 1445 tests passed (the 1440 baseline + my 5), plus the 3 isolated rendererBuild tests. `pnpm exec eslint` on both changed .ts files → clean. commit shape: 3 files, 73 changed non-test lines (brandreach.ts 66, GOTCHAS.md 7; brandreach.test.ts is a test file), one commit `52a4ad43`, not pushed, working tree clean. rails self-check: the ENTIRE diff removes exactly 8 lines, all plumbing inside `assertServiceWearsKit` (the `cssTexts`/`extraTexts` accumulators becoming `cssDocs`/`extraDocs`, the findLogoRef call and the door-root resolve) — no removed or edited assertion/expectation, no removed test or leg declaration, no added skip, ZERO removed lines in any test file; both code files are under `app/tests/` (harness/fixtures — no `internal/` or `app/src/` product surface), and no `.sandcastle/rehearsal-*` or `.forgejo/workflows/` path is touched. What the check PROVES is unchanged: data-collections' ruled token set (DDR 0225 `{name:false,accent:true,logo:true}`) and `logoFetched`'s "OK with real bytes" bar both stand — only which reference the check drives through, and against what base, changed.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive 20260909T031934Z red at deploy-newsletters (sig c0e72bdf0dd5) self-fixed — commit 08b6d2b2402a2768d9451398a144b502f952b2d7 (6 files changed, 259 insertions(+), 57 deletions(-)); checks: targeted (red-first): pnpm --filter app exec vitest run tests/e2e/fixtures/provision.test.ts → 4 failed | 27 passed BEFORE the fix (formatDeployStall/isTargetClosedError absent), 31 passed AFTER (10ms). package: pnpm --filter app run build (vue-tsc -p tsconfig.json) → clean; pnpm --filter app exec node scripts/run-unit-tests.mjs → 113 test files / 1450 tests passed (the 1445 baseline + my 5), plus the 3 isolated rendererBuild tests. pnpm --filter app exec eslint on both changed .ts files → exit 0. prettier: both files were ALREADY --check-warned on HEAD before my edits (verified against git show HEAD: copies) — unchanged by this commit, not reformatted so the diff stays small. commit shape: 3 files, 193 insertions / 55 deletions of which 64 insertions are in the test file, one commit a5ec128a, not pushed, working tree clean. rails self-check: 53 removed lines in the ENTIRE diff, ZERO in any test file, and zero of them match expect(/assert/require./t.Fatal/t.Error/toBe/toEqual/func Test/it(/test(/describe(/.skip — every removal is the old poll body being re-indented into the try block or the end-of-loop bar read being lifted into readDeployBarState; zero added .skip/.only; both code files are under app/tests/ (harness fixtures — no internal/ or app/src/ product surface); no .sandcastle/rehearsal-* or .forgejo/workflows/ path in the diff. What the check PROVES is unchanged: it still returns only on [data-field="active"], still throws on the ADR 0027 deploy-failure frame and the SetupSurface setup-error frame with their verbatim text, and still throws on budget elapse with the identical message.. The session also named a residual fault — it is being filed and will block the drive.

rehearsal healer: drive `20260909T031934Z` red at `deploy-newsletters` (sig c0e72bdf0dd5) self-fixed — commit `08b6d2b2402a2768d9451398a144b502f952b2d7` (6 files changed, 259 insertions(+), 57 deletions(-)); checks: targeted (red-first): `pnpm --filter app exec vitest run tests/e2e/fixtures/provision.test.ts` → 4 failed | 27 passed BEFORE the fix (formatDeployStall/isTargetClosedError absent), 31 passed AFTER (10ms). package: `pnpm --filter app run build` (vue-tsc -p tsconfig.json) → clean; `pnpm --filter app exec node scripts/run-unit-tests.mjs` → 113 test files / 1450 tests passed (the 1445 baseline + my 5), plus the 3 isolated rendererBuild tests. `pnpm --filter app exec eslint` on both changed .ts files → exit 0. prettier: both files were ALREADY --check-warned on HEAD before my edits (verified against `git show HEAD:` copies) — unchanged by this commit, not reformatted so the diff stays small. commit shape: 3 files, 193 insertions / 55 deletions of which 64 insertions are in the test file, one commit a5ec128a, not pushed, working tree clean. rails self-check: 53 removed lines in the ENTIRE diff, ZERO in any test file, and zero of them match expect(/assert/require./t.Fatal/t.Error/toBe/toEqual/func Test/it(/test(/describe(/.skip — every removal is the old poll body being re-indented into the try block or the end-of-loop bar read being lifted into readDeployBarState; zero added .skip/.only; both code files are under app/tests/ (harness fixtures — no internal/ or app/src/ product surface); no .sandcastle/rehearsal-* or .forgejo/workflows/ path in the diff. What the check PROVES is unchanged: it still returns only on [data-field="active"], still throws on the ADR 0027 deploy-failure frame and the SetupSurface setup-error frame with their verbatim text, and still throws on budget elapse with the identical message.. The session also named a residual fault — it is being filed and will block the drive.

drive 20260909T031934Z RED — now blocked by: #1348 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260909T031934Z` RED — now blocked by: #1348 (evidence on each). The drive re-fires when the last blocker closes.

drive 20260909T061808Z RED — now blocked by: #1310 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260909T061808Z` RED — now blocked by: #1310 (evidence on each). The drive re-fires when the last blocker closes.

rehearsal healer: drive 20260909T134009Z red at newsletters-wears-kit (sig 1c728f5612b3) fast-lane self-fixed — commit f08c46a0c3ae32fdc56a5471165b8ff3c0d016a4 filed and closed #1357 through the close-report gate; checks: targeted (red-first): go test ./internal/clan/ -run TestRenderNewsletters_ReconcilersGateOnListmonkServing → FAIL before the fix (no retry loop, no loud-failure message, the || exit 0 swallow still rendered, brand unordered against newsletters-smtp); go test ./internal/clan/ -run TestRenderNewsletters → ok after (all 9 newsletters render tests, including the 8 pre-existing ones, unchanged and passing). package: go test ./internal/clan/ → ok 18.016s; go vet ./internal/clan/ → clean; gofmt -l on both changed files → clean. whole tree: go build ./... → clean and go test ./... → every package ok, no failures. commit shape: 2 files, 97 insertions / 8 deletions, of which 54/8 are non-test (internal/clan/newsletters.go); one commit 069070a9, not pushed, working tree clean. rails self-check: all 8 removed lines are in newsletters.go and are plumbing only — the two current=$(curl …) || exit 0 GET lines, one after = [ "listmonk.service" ]; render line, and four comment-render lines; ZERO removed lines in any test file (newsletters_test.go is +43/-0), none matching expect(/assert/require./t.Fatal/t.Error/toBe/toEqual/func Test/it(/test(/describe(/.skip; no skip added; 2 files and 54 non-test changed lines, under the cap; no .sandcastle/rehearsal-* or .forgejo/workflows/ path touched.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260909T134009Z` red at `newsletters-wears-kit` (sig 1c728f5612b3) fast-lane self-fixed — commit `f08c46a0c3ae32fdc56a5471165b8ff3c0d016a4` filed and closed #1357 through the close-report gate; checks: targeted (red-first): `go test ./internal/clan/ -run TestRenderNewsletters_ReconcilersGateOnListmonkServing` → FAIL before the fix (no retry loop, no loud-failure message, the `|| exit 0` swallow still rendered, brand unordered against newsletters-smtp); `go test ./internal/clan/ -run TestRenderNewsletters` → ok after (all 9 newsletters render tests, including the 8 pre-existing ones, unchanged and passing). package: `go test ./internal/clan/` → ok 18.016s; `go vet ./internal/clan/` → clean; `gofmt -l` on both changed files → clean. whole tree: `go build ./...` → clean and `go test ./...` → every package ok, no failures. commit shape: 2 files, 97 insertions / 8 deletions, of which 54/8 are non-test (internal/clan/newsletters.go); one commit 069070a9, not pushed, working tree clean. rails self-check: all 8 removed lines are in newsletters.go and are plumbing only — the two `current=$(curl …) || exit 0` GET lines, one `after = [ "listmonk.service" ];` render line, and four comment-render lines; ZERO removed lines in any test file (newsletters_test.go is +43/-0), none matching expect(/assert/require./t.Fatal/t.Error/toBe/toEqual/func Test/it(/test(/describe(/.skip; no skip added; 2 files and 54 non-test changed lines, under the cap; no `.sandcastle/rehearsal-*` or `.forgejo/workflows/` path touched.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive 20260909T201808Z red at deploy-archive (sig 5401f695e3a1) fast-lane self-fixed — commit bdef7f92a5ca7268385d0b36135a358b851c486c filed and closed #1358 through the close-report gate; checks: targeted (red-first): go test ./internal/clan/ -run TestRenderArchive_ElevatePrivilegesIsInstallNotReady → FAIL before the fix (the pattern is in neither the readiness poll's nor the mint's keep-waiting arm); go test ./internal/clan/ -run TestRenderArchive → ok 0.008s after, all pre-existing TestRenderArchive_* tests (including _MintRidesItsOwnReadinessGate, _ReadinessPollTreatsMissingContainerAsNotReady, _PrivatePathAdminEmailIsValidatorSafe) unchanged and passing. package: go test ./internal/clan/ → ok 18.580s; go vet ./internal/clan/ → clean; gofmt -l on both changed .go files → clean. whole tree: go build ./... → clean; go test ./... → every package ok, zero failures. commit shape: 3 files, 86 insertions / 6 deletions, of which 53/6 are non-test (internal/clan/archive.go 15/6, docs/GOTCHAS.md 38/0 — archive_test.go is +33/-0 and a test file); one commit 52fd25b7, not pushed, working tree clean. rails self-check: all 6 removed lines are in archive.go — four comment-render b.WriteString("# …") lines and the two case arm lines, each re-added with one extra glob; ZERO removed lines in any test file; none of the 6 match expect(/assert/require./t.Fatal/t.Error/toBe/toEqual/func Test/it(/test(/describe(/.skip; zero added .skip/.only/t.Skip; 3 files and 53 non-test changed lines, under the cap; no .sandcastle/rehearsal-* or .forgejo/workflows/ path touched.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260909T201808Z` red at `deploy-archive` (sig 5401f695e3a1) fast-lane self-fixed — commit `bdef7f92a5ca7268385d0b36135a358b851c486c` filed and closed #1358 through the close-report gate; checks: targeted (red-first): `go test ./internal/clan/ -run TestRenderArchive_ElevatePrivilegesIsInstallNotReady` → FAIL before the fix (the pattern is in neither the readiness poll's nor the mint's keep-waiting arm); `go test ./internal/clan/ -run TestRenderArchive` → ok 0.008s after, all pre-existing TestRenderArchive_* tests (including `_MintRidesItsOwnReadinessGate`, `_ReadinessPollTreatsMissingContainerAsNotReady`, `_PrivatePathAdminEmailIsValidatorSafe`) unchanged and passing. package: `go test ./internal/clan/` → ok 18.580s; `go vet ./internal/clan/` → clean; `gofmt -l` on both changed .go files → clean. whole tree: `go build ./...` → clean; `go test ./...` → every package ok, zero failures. commit shape: 3 files, 86 insertions / 6 deletions, of which 53/6 are non-test (internal/clan/archive.go 15/6, docs/GOTCHAS.md 38/0 — archive_test.go is +33/-0 and a test file); one commit 52fd25b7, not pushed, working tree clean. rails self-check: all 6 removed lines are in archive.go — four comment-render `b.WriteString("# …")` lines and the two `case` arm lines, each re-added with one extra glob; ZERO removed lines in any test file; none of the 6 match expect(/assert/require./t.Fatal/t.Error/toBe/toEqual/func Test/it(/test(/describe(/.skip; zero added .skip/.only/t.Skip; 3 files and 53 non-test changed lines, under the cap; no `.sandcastle/rehearsal-*` or `.forgejo/workflows/` path touched.. The drive stays armed; the next tick re-drives.

drive 20260909T205006Z GREEN end to end — founding-prefix: founded (the full founding ran) — snapshot key 2ca7d364032157b6 ≠ current 363e961010ee5f32 — product bits drifted since capture (GOTCHAS #92), founding in full; 39/39 legs green — evidence (legs.json, durations, trace, host facts) in test-results/private-path/20260909T205006Z/ on the executor host; a representative screenshot is attached here if one was captured (#596). Closing per the standing instructions: the local-guest journey passes, #183 is ready to be boring.

drive `20260909T205006Z` GREEN end to end — founding-prefix: founded (the full founding ran) — snapshot key 2ca7d364032157b6 ≠ current 363e961010ee5f32 — product bits drifted since capture (GOTCHAS #92), founding in full; 39/39 legs green — evidence (legs.json, durations, trace, host facts) in `test-results/private-path/20260909T205006Z/` on the executor host; a representative screenshot is attached here if one was captured (#596). Closing per the standing instructions: the local-guest journey passes, #183 is ready to be boring.
Author
Owner

Evidence re-run for the per-leg frames (GOTCHAS #218, 38e545a5) — proven: hand fire 20260910T125710Z (pinned 9a7bd645, archive cycle only, ADR 0221 debug — never a close), 9/9 green, 23 min. artifacts/legs/: 26 frames, 8 of them <leg>-dash.png, 9 distinct images by md5 (the closing run: 3 distinct in 78). The dash frames show the legs acting — the S4 deploy bar, the S5 archive card healthy, the Omeka door wearing the kit, the post-remove panel — and the ACTIVITY box populated (#1360, proven in the same frames).

The first attempt at this fire (20260910T124023Z, HEAD 765ec32e) redded at founding-prefix › S12 — the Portal batch's #1366 re-shaped S12 and the private-path prefix had not followed: #1374, landed 150d4abe. A HEAD fire is running to prove that.

**Evidence re-run for the per-leg frames (GOTCHAS #218, `38e545a5`) — proven:** hand fire `20260910T125710Z` (pinned `9a7bd645`, archive cycle only, ADR 0221 debug — never a close), 9/9 green, 23 min. `artifacts/legs/`: 26 frames, 8 of them `<leg>-dash.png`, **9 distinct images** by md5 (the closing run: 3 distinct in 78). The dash frames show the legs acting — the S4 deploy bar, the S5 archive card healthy, the Omeka door wearing the kit, the post-remove panel — and the ACTIVITY box populated (#1360, proven in the same frames). The first attempt at this fire (`20260910T124023Z`, HEAD `765ec32e`) redded at `founding-prefix › S12` — the Portal batch's #1366 re-shaped S12 and the private-path prefix had not followed: #1374, landed `150d4abe`. A HEAD fire is running to prove that.

drive 20260911T213650Z RED — now blocked by: #1401 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260911T213650Z` RED — now blocked by: #1401 (evidence on each). The drive re-fires when the last blocker closes.

rehearsal healer: drive 20260911T215059Z red at supply (sig 404124947736) fast-lane self-fixed — commit 74f92a9dcbecb5d469998b5c446dcabc7d6eee0a filed and closed #1402 through the close-report gate; checks: targeted (red-first): GOWORK=… go test ./internal/fleetwire/ -run TestSupplySeed_BestEffortSeedsShareOneDeadline -count=5 → FAIL ×5 on the unfixed supply.go ("the best-effort seeds ran under SEPARATE envelopes — vm-guest's deadline is 125.104µs / 49.447µs / 63.943µs / 62.666µs / 64.135µs after installer-base's"); with the fix → ok, and -count=20 → ok 0.009s (no flake). package: go test ./internal/fleetwire/ → ok 0.482s (all 40 supply tests, including the two pre-existing per-seed deadline rails, unchanged and passing); go vet ./internal/fleetwire/ → clean; gofmt -l on both changed .go files → clean. whole tree: go build ./... → clean; go test ./... → every package ok, zero failures. commit shape: 3 files, 147 insertions / 41 deletions, of which 115/41 are non-test (internal/fleetwire/supply.go 63/41, docs/GOTCHAS.md 11/0 — supply_test.go is +73/-0 and a test file); one commit 16aa06cb, not pushed, working tree clean. rails self-check: all 41 removed lines are in supply.go and are comment-prose or the two seedCtx, cancel := context.WithTimeout(ctx, s.seedTimeout) / defer cancel() pairs plus the two function signatures and the two call sites; ZERO removed lines in supply_test.go or GOTCHAS.md; none of the 41 match expect(/assert/require./t.Fatal/t.Error/toBe/toEqual/func Test/it(/test(/describe(/.skip/t.Skip; zero added .skip/.only/t.Skip; 3 files and 115 non-test changed lines, under the cap; no .sandcastle/rehearsal-* or .forgejo/workflows/ path touched.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260911T215059Z` red at `supply` (sig 404124947736) fast-lane self-fixed — commit `74f92a9dcbecb5d469998b5c446dcabc7d6eee0a` filed and closed #1402 through the close-report gate; checks: targeted (red-first): `GOWORK=… go test ./internal/fleetwire/ -run TestSupplySeed_BestEffortSeedsShareOneDeadline -count=5` → FAIL ×5 on the unfixed supply.go ("the best-effort seeds ran under SEPARATE envelopes — vm-guest's deadline is 125.104µs / 49.447µs / 63.943µs / 62.666µs / 64.135µs after installer-base's"); with the fix → ok, and `-count=20` → ok 0.009s (no flake). package: `go test ./internal/fleetwire/` → ok 0.482s (all 40 supply tests, including the two pre-existing per-seed deadline rails, unchanged and passing); `go vet ./internal/fleetwire/` → clean; `gofmt -l` on both changed .go files → clean. whole tree: `go build ./...` → clean; `go test ./...` → every package ok, zero failures. commit shape: 3 files, 147 insertions / 41 deletions, of which 115/41 are non-test (internal/fleetwire/supply.go 63/41, docs/GOTCHAS.md 11/0 — supply_test.go is +73/-0 and a test file); one commit 16aa06cb, not pushed, working tree clean. rails self-check: all 41 removed lines are in supply.go and are comment-prose or the two `seedCtx, cancel := context.WithTimeout(ctx, s.seedTimeout)` / `defer cancel()` pairs plus the two function signatures and the two call sites; ZERO removed lines in supply_test.go or GOTCHAS.md; none of the 41 match expect(/assert/require./t.Fatal/t.Error/toBe/toEqual/func Test/it(/test(/describe(/.skip/t.Skip; zero added .skip/.only/t.Skip; 3 files and 115 non-test changed lines, under the cap; no `.sandcastle/rehearsal-*` or `.forgejo/workflows/` path touched.. The drive stays armed; the next tick re-drives.
ben reopened this issue 2026-09-18 18:31:01 +00:00
Author
Owner

Reopened 2026-09-18 for ONE re-prove at HEAD (64d57870) — Ben asked for the Services-tab Uninstall (#1590) to be drive-tested before it is called done.

What changed in this drive since the 39/39 close: #1590 (42c2d3ba) swapped the FIRST cycle's remove-archive leg for uninstall-from-card-archive — the catalogue card's own Uninstall door (the install dialog run backwards → POST …/uninstall → the same deploy), with the same on-the-guest proof (expectServiceGoneFromGuest, #1351). The other six cycles keep the change-journey remove-<slug> legs. #1591 (5d04d69e) scoped the removal-ordering guard to the leg body. #1589 (771736b3) also rewired the removal loop in deployServicesOnly, so every remove-<slug> leg is re-proving changed code too.

Green bar is unchanged: every leg green by LEG LIST, zero skips, and eyeball the frames (md5sum legs/*.png | sort -u | wc -l, GOTCHAS #218). The leg to read first is uninstall-from-card-archive.

Not covered by this drive, recorded so nobody reads a green here as proving it: #1589's Document editing / Calendar & contacts removals — neither slug is in this walk.

**Reopened 2026-09-18 for ONE re-prove at HEAD (`64d57870`) — Ben asked for the Services-tab Uninstall (#1590) to be drive-tested before it is called done.** What changed in this drive since the 39/39 close: #1590 (`42c2d3ba`) swapped the FIRST cycle's `remove-archive` leg for **`uninstall-from-card-archive`** — the catalogue card's own Uninstall door (the install dialog run backwards → `POST …/uninstall` → the same deploy), with the same on-the-guest proof (`expectServiceGoneFromGuest`, #1351). The other six cycles keep the change-journey `remove-<slug>` legs. #1591 (`5d04d69e`) scoped the removal-ordering guard to the leg body. #1589 (`771736b3`) also rewired the removal loop in `deployServicesOnly`, so every `remove-<slug>` leg is re-proving changed code too. Green bar is unchanged: every leg green by LEG LIST, zero skips, and eyeball the frames (`md5sum legs/*.png | sort -u | wc -l`, GOTCHAS #218). The leg to read first is `uninstall-from-card-archive`. Not covered by this drive, recorded so nobody reads a green here as proving it: #1589's Document editing / Calendar & contacts removals — neither slug is in this walk.

drive 20260918T183207Z RED — now blocked by: #1598 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260918T183207Z` RED — now blocked by: #1598 (evidence on each). The drive re-fires when the last blocker closes.

drive 20260918T191007Z RED — now blocked by: #1600 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260918T191007Z` RED — now blocked by: #1600 (evidence on each). The drive re-fires when the last blocker closes.
Author
Owner

Session read of drive 20260918T193207Z — 35 green, red at deploy-video. The reason this drive was reopened is PROVEN; the red is a different arc's first live contact.

Proven live (the #1590 / #1589 / #1598 / #1600 question):

  • founding-prefix green (#1598's fix) and operator-session green in 4 s (#1600's fix — the first time the control panel AT THE APEX, behind the gate, has been driven on the private path; ADR 0247 was unproven live there).
  • uninstall-from-card-archive green, 59 s — the card's own Uninstall door → the dialog → POST …/uninstall → the deploy → the card back to Install, with the on-the-guest module check. Frame eyeballed: Community archive sits in INSTALLABLE wearing Install, no RUNNING badge; distinct image, the live guest's own brand.
  • remove-document-archive, remove-whakapapa, remove-surveys, remove-data-collections, remove-newsletters all green — five change-journey removals through #1589's rewired removed loop.

The red — peertube-oidc.service (#1544, the video port's community sign-in). This is its FIRST live deploy anywhere: the roles proof (#1547) places files/archive/document-archive/whakapapa/… + newsletters and never video, and the last brand-reach green (09-09) predates #1544 (09-16).

What the journal shows:

  1. First unit run (~20:36→20:42:36): every one of the 60 tries ends curl: (22) … 404. The kanidm half succeeds each time (Login Success, six Success). The only call in provision_video_oidc that can 404 after a good token is the last one — PUT /api/v1/plugins/peertube-plugin-auth-openid-connect/settings — i.e. the plugin is not installed. Why is unknowable from this run: the install call is … >/dev/null 2>&1 || true (internal/clan/video.go, renderVideoOIDC), so PeerTube's own refusal is thrown away.
  2. Second unit run (20:42:41→20:49:19): every try ends 429 on POST /api/v1/users/token (PeerTube's access log, plus one from Go-http-client — the control plane's video health check logs in too). The retried body re-logs-in to PeerTube on EVERY try, 5 s apart; PeerTube's login rate limit (15 per 5 min by default) locks it out after ~75 s, and from then on the loop cannot succeed even if the plugin appeared. The 429 is self-inflicted and masks the 404.
  3. No OOM (guest-resources.log: peertube 263 MB RSS, no oom-kill lines). PeerTube here is the native NixOS services.peertube, not a container.

Three defects, in the order I'd fix them:

  • Swallowed install error — capture the install's status + body; treat only "already installed" as benign; print anything else. Without this the next fire reds identically and teaches nothing.
  • Login inside the retried body — mint the PeerTube token ONCE (its own short, 429-aware wait), then retry only install + settings with it.
  • Suspected root cause (unproven): PeerTube's API install shells out to its package manager and writes into its plugins dir at runtime; under the NixOS module that is exactly the thing services.peertube.plugins exists to replace (declarative plugin packages, no runtime npm). If nixpkgs at the pin packages peertube-plugin-auth-openid-connect, the install call should go entirely and only the settings PUT remain. Needs one nix eval on the pinned nixpkgs to confirm.

Harvest gap (harness): guest-system-journal.log kept 503 lines — it starts at 20:48:53, so the whole first unit run (the 404 phase) was already gone. A 15-minute deploy needs a per-unit harvest for peertube + peertube-oidc like the other ports have (guest-grampsweb.log, guest-omeka-*.log).

**Session read of drive `20260918T193207Z` — 35 green, red at `deploy-video`. The reason this drive was reopened is PROVEN; the red is a different arc's first live contact.** **Proven live (the #1590 / #1589 / #1598 / #1600 question):** - `founding-prefix` green (#1598's fix) and `operator-session` green in 4 s (#1600's fix — the first time the control panel AT THE APEX, behind the gate, has been driven on the private path; ADR 0247 was unproven live there). - **`uninstall-from-card-archive` green, 59 s** — the card's own Uninstall door → the dialog → `POST …/uninstall` → the deploy → the card back to Install, with the on-the-guest module check. Frame eyeballed: Community archive sits in INSTALLABLE wearing Install, no RUNNING badge; distinct image, the live guest's own brand. - `remove-document-archive`, `remove-whakapapa`, `remove-surveys`, `remove-data-collections`, `remove-newsletters` all green — five change-journey removals through #1589's rewired `removed` loop. **The red — `peertube-oidc.service` (#1544, the video port's community sign-in). This is its FIRST live deploy anywhere:** the roles proof (#1547) places files/archive/document-archive/whakapapa/… + newsletters and never `video`, and the last brand-reach green (09-09) predates #1544 (09-16). What the journal shows: 1. First unit run (~20:36→20:42:36): every one of the 60 tries ends `curl: (22) … 404`. The kanidm half succeeds each time (`Login Success`, six `Success`). The only call in `provision_video_oidc` that can 404 after a good token is the last one — `PUT /api/v1/plugins/peertube-plugin-auth-openid-connect/settings` — i.e. **the plugin is not installed**. Why is unknowable from this run: the install call is `… >/dev/null 2>&1 || true` (`internal/clan/video.go`, `renderVideoOIDC`), so PeerTube's own refusal is thrown away. 2. Second unit run (20:42:41→20:49:19): every try ends **429** on `POST /api/v1/users/token` (PeerTube's access log, plus one from `Go-http-client` — the control plane's video health check logs in too). The retried body re-logs-in to PeerTube on EVERY try, 5 s apart; PeerTube's login rate limit (15 per 5 min by default) locks it out after ~75 s, and from then on the loop cannot succeed even if the plugin appeared. The 429 is self-inflicted and masks the 404. 3. No OOM (`guest-resources.log`: peertube 263 MB RSS, no oom-kill lines). PeerTube here is the native NixOS `services.peertube`, not a container. **Three defects, in the order I'd fix them:** - **Swallowed install error** — capture the install's status + body; treat only "already installed" as benign; print anything else. Without this the next fire reds identically and teaches nothing. - **Login inside the retried body** — mint the PeerTube token ONCE (its own short, 429-aware wait), then retry only install + settings with it. - **Suspected root cause (unproven):** PeerTube's API install shells out to its package manager and writes into its plugins dir at runtime; under the NixOS module that is exactly the thing `services.peertube.plugins` exists to replace (declarative plugin packages, no runtime npm). If nixpkgs at the pin packages `peertube-plugin-auth-openid-connect`, the install call should go entirely and only the settings PUT remain. Needs one `nix eval` on the pinned nixpkgs to confirm. **Harvest gap (harness):** `guest-system-journal.log` kept 503 lines — it starts at 20:48:53, so the whole first unit run (the 404 phase) was already gone. A 15-minute deploy needs a per-unit harvest for `peertube` + `peertube-oidc` like the other ports have (`guest-grampsweb.log`, `guest-omeka-*.log`).

drive 20260918T193207Z RED — now blocked by: #1606 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260918T193207Z` RED — now blocked by: #1606 (evidence on each). The drive re-fires when the last blocker closes.
Author
Owner

Correction to my suspected root cause, checked against the pin (nix eval on nixpkgs 50ab7937): the only PeerTube attrs are peertube (6.3.3) and peertube-viewer — no peertube-plugin-* is packaged, so there is no declarative plugin to switch to without vendoring the npm package as our own derivation. The runtime API install therefore has to work, and on 6.3.3 that means PeerTube shelling out to yarn inside its storage dir with network access, under the NixOS unit's hardening. Which of those it lacks is exactly what the swallowed install response would have said — so defect 1 (print the install's status + body) is the first fix, and it decides the rest. Still unproven; nobody should build on a guess here.

**Correction to my suspected root cause, checked against the pin** (`nix eval` on nixpkgs `50ab7937`): the only PeerTube attrs are `peertube` (**6.3.3**) and `peertube-viewer` — **no `peertube-plugin-*` is packaged**, so there is no declarative plugin to switch to without vendoring the npm package as our own derivation. The runtime API install therefore has to work, and on 6.3.3 that means PeerTube shelling out to `yarn` inside its storage dir with network access, under the NixOS unit's hardening. Which of those it lacks is exactly what the swallowed install response would have said — so defect 1 (print the install's status + body) is the first fix, and it decides the rest. Still unproven; nobody should build on a guess here.

drive 20260918T211407Z RED — now blocked by: #1616 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260918T211407Z` RED — now blocked by: #1616 (evidence on each). The drive re-fires when the last blocker closes.

drive 20260919T004408Z RED — now blocked by: #1616 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260919T004408Z` RED — now blocked by: #1616 (evidence on each). The drive re-fires when the last blocker closes.

drive 20260919T035808Z GREEN end to end — founding-prefix: founded (the full founding ran) — snapshot key 23a62bfaa82fbdbc ≠ current a8d2a675a4167201 — product bits drifted since capture (GOTCHAS #92), founding in full; 39/39 legs green — evidence (legs.json, durations, trace, host facts) in test-results/private-path/20260919T035808Z/ on the executor host; a representative screenshot is attached here if one was captured (#596). Closing per the standing instructions: the local-guest journey passes, #183 is ready to be boring.

drive `20260919T035808Z` GREEN end to end — founding-prefix: founded (the full founding ran) — snapshot key 23a62bfaa82fbdbc ≠ current a8d2a675a4167201 — product bits drifted since capture (GOTCHAS #92), founding in full; 39/39 legs green — evidence (legs.json, durations, trace, host facts) in `test-results/private-path/20260919T035808Z/` on the executor host; a representative screenshot is attached here if one was captured (#596). Closing per the standing instructions: the local-guest journey passes, #183 is ready to be boring.
ben reopened this issue 2026-09-20 21:22:08 +00:00
Author
Owner

drive 20260920T223233Z GREEN end to end — 39/39 legs, zero skips, commit a13f8b2c, run BY HAND on bens-mac-04 (Ben's call; elitebook-03 was busy with an IDIP drive, so no executor/reporter ran — leg list and frames read in session). Carried the #1647 / ADR 0263 re-proof: evidence on #1647. Closing; reopening arms another fire on whichever host queues it.

drive `20260920T223233Z` GREEN end to end — 39/39 legs, zero skips, commit `a13f8b2c`, run BY HAND on `bens-mac-04` (Ben's call; elitebook-03 was busy with an IDIP drive, so no executor/reporter ran — leg list and frames read in session). Carried the #1647 / ADR 0263 re-proof: evidence on #1647. Closing; reopening arms another fire on whichever host queues it.
ben closed this issue 2026-09-20 23:32:55 +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.

Depends on
Reference
Matou/idss#1277
No description provided.