deploy-whakapapa: the Gramps Web owner is never bootstrapped — grampsweb-admin swallows its own failure with || true, so whakapapa-brand 403s on every token POST and reds the switch at exit 4 #1311

Closed
opened 2026-09-08 01:30:05 +00:00 by matou-build-agent · 3 comments

The failure

Drive 20260908T003210Z (target brands, commit a7292d8b) went red at deploy-whakapapa after 1141s — the whakapapa port's first contact (head commit a7292d8b puts newsletters second-to-last so the four untested ports get driven). All 15 prior legs green (artifacts/legs.json, artifacts/verdict.json).

whakapapa-brand.service is the only failed unit on the box:

● whakapapa-brand.service loaded failed failed Apply the community brand kit to the running Gramps Web (whakapapa port, DDR 0225)

(logs/guest-failed-units.log)

It is what killed the switch — the masked-exit classifier correctly named the remote switch-to-configuration exit 4 as the cause and the 502/ssh as the consequence.

Evidence

The unit dies in its token-acquisition loop, internal/clan/whakapapa.go:507-519:

Sep 08 01:21:41 gateway whakapapa-brand-start[16278]: curl: (22) The requested URL returned error: 403
Sep 08 01:21:43 gateway whakapapa-brand-start[16290]: curl: (22) The requested URL returned error: 403
… (2s cadence — the loop's `sleep 2`, whakapapa.go:514)
Sep 08 01:21:51 gateway systemd[1]: Failed to start Apply the community brand kit to the running Gramps Web …

Twice — once per clean-retry switch (01:21:41-51, 01:22:46-56).

The app is up and answering. curl exit 22 under -fsS means an HTTP response ≥400 was actually received; a dead container would give exit 7 (connection refused). So Gramps Web's gunicorn is serving on 127.0.0.1:8085 and is rejecting the owner credentials on POST /api/token/.

Password drift is impossible. grampsweb-admin (whakapapa.go:435) and whakapapa-brand (whakapapa.go:487) both EnvironmentFile the same whakapapa-secrets generator path, whose single GRAMPSWEB_OWNER_PASSWORD is minted once (internal/clan/portsecrets.go:84-95, openssl rand -base64 24 → [A-Za-z0-9+/], no shell- or systemd-hostile characters). Both units read one value.

Therefore the owner account was never created, and the unit that should have created it reported success anyway:

// internal/clan/whakapapa.go:443-444
b.WriteString("      echo \"$pass\" | ${pkgs.podman}/bin/podman exec -i grampsweb \\\n")
b.WriteString("        gramps-web user add \"$user\" --fullname \"IDSS owner\" --role owner --tree \"$tree\" || true\n")

The || true swallows every failure mode, and the unit is Type=oneshot + RemainAfterExit=true, so it latches active-and-successful forever. There is no readiness gate between podman-grampsweb.service reporting started (whakapapa.go:429-430 — after/requires only, which for an oci-container unit means "podman run has been spawned", not "gunicorn is serving") and the podman exec.

The render's own comments concede this path was never verified: "The exact non-interactive CLI invocation is confirmed by the deferred clan-lab drive" (whakapapa.go:417-419). This drive is that first contact, and it says the invocation does not work.

The established precedent this port skipped

The archive port solved exactly this class at internal/clan/archive.go:565-590: wait for the container's own CLI to answer, to a 300s ceiling, treating podman rc-125 transients as keep-waiting, then fail loud rather than fabricate success (ADR 0100, GOTCHAS #177). grampsweb-admin has neither the wait nor the loud failure.

Candidate causes the run cannot distinguish between

All are consistent with a 403 from a serving app, and the evidence does not separate them:

  1. Readiness race — the podman exec fires before the container's entrypoint has initialised the user DB / created the tree on first start; the exec fails, || true eats it.
  2. Wrong CLI invocation for the pinned digest — gramps-web user add argument/option shape (notably whether --role takes a name or an integer, whether --tree takes the tree name Whakapapa or a tree id, and whether the password is read from stdin at all rather than as a positional argument or a repeated prompt) against ghcr.io/gramps-project/grampsweb@sha256:d37a3e5af… (whakapapa.go:97). The 2026-09-04 theming research (docs/research/2026-09-04-catalogue-service-theming-capability.md:179-213) documents the PUT wire from primary sources but never the user-add CLI — that half was assumed.

Second defect, proven outright: the celery worker crash-loops

Independent of the 403 and definitively shown by the journal — the celery container's environment block omits GRAMPSWEB_TREE, which the app container sets at whakapapa.go:299:

// internal/clan/whakapapa.go:326-329 — celery: broker + result_backend only, no GRAMPSWEB_TREE
Sep 08 01:23:16 gateway grampsweb-celery[18550]:   File "/app/src/gramps_webapi/app.py", line 127, in create_app
Sep 08 01:23:16 gateway grampsweb-celery[18550]:     raise ValueError(f"{option} must be specified")
Sep 08 01:23:16 gateway grampsweb-celery[18550]: ValueError: TREE must be specified
Sep 08 01:23:17 gateway systemd[1]: podman-grampsweb-celery.service: Scheduled restart job, restart counter is at 20.

(logs/guest-system-journal.log:9-14, 61-81)

The search-index and media worker has never run on this port. It never reaches failed state (it restarts forever), so it is invisible to systemctl --failed and no leg catches it.

Third defect: the whakapapa port harvests no evidence

The reason cause (1) cannot be told from cause (2) is that guestCollectors (app/tests/e2e/fixtures/evidence.ts:392-497) collects per-unit journals for the files port (guest-nextcloud-setup, guest-nextcloud-brand, guest-files-oidc, guest-phpfpm) and the archive port (guest-omeka-reconcile, guest-omeka-container, guest-archive-keystore) but nothing for whakapapa — no grampsweb-admin, no whakapapa-brand, no podman-grampsweb*. This is precisely the #1255 class (which added guest-omeka-container for the same reason) and the #1285 class, unrepeated for a port the drive now exercises. The unscoped guest-system-journal tail only reaches back to 01:23:12 — 90 seconds after the failure — so it caught the celery loop and missed the 403 entirely.

Suspected layer

internal/clan/whakapapa.go — the port's out-of-band reconciler (ADR 0062 part 2) and its celery container declaration; plus app/tests/e2e/fixtures/evidence.ts for the harvest gap.

Proposed work

  1. Verify the real gramps-web user add invocation against the pinned digest on a clan-lab drive (/clan-lab), the way #1255 confirmed omeka-s-cli's actual output shape against its pinned digest. Record the finding in the research doc beside the PUT wire.
  2. Gate grampsweb-admin on readiness and make it fail loud — adopt the archive.go:565-590 shape: poll until Gramps Web's own CLI/API answers, to a ceiling, treating podman rc-125 as keep-waiting; then run the user-add and let a genuine failure red the deploy rather than latch a phantom success. Deleting the || true at whakapapa.go:444 is the crux: today a broken bootstrap is indistinguishable from a working one until the brand oneshot 403s 60 seconds later.
  3. Add GRAMPSWEB_TREE to the celery container (whakapapa.go:326-329), matching :299, and add a render/golden assertion that both containers carry it.
  4. Add whakapapa collectors to the harvest — grampsweb-admin, whakapapa-brand, podman-grampsweb/-celery/-redis — in evidence.ts:392-497, extending the frozen contract list at app/tests/e2e/fixtures/evidence.test.ts:242-262. Without this the next drive is blind again.

Why the healer refused

Rule 1 (would weaken a check). The red is a real product defect, not a harness slip: Gramps Web genuinely rejects the sign-in because the owner identity is genuinely absent. The only in-lane way to green it would be to soften the brand oneshot's token check at whakapapa.go:516-519 — the forbidden cheap green. Separately, closing the harvest gap (item 4) requires editing the frozen expect(...).toEqual([...]) collector list at evidence.test.ts:242-262, which rule 1 names explicitly.

Rule 3 / not fast-lane-able. The correct fix lives in internal/clan/whakapapa.go (product surface), and it is not a confident two-way repair: the true cause is unpinned between a readiness race and a wrong CLI invocation, and neither can be proven on this workstation — there is no container runtime, no Gramps Web image and no reachable network for the pinned digest here (artifacts/host.json shows local qemu VM mode, qemu-system-x86_64 ENOENT on the host path). A render test would only assert the emitted text, never that the fix repairs the red. Per the fast-lane rule, a fix I cannot test here is not a fast-lane fix.

Evidence absent from the run directory

droplet-journal.txt and a top-level error-context.md do not exist — expected, this drive is VM-mode (artifacts/host.json payloadMode: /home/swarm/swarm/rehearsal-payload), not a droplet. The error-context.md under artifacts/provision-brands.live-bran-08f5b-…/ is Playwright's spec-source listing and unrelated to this red. logs/state-logs.log records ENOENT for state/logs. No guest-grampsweb* log exists — that is defect 3 above, not a collection accident.

drive 20260908T003210Z red at deploy-whakapapa: deploy failed (clean-retry): provision: deploy gateway: clan: deploy failed on 1 node(s): gateway: clan: masked_exit on gateway: clan reported success but the log shows a real failure: the remote swit
evidence: /home/swarm/swarm/Matou/idss/test-results/private-path/20260908T003210Z on matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was captured

## The failure Drive `20260908T003210Z` (target `brands`, commit `a7292d8b`) went red at `deploy-whakapapa` after 1141s — the whakapapa port's **first contact** (head commit a7292d8b puts newsletters second-to-last so the four untested ports get driven). All 15 prior legs green (`artifacts/legs.json`, `artifacts/verdict.json`). `whakapapa-brand.service` is the **only** failed unit on the box: ``` ● whakapapa-brand.service loaded failed failed Apply the community brand kit to the running Gramps Web (whakapapa port, DDR 0225) ``` (`logs/guest-failed-units.log`) It is what killed the switch — the masked-exit classifier correctly named the remote `switch-to-configuration` exit 4 as the cause and the 502/ssh as the consequence. ## Evidence The unit dies in its token-acquisition loop, `internal/clan/whakapapa.go:507-519`: ``` Sep 08 01:21:41 gateway whakapapa-brand-start[16278]: curl: (22) The requested URL returned error: 403 Sep 08 01:21:43 gateway whakapapa-brand-start[16290]: curl: (22) The requested URL returned error: 403 … (2s cadence — the loop's `sleep 2`, whakapapa.go:514) Sep 08 01:21:51 gateway systemd[1]: Failed to start Apply the community brand kit to the running Gramps Web … ``` Twice — once per clean-retry switch (01:21:41-51, 01:22:46-56). **The app is up and answering.** `curl` exit 22 under `-fsS` means an HTTP response ≥400 was actually received; a dead container would give exit 7 (connection refused). So Gramps Web's gunicorn is serving on `127.0.0.1:8085` and is **rejecting the owner credentials** on `POST /api/token/`. **Password drift is impossible.** `grampsweb-admin` (`whakapapa.go:435`) and `whakapapa-brand` (`whakapapa.go:487`) both `EnvironmentFile` the *same* `whakapapa-secrets` generator path, whose single `GRAMPSWEB_OWNER_PASSWORD` is minted once (`internal/clan/portsecrets.go:84-95`, `openssl rand -base64 24` → `[A-Za-z0-9+/]`, no shell- or systemd-hostile characters). Both units read one value. **Therefore the owner account was never created**, and the unit that should have created it reported success anyway: ```go // internal/clan/whakapapa.go:443-444 b.WriteString(" echo \"$pass\" | ${pkgs.podman}/bin/podman exec -i grampsweb \\\n") b.WriteString(" gramps-web user add \"$user\" --fullname \"IDSS owner\" --role owner --tree \"$tree\" || true\n") ``` The `|| true` swallows every failure mode, and the unit is `Type=oneshot` + `RemainAfterExit=true`, so it latches active-and-successful forever. There is **no readiness gate** between `podman-grampsweb.service` reporting started (`whakapapa.go:429-430` — `after`/`requires` only, which for an oci-container unit means "podman run has been spawned", not "gunicorn is serving") and the `podman exec`. The render's own comments concede this path was never verified: "The exact non-interactive CLI invocation is confirmed by the deferred clan-lab drive" (`whakapapa.go:417-419`). This drive **is** that first contact, and it says the invocation does not work. ### The established precedent this port skipped The archive port solved exactly this class at `internal/clan/archive.go:565-590`: wait for the container's own CLI to answer, to a 300s ceiling, treating podman rc-125 transients as keep-waiting, then **fail loud** rather than fabricate success (ADR 0100, GOTCHAS #177). `grampsweb-admin` has neither the wait nor the loud failure. ### Candidate causes the run cannot distinguish between All are consistent with a 403 from a serving app, and the evidence does not separate them: 1. **Readiness race** — the `podman exec` fires before the container's entrypoint has initialised the user DB / created the tree on first start; the exec fails, `|| true` eats it. 2. **Wrong CLI invocation for the pinned digest** — `gramps-web user add` argument/option shape (notably whether `--role` takes a name or an integer, whether `--tree` takes the tree *name* `Whakapapa` or a tree *id*, and whether the password is read from stdin at all rather than as a positional argument or a repeated prompt) against `ghcr.io/gramps-project/grampsweb@sha256:d37a3e5af…` (`whakapapa.go:97`). The 2026-09-04 theming research (`docs/research/2026-09-04-catalogue-service-theming-capability.md:179-213`) documents the *PUT* wire from primary sources but never the user-add CLI — that half was assumed. ## Second defect, proven outright: the celery worker crash-loops Independent of the 403 and definitively shown by the journal — the celery container's `environment` block omits `GRAMPSWEB_TREE`, which the app container sets at `whakapapa.go:299`: ```go // internal/clan/whakapapa.go:326-329 — celery: broker + result_backend only, no GRAMPSWEB_TREE ``` ``` Sep 08 01:23:16 gateway grampsweb-celery[18550]: File "/app/src/gramps_webapi/app.py", line 127, in create_app Sep 08 01:23:16 gateway grampsweb-celery[18550]: raise ValueError(f"{option} must be specified") Sep 08 01:23:16 gateway grampsweb-celery[18550]: ValueError: TREE must be specified Sep 08 01:23:17 gateway systemd[1]: podman-grampsweb-celery.service: Scheduled restart job, restart counter is at 20. ``` (`logs/guest-system-journal.log:9-14, 61-81`) The search-index and media worker has never run on this port. It never reaches `failed` state (it restarts forever), so it is invisible to `systemctl --failed` and no leg catches it. ## Third defect: the whakapapa port harvests no evidence The reason cause (1) cannot be told from cause (2) is that `guestCollectors` (`app/tests/e2e/fixtures/evidence.ts:392-497`) collects per-unit journals for the files port (`guest-nextcloud-setup`, `guest-nextcloud-brand`, `guest-files-oidc`, `guest-phpfpm`) and the archive port (`guest-omeka-reconcile`, `guest-omeka-container`, `guest-archive-keystore`) but **nothing** for whakapapa — no `grampsweb-admin`, no `whakapapa-brand`, no `podman-grampsweb*`. This is precisely the #1255 class (which added `guest-omeka-container` for the same reason) and the #1285 class, unrepeated for a port the drive now exercises. The unscoped `guest-system-journal` tail only reaches back to 01:23:12 — 90 seconds *after* the failure — so it caught the celery loop and missed the 403 entirely. ## Suspected layer `internal/clan/whakapapa.go` — the port's out-of-band reconciler (ADR 0062 part 2) and its celery container declaration; plus `app/tests/e2e/fixtures/evidence.ts` for the harvest gap. ## Proposed work 1. **Verify the real `gramps-web user add` invocation** against the pinned digest on a clan-lab drive (`/clan-lab`), the way #1255 confirmed `omeka-s-cli`'s actual output shape against its pinned digest. Record the finding in the research doc beside the PUT wire. 2. **Gate `grampsweb-admin` on readiness and make it fail loud** — adopt the `archive.go:565-590` shape: poll until Gramps Web's own CLI/API answers, to a ceiling, treating podman rc-125 as keep-waiting; then run the user-add and let a genuine failure red the deploy rather than latch a phantom success. Deleting the `|| true` at `whakapapa.go:444` is the crux: today a broken bootstrap is indistinguishable from a working one until the brand oneshot 403s 60 seconds later. 3. **Add `GRAMPSWEB_TREE` to the celery container** (`whakapapa.go:326-329`), matching `:299`, and add a render/golden assertion that both containers carry it. 4. **Add whakapapa collectors to the harvest** — `grampsweb-admin`, `whakapapa-brand`, `podman-grampsweb`/`-celery`/`-redis` — in `evidence.ts:392-497`, extending the frozen contract list at `app/tests/e2e/fixtures/evidence.test.ts:242-262`. Without this the next drive is blind again. ## Why the healer refused **Rule 1 (would weaken a check).** The red is a real product defect, not a harness slip: Gramps Web genuinely rejects the sign-in because the owner identity is genuinely absent. The only in-lane way to green it would be to soften the brand oneshot's token check at `whakapapa.go:516-519` — the forbidden cheap green. Separately, closing the harvest gap (item 4) requires editing the frozen `expect(...).toEqual([...])` collector list at `evidence.test.ts:242-262`, which rule 1 names explicitly. **Rule 3 / not fast-lane-able.** The correct fix lives in `internal/clan/whakapapa.go` (product surface), and it is not a *confident* two-way repair: the true cause is unpinned between a readiness race and a wrong CLI invocation, and neither can be proven on this workstation — there is no container runtime, no Gramps Web image and no reachable network for the pinned digest here (`artifacts/host.json` shows local qemu VM mode, `qemu-system-x86_64 ENOENT` on the host path). A render test would only assert the emitted text, never that the fix repairs the red. Per the fast-lane rule, a fix I cannot test here is not a fast-lane fix. ## Evidence absent from the run directory `droplet-journal.txt` and a top-level `error-context.md` do not exist — expected, this drive is VM-mode (`artifacts/host.json` `payloadMode: /home/swarm/swarm/rehearsal-payload`), not a droplet. The `error-context.md` under `artifacts/provision-brands.live-bran-08f5b-…/` is Playwright's spec-source listing and unrelated to this red. `logs/state-logs.log` records `ENOENT` for `state/logs`. No `guest-grampsweb*` log exists — that is defect 3 above, not a collection accident. drive `20260908T003210Z` red at `deploy-whakapapa`: `deploy failed (clean-retry): provision: deploy gateway: clan: deploy failed on 1 node(s): gateway: clan: masked_exit on gateway: clan reported success but the log shows a real failure: the remote swit` evidence: `/home/swarm/swarm/Matou/idss/test-results/private-path/20260908T003210Z` on matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was captured <!-- rehearsal-sig: fbc98d27174f -->
Owner

Ruled + landed 3a2645a2 — closing. Cause (2) is proven from gramps_webapi/__main__.py: user add NAME PASSWORD are positional (stdin ignored), --role is an integer (ROLE_OWNER = 4 — owner is a click type error), --tree wants a tree ID single-tree mode doesn't need, and there is no gramps-web script (the CLI is python3 -m gramps_webapi). Every part of the old invocation was wrong; || true hid it.

All four proposed items landed: (1) CLI contract recorded in the research doc beside the PUT wire; (2) grampsweb-admin gated on POST /api/token/ (000 wait / 200 present / else create), real invocation, re-probe, exit 1 on anything but 200 — no || true; (3) GRAMPSWEB_TREE on the celery worker (pin counts it on both containers); (4) guest-grampsweb collector (all five units), frozen list re-pinned. GOTCHAS #187.

Rules 1+3 refusal was right. Two-way under ADR 0174 — Ben: veto anytime. Next fire is the proof (and whakapapa-healthy / whakapapa-wears-kit are first contact behind it).

**Ruled + landed `3a2645a2` — closing.** Cause (2) is proven from `gramps_webapi/__main__.py`: `user add NAME PASSWORD` are positional (stdin ignored), `--role` is an integer (ROLE_OWNER = 4 — `owner` is a click type error), `--tree` wants a tree ID single-tree mode doesn't need, and there is no `gramps-web` script (the CLI is `python3 -m gramps_webapi`). Every part of the old invocation was wrong; `|| true` hid it. All four proposed items landed: (1) CLI contract recorded in the research doc beside the PUT wire; (2) `grampsweb-admin` gated on `POST /api/token/` (000 wait / 200 present / else create), real invocation, re-probe, exit 1 on anything but 200 — no `|| true`; (3) `GRAMPSWEB_TREE` on the celery worker (pin counts it on both containers); (4) `guest-grampsweb` collector (all five units), frozen list re-pinned. GOTCHAS #187. Rules 1+3 refusal was right. Two-way under ADR 0174 — Ben: veto anytime. Next fire is the proof (and `whakapapa-healthy` / `whakapapa-wears-kit` are first contact behind it).
ben closed this issue 2026-09-08 01:38:01 +00:00
Author
Member

Ruled by agent under ADR 0174 — veto anytime.

The decision: item 1 proposed verifying the gramps-web user add invocation on a paid clan-lab drive. I ruled that source-verification against the pinned image's contemporary gramps-web-api substitutes for the --help drive here, because the drive would only confirm a fact the upstream source states precisely.

The finding (decisive — this was NOT an unpinned readiness-vs-CLI question; it was a wrong CLI, four ways): verified against gramps-web-api v3.13.1 (the release nearest the deployed grampsweb:26.5.2 image's 2026-05-17 build), the render's echo "$pass" | podman exec -i grampsweb gramps-web user add "$user" --role owner --tree "$tree" || true was wrong on every axis:

  1. No gramps-web console script. pyproject.toml declares no [project.scripts]; the image's Dockerfile installs the package with no wrapper. Documented invocation is python3 -m gramps_webapi (gramps-web-docs/install_setup/users.md).
  2. Password is a required POSITIONAL arg, never stdin — @click.argument("password", required=True) (gramps_webapi/__main__.py). The echo | -i pipe fed a value the CLI never reads.
  3. --role is type=int; ROLE_OWNER = 4 (auth/const.py). --role owner is a click parse error.
  4. --tree takes a tree ID, not the name, and is omitted in single-tree mode.

Any one fails the exec; || true swallowed all four, so no owner was ever created — the 403 the drive saw was the genuine, correct rejection of a sign-in for a non-existent account.

Why this is a two-way door: the fix is a revertible render change plus an evidence-harvest addition. It is proven now by the render/evidence seam tests, and the LIVE green is the next brands drive's whakapapa first contact (the head-commit reorder already front-loads the four untested ports). No credential, security-posture widening, member-facing trust accept, data destruction, or non-routine spend — running the clan-lab drive would have been the spend; source-verification avoids it.

What proves it: internal/clan/whakapapa_test.go (TestRenderWhakapapa_OwnerBootstrapUsesTheRealCLI, _FailsLoud, _CeleryCarriesTheTree), app/tests/e2e/fixtures/evidence.test.ts (frozen collector contract), and the next drive's deploy-whakapapa leg + the three new whakapapa journals.

Also fixed here: the celery worker's missing GRAMPSWEB_TREE crash-loop (defect 2) and the harvest blindness (defect 3). Finding recorded in docs/research/2026-09-04-catalogue-service-theming-capability.md § 4 and GOTCHAS #187.

**Ruled by agent under ADR 0174 — veto anytime.** **The decision:** item 1 proposed verifying the `gramps-web user add` invocation on a paid clan-lab drive. I ruled that source-verification against the pinned image's *contemporary* gramps-web-api substitutes for the `--help` drive here, because the drive would only confirm a fact the upstream source states precisely. **The finding (decisive — this was NOT an unpinned readiness-vs-CLI question; it was a wrong CLI, four ways):** verified against **gramps-web-api v3.13.1** (the release nearest the deployed `grampsweb:26.5.2` image's 2026-05-17 build), the render's `echo "$pass" | podman exec -i grampsweb gramps-web user add "$user" --role owner --tree "$tree" || true` was wrong on every axis: 1. **No `gramps-web` console script.** `pyproject.toml` declares no `[project.scripts]`; the image's Dockerfile installs the package with no wrapper. Documented invocation is `python3 -m gramps_webapi` (`gramps-web-docs/install_setup/users.md`). 2. **Password is a required POSITIONAL arg, never stdin** — `@click.argument("password", required=True)` (`gramps_webapi/__main__.py`). The `echo | -i` pipe fed a value the CLI never reads. 3. **`--role` is `type=int`; `ROLE_OWNER = 4`** (`auth/const.py`). `--role owner` is a click parse error. 4. **`--tree` takes a tree ID, not the name**, and is omitted in single-tree mode. Any one fails the exec; `|| true` swallowed all four, so no owner was ever created — the 403 the drive saw was the genuine, correct rejection of a sign-in for a non-existent account. **Why this is a two-way door:** the fix is a revertible render change plus an evidence-harvest addition. It is proven now by the render/evidence seam tests, and the LIVE green is the next `brands` drive's whakapapa first contact (the head-commit reorder already front-loads the four untested ports). No credential, security-posture widening, member-facing trust accept, data destruction, or non-routine spend — running the clan-lab drive would have been the spend; source-verification avoids it. **What proves it:** `internal/clan/whakapapa_test.go` (`TestRenderWhakapapa_OwnerBootstrapUsesTheRealCLI`, `_FailsLoud`, `_CeleryCarriesTheTree`), `app/tests/e2e/fixtures/evidence.test.ts` (frozen collector contract), and the next drive's `deploy-whakapapa` leg + the three new whakapapa journals. Also fixed here: the celery worker's missing `GRAMPSWEB_TREE` crash-loop (defect 2) and the harvest blindness (defect 3). Finding recorded in `docs/research/2026-09-04-catalogue-service-theming-capability.md` § 4 and GOTCHAS #187.
Author
Member

This ticket was already fixed and closed on main by commit 3a2645a2 (fix(clan,e2e): Gramps Web owner bootstrap uses the real CLI shape …) while this run was in flight — same root cause and same fix set (real python3 -m gramps_webapi user add CLI with positional password + --role 4, celery GRAMPSWEB_TREE, whakapapa harvest collectors, GOTCHAS #187). No further code change is needed; releasing the swarm claim. The ADR-0174 ruling comment above stands as an independent source-verification of the CLI shape against gramps-web-api v3.13.1, corroborating the landed fix.

This ticket was already fixed and closed on `main` by commit `3a2645a2` (`fix(clan,e2e): Gramps Web owner bootstrap uses the real CLI shape …`) while this run was in flight — same root cause and same fix set (real `python3 -m gramps_webapi user add` CLI with positional password + `--role 4`, celery `GRAMPSWEB_TREE`, whakapapa harvest collectors, GOTCHAS #187). No further code change is needed; releasing the swarm claim. The ADR-0174 ruling comment above stands as an independent source-verification of the CLI shape against gramps-web-api v3.13.1, corroborating the landed fix.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#1311
No description provided.