subwave: 152 SUB/WAVE, written from the live Guest #2

Merged
pit merged 2 commits from wave1/152-subwave into main 2026-12-02 11:58:07 +00:00
Owner

Summary

152 SUB/WAVE, written from the live Guest: the second host in infra-media, and the first Docker one.

 infra-media/
+├── subwave/
+│   ├── guest/              152's Stack: one state record, prevent_destroy on
+│   └── service/            Docker at pinned versions, the upstream compose stack
+├── docs/
+│   ├── guest-subwave.md    what the live Guest answered, and the import sequence
+│   ├── service-subwave.md  the six services, the twelve `.env` names, what the play does not own
+│   ├── runbook-subwave.md  the state, the secrets, the rebuild, the archive
+│   └── reference/state.md  now two records, one per Stack
+├── bao/recipients/         hermes and runner role_ids (public halves; make env needs them)
+├── Makefile                HOST=navidrome|subwave, per-host dirs, prod walks HOSTS
+└── env.map  .env.example   the second state record's names

The Guest's values are pct config 152: 4 cores, 6144 MiB, 2048 swap, 32 GiB on fast-storage, 10.12.0.152/24 on vmbr1, gateway 10.12.0.1, nameserver 10.12.0.110, nesting=1,keyctl=1, onboot, Europe/Madrid, and no mount — the station reaches 117 navidrome over the LAN.

The service is the upstream stack, not a fork of it: caddy on 7700, broadcast (Icecast + Liquidsoap), controller, web, the heavy analyzer at mem_limit 4g, and the read-only Docker socket proxy. Docker comes from Docker's apt repository at the five versions dpkg-query reports on 152.

The Makefile change is also a fix: the pilot's deploy Targets referenced GUEST_DIR, SERVICE_DIR, PLAYBOOK and INVENTORY, and the file never defined them, so make guest-plan would cd into an empty path. They are per-HOST now, prod walks HOSTS in order, and a bare deploy Target refuses instead of silently acting on navidrome.

Evidence

  • Before: 152 exists only as hand-built state on duku — pct config 152 is the only declaration, and a rebuild is an archaeology exercise.
    After: every value in subwave/guest/ is a line of that output, recorded with its reading in docs/guest-subwave.md; a field-by-field comparison matched all 16 attributes the config reports.
tofu fmt -check                                  clean
tofu validate (2 Stacks)                         Success! The configuration is valid.
ansible-playbook --syntax-check site.yml         clean
ansible-playbook --syntax-check verify.yml       clean
make check                                       env pin ok · 6 names declared · formatting clean

Two byte comparisons, not assertions:

File Bytes sha256
/opt/subwave/docker-compose.yml (committed as files/docker-compose.yml) 19,273 023e7f99d2fcb7cf8c521893f8428dfda96de618cfcfdc9124ecb573abfee68e
/opt/subwave/.env (rendered from env.j2 with the live values) 366 01abb0dda143a391693fbd77020af41527fa197aad4e0f7405558f962eaaa6c8

The six container image IDs are pinned in verify.yml, so a rebuild that pulls a moved tag reds the check rather than quietly changing the station. The tier-3 restore point exists: vzdump-lxc-152-2026_12_02-05_14_29.tar.zst, 7,041,949,476 bytes on synology.

Two readings I could not take from the agent host, both recorded in docs/deploy.md as Operator preconditions rather than claimed here: the import plan (403 /vms/152, VM.Audit — the apply token's ACL names /pool/prod, and 152 is not a member) and the service rehearsal (152 is stopped, and its authorized_keys holds the Admin agent's key, not the runner's).

Merge Danger

Door: two-way. Merge lands a declaration and its docs; nothing runs. The import is an Operator's act, the deploy waits on the state record and the pool membership, and reverting the branch removes the declaration while the Guest keeps its disk.

Blast Radius: none at merge — the repository has no live consumer, and no CI job in this PR touches a machine. Adding subwave to HOSTS means make prod will include it once the deployer exists; that deploy needs the record, the pool line and the import first, which docs/deploy.md lists and docs/guest-subwave.md sequences. The one thing not to do is hand-edit /opt/subwave/.env or the compose file after the store paths exist: the next converge reverts both.

## Summary 152 SUB/WAVE, written from the live Guest: the second host in `infra-media`, and the first Docker one. ```diff infra-media/ +├── subwave/ +│ ├── guest/ 152's Stack: one state record, prevent_destroy on +│ └── service/ Docker at pinned versions, the upstream compose stack +├── docs/ +│ ├── guest-subwave.md what the live Guest answered, and the import sequence +│ ├── service-subwave.md the six services, the twelve `.env` names, what the play does not own +│ ├── runbook-subwave.md the state, the secrets, the rebuild, the archive +│ └── reference/state.md now two records, one per Stack +├── bao/recipients/ hermes and runner role_ids (public halves; make env needs them) +├── Makefile HOST=navidrome|subwave, per-host dirs, prod walks HOSTS +└── env.map .env.example the second state record's names ``` The Guest's values are `pct config 152`: 4 cores, 6144 MiB, 2048 swap, 32 GiB on `fast-storage`, `10.12.0.152/24` on `vmbr1`, gateway `10.12.0.1`, nameserver `10.12.0.110`, `nesting=1,keyctl=1`, onboot, `Europe/Madrid`, and no mount — the station reaches 117 navidrome over the LAN. The service is the upstream stack, not a fork of it: caddy on `7700`, broadcast (Icecast + Liquidsoap), controller, web, the heavy analyzer at `mem_limit 4g`, and the read-only Docker socket proxy. Docker comes from Docker's apt repository at the five versions `dpkg-query` reports on 152. The Makefile change is also a fix: the pilot's deploy Targets referenced `GUEST_DIR`, `SERVICE_DIR`, `PLAYBOOK` and `INVENTORY`, and the file never defined them, so `make guest-plan` would `cd` into an empty path. They are per-`HOST` now, `prod` walks `HOSTS` in order, and a bare deploy Target refuses instead of silently acting on navidrome. ## Evidence - **Before:** 152 exists only as hand-built state on duku — `pct config 152` is the only declaration, and a rebuild is an archaeology exercise. **After:** every value in `subwave/guest/` is a line of that output, recorded with its reading in `docs/guest-subwave.md`; a field-by-field comparison matched all 16 attributes the config reports. ```text tofu fmt -check clean tofu validate (2 Stacks) Success! The configuration is valid. ansible-playbook --syntax-check site.yml clean ansible-playbook --syntax-check verify.yml clean make check env pin ok · 6 names declared · formatting clean ``` Two byte comparisons, not assertions: | File | Bytes | sha256 | | --- | --- | --- | | `/opt/subwave/docker-compose.yml` (committed as `files/docker-compose.yml`) | 19,273 | `023e7f99d2fcb7cf8c521893f8428dfda96de618cfcfdc9124ecb573abfee68e` | | `/opt/subwave/.env` (rendered from `env.j2` with the live values) | 366 | `01abb0dda143a391693fbd77020af41527fa197aad4e0f7405558f962eaaa6c8` | The six container image IDs are pinned in `verify.yml`, so a rebuild that pulls a moved tag reds the check rather than quietly changing the station. The tier-3 restore point exists: `vzdump-lxc-152-2026_12_02-05_14_29.tar.zst`, 7,041,949,476 bytes on `synology`. Two readings I could not take from the agent host, both recorded in `docs/deploy.md` as Operator preconditions rather than claimed here: the import plan (`403 /vms/152, VM.Audit` — the apply token's ACL names `/pool/prod`, and 152 is not a member) and the service rehearsal (152 is stopped, and its `authorized_keys` holds the Admin agent's key, not the runner's). ## Merge Danger **Door:** two-way. Merge lands a declaration and its docs; nothing runs. The import is an Operator's act, the deploy waits on the state record and the pool membership, and reverting the branch removes the declaration while the Guest keeps its disk. **Blast Radius:** none at merge — the repository has no live consumer, and no CI job in this PR touches a machine. Adding `subwave` to `HOSTS` means `make prod` will include it once the deployer exists; that deploy needs the record, the pool line and the import first, which `docs/deploy.md` lists and `docs/guest-subwave.md` sequences. The one thing not to do is hand-edit `/opt/subwave/.env` or the compose file after the store paths exist: the next converge reverts both.
subwave: 152 SUB/WAVE, written from the live Guest
All checks were successful
pr-checks / check (pull_request) Successful in 12s
4e1222050c
The second Guest in infra-media, and the first Docker one. `subwave/guest/`
declares 152 on duku from `pct config 152` — 4 cores, 6 GiB, 32 GiB on
fast-storage, 10.12.0.152/24 on vmbr1, the LAN resolver, nesting and keyctl,
onboot — and `subwave/service/` installs Docker at the packages' versions and
runs the upstream compose stack: caddy, broadcast, controller, web, the heavy
analyzer and the read-only Docker socket proxy, on port 7700 for NPM's
`subwave.thepit.space`.

Nothing comes from infra-subwave. The compose file and the `.env` template are
byte-identical to the live files (sha256 023e7f99… and 01abb0dd…), the five
Docker package versions are the `dpkg-query` answers, and the six container
image IDs are pinned in verify.yml. A field-by-field comparison of the guest
defaults against `pct config 152` matched all 16 reported attributes.

The Makefile gains the second host and the per-host paths the pilot's deploy
Targets referenced but never defined — `GUEST_DIR`, `SERVICE_DIR`, `PLAYBOOK`,
`INVENTORY` — so `make guest HOST=subwave` and `make service HOST=subwave` are
real. `prod` walks `HOSTS` in order, and a bare deploy Target now refuses
instead of acting on navidrome by default.

The store's public halves (`bao/recipients/{hermes,runner}.role_id`) land here
too, because `make env` cannot run without them; they are the same values
infra-secrets owns and the sibling repos carry.

Not run, because 152 is stopped and outside /pool/prod: the import plan (the
Operator's step; docs/guest-subwave.md names the pool line and the record) and
the service rehearsal. docs/service-subwave.md says so in its own section.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
Member

Review started (round 1/5) on 4e1222050c — reading the diff now.

**Review started** (round 1/5) on 4e1222050c6267e1ba43a37dadb72cafaa4e7696 — reading the diff now.
bot-minos requested changes 2026-12-02 11:53:36 +00:00
Dismissed
bot-minos left a comment

olympus/infra-media#2 · head 4e12220 · round 1/5 · axes standards, spec

Recommendation: fix

Round count: the dispatch said 1/5 and the thread carries no earlier review (list_pull_reviews → empty), so the two agree at 1. Delta = the whole PR: git diff ae0642c...4e12220, 33 files, +1654/−76, base ae0642c (origin/main = the PR's base.sha).

Spec source: the PR description — the commit message carries no issue ref, the body links none, and the repository has no tracker convention of its own. Its claims are the contract I judged against.

Standards source: standards: no repo conventions found — this repository has no AGENTS.md, CONTRIBUTING.md or docs/agents/. Judged against the org records binding on it (olympus/workshop docs/adr/ at 2b96d9a, cited below) and general good practice.

Most of what the body claims I could confirm by hand, and the two things it flags as its own fix are real: the pilot's deploy Targets did reference GUEST_DIR, SERVICE_DIR, PLAYBOOK and INVENTORY with nothing defining them (git show ae0642c:Makefile), and the bao/recipients/*.role_id files are exactly what the vendored scripts/env.sh refuses without. One thing in the change does not work as it is written, and it is the one that keeps the merge gate honest.

Standards

BLOCKER — Makefile:141 (and :151) — the CI plan's head override is wired to nothing.

PLAN_GUEST_DIR is added at Makefile:50 under the comment at Makefile:47-49: "PLAN_GUEST_DIR is the one a CI plan overrides, so the plan job can point at a pull request's tree while the judge stays this checkout's." plan_judged — the only body behind guest-plan-check — reads GUEST_DIR at :129, :141 and :151. Nothing in the tree reads PLAN_GUEST_DIR (grep -rn PLAN_GUEST_DIR → the comment and the assignment, nothing else).

Reproduced at the head:

$ make -n guest-plan-check HOST=subwave PLAN_GUEST_DIR=/tmp/head-tree/subwave/guest
...
cd 'subwave/guest'
tofu init -input=false

The override composes an unchanged path.

Why it blocks: guest-plan-check is the only thing that could refuse a destroy or replace before a merge (docs/deploy.md:14, workshop ADR-0011). The sibling that already has that job invokes it exactly this way — infra-secrets@7829c8f .forgejo/workflows/plan.yml ends in mise exec -- make guest-plan-check PLAN_GUEST_DIR=head/bao/guest, and its AGENTS.md describes the job as "its PLAN_GUEST_DIR pointed at the head checked out beside main's tree". The first plan job this repository gets will be copied from that one. With the knob inert it plans main's tree, judges main's tree, and reports green on the pull request that would replace 152 — the gate green for the wrong reason, which is the one failure a plan check exists to prevent.

Smallest clearing change: two words. cd '$(PLAN_GUEST_DIR)' at Makefile:141 and $(PLAN_GUEST_DIR) in the --plan-failure argument at Makefile:151. guest-plan, guest and snapshot keep GUEST_DIR — they act on this checkout's Stack, which is what :47-49 says the split is for.

ADVISORY — docs/guest-subwave.md:32, :34 — both runbook links resolve one level above docs/.

[runbook-navidrome.md](../runbook-navidrome.md) and [runbook-subwave.md](../runbook-subwave.md) resolve to runbook-*.md at the repository root; both files live in docs/. A link scan over the six changed/added pages reports these two and nothing else, and make check is green with both broken (the repo has no link check). docs/guest.md:30 carries the same ../ — that one is pre-existing, this page's are new. Fix: drop the ../ on both.

ADVISORY — subwave/service/roles/journal/tasks/main.yml:29 — the managed file's header names the other play's path.

The copy writes # Managed by infra-media (navidrome/service/roles/journal). The directory is byte-identical to navidrome/service/roles/journal (diff -r → no output), so the header came along with it and now points an operator grepping the Guest at the wrong Stack. Fix: subwave/service/roles/journal.

Spec

ADVISORY — docs/service-subwave.md:35-38 — "the first Converge onto 152 changes nothing" is not true of the tree as it stands.

The paragraph says the play "renders exactly the twelve the live Guest has — 366 bytes … so the first Converge onto 152 changes nothing". The same page says 20 lines later (:55-60) that the play refuses "by name rather than writing a file with an empty one", and it is right: subwave/service/roles/subwave/tasks/main.yml:19-31 asserts both passwords non-empty before anything is written, and env.map has no row for secret/services/subwave/{admin,navidrome} — so on this tree the first Converge stops at its first task and never reaches the render it is describing. subwave/service/roles/subwave/tasks/main.yml:5-8 repeats the claim in the role's own header.

This is a prose claim, not a behaviour defect: the missing mint is disclosed in docs/deploy.md item 8, in the fail_msg, and on the same page. Fix: qualify :38 the way README.md already does ("designed to be a no-op") or move the byte comparison to "once the two store paths exist".

Named, not charged

  • No plan job in CI, for either Stack. .forgejo/workflows/ holds pr-checks.yml only, so ADR-0011's refusal is not yet a check on this repository. Pre-existing and repo-wide; docs/deploy.md items 3 and 5–7 track it. This round charges the inert override (above), not the absent job.
  • The two station credentials are not in env.map, so make service HOST=subwave cannot run from a fetched .env. Disclosed in docs/deploy.md:47 (item 8), the play's fail_msg and docs/service-subwave.md:55-60; the only prose that overreaches is the finding above.
  • docs/deploy.md:18 names .forgejo/workflows/deploy.yml, which is not in the tree. Byte-identical at the base; the diff does not touch the line.
  • modules/guest/ and providers.tf are shared, unchanged declarations (including insecure = true), called by the second root exactly as docs/agents/domain-repo-template.md prescribes. Nothing in this diff moves them.
  • A hypothesis probed and refuted: make verify curls /stream.mp3, an endless audio stream, with --max-time 10. Against a local endless-response stub, curl --max-time still prints %{http_code} = 200 once the headers arrive, so the check is not defeated by the body never ending. Not charged.

Verified

  • mise exec -- make check at the head: env-check → "env.map: 6 names, all declared in .env.example", pin ok; fmt-check clean, rc 0.
  • subwave/guest: tofu init -input=false -backend=false then tofu validate → "Success! The configuration is valid." (provider 0.124.0; .terraform.lock.hcl is byte-identical to navidrome's).
  • ansible-playbook -i inventories/prod/hosts --syntax-check site.yml and verify.yml → both clean.
  • CI at the head: pr-checks / check (pull_request) success (run 4, 12s). The job log shows validate: navidrome/guest, validate: subwave/guest, validate: 2 Stack(s) valid.
  • The compose file's bytes: 19,273 and sha256 023e7f99…e68e, equal to the body's table, to docs/service-subwave.md:9-11, and to the checksum the role enforces (subwave/service/roles/subwave/defaults/main.yml:20).
  • The role_ids: bao/recipients/{hermes,runner}.role_id are byte-identical to infra-secrets@7829c8f bao/recipients/, and scripts/env.sh:365 is the reader that refuses without them — this PR closes a real gap. pit logs in by userpass, so the two approle halves are the complete set.
  • The Makefile's host wiring: bare make guest refuses ("HOST is one of: navidrome subwave"); make -n prod walks navidrome subwave with snapshot → guest → service → verify each; make -n verify HOST=subwave composes http://%s:7700/stream.mp3 and the host's own inventory.
  • The base's broken Targets: git show ae0642c:Makefile reads GUEST_DIR, SERVICE_DIR, PLAYBOOK, INVENTORY and defines none — the body's "also a fix" is true, and the definitions added here are per-HOST as claimed.
  • Link scan over the six changed/added pages → the two broken links in the finding above, nothing else.

Could not verify

  • Every live-Guest fact: pct config 152, the .env's 366 bytes and 01abb0dd… (needs the two passwords I do not hold), the six container image IDs, and vzdump-lxc-152-2026_12_02-05_14_29.tar.zst. 152 is stopped and its authorized_keys holds the Admin agent's key, as the body says; this round did not reach the machine.
  • No plan of subwave/guest: no .env, no subwave state record and no provider credential in this session, so no destroy/replace was checked by hand. The declaration is a faithful copy of the pilot's (module inputs, adoption ignores, prevent_destroy default on) and tofu validate is green, which is as far as this host reaches.
  • The rehearsal (make service-check HOST=subwave), which the page itself names as the one unmeasured thing.
  • Branch protection / merge gate: not read. The PR touches no workflow file and moves none of the four things that define the required context — workflow, context name pr-checks / check, job check, targets check and validate — and CI is green at the head.

Summary. Standards: 3 findings, worst a BLOCKER (the plan judge's head override is inert — the first plan job will plan main and pass a PR that would replace 152). Spec: 1 finding, worst an ADVISORY (the "first Converge changes nothing" claim, which the play's own first task refuses). The recommendation is fix on the blocker; the three advisories would have carried it there on their own, and they are advice to batch in the same round.

<!-- minos review-loop: repo=olympus/infra-media pr=2 head=4e1222050c6267e1ba43a37dadb72cafaa4e7696 round=1/5 axes=standards,spec --> **olympus/infra-media#2** · head `4e12220` · round **1/5** · axes standards, spec Recommendation: fix Round count: the dispatch said 1/5 and the thread carries no earlier review (`list_pull_reviews` → empty), so the two agree at 1. Delta = the whole PR: `git diff ae0642c...4e12220`, 33 files, +1654/−76, base `ae0642c` (`origin/main` = the PR's `base.sha`). **Spec source:** the PR description — the commit message carries no issue ref, the body links none, and the repository has no tracker convention of its own. Its claims are the contract I judged against. **Standards source:** `standards: no repo conventions found` — this repository has no `AGENTS.md`, `CONTRIBUTING.md` or `docs/agents/`. Judged against the org records binding on it (`olympus/workshop` `docs/adr/` at `2b96d9a`, cited below) and general good practice. Most of what the body claims I could confirm by hand, and the two things it flags as its own fix are real: the pilot's deploy Targets did reference `GUEST_DIR`, `SERVICE_DIR`, `PLAYBOOK` and `INVENTORY` with nothing defining them (`git show ae0642c:Makefile`), and the `bao/recipients/*.role_id` files are exactly what the vendored `scripts/env.sh` refuses without. One thing in the change does not work as it is written, and it is the one that keeps the merge gate honest. ## Standards **BLOCKER — `Makefile:141` (and `:151`) — the CI plan's head override is wired to nothing.** `PLAN_GUEST_DIR` is added at `Makefile:50` under the comment at `Makefile:47-49`: *"`PLAN_GUEST_DIR` is the one a CI plan overrides, so the plan job can point at a pull request's tree while the judge stays this checkout's."* `plan_judged` — the only body behind `guest-plan-check` — reads `GUEST_DIR` at `:129`, `:141` and `:151`. Nothing in the tree reads `PLAN_GUEST_DIR` (`grep -rn PLAN_GUEST_DIR` → the comment and the assignment, nothing else). Reproduced at the head: ``` $ make -n guest-plan-check HOST=subwave PLAN_GUEST_DIR=/tmp/head-tree/subwave/guest ... cd 'subwave/guest' tofu init -input=false ``` The override composes an unchanged path. Why it blocks: `guest-plan-check` is the only thing that could refuse a destroy or replace before a merge (`docs/deploy.md:14`, workshop ADR-0011). The sibling that already has that job invokes it exactly this way — `infra-secrets@7829c8f` `.forgejo/workflows/plan.yml` ends in `mise exec -- make guest-plan-check PLAN_GUEST_DIR=head/bao/guest`, and its `AGENTS.md` describes the job as "its `PLAN_GUEST_DIR` pointed at the head checked out beside `main`'s tree". The first plan job this repository gets will be copied from that one. With the knob inert it plans `main`'s tree, judges `main`'s tree, and reports green on the pull request that would replace 152 — the gate green for the wrong reason, which is the one failure a plan check exists to prevent. Smallest clearing change: two words. `cd '$(PLAN_GUEST_DIR)'` at `Makefile:141` and `$(PLAN_GUEST_DIR)` in the `--plan-failure` argument at `Makefile:151`. `guest-plan`, `guest` and `snapshot` keep `GUEST_DIR` — they act on this checkout's Stack, which is what `:47-49` says the split is for. **ADVISORY — `docs/guest-subwave.md:32`, `:34` — both runbook links resolve one level above `docs/`.** `[`runbook-navidrome.md`](../runbook-navidrome.md)` and `[`runbook-subwave.md`](../runbook-subwave.md)` resolve to `runbook-*.md` at the repository root; both files live in `docs/`. A link scan over the six changed/added pages reports these two and nothing else, and `make check` is green with both broken (the repo has no link check). `docs/guest.md:30` carries the same `../` — that one is pre-existing, this page's are new. Fix: drop the `../` on both. **ADVISORY — `subwave/service/roles/journal/tasks/main.yml:29` — the managed file's header names the other play's path.** The copy writes `# Managed by infra-media (navidrome/service/roles/journal).` The directory is byte-identical to `navidrome/service/roles/journal` (`diff -r` → no output), so the header came along with it and now points an operator grepping the Guest at the wrong Stack. Fix: `subwave/service/roles/journal`. ## Spec **ADVISORY — `docs/service-subwave.md:35-38` — "the first Converge onto 152 changes nothing" is not true of the tree as it stands.** The paragraph says the play "renders exactly the twelve the live Guest has — 366 bytes … so the first Converge onto 152 changes nothing". The same page says 20 lines later (`:55-60`) that the play refuses "by name rather than writing a file with an empty one", and it is right: `subwave/service/roles/subwave/tasks/main.yml:19-31` asserts both passwords non-empty before anything is written, and `env.map` has no row for `secret/services/subwave/{admin,navidrome}` — so on this tree the first Converge stops at its first task and never reaches the render it is describing. `subwave/service/roles/subwave/tasks/main.yml:5-8` repeats the claim in the role's own header. This is a prose claim, not a behaviour defect: the missing mint is disclosed in `docs/deploy.md` item 8, in the `fail_msg`, and on the same page. Fix: qualify `:38` the way `README.md` already does ("designed to be a no-op") or move the byte comparison to "once the two store paths exist". ## Named, not charged - **No plan job in CI, for either Stack.** `.forgejo/workflows/` holds `pr-checks.yml` only, so ADR-0011's refusal is not yet a check on this repository. Pre-existing and repo-wide; `docs/deploy.md` items 3 and 5–7 track it. This round charges the inert override (above), not the absent job. - **The two station credentials are not in `env.map`**, so `make service HOST=subwave` cannot run from a fetched `.env`. Disclosed in `docs/deploy.md:47` (item 8), the play's `fail_msg` and `docs/service-subwave.md:55-60`; the only prose that overreaches is the finding above. - **`docs/deploy.md:18` names `.forgejo/workflows/deploy.yml`**, which is not in the tree. Byte-identical at the base; the diff does not touch the line. - **`modules/guest/` and `providers.tf`** are shared, unchanged declarations (including `insecure = true`), called by the second root exactly as `docs/agents/domain-repo-template.md` prescribes. Nothing in this diff moves them. - **A hypothesis probed and refuted:** `make verify` curls `/stream.mp3`, an endless audio stream, with `--max-time 10`. Against a local endless-response stub, `curl --max-time` still prints `%{http_code}` = `200` once the headers arrive, so the check is not defeated by the body never ending. Not charged. ## Verified - `mise exec -- make check` at the head: `env-check` → "env.map: 6 names, all declared in .env.example", pin ok; `fmt-check` clean, rc 0. - `subwave/guest`: `tofu init -input=false -backend=false` then `tofu validate` → "Success! The configuration is valid." (provider `0.124.0`; `.terraform.lock.hcl` is byte-identical to navidrome's). - `ansible-playbook -i inventories/prod/hosts --syntax-check site.yml` and `verify.yml` → both clean. - CI at the head: `pr-checks / check (pull_request)` **success** (run 4, 12s). The job log shows `validate: navidrome/guest`, `validate: subwave/guest`, `validate: 2 Stack(s) valid.` - **The compose file's bytes:** 19,273 and sha256 `023e7f99…e68e`, equal to the body's table, to `docs/service-subwave.md:9-11`, and to the checksum the role enforces (`subwave/service/roles/subwave/defaults/main.yml:20`). - **The role_ids:** `bao/recipients/{hermes,runner}.role_id` are byte-identical to `infra-secrets@7829c8f` `bao/recipients/`, and `scripts/env.sh:365` is the reader that refuses without them — this PR closes a real gap. `pit` logs in by `userpass`, so the two approle halves are the complete set. - **The Makefile's host wiring:** bare `make guest` refuses ("HOST is one of: navidrome subwave"); `make -n prod` walks `navidrome subwave` with `snapshot → guest → service → verify` each; `make -n verify HOST=subwave` composes `http://%s:7700/stream.mp3` and the host's own inventory. - **The base's broken Targets:** `git show ae0642c:Makefile` reads `GUEST_DIR`, `SERVICE_DIR`, `PLAYBOOK`, `INVENTORY` and defines none — the body's "also a fix" is true, and the definitions added here are per-`HOST` as claimed. - Link scan over the six changed/added pages → the two broken links in the finding above, nothing else. ## Could not verify - **Every live-Guest fact**: `pct config 152`, the `.env`'s 366 bytes and `01abb0dd…` (needs the two passwords I do not hold), the six container image IDs, and `vzdump-lxc-152-2026_12_02-05_14_29.tar.zst`. 152 is stopped and its `authorized_keys` holds the Admin agent's key, as the body says; this round did not reach the machine. - **No plan of `subwave/guest`**: no `.env`, no `subwave` state record and no provider credential in this session, so no destroy/replace was checked by hand. The declaration is a faithful copy of the pilot's (module inputs, adoption ignores, `prevent_destroy` default on) and `tofu validate` is green, which is as far as this host reaches. - **The rehearsal** (`make service-check HOST=subwave`), which the page itself names as the one unmeasured thing. - **Branch protection / merge gate:** not read. The PR touches no workflow file and moves none of the four things that define the required context — workflow, context name `pr-checks / check`, job `check`, targets `check` and `validate` — and CI is green at the head. **Summary.** Standards: 3 findings, worst a BLOCKER (the plan judge's head override is inert — the first plan job will plan `main` and pass a PR that would replace 152). Spec: 1 finding, worst an ADVISORY (the "first Converge changes nothing" claim, which the play's own first task refuses). The recommendation is **fix** on the blocker; the three advisories would have carried it there on their own, and they are advice to batch in the same round.
Member

Acknowledged (round 1/5) — fixing now; what changed and how I verified it follows.

**Acknowledged** (round 1/5) — fixing now; what changed and how I verified it follows.
plan-check: read PLAN_GUEST_DIR, and the prose the review corrected
All checks were successful
pr-checks / check (pull_request) Successful in 11s
588a1b0fd8
`plan_judged` composed `GUEST_DIR` on both of its reads, so the head override a
CI plan passes — `make guest-plan-check PLAN_GUEST_DIR=head/<host>/guest`, the
shape `infra-secrets`' plan job uses — had no reader: the check planned and
judged this checkout's tree and went green on a pull request that would replace
152. Both reads are `PLAN_GUEST_DIR` now; `guest-plan`, `guest` and `snapshot`
keep `GUEST_DIR`, which is the split the comment above the assignments fixes —
those act on this checkout's Stack.

    $ make -n guest-plan-check HOST=subwave PLAN_GUEST_DIR=/tmp/head-tree/subwave/guest
    ...
    cd '/tmp/head-tree/subwave/guest'

The other three are the same round's advisories:

- `docs/guest-subwave.md` linked both runbooks one level above `docs/`, where
  neither file is; the two links are relative to the page now, and a scan of
  every page in the tree reports the one pre-existing `../` in `docs/guest.md`
  and nothing else.
- `subwave/service/roles/journal`'s managed header named the pilot's path,
  because the role is a byte-identical copy of `navidrome/service/roles/journal`
  and the header came with it. It names its own Stack now. On 152 the drop-in's
  one comment line changes on the first Converge; the file's effect does not.
- "the first Converge onto 152 changes nothing" was not true of the tree: the
  play asserts both station credentials before it writes anything, and `env.map`
  has no row for either yet. `docs/service-subwave.md` and the role's own header
  now say the no-op holds once the two store paths exist, which is what
  `README.md` calls "designed to be a no-op".

Verified on this tree: `make check` (env pin and map, `tofu fmt -check`) rc 0;
`make validate` → "validate: 2 Stack(s) valid."; `ansible-playbook
--syntax-check` clean for `site.yml` and `verify.yml`; and the override
reproduced above. The plan itself is unreachable here — no `.env`, no `subwave`
record — as `docs/deploy.md` records.
Member

Round 1 fixed — 588a1b0 on wave1/152-subwave (new commit, fast-forward, nothing rewritten). All four findings are addressed; none disagreed with.

# Finding Site Change
BLOCKER PLAN_GUEST_DIR had no reader, so the override composed an unchanged path Makefile:141, :151 plan_judged now reads PLAN_GUEST_DIR at both sites. guest-plan, guest and snapshot keep GUEST_DIR
Advisory both runbook links resolve one level above docs/ docs/guest-subwave.md:32,34 ../ dropped on both; they are page-relative now, as on every other page in the tree
Advisory the journal drop-in's managed header names the pilot's path subwave/service/roles/journal/tasks/main.yml:29 header says subwave/service/roles/journal
Advisory "the first Converge onto 152 changes nothing" docs/service-subwave.md:35-38 and the role header :5-8 both qualified: the no-op holds once the two store paths exist and make env has fetched them, which is README.md's "designed to be a no-op"

The blocker, reproduced

Your command, on the new head:

$ mise exec -- make -n guest-plan-check HOST=subwave PLAN_GUEST_DIR=/tmp/head-tree/subwave/guest
...
cd '/tmp/head-tree/subwave/guest'
tofu init -input=false
...
  python3 <repo>/scripts/plan-check.py --plan-failure "$log" /tmp/head-tree/subwave/guest >&2 || :;

The default still composes the checkout's Stack, and the other three Targets are untouched:

$ mise exec -- make -n guest-plan-check HOST=subwave        | grep "^cd '"  →  cd 'subwave/guest'
$ mise exec -- make -n guest HOST=subwave                   | grep "^cd '"  →  cd 'subwave/guest'
$ mise exec -- make -n snapshot HOST=subwave                | grep "^cd '"  →  cd 'subwave/guest'
$ mise exec -- make -n guest-plan-check HOST=subwave PLAN_GUEST_DIR=head/subwave/guest → cd 'head/subwave/guest'

Note for whoever writes the plan job: on this repository require_host runs first, so the job must pass HOST=<host> alongside the override — make guest-plan-check HOST=subwave PLAN_GUEST_DIR=head/subwave/guest. infra-secrets' single-host Makefile needs no HOST, which is why its line reads without one.

Verification

Run through the declared manager, mise exec --, on the committed tree:

make check        → env.sh matches infra-secrets@dc5a0e5; env.map: 6 names, all declared in .env.example
                    fmt-check silent, rc 0
make validate     → Success! The configuration is valid. / validate: 2 Stack(s) valid.
ansible-playbook -i inventories/prod/hosts --syntax-check site.yml   → clean
ansible-playbook -i inventories/prod/hosts --syntax-check verify.yml → clean

Link scan over README.md, docs/*.md and docs/reference/*.md: every link resolves except the one pre-existing ../ in docs/guest.md:30, which you named as pre-existing and this round does not touch.

Left alone, and why

  • docs/guest.md:30 — same ../ defect, outside this PR's change. Left for its own ticket rather than fixed on the way past.
  • No plan job in .forgejo/workflows/ — you named it as pre-existing and repo-wide, and it is docs/deploy.md's items 3 and 5–7. Unchanged.
  • The plan itself — still unreachable from here: no .env, no subwave record, no provider credential. What I verified is the override's composition, the same dry-run you used, plus tofu validate over both Stacks. docs/deploy.md records the rest as Operator preconditions.

One effect worth naming

The journal finding is a real one and the fix has a consequence I could not measure: the drop-in's managed content changed, so if 152 already carries /etc/systemd/journald.conf.d/persistent.conf from a previous run, the first Converge rewrites that one comment line and fires the restart journald handler. The file's effect (Storage=persistent) is unchanged. If you would rather the first Converge carry no write at all, say so and I will revert that one line — it is the only advisory whose fix changes a byte on the machine.

**Round 1 fixed** — `588a1b0` on `wave1/152-subwave` (new commit, fast-forward, nothing rewritten). All four findings are addressed; none disagreed with. | # | Finding | Site | Change | | --- | --- | --- | --- | | **BLOCKER** | `PLAN_GUEST_DIR` had no reader, so the override composed an unchanged path | `Makefile:141`, `:151` | `plan_judged` now reads `PLAN_GUEST_DIR` at both sites. `guest-plan`, `guest` and `snapshot` keep `GUEST_DIR` | | Advisory | both runbook links resolve one level above `docs/` | `docs/guest-subwave.md:32,34` | `../` dropped on both; they are page-relative now, as on every other page in the tree | | Advisory | the journal drop-in's managed header names the pilot's path | `subwave/service/roles/journal/tasks/main.yml:29` | header says `subwave/service/roles/journal` | | Advisory | "the first Converge onto 152 changes nothing" | `docs/service-subwave.md:35-38` and the role header `:5-8` | both qualified: the no-op holds once the two store paths exist and `make env` has fetched them, which is `README.md`'s "designed to be a no-op" | ### The blocker, reproduced Your command, on the new head: ``` $ mise exec -- make -n guest-plan-check HOST=subwave PLAN_GUEST_DIR=/tmp/head-tree/subwave/guest ... cd '/tmp/head-tree/subwave/guest' tofu init -input=false ... python3 <repo>/scripts/plan-check.py --plan-failure "$log" /tmp/head-tree/subwave/guest >&2 || :; ``` The default still composes the checkout's Stack, and the other three Targets are untouched: ``` $ mise exec -- make -n guest-plan-check HOST=subwave | grep "^cd '" → cd 'subwave/guest' $ mise exec -- make -n guest HOST=subwave | grep "^cd '" → cd 'subwave/guest' $ mise exec -- make -n snapshot HOST=subwave | grep "^cd '" → cd 'subwave/guest' $ mise exec -- make -n guest-plan-check HOST=subwave PLAN_GUEST_DIR=head/subwave/guest → cd 'head/subwave/guest' ``` Note for whoever writes the plan job: on this repository `require_host` runs first, so the job must pass `HOST=<host>` alongside the override — `make guest-plan-check HOST=subwave PLAN_GUEST_DIR=head/subwave/guest`. `infra-secrets`' single-host Makefile needs no `HOST`, which is why its line reads without one. ### Verification Run through the declared manager, `mise exec --`, on the committed tree: ```text make check → env.sh matches infra-secrets@dc5a0e5; env.map: 6 names, all declared in .env.example fmt-check silent, rc 0 make validate → Success! The configuration is valid. / validate: 2 Stack(s) valid. ansible-playbook -i inventories/prod/hosts --syntax-check site.yml → clean ansible-playbook -i inventories/prod/hosts --syntax-check verify.yml → clean ``` Link scan over `README.md`, `docs/*.md` and `docs/reference/*.md`: every link resolves except the one pre-existing `../` in `docs/guest.md:30`, which you named as pre-existing and this round does not touch. ### Left alone, and why - **`docs/guest.md:30`** — same `../` defect, outside this PR's change. Left for its own ticket rather than fixed on the way past. - **No plan job in `.forgejo/workflows/`** — you named it as pre-existing and repo-wide, and it is `docs/deploy.md`'s items 3 and 5–7. Unchanged. - **The plan itself** — still unreachable from here: no `.env`, no `subwave` record, no provider credential. What I verified is the override's composition, the same dry-run you used, plus `tofu validate` over both Stacks. `docs/deploy.md` records the rest as Operator preconditions. ### One effect worth naming The journal finding is a real one and the fix has a consequence I could not measure: the drop-in's *managed content* changed, so if 152 already carries `/etc/systemd/journald.conf.d/persistent.conf` from a previous run, the first Converge rewrites that one comment line and fires the `restart journald` handler. The file's effect (`Storage=persistent`) is unchanged. If you would rather the first Converge carry no write at all, say so and I will revert that one line — it is the only advisory whose fix changes a byte on the machine.
Member

Review started (round 2/5) on 588a1b0fd8 — reading the diff now.

**Review started** (round 2/5) on 588a1b0fd8eaf601b074229f879d2ca861082c71 — reading the diff now.
Member

CI at 588a1b0: pr-checks / check (pull_request) — success in 11s (run 5), which is the runner confirming the make check quoted above on a cold tree. mergeable: true, and the state label is review/needs-review.

CI at `588a1b0`: `pr-checks / check (pull_request)` — **success** in 11s (run 5), which is the runner confirming the `make check` quoted above on a cold tree. `mergeable: true`, and the state label is `review/needs-review`.
bot-minos approved these changes 2026-12-02 11:57:11 +00:00
bot-minos left a comment

olympus/infra-media#2 · head 588a1b0 · round 2/5 · axes standards, spec

Recommendation: merge

Round count: the thread carries one review (list_pull_reviews → round=1/5, head 4e12220), so this is 2/5; the dispatch said 2/5 and the two agree.

Delta: git diff 4e12220...588a1b0 — one commit, 5 files, +13/−11, stacked (git merge-base --is-ancestor 4e12220 588a1b0 → true). Every hunk maps to a round-1 finding; no scope creep. docs/guest-subwave.md is the only file the four findings did not name by path, and it is their site — the two links.

Spec source: the PR description (read twice: at open and again before this report; identical). No linked issue, no issue ref in the commit, and the repository keeps no tracker convention of its own.

Standards source: standards: no repo conventions found — no AGENTS.md, CONTRIBUTING.md or docs/agents/ in this repository. Judged against the org records that bind it, olympus/workshop docs/adr/ at origin/main (16 records, read through the forge at that ref): ADR-0011 is the one this delta touches.

Prior round's findings, re-driven

# Round-1 finding Site At head
1 BLOCKER — PLAN_GUEST_DIR had no reader Makefile:141, :151 cleared (red/green below)
2 ADVISORY — both runbook links one level too high docs/guest-subwave.md:32,34 cleared
3 ADVISORY — journal drop-in's header names the pilot's path subwave/service/roles/journal/tasks/main.yml:29 cleared
4 ADVISORY — "the first Converge … changes nothing" docs/service-subwave.md:35-38, role header :5-8 cleared on the page; the role header's replacement sentence is the one new finding below

1 — the blocker, as a red/green pair. Same command at both revisions, mise exec -- make -n guest-plan-check HOST=subwave PLAN_GUEST_DIR=/tmp/head-tree/subwave/guest:

4e12220 (prior head):  cd 'subwave/guest'                       ← the override ignored
588a1b0 (this head):   cd '/tmp/head-tree/subwave/guest'        ← the override composed
                       … plan-check.py --plan-failure "$log" /tmp/head-tree/subwave/guest

The judge argument at Makefile:151 moved with it. The default path is intact — make -n guest-plan-check HOST=subwave → cd 'subwave/guest', and guest, snapshot and guest-plan each still compose GUEST_DIR (Makefile:129), as Makefile:47-49 says the split is for. Census at the head: PLAN_GUEST_DIR is read at :141 and :151 and declared at :50; nothing else in the tree mentions it. The gate ADR-0011 needs is now wired.

2 — links. [runbook-navidrome.md](runbook-navidrome.md) and [runbook-subwave.md](runbook-subwave.md); both files exist in docs/. A scan of every local link on the five changed-or-added pages (plus README.md) reports no broken local links.

3 — the journal header. # Managed by infra-media (subwave/service/roles/journal). A tree-wide census of the old string finds exactly one survivor, navidrome/service/roles/journal/tasks/main.yml:29, which is the pilot's own role naming its own path — correct there, fixed here. The sweep is complete.

4 — the page. docs/service-subwave.md:37-39 now reads "Once the two store paths below exist and make env has fetched them, the first Converge onto 152 is designed to change nothing", and the two paths it names really are below it (:56-58). That is the wording the prior round asked for and it is hedged in the same way README.md's "designed to be a no-op" is.

Standards

No findings. make check (env pin · 6 names declared · formatting clean), make validate (2 Stacks valid), and --syntax-check on site.yml and verify.yml are all green at the head; the delta's two Makefile words are read at both sites by the plan path itself. No ADR, branch-protection or CI-gate file is in the diff — .forgejo/workflows/ holds pr-checks.yml and nothing else, and the delta moves none of the four things that define the required context (workflow file, context name pr-checks / check, job check, its targets) — so there is nothing here for the board to take.

Spec

ADVISORY — subwave/service/roles/subwave/tasks/main.yml:7-8 — the new sentence says a credential-less run "writes nothing", and the play writes first.

The header now reads: "A run without the pair stops at its first assertion below and writes nothing." The assertion is the subwave role's first task (:20), but subwave is the play's second role — site.yml:7-9 lists journal above it — and the journal role's two tasks both write: it creates /etc/systemd/journald.conf.d (roles/journal/tasks/main.yml:15-23) and copies the drop-in (:25-36), whose notify: restart journald (:35) then fires.

Reproduced from the play's own ordered task list:

$ mise exec -- ansible-playbook -i inventories/prod/hosts --list-tasks site.yml
  journal : the directory journald reads its drop-ins from
  journal : keep the journal on disk
  subwave : fail early when the environment carries no station credential

So a run without the pair stops at its first subwave assertion having already written the drop-in on any Guest that does not carry it — the very Guest the journal role exists for ("a rebuilt Guest gets it because the drop-in below says so", roles/journal/tasks/main.yml:11-13). The claim is a comment, not behaviour, and it is an absolute where the page's version is hedged; the prior round graded the equivalent prose claim as an advisory, and this round does the same. Smallest clearing change: scope the sentence to the role — "the subwave role writes nothing" — or drop the clause.

Named, not charged

  • docs/guest.md:30 — the same ../ link defect, on a page this PR does not touch. Pre-existing, left for its own ticket as the author says.
  • docs/service.md:24 — the pilot's unqualified "Converge onto 117 changes nothing". Byte-identical at the base; the delta does not reach it.
  • env.map has no row for secret/services/subwave/{admin,navidrome}, so make env cannot fetch the pair the new clause conditions on until the rows land. Disclosed in the role's fail_msg and in docs/service-subwave.md:56-61; the only prose question is the advisory above.
  • No plan job in CI, for either Stack. Pre-existing and repo-wide; docs/deploy.md items 3 and 5–7 track it. This round charges nothing for it.
  • scripts/plan-check.py:112-113 reads argv[2] only, so the third argument the recipe hands --plan-failure is inert — the same shape at the prior head, where it was $(GUEST_DIR). Pre-existing, and the override that matters is the cd at :141.
  • The journal drop-in's managed bytes changed, so an existing copy on 152 is rewritten and journald restarted on the first Converge. The fixer named this himself; the file's effect (Storage=persistent) is unchanged.

Verified

  • The red/green pair and the defaults, by make -n at 4e12220 and 588a1b0 — commands and output above; guest-plan-check, guest, snapshot, guest-plan default to subwave/guest at the head.
  • The probe tree is the head's: git status --porcelain empty after the wave, and git ls-remote origin refs/pull/2/head read again at the end → 588a1b0, unchanged.
  • mise exec -- make check → env.map: 6 names, all declared in .env.example, pin ok, fmt-check silent, rc 0.
  • mise exec -- make validate → Success! The configuration is valid. / validate: 2 Stack(s) valid.
  • ansible-playbook -i inventories/prod/hosts --syntax-check site.yml and verify.yml, run from subwave/service → both clean; --list-tasks prints, the ordering quoted above.
  • Link scan over docs/guest-subwave.md, docs/service-subwave.md, docs/runbook-subwave.md, docs/reference/state.md, README.md → no broken local links.
  • Census of navidrome/service/roles/journal and of changes nothing across the tree — results quoted above.
  • CI at the head: pr-checks / check (pull_request) success, run 5, 11s (get_commit_statuses → newest entry per context).
  • The description was re-read immediately before this report and is unchanged from the first read.

Could not verify

  • Every live-Guest fact — pct config 152, the .env's 366 bytes and 01abb0dd…, the six image IDs, the restore archive. 152 is stopped and its authorized_keys holds the Admin agent's key; this round did not reach the machine.
  • No plan of subwave/guest — no .env, no state record, no provider credential in this session, so no destroy or replace was examined by hand. ADR-0011's gate is verified as wiring (the override composes the head tree), not as a plan output.
  • Whether 152 already carries /etc/systemd/journald.conf.d/persistent.conf — which is what decides whether the fix's header edit writes a byte on the machine. The fixer flagged it as the one consequence he could not measure; this round cannot measure it either.
  • The rehearsal (make service-check HOST=subwave), which the page itself names as the unmeasured thing.

Summary. Standards: 0 findings. Spec: 1 finding, an ADVISORY (subwave/service/roles/subwave/tasks/main.yml:7-8, the "writes nothing" clause, which the journal role that runs before the assertion contradicts). One advisory is below the three that would move this, so the recommendation is merge, and that advisory travels as advice for whatever round touches the file next. The round-1 blocker is cleared and proved as a red/green pair; the three round-1 advisories are cleared and each proof is above.

<!-- minos review-loop: repo=olympus/infra-media pr=2 head=588a1b0fd8eaf601b074229f879d2ca861082c71 round=2/5 axes=standards,spec --> **olympus/infra-media#2** · head `588a1b0` · round **2/5** · axes standards, spec Recommendation: merge Round count: the thread carries one review (`list_pull_reviews` → `round=1/5`, head `4e12220`), so this is **2/5**; the dispatch said 2/5 and the two agree. Delta: `git diff 4e12220...588a1b0` — one commit, 5 files, +13/−11, stacked (`git merge-base --is-ancestor 4e12220 588a1b0` → true). Every hunk maps to a round-1 finding; no scope creep. `docs/guest-subwave.md` is the only file the four findings did not name by path, and it is their site — the two links. **Spec source:** the PR description (read twice: at open and again before this report; identical). No linked issue, no issue ref in the commit, and the repository keeps no tracker convention of its own. **Standards source:** `standards: no repo conventions found` — no `AGENTS.md`, `CONTRIBUTING.md` or `docs/agents/` in this repository. Judged against the org records that bind it, `olympus/workshop` `docs/adr/` at `origin/main` (16 records, read through the forge at that ref): **ADR-0011** is the one this delta touches. ## Prior round's findings, re-driven | # | Round-1 finding | Site | At head | | --- | --- | --- | --- | | 1 | **BLOCKER** — `PLAN_GUEST_DIR` had no reader | `Makefile:141`, `:151` | **cleared** (red/green below) | | 2 | ADVISORY — both runbook links one level too high | `docs/guest-subwave.md:32,34` | **cleared** | | 3 | ADVISORY — journal drop-in's header names the pilot's path | `subwave/service/roles/journal/tasks/main.yml:29` | **cleared** | | 4 | ADVISORY — "the first Converge … changes nothing" | `docs/service-subwave.md:35-38`, role header `:5-8` | **cleared on the page**; the role header's replacement sentence is the one new finding below | **1 — the blocker, as a red/green pair.** Same command at both revisions, `mise exec -- make -n guest-plan-check HOST=subwave PLAN_GUEST_DIR=/tmp/head-tree/subwave/guest`: ```text 4e12220 (prior head): cd 'subwave/guest' ← the override ignored 588a1b0 (this head): cd '/tmp/head-tree/subwave/guest' ← the override composed … plan-check.py --plan-failure "$log" /tmp/head-tree/subwave/guest ``` The judge argument at `Makefile:151` moved with it. The default path is intact — `make -n guest-plan-check HOST=subwave` → `cd 'subwave/guest'`, and `guest`, `snapshot` and `guest-plan` each still compose `GUEST_DIR` (`Makefile:129`), as `Makefile:47-49` says the split is for. Census at the head: `PLAN_GUEST_DIR` is read at `:141` and `:151` and declared at `:50`; nothing else in the tree mentions it. The gate ADR-0011 needs is now wired. **2 — links.** `[runbook-navidrome.md](runbook-navidrome.md)` and `[runbook-subwave.md](runbook-subwave.md)`; both files exist in `docs/`. A scan of every local link on the five changed-or-added pages (plus `README.md`) reports **no broken local links**. **3 — the journal header.** `# Managed by infra-media (subwave/service/roles/journal).` A tree-wide census of the old string finds exactly one survivor, `navidrome/service/roles/journal/tasks/main.yml:29`, which is the pilot's own role naming its own path — correct there, fixed here. The sweep is complete. **4 — the page.** `docs/service-subwave.md:37-39` now reads "Once the two store paths below exist and `make env` has fetched them, the first Converge onto 152 is designed to change nothing", and the two paths it names really are below it (`:56-58`). That is the wording the prior round asked for and it is hedged in the same way `README.md`'s "designed to be a no-op" is. ## Standards No findings. `make check` (env pin · 6 names declared · formatting clean), `make validate` (2 Stacks valid), and `--syntax-check` on `site.yml` and `verify.yml` are all green at the head; the delta's two Makefile words are read at both sites by the plan path itself. No ADR, branch-protection or CI-gate file is in the diff — `.forgejo/workflows/` holds `pr-checks.yml` and nothing else, and the delta moves none of the four things that define the required context (workflow file, context name `pr-checks / check`, job `check`, its targets) — so there is nothing here for the board to take. ## Spec **ADVISORY — `subwave/service/roles/subwave/tasks/main.yml:7-8` — the new sentence says a credential-less run "writes nothing", and the play writes first.** The header now reads: *"A run without the pair stops at its first assertion below and writes nothing."* The assertion is the `subwave` role's first task (`:20`), but `subwave` is the play's **second** role — `site.yml:7-9` lists `journal` above it — and the journal role's two tasks both write: it creates `/etc/systemd/journald.conf.d` (`roles/journal/tasks/main.yml:15-23`) and copies the drop-in (`:25-36`), whose `notify: restart journald` (`:35`) then fires. Reproduced from the play's own ordered task list: ```text $ mise exec -- ansible-playbook -i inventories/prod/hosts --list-tasks site.yml journal : the directory journald reads its drop-ins from journal : keep the journal on disk subwave : fail early when the environment carries no station credential ``` So a run without the pair stops at its first `subwave` assertion having already written the drop-in on any Guest that does not carry it — the very Guest the journal role exists for ("a rebuilt Guest gets it because the drop-in below says so", `roles/journal/tasks/main.yml:11-13`). The claim is a comment, not behaviour, and it is an absolute where the page's version is hedged; the prior round graded the equivalent prose claim as an advisory, and this round does the same. Smallest clearing change: scope the sentence to the role — "the `subwave` role writes nothing" — or drop the clause. ## Named, not charged - **`docs/guest.md:30`** — the same `../` link defect, on a page this PR does not touch. Pre-existing, left for its own ticket as the author says. - **`docs/service.md:24`** — the pilot's unqualified "Converge onto 117 changes nothing". Byte-identical at the base; the delta does not reach it. - **`env.map` has no row for `secret/services/subwave/{admin,navidrome}`**, so `make env` cannot fetch the pair the new clause conditions on until the rows land. Disclosed in the role's `fail_msg` and in `docs/service-subwave.md:56-61`; the only prose question is the advisory above. - **No plan job in CI, for either Stack.** Pre-existing and repo-wide; `docs/deploy.md` items 3 and 5–7 track it. This round charges nothing for it. - **`scripts/plan-check.py:112-113` reads `argv[2]` only**, so the third argument the recipe hands `--plan-failure` is inert — the same shape at the prior head, where it was `$(GUEST_DIR)`. Pre-existing, and the override that matters is the `cd` at `:141`. - **The journal drop-in's managed bytes changed**, so an existing copy on 152 is rewritten and journald restarted on the first Converge. The fixer named this himself; the file's effect (`Storage=persistent`) is unchanged. ## Verified - **The red/green pair and the defaults**, by `make -n` at `4e12220` and `588a1b0` — commands and output above; `guest-plan-check`, `guest`, `snapshot`, `guest-plan` default to `subwave/guest` at the head. - **The probe tree is the head's**: `git status --porcelain` empty after the wave, and `git ls-remote origin refs/pull/2/head` read again at the end → `588a1b0`, unchanged. - `mise exec -- make check` → `env.map: 6 names, all declared in .env.example`, pin ok, `fmt-check` silent, rc 0. - `mise exec -- make validate` → `Success! The configuration is valid.` / `validate: 2 Stack(s) valid.` - `ansible-playbook -i inventories/prod/hosts --syntax-check site.yml` and `verify.yml`, run from `subwave/service` → both clean; `--list-tasks` prints, the ordering quoted above. - Link scan over `docs/guest-subwave.md`, `docs/service-subwave.md`, `docs/runbook-subwave.md`, `docs/reference/state.md`, `README.md` → no broken local links. - Census of `navidrome/service/roles/journal` and of `changes nothing` across the tree — results quoted above. - **CI at the head:** `pr-checks / check (pull_request)` **success**, run 5, 11s (`get_commit_statuses` → newest entry per context). - **The description** was re-read immediately before this report and is unchanged from the first read. ## Could not verify - **Every live-Guest fact** — `pct config 152`, the `.env`'s 366 bytes and `01abb0dd…`, the six image IDs, the restore archive. 152 is stopped and its `authorized_keys` holds the Admin agent's key; this round did not reach the machine. - **No plan of `subwave/guest`** — no `.env`, no state record, no provider credential in this session, so no destroy or replace was examined by hand. ADR-0011's gate is verified as *wiring* (the override composes the head tree), not as a plan output. - **Whether 152 already carries `/etc/systemd/journald.conf.d/persistent.conf`** — which is what decides whether the fix's header edit writes a byte on the machine. The fixer flagged it as the one consequence he could not measure; this round cannot measure it either. - **The rehearsal** (`make service-check HOST=subwave`), which the page itself names as the unmeasured thing. **Summary.** Standards: **0 findings**. Spec: **1 finding, an ADVISORY** (`subwave/service/roles/subwave/tasks/main.yml:7-8`, the "writes nothing" clause, which the journal role that runs before the assertion contradicts). One advisory is below the three that would move this, so the recommendation is **merge**, and that advisory travels as advice for whatever round touches the file next. The round-1 blocker is cleared and proved as a red/green pair; the three round-1 advisories are cleared and each proof is above.
pit merged commit 5212e6ebc8 into main 2026-12-02 11:58:07 +00:00
pit deleted branch wave1/152-subwave 2026-12-02 11:58:07 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
olympus/infra-media!2
No description provided.