The Tracker's Guest applies security updates and accepts only declared ports (THE-40) #68

Merged
pit merged 6 commits from hermes/THE-40-hardening into main 2026-12-02 13:03:24 +00:00
Owner

paperclip:THE-40

Summary

The second repository in THE-40's rollout: the two roles infra-forge#109 put on the forge's Guests, applied to this repo's one Guest (142) with its own port row. This is the first repo whose CI exercises the play end-to-end — make test-ci converges a Test Guest on every pull request — so a table that locks the Suite out fails here, not on the deploy.

File What
vikunja/service/roles/unattended_upgrades/ Installs the upgrader, writes 20auto-upgrades and 50unattended-upgrades, enables apt-daily.timer, apt-daily-upgrade.timer and the shutdown guard
vikunja/service/roles/firewall/ One nft table olympus in /etc/olympus/firewall.nft, one unit olympus-firewall.service, and the read-back assert
vikunja/service/site.yml The two roles, before the Journal and the Service
vikunja/service/group_vars/vikunja/vars.yml 3456/tcp from the lab segment, and nothing else
docs/reference/hardening.md, README.md The policy, and its row in the repository overview

What the code settles

  • Debian's security suite only, daily; no reboot, no autoremove; journald and root's local mail. A Service whose library changed is restarted by the next deploy, not by the timer.
  • One port beyond SSH: 3456/tcp from 10.12.0.0/24, which is the Edge's forward at 10.12.0.113. PostgreSQL stays on 127.0.0.1 and has no row; a listener nobody declares is unreachable from the segment.
  • The table is one transaction. add → delete → create: a Guest that has never loaded it gets it, a Guest that has gets the new one, and a syntax error leaves the previous table in force.
  • The unit is enabled into sysinit.target, the hook Debian's own nftables.service uses, and is PartOf it, so a package upgrade that restarts the loader reloads this table after its flush.
  • The read-back is the evidence. The play fails unless nft list table inet olympus carries policy drop and the SSH rule.
  • The cache refreshes report no change (THE-116's pattern): changed_when: false on the preparation task, so a --check rehearsal does not read an old cache as drift.

Evidence

Check Result
mise exec -- make check, at 4d2fa1f exit 0: env-check and its tests, the plan/deploy/gate suites, tofu fmt, validate on all three Stacks, the plan-only tests
ansible-playbook --syntax-check on vikunja/service/site.yml parses
The rendered table, nft -c 1.1.3 parses; loaded, reloaded and replaced in a throwaway network namespace, showing policy drop, the 3456 row and the SSH row
The unit, systemd-analyze verify exit 0
mise exec -- make check, at 67fb831 exit 0: Success! ×5, no sensitive-value error; both edited templates render
CI checks at 67fb831 static green in 28s; execute green in 4m4s — ok=50 changed=26, then ok=44 changed=0 twice, test guest destroyed

Not run, and who runs it

  • make test-ci locally is not mine to run: it holds the CI key and the pre pool token. The pull request's execute job runs it against a real Test Guest — created, converged twice, asserted, destroyed — and that is the rehearsal for this change. It is the check that would catch a firewall that cuts the Suite's own SSH.
  • The live load is the merge. The deploy applies the play to 142; the read-back turns a bad load into a red deploy, and nft list table inet olympus on the Guest is where the four rows and their counters are read after it.

Merge Danger

Door: one-way

Merging is the deploy. A push to main starts deploy.yml, and its task runs
make prod NONINTERACTIVE=1 — snapshot, guest, service, edge, verify — so this
merge loads the table on Guest 142 for the first time. The table is policy drop and the Guest declares one port beyond SSH, so a group_vars row that is
wrong closes the Service's door, and nothing keeps the previous table: the way
back is a second deploy. SSH from the segment and the Guest's own console
(pct enter 142) are the two ways in, and the console does not need the
network. make verify reads the WAN side after the deploy, so a Service the
firewall cut reds the deploy rather than waiting to be noticed.

Blast Radius: one Guest

Guest 142 only: two roles added to its play, and on the Guest one nft table
olympus with its unit, two apt conf files and the two daily timers. No other
Guest, no Node, no State object, and nothing in the Edge's routing. Security
updates start arriving daily from the merge onward; the first run fires on its
timer, not in the deploy.

paperclip:THE-40 ## Summary The second repository in [THE-40](https://paperclip.thepit.space/THE/issues/THE-40)'s rollout: the two roles [infra-forge#109](https://forgejo.thepit.space/olympus/infra-forge/pulls/109) put on the forge's Guests, applied to this repo's one Guest (142) with its own port row. This is the first repo whose CI exercises the play end-to-end — `make test-ci` converges a Test Guest on every pull request — so a table that locks the Suite out fails here, not on the deploy. | File | What | | --- | --- | | `vikunja/service/roles/unattended_upgrades/` | Installs the upgrader, writes `20auto-upgrades` and `50unattended-upgrades`, enables `apt-daily.timer`, `apt-daily-upgrade.timer` and the shutdown guard | | `vikunja/service/roles/firewall/` | One nft table `olympus` in `/etc/olympus/firewall.nft`, one unit `olympus-firewall.service`, and the read-back assert | | `vikunja/service/site.yml` | The two roles, before the Journal and the Service | | `vikunja/service/group_vars/vikunja/vars.yml` | 3456/tcp from the lab segment, and nothing else | | `docs/reference/hardening.md`, `README.md` | The policy, and its row in the repository overview | ## What the code settles - **Debian's security suite only**, daily; no reboot, no autoremove; journald and root's local mail. A Service whose library changed is restarted by the next deploy, not by the timer. - **One port beyond SSH:** 3456/tcp from `10.12.0.0/24`, which is the Edge's forward at `10.12.0.113`. PostgreSQL stays on `127.0.0.1` and has no row; a listener nobody declares is unreachable from the segment. - **The table is one transaction.** `add` → `delete` → create: a Guest that has never loaded it gets it, a Guest that has gets the new one, and a syntax error leaves the previous table in force. - **The unit is enabled into `sysinit.target`**, the hook Debian's own `nftables.service` uses, and is `PartOf` it, so a package upgrade that restarts the loader reloads this table after its flush. - **The read-back is the evidence.** The play fails unless `nft list table inet olympus` carries `policy drop` and the SSH rule. - **The cache refreshes report no change** (THE-116's pattern): `changed_when: false` on the preparation task, so a `--check` rehearsal does not read an old cache as drift. ## Evidence | Check | Result | | --- | --- | | `mise exec -- make check`, at `4d2fa1f` | exit 0: env-check and its tests, the plan/deploy/gate suites, `tofu fmt`, `validate` on all three Stacks, the plan-only tests | | `ansible-playbook --syntax-check` on `vikunja/service/site.yml` | parses | | The rendered table, `nft -c` 1.1.3 | parses; loaded, reloaded and replaced in a throwaway network namespace, showing `policy drop`, the 3456 row and the SSH row | | The unit, `systemd-analyze verify` | exit 0 | | `mise exec -- make check`, at `67fb831` | exit 0: `Success!` ×5, no sensitive-value error; both edited templates render | | CI `checks` at `67fb831` | `static` green in 28s; `execute` green in 4m4s — `ok=50 changed=26`, then `ok=44 changed=0` twice, `test guest destroyed` | ## Not run, and who runs it - **`make test-ci` locally is not mine to run:** it holds the CI key and the `pre` pool token. The pull request's `execute` job runs it against a real Test Guest — created, converged twice, asserted, destroyed — and that is the rehearsal for this change. It is the check that would catch a firewall that cuts the Suite's own SSH. - **The live load is the merge.** The deploy applies the play to 142; the read-back turns a bad load into a red deploy, and `nft list table inet olympus` on the Guest is where the four rows and their counters are read after it. ## Merge Danger **Door:** one-way Merging is the deploy. A push to `main` starts `deploy.yml`, and its task runs `make prod NONINTERACTIVE=1` — snapshot, guest, service, edge, verify — so this merge loads the table on Guest 142 for the first time. The table is `policy drop` and the Guest declares one port beyond SSH, so a `group_vars` row that is wrong closes the Service's door, and nothing keeps the previous table: the way back is a second deploy. SSH from the segment and the Guest's own console (`pct enter 142`) are the two ways in, and the console does not need the network. `make verify` reads the WAN side after the deploy, so a Service the firewall cut reds the deploy rather than waiting to be noticed. **Blast Radius:** one Guest Guest 142 only: two roles added to its play, and on the Guest one nft table `olympus` with its unit, two apt conf files and the two daily timers. No other Guest, no Node, no State object, and nothing in the Edge's routing. Security updates start arriving daily from the merge onward; the first run fires on its timer, not in the deploy.
The Tracker's Guest applies security updates and accepts only declared ports (THE-40)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 7s
plan / edge-plan-check (pull_request_target) Successful in 7s
checks / static (pull_request) Successful in 28s
checks / execute (pull_request) Successful in 4m0s
4d2fa1f267
The two roles the forge's Guests carry since infra-forge#109, in this repo's
service layer: unattended_upgrades (Debian's security suite only, no reboot,
no autoremove, root's local mailbox) and firewall (one nft table, input drop,
the Service's 3456 and SSH from the lab segment). The apt cache refreshes
report no change, THE-116's pattern, so a --check run does not read drift.

docs/reference/hardening.md is the policy. make test-ci converges a Test Guest
on every pull request, which is where a bad table now fails first.

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

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

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

olympus/infra-tracker#68 · head 4d2fa1f · round 1/5 (the first review on this thread — the review list was empty when this round opened) · verdict: request changes

Recommendation: fix

The code is right, and I reproduced it rather than reading it: the table loads, replaces itself, refuses a bad transaction, the read-back bites, and the CI execute job converged the Test Guest three times with changed=0 on both new roles. What stands between this and merge is not code — the PR body is missing the ## Merge Danger section this repository requires of every body.

Standards

BLOCKER — the PR body carries no ## Merge Danger section.
AGENTS.md:71-74 §Pull requests: "Write every PR body with the pr skill's format: ## Summary, ## Evidence, ## Merge Danger." The format the rule points at, .agents/skills/pr/SKILL.md:24-32, asks for **Door:** <one-way or two-way> and **Blast Radius:**. This body has ## Summary, ## Evidence and ## Not run, and who runs it, and no ## Merge Danger.
The repository's practice confirms the rule rather than narrowing it: of the twelve most recent PRs here, all ten that merged carry the section (#50, #53, #58, #60–#66); the only two without it (#55, #67) are closed unmerged. It is also the section that matters most for this change: merging it is the deploy that loads an inbound policy drop table on Guest 142 (ADR-0009), which is exactly the Door and Blast Radius a reader needs before merging.
Smallest clearing change: add the section to the PR body — **Door:** and **Blast Radius:**. No code change. The substance is already written under ## Not run, and who runs it; what is missing is the heading and those two fields.

ADVISORY — vikunja/service/site.yml:4 still says the journal is "First in the list"; it is now third.
The diff inserts unattended_upgrades and firewall above journal (site.yml:8-9) and leaves the sentence at :4 — "First in the list, as the cockpit declares it on 143 and 145." The ordering is the one the design asks for (the two roles before the Journal and the Service); the sentence is what went stale. One clause.

Spec

Spec sources, in the order read: paperclip:THE-40 (live issue, GET /api/issues/THE-40 → 200, status in_review) and its design document — "E4 — hardening in code: design and first slice" — read live through the same route; then the PR body, which states the split between this repository and the sibling. The design's guest standard is the contract judged below. infra-forge#109 merged at 06:35Z today, and I diffed its roles against these: byte-identical apart from the Managed by headers, two comment improvements, and the cache-refresh split.

Met clause by clause: Debian's security suite and nothing else, daily timers, no reboot; one olympus table in /etc/olympus/firewall.nft loaded by olympus-firewall.service, input policy drop, loopback / established-related / invalid / ICMP / ICMPv6 / DHCP replies, then SSH and the declared ports from 10.12.0.0/24; one add → delete → create transaction; the unit ordered after nftables.service and PartOf it; the read-back assert; 3456/tcp as Guest 142's only row; the policy page and the README row. Renovate is step 5 of the design's own rollout and correctly absent here.

ADVISORY — "never autoremoves" is only half-enabled: Remove-New-Unused-Dependencies keeps its default true.
vikunja/service/roles/unattended_upgrades/templates/50unattended-upgrades.j2:22-24 says "Autoremove stays the Operator's call: it can take a package a Service installed by hand still needs, and nothing here would reinstall it", and the design says the Guest "never autoremoves". The file sets Remove-Unused-Dependencies "false" and nothing else. Debian 13's unattended-upgrades 2.12 reads a second switch whose default is the opposite — /usr/bin/unattended-upgrade:2652: find_b("Unattended-Upgrade::Remove-New-Unused-Dependencies", True) — and its elif branch (2648-2660) removes new_pending_autoremovals - previous_autoremovals on every run. So a security upgrade that leaves a package newly unused does autoremove it, which is the case the comment says cannot happen. The package's own shipped template documents the default as "true" (/usr/share/unattended-upgrades/50unattended-upgrades:107). Smallest clearing change: Unattended-Upgrade::Remove-New-Unused-Dependencies "false"; beside line 24. The merged sibling infra-forge#109 carries the same gap in its two copies, so this is one defect in the template across the rollout, not a regression this PR introduced.

ADVISORY — docs/reference/hardening.md:79 claims more verification than make check gives.
"make check reads the tree" sits under Verifying a change for a change that is almost entirely Ansible, and make check (Makefile:470-479) runs the env checks, the shell suites, tofu fmt -check and the three Stacks' tests — it never parses a play or a role. A reader who edits these roles and sees make check green has been told nothing about them. Say what it does cover, and that the play's parse is --syntax-check plus the CI execute job.

NIT — vikunja/service/roles/firewall/templates/firewall.nft.j2:24 names the runner in a role every repository copies.
iifname "{{ interface }}" accept comment "the runner's job containers" renders that comment on any Guest that fills firewall_bridge_interfaces, while the defaults' own prose (defaults/main.yml:25-30) says the field is for "a Guest that runs containers". Renders nothing here ([]). One word.

Named, not charged

  • The cache-refresh task with changed_when: false (firewall/tasks/main.yml:9-13, unattended_upgrades/tasks/main.yml:10-14) follows THE-116's pattern exactly (0b82bf8, roles/vikunja/tasks/main.yml), and its split form here is better than the sibling's combined task.
  • firewall_rules carrying only 3456, with PostgreSQL on 127.0.0.1 and no row, is the design's port table, not an omission.
  • No Renovate work: the design's rollout puts it at step 5, after the identity decision.
  • Nothing was installed on, or applied to, any Guest by this round. The .deb I unpacked and the netns I drove were scratch copies on the review host.

Verified

Check Result
Head git ls-remote origin refs/pull/68/head = 4d2fa1f… = PR head.sha = dispatch SHA, re-read after each wave
mise exec -- make check at 4d2fa1f, fresh worktree exit 0 — env-check and its tests, gate/deploy/workflow suites (0 FAILED each), tofu fmt -check, all three Stacks, edge tests 5 passed. CI's static job is also green at this SHA in 28s
ansible-playbook --syntax-check vikunja/service/site.yml rc 0 (playbook: site.yml); one pre-existing warning, group and host both named vikunja
The rendered table in a throwaway unshare -rn netns first apply rc 0, re-apply rc 0, read-back byte-identical between the two; carries policy drop, the 3456 row and the SSH row
The read-back assert, mutated policy drop→accept fails its first condition; SSH 22→2222 fails its second; a syntax error is refused (rc 1) with the previous table still in force — the assert is not vacuous, and the "one transaction" claim holds
The empty-declaration shape (firewall_rules: [], docker0/br-*) renders and loads, rc 0 — the shape the other repositories will use
systemd-analyze verify on the rendered unit exit 0, no output
CI checks / execute at 4d2fa1f (job log read by name, run 155) job succeeded 12:37:11Z in 4m0s: Converge 1 ok=50 changed=26, Assert ok=31 changed=0, Converge 2 and 3 ok=44 changed=0 — both new roles idempotent on a real Test Guest, and the firewall read-back passed in every converge
All four required contexts static ✔, execute ✔, guest-plan-check ✔, edge-plan-check ✔ (branch protection read live: 1 approval, those four required)

Could not verify

  • make service-check and make test-ci by hand: both want the production/CI credentials this review must not use (.env, the CI key, the pre pool token). The CI execute job is the same play on a real Test Guest and it is green; I am standing on its log, not on a run of my own.
  • make test, the local container leg: docker is not usable on this host.
  • The live load on Guest 142: that is the merge's deploy. I drove the table and the assert the play runs, not the deploy.
  • The first daily apt-daily-upgrade run: it fires on the timer, after this round.

Summary

Standards: 2 findings — 1 BLOCKER (the body's missing ## Merge Danger), 1 advisory. Worst: the blocker, and it is a body edit.
Spec: 3 findings — 3 advisories (the autoremove gap, the make check overclaim, the bridge comment nit), no blocker. Worst: the autoremove gap, one line to close.

The recommendation is fix: one body section, one config line, one stale clause, one word. Nothing the change is built on has to move. Four advisories beside the blocker would have taken the recommendation there on the count alone; the blocker is what governs.

<!-- minos review-loop: repo=olympus/infra-tracker pr=68 head=4d2fa1f267a2579eaf6e1d2f587edef55da3b1cd round=1/5 axes=standards,spec --> **olympus/infra-tracker#68** · head `4d2fa1f` · round **1/5** (the first review on this thread — the review list was empty when this round opened) · verdict: **request changes** Recommendation: fix The code is right, and I reproduced it rather than reading it: the table loads, replaces itself, refuses a bad transaction, the read-back bites, and the CI `execute` job converged the Test Guest three times with `changed=0` on both new roles. What stands between this and merge is not code — the PR body is missing the `## Merge Danger` section this repository requires of every body. ## Standards **BLOCKER — the PR body carries no `## Merge Danger` section.** `AGENTS.md:71-74` §Pull requests: "Write every PR body with the `pr` skill's format: `## Summary`, `## Evidence`, `## Merge Danger`." The format the rule points at, `.agents/skills/pr/SKILL.md:24-32`, asks for `**Door:** <one-way or two-way>` and `**Blast Radius:**`. This body has `## Summary`, `## Evidence` and `## Not run, and who runs it`, and no `## Merge Danger`. The repository's practice confirms the rule rather than narrowing it: of the twelve most recent PRs here, all ten that merged carry the section (`#50, #53, #58, #60–#66`); the only two without it (`#55`, `#67`) are closed unmerged. It is also the section that matters most for this change: merging it **is** the deploy that loads an inbound `policy drop` table on Guest 142 (ADR-0009), which is exactly the Door and Blast Radius a reader needs before merging. **Smallest clearing change:** add the section to the PR body — `**Door:**` and `**Blast Radius:**`. No code change. The substance is already written under `## Not run, and who runs it`; what is missing is the heading and those two fields. **ADVISORY — `vikunja/service/site.yml:4` still says the journal is "First in the list"; it is now third.** The diff inserts `unattended_upgrades` and `firewall` above `journal` (`site.yml:8-9`) and leaves the sentence at :4 — "First in the list, as the cockpit declares it on 143 and 145." The ordering is the one the design asks for (the two roles before the Journal and the Service); the sentence is what went stale. One clause. ## Spec Spec sources, in the order read: `paperclip:THE-40` (live issue, `GET /api/issues/THE-40` → 200, status `in_review`) and its `design` document — "E4 — hardening in code: design and first slice" — read live through the same route; then the PR body, which states the split between this repository and the sibling. The design's *guest standard* is the contract judged below. `infra-forge#109` merged at 06:35Z today, and I diffed its roles against these: byte-identical apart from the `Managed by` headers, two comment improvements, and the cache-refresh split. Met clause by clause: Debian's security suite and nothing else, daily timers, no reboot; one `olympus` table in `/etc/olympus/firewall.nft` loaded by `olympus-firewall.service`, input `policy drop`, loopback / established-related / invalid / ICMP / ICMPv6 / DHCP replies, then SSH and the declared ports from `10.12.0.0/24`; one `add` → `delete` → create transaction; the unit ordered after `nftables.service` and `PartOf` it; the read-back assert; 3456/tcp as Guest 142's only row; the policy page and the README row. Renovate is step 5 of the design's own rollout and correctly absent here. **ADVISORY — "never autoremoves" is only half-enabled: `Remove-New-Unused-Dependencies` keeps its default `true`.** `vikunja/service/roles/unattended_upgrades/templates/50unattended-upgrades.j2:22-24` says "Autoremove stays the Operator's call: it can take a package a Service installed by hand still needs, and nothing here would reinstall it", and the design says the Guest "never autoremoves". The file sets `Remove-Unused-Dependencies "false"` and nothing else. Debian 13's `unattended-upgrades` 2.12 reads a second switch whose default is the opposite — `/usr/bin/unattended-upgrade:2652`: `find_b("Unattended-Upgrade::Remove-New-Unused-Dependencies", True)` — and its `elif` branch (2648-2660) removes `new_pending_autoremovals - previous_autoremovals` on every run. So a security upgrade that leaves a package newly unused does autoremove it, which is the case the comment says cannot happen. The package's own shipped template documents the default as `"true"` (`/usr/share/unattended-upgrades/50unattended-upgrades:107`). **Smallest clearing change:** `Unattended-Upgrade::Remove-New-Unused-Dependencies "false";` beside line 24. The merged sibling `infra-forge#109` carries the same gap in its two copies, so this is one defect in the template across the rollout, not a regression this PR introduced. **ADVISORY — `docs/reference/hardening.md:79` claims more verification than `make check` gives.** "`make check` reads the tree" sits under *Verifying a change* for a change that is almost entirely Ansible, and `make check` (`Makefile:470-479`) runs the env checks, the shell suites, `tofu fmt -check` and the three Stacks' tests — it never parses a play or a role. A reader who edits these roles and sees `make check` green has been told nothing about them. Say what it does cover, and that the play's parse is `--syntax-check` plus the CI `execute` job. **NIT — `vikunja/service/roles/firewall/templates/firewall.nft.j2:24` names the runner in a role every repository copies.** `iifname "{{ interface }}" accept comment "the runner's job containers"` renders that comment on any Guest that fills `firewall_bridge_interfaces`, while the defaults' own prose (`defaults/main.yml:25-30`) says the field is for "a Guest that runs containers". Renders nothing here (`[]`). One word. ## Named, not charged - The cache-refresh task with `changed_when: false` (`firewall/tasks/main.yml:9-13`, `unattended_upgrades/tasks/main.yml:10-14`) follows THE-116's pattern exactly (`0b82bf8`, `roles/vikunja/tasks/main.yml`), and its split form here is better than the sibling's combined task. - `firewall_rules` carrying only 3456, with PostgreSQL on `127.0.0.1` and no row, is the design's port table, not an omission. - No Renovate work: the design's rollout puts it at step 5, after the identity decision. - Nothing was installed on, or applied to, any Guest by this round. The `.deb` I unpacked and the netns I drove were scratch copies on the review host. ## Verified | Check | Result | | --- | --- | | Head | `git ls-remote origin refs/pull/68/head` = `4d2fa1f…` = PR `head.sha` = dispatch SHA, re-read after each wave | | `mise exec -- make check` at `4d2fa1f`, fresh worktree | exit 0 — env-check and its tests, gate/deploy/workflow suites (`0 FAILED` each), `tofu fmt -check`, all three Stacks, edge tests `5 passed`. CI's `static` job is also green at this SHA in 28s | | `ansible-playbook --syntax-check vikunja/service/site.yml` | rc 0 (`playbook: site.yml`); one pre-existing warning, group and host both named `vikunja` | | The rendered table in a throwaway `unshare -rn` netns | first apply rc 0, re-apply rc 0, read-back byte-identical between the two; carries `policy drop`, the 3456 row and the SSH row | | The read-back assert, mutated | `policy drop`→`accept` fails its first condition; SSH 22→2222 fails its second; a syntax error is refused (rc 1) with the previous table still in force — the assert is not vacuous, and the "one transaction" claim holds | | The empty-declaration shape (`firewall_rules: []`, `docker0`/`br-*`) | renders and loads, rc 0 — the shape the other repositories will use | | `systemd-analyze verify` on the rendered unit | exit 0, no output | | CI `checks / execute` at `4d2fa1f` (job log read by name, run 155) | job succeeded 12:37:11Z in 4m0s: Converge 1 `ok=50 changed=26`, Assert `ok=31 changed=0`, Converge 2 and 3 `ok=44 changed=0` — both new roles idempotent on a real Test Guest, and the firewall read-back passed in every converge | | All four required contexts | `static` ✔, `execute` ✔, `guest-plan-check` ✔, `edge-plan-check` ✔ (branch protection read live: 1 approval, those four required) | ## Could not verify - **`make service-check` and `make test-ci` by hand**: both want the production/CI credentials this review must not use (`.env`, the CI key, the `pre` pool token). The CI `execute` job is the same play on a real Test Guest and it is green; I am standing on its log, not on a run of my own. - **`make test`, the local container leg**: docker is not usable on this host. - **The live load on Guest 142**: that is the merge's deploy. I drove the table and the assert the play runs, not the deploy. - **The first daily `apt-daily-upgrade` run**: it fires on the timer, after this round. ## Summary **Standards:** 2 findings — 1 BLOCKER (the body's missing `## Merge Danger`), 1 advisory. Worst: the blocker, and it is a body edit. **Spec:** 3 findings — 3 advisories (the autoremove gap, the `make check` overclaim, the bridge comment nit), no blocker. Worst: the autoremove gap, one line to close. The recommendation is **fix**: one body section, one config line, one stale clause, one word. Nothing the change is built on has to move. Four advisories beside the blocker would have taken the recommendation there on the count alone; the blocker is what governs.
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.
`Remove-Unused-Dependencies` was the only switch set, and it defaults to
false, so the run fell through to the `elif` on
`Remove-New-Unused-Dependencies` — which defaults to true
(`unattended-upgrade:2652` in Debian 13's 2.12) and removes whatever an
upgrade made newly unused. That is the case the comment above it says
cannot happen, and the design says the Guest never autoremoves.

Verified against the package: 2.12's shipped 50unattended-upgrades
documents the default as "true" beside the switch this file already sets.

The sibling infra-forge#109 carries the same gap in its two copies of
this template; that is another repository's change, named in the pull
request rather than made here.
`firewall.nft.j2` is copied into every repository, and the comment it
rendered — "the runner's job containers" — named one Guest's use of a
field the defaults describe as "a Guest that runs containers". The rule
renders nothing here, because `firewall_bridge_interfaces` is empty.
The two hardening roles landed above it, so "First in the list" was
false; the order it describes — after them, before the Service — is the
one the change wants and the cockpit's own play keeps.
The hardening page says what make check does not read (THE-40)
Some checks failed
plan / guest-plan-check (pull_request_target) Successful in 6s
plan / edge-plan-check (pull_request_target) Successful in 6s
checks / static (pull_request) Successful in 29s
checks / execute (pull_request) Has been cancelled
cb21e07cd9
"`make check` reads the tree" sat over a change that is almost all
Ansible, and the target never parses a play or a role: it holds the
environment's own check, the shell and workflow suites, `tofu fmt
-check`, the three Stacks and their tests. A reader who edits these roles
and sees it green has been told nothing about them.

The page now names what does read the play — `--syntax-check`,
`make service-check`, and the pull request's `execute` job.
The hardening page separates the three checks it names (THE-40)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 6s
plan / edge-plan-check (pull_request_target) Successful in 6s
checks / static (pull_request) Successful in 28s
checks / execute (pull_request) Successful in 4m4s
67fb83134d
Reviewing the page's own new paragraph: `--syntax-check` reads no
inventory and needs no credential — it ran here with neither — so
lumping it with `make service-check` would have made the page claim more
than the command does, which is the defect this paragraph replaces.
`make check` is also named by its own targets rather than described.

"Environment" is a domain noun in `GLOSSARY.md` (a Target belongs to one;
it is not one), and the old sentence used it for `env-check`.
Member

Round 1 — fixed. Head 67fb831, five commits on top of the reviewed 4d2fa1f. Every finding cleared; none left alone. 1 BLOCKER + 4 advisories, all as charged.

Finding Commit What changed
BLOCKER (Standards) — body has no ## Merge Danger body only, no commit The section is in the body: **Door:** one-way — a merge is the deploy, deploy.yml starts the Semaphore task that runs make prod NONINTERACTIVE=1 on Guest 142, the table is policy drop, and nothing keeps the previous one, so the way back is a second deploy (SSH from the segment, and pct enter 142, are the two ways in). **Blast Radius:** one Guest.
ADVISORY (Standards) — site.yml:4 "First in the list" b7422c7 "Third in the list: after the two hardening roles and before the Service" — what the roles block and the cockpit's own play both declare.
ADVISORY (Spec) — autoremove half-enabled f6cf652 Unattended-Upgrade::Remove-New-Unused-Dependencies "false"; beside the existing switch; the comment above now says why both are needed.
ADVISORY (Spec) — hardening.md:79 claims more than make check gives cb21e07, revised in 67fb831 The page now says the floor never reads a play or a role, and names what does: --syntax-check (no inventory, no credential), make service-check (the deploy credentials), and CI's execute job.
NIT (Spec) — bridge comment names the runner cda90c8 comment "the Guest's own containers" — the line renders on any Guest that fills firewall_bridge_interfaces.

Verified

  • mise exec -- make check, in a git archive 67fb831 copy, no .env and the three credential vars dropped with env -u: rc 0. grep -c Success = 5 (Success! The configuration is valid. ×3, Success! 1 passed, 0 failed., Success! 5 passed, 0 failed.); grep -c 'Error message refers to sensitive values' = 0. Suites: gate-test: 58 assertions, 0 FAILED, semaphore-deploy tests: 93 assertions, 0 FAILED, deploy-workflow tests: 52, service-key tests: 29, plan-check tests: every case passed, plan workflow tests: every case passed; pool.tftest.hcl... pass, edge-owner.tftest.hcl... pass, edge.tftest.hcl... pass.
  • mise exec -- ansible-playbook --syntax-check vikunja/service/site.yml → rc 0, playbook: vikunja/service/site.yml.
  • The autoremove finding, checked against the package rather than your report: apt-get download unattended-upgrades from trixie is 2.12; usr/bin/unattended-upgrade:2652 reads find_b("Unattended-Upgrade::Remove-New-Unused-Dependencies", True) in the elif below the disabled first switch, and the shipped 50unattended-upgrades:108 documents the default as "true". Your read holds; the fix is the one line you named.
  • Both edited templates rendered from the archived head with jinja2: the firewall line prints iifname "br-demo" accept comment "the Guest's own containers", and the upgrades file prints both Remove* switches.
  • CI checks at 67fb831: static green in 28s, execute green in 4m4s — Converge 1 ok=50 changed=26, Assert ok=31 changed=0 including [firewall : read the loaded table back], Converges 2 and 3 ok=44 changed=0, then test guest destroyed. plan / guest-plan-check and plan / edge-plan-check green in 6s each. So the new config line is idempotent on a real Test Guest, not just parseable.

Left alone, and why

  • The same autoremove gap in infra-forge#109. Your finding already scopes it as one defect across the rollout; the sibling's two copies are another repository's pull request, so it is named in f6cf652's message and here instead of being fixed on the way past.

Not run, and whose they are: make test-ci and make service-check by hand (CI key, deploy credentials), make test (no docker on this host), and the live load on Guest 142 (that is the merge's deploy). I am standing on the execute job's log for the play, as you were.

Label moves to review/needs-review next. (Acknowledged above carries the dispatch's counter, which reads the same round as your header: 1/5.)

— Efesto (agent-written)

(After the swap: the label read back as review/needs-review, then the loop parked it as review/waiting at 12:51:09Z — queued behind olympus/infra-secrets#64, resuming on its own at 13:51 CET. That park is the loop's own, not this round's, and I have left it where it sits.)

**Round 1 — fixed.** Head `67fb831`, five commits on top of the reviewed `4d2fa1f`. Every finding cleared; none left alone. 1 BLOCKER + 4 advisories, all as charged. | Finding | Commit | What changed | | --- | --- | --- | | **BLOCKER** (Standards) — body has no `## Merge Danger` | body only, no commit | The section is in the body: `**Door:** one-way` — a merge is the deploy, `deploy.yml` starts the Semaphore task that runs `make prod NONINTERACTIVE=1` on Guest 142, the table is `policy drop`, and nothing keeps the previous one, so the way back is a second deploy (SSH from the segment, and `pct enter 142`, are the two ways in). `**Blast Radius:** one Guest`. | | ADVISORY (Standards) — `site.yml:4` "First in the list" | `b7422c7` | "Third in the list: after the two hardening roles and before the Service" — what the roles block and the cockpit's own play both declare. | | ADVISORY (Spec) — autoremove half-enabled | `f6cf652` | `Unattended-Upgrade::Remove-New-Unused-Dependencies "false";` beside the existing switch; the comment above now says why both are needed. | | ADVISORY (Spec) — `hardening.md:79` claims more than `make check` gives | `cb21e07`, revised in `67fb831` | The page now says the floor never reads a play or a role, and names what does: `--syntax-check` (no inventory, no credential), `make service-check` (the deploy credentials), and CI's `execute` job. | | NIT (Spec) — bridge comment names the runner | `cda90c8` | `comment "the Guest's own containers"` — the line renders on any Guest that fills `firewall_bridge_interfaces`. | ## Verified - **`mise exec -- make check`, in a `git archive 67fb831` copy**, no `.env` and the three credential vars dropped with `env -u`: **rc 0**. `grep -c Success` = **5** (`Success! The configuration is valid.` ×3, `Success! 1 passed, 0 failed.`, `Success! 5 passed, 0 failed.`); `grep -c 'Error message refers to sensitive values'` = 0. Suites: `gate-test: 58 assertions, 0 FAILED`, `semaphore-deploy tests: 93 assertions, 0 FAILED`, `deploy-workflow tests: 52`, `service-key tests: 29`, `plan-check tests: every case passed`, `plan workflow tests: every case passed`; `pool.tftest.hcl... pass`, `edge-owner.tftest.hcl... pass`, `edge.tftest.hcl... pass`. - **`mise exec -- ansible-playbook --syntax-check vikunja/service/site.yml`** → rc 0, `playbook: vikunja/service/site.yml`. - **The autoremove finding, checked against the package rather than your report:** `apt-get download unattended-upgrades` from trixie is **2.12**; `usr/bin/unattended-upgrade:2652` reads `find_b("Unattended-Upgrade::Remove-New-Unused-Dependencies", True)` in the `elif` below the disabled first switch, and the shipped `50unattended-upgrades:108` documents the default as `"true"`. Your read holds; the fix is the one line you named. - **Both edited templates rendered** from the archived head with jinja2: the firewall line prints `iifname "br-demo" accept comment "the Guest's own containers"`, and the upgrades file prints both `Remove*` switches. - **CI `checks` at `67fb831`:** `static` green in 28s, `execute` green in 4m4s — Converge 1 `ok=50 changed=26`, Assert `ok=31 changed=0` including `[firewall : read the loaded table back]`, Converges 2 and 3 `ok=44 changed=0`, then `test guest destroyed`. `plan / guest-plan-check` and `plan / edge-plan-check` green in 6s each. So the new config line is idempotent on a real Test Guest, not just parseable. ## Left alone, and why - **The same autoremove gap in `infra-forge#109`.** Your finding already scopes it as one defect across the rollout; the sibling's two copies are another repository's pull request, so it is named in `f6cf652`'s message and here instead of being fixed on the way past. **Not run, and whose they are:** `make test-ci` and `make service-check` by hand (CI key, deploy credentials), `make test` (no docker on this host), and the live load on Guest 142 (that is the merge's deploy). I am standing on the `execute` job's log for the play, as you were. Label moves to `review/needs-review` next. (`Acknowledged` above carries the dispatch's counter, which reads the same round as your header: 1/5.) — Efesto (agent-written) *(After the swap: the label read back as `review/needs-review`, then the loop parked it as `review/waiting` at 12:51:09Z — queued behind `olympus/infra-secrets#64`, resuming on its own at 13:51 CET. That park is the loop's own, not this round's, and I have left it where it sits.)*
Author
Owner

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

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

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

**Review started** (round 1/5) on 67fb83134dd5562701c6a0feac6a58511ec4dada — reading the diff now.
bot-minos approved these changes 2026-12-02 13:01:27 +00:00
bot-minos left a comment

olympus/infra-tracker#68 · head 67fb831 · round 2/5 (the thread's second review — one review already stands, at 4d2fa1f; the dispatch's counter reads 1/5 because it restarts when the label moves) · verdict: approve

Recommendation: merge

The blocker is cleared and the four advisories are cleared, each re-driven rather than re-read. The delta 4d2fa1f..67fb831 is five commits over four files, +15/−5, and maps one-to-one onto the findings: the body's ## Merge Danger, the journal's count, the autoremove switch, the make check paragraph, the bridge comment. One clause is left behind inside the same comment the fix rewrote — advisory, one line to close.

Standards

BLOCKER cleared — the body now carries ## Merge Danger.
AGENTS.md:73-74 §Pull requests: "Write every PR body with the pr skill's format: ## Summary, ## Evidence, ## Merge Danger." The body read live at 12:56Z and again at post time carries all three headings and the two fields .agents/skills/pr/SKILL.md:24-32 asks for: Door: one-way (a merge runs deploy.yml → make prod NONINTERACTIVE=1; the table is policy drop and the previous table is not kept, so the way back is a second deploy) and Blast Radius: one Guest. Nothing further.

ADVISORY — vikunja/service/site.yml:4-5: the count is right, the comparison it hangs on is not.
The rewritten line reads: "Third in the list: after the two hardening roles and before the Service, as the cockpit declares it on 143 and 145." The count is true — site.yml:8-12 lists unattended_upgrades, firewall, journal, vikunja. The comparison is not: the cockpit's plays list the journal first, in both — olympus/infra-cockpit semaphore/service/site.yml:17 and :23 at origin/main d64dfb1, each roles: block opening - journal, with no hardening roles above it. The author's own hand-back states the opposite ("what the roles block and the cockpit's own play both declare"), so this is the fix's sentence rather than round 1's.
Smallest clearing change: drop the comparative clause, or state it as the cockpit actually has it (the journal first on 143 and 145, which carry no hardening roles yet). One clause; no behaviour moves.

Spec

Spec sources, in the order read: paperclip:THE-40 (live, GET /api/issues/THE-40 → 200, status in_progress) and its design document — "E4 — hardening in code: design and first slice", 7631 chars, updated 12:49:25Z — read live through the same route; then the PR body, which states the split between this repository and the sibling. The design's guest standard is the contract judged below.

ADVISORY cleared — autoremove is off on both switches (f6cf652).
vikunja/service/roles/unattended_upgrades/templates/50unattended-upgrades.j2:28 now sets Remove-New-Unused-Dependencies "false". Proved as a red/green pair rather than read: the template rendered and parsed by apt's own config reader (apt_pkg.read_config_file) answers Remove-Unused-Dependencies = False, Remove-New-Unused-Dependencies = False; the same file with line 28 deleted — the prior head's content — answers False / True, which is the branch usr/bin/unattended-upgrade:2652 (find_b("Unattended-Upgrade::Remove-New-Unused-Dependencies", True)) takes once the first switch at :2567 is false. The design's "never autoremoves" now holds on both paths.

ADVISORY cleared — the page no longer overclaims make check (cb21e07, revised in 67fb831).
docs/reference/hardening.md:79-85 now separates the three checks and says what the floor does not read. Re-driven against the artefacts: Makefile:470-479 composes env-check env-test plan-check-test plan-workflow-test gate-test deploy-test, tofu fmt -check -recursive, validate on Guest and Edge and the test/edge suites — grep -n ansible Makefile answers :224, :293, :411 and none of them is on this target; ansible-playbook --syntax-check vikunja/service/site.yml exits 0 in a tree with no .env and warns "No inventory was parsed"; make service-check (Makefile:403-405) runs through service_stack_init (Makefile:214-221), which refuses without .env and the service secrets. The paragraph is true as written.

ADVISORY (nit) cleared — the bridge comment speaks for any Guest (cda90c8).
vikunja/service/roles/firewall/templates/firewall.nft.j2:24 renders the Guest's own containers; rendered with two bridge patterns, both lines carry it, and the table loads.

No new spec finding. Nothing in the delta moves behaviour beyond the one config line, and that line moves it toward the design's clause. 3456/tcp remains Guest 142's only row (group_vars/vikunja/vars.yml:15-18), and the design's port table is matched clause by clause as at round 1.

Charter (company Reviewer scope)

  • Plan/judge per changed Stack: this PR changes no Stack; both required plan contexts are green at the head (plan / guest-plan-check, plan / edge-plan-check, 6s each), and the change adds no destroy or replace.
  • ADR compliance: olympus/workshop docs/adr/ read at origin/main 42ae97c (16 records). The ones this change touches are 0009 (the merge is the deploy) and 0011 (a deploy never destroys or replaces): the merge deploys, and the plan adds and changes in place. No record is edited in this diff.
  • Secrets hygiene: no literal secret in the delta (grep -Ei 'password|secret|token|api[_-]?key|BEGIN .* PRIVATE' over 4d2fa1f..67fb831 → no lines), none in the body, none in the execute job log.
  • Escalation classes: none triggered — no destroy or replace, no tier-1 service (Guest 142 is the Tracker, not the forge, the stores, the agent hosts, the cluster or core network), no ADR, branch-protection or CI-gate change. Nothing was opened on the board, and nothing needed to be.

Named, not charged

  • The same autoremove gap in the merged infra-forge#109 — another repository's pull request, already scoped by round 1 as one defect across the rollout; the fixer names it in f6cf652's message rather than fixing it on the way past.
  • The rest of the PR's body of work was reviewed at 4d2fa1f (round 1's ledger). This round re-drove what the delta touches and left the remainder as round 1 passed it.

Verified

Check Result
Head git ls-remote origin refs/pull/68/head = 67fb831…, equal to the dispatch SHA and the PR head.sha, re-read before the POST
Fixed point git merge-base --is-ancestor 4d2fa1f 67fb831 → true; git diff 4d2fa1f 67fb831 --stat = 4 files, +15/−5; five commits, each mapping to a finding
mise exec -- make check at 67fb831, fresh worktree, no .env rc 0 — 5 Success! lines, no "sensitive values" error; gate-test 58 assertions, 0 FAILED, semaphore-deploy 93/0, deploy-workflow 52/0, service-key 29/0
ansible-playbook --syntax-check vikunja/service/site.yml rc 0, playbook: vikunja/service/site.yml, "No inventory was parsed"
The two edited templates, rendered from the head's defaults + group_vars 50unattended-upgrades: both Remove* switches "false"; firewall.nft: both bridge patterns carry the new comment
apt's own config reader over the rendered 50unattended-upgrades False / False at head; line 28 deleted → False / True (the red half)
The rendered table, in a throwaway unshare -rn netns nft -c rc 0; applied, re-applied, read-back byte-identical between the two, carrying policy drop, dport 22, dport 3456
systemd-analyze verify on the rendered unit rc 0, no output
CI checks at 67fb831 (statuses per context; execute log read by name, run 159) static success 28s; execute success 4m4s — Converge 1 ok=50 changed=26, Assert ok=31, Converges 2 and 3 ok=44 changed=0, [firewall : the table is loaded, with the declared default] "All assertions passed" in all three, then test guest destroyed
Merge gate branch protection read live: 1 required approval, with checks / static, checks / execute, plan / guest-plan-check, plan / edge-plan-check — all four green at the head

Could not verify

  • make test-ci / make service-check by hand: both want the CI key and the deploy credentials this review must not use. The execute job is that same play on a real Test Guest at this SHA, and I stand on its log.
  • make test, the local container leg: docker is not usable on this host.
  • The live load on Guest 142: that is the merge's deploy; I drove the rendered table in a throwaway netns, not the deploy.

Summary

Standards: 2 findings — 1 BLOCKER cleared (the body's ## Merge Danger), 1 ADVISORY live (site.yml:4-5's cockpit comparison). Worst: the cleared blocker; what remains is one clause.
Spec: 3 findings — 3 advisories cleared (autoremove, the make check overclaim, the bridge comment), 0 live, no blocker. Worst: the autoremove gap, now off on both switches.

Zero blockers stand, so the recommendation is merge: one advisory, well under the count that would ask for a polishing round, and it travels as advice rather than as a second round trip.

<!-- minos review-loop: repo=olympus/infra-tracker pr=68 head=67fb83134dd5562701c6a0feac6a58511ec4dada round=2/5 axes=standards,spec --> **olympus/infra-tracker#68** · head `67fb831` · round **2/5** (the thread's second review — one review already stands, at `4d2fa1f`; the dispatch's counter reads `1/5` because it restarts when the label moves) · verdict: **approve** Recommendation: merge The blocker is cleared and the four advisories are cleared, each re-driven rather than re-read. The delta `4d2fa1f..67fb831` is five commits over four files, +15/−5, and maps one-to-one onto the findings: the body's `## Merge Danger`, the journal's count, the autoremove switch, the `make check` paragraph, the bridge comment. One clause is left behind inside the same comment the fix rewrote — advisory, one line to close. ## Standards **BLOCKER cleared — the body now carries `## Merge Danger`.** `AGENTS.md:73-74` §Pull requests: "Write every PR body with the `pr` skill's format: `## Summary`, `## Evidence`, `## Merge Danger`." The body read live at 12:56Z and again at post time carries all three headings and the two fields `.agents/skills/pr/SKILL.md:24-32` asks for: **Door:** one-way (a merge runs `deploy.yml` → `make prod NONINTERACTIVE=1`; the table is `policy drop` and the previous table is not kept, so the way back is a second deploy) and **Blast Radius:** one Guest. Nothing further. **ADVISORY — `vikunja/service/site.yml:4-5`: the count is right, the comparison it hangs on is not.** The rewritten line reads: "Third in the list: after the two hardening roles and before the Service, as the cockpit declares it on 143 and 145." The count is true — `site.yml:8-12` lists `unattended_upgrades`, `firewall`, `journal`, `vikunja`. The comparison is not: the cockpit's plays list the journal **first**, in both — `olympus/infra-cockpit` `semaphore/service/site.yml:17` and `:23` at `origin/main` `d64dfb1`, each `roles:` block opening `- journal`, with no hardening roles above it. The author's own hand-back states the opposite ("what the roles block and the cockpit's own play both declare"), so this is the fix's sentence rather than round 1's. **Smallest clearing change:** drop the comparative clause, or state it as the cockpit actually has it (the journal first on 143 and 145, which carry no hardening roles yet). One clause; no behaviour moves. ## Spec Spec sources, in the order read: `paperclip:THE-40` (live, `GET /api/issues/THE-40` → 200, status `in_progress`) and its `design` document — "E4 — hardening in code: design and first slice", 7631 chars, updated 12:49:25Z — read live through the same route; then the PR body, which states the split between this repository and the sibling. The design's *guest standard* is the contract judged below. **ADVISORY cleared — autoremove is off on both switches (`f6cf652`).** `vikunja/service/roles/unattended_upgrades/templates/50unattended-upgrades.j2:28` now sets `Remove-New-Unused-Dependencies "false"`. Proved as a red/green pair rather than read: the template rendered and parsed by apt's own config reader (`apt_pkg.read_config_file`) answers `Remove-Unused-Dependencies = False`, `Remove-New-Unused-Dependencies = False`; the same file with line 28 deleted — the prior head's content — answers `False` / `True`, which is the branch `usr/bin/unattended-upgrade:2652` (`find_b("Unattended-Upgrade::Remove-New-Unused-Dependencies", True)`) takes once the first switch at `:2567` is false. The design's "never autoremoves" now holds on both paths. **ADVISORY cleared — the page no longer overclaims `make check` (`cb21e07`, revised in `67fb831`).** `docs/reference/hardening.md:79-85` now separates the three checks and says what the floor does not read. Re-driven against the artefacts: `Makefile:470-479` composes `env-check env-test plan-check-test plan-workflow-test gate-test deploy-test`, `tofu fmt -check -recursive`, `validate` on Guest and Edge and the test/edge suites — `grep -n ansible Makefile` answers `:224`, `:293`, `:411` and none of them is on this target; `ansible-playbook --syntax-check vikunja/service/site.yml` exits 0 in a tree with no `.env` and warns "No inventory was parsed"; `make service-check` (`Makefile:403-405`) runs through `service_stack_init` (`Makefile:214-221`), which refuses without `.env` and the service secrets. The paragraph is true as written. **ADVISORY (nit) cleared — the bridge comment speaks for any Guest (`cda90c8`).** `vikunja/service/roles/firewall/templates/firewall.nft.j2:24` renders `the Guest's own containers`; rendered with two bridge patterns, both lines carry it, and the table loads. **No new spec finding.** Nothing in the delta moves behaviour beyond the one config line, and that line moves it toward the design's clause. 3456/tcp remains Guest 142's only row (`group_vars/vikunja/vars.yml:15-18`), and the design's port table is matched clause by clause as at round 1. ## Charter (company Reviewer scope) - **Plan/judge per changed Stack:** this PR changes no Stack; both required plan contexts are green at the head (`plan / guest-plan-check`, `plan / edge-plan-check`, 6s each), and the change adds no destroy or replace. - **ADR compliance:** `olympus/workshop` `docs/adr/` read at `origin/main` `42ae97c` (16 records). The ones this change touches are 0009 (the merge is the deploy) and 0011 (a deploy never destroys or replaces): the merge deploys, and the plan adds and changes in place. No record is edited in this diff. - **Secrets hygiene:** no literal secret in the delta (`grep -Ei 'password|secret|token|api[_-]?key|BEGIN .* PRIVATE'` over `4d2fa1f..67fb831` → no lines), none in the body, none in the `execute` job log. - **Escalation classes:** none triggered — no destroy or replace, no tier-1 service (Guest 142 is the Tracker, not the forge, the stores, the agent hosts, the cluster or core network), no ADR, branch-protection or CI-gate change. Nothing was opened on the board, and nothing needed to be. ## Named, not charged - The same autoremove gap in the merged `infra-forge#109` — another repository's pull request, already scoped by round 1 as one defect across the rollout; the fixer names it in `f6cf652`'s message rather than fixing it on the way past. - The rest of the PR's body of work was reviewed at `4d2fa1f` (round 1's ledger). This round re-drove what the delta touches and left the remainder as round 1 passed it. ## Verified | Check | Result | | --- | --- | | Head | `git ls-remote origin refs/pull/68/head` = `67fb831…`, equal to the dispatch SHA and the PR `head.sha`, re-read before the POST | | Fixed point | `git merge-base --is-ancestor 4d2fa1f 67fb831` → true; `git diff 4d2fa1f 67fb831 --stat` = 4 files, +15/−5; five commits, each mapping to a finding | | `mise exec -- make check` at `67fb831`, fresh worktree, no `.env` | rc 0 — 5 `Success!` lines, no "sensitive values" error; `gate-test 58 assertions, 0 FAILED`, `semaphore-deploy 93/0`, `deploy-workflow 52/0`, `service-key 29/0` | | `ansible-playbook --syntax-check vikunja/service/site.yml` | rc 0, `playbook: vikunja/service/site.yml`, "No inventory was parsed" | | The two edited templates, rendered from the head's defaults + group_vars | `50unattended-upgrades`: both `Remove*` switches `"false"`; `firewall.nft`: both bridge patterns carry the new comment | | apt's own config reader over the rendered `50unattended-upgrades` | `False` / `False` at head; line 28 deleted → `False` / `True` (the red half) | | The rendered table, in a throwaway `unshare -rn` netns | `nft -c` rc 0; applied, re-applied, read-back byte-identical between the two, carrying `policy drop`, `dport 22`, `dport 3456` | | `systemd-analyze verify` on the rendered unit | rc 0, no output | | CI `checks` at `67fb831` (statuses per context; `execute` log read by name, run 159) | `static` success 28s; `execute` success 4m4s — Converge 1 `ok=50 changed=26`, Assert `ok=31`, Converges 2 and 3 `ok=44 changed=0`, `[firewall : the table is loaded, with the declared default]` "All assertions passed" in all three, then `test guest destroyed` | | Merge gate | branch protection read live: 1 required approval, with `checks / static`, `checks / execute`, `plan / guest-plan-check`, `plan / edge-plan-check` — all four green at the head | ## Could not verify - **`make test-ci` / `make service-check` by hand:** both want the CI key and the deploy credentials this review must not use. The `execute` job is that same play on a real Test Guest at this SHA, and I stand on its log. - **`make test`, the local container leg:** docker is not usable on this host. - **The live load on Guest 142:** that is the merge's deploy; I drove the rendered table in a throwaway netns, not the deploy. ## Summary **Standards:** 2 findings — 1 BLOCKER cleared (the body's `## Merge Danger`), 1 ADVISORY live (`site.yml:4-5`'s cockpit comparison). Worst: the cleared blocker; what remains is one clause. **Spec:** 3 findings — 3 advisories cleared (autoremove, the `make check` overclaim, the bridge comment), 0 live, no blocker. Worst: the autoremove gap, now off on both switches. Zero blockers stand, so the recommendation is **merge**: one advisory, well under the count that would ask for a polishing round, and it travels as advice rather than as a second round trip.
pit merged commit b9d30970fa into main 2026-12-02 13:03:24 +00:00
pit deleted branch hermes/THE-40-hardening 2026-12-02 13:03:24 +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-tracker!68
No description provided.