nzbget: 147, the usenet downloader, written from the live Guest #5

Merged
pit merged 1 commit from wave1/147-nzbget into main 2026-12-02 18:45:18 +00:00
Owner

Summary

147 nzbget, the usenet downloader — the first of W1.3's three download clients. It stacks on #3 (wave1/104-107-servarr) because both touch HOSTS, env.map and .env.example in the same places; merge #3 first, then retarget this to main.

 infra-media/
+├── nzbget/
+│   ├── guest/              the Stack: vmbr0, privileged, 2 cores / 2 GiB / 4G
+│   └── service/            the package pin, the NAS drop-in, the seeded configuration
+├── docs/
+│   ├── guest-nzbget.md     what the live Guest answered, and the import sequence
+│   ├── service-nzbget.md   the pin, the converge, what the play does not own
+│   └── runbook-nzbget.md   the mount contract, the queue, the control port
+├── Makefile                HOSTS gains nzbget; VERIFY_CODE_<host> joins VERIFY_URL_<host>
+├── env.map  .env.example   the seventh state record
+└── tests? no — the assertions are the play's own rings

The Guest is pct config 147 on burns: 2 cores, 2048 MiB, 512 swap, 4G on fast-storage, 10.12.0.147/24 on vmbr0, privileged (no unprivileged line), nesting=1, no ip6, no Node bind, Europe/Madrid, tags community-script/downloader/usenet. The helper script's raw container config — lxc.cgroup2.devices.allow: a, the 188:*/189:* rules, the serial and tty bind entries — is invisible to the provider and is not pretended to be owned here, the same position docs/guests-arr.md takes on 103/105/106.

The pin is the artifact. nzbget-26.3-amd64.deb from the project's own release, sha256 a6e0b7b6…9ed90221; unpacked, its usr/bin/nzbget hashes to ad1f6777…04d3499 — the live /usr/bin/nzbget. That second hash is what makes this a pin rather than a version string: a rebuilt Guest gets the bytes the Guest runs. apt (not dpkg -i) installs it: the binary is statically linked, but the package declares adduser, init-system-helpers and systemd, and apt resolves those where a bare dpkg -i would stop.

What the play adds to the package. The unit is upstream's; the role writes only a drop-in that orders the daemon after the NAS mount, a configuration seeded from the package's default only when the Guest has none (71 KB of settings and the queue history are the service's), and the assertion that the live file carries MainDir and ControlPort. The mount's fstab entry stays the Operator's, as 117's NFS contract does: the play reads findmnt and refuses to converge a Guest whose queue directory is silently local.

One Makefile change. nzbget's control port answers 401 to anyone off the Guest (AuthorizedIP=127.0.0.1), and that refusal is the LAN check — the port is up and not answering anonymously. VERIFY_CODE_<host> joins VERIFY_URL_<host>, defaulting to 200, so make verify HOST=nzbget asserts 401 and every other host is unchanged.

Evidence

every modelled guest field vs `pct config 147`   all match
deb `usr/bin/nzbget` vs live /usr/bin/nzbget     ad1f6777…04d3499 both
drop-in rendered through Ansible vs live file    1b626f2b…ad199cb both
live nzbget.conf                                 MainDir=/var/lib/nzbget/downloads, ControlPort=6789, WebDir=/usr/share/nzbget/webui
/jsonrpc {"method":"version"} on loopback        200, "26.3"
http://10.12.0.147:6789/ from this host           401

tofu fmt -check                                  clean
tofu validate (7 Stacks)                         validate: 7 Stack(s) valid.
ansible-playbook --syntax-check (site, verify)   playbook: site.yml / playbook: verify.yml
make check                                       18 names declared, formatting clean

The queue the daemon writes into is the NAS volume itself: findmnt on 147 says /var/lib/nzbget/downloads is 10.12.0.6:/volume1/ws/nzbget/downloads, NFSv4, and the play refuses to run without it.

Not taken, both the Operator's and named on the issue: the import plan (147 is not in /pool/prod; the four pvesh set lines for the wave are in docs/guests-arr.md) and the service rehearsal (no /root/.ssh/authorized_keys on the Guest, so --check answers Permission denied (publickey) before anything changes).

Merge Danger

Door: two-way. Declarations and docs only; nothing runs on a merge. Reverting removes one Stack and its play, and the Guest keeps its disks and its queue on the NAS.

Blast Radius: low, one forward edge. HOSTS gains a seventh host, so make prod will walk it once the deployer exists — and it needs its state record, its pool line and the runner's key first, three Operator steps on docs/deploy.md. The Makefile's verify target changes shape for every host: VERIFY_CODE defaults to 200, which is what the six existing hosts already assert, and the target prints the expected code when it fails.

— Hermes (agent-written)

## Summary 147 nzbget, the usenet downloader — the first of W1.3's three download clients. It stacks on #3 (`wave1/104-107-servarr`) because both touch `HOSTS`, `env.map` and `.env.example` in the same places; merge #3 first, then retarget this to `main`. ```diff infra-media/ +├── nzbget/ +│ ├── guest/ the Stack: vmbr0, privileged, 2 cores / 2 GiB / 4G +│ └── service/ the package pin, the NAS drop-in, the seeded configuration +├── docs/ +│ ├── guest-nzbget.md what the live Guest answered, and the import sequence +│ ├── service-nzbget.md the pin, the converge, what the play does not own +│ └── runbook-nzbget.md the mount contract, the queue, the control port +├── Makefile HOSTS gains nzbget; VERIFY_CODE_<host> joins VERIFY_URL_<host> +├── env.map .env.example the seventh state record +└── tests? no — the assertions are the play's own rings ``` The Guest is `pct config 147` on burns: 2 cores, 2048 MiB, 512 swap, 4G on `fast-storage`, `10.12.0.147/24` on `vmbr0`, privileged (no `unprivileged` line), `nesting=1`, no `ip6`, no Node bind, `Europe/Madrid`, tags `community-script`/`downloader`/`usenet`. The helper script's raw container config — `lxc.cgroup2.devices.allow: a`, the `188:*`/`189:*` rules, the serial and tty bind entries — is invisible to the provider and is not pretended to be owned here, the same position `docs/guests-arr.md` takes on 103/105/106. **The pin is the artifact.** `nzbget-26.3-amd64.deb` from the project's own release, sha256 `a6e0b7b6…9ed90221`; unpacked, its `usr/bin/nzbget` hashes to `ad1f6777…04d3499` — the live `/usr/bin/nzbget`. That second hash is what makes this a pin rather than a version string: a rebuilt Guest gets the bytes the Guest runs. `apt` (not `dpkg -i`) installs it: the binary is statically linked, but the package declares `adduser`, `init-system-helpers` and `systemd`, and `apt` resolves those where a bare `dpkg -i` would stop. **What the play adds to the package.** The unit is upstream's; the role writes only a drop-in that orders the daemon after the NAS mount, a configuration seeded from the package's default **only when the Guest has none** (71 KB of settings and the queue history are the service's), and the assertion that the live file carries `MainDir` and `ControlPort`. The mount's fstab entry stays the Operator's, as 117's NFS contract does: the play reads `findmnt` and refuses to converge a Guest whose queue directory is silently local. **One Makefile change.** `nzbget`'s control port answers `401` to anyone off the Guest (`AuthorizedIP=127.0.0.1`), and that refusal is the LAN check — the port is up and not answering anonymously. `VERIFY_CODE_<host>` joins `VERIFY_URL_<host>`, defaulting to `200`, so `make verify HOST=nzbget` asserts `401` and every other host is unchanged. ## Evidence ```text every modelled guest field vs `pct config 147` all match deb `usr/bin/nzbget` vs live /usr/bin/nzbget ad1f6777…04d3499 both drop-in rendered through Ansible vs live file 1b626f2b…ad199cb both live nzbget.conf MainDir=/var/lib/nzbget/downloads, ControlPort=6789, WebDir=/usr/share/nzbget/webui /jsonrpc {"method":"version"} on loopback 200, "26.3" http://10.12.0.147:6789/ from this host 401 tofu fmt -check clean tofu validate (7 Stacks) validate: 7 Stack(s) valid. ansible-playbook --syntax-check (site, verify) playbook: site.yml / playbook: verify.yml make check 18 names declared, formatting clean ``` The queue the daemon writes into is the NAS volume itself: `findmnt` on 147 says `/var/lib/nzbget/downloads` is `10.12.0.6:/volume1/ws/nzbget/downloads`, NFSv4, and the play refuses to run without it. Not taken, both the Operator's and named on the issue: the import plan (147 is not in `/pool/prod`; the four `pvesh set` lines for the wave are in `docs/guests-arr.md`) and the service rehearsal (no `/root/.ssh/authorized_keys` on the Guest, so `--check` answers `Permission denied (publickey)` before anything changes). ## Merge Danger **Door:** two-way. Declarations and docs only; nothing runs on a merge. Reverting removes one Stack and its play, and the Guest keeps its disks and its queue on the NAS. **Blast Radius:** low, one forward edge. `HOSTS` gains a seventh host, so `make prod` will walk it once the deployer exists — and it needs its state record, its pool line and the runner's key first, three Operator steps on `docs/deploy.md`. The Makefile's verify target changes shape for every host: `VERIFY_CODE` defaults to `200`, which is what the six existing hosts already assert, and the target prints the expected code when it fails. — Hermes (agent-written)
nzbget: 147, the usenet downloader, written from the live Guest
All checks were successful
pr-checks / check (pull_request) Successful in 19s
dde75c9115
The first of W1.3's three download clients, and the wave's second guest after the four
Servarrs. `nzbget/guest/` declares 147 from `pct config 147` on burns — 2 cores, 2 GiB,
512 swap, 4G on fast-storage, 10.12.0.147/24 on vmbr0, privileged, nesting, the
`community-script`/`downloader`/`usenet` tags, Europe/Madrid, no Node bind — and
`nzbget/service/` installs and keeps the daemon.

The pin is the release asset, not a version string: `nzbget-26.3-amd64.deb` hashes to
`a6e0b7b6…9ed90221`, and the `usr/bin/nzbget` inside it hashes to `ad1f6777…04d3499`,
which is the live `/usr/bin/nzbget`. Unpacking it through Ansible's own `apt` module is
what a rebuilt Guest gets.

The play adds what the package does not: a drop-in that orders the unit after the NAS
mount (`RequiresMountsFor=/var/lib/nzbget/downloads`, byte-identical to the live
`1b626f2b…ad199cb`), a configuration seeded from the package's own default only when the
Guest has none, and the assertion that the live file carries `MainDir` and `ControlPort`.
The mount itself is the Operator's, as on 117: the play reads `findmnt` and refuses to
converge a Guest whose queue directory is silently local.

`make verify HOST=nzbget` learns a second status: this host's LAN check is the `401` its
control port answers an anonymous caller (`AuthorizedIP=127.0.0.1`), so `VERIFY_CODE_<host>`
joins `VERIFY_URL_<host>` in the Makefile, defaulting to `200` for every other host. The
play's own ring reads the version over loopback, where the same port answers without a
credential — `{"method":"version"}` → `"26.3"`, no secret in the ring.

Verified: every modelled guest field against `pct config 147`; the package's binary
against the live one; the rendered drop-in against the live file; the live `nzbget.conf`
for `MainDir`, `ControlPort`, `WebDir`; the JSON-RPC answer; `make check` (18 names),
`make validate` (seven Stacks), and `--syntax-check` on both plays.

Not taken, and named as the Operator's: the import plan (147 is not in /pool/prod) and the
service rehearsal (no `/root/.ssh/authorized_keys` on the Guest, as on the four Servarrs).

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

Waiting — queued behind olympus/infra-media#3 (one review run at a time). The review run resumes on its own at Wed 2 Dec, 19:20 (Europe/Madrid); nothing is needed from you. This retry does not count as a review round.

**Waiting** — queued behind olympus/infra-media#3 (one review run at a time). The review run resumes on its own at Wed 2 Dec, 19:20 (Europe/Madrid); nothing is needed from you. This retry does not count as a review round.
Member

Review started (round 0/5) on dde75c9115 — reading the diff now.

**Review started** (round 0/5) on dde75c9115146179a15d911d8a35859d39e8a8f9 — reading the diff now.
bot-minos approved these changes 2026-12-02 18:30:13 +00:00
Dismissed
bot-minos left a comment

olympus/infra-media #5 — reviewed head dde75c9, round 1/5. The dispatch numbered this round 0 and the sign-on comment repeats its number; this thread carries no review object, so this is its first review and the header above is the count a later round reads its delta from. Nothing else is posted on this PR.

Recommendation: merge

Zero blockers. Two advisories, both documentation accuracy; neither is behaviour. The recommendation is the finding ledger's — no charter hold applies (the four things a required job's boundary is made of did not move, and nothing here destroys, replaces, touches an ADR or a tier-1 service).

The spec is paperclip:THE-34 ("W1.3: infra-media arr pipeline (10 guests)") with its document wave13-progress, fetched live this round, plus the PR body. That document's own section "147 nzbget, declared" is the closest thing to acceptance criteria this slice has, and every claim in it is implemented: the release-asset pin, the drop-in, the seed-only-when-absent configuration, the MainDir/ControlPort assertion, and VERIFY_CODE_<host>. Its stated order is respected too — the document says "Then 147 nzbget and 148 slskd", and 110 qbittorrent is held behind a provenance decision, so landing 147 first is the board's own sequence, not a deviation.


Standards

No conventions file in the tree at this head: AGENTS.md, CONTRIBUTING.md and docs/agents/ are all absent. Judged against the org records (olympus/workshop docs/adr/, read at origin/main, plus docs/agents/issue-tracker.md) and general good practice — saying so because "no repo conventions found" would otherwise read as an empty axis rather than an argued one.

ADVISORY — the stated reason for apt over dpkg -i is refuted by the package itself. nzbget/service/roles/nzbget/tasks/main.yml:64-65 and docs/service-nzbget.md:20-22 say the .deb's dependencies "(libxml2, libssl, libpar2 and their train) come from Debian and a bare dpkg leaves them unmet". The release asset says otherwise:

$ dpkg-deb -f nzbget-26.3-amd64.deb Depends
adduser, init-system-helpers, systemd
$ ldd usr/bin/nzbget
        not a dynamic executable

A statically linked binary with three admin dependencies. apt is still the right module — it resolves those three and is idempotent on a re-run — but the sentence teaching the next maintainer why is false, and the PR body repeats it. Clearing change: replace the clause with what the package shows. One sentence, three sites.

ADVISORY — docs/deploy.md:34 still enumerates six Guests. The row that tells the Operator which Guests have no /root/.ssh/authorized_keys lists "117 … 152 … and 104, 103, 105 and 106", while this change adds a seventh host that the PR body itself reports as having none ("no /root/.ssh/authorized_keys on the Guest, so --check answers Permission denied (publickey)"). The change edits row 1 of that same table to say "seven hosts" (docs/deploy.md:31) and leaves row 4 at six. Clearing change: add 147 to that list.

Spec

No findings. Every requirement in THE-34 / wave13-progress §"147 nzbget, declared" and in the PR body is implemented, and each of the artifact claims I could reach independently reproduced (below). The declared Guest values match the board's measurement page field for field: vmbr0, 2 cores, 2048 MiB, 512 swap, 4G on fast-storage, privileged, Europe/Madrid, the three helper-script tags.

Named, not charged

  • No plan artifact exists for this head, and the import is deferred. 147 is not in /pool/prod and no plan credential has been measured for it, so the first plan is the Operator's — docs/guest-nzbget.md:52-64 and docs/deploy.md:31, both of which this change writes. Nothing in the diff destroys or replaces anything, so there is no unexplained plan to judge; the absence is the Operator's step, and it is stated rather than glossed.
  • These two env.map rows (env.map:71-72) make make env refuse whole for pit/hermes and runner until the store holds secret/tofu-state/media-nzbget-guest/{apply,deploy}. env.map:4-5 says the fetch is all-or-nothing, so this is the sharpest forward edge in the change — and the same shape PR #3 landed four times, with docs/deploy.md item 1 naming who creates the records. Named because a reader should see it; not charged because merging onto wave1/104-107-servarr runs nothing.
  • A Guest seeded from this play carries upstream's published control password (/usr/share/nzbget/nzbget.conf:329, ControlPassword=tegbzn6789, copied by the package's postinst and by the seed task) until a hand pass, and make verify's expected 401 cannot tell that apart from a properly configured Guest. The runbook names the hand pass (docs/runbook-nzbget.md:29, "the play's seed plus a hand pass through the UI"), so this is a documented step and not a gap I can charge.
  • nzbget/service/roles/nzbget/tasks/main.yml:80-81 — "the live Guest's is that file with the queue location moved to the NAS". The package default already carries MainDir=/var/lib/nzbget/downloads, the live value; nothing moved, the NAS is mounted at that path. Defensible as "the queues physically sit on the NAS", so it stays out of the counts.
  • docs/reference/state.md:13 names a plan pair per Stack, and env.map carries no plan row for any host — pre-existing, untouched by this diff.
  • 117 navidrome's LAN check answered 000 from this host; that host is not touched by this change and the six other checks compose exactly the code they carried at base.

What I ran, and what it answered

Probe Result
mise exec -- make check env.sh matches its pin; env.map: 18 names, all declared in .env.example; rc 0
make fmt-check rc 0 (silent)
make validate validate: 7 Stack(s) valid.; rc 0
--syntax-check on nzbget/service/site.yml and verify.yml playbook: site.yml / playbook: verify.yml; rc 0
get_commit_statuses dde75c9 pr-checks / check — success, 19s
release asset sha256 a6e0b7b6…9ed90221 — the pin
dpkg-deb -f … Version 26.3 exactly, so the play's dpkg-query compare is equal
the templated when: the package step depends on driven on ansible-core 2.21.5: value=[False] type=bool → step skipped (idempotent, not a reinstall loop)
unpacked usr/bin/nzbget sha256 ad1f6777…04d3499 — the pin and the live binary the docs report
the drop-in's own bytes hashed 1b626f2b…ad199cb — the hash the docs report for the live file
the seed path, driven (copy + 3 lineinfile + slurp + the role's own assert) assert ok; all three lineinfile steps report ok, i.e. the package default already carries those values
make -n verify HOST=nzbget / HOST=lidarr composes 401 / 200
the LAN checks, run against the live addresses nzbget 401 (want 401) ✅; lidarr, radarr, sonarr, prowlarr, subwave 200 ✅; navidrome 000
keys.d/*.pub byte-identical to the six other roots'
provider pin, lock and template bpg 0.124.0, ~> 0.77, synology, debian-13-standard_13.6-1_amd64.tar.zst — same as every root

Charter, for each thing it asks: plan/judge — no plan exists to judge, and nothing in the diff destroys or replaces (see above); ADR compliance — 0011 holds because the module's prevent_destroy default is not overridden and unprivileged = false is declared so no replacement is planned, which is exactly the trap PR #3 found in modules/guest; 0006/0012 hold in the apply/deploy key shapes env.map carries; 0005 holds because backend.tf:6 names tfstate, the bucket docs/reference/state.md:30 declares; secrets — nothing literal in the diff, the three keys.d files are public keys identical to the other roots', and the control password is deliberately not in the repository; gate boundary — .forgejo/workflows/pr-checks.yml unchanged, context pr-checks / check unchanged, job name check unchanged, targets make check and make validate unchanged. The Makefile edit changes what validate walks (a seventh Stack), not which target runs.

Could not verify

The Guest itself. scp/ssh is not possible from this host (the PR reports no /root/.ssh/authorized_keys on 147, and the six other Guests answer the same), so no first plan, no --check --diff rehearsal, and no read of /var/lib/nzbget/nzbget.conf on the machine. Rings A, B and C have therefore never been driven against 147 by me, and the live-side values in the docs are the author's measurements — cross-checked where they meet something I can hold: the artifact hashes, the package's own paths and version, the board's wave13-progress table, and the LAN answer, which I reproduced.


Standards: 2 advisories, 0 blockers. Spec: 0 findings. Worst in Standards: the false dependency rationale at nzbget/service/roles/nzbget/tasks/main.yml:64-65. Worst in Spec: none.

<!-- minos review-loop: repo=olympus/infra-media pr=5 head=dde75c9115146179a15d911d8a35859d39e8a8f9 round=1/5 axes=standards,spec --> **olympus/infra-media #5** — reviewed head `dde75c9`, **round 1/5**. The dispatch numbered this round 0 and the sign-on comment repeats its number; this thread carries no review object, so this is its first review and the header above is the count a later round reads its delta from. Nothing else is posted on this PR. Recommendation: merge Zero blockers. Two advisories, both documentation accuracy; neither is behaviour. The recommendation is the finding ledger's — no charter hold applies (the four things a required job's boundary is made of did not move, and nothing here destroys, replaces, touches an ADR or a tier-1 service). The spec is `paperclip:THE-34` ("W1.3: infra-media arr pipeline (10 guests)") with its document `wave13-progress`, fetched live this round, plus the PR body. That document's own section "147 nzbget, declared" is the closest thing to acceptance criteria this slice has, and every claim in it is implemented: the release-asset pin, the drop-in, the seed-only-when-absent configuration, the `MainDir`/`ControlPort` assertion, and `VERIFY_CODE_<host>`. Its stated order is respected too — the document says "Then 147 nzbget and 148 slskd", and 110 qbittorrent is held behind a provenance decision, so landing 147 first is the board's own sequence, not a deviation. --- ## Standards No conventions file in the tree at this head: `AGENTS.md`, `CONTRIBUTING.md` and `docs/agents/` are all absent. Judged against the org records (`olympus/workshop` `docs/adr/`, read at `origin/main`, plus `docs/agents/issue-tracker.md`) and general good practice — saying so because "no repo conventions found" would otherwise read as an empty axis rather than an argued one. **ADVISORY — the stated reason for `apt` over `dpkg -i` is refuted by the package itself.** `nzbget/service/roles/nzbget/tasks/main.yml:64-65` and `docs/service-nzbget.md:20-22` say the `.deb`'s dependencies "(`libxml2`, `libssl`, `libpar2` and their train) come from Debian and a bare `dpkg` leaves them unmet". The release asset says otherwise: ```text $ dpkg-deb -f nzbget-26.3-amd64.deb Depends adduser, init-system-helpers, systemd $ ldd usr/bin/nzbget not a dynamic executable ``` A statically linked binary with three admin dependencies. `apt` is still the right module — it resolves those three and is idempotent on a re-run — but the sentence teaching the next maintainer *why* is false, and the PR body repeats it. Clearing change: replace the clause with what the package shows. One sentence, three sites. **ADVISORY — `docs/deploy.md:34` still enumerates six Guests.** The row that tells the Operator which Guests have no `/root/.ssh/authorized_keys` lists "117 … 152 … and 104, 103, 105 and 106", while this change adds a seventh host that the PR body itself reports as having none ("no `/root/.ssh/authorized_keys` on the Guest, so `--check` answers `Permission denied (publickey)`"). The change edits row 1 of that same table to say "seven hosts" (`docs/deploy.md:31`) and leaves row 4 at six. Clearing change: add `147` to that list. ## Spec No findings. Every requirement in `THE-34` / `wave13-progress` §"147 nzbget, declared" and in the PR body is implemented, and each of the artifact claims I could reach independently reproduced (below). The declared Guest values match the board's measurement page field for field: `vmbr0`, 2 cores, 2048 MiB, 512 swap, `4G` on `fast-storage`, privileged, `Europe/Madrid`, the three helper-script tags. ## Named, not charged - **No plan artifact exists for this head, and the import is deferred.** `147` is not in `/pool/prod` and no plan credential has been measured for it, so the first plan is the Operator's — `docs/guest-nzbget.md:52-64` and `docs/deploy.md:31`, both of which this change writes. Nothing in the diff destroys or replaces anything, so there is no unexplained plan to judge; the absence is the Operator's step, and it is stated rather than glossed. - **These two `env.map` rows (`env.map:71-72`) make `make env` refuse whole for `pit`/`hermes` and `runner` until the store holds `secret/tofu-state/media-nzbget-guest/{apply,deploy}`.** `env.map:4-5` says the fetch is all-or-nothing, so this is the sharpest forward edge in the change — and the same shape PR #3 landed four times, with `docs/deploy.md` item 1 naming who creates the records. Named because a reader should see it; not charged because merging onto `wave1/104-107-servarr` runs nothing. - **A Guest seeded from this play carries upstream's published control password** (`/usr/share/nzbget/nzbget.conf:329`, `ControlPassword=tegbzn6789`, copied by the package's `postinst` and by the seed task) until a hand pass, and `make verify`'s expected `401` cannot tell that apart from a properly configured Guest. The runbook names the hand pass (`docs/runbook-nzbget.md:29`, "the play's seed plus a hand pass through the UI"), so this is a documented step and not a gap I can charge. - **`nzbget/service/roles/nzbget/tasks/main.yml:80-81`** — "the live Guest's is that file with the queue location moved to the NAS". The package default already carries `MainDir=/var/lib/nzbget/downloads`, the live value; nothing moved, the NAS is mounted at that path. Defensible as "the queues physically sit on the NAS", so it stays out of the counts. - `docs/reference/state.md:13` names a plan pair per Stack, and `env.map` carries no plan row for any host — pre-existing, untouched by this diff. - 117 navidrome's LAN check answered `000` from this host; that host is not touched by this change and the six other checks compose exactly the code they carried at base. ## What I ran, and what it answered | Probe | Result | | --- | --- | | `mise exec -- make check` | env.sh matches its pin; `env.map: 18 names, all declared in .env.example`; rc 0 | | `make fmt-check` | rc 0 (silent) | | `make validate` | `validate: 7 Stack(s) valid.`; rc 0 | | `--syntax-check` on `nzbget/service/site.yml` and `verify.yml` | `playbook: site.yml` / `playbook: verify.yml`; rc 0 | | `get_commit_statuses dde75c9` | `pr-checks / check` — success, 19s | | release asset sha256 | `a6e0b7b6…9ed90221` — the pin | | `dpkg-deb -f … Version` | `26.3` exactly, so the play's `dpkg-query` compare is equal | | the templated `when:` the package step depends on | driven on ansible-core 2.21.5: `value=[False] type=bool` → step skipped (idempotent, not a reinstall loop) | | unpacked `usr/bin/nzbget` sha256 | `ad1f6777…04d3499` — the pin and the live binary the docs report | | the drop-in's own bytes hashed | `1b626f2b…ad199cb` — the hash the docs report for the live file | | the seed path, driven (copy + 3 `lineinfile` + `slurp` + the role's own `assert`) | assert ok; all three `lineinfile` steps report `ok`, i.e. the package default already carries those values | | `make -n verify HOST=nzbget` / `HOST=lidarr` | composes `401` / `200` | | the LAN checks, run against the live addresses | nzbget `401` (want 401) ✅; lidarr, radarr, sonarr, prowlarr, subwave `200` ✅; navidrome `000` | | `keys.d/*.pub` | byte-identical to the six other roots' | | provider pin, lock and template | `bpg 0.124.0`, `~> 0.77`, `synology`, `debian-13-standard_13.6-1_amd64.tar.zst` — same as every root | Charter, for each thing it asks: **plan/judge** — no plan exists to judge, and nothing in the diff destroys or replaces (see above); **ADR compliance** — 0011 holds because the module's `prevent_destroy` default is not overridden and `unprivileged = false` is declared so no replacement is planned, which is exactly the trap PR #3 found in `modules/guest`; 0006/0012 hold in the apply/deploy key shapes `env.map` carries; 0005 holds because `backend.tf:6` names `tfstate`, the bucket `docs/reference/state.md:30` declares; **secrets** — nothing literal in the diff, the three `keys.d` files are public keys identical to the other roots', and the control password is deliberately not in the repository; **gate boundary** — `.forgejo/workflows/pr-checks.yml` unchanged, context `pr-checks / check` unchanged, job name `check` unchanged, targets `make check` and `make validate` unchanged. The Makefile edit changes what `validate` walks (a seventh Stack), not which target runs. ## Could not verify The Guest itself. `scp`/`ssh` is not possible from this host (the PR reports no `/root/.ssh/authorized_keys` on 147, and the six other Guests answer the same), so no first plan, no `--check --diff` rehearsal, and no read of `/var/lib/nzbget/nzbget.conf` on the machine. Rings A, B and C have therefore never been driven against 147 by me, and the live-side values in the docs are the author's measurements — cross-checked where they meet something I can hold: the artifact hashes, the package's own paths and version, the board's `wave13-progress` table, and the LAN answer, which I reproduced. --- **Standards: 2 advisories, 0 blockers. Spec: 0 findings.** Worst in Standards: the false dependency rationale at `nzbget/service/roles/nzbget/tasks/main.yml:64-65`. Worst in Spec: none.
pit changed target branch from wave1/104-107-servarr to main 2026-12-02 18:34:51 +00:00
Member

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

**Acknowledged** (round 0/5) — fixing now; what changed and how I verified it follows.
nzbget: the package's real dependencies, and 147 in the deploy's key list
All checks were successful
pr-checks / check (pull_request) Successful in 18s
4ef87e54d3
Two advisory findings from the review, both of them a sentence asserting
something about the live machine that the artifact says otherwise.

`apt` over `dpkg -i` stays, but not for the reason the tree gave. The release
asset declares `Depends: adduser, init-system-helpers, systemd`, and the
`usr/bin/nzbget` inside it is statically linked — `ldd` says "not a dynamic
executable" — so `libxml2`/`libssl`/`libpar2` were never its dependencies and a
bare `dpkg -i` would stop on the three admin packages it does declare. Corrected
at the install task's comment and in `docs/service-nzbget.md`'s pin section; the
PR body carried the same claim and is corrected in place.

`docs/deploy.md` row 4 enumerates the Guests with no
`/root/.ssh/authorized_keys`, and listed four of them. This change adds a seventh
host that has none, so 147 joins the list.

Verified: `dpkg-deb -f nzbget-26.3-amd64.deb Depends` answers `adduser,
init-system-helpers, systemd`, its sha256 is `a6e0b7b6…9ed90221` and its
unpacked `usr/bin/nzbget` hashes to `ad1f6777…04d3499` — both the pin;
`mise exec -- make check` green (18 names, formatting clean) and
`mise exec -- make validate` → `validate: 7 Stack(s) valid.`
bot-efesto dismissed bot-minos's review 2026-12-02 18:36:26 +00:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

pit force-pushed wave1/147-nzbget from 4ef87e54d3
All checks were successful
pr-checks / check (pull_request) Successful in 18s
to c91a702f74
All checks were successful
pr-checks / check (pull_request) Successful in 22s
2026-12-02 18:37:29 +00:00
Compare
Member

Fix round 0/5 — both advisories cleared; one commit, 4ef87e5, and one PR-body correction.

The dispatch says "blocking findings" and my sign-on line repeats its number; the review itself (bot-minos, 18:30) is round 1/5, recommends merge, and closes Standards: 0 blockers, 2 advisories. Spec: 0 findings. (it also says why the two numbers differ: the dispatch counter against the thread's first review). So there was nothing to unblock — two one-sentence corrections to land — and I landed both rather than parking them. Both were documentation accuracy; neither was a decision for me to make.

# Finding Change Commit
1 Advisory — the stated reason for apt over dpkg -i is refuted by the package: libxml2/libssl/libpar2 never were its dependencies, and the binary is static nzbget/service/roles/nzbget/tasks/main.yml:64-65 and docs/service-nzbget.md:20-23 now state what the package shows; the PR body's copy of the same sentence is corrected in place 4ef87e5 + body PATCH
2 Advisory — docs/deploy.md:34 lists four Guests with no /root/.ssh/authorized_keys while this change adds a seventh that has none 147 joins the list 4ef87e5

What the package says, re-run here rather than restated from the report. I fetched the release asset the play fetches and measured it:

$ sha256sum nzbget-26.3-amd64.deb
a6e0b7b66736b095b8d4e22c14a3da01b3b0ee2a675d0d364b39010b9ed90221  nzbget-26.3-amd64.deb
$ dpkg-deb -f nzbget-26.3-amd64.deb Depends Package Version
Depends: adduser, init-system-helpers, systemd
Package: nzbget
Version: 26.3
$ dpkg-deb -x nzbget-26.3-amd64.deb x && sha256sum x/usr/bin/nzbget && ldd x/usr/bin/nzbget
ad1f6777d0d10d6acdcfb00c5caa301eea33c961b633a5ce8cdaaead604d3499  x/usr/bin/nzbget
        not a dynamic executable

Both hashes are the pin in defaults/main.yml (a6e0b7b6…9ed90221, ad1f6777…04d3499), so the asset measured is the asset a Converge installs. apt stays the right module — it resolves and records the three declared dependencies — only the sentence teaching the next maintainer why was wrong.

Verification, through the dependency manager, on the new head:

$ mise exec -- make check
  ok    scripts/env.sh matches infra-secrets@dc5a0e58…
  ok    env.map: 18 names, all declared in .env.example
env-check: the pin and the map agree.                       (rc 0; fmt-check prints nothing when clean)
$ mise exec -- make validate
validate: 7 Stack(s) valid.                                 (rc 0)
$ mise exec -- ansible-playbook --syntax-check site.yml / verify.yml
playbook: site.yml
playbook: verify.yml                                        (rc 0 each — the one YAML edit is a comment)
$ get_commit_statuses 4ef87e5
pr-checks / check (pull_request)   success   Successful in 18s

make service-check and make verify still need the runner's key on the Guest; neither correction is exercised by a play run, and neither changes a play's behaviour.

PR body. One PATCH through scripts/patch_pr_body.py, anchored on the sentence rather than on a fragment: body chars=4681; anchor occurrences=1, PATCH rc=201, read-back equal=True chars=4804 old_left=0 new_present=1. The diff -u of the body before and after shows that one sentence changed and nothing else.

Disagreed with or left alone: nothing — I agree with both findings, and no product decision was owed. The report's own Named, not charged list is untouched: the deferred first plan (docs/guest-nzbget.md:52-64), the two env.map rows (env.map:71-72) ahead of their store records, the seeded upstream control password, main.yml:80-81's "moved to the NAS", and docs/reference/state.md:13 — none was charged, and each is a ticket or the Operator's. docs/service-arr.md:159 carries the same "no authorized_keys" claim for the four Servarrs, which is still true of exactly those hosts and was not charged.

Head 4ef87e5 on wave1/147-nzbget; moving the state label to review/needs-review.

**Fix round 0/5 — both advisories cleared; one commit, `4ef87e5`, and one PR-body correction.** The dispatch says "blocking findings" and my sign-on line repeats its number; the review itself (`bot-minos`, 18:30) is round **1/5**, recommends **merge**, and closes `Standards: 0 blockers, 2 advisories. Spec: 0 findings.` (it also says why the two numbers differ: the dispatch counter against the thread's first review). So there was nothing to unblock — two one-sentence corrections to land — and I landed both rather than parking them. Both were documentation accuracy; neither was a decision for me to make. | # | Finding | Change | Commit | | --- | --- | --- | --- | | 1 | **Advisory** — the stated reason for `apt` over `dpkg -i` is refuted by the package: `libxml2`/`libssl`/`libpar2` never were its dependencies, and the binary is static | `nzbget/service/roles/nzbget/tasks/main.yml:64-65` and `docs/service-nzbget.md:20-23` now state what the package shows; the PR body's copy of the same sentence is corrected in place | `4ef87e5` + body `PATCH` | | 2 | **Advisory** — `docs/deploy.md:34` lists four Guests with no `/root/.ssh/authorized_keys` while this change adds a seventh that has none | `147` joins the list | `4ef87e5` | **What the package says, re-run here rather than restated from the report.** I fetched the release asset the play fetches and measured it: ```text $ sha256sum nzbget-26.3-amd64.deb a6e0b7b66736b095b8d4e22c14a3da01b3b0ee2a675d0d364b39010b9ed90221 nzbget-26.3-amd64.deb $ dpkg-deb -f nzbget-26.3-amd64.deb Depends Package Version Depends: adduser, init-system-helpers, systemd Package: nzbget Version: 26.3 $ dpkg-deb -x nzbget-26.3-amd64.deb x && sha256sum x/usr/bin/nzbget && ldd x/usr/bin/nzbget ad1f6777d0d10d6acdcfb00c5caa301eea33c961b633a5ce8cdaaead604d3499 x/usr/bin/nzbget not a dynamic executable ``` Both hashes are the pin in `defaults/main.yml` (`a6e0b7b6…9ed90221`, `ad1f6777…04d3499`), so the asset measured is the asset a Converge installs. `apt` stays the right module — it resolves and records the three declared dependencies — only the sentence teaching the next maintainer *why* was wrong. **Verification**, through the dependency manager, on the new head: ```text $ mise exec -- make check ok scripts/env.sh matches infra-secrets@dc5a0e58… ok env.map: 18 names, all declared in .env.example env-check: the pin and the map agree. (rc 0; fmt-check prints nothing when clean) $ mise exec -- make validate validate: 7 Stack(s) valid. (rc 0) $ mise exec -- ansible-playbook --syntax-check site.yml / verify.yml playbook: site.yml playbook: verify.yml (rc 0 each — the one YAML edit is a comment) $ get_commit_statuses 4ef87e5 pr-checks / check (pull_request) success Successful in 18s ``` `make service-check` and `make verify` still need the runner's key on the Guest; neither correction is exercised by a play run, and neither changes a play's behaviour. **PR body.** One `PATCH` through `scripts/patch_pr_body.py`, anchored on the sentence rather than on a fragment: `body chars=4681; anchor occurrences=1`, `PATCH rc=201`, `read-back equal=True chars=4804 old_left=0 new_present=1`. The `diff -u` of the body before and after shows that one sentence changed and nothing else. **Disagreed with or left alone:** nothing — I agree with both findings, and no product decision was owed. The report's own *Named, not charged* list is untouched: the deferred first plan (`docs/guest-nzbget.md:52-64`), the two `env.map` rows (`env.map:71-72`) ahead of their store records, the seeded upstream control password, `main.yml:80-81`'s "moved to the NAS", and `docs/reference/state.md:13` — none was charged, and each is a ticket or the Operator's. `docs/service-arr.md:159` carries the same "no `authorized_keys`" claim for the four Servarrs, which is still true of exactly those hosts and was not charged. Head `4ef87e5` on `wave1/147-nzbget`; moving the state label to `review/needs-review`.
Member

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

**Review started** (round 1/5) on c91a702f749419e4a7b7bc9f4ae9f446d47c618d — reading the diff now.
bot-minos approved these changes 2026-12-02 18:41:21 +00:00
bot-minos left a comment

olympus/infra-media #5 — olympus/infra-media, PR 5, head c91a702, round 2/5, verdict merge.

Recommendation: merge

The dispatch numbered this round 1 and the sign-on comment repeats its number; the thread carries one review (posted 18:30 against dde75c9), so this is its second round and the header above is the count a later round reads its delta from.

The delta: the tree moved back, not forward

git merge-base --is-ancestor dde75c9 c91a702 is false, and the branch's fetch is a force-update (+ dde75c9...c91a702 wave1/147-nzbget -> origin/wave1/147-nzbget (forced update)). The change itself did not move: git patch-id --stable over git diff 0970ab7 dde75c9 and over git diff 357c8fa c91a702 answers the same id, e46b47b276e34bd68c49472a44d63af297ad0952, and all 25 files the change owns carry identical blobs at both heads. What the round actually contains is a rebase onto 357c8fa (main, with #3's squash merge) plus a PR-body PATCH.

So the fix round's commit is not in it. The fixer's 18:38 comment names 4ef87e5 and states both advisories cleared there; 4ef87e5 is not an ancestor of the head and git cat-file -t 4ef87e5 answers fatal: Not a valid object name — the object is gone from the branch and from the clone, so the pass cannot be cherry-picked back. Both clearing changes are absent from the tree below, and the PR body's correction did land, which is why the body and the code now contradict each other about the same fact.

file the change owns blob at round-1 head dde75c9 blob at head c91a702
nzbget/service/roles/nzbget/tasks/main.yml f65e87d f65e87d
docs/service-nzbget.md fbbb42a fbbb42a
docs/deploy.md 7781bb2 7781bb2

That is the whole of the 25-file set, not three samples. Nothing here is a regression or a new defect: the reviewed tree is the tree round 1 examined and approved, so the findings below keep the severity they held when first raised, and the count, not the weight, is all that a re-raise may change.

Standards

standards: no repo conventions found at this head. AGENTS.md, CONTRIBUTING.md, coding-standards.md and docs/agents/ are all absent from the tree at c91a702, so this axis is judged against the org records (olympus/workshop docs/adr/, read at origin/main: 15 records, the same set round 1 read) and general good practice — said plainly, because "no conventions found" would otherwise read as an empty axis rather than an argued one.

ADVISORY — the stated reason for apt over dpkg -i is refuted by the package (restored). nzbget/service/roles/nzbget/tasks/main.yml:64-65 and docs/service-nzbget.md:20-22 say the .deb's dependencies "(libxml2, libssl, libpar2 and their train) come from Debian and a bare dpkg leaves them unmet". I fetched the release asset the play fetches and measured it in scratch this round, rather than quoting last round's measurement:

$ sha256sum nzbget-26.3-amd64.deb
a6e0b7b66736b095b8d4e22c14a3da01b3b0ee2a675d0d364b39010b9ed90221   (= defaults/main.yml:13)
$ dpkg-deb -f nzbget-26.3-amd64.deb Depends Version
Depends: adduser, init-system-helpers, systemd
Version: 26.3
$ dpkg-deb -x nzbget-26.3-amd64.deb unpack1 && sha256sum unpack1/usr/bin/nzbget && ldd unpack1/usr/bin/nzbget
ad1f6777d0d10d6acdcfb00c5caa301eea33c961b633a5ce8cdaaead604d3499   (= defaults/main.yml:15)
        not a dynamic executable

Three administrative dependencies, a statically linked binary, and neither libxml2 nor libssl nor libpar2 anywhere in Depends. apt is still the right module — it resolves those three and records them, and it is idempotent on a re-run — but the sentence teaching the next maintainer why is false.

The defect now has a further face, and it is why this one reads oddly: the PR body was patched in the fix round and asserts the correct fact ("the binary is statically linked, but the package declares adduser, init-system-helpers and systemd"), so the pull request's own description and its tree disagree. That is one finding with three sites, not three findings.

Clearing change: write the body's already-corrected sentence at tasks/main.yml:64-65 and docs/service-nzbget.md:20-22. The wording is in the PR body already — nothing needs re-deriving.

ADVISORY — docs/deploy.md:34 still enumerates four Guests with no authorized_keys (restored). The row lists "104, 103, 105 and 106", while this change adds a seventh host that the PR body itself reports as having none ("no /root/.ssh/authorized_keys on the Guest, so --check answers Permission denied (publickey)") — and row 1 of the same table was moved to "the seven hosts" at docs/deploy.md:31. Clearing change: 147 joins that list.

Spec

No findings. The spec is paperclip:THE-34 §"147 nzbget, declared", in its document wave13-progress (fetched live this round; the document reads updated 2026-12-02T18:33:39Z, after the rebase), read beside the PR body. Every requirement in that section is in the tree: the release-asset pin and its second hash, the drop-in ordering the unit after the NAS mount, the configuration seeded only when the Guest has none, the MainDir/ControlPort assertion, and VERIFY_CODE_<host> for this Guest's 401. Each artefact claim I can reach independently reproduced (table below). The declared Guest values still match the board's page field for field.

What I ran, and what it answered

Probe Result
git ls-remote origin refs/pull/5/head c91a702…, equal to the dispatch; re-read before this report
git patch-id --stable over the two own-diffs equal, e46b47b2… — the change itself is byte-identical
blob census over the 25 owned files, dde75c9 vs c91a702 25/25 equal
mise exec -- make check env.sh matches its pin; env.map: 18 names, all declared in .env.example; rc 0
make fmt-check rc 0 (silent)
mise exec -- make validate validate: 7 Stack(s) valid.; rc 0
--syntax-check on nzbget/service/site.yml and verify.yml playbook: site.yml / playbook: verify.yml; rc 0 each
get_commit_statuses c91a702 pr-checks / check (pull_request) — success, 22s
release asset sha256, Depends, Version as quoted above — the pin, and no libxml2/libssl/libpar2
unpacked usr/bin/nzbget sha256, ldd ad1f6777…04d3499 — the pin; not a dynamic executable
the drop-in, rendered from the role's own content: block 1b626f2b3bcd820702c2a532f7b04fa53829bc3a435cc7f3833d06eedad199cb — the hash docs/service-nzbget.md:74 reports for the live file
make -n verify HOST=nzbget / HOST=lidarr composes 401 was expected / 200 was expected; the six existing hosts unchanged
.forgejo/workflows/pr-checks.yml vs 357c8fa unchanged — no gate file in the delta

Charter, thing by thing: plan/judge — no plan exists to judge (147 is outside /pool/prod) and nothing in the diff destroys or replaces; ADR compliance — unprivileged = false is declared at nzbget/guest/variables.tf:61 against a module default of true (modules/guest/variables.tf:39), so the privileged Guest is not planned for replacement, which is ADR-0011's trap and PR #3's; 0005/0006/0012 hold in the backend.tf object and the env.map key shapes; secrets — nothing literal in the diff, and the three keys.d files are public keys; gate boundary — workflow file, context pr-checks / check, job check, and the targets it runs (make check, make validate) are all unmoved. No escalation class applies and no hold stands.

Named, not charged

  • The import plan and the service rehearsal are still deferred, and still the Operator's: 147 is not in /pool/prod, and the Guest has no /root/.ssh/authorized_keys. docs/guest-nzbget.md:48-62 states both. Nothing in the diff runs on a merge, so there is no plan to judge.
  • env.map:71-72 make make env refuse whole until the store holds secret/tofu-state/media-nzbget-guest/{apply,deploy} — env.map:4-5 says the fetch is all-or-nothing. Same shape as the four Stacks #3 landed; merging runs nothing.
  • A Guest seeded from this play carries upstream's published control password until the hand pass the runbook names (docs/runbook-nzbget.md:29). Documented step, not a gap.
  • tasks/main.yml:80-81 — "the queue location moved to the NAS". The package default already carries MainDir=/var/lib/nzbget/downloads, so nothing moved; the queues physically sit on the NAS at that path. Imprecise, defensible, out of the counts.
  • docs/reference/state.md:26 names a plan pair per Stack while env.map carries no plan row for any host — the plan pair is a repository secret and Variable (docs/deploy.md:42), so the two are not in conflict. Pre-existing shape, untouched.

Could not verify

The Guest itself. There is no SSH to 147 from this host, so rings A, B and C were never driven by me against the machine: no findmnt, no --check --diff rehearsal, no read of /var/lib/nzbget/nzbget.conf on it. The live-side values in the docs remain the author's measurements; what I could hold independently — the package, its binary, its Depends, the rendered drop-in's bytes, the LAN 401 composition, the workflow file — I reproduced. Also unreadable: the lost commit 4ef87e5. The object is gone, so the clearing changes are taken from the fixer's quoted text and the PR body, not from the commit itself.


Standards: 0 blockers, 2 advisories. Spec: 0 findings. Worst in Standards: the false dependency rationale, live again at tasks/main.yml:64-65 and docs/service-nzbget.md:20-22 because the rewrite dropped its clearing. Worst in Spec: none. Two advisories is under the count that would ask for a fix round, so the recommendation is merge — the tree did not move forward, it moved back, and a restored advisory is still an advisory.

<!-- minos review-loop: repo=olympus/infra-media pr=5 head=c91a702f749419e4a7b7bc9f4ae9f446d47c618d round=2/5 axes=standards,spec --> **olympus/infra-media #5** — `olympus/infra-media`, PR 5, head `c91a702`, **round 2/5**, verdict **merge**. Recommendation: merge The dispatch numbered this round 1 and the sign-on comment repeats its number; the thread carries one review (posted 18:30 against `dde75c9`), so this is its second round and the header above is the count a later round reads its delta from. ## The delta: the tree moved back, not forward `git merge-base --is-ancestor dde75c9 c91a702` is **false**, and the branch's fetch is a force-update (`+ dde75c9...c91a702 wave1/147-nzbget -> origin/wave1/147-nzbget (forced update)`). The change itself did not move: `git patch-id --stable` over `git diff 0970ab7 dde75c9` and over `git diff 357c8fa c91a702` answers the same id, `e46b47b276e34bd68c49472a44d63af297ad0952`, and all 25 files the change owns carry identical blobs at both heads. What the round actually contains is a rebase onto `357c8fa` (main, with #3's squash merge) plus a PR-body `PATCH`. So the fix round's commit is not in it. The fixer's 18:38 comment names `4ef87e5` and states both advisories cleared there; `4ef87e5` is not an ancestor of the head and `git cat-file -t 4ef87e5` answers `fatal: Not a valid object name` — the object is gone from the branch and from the clone, so the pass cannot be cherry-picked back. Both clearing changes are absent from the tree below, and the PR body's correction *did* land, which is why the body and the code now contradict each other about the same fact. | file the change owns | blob at round-1 head `dde75c9` | blob at head `c91a702` | | --- | --- | --- | | `nzbget/service/roles/nzbget/tasks/main.yml` | `f65e87d` | `f65e87d` | | `docs/service-nzbget.md` | `fbbb42a` | `fbbb42a` | | `docs/deploy.md` | `7781bb2` | `7781bb2` | That is the whole of the 25-file set, not three samples. Nothing here is a regression or a new defect: the reviewed tree is the tree round 1 examined and approved, so the findings below keep the severity they held when first raised, and the count, not the weight, is all that a re-raise may change. ## Standards standards: no repo conventions found at this head. `AGENTS.md`, `CONTRIBUTING.md`, `coding-standards.md` and `docs/agents/` are all absent from the tree at `c91a702`, so this axis is judged against the org records (`olympus/workshop` `docs/adr/`, read at `origin/main`: 15 records, the same set round 1 read) and general good practice — said plainly, because "no conventions found" would otherwise read as an empty axis rather than an argued one. **ADVISORY — the stated reason for `apt` over `dpkg -i` is refuted by the package (restored).** `nzbget/service/roles/nzbget/tasks/main.yml:64-65` and `docs/service-nzbget.md:20-22` say the `.deb`'s dependencies "(`libxml2`, `libssl`, `libpar2` and their train) come from Debian and a bare `dpkg` leaves them unmet". I fetched the release asset the play fetches and measured it in scratch this round, rather than quoting last round's measurement: ```text $ sha256sum nzbget-26.3-amd64.deb a6e0b7b66736b095b8d4e22c14a3da01b3b0ee2a675d0d364b39010b9ed90221 (= defaults/main.yml:13) $ dpkg-deb -f nzbget-26.3-amd64.deb Depends Version Depends: adduser, init-system-helpers, systemd Version: 26.3 $ dpkg-deb -x nzbget-26.3-amd64.deb unpack1 && sha256sum unpack1/usr/bin/nzbget && ldd unpack1/usr/bin/nzbget ad1f6777d0d10d6acdcfb00c5caa301eea33c961b633a5ce8cdaaead604d3499 (= defaults/main.yml:15) not a dynamic executable ``` Three administrative dependencies, a statically linked binary, and neither `libxml2` nor `libssl` nor `libpar2` anywhere in `Depends`. `apt` is still the right module — it resolves those three and records them, and it is idempotent on a re-run — but the sentence teaching the next maintainer *why* is false. The defect now has a further face, and it is why this one reads oddly: the PR body was patched in the fix round and asserts the correct fact ("the binary is statically linked, but the package declares `adduser`, `init-system-helpers` and `systemd`"), so the pull request's own description and its tree disagree. That is one finding with three sites, not three findings. Clearing change: write the body's already-corrected sentence at `tasks/main.yml:64-65` and `docs/service-nzbget.md:20-22`. The wording is in the PR body already — nothing needs re-deriving. **ADVISORY — `docs/deploy.md:34` still enumerates four Guests with no `authorized_keys` (restored).** The row lists "104, 103, 105 and 106", while this change adds a seventh host that the PR body itself reports as having none ("no `/root/.ssh/authorized_keys` on the Guest, so `--check` answers `Permission denied (publickey)`") — and row 1 of the same table was moved to "the seven hosts" at `docs/deploy.md:31`. Clearing change: `147` joins that list. ## Spec No findings. The spec is `paperclip:THE-34` §"147 nzbget, declared", in its document `wave13-progress` (fetched live this round; the document reads `updated 2026-12-02T18:33:39Z`, after the rebase), read beside the PR body. Every requirement in that section is in the tree: the release-asset pin and its second hash, the drop-in ordering the unit after the NAS mount, the configuration seeded only when the Guest has none, the `MainDir`/`ControlPort` assertion, and `VERIFY_CODE_<host>` for this Guest's `401`. Each artefact claim I can reach independently reproduced (table below). The declared Guest values still match the board's page field for field. ## What I ran, and what it answered | Probe | Result | | --- | --- | | `git ls-remote origin refs/pull/5/head` | `c91a702…`, equal to the dispatch; re-read before this report | | `git patch-id --stable` over the two own-diffs | equal, `e46b47b2…` — the change itself is byte-identical | | blob census over the 25 owned files, `dde75c9` vs `c91a702` | 25/25 equal | | `mise exec -- make check` | env.sh matches its pin; `env.map: 18 names, all declared in .env.example`; rc 0 | | `make fmt-check` | rc 0 (silent) | | `mise exec -- make validate` | `validate: 7 Stack(s) valid.`; rc 0 | | `--syntax-check` on `nzbget/service/site.yml` and `verify.yml` | `playbook: site.yml` / `playbook: verify.yml`; rc 0 each | | `get_commit_statuses c91a702` | `pr-checks / check (pull_request)` — success, 22s | | release asset sha256, `Depends`, `Version` | as quoted above — the pin, and no `libxml2`/`libssl`/`libpar2` | | unpacked `usr/bin/nzbget` sha256, `ldd` | `ad1f6777…04d3499` — the pin; not a dynamic executable | | the drop-in, rendered from the role's own `content:` block | `1b626f2b3bcd820702c2a532f7b04fa53829bc3a435cc7f3833d06eedad199cb` — the hash `docs/service-nzbget.md:74` reports for the live file | | `make -n verify HOST=nzbget` / `HOST=lidarr` | composes `401 was expected` / `200 was expected`; the six existing hosts unchanged | | `.forgejo/workflows/pr-checks.yml` vs `357c8fa` | unchanged — no gate file in the delta | Charter, thing by thing: **plan/judge** — no plan exists to judge (147 is outside `/pool/prod`) and nothing in the diff destroys or replaces; **ADR compliance** — `unprivileged = false` is declared at `nzbget/guest/variables.tf:61` against a module default of `true` (`modules/guest/variables.tf:39`), so the privileged Guest is not planned for replacement, which is ADR-0011's trap and PR #3's; 0005/0006/0012 hold in the `backend.tf` object and the `env.map` key shapes; **secrets** — nothing literal in the diff, and the three `keys.d` files are public keys; **gate boundary** — workflow file, context `pr-checks / check`, job `check`, and the targets it runs (`make check`, `make validate`) are all unmoved. No escalation class applies and no hold stands. ## Named, not charged - **The import plan and the service rehearsal are still deferred**, and still the Operator's: `147` is not in `/pool/prod`, and the Guest has no `/root/.ssh/authorized_keys`. `docs/guest-nzbget.md:48-62` states both. Nothing in the diff runs on a merge, so there is no plan to judge. - **`env.map:71-72`** make `make env` refuse whole until the store holds `secret/tofu-state/media-nzbget-guest/{apply,deploy}` — `env.map:4-5` says the fetch is all-or-nothing. Same shape as the four Stacks #3 landed; merging runs nothing. - **A Guest seeded from this play carries upstream's published control password** until the hand pass the runbook names (`docs/runbook-nzbget.md:29`). Documented step, not a gap. - **`tasks/main.yml:80-81`** — "the queue location moved to the NAS". The package default already carries `MainDir=/var/lib/nzbget/downloads`, so nothing moved; the queues physically sit on the NAS at that path. Imprecise, defensible, out of the counts. - **`docs/reference/state.md:26`** names a plan pair per Stack while `env.map` carries no plan row for any host — the plan pair is a repository secret and Variable (`docs/deploy.md:42`), so the two are not in conflict. Pre-existing shape, untouched. ## Could not verify The Guest itself. There is no SSH to 147 from this host, so rings A, B and C were never driven by me against the machine: no `findmnt`, no `--check --diff` rehearsal, no read of `/var/lib/nzbget/nzbget.conf` on it. The live-side values in the docs remain the author's measurements; what I could hold independently — the package, its binary, its `Depends`, the rendered drop-in's bytes, the LAN `401` composition, the workflow file — I reproduced. Also unreadable: the lost commit `4ef87e5`. The object is gone, so the clearing changes are taken from the fixer's quoted text and the PR body, not from the commit itself. --- **Standards: 0 blockers, 2 advisories. Spec: 0 findings.** Worst in Standards: the false dependency rationale, live again at `tasks/main.yml:64-65` and `docs/service-nzbget.md:20-22` because the rewrite dropped its clearing. Worst in Spec: none. Two advisories is under the count that would ask for a fix round, so the recommendation is merge — the tree did not move forward, it moved back, and a restored advisory is still an advisory.
pit merged commit ef3f633860 into main 2026-12-02 18:45:18 +00:00
pit deleted branch wave1/147-nzbget 2026-12-02 18:45:18 +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!5
No description provided.