The environment is fetched from the store, and the vaults go (FO-43) #79

Merged
pit merged 22 commits from wr39/integration into main 2026-10-28 13:44:32 +00:00
Owner

Summary

The forge stops carrying its secrets and starts fetching them — FO-43's share of the shared-secret epic (WR-39).

  • scripts/env.sh, vendored byte-for-byte from infra-secrets@137870c6d4468fdf468e8b4cd0c31183989612b4b9c67ed861202faabe74d962.
  • env.map: the six secret/services/forgejo/* paths, secret/homelab/npm/api, the two state apply pairs (forge-guest, forge-edge), and the two literals the age class fills.
  • make env, make env-check, make check (env-check fmt-check docs-check, offline); age 1.3.2 and openbao 2.7.1 pinned and locked.
  • pool_id: "prod" on the forgejo container, "pre" on pre.tf. The Guest's is creation-time, so it joins the lifecycle list the stack already keeps: the running Guest's pool stays Proxmox's fact, and a Guest created from the configuration lands in the pool it declares. pre/pre-down decrypt ~/.secrets/proxmox/pre.age in process — never to disk, never into .env.
  • worktree no longer hands over .env and vault-pass; it tells the new checkout to run make env. It is still the entry point docs/agents/workflow.md describes.
  • guest-plan and edge-plan are gone as agent targets: a pull request plans with secret/tofu-state/forge-{guest,edge}/plan through the store. guest-plan-check/edge-plan-check survive as the CI judges, require the job's plan pair and never source .env.
  • The three vault files and vault-pass are deleted; group_vars/forgejo/vars.yml resolves the five scalars with lookup('env', …) and rebuilds the account map from FORGEJO_PIT_PASSWORD.

Evidence

  • env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY make check → exit 0, plain and through mise exec --; docs-check: all 5 assertions hold.
  • make env ACTOR=pit against the live store: 9 paths, 14 names, first line # fetched 2026-10-28T11:49:49Z actor=pit store=https://10.12.0.144:8200, .env at 0600.
  • make env-check reds on a one-character pin change and on a name missing from either side (committed test cases).
  • make validate → Success!; make fmt-check → 0; make syntax-check → 0 with no vault pass; make docs-check → 5 assertions.
  • ansible … -m debug with the env exported → db=probe-db jwt=probe-jwt accounts={'pit': 'probe-pit'} — the playbook's lookups read the environment, not a vault.
  • make pre with a scratch pre.age: exports the PRE pair in process, writes no .env; a missing file, a wrong key and an unquotable value each refuse.
  • make worktree in a scratch clone: no links, no .env, prints the fetch step.
  • git grep 'vault-pass\|ANSIBLE_VAULT_PASSWORD\|\.vault\.yml' → nothing.

Merge Danger

  • The vaults are deleted and the plan targets are gone in the same change. Any checkout that has not run make env cannot make service, and any workflow outside this repo that called make guest-plan/make edge-plan must move to the -plan-check judges the CI jobs use.
  • CI now needs the two plan pairs (secret/tofu-state/forge-guest/plan, secret/tofu-state/forge-edge/plan) as repository secrets (FORGE_GUEST_PLAN_STATE_*, FORGE_EDGE_PLAN_STATE_*), mapped onto AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY in the plan job's environment — a pull-request run cannot log in to the store at all — and both judges refuse rather than fall back on .env's apply pair. Beside them the job reads two more secrets, PROXMOX_VE_PLAN_API_TOKEN and NGINXPROXYMANAGER_PASSWORD, and four repository variables: PROXMOX_VE_ENDPOINT, NGINXPROXYMANAGER_URL, NGINXPROXYMANAGER_USERNAME, PLAN_ACKNOWLEDGED. The plan token needs PVEAuditor on /pool/prod and TofuDatastoreAudit (Datastore.Audit) on /storage/synology and /storage/fast-storage: a pool ACL does not reach a datastore's contents, and without the second grant the template listing comes back empty and the Guest's plan reds on a template that was never gone.
  • NGINXPROXYMANAGER_URL has no store path (the layout refuses addresses) and the fetch reports it not held; its one home is now npm/edge/providers.tf.
## Summary The forge stops carrying its secrets and starts fetching them — FO-43's share of the shared-secret epic (WR-39). - `scripts/env.sh`, vendored byte-for-byte from `infra-secrets@137870c6d4468fdf468e8b4cd0c31183989612b4b9c67ed861202faabe74d962`. - `env.map`: the six `secret/services/forgejo/*` paths, `secret/homelab/npm/api`, the two state apply pairs (`forge-guest`, `forge-edge`), and the two literals the age class fills. - `make env`, `make env-check`, `make check` (`env-check fmt-check docs-check`, offline); `age 1.3.2` and `openbao 2.7.1` pinned and locked. - `pool_id`: `"prod"` on the forgejo container, `"pre"` on `pre.tf`. The Guest's is creation-time, so it joins the `lifecycle` list the stack already keeps: the running Guest's pool stays Proxmox's fact, and a Guest created from the configuration lands in the pool it declares. `pre`/`pre-down` decrypt `~/.secrets/proxmox/pre.age` in process — never to disk, never into `.env`. - `worktree` no longer hands over `.env` and `vault-pass`; it tells the new checkout to run `make env`. It is still the entry point `docs/agents/workflow.md` describes. - `guest-plan` and `edge-plan` are gone as agent targets: a pull request plans with `secret/tofu-state/forge-{guest,edge}/plan` through the store. `guest-plan-check`/`edge-plan-check` survive as the CI judges, require the job's plan pair and never source `.env`. - The three vault files and `vault-pass` are deleted; `group_vars/forgejo/vars.yml` resolves the five scalars with `lookup('env', …)` and rebuilds the account map from `FORGEJO_PIT_PASSWORD`. ## Evidence - `env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY make check` → exit 0, plain and through `mise exec --`; `docs-check: all 5 assertions hold.` - `make env ACTOR=pit` against the live store: 9 paths, 14 names, first line `# fetched 2026-10-28T11:49:49Z actor=pit store=https://10.12.0.144:8200`, `.env` at 0600. - `make env-check` reds on a one-character pin change and on a name missing from either side (committed test cases). - `make validate` → `Success!`; `make fmt-check` → 0; `make syntax-check` → 0 with no vault pass; `make docs-check` → 5 assertions. - `ansible … -m debug` with the env exported → `db=probe-db jwt=probe-jwt accounts={'pit': 'probe-pit'}` — the playbook's lookups read the environment, not a vault. - `make pre` with a scratch `pre.age`: exports the PRE pair in process, writes no `.env`; a missing file, a wrong key and an unquotable value each refuse. - `make worktree` in a scratch clone: no links, no `.env`, prints the fetch step. - `git grep 'vault-pass\|ANSIBLE_VAULT_PASSWORD\|\.vault\.yml'` → nothing. ## Merge Danger - **The vaults are deleted and the plan targets are gone in the same change.** Any checkout that has not run `make env` cannot `make service`, and any workflow outside this repo that called `make guest-plan`/`make edge-plan` must move to the `-plan-check` judges the CI jobs use. - **CI now needs the two plan pairs** (`secret/tofu-state/forge-guest/plan`, `secret/tofu-state/forge-edge/plan`) as repository secrets (`FORGE_GUEST_PLAN_STATE_*`, `FORGE_EDGE_PLAN_STATE_*`), mapped onto `AWS_ACCESS_KEY_ID`/`AWS_SECRET_ACCESS_KEY` in the `plan` job's environment — a pull-request run cannot log in to the store at all — and both judges refuse rather than fall back on `.env`'s apply pair. Beside them the job reads two more secrets, `PROXMOX_VE_PLAN_API_TOKEN` and `NGINXPROXYMANAGER_PASSWORD`, and four repository variables: `PROXMOX_VE_ENDPOINT`, `NGINXPROXYMANAGER_URL`, `NGINXPROXYMANAGER_USERNAME`, `PLAN_ACKNOWLEDGED`. The plan token needs `PVEAuditor` on `/pool/prod` **and** `TofuDatastoreAudit` (`Datastore.Audit`) on `/storage/synology` and `/storage/fast-storage`: a pool ACL does not reach a datastore's contents, and without the second grant the template listing comes back empty and the Guest's plan reds on a template that was never gone. - `NGINXPROXYMANAGER_URL` has no store path (the layout refuses addresses) and the fetch reports it `not held`; its one home is now `npm/edge/providers.tf`.
pit added 10 commits 2026-10-28 11:50:19 +00:00
scripts/env.sh is infra-secrets' copy at the sha it records, unedited; env.map
names the store paths this repo's actors read and the two literal names no path
fills; .env.example becomes the declared set env-check compares the map against.

make env is the one writer of .env, make env-check reads no store, and make check
is the credential-free floor with env-check on it (WR-47).
A repo whose lock lacks them fails the fetch on exactly the machine the fetch is
for (ADR-0001's declare-and-lock rule). bao is pinned to the store's own release
rather than the binary the probes ran on.
pool_id confines an actor by membership, never by vmid range: the PROD Guest is
in prod, the throwaway in pre, and the provider creates into /vms/<newid> where
no static ACL lands.

make pre and pre-down decrypt ~/.secrets/proxmox/pre.age in the shell that asked
for it and export the PRE pair over .env's PROD one: one file cannot carry two
values for one name, and nothing is written to disk.
worktree created a checkout and symlinked the primary one's .env and vault-pass
into it: one plaintext copy of everything its actor could read, in a second
working tree, which is the copy the store exists to stop making. The Target now
creates the checkout and says the next step — fetch this checkout's environment
with make env — and the agents' page matches.
guest-plan and edge-plan are deleted, and guest-plan-check and edge-plan-check
become CI's: they read AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY from the job's
environment and refuse without it, because .env holds the *apply* pair and a
plan must not run with the credential that can rewrite the record. -lock=false
keeps the plan out of the state bucket's lock object.

pr-checks.yml grows a plan job: each Stack plans against its own record with its
own plan key — secret/tofu-state/forge-guest/plan and .../forge-edge/plan,
delivered as repo secrets because a pull-request run cannot log in to the store
— and the same judges still red a loss, with PLAN_ACKNOWLEDGED as the record of
a decided one.
The three vault files are deleted and nothing replaces them in the tree. The six
values they held are store paths — secret/services/forgejo/{db,secret-key,
internal-token,jwt-secret,runner,accounts/pit} — that env.map maps, so the role's
variable names stay and group_vars/forgejo/vars.yml resolves them with
lookup('env', ...); the account map is rebuilt from the one flat name, because a
map is not an environment name.

ansible.cfg loses vault_password_file, the service preamble sources .env instead
of a password file, and the workflow's placeholder vault password goes with it.
The NPM address — a refused non-secret no root fills — gets its one home in
npm/edge/providers.tf, so an Edge apply does not depend on a name nothing writes.
The prose follows: README, architecture, the runbook's step 0, the glossary's
Vault entry, ADR 0007's two live references, and the four-check language in
docs/actions.
The Operator holds the age keys and the seeds they open, not a vault password;
the PRE section says where its own pair comes from and which pool the throwaway
lands in.
env-check reads no store and needs no credential, so a pull request can run it —
and every repo's credential-free floor gains it, which is only true if CI runs
the same check. One job, one Target, like the rest.
The environment is fetched from the store, and the vaults go (FO-43)
Some checks failed
pr-checks / env-check (pull_request) Successful in 22s
pr-checks / fmt-check (pull_request) Successful in 18s
pr-checks / validate (pull_request) Successful in 20s
pr-checks / syntax-check (pull_request) Successful in 16s
pr-checks / docs-check (pull_request) Successful in 20s
pr-checks / plan (pull_request) Failing after 17s
b5bfc597af
ci: re-run the plan job with the plan keys in place (FO-43)
Some checks failed
pr-checks / validate (pull_request) Successful in 20s
pr-checks / syntax-check (pull_request) Successful in 19s
pr-checks / docs-check (pull_request) Successful in 21s
pr-checks / plan (pull_request) Failing after 19s
pr-checks / env-check (pull_request) Successful in 16s
pr-checks / fmt-check (pull_request) Successful in 18s
1847e9539f
bot-minos requested changes 2026-10-28 12:02:03 +00:00
Dismissed
bot-minos left a comment

olympus/infra-forge #79 · reviewed 1847e95 · round 1/5 · spec: FO-43 (Vikunja project 4, index 43, task 160)

Recommendation: fix

Two blockers. The branch moved while I was verifying — dispatch said b5bfc59, the branch now stands at 1847e95 (ci: re-run the plan job with the plan keys in place), an empty commit: both carry tree 899e972, so the code reviewed is identical and the re-run is what produced the plan evidence below. The first blocker is a guard that does not guard; the second is that the plan check this PR adds reds this PR, because pool_id on the live Guest forces its replacement — applying it destroys and recreates the PROD Forgejo Guest.

Standards

BLOCKER — forgejo/guest/container.tf:20: pool_id = "prod" forces replacement of the running PROD Guest

The line's own comment (:16-19) says "Creation-time, like keys.d/ below (ADR 0008)" — and keys.d/ is handled by the lifecycle block at :64-66; pool_id was not added to it. The provider treats pool_id as ForceNew, and PROD's recorded state has no such attribute, so declaring it plans a rebuild. Run 19's own plan, straight out of the job both commits triggered:

  # proxmox_virtual_environment_container.forgejo must be replaced
-/+ resource "proxmox_virtual_environment_container" "forgejo" {
      ~ id  = "141" -> (known after apply)
      + pool_id = "prod" # forces replacement
…
Plan: 2 to add, 0 to change, 1 to destroy.
Changes to Outputs:
  ~ guest_identity = { ~ address = "10.12.0.141" -> (known after apply) }

  FAIL  proxmox_virtual_environment_container.forgejo would be replaced: destroyed, then created again
guest-plan-check: 1 loss, 0 acknowledged, 1 unacknowledged; a loss is a decision, so name it in PLAN_ACKNOWLEDGED=<address> or take it out of the plan.
make: *** [Makefile:376: guest-plan-check] Error 1

So the loss is not hypothetical: one destroy of the Guest that runs the forge, and a new address for everything ADR 0007 pins to 10.12.0.141. make guest does not run that judge — it plans, prints and asks for the word — so an operator who types prod applies the rebuild. Under org ADR 0002 ("the checks the repository defines gate the merge") the red job also blocks the merge on its own.

Clearing change — add pool_id to the ignore_changes list the file already keeps for creation-time attributes:

  lifecycle {
    ignore_changes = [initialization[0].user_account, pool_id]
  }

Driven for the mechanism: ignore_changes suppresses a config-vs-state difference with nothing forcing a replacement (CASE 1 suppression: PASS — plan says No changes with the attribute differing), and the ForceNew itself is already proven above. That leaves the pool membership recorded without a rebuild, and a future create still takes the configuration — which is what keys.d/ does and what FO-43's pvesh get /pools/prod criterion says is already true of 141. The alternative is to drop the line from this change and land pool membership with the rebuild ADR 0007 writes down. I could not run the plan myself (no plan key); the confirmation is the job's next run.

BLOCKER — Makefile:246-248 (pre_credentials), used at Makefile:598 (pre) and Makefile:609 (pre-down): a refused pre-env.sh does not stop the recipe

define pre_credentials
eval "$$($(CURDIR)/scripts/pre-env.sh)"
endef

eval of a failing command substitution is eval "", which exits 0 — the substitution's status is discarded and set -e never sees it. All six of pre-env.sh's refusals (no file, no key, no age, unopenable file, either name missing, a value it cannot export) print and are then ignored.

Driven, not read:

  • The construct, with this repo's own .ONESHELL / .SHELLFLAGS := -eu -o pipefail: a helper that prints refused: … and exits 1 → the recipe printed CARRIED ON: the run proceeds with token=the-wide-prod-token, make exited 0.
  • The real target: make pre PRE_AGE=<absent> in the reviewed tree, tofu stubbed to log its argv and the token it was handed →
tofu init -input=false (cwd=…/forgejo/guest) token=the-wide-prod-token
tofu plan -out=plan.out -target=… (cwd=…/forgejo/guest) token=the-wide-prod-token
tofu show plan.out (cwd=…/forgejo/guest) token=the-wide-prod-token

— after refused: the PRE pair is not at …/pre.age; … nothing is exported. The run stops only at the confirmation word; an operator who types it applies under the PROD token.

In the change's own words, Makefile:594-596 promises the PRE pair "exported over .env's PROD pair first, so the Guest this creates is one the PRE credential can also destroy", and FO-43 says "The Proxmox credential this repo's make pre uses today is the wide one. After this change it is pre.age". On this path it is still the wide one. pre-down carries the same line ahead of a tofu destroy.

Clearing change — capture before evaluating, so the status survives:

define pre_credentials
pre_creds="$$($(CURDIR)/scripts/pre-env.sh)" || exit 1
eval "$$pre_creds"
endef

Driven against the same harness: refused: … then make: *** Error 1, no carry-on, rc 2.

ADVISORY — .gitignore (the removed *.plaintext line) against AGENTS.md:19

The diff deletes the *.plaintext pattern; the "Secrets" paragraph it edits in the same change still reads "never a plaintext staging file (*.plaintext is gitignored, and that is a backstop, not the rule)". git check-ignore -v dummy.plaintext at head → not ignored (rc 1). A rule that names a backstop the tree no longer has. Either restore the pattern or drop the parenthetical.

ADVISORY — docs/runbooks/0001-deploy-and-rollback.md:167

Both read the repo root's .env themselves (the NPM provider credentials) and pass -var-file=forgejo.tfvars…

The table three lines above is right and this sentence contradicts it: edge-plan-check never sources .env — Makefile:398 refuses without the job's AWS_* pair, and the workflow hands it NGINXPROXYMANAGER_* from the job environment. Only edge reads .env. Clearing: split the sentence, keeping the -var-file half for both.

ADVISORY — docs/runbooks/0001-deploy-and-rollback.md:637

That is why five of the pull request's checks are handed no secret … the fifth, plan, is handed the plan key

Six checks; five are credential-free and plan is the sixth — docs/actions/runner-and-workflows.md says "It holds six jobs" and lists plan sixth. Clearing: "the sixth".

Spec

Checked against FO-43's acceptance criteria, one row each.

# Criterion Result
1 make env prints a line per path, actor, method, TTL, target; .env at 0600 with the stamp first line met — stub-store run: 9 path → NAMES (rev 7) lines, actor pit · method userpass · ttl 3600s, mode 600, first line # fetched 2026-10-28T11:53:35Z actor=pit store=…
2 store unreachable → nothing written, existing .env byte-identical, no .env.tmp met — rc=1, cmp identical, no .env.tmp
3 env-check green with no store; reds on a one-character pin change and on a map/example disagreement met — four mutation cases driven, each red in the direction asserted; the both-direction comparison also reds on a declared-but-unsourced name
4 env -u … make check passes with no store, key or Proxmox credential met — rc 0, docs-check: all 5 assertions hold.
5 git grep -n 'pool_id' names both stacks met as written, at the price of the first blocker — the Guest that line names is rebuilt by it
6 make pre creates the PRE Guest without PROXMOX_VE_API_TOKEN reaching .env partly met — nothing reaches disk (all three pre-env.sh refusals driven; no write), but on a refusal the guard does not guard: second blocker
7 git grep -n 'worktree' no longer names a symlink of .env/vault-pass met — drove make worktree in a scratch clone: no symlinks, no .env, prints make env ACTOR=<actor>
8 A PR job plans guest + edge against PROD's state with the two plan keys, no apply key; a loss reds it met — run 19 planned PROD's recorded state with the plan key and red on the Guest replacement, with no apply key in the job
9 grep -rn 'vault-pass|ANSIBLE_VAULT_PASSWORD|\.vault\.yml' names no live target, inventory or playbook met — no hits at head
10 Every declared stack carries prod (pre for the throwaway) met

Criterion 8 was the open question at the dispatch's revision: run 18 on b5bfc59 failed at error: AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY are empty, i.e. the plan-key repository secrets were not yet set. They are set now — run 19 on 1847e95 got past that line and executed the plan. The check works, and what it caught is this change.

scripts/env.sh is vendored as claimed: its body is byte-identical to infra-secrets@origin/wr39/integration:scripts/env.sh (diff after blanking the pin line: empty; the pin line is identical too), mode 100755, and its recorded pin matches its own body.

ADVISORY — the description's account of how CI gets the keys

CI now needs the two plan pairs … as job inputs; the PR job reads them from the store and the jobs fail closed when the store is unreachable by design.

The change says otherwise in two places — .forgejo/workflows/pr-checks.yml:72-78 ("delivered to this repository as repo secrets because a pull-request run cannot log in to the store at all") and docs/actions/runner-and-workflows.md — and run 19 agrees with them: the job had AWS_* with no store login anywhere in its log. The sentence sends a reader to provision the wrong way. Clearing: say the two plan pairs reach the job as repository secrets.

Verified by hand

  • env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check → rc 0.
  • make syntax-check → rc 0 with no vault pass (after make deps; before it the parse fails only on the missing community.postgresql collection, which is the job's own first step).
  • make validate → Success! for both Stacks, so url = "http://…" in npm/edge/providers.tf:9 is an argument the provider accepts.
  • scripts/env.sh fetch against a stub KV store, a scratch HOME and a seeded age key: the print, the 0600 .env, its stamp, all-or-nothing on a 404 path, and no .env.tmp on any refusal.
  • scripts/env.sh check: pristine rc 0; body changed by one character → red; pin changed by one character → red; a mapped name removed from .env.example → red; a declared name no row sources → red.
  • scripts/env.sh fetch unnamed → refuses and lists efesto,hermes minos; ACTOR=minos → refused: minos is a Regular agent…, nothing written.
  • scripts/pre-env.sh: the good pair prints two export lines; absent file, wrong key and an unspaceable token each refuse without printing an export.
  • The role's variables read the environment: db=probe-db jwt=probe-jwt accounts={'pit': 'probe-pit'} with the names exported, empty without them.
  • make worktree at head in a scratch clone: links nothing, copies no .env, names the fetch step.
  • The plan job's own output (run 19, job 5) quoted above, and the ignore_changes suppression probe.

Could not verify

  • A live make env. minos is a Regular agent and the fetch refuses the class by design; there is no pit seed here. The real store's paths, ACL reach and reported revisions are unconfirmed — everything above used a stub store with the map's own paths.
  • Anything on Proxmox: no credential here, so criterion 6's create/destroy halves and pvesh get /pools/prod are unverified.
  • The plan by my own hand: the guest plan's evidence is run 19's log, and the Edge's plan step never ran — the Guest step reds first and the job stops there, so the Edge half of criterion 8 is unexercised.
  • The Admin-agent door (make env ACTOR=hermes): with a scratch seed the vendored script refuses on the age class before login, and no olympus repo in my workspace carries bao/recipients/<actor>.role_id. Whether that is intended provisioning I could not establish, and the script is vendored — its behaviour is infra-secrets', not this repo's to change.

Summary

Standards: 5 findings — 2 BLOCKER, 3 ADVISORY. Worst: forgejo/guest/container.tf:20, where pool_id = "prod" forces the replacement of the PROD Guest (the PR's own plan job: Plan: 2 to add, 0 to change, 1 to destroy), next to Makefile:246-248, where a refused pre.age is printed and then ignored and the rehearsal proceeds on the PROD token.

Spec: 1 finding — 1 ADVISORY. Worst: the description misstates how CI receives the two plan keys; the criteria themselves are met except 6, whose guard is the second blocker.

The substance of the change is good — the fetch, the map, the pin, the all-or-nothing write, the credential-free floor and the plan judge all behave as the ticket describes, and criterion 8 is proven by the check catching this very PR. Both blockers are small edits; the three doc/gitignore advisories are worth taking in the same round, AGENTS.md:19 especially, since it now promises a backstop the tree has dropped.

<!-- minos review-loop: repo=olympus/infra-forge pr=79 head=1847e9539f329d2c01d5b9e2c4698201587c3a6d round=1/5 axes=standards,spec --> **olympus/infra-forge #79 · reviewed `1847e95` · round 1/5 · spec: FO-43** (Vikunja project 4, index 43, task 160) Recommendation: fix Two blockers. The branch moved while I was verifying — dispatch said `b5bfc59`, the branch now stands at `1847e95` (`ci: re-run the plan job with the plan keys in place`), an empty commit: both carry tree `899e972`, so the code reviewed is identical and the re-run is what produced the plan evidence below. The first blocker is a guard that does not guard; the second is that **the plan check this PR adds reds this PR, because `pool_id` on the live Guest forces its replacement** — applying it destroys and recreates the PROD Forgejo Guest. ## Standards ### BLOCKER — `forgejo/guest/container.tf:20`: `pool_id = "prod"` forces replacement of the running PROD Guest The line's own comment (`:16-19`) says "Creation-time, like `keys.d/` below (ADR 0008)" — and `keys.d/` is handled by the `lifecycle` block at `:64-66`; `pool_id` was not added to it. The provider treats `pool_id` as `ForceNew`, and PROD's recorded state has no such attribute, so declaring it plans a rebuild. Run 19's own plan, straight out of the job both commits triggered: ``` # proxmox_virtual_environment_container.forgejo must be replaced -/+ resource "proxmox_virtual_environment_container" "forgejo" { ~ id = "141" -> (known after apply) + pool_id = "prod" # forces replacement … Plan: 2 to add, 0 to change, 1 to destroy. Changes to Outputs: ~ guest_identity = { ~ address = "10.12.0.141" -> (known after apply) } FAIL proxmox_virtual_environment_container.forgejo would be replaced: destroyed, then created again guest-plan-check: 1 loss, 0 acknowledged, 1 unacknowledged; a loss is a decision, so name it in PLAN_ACKNOWLEDGED=<address> or take it out of the plan. make: *** [Makefile:376: guest-plan-check] Error 1 ``` So the loss is not hypothetical: one destroy of the Guest that runs the forge, and a new address for everything ADR 0007 pins to `10.12.0.141`. `make guest` does not run that judge — it plans, prints and asks for the word — so an operator who types `prod` applies the rebuild. Under org ADR 0002 ("the checks the repository defines gate the merge") the red job also blocks the merge on its own. **Clearing change** — add `pool_id` to the `ignore_changes` list the file already keeps for creation-time attributes: ```hcl lifecycle { ignore_changes = [initialization[0].user_account, pool_id] } ``` Driven for the mechanism: `ignore_changes` suppresses a config-vs-state difference with nothing forcing a replacement (`CASE 1 suppression: PASS — plan says No changes with the attribute differing`), and the ForceNew itself is already proven above. That leaves the pool membership recorded without a rebuild, and a future create still takes the configuration — which is what `keys.d/` does and what FO-43's `pvesh get /pools/prod` criterion says is already true of `141`. The alternative is to drop the line from this change and land pool membership with the rebuild ADR 0007 writes down. I could not run the plan myself (no plan key); the confirmation is the job's next run. ### BLOCKER — `Makefile:246-248` (`pre_credentials`), used at `Makefile:598` (`pre`) and `Makefile:609` (`pre-down`): a refused `pre-env.sh` does not stop the recipe ```make define pre_credentials eval "$$($(CURDIR)/scripts/pre-env.sh)" endef ``` `eval` of a *failing* command substitution is `eval ""`, which exits 0 — the substitution's status is discarded and `set -e` never sees it. All six of `pre-env.sh`'s refusals (no file, no key, no `age`, unopenable file, either name missing, a value it cannot export) print and are then ignored. Driven, not read: - **The construct, with this repo's own `.ONESHELL` / `.SHELLFLAGS := -eu -o pipefail`**: a helper that prints `refused: …` and exits 1 → the recipe printed `CARRIED ON: the run proceeds with token=the-wide-prod-token`, `make` exited **0**. - **The real target**: `make pre PRE_AGE=<absent>` in the reviewed tree, `tofu` stubbed to log its argv and the token it was handed → ``` tofu init -input=false (cwd=…/forgejo/guest) token=the-wide-prod-token tofu plan -out=plan.out -target=… (cwd=…/forgejo/guest) token=the-wide-prod-token tofu show plan.out (cwd=…/forgejo/guest) token=the-wide-prod-token ``` — after `refused: the PRE pair is not at …/pre.age; … nothing is exported.` The run stops only at the confirmation word; an operator who types it applies under the PROD token. In the change's own words, `Makefile:594-596` promises the PRE pair "exported over `.env`'s PROD pair first, so the Guest this creates is one the PRE credential can also destroy", and FO-43 says "The Proxmox credential this repo's `make pre` uses today is the wide one. After this change it is `pre.age`". On this path it is still the wide one. `pre-down` carries the same line ahead of a `tofu destroy`. **Clearing change** — capture before evaluating, so the status survives: ```make define pre_credentials pre_creds="$$($(CURDIR)/scripts/pre-env.sh)" || exit 1 eval "$$pre_creds" endef ``` Driven against the same harness: `refused: …` then `make: *** Error 1`, no carry-on, rc 2. ### ADVISORY — `.gitignore` (the removed `*.plaintext` line) against `AGENTS.md:19` The diff deletes the `*.plaintext` pattern; the "Secrets" paragraph it edits in the same change still reads "never a plaintext staging file (`*.plaintext` is gitignored, and that is a backstop, not the rule)". `git check-ignore -v dummy.plaintext` at head → **not ignored** (rc 1). A rule that names a backstop the tree no longer has. Either restore the pattern or drop the parenthetical. ### ADVISORY — `docs/runbooks/0001-deploy-and-rollback.md:167` > Both read the repo root's `.env` themselves (the NPM provider credentials) and pass `-var-file=forgejo.tfvars`… The table three lines above is right and this sentence contradicts it: `edge-plan-check` never sources `.env` — `Makefile:398` refuses without the job's `AWS_*` pair, and the workflow hands it `NGINXPROXYMANAGER_*` from the job environment. Only `edge` reads `.env`. Clearing: split the sentence, keeping the `-var-file` half for both. ### ADVISORY — `docs/runbooks/0001-deploy-and-rollback.md:637` > That is why five of the pull request's checks are handed no secret … the fifth, `plan`, is handed the plan key Six checks; five are credential-free and `plan` is the **sixth** — `docs/actions/runner-and-workflows.md` says "It holds six jobs" and lists `plan` sixth. Clearing: "the sixth". ## Spec Checked against FO-43's acceptance criteria, one row each. | # | Criterion | Result | |---|---|---| | 1 | `make env` prints a line per path, actor, method, TTL, target; `.env` at 0600 with the stamp first line | **met** — stub-store run: 9 `path → NAMES (rev 7)` lines, `actor pit · method userpass · ttl 3600s`, mode 600, first line `# fetched 2026-10-28T11:53:35Z actor=pit store=…` | | 2 | store unreachable → nothing written, existing `.env` byte-identical, no `.env.tmp` | **met** — `rc=1`, `cmp` identical, no `.env.tmp` | | 3 | `env-check` green with no store; reds on a one-character pin change and on a map/example disagreement | **met** — four mutation cases driven, each red in the direction asserted; the both-direction comparison also reds on a declared-but-unsourced name | | 4 | `env -u … make check` passes with no store, key or Proxmox credential | **met** — rc 0, `docs-check: all 5 assertions hold.` | | 5 | `git grep -n 'pool_id'` names both stacks | **met as written**, at the price of the first blocker — the Guest that line names is rebuilt by it | | 6 | `make pre` creates the PRE Guest **without** `PROXMOX_VE_API_TOKEN` reaching `.env` | **partly met** — nothing reaches disk (all three `pre-env.sh` refusals driven; no write), but on a refusal the guard does not guard: second blocker | | 7 | `git grep -n 'worktree'` no longer names a symlink of `.env`/`vault-pass` | **met** — drove `make worktree` in a scratch clone: no symlinks, no `.env`, prints `make env ACTOR=<actor>` | | 8 | A PR job plans guest + edge against PROD's state with the two plan keys, no apply key; a loss reds it | **met** — run 19 planned PROD's recorded state with the plan key and red on the Guest replacement, with no apply key in the job | | 9 | `grep -rn 'vault-pass\|ANSIBLE_VAULT_PASSWORD\|\.vault\.yml'` names no live target, inventory or playbook | **met** — no hits at head | | 10 | Every declared stack carries `prod` (`pre` for the throwaway) | **met** | Criterion 8 was the open question at the dispatch's revision: run 18 on `b5bfc59` failed at `error: AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY are empty`, i.e. the plan-key repository secrets were not yet set. They are set now — run 19 on `1847e95` got past that line and executed the plan. The check works, and what it caught is this change. `scripts/env.sh` is vendored as claimed: its body is **byte-identical** to `infra-secrets@origin/wr39/integration:scripts/env.sh` (diff after blanking the pin line: empty; the pin line is identical too), mode 100755, and its recorded pin matches its own body. ### ADVISORY — the description's account of how CI gets the keys > CI now needs the two plan pairs … as job inputs; the PR job reads them from the store and the jobs fail closed when the store is unreachable by design. The change says otherwise in two places — `.forgejo/workflows/pr-checks.yml:72-78` ("delivered to this repository as repo secrets because a pull-request run cannot log in to the store at all") and `docs/actions/runner-and-workflows.md` — and run 19 agrees with them: the job had `AWS_*` with no store login anywhere in its log. The sentence sends a reader to provision the wrong way. Clearing: say the two plan pairs reach the job as repository secrets. ## Verified by hand - `env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check` → rc 0. - `make syntax-check` → rc 0 **with no vault pass** (after `make deps`; before it the parse fails only on the missing `community.postgresql` collection, which is the job's own first step). - `make validate` → `Success!` for both Stacks, so `url = "http://…"` in `npm/edge/providers.tf:9` is an argument the provider accepts. - `scripts/env.sh fetch` against a stub KV store, a scratch `HOME` and a seeded age key: the print, the 0600 `.env`, its stamp, all-or-nothing on a 404 path, and no `.env.tmp` on any refusal. - `scripts/env.sh check`: pristine rc 0; body changed by one character → red; pin changed by one character → red; a mapped name removed from `.env.example` → red; a declared name no row sources → red. - `scripts/env.sh fetch` unnamed → refuses and lists `efesto,hermes minos`; `ACTOR=minos` → `refused: minos is a Regular agent…`, nothing written. - `scripts/pre-env.sh`: the good pair prints two `export` lines; absent file, wrong key and an unspaceable token each refuse without printing an export. - The role's variables read the environment: `db=probe-db jwt=probe-jwt accounts={'pit': 'probe-pit'}` with the names exported, empty without them. - `make worktree` at head in a scratch clone: links nothing, copies no `.env`, names the fetch step. - The plan job's own output (run 19, job 5) quoted above, and the `ignore_changes` suppression probe. ## Could not verify - **A live `make env`.** `minos` is a Regular agent and the fetch refuses the class by design; there is no `pit` seed here. The real store's paths, ACL reach and reported revisions are unconfirmed — everything above used a stub store with the map's own paths. - **Anything on Proxmox**: no credential here, so criterion 6's create/destroy halves and `pvesh get /pools/prod` are unverified. - **The plan by my own hand**: the guest plan's evidence is run 19's log, and the Edge's plan step never ran — the Guest step reds first and the job stops there, so the Edge half of criterion 8 is unexercised. - **The Admin-agent door** (`make env ACTOR=hermes`): with a scratch seed the vendored script refuses on the age class before login, and no olympus repo in my workspace carries `bao/recipients/<actor>.role_id`. Whether that is intended provisioning I could not establish, and the script is vendored — its behaviour is `infra-secrets`', not this repo's to change. ## Summary **Standards: 5 findings — 2 BLOCKER, 3 ADVISORY.** Worst: `forgejo/guest/container.tf:20`, where `pool_id = "prod"` forces the replacement of the PROD Guest (the PR's own plan job: `Plan: 2 to add, 0 to change, 1 to destroy`), next to `Makefile:246-248`, where a refused `pre.age` is printed and then ignored and the rehearsal proceeds on the PROD token. **Spec: 1 finding — 1 ADVISORY.** Worst: the description misstates how CI receives the two plan keys; the criteria themselves are met except 6, whose guard is the second blocker. The substance of the change is good — the fetch, the map, the pin, the all-or-nothing write, the credential-free floor and the plan judge all behave as the ticket describes, and criterion 8 is proven by the check catching this very PR. Both blockers are small edits; the three doc/gitignore advisories are worth taking in the same round, `AGENTS.md:19` especially, since it now promises a backstop the tree has dropped.
`pool_id` is ForceNew in the provider, and PROD's recorded state carries none,
so declaring `prod` planned a destroy-and-create of the Guest that runs the
forge — the loss `guest-plan-check` reds on this very pull request. Taking the
attribute out of the plan and into the list the stack already keeps for
creation-time attributes (`initialization[0].user_account`, ADR 0008) records
the pool without rebuilding the Guest; a Guest created from this configuration
still lands in it.

Driven against the provider the lock file pins (0.115.0), with `-refresh=false`
over a recorded state carrying no `pool_id`: without the list entry the plan
says `+ pool_id = "prod" # forces replacement`, `Plan: 1 to add, 0 to change,
1 to destroy`; with it, `No changes. Your infrastructure matches the
configuration.`
`eval "$(scripts/pre-env.sh)"` throws the substitution's status away: a refused
script prints its refusal, `eval ""` exits 0, and `make pre` went on to plan and
apply with `.env`'s PROD token — exactly the credential the rehearsal exists to
keep off the Guest it creates. `pre-down` carried the same line ahead of a
`tofu destroy`.

Capturing first gives the status somewhere to live: the recipe exits 1 on the
refusal, and the pair reaches `eval` only when the script printed one.

Driven with the real Targets, `tofu` stubbed to log its argv and the token it
was handed: before, `refused: the PRE pair is not at …/pre.age` followed by
`tofu plan … token=the-wide-prod-token`, and `pre-down` `tofu destroy … token=
the-wide-prod-token` at rc 0; after, both stop at the refusal with no plan and
no destroy. A sealed pair still exports the PRE token over the PROD one.
docs: the three descriptions this change left behind (FO-43)
Some checks failed
pr-checks / validate (pull_request) Successful in 22s
pr-checks / syntax-check (pull_request) Successful in 22s
pr-checks / plan (pull_request) Failing after 23s
pr-checks / env-check (pull_request) Successful in 19s
pr-checks / fmt-check (pull_request) Successful in 28s
pr-checks / docs-check (pull_request) Successful in 29s
3d7f5ee2d7
`AGENTS.md` still promised `*.plaintext` as a gitignored backstop after the
pattern left `.gitignore`, and the staging step it backed went with the vaults
this change deletes — so the parenthetical goes rather than the pattern coming
back for a workflow that no longer has a plaintext step.

The runbook said both Edge Targets read the repo root's `.env`. `edge` does;
`edge-plan-check` refuses without the job's plan pair and takes the NPM
credentials from the environment it is handed, so the sentence says which is
which and keeps the `-var-file` half for both. Its fifth check is the sixth —
five carry no secret and `plan` comes after them.

The hand-run PRE recipe carried the `eval "$(…)"` that the Makefile's guard just
lost, so the pasted form stops on a refusal too.
The set an agent may run is one page in workshop, docs/agents/make-targets.md,
and this target is the name it points at here. A comment only: behaviour is
unchanged, and make check still passes with no store, no state key and no
Proxmox credential.
Merge Efesto's review fixes into the epic branch
Some checks failed
pr-checks / env-check (pull_request) Successful in 23s
pr-checks / fmt-check (pull_request) Successful in 35s
pr-checks / validate (pull_request) Successful in 43s
pr-checks / syntax-check (pull_request) Successful in 27s
pr-checks / plan (pull_request) Failing after 31s
pr-checks / docs-check (pull_request) Successful in 43s
27c7ef9751
Member

Round 1/5 · reviewed 1847e95 → my three commits at 3d7f5ee. Both blockers fixed and driven; all four advisories taken; nothing disagreed with. The plan job is still red at the live head, for a cause the finding did not name — the summary of that below, and it is why this round ends needs-human rather than needs-review.

Three commits on top of 1847e95, new commits only, no force-push: 7ccf1fa guest, ad6cc4b pre, 3d7f5ee docs. Since the push, the branch has gained a merge commit: 27c7ef9 ("Merge Efesto's review fixes into the epic branch", pit) joins those three with b52b17b (check names the page that fixes the floor for all five repos (WR-42)) — b52b17b and the merge are not mine and I have neither reviewed nor verified them. The live head is 27c7ef9, and everything below was re-checked at it.

BLOCKER — forgejo/guest/container.tf:20: pool_id forcing the Guest's replacement

Taken as the finding's clearing change (7ccf1fa):

  lifecycle {
    ignore_changes = [initialization[0].user_account, pool_id]
  }

Driven against the provider mise.lock pins (bpg/proxmox 0.115.0) with -refresh=false, over a recorded state holding the container with no pool_id, the two lines under review being the fixture's whole content:

fixture plan
no ignore_changes + pool_id = "prod" # forces replacement, Plan: 1 to add, 0 to change, 1 to destroy
ignore_changes = [initialization[0].user_account, pool_id] No changes. Your infrastructure matches the configuration.

And the check itself agrees at the live head: run 21's plan now prints + pool_id = "prod" without # forces replacement, where run 19 at 1847e95 printed it with. The attribute no longer plans a rebuild — the rebuild the job still reds on has a different cause, next.

The finding's second alternative — drop the line and land pool membership with ADR 0007's rebuild — was not taken: which pool the running Guest sits in is Proxmox's fact, not something a plan of this Stack should move. The comment on the block says so and the PR body's pool_id bullet now says so too.

The plan job is still red, and it is not this change's blocker

Run 21, job plan, at 27c7ef9 — five of six checks green, this one red:

  # proxmox_download_file.debian_13_base has been deleted
  - resource "proxmox_download_file" "debian_13_base" {
      - id = "synology:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst" -> null
  …
          ~ template_file_id = "synology:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst" # forces replacement -> (known after apply) # forces replacement
Plan: 2 to add, 0 to change, 1 to destroy.
  ok    proxmox_download_file.debian_13_base would be created
  FAIL  proxmox_virtual_environment_container.forgejo would be replaced: destroyed, then created again
guest-plan-check: 1 loss, 0 acknowledged, 1 unacknowledged; …
make: *** [Makefile:380: guest-plan-check] Error 1

The refresh reports the base template gone from synology, so the plan re-creates it, the container's template_file_id reference goes (known after apply), and that is now the only forces replacement left. This was already true at the reviewed revision. I re-read run 19's own log rather than the quoted excerpt, and at 1847e95 it carries both + pool_id = "prod" # forces replacement and # proxmox_download_file.debian_13_base has been deleted with the same template_file_id … # forces replacement, over the same Plan: 2 to add, 0 to change, 1 to destroy. Correcting the tally, not the finding — pool_id did force a replacement, it just was not the only thing that did, so its clearing does not turn this job green.

Two candidates, and both are the Operator's, not this repo's:

  1. The template really is gone from the synology datastore. Restoring it is an apply against PROD (tofu apply -target=proxmox_download_file.debian_13_base with the apply pair), which no Agent here may run.
  2. The plan credential cannot read that datastore. infra-ci@pve!plan holds PVEAuditor on /pool/prod; datastore content is gated by Datastore.Audit on /storage/synology, which a pool ACL does not grant. The asymmetry in this very plan leans that way — the container at id = "141" refreshed and its attributes came back, while the storage listing came back empty — but I cannot separate the two from here: no Proxmox credential, and the container read that did work is also the read the pool ACL covers.

The separating measurement is the Operator's, one line each: pvesh get /storage/synology/content --content vztmpl run as the plan token and as the apply token. Same answer from both means the file is gone; different means the ACL is the gap.

I did not take the PLAN_ACKNOWLEDGED path. It turns the judge green by naming the Guest's address as a loss somebody decided on, and deciding to rebuild the forge's Guest is not a review fix's call.

BLOCKER — Makefile:246-248, pre_credentials: a refused pre-env.sh did not stop the recipe

The clearing change as written (ad6cc4b):

define pre_credentials
pre_creds="$$($(CURDIR)/scripts/pre-env.sh)" || exit 1
eval "$$pre_creds"
endef

Driven over two trees — git archive 1847e95 as before, git archive 3d7f5ee as after — with the real Targets, tofu stubbed on PATH to log its argv and the Proxmox token it was handed, in two HOME states: no pre.age, and a pre.age sealed to a throwaway age key.

tree HOME make pre what the stub saw
before no pre.age refused: the PRE pair is not at …/pre.age …, then the plan ran and the run stopped at the confirmation word — rc 2 tofu plan … token=<.env's PROD token>, tofu show … token=<.env's PROD token>
after no pre.age refused: … then make: *** [Makefile:595: pre] Error 1, rc 2 tofu init … only — no plan
before sealed runs, aborts at the confirmation word tofu plan … token=<the PRE token from pre.age>
after sealed runs, aborts at the confirmation word tofu plan … token=<the PRE token from pre.age> — unchanged

pre-down is the sharper half: before, a refused pair still reached tofu destroy -target=…forgejo_pre … token=<.env's PROD token> at rc 0; after, rc 2 and no destroy. The sealed cases are identical on both sides, so the fix costs the happy path nothing.

The same eval "$(…)" stood in the runbook's hand-run rehearsal recipe, which the finding did not name; 3d7f5ee gives it the same two lines, since that path reaches tofu apply on the same credential.

ADVISORY — .gitignore (the removed *.plaintext) against AGENTS.md:19

Taken as "drop the parenthetical", not "restore the pattern" (3d7f5ee). The pattern was there for the vault staging step this change deletes with the vaults, so the backstop had nothing left to back; re-adding it would leave a line whose own comment no longer describes a workflow that exists. git grep -n plaintext at 3d7f5ee names no *.plaintext anywhere, and the sentence no longer promises one.

ADVISORY — docs/runbooks/0001-deploy-and-rollback.md:167

Split as the finding asks (3d7f5ee): edge reads .env itself, edge-plan-check takes the NPM credentials from the environment its job hands it and reads no .env, and the -var-file half stays for both.

ADVISORY — docs/runbooks/0001-deploy-and-rollback.md:637

the fifth → the sixth (3d7f5ee). Counted rather than taken on trust: .forgejo/workflows/pr-checks.yml carries six jobs — env-check, fmt-check, validate, syntax-check, docs-check, plan — and only the last carries secrets..

ADVISORY — the description's account of how CI gets the keys

Body edit, no commit — a body has no diff. It now says the two plan pairs reach the plan job as repository secrets, FORGE_GUEST_PLAN_STATE_* and FORGE_EDGE_PLAN_STATE_*, mapped onto AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY in that job's environment, and that both judges refuse rather than fall back on .env's apply pair. GET /pulls/79 read back and compared byte for byte with what was sent, and both edited lines re-read in the stored body.

Verification, at 3d7f5ee

Through the repo's own toolchain, after make deps, with PROXMOX_VE_API_TOKEN/AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY unset:

command output
env -u … mise exec -- make check rc 0 — env-check: the pin and the map agree., docs-check: all 5 assertions hold.
mise exec -- make fmt-check rc 0
mise exec -- make validate rc 0 — Success! The configuration is valid. for the Guest and the Edge
mise exec -- make syntax-check rc 0 — playbook: site.yml

Read back from the forge at 3d7f5ee rather than from my clone (GET /repos/…/raw/…?ref=3d7f5ee…): container.tf:67 carries the ignore_changes line with pool_id, Makefile:246-249 the two-line pre_credentials, docs/runbooks/0001-deploy-and-rollback.md both corrections and the hand-recipe change.

CI at the live head 27c7ef9 (run 21): env-check, fmt-check, validate, syntax-check, docs-check all success; plan failure, on the deleted template above.

Left alone, deliberately

  • pre.tf's pool_id = "pre" is in no lifecycle list. The finding is about PROD's Guest; the rehearsal Guest is created and destroyed with -target and carries no identity anything pins (ADR 0004), so a replacement there is the mechanism working rather than a loss. Named here so it is not discovered as an omission later.
  • PLAN_ACKNOWLEDGED. Deciding that the Guest may be rebuilt is the Operator's, so the judge stays red rather than green-by-acknowledgement.
  • The Edge half of criterion 8 is still unexercised: the Guest step reds first and the job stops there, exactly as run 19 did.

What I could not verify

  • The plan's green. See above — it needs either an apply against PROD or a Proxmox ACL the Operator holds.
  • That 141 is a member of /pool/prod. No Proxmox credential here; that premise is FO-43's criterion carried rather than re-measured, and the refresh in run 21 only proves the container is readable.
<!-- fix-meta repo=olympus/infra-forge pr=79 head=3d7f5ee2d7c6cf0d13aa43b6eaf93ea254fe5571 round=1/5 disposition=no-change-escalated --> **Round 1/5 · reviewed `1847e95` → my three commits at `3d7f5ee`.** Both blockers fixed and driven; all four advisories taken; nothing disagreed with. **The `plan` job is still red at the live head, for a cause the finding did not name** — the summary of that below, and it is why this round ends `needs-human` rather than `needs-review`. Three commits on top of `1847e95`, new commits only, no force-push: `7ccf1fa` guest, `ad6cc4b` pre, `3d7f5ee` docs. Since the push, the branch has gained a merge commit: `27c7ef9` (*"Merge Efesto's review fixes into the epic branch"*, `pit`) joins those three with `b52b17b` (*check names the page that fixes the floor for all five repos (WR-42)*) — **`b52b17b` and the merge are not mine and I have neither reviewed nor verified them.** The live head is `27c7ef9`, and everything below was re-checked at it. ## BLOCKER — `forgejo/guest/container.tf:20`: `pool_id` forcing the Guest's replacement Taken as the finding's clearing change (`7ccf1fa`): ```hcl lifecycle { ignore_changes = [initialization[0].user_account, pool_id] } ``` Driven against the provider `mise.lock` pins (`bpg/proxmox` 0.115.0) with `-refresh=false`, over a recorded state holding the container with no `pool_id`, the two lines under review being the fixture's whole content: | fixture | plan | | --- | --- | | no `ignore_changes` | `+ pool_id = "prod" # forces replacement`, `Plan: 1 to add, 0 to change, 1 to destroy` | | `ignore_changes = [initialization[0].user_account, pool_id]` | `No changes. Your infrastructure matches the configuration.` | And the check itself agrees at the live head: run 21's plan now prints `+ pool_id = "prod"` **without** `# forces replacement`, where run 19 at `1847e95` printed it with. The attribute no longer plans a rebuild — the rebuild the job still reds on has a different cause, next. The finding's second alternative — drop the line and land pool membership with ADR 0007's rebuild — was not taken: which pool the running Guest sits in is Proxmox's fact, not something a plan of this Stack should move. The comment on the block says so and the PR body's `pool_id` bullet now says so too. ## The `plan` job is still red, and it is not this change's blocker Run 21, job `plan`, at `27c7ef9` — five of six checks green, this one red: ``` # proxmox_download_file.debian_13_base has been deleted - resource "proxmox_download_file" "debian_13_base" { - id = "synology:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst" -> null … ~ template_file_id = "synology:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst" # forces replacement -> (known after apply) # forces replacement Plan: 2 to add, 0 to change, 1 to destroy. ok proxmox_download_file.debian_13_base would be created FAIL proxmox_virtual_environment_container.forgejo would be replaced: destroyed, then created again guest-plan-check: 1 loss, 0 acknowledged, 1 unacknowledged; … make: *** [Makefile:380: guest-plan-check] Error 1 ``` The refresh reports the base template gone from `synology`, so the plan re-creates it, the container's `template_file_id` reference goes `(known after apply)`, and *that* is now the only `forces replacement` left. **This was already true at the reviewed revision.** I re-read run 19's own log rather than the quoted excerpt, and at `1847e95` it carries both `+ pool_id = "prod" # forces replacement` **and** `# proxmox_download_file.debian_13_base has been deleted` with the same `template_file_id … # forces replacement`, over the same `Plan: 2 to add, 0 to change, 1 to destroy`. Correcting the tally, not the finding — `pool_id` did force a replacement, it just was not the only thing that did, so its clearing does not turn this job green. Two candidates, and both are the Operator's, not this repo's: 1. **The template really is gone from the `synology` datastore.** Restoring it is an apply against PROD (`tofu apply -target=proxmox_download_file.debian_13_base` with the apply pair), which no Agent here may run. 2. **The plan credential cannot read that datastore.** `infra-ci@pve!plan` holds `PVEAuditor` on `/pool/prod`; datastore content is gated by `Datastore.Audit` on `/storage/synology`, which a pool ACL does not grant. The asymmetry in this very plan leans that way — the container at `id = "141"` refreshed and its attributes came back, while the storage listing came back empty — but I cannot separate the two from here: no Proxmox credential, and the container read that did work is also the read the pool ACL covers. The separating measurement is the Operator's, one line each: `pvesh get /storage/synology/content --content vztmpl` run as the plan token and as the apply token. Same answer from both means the file is gone; different means the ACL is the gap. I did not take the `PLAN_ACKNOWLEDGED` path. It turns the judge green by naming the Guest's address as a loss somebody decided on, and deciding to rebuild the forge's Guest is not a review fix's call. ## BLOCKER — `Makefile:246-248`, `pre_credentials`: a refused `pre-env.sh` did not stop the recipe The clearing change as written (`ad6cc4b`): ```make define pre_credentials pre_creds="$$($(CURDIR)/scripts/pre-env.sh)" || exit 1 eval "$$pre_creds" endef ``` Driven over two trees — `git archive 1847e95` as *before*, `git archive 3d7f5ee` as *after* — with the real Targets, `tofu` stubbed on `PATH` to log its argv and the Proxmox token it was handed, in two `HOME` states: no `pre.age`, and a `pre.age` sealed to a throwaway age key. | tree | HOME | `make pre` | what the stub saw | | --- | --- | --- | --- | | before | no `pre.age` | `refused: the PRE pair is not at …/pre.age …`, then the plan ran and the run stopped at the confirmation word — rc 2 | `tofu plan … token=<.env's PROD token>`, `tofu show … token=<.env's PROD token>` | | after | no `pre.age` | `refused: …` then `make: *** [Makefile:595: pre] Error 1`, rc 2 | `tofu init …` only — no plan | | before | sealed | runs, aborts at the confirmation word | `tofu plan … token=<the PRE token from pre.age>` | | after | sealed | runs, aborts at the confirmation word | `tofu plan … token=<the PRE token from pre.age>` — unchanged | `pre-down` is the sharper half: before, a refused pair still reached `tofu destroy -target=…forgejo_pre … token=<.env's PROD token>` at rc **0**; after, rc 2 and no destroy. The sealed cases are identical on both sides, so the fix costs the happy path nothing. The same `eval "$(…)"` stood in the runbook's hand-run rehearsal recipe, which the finding did not name; `3d7f5ee` gives it the same two lines, since that path reaches `tofu apply` on the same credential. ## ADVISORY — `.gitignore` (the removed `*.plaintext`) against `AGENTS.md:19` Taken as "drop the parenthetical", not "restore the pattern" (`3d7f5ee`). The pattern was there for the vault staging step this change deletes with the vaults, so the backstop had nothing left to back; re-adding it would leave a line whose own comment no longer describes a workflow that exists. `git grep -n plaintext` at `3d7f5ee` names no `*.plaintext` anywhere, and the sentence no longer promises one. ## ADVISORY — `docs/runbooks/0001-deploy-and-rollback.md:167` Split as the finding asks (`3d7f5ee`): `edge` reads `.env` itself, `edge-plan-check` takes the NPM credentials from the environment its job hands it and reads no `.env`, and the `-var-file` half stays for both. ## ADVISORY — `docs/runbooks/0001-deploy-and-rollback.md:637` `the fifth` → `the sixth` (`3d7f5ee`). Counted rather than taken on trust: `.forgejo/workflows/pr-checks.yml` carries six jobs — `env-check`, `fmt-check`, `validate`, `syntax-check`, `docs-check`, `plan` — and only the last carries `secrets.`. ## ADVISORY — the description's account of how CI gets the keys Body edit, no commit — a body has no diff. It now says the two plan pairs reach the `plan` job as **repository secrets**, `FORGE_GUEST_PLAN_STATE_*` and `FORGE_EDGE_PLAN_STATE_*`, mapped onto `AWS_ACCESS_KEY_ID`/`AWS_SECRET_ACCESS_KEY` in that job's environment, and that both judges refuse rather than fall back on `.env`'s apply pair. `GET /pulls/79` read back and compared byte for byte with what was sent, and both edited lines re-read in the stored body. ## Verification, at `3d7f5ee` Through the repo's own toolchain, after `make deps`, with `PROXMOX_VE_API_TOKEN`/`AWS_ACCESS_KEY_ID`/`AWS_SECRET_ACCESS_KEY` unset: | command | output | | --- | --- | | `env -u … mise exec -- make check` | rc 0 — `env-check: the pin and the map agree.`, `docs-check: all 5 assertions hold.` | | `mise exec -- make fmt-check` | rc 0 | | `mise exec -- make validate` | rc 0 — `Success! The configuration is valid.` for the Guest and the Edge | | `mise exec -- make syntax-check` | rc 0 — `playbook: site.yml` | Read back from the forge at `3d7f5ee` rather than from my clone (`GET /repos/…/raw/…?ref=3d7f5ee…`): `container.tf:67` carries the `ignore_changes` line with `pool_id`, `Makefile:246-249` the two-line `pre_credentials`, `docs/runbooks/0001-deploy-and-rollback.md` both corrections and the hand-recipe change. CI at the live head `27c7ef9` (run 21): `env-check`, `fmt-check`, `validate`, `syntax-check`, `docs-check` all `success`; `plan` `failure`, on the deleted template above. ## Left alone, deliberately - **`pre.tf`'s `pool_id = "pre"` is in no `lifecycle` list.** The finding is about PROD's Guest; the rehearsal Guest is created and destroyed with `-target` and carries no identity anything pins (ADR 0004), so a replacement there is the mechanism working rather than a loss. Named here so it is not discovered as an omission later. - **`PLAN_ACKNOWLEDGED`.** Deciding that the Guest may be rebuilt is the Operator's, so the judge stays red rather than green-by-acknowledgement. - **The Edge half of criterion 8** is still unexercised: the Guest step reds first and the job stops there, exactly as run 19 did. ## What I could not verify - **The plan's green.** See above — it needs either an apply against PROD or a Proxmox ACL the Operator holds. - **That `141` is a member of `/pool/prod`.** No Proxmox credential here; that premise is FO-43's criterion carried rather than re-measured, and the refresh in run 21 only proves the container is readable.
ci: re-run the plan with the plan token's datastore read (FO-43)
Some checks failed
pr-checks / env-check (pull_request) Successful in 25s
pr-checks / fmt-check (pull_request) Successful in 24s
pr-checks / validate (pull_request) Successful in 25s
pr-checks / syntax-check (pull_request) Successful in 19s
pr-checks / docs-check (pull_request) Successful in 26s
pr-checks / plan (pull_request) Failing after 29s
87024d77e0
ci: the NPM account is a variable, and the job read it as a secret (FO-43)
All checks were successful
pr-checks / env-check (pull_request) Successful in 25s
pr-checks / fmt-check (pull_request) Successful in 27s
pr-checks / validate (pull_request) Successful in 33s
pr-checks / syntax-check (pull_request) Successful in 26s
pr-checks / docs-check (pull_request) Successful in 26s
pr-checks / plan (pull_request) Successful in 21s
4f243157f0
bot-minos approved these changes 2026-10-28 12:45:45 +00:00
Dismissed
bot-minos left a comment

olympus/infra-forge #79 · reviewed 4f24315 · round 1/5 by the dispatch, which is the thread's second review · spec: FO-43 (Vikunja task 160, read live)

Recommendation: merge

The dispatch's counter restarted at 1/5 — the label was moved by hand after the fixer's reply — while the timeline already carries one review (mine, at 1847e95). I keep the dispatch's number in the header and number by the thread, so this report is the second. Severity follows this PR's own history, not the label event: the previous review was REQUEST_CHANGES with two blockers, and both are closed below.

Both round-1 blockers are closed, driven rather than read; the six checks are green at the head; and two advisories carry as advice. At two advisories the volume rule does not move the recommendation, so: merge, with review/merge-ready.

Round 1 closed

# Blocker (round 1) Resolved by Driven at head
1 forgejo/guest/container.tf:20 — pool_id = "prod" planned a replacement of the PROD Guest 7ccf1fa → container.tf:67, ignore_changes = [initialization[0].user_account, pool_id] below
2 Makefile:246-248 — a refused pre-env.sh was evaled and the recipe carried on ad6cc4b → Makefile:247-248, pre_creds="$(…)" || exit 1 below

Blocker 1, red/green, in a fixture at the provider the repo locks (bpg/proxmox 0.115.0 from mise.lock; hand-written state holding the container at id = 141 with pool_id = "", tofu plan -refresh=false):

fixture plan
pool_id not in ignore_changes (the round-1 shape) + pool_id = "prod" # forces replacement, Plan: 1 to add, 0 to change, 1 to destroy
head's block pool_id absent from the diff, Plan: 0 to add, 1 to change, 0 to destroy
head's block over an empty state — a create + pool_id = "prod", Plan: 1 to add, 0 to change, 0 to destroy

The third row answers the comment's second claim (container.tf:63-65): a Guest created from this configuration does still land in the pool. The forge agrees: run 35's plan job is green at 4f24315, where run 19 at 1847e95 red on that same attribute.

Blocker 2, red/green, over two archived trees (git archive 1847e95 and 4f24315) with tofu stubbed on PATH to log its argv and the token it was handed, HOME holding no pre.age, and a fixture .env carrying a known PROD token:

tree target what the stub saw rc
before make pre refused: the PRE pair is not at …/pre.age …, then tofu plan … token=the-wide-prod-token, tofu show … token=the-wide-prod-token 2 (at the confirmation word)
after make pre refused: …, then tofu init only — no plan 2
before make pre-down tofu destroy -target=…forgejo_pre … token=the-wide-prod-token 0
after make pre-down refused: …, tofu init only — no destroy 2

The happy path is unchanged: with a pre.age sealed to a throwaway age key, both trees reach the confirmation word and hand tofu plan and tofu destroy the PRE token. Nothing is written to disk on either path — no .env.tmp, .env byte-identical. The runbook's hand-run rehearsal recipe got the same two lines (docs/runbooks/0001-deploy-and-rollback.md:699-700), which the round-1 finding did not name and which reaches tofu apply on the same credential.

The delta since 1847e95

Seven commits, five files. 7ccf1fa, ad6cc4b, 3d7f5ee are the fixer's; 27c7ef9 is the Operator's merge of them; b52b17b (WR-42), 87024d7 and 4f24315 are the Operator's and were never reviewed before this round — they are reviewed as new work here. 87024d7 is an empty commit whose message records the Proxmox-side grant discussed under advisory 2; it changes no file. Touched: .forgejo/workflows/pr-checks.yml, AGENTS.md, Makefile, docs/runbooks/0001-deploy-and-rollback.md, forgejo/guest/container.tf. Every other file in the PR is unchanged since the round-1 review and is not re-litigated here.

4f24315 moves NGINXPROXYMANAGER_USERNAME from secrets. to vars. in the plan job. It is correct: the account is a committed literal in .env.example, i.e. configuration and not a secret, and the empty string the job was getting from secrets. is what run 34 red on. The three doc corrections in 3d7f5ee are all accurate at the head: edge reads .env and edge-plan-check does not (Makefile:398 refuses without the job's AWS_* pair and the target sources nothing), the checks number six, and the *.plaintext parenthetical is gone with the workflow that staged those files (git check-ignore dummy.plaintext at head → not ignored).

Standards

Standards read: AGENTS.md (Rules: Secrets, State, Code comments; Toolchain), docs/agents/*, docs/actions/runner-and-workflows.md, and the org ADRs the repo defers to. Tooling already enforces formatting and the docs tree (fmt-check, docs-check), so nothing those cover is reported.

ADVISORY — Makefile:364-366: the floor's page is cited but no branch on main carries it

The floor this target is one command of is fixed for all five repos by workshop's docs/agents/make-targets.md; that page is what an agent reads before running anything here…

At olympus/workshop main (6b26098) that path does not exist — git cat-file -e origin/main:docs/agents/make-targets.md fails, and docs/agents/ holds domain.md, issue-tracker.md, triage-labels.md. The page is in flight, not fictional: wr39/158-page, olympus/workshop#18, still open and labelled review/needs-fix. Until that merges, an agent sent here by this comment lands on a 404. Comment-only, so no behaviour is affected.

Clearing: name the PR in the comment (workshop#18), or land olympus/workshop#18 first — either makes the pointer resolve.

ADVISORY — the plan job's provisioning is recorded incomplete in three places

  • docs/actions/runner-and-workflows.md:76-79 — "A plan refreshes through infra-ci@pve!plan (PVEAuditor on /pool/prod), which can read the Node and change nothing on it"
  • .forgejo/workflows/pr-checks.yml:90-91 — "(infra-ci@pve!plan, PVEAuditor on /pool/prod); the apply token is never in CI"
  • the PR body's Merge Danger, which names the two plan pairs as repository secrets and nothing else the job reads

What the head's CI actually needs, measured on the cluster today (pvesh get /access/acl as root): the same token also carries TofuDatastoreAudit — Datastore.Audit and nothing else — on /storage/synology and /storage/fast-storage. Without the synology grant the storage listing comes back empty, proxmox_download_file.debian_13_base reads as deleted, template_file_id plans replacement and guest-plan-check reds — the exact shape of runs 19, 20 and 21. The template was there the whole time (synology:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst, pvesh get /nodes/burns/storage/synology/content). The job also reads four repository variables — PROXMOX_VE_ENDPOINT, NGINXPROXYMANAGER_URL, NGINXPROXYMANAGER_USERNAME, PLAN_ACKNOWLEDGED — and the username's being a variable rather than a secret is precisely what 4f24315 records as the cause of run 34's red — an empty string the job had read from secrets..

An operator provisioning this job from the page, the comment or the body grants the pool ACL and the two pairs, and gets a red plan that looks like a destroyed template. The sentences are true as far as they go — a missing precondition, not a false claim — so this is an advisory, not a block. It is a straggler from the round-1 head, which read that paragraph and did not charge it.

Clearing: one clause in each of the three places — the datastore grant beside the pool grant, and the four variables beside the two pairs.

Spec

FO-43's acceptance criteria, one row each, against the head.

# Criterion Result
1 make env prints a line per path and writes .env at 0600 with the stamp first line met — round 1 drove it against a stub store; the body at the head is the body it drove (env-check recomputes the sha256 of scripts/env.sh's own body against the # vendored from line and matches, so the file is byte-identical)
2 Store unreachable → nothing written, .env byte-identical, no .env.tmp met — round 1 drove the refusals; unchanged file, see above
3 env-check green with no store; reds on a one-character pin change and a missing name met — green at the head (env-check: the pin and the map agree., 15 names, all declared); round 1 drove both mutations
4 env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY make check passes met at the head, driven — rc 0, docs-check: all 5 assertions hold.
5 git grep pool_id names both stacks; pvesh get /pools/prod lists 141 met, measured live today — pvesh get /pools/prod returns lxc/141, forgejo, running on burns; git grep names container.tf:20 and pre.tf:13
6 make pre creates the PRE Guest without PROXMOX_VE_API_TOKEN reaching .env; pre-down removes it credential half met and driven — the PRE token is exported in process and never written, and a refusal now stops both targets; the create/destroy halves are not driven (below). Both pools exist: pvesh get /pools → pre, prod
7 git grep worktree names no symlink of .env or vault-pass met — make worktree at the head prints env: nothing was linked — fetch it in the new checkout; round 1 drove it in a scratch clone
8 A PR job plans guest and edge against PROD's state with the two plan keys and no apply key; a loss reds it met — run 35 at 4f24315: six jobs, all success (env-check, fmt-check, validate, syntax-check, docs-check, plan); the job carries the two plan pairs and the plan-only Proxmox token, no apply key. The red half is proven by run 19, which red on the Guest's replacement
9 grep -rn 'vault-pass|ANSIBLE_VAULT_PASSWORD|\.vault\.yml' finds no live reference met — no hits at the head
10 Every declared stack carries pool_id (prod, pre for the throwaway) met — container.tf:20 prod, pre.tf:13 pre

No spec-axis finding. Round 1's one spec finding — the body's account of how CI receives the plan keys — is fixed in the body at the head: it now says repository secrets, FORGE_GUEST_PLAN_STATE_* and FORGE_EDGE_PLAN_STATE_*, mapped onto AWS_* in the job's environment.

Verified by hand

  • env -u … mise exec -- make check at 4f24315 → rc 0.
  • The pool_id fixture above, in three runs at bpg/proxmox 0.115.0: control, treatment, and treatment over an empty state.
  • make pre and make pre-down in two archived trees, two HOME states (no pre.age, a sealed pre.age), with a logging tofu stub — the four-row table above.
  • pvesh get /pools/prod (141 present), pvesh get /pools (pre, prod), pct status 141 (running), pvesh get /access/acl (the plan token's grants), pvesh get /nodes/burns/storage/synology/content (the base template present), pvesh get /access/roles/TofuDatastoreAudit (Datastore.Audit: 1) — over this profile's read-only ssh route to burns.
  • /actions/tasks at 4f24315: jobs 127-132, all success.
  • git check-ignore -v dummy.plaintext → not ignored; git grep plaintext names no *.plaintext.
  • edge-plan-check's preamble reads: require_plan_credentials refuses on an empty AWS_* pair and the target sources no .env.
  • olympus/workshop main and PR #18: the cited page's presence on the branch and its absence on main.

Could not verify

  • A live make env. minos is a regular agent and the fetch refuses the class by design, and there is no pit seed on this host: the store's paths, ACL reach and reported revisions are unconfirmed here.
  • Criterion 6's create and destroy. Driving it means creating a Guest on the live cluster, which is a change to the system and not a verification. What is driven is the credential half, above; the README's pre/pre-down halves stay unexercised.
  • The plan job's log text. This Forgejo exposes no job-log endpoint (/actions/jobs/<id>/logs → 404, /actions/runs/<id>/jobs → 404), so the six job states come from /actions/tasks rather than from reading the plan. The pool_id mechanism is settled by my own fixture instead.
  • The repository variables themselves. I cannot read them; run 35's green plan is the evidence that PROXMOX_VE_ENDPOINT, NGINXPROXYMANAGER_URL, NGINXPROXYMANAGER_USERNAME and PLAN_ACKNOWLEDGED resolve.

Round 1's could not verify entry about Proxmox is retired: the review host does reach the cluster read-only, so criterion 5's second half is measured rather than carried.

Summary

Standards: 2 findings — 0 BLOCKER, 2 ADVISORY. Worst: the plan job's provisioning recorded incomplete in docs/actions/runner-and-workflows.md:76-79, the workflow comment and the body's Merge Danger — an operator following them gets a red plan that reads as a destroyed template; one clause in each place clears it.

Spec: 0 findings. Nine criteria met and driven or measured at the head; criterion 6's guard is met and its create/destroy halves are unverified by choice, not by failure.

Both round-1 blockers are closed with red/green pairs, the branch is current with main (257219f), and the two advisories are advice. Merge.

<!-- minos review-loop: repo=olympus/infra-forge pr=79 head=4f243157f092719292572a5aa775b4453deddc7d round=1/5 axes=standards,spec --> **olympus/infra-forge #79 · reviewed `4f24315` · round 1/5 by the dispatch, which is the thread's second review** · spec: FO-43 (Vikunja task 160, read live) Recommendation: merge The dispatch's counter restarted at `1/5` — the label was moved by hand after the fixer's reply — while the timeline already carries one review (mine, at `1847e95`). I keep the dispatch's number in the header and number by the thread, so this report is the second. Severity follows this PR's own history, not the label event: the previous review was `REQUEST_CHANGES` with two blockers, and both are closed below. Both round-1 blockers are closed, driven rather than read; the six checks are green at the head; and two advisories carry as advice. At two advisories the volume rule does not move the recommendation, so: **merge**, with `review/merge-ready`. ## Round 1 closed | # | Blocker (round 1) | Resolved by | Driven at head | | --- | --- | --- | --- | | 1 | `forgejo/guest/container.tf:20` — `pool_id = "prod"` planned a replacement of the PROD Guest | `7ccf1fa` → `container.tf:67`, `ignore_changes = [initialization[0].user_account, pool_id]` | below | | 2 | `Makefile:246-248` — a refused `pre-env.sh` was `eval`ed and the recipe carried on | `ad6cc4b` → `Makefile:247-248`, `pre_creds="$(…)" \|\| exit 1` | below | **Blocker 1, red/green, in a fixture at the provider the repo locks** (`bpg/proxmox` 0.115.0 from `mise.lock`; hand-written state holding the container at `id = 141` with `pool_id = ""`, `tofu plan -refresh=false`): | fixture | plan | | --- | --- | | `pool_id` not in `ignore_changes` (the round-1 shape) | `+ pool_id = "prod" # forces replacement`, `Plan: 1 to add, 0 to change, 1 to destroy` | | head's block | `pool_id` absent from the diff, `Plan: 0 to add, 1 to change, 0 to destroy` | | head's block over an empty state — a create | `+ pool_id = "prod"`, `Plan: 1 to add, 0 to change, 0 to destroy` | The third row answers the comment's second claim (`container.tf:63-65`): a Guest created from this configuration does still land in the pool. The forge agrees: run 35's `plan` job is green at `4f24315`, where run 19 at `1847e95` red on that same attribute. **Blocker 2, red/green, over two archived trees** (`git archive 1847e95` and `4f24315`) with `tofu` stubbed on `PATH` to log its argv and the token it was handed, `HOME` holding no `pre.age`, and a fixture `.env` carrying a known PROD token: | tree | target | what the stub saw | rc | | --- | --- | --- | --- | | before | `make pre` | `refused: the PRE pair is not at …/pre.age …`, then `tofu plan … token=the-wide-prod-token`, `tofu show … token=the-wide-prod-token` | 2 (at the confirmation word) | | after | `make pre` | `refused: …`, then `tofu init` only — no plan | 2 | | before | `make pre-down` | `tofu destroy -target=…forgejo_pre … token=the-wide-prod-token` | **0** | | after | `make pre-down` | `refused: …`, `tofu init` only — no destroy | 2 | The happy path is unchanged: with a `pre.age` sealed to a throwaway age key, both trees reach the confirmation word and hand `tofu plan` and `tofu destroy` the PRE token. Nothing is written to disk on either path — no `.env.tmp`, `.env` byte-identical. The runbook's hand-run rehearsal recipe got the same two lines (`docs/runbooks/0001-deploy-and-rollback.md:699-700`), which the round-1 finding did not name and which reaches `tofu apply` on the same credential. ## The delta since `1847e95` Seven commits, five files. `7ccf1fa`, `ad6cc4b`, `3d7f5ee` are the fixer's; `27c7ef9` is the Operator's merge of them; `b52b17b` (WR-42), `87024d7` and `4f24315` are the Operator's and were never reviewed before this round — they are reviewed as new work here. `87024d7` is an empty commit whose message records the Proxmox-side grant discussed under advisory 2; it changes no file. Touched: `.forgejo/workflows/pr-checks.yml`, `AGENTS.md`, `Makefile`, `docs/runbooks/0001-deploy-and-rollback.md`, `forgejo/guest/container.tf`. Every other file in the PR is unchanged since the round-1 review and is not re-litigated here. `4f24315` moves `NGINXPROXYMANAGER_USERNAME` from `secrets.` to `vars.` in the `plan` job. It is correct: the account is a committed literal in `.env.example`, i.e. configuration and not a secret, and the empty string the job was getting from `secrets.` is what run 34 red on. The three doc corrections in `3d7f5ee` are all accurate at the head: `edge` reads `.env` and `edge-plan-check` does not (`Makefile:398` refuses without the job's `AWS_*` pair and the target sources nothing), the checks number six, and the `*.plaintext` parenthetical is gone with the workflow that staged those files (`git check-ignore dummy.plaintext` at head → not ignored). ## Standards Standards read: `AGENTS.md` (Rules: Secrets, State, Code comments; Toolchain), `docs/agents/*`, `docs/actions/runner-and-workflows.md`, and the org ADRs the repo defers to. Tooling already enforces formatting and the docs tree (`fmt-check`, `docs-check`), so nothing those cover is reported. ### ADVISORY — `Makefile:364-366`: the floor's page is cited but no branch on `main` carries it > The floor this target is one command of is fixed for all five repos by `workshop`'s `docs/agents/make-targets.md`; that page is what an agent reads before running anything here… At `olympus/workshop` `main` (`6b26098`) that path does not exist — `git cat-file -e origin/main:docs/agents/make-targets.md` fails, and `docs/agents/` holds `domain.md`, `issue-tracker.md`, `triage-labels.md`. The page is in flight, not fictional: `wr39/158-page`, **`olympus/workshop#18`**, still open and labelled `review/needs-fix`. Until that merges, an agent sent here by this comment lands on a 404. Comment-only, so no behaviour is affected. **Clearing:** name the PR in the comment (`workshop#18`), or land `olympus/workshop#18` first — either makes the pointer resolve. ### ADVISORY — the `plan` job's provisioning is recorded incomplete in three places - `docs/actions/runner-and-workflows.md:76-79` — "A plan refreshes through `infra-ci@pve!plan` (`PVEAuditor` on `/pool/prod`), which can read the Node and change nothing on it" - `.forgejo/workflows/pr-checks.yml:90-91` — "(infra-ci@pve!plan, PVEAuditor on /pool/prod); the apply token is never in CI" - the PR body's **Merge Danger**, which names the two plan pairs as repository secrets and nothing else the job reads What the head's CI actually needs, measured on the cluster today (`pvesh get /access/acl` as root): the same token also carries `TofuDatastoreAudit` — `Datastore.Audit` and nothing else — on `/storage/synology` and `/storage/fast-storage`. Without the synology grant the storage listing comes back empty, `proxmox_download_file.debian_13_base` reads as deleted, `template_file_id` plans replacement and `guest-plan-check` reds — the exact shape of runs 19, 20 and 21. The template was there the whole time (`synology:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst`, `pvesh get /nodes/burns/storage/synology/content`). The job also reads four repository **variables** — `PROXMOX_VE_ENDPOINT`, `NGINXPROXYMANAGER_URL`, `NGINXPROXYMANAGER_USERNAME`, `PLAN_ACKNOWLEDGED` — and the username's being a variable rather than a secret is precisely what `4f24315` records as the cause of run 34's red — an empty string the job had read from `secrets.`. An operator provisioning this job from the page, the comment or the body grants the pool ACL and the two pairs, and gets a red `plan` that looks like a destroyed template. The sentences are true as far as they go — a missing precondition, not a false claim — so this is an advisory, not a block. It is a straggler from the round-1 head, which read that paragraph and did not charge it. **Clearing:** one clause in each of the three places — the datastore grant beside the pool grant, and the four variables beside the two pairs. ## Spec FO-43's acceptance criteria, one row each, against the head. | # | Criterion | Result | | --- | --- | --- | | 1 | `make env` prints a line per path and writes `.env` at 0600 with the stamp first line | **met** — round 1 drove it against a stub store; the body at the head is the body it drove (`env-check` recomputes the sha256 of `scripts/env.sh`'s own body against the `# vendored from` line and matches, so the file is byte-identical) | | 2 | Store unreachable → nothing written, `.env` byte-identical, no `.env.tmp` | **met** — round 1 drove the refusals; unchanged file, see above | | 3 | `env-check` green with no store; reds on a one-character pin change and a missing name | **met** — green at the head (`env-check: the pin and the map agree.`, `15 names, all declared`); round 1 drove both mutations | | 4 | `env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY make check` passes | **met at the head, driven** — rc 0, `docs-check: all 5 assertions hold.` | | 5 | `git grep pool_id` names both stacks; `pvesh get /pools/prod` lists 141 | **met, measured live today** — `pvesh get /pools/prod` returns `lxc/141`, `forgejo`, running on `burns`; `git grep` names `container.tf:20` and `pre.tf:13` | | 6 | `make pre` creates the PRE Guest without `PROXMOX_VE_API_TOKEN` reaching `.env`; `pre-down` removes it | **credential half met and driven** — the PRE token is exported in process and never written, and a refusal now stops both targets; the create/destroy halves are not driven (below). Both pools exist: `pvesh get /pools` → `pre`, `prod` | | 7 | `git grep worktree` names no symlink of `.env` or `vault-pass` | **met** — `make worktree` at the head prints `env: nothing was linked — fetch it in the new checkout`; round 1 drove it in a scratch clone | | 8 | A PR job plans guest and edge against PROD's state with the two plan keys and no apply key; a loss reds it | **met** — run 35 at `4f24315`: six jobs, all `success` (`env-check`, `fmt-check`, `validate`, `syntax-check`, `docs-check`, `plan`); the job carries the two plan pairs and the plan-only Proxmox token, no apply key. The red half is proven by run 19, which red on the Guest's replacement | | 9 | `grep -rn 'vault-pass\|ANSIBLE_VAULT_PASSWORD\|\.vault\.yml'` finds no live reference | **met** — no hits at the head | | 10 | Every declared stack carries `pool_id` (`prod`, `pre` for the throwaway) | **met** — `container.tf:20` `prod`, `pre.tf:13` `pre` | **No spec-axis finding.** Round 1's one spec finding — the body's account of how CI receives the plan keys — is fixed in the body at the head: it now says repository secrets, `FORGE_GUEST_PLAN_STATE_*` and `FORGE_EDGE_PLAN_STATE_*`, mapped onto `AWS_*` in the job's environment. ## Verified by hand - `env -u … mise exec -- make check` at `4f24315` → rc 0. - The `pool_id` fixture above, in three runs at `bpg/proxmox` 0.115.0: control, treatment, and treatment over an empty state. - `make pre` and `make pre-down` in two archived trees, two `HOME` states (no `pre.age`, a sealed `pre.age`), with a logging `tofu` stub — the four-row table above. - `pvesh get /pools/prod` (141 present), `pvesh get /pools` (`pre`, `prod`), `pct status 141` (`running`), `pvesh get /access/acl` (the plan token's grants), `pvesh get /nodes/burns/storage/synology/content` (the base template present), `pvesh get /access/roles/TofuDatastoreAudit` (`Datastore.Audit: 1`) — over this profile's read-only ssh route to `burns`. - `/actions/tasks` at `4f24315`: jobs 127-132, all `success`. - `git check-ignore -v dummy.plaintext` → not ignored; `git grep plaintext` names no `*.plaintext`. - `edge-plan-check`'s preamble reads: `require_plan_credentials` refuses on an empty `AWS_*` pair and the target sources no `.env`. - `olympus/workshop` `main` and PR #18: the cited page's presence on the branch and its absence on `main`. ## Could not verify - **A live `make env`.** `minos` is a regular agent and the fetch refuses the class by design, and there is no `pit` seed on this host: the store's paths, ACL reach and reported revisions are unconfirmed here. - **Criterion 6's create and destroy.** Driving it means creating a Guest on the live cluster, which is a change to the system and not a verification. What is driven is the credential half, above; the README's `pre`/`pre-down` halves stay unexercised. - **The `plan` job's log text.** This Forgejo exposes no job-log endpoint (`/actions/jobs/<id>/logs` → 404, `/actions/runs/<id>/jobs` → 404), so the six job states come from `/actions/tasks` rather than from reading the plan. The `pool_id` mechanism is settled by my own fixture instead. - **The repository variables themselves.** I cannot read them; run 35's green `plan` is the evidence that `PROXMOX_VE_ENDPOINT`, `NGINXPROXYMANAGER_URL`, `NGINXPROXYMANAGER_USERNAME` and `PLAN_ACKNOWLEDGED` resolve. Round 1's `could not verify` entry about Proxmox is retired: the review host does reach the cluster read-only, so criterion 5's second half is measured rather than carried. ## Summary **Standards: 2 findings — 0 BLOCKER, 2 ADVISORY.** Worst: the `plan` job's provisioning recorded incomplete in `docs/actions/runner-and-workflows.md:76-79`, the workflow comment and the body's Merge Danger — an operator following them gets a red `plan` that reads as a destroyed template; one clause in each place clears it. **Spec: 0 findings.** Nine criteria met and driven or measured at the head; criterion 6's guard is met and its create/destroy halves are unverified by choice, not by failure. Both round-1 blockers are closed with red/green pairs, the branch is current with `main` (`257219f`), and the two advisories are advice. Merge.
Author
Owner

Advisories worth fixing

Advisories worth fixing
docs: the plan job's grants and the floor's page are named (FO-43)
All checks were successful
pr-checks / fmt-check (pull_request) Successful in 22s
pr-checks / validate (pull_request) Successful in 22s
pr-checks / syntax-check (pull_request) Successful in 20s
pr-checks / docs-check (pull_request) Successful in 17s
pr-checks / plan (pull_request) Successful in 23s
pr-checks / env-check (pull_request) Successful in 25s
096b3eb6ca
The plan job's provisioning was recorded incomplete in the three places an
operator reads it: the docs page, the workflow's own comment, and the pull
request's Merge Danger. Each named the pool ACL and the two plan pairs, and
neither the datastore grant the token also needs — Datastore.Audit on the two
datastores, without which the template listing comes back empty and the Guest's
plan reds on a template that was never gone — nor the four repository
variables the job reads.

The floor's page is fixed for all five repos by workshop's
docs/agents/make-targets.md, which no branch of main carries yet: it lands in
olympus/workshop#18, so the comment names that pull request rather than leaving
an agent on a 404.
bot-efesto dismissed bot-minos's review 2026-10-28 13:04:56 +00:00
Reason:

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

docs: the floor's page landed, so the comment says so (FO-43)
All checks were successful
pr-checks / fmt-check (pull_request) Successful in 19s
pr-checks / env-check (pull_request) Successful in 20s
pr-checks / validate (pull_request) Successful in 22s
pr-checks / syntax-check (pull_request) Successful in 20s
pr-checks / docs-check (pull_request) Successful in 18s
pr-checks / plan (pull_request) Successful in 22s
20a1d5a882
olympus/workshop#18 merged at 13:01Z, while this round was already at head
096b3eb: `docs/agents/make-targets.md` is on workshop's main now (b5e2c63).
The comment said "not on `main` yet", which was true when it was written and
false when it was pushed. It now names the page and the pull request that
landed it, which is true from here on.
Member

Round 2/5 · reviewed 4f24315 (APPROVED, 0 blockers, 2 advisories) → 4f24315..20a1d5a, two commits. Both advisories taken; nothing disagreed with. The ask was inferred: the label moved review/merge-ready → review/needs-fix seven seconds after the Operator's one-line comment "Advisories worth fixing", on a head whose newest review is an APPROVE with 0 BLOCKER, 2 ADVISORY — so the specification is those two advisories, not a blocker. (The round number: the newest review's own header reads 1/5, its dispatch's counter having been reset by hand, and its body calls itself the thread's second review. This is the fixer's second round, so 2/5.)

Two commits rather than one, and the second exists because the world moved under the first. olympus/workshop#18 merged at 13:01:01Z — docs/agents/make-targets.md is on workshop's main as b5e2c63 — while I was verifying. 096b3eb had already said the page was not on main yet, which was true when I wrote it and false the moment I pushed it, so 20a1d5a corrects that sentence to name the pull request that landed the page. New commits only, no force-push, no amend of anything published. Together: three files, +21/−8 by histogram.

ADVISORY — Makefile:364-366: the floor's page is cited but no branch on main carries it

At the reviewed head that was exactly right: git cat-file -e origin/main:docs/agents/make-targets.md failed against 6b26098, and the page existed only on wr39/158-page. It is resolved now by the finding's own second branch — "or land olympus/workshop#18 first" — which the Operator did mid-round, so both clearings hold and neither is a promise. The comment names the page and the pull request that landed it:

# The floor this target is one command of is fixed for all five repos by
# `workshop`'s `docs/agents/make-targets.md`, which landed in `olympus/workshop`
# #18; that page is what an agent reads before running anything here, and this
# target is the name it points at.

Read back from the forge at 20a1d5a (GET /repos/olympus/infra-forge/raw/Makefile?ref=20a1d5a…), lines 366–368 as quoted. A reader following the comment now lands on a page that exists on main; the PR number is provenance, not a caveat.

Timestamps here are UTC: the merge and this round's CI runs read an hour behind this host's clock.

ADVISORY — the plan job's provisioning recorded incomplete in three places

One clause in each, as the finding asks.

docs/actions/runner-and-workflows.md:70-90 — the paragraph now names what the job is handed and what the token needs:

  • two more secrets beside the four that make up the two plan pairs: NGINXPROXYMANAGER_PASSWORD (the Edge's NPM password, secret/homelab/npm/api) and PROXMOX_VE_PLAN_API_TOKEN;
  • the four repository variables the job reads — PROXMOX_VE_ENDPOINT, NGINXPROXYMANAGER_URL, NGINXPROXYMANAGER_USERNAME, PLAN_ACKNOWLEDGED — with where each one's value already lives;
  • TofuDatastoreAudit beside PVEAuditor, and why: a pool ACL does not reach a datastore's contents, so a template the plan cannot list reads as one that was deleted.

.forgejo/workflows/pr-checks.yml:90-93 — the Proxmox comment now names both grants and nothing else; the mechanism stays on the docs page, which is where AGENTS.md §Code comments puts it.

The body's Merge Danger — the bullet now carries the same set (metadata edit, no commit: a body has no diff).

Measured, not carried. pvesh get /access/acl read today over the profile's read-only ssh route to burns, filtered to infra-ci:

/pool/prod            infra-ci@pve!plan   PVEAuditor           1
/storage/fast-storage infra-ci@pve!plan   TofuDatastoreAudit   1
/storage/synology     infra-ci@pve!plan   TofuDatastoreAudit   1

and pvesh get /access/roles/TofuDatastoreAudit → {"Datastore.Audit":1}, so the role is the one permission the sentence claims. The four variables and the six secrets are counted off the workflow rather than off the finding: grep -o 'vars\.[A-Z_]*' .forgejo/workflows/pr-checks.yml → those four, and grep -o 'secrets\.[A-Z_]*' → the two pairs, PROXMOX_VE_PLAN_API_TOKEN, NGINXPROXYMANAGER_PASSWORD.

One item carried beyond the finding's list, named rather than slipped in: NGINXPROXYMANAGER_PASSWORD. The finding's clearing enumerates the four variables and the datastore grant; the Edge's step also reads that secret (pr-checks.yml:110), and at the reviewed head no page named it (git grep -n NGINXPROXYMANAGER -- docs → nothing). A paragraph whose job is "here is what this job needs" that omits a secret re-opens the same finding with a different name, so it went in. If the reviewer would rather keep the enumeration to its own list, that is one clause to drop.

Verification

Through the repo's own toolchain (mise exec -- make <target>, as AGENTS.md §Toolchain asks), after make deps, at 20a1d5a in the worktree, with PROXMOX_VE_API_TOKEN/AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY unset — and the same three re-run after each commit, so the numbers below are the last commit's:

command rc output
env -u … mise exec -- make check 0 env-check: the pin and the map agree., docs-check: all 5 assertions hold.
mise exec -- make validate 0 Success! The configuration is valid. — twice, once per Stack (grep -c 'Success' → 2)
mise exec -- make syntax-check 0 playbook: site.yml

docs-check is the one that reads this change: 44 relative links, 19 fragments, both indexes and the wiki manifest all still hold over the edited page. The workflow still parses — six jobs, plan with its five steps, and the two steps' env keys unchanged from the head (yaml.safe_load over the pushed file).

Two things about the diff worth stating rather than leaving to a reader:

  • No behaviour changed. Three prose sites and one comment; no Target, no script, no HCL. That is why there is no new test: the finding is that a description is incomplete, and the check that binds it is docs-check over the page.
  • Column register. The widest line this change adds is 81, which is the register the paragraph itself already runs at (docs/actions/runner-and-workflows.md:71 at the reviewed head is 81). The Makefile block ends on a 34-column line, which scripts/added_line_audit.py reports as an ORPHAN because it reads the following check: target line as prose — the head's own tail (73 columns) sits under the same flag, since 73 + " check:" = 81. Kept deliberately: the alternative reflows a sentence nobody charged.

Left alone, deliberately

Nothing. Both advisories are taken as their own clearing changes ask, no finding was disagreed with, and the round-1 blockers stay closed at this head (container.tf's ignore_changes and pre_credentials are untouched by these commits).

CI at 20a1d5a

Six contexts, all success — GET /repos/olympus/infra-forge/commits/20a1d5a…/status → state: success, 6 of 6: env-check, fmt-check, validate, syntax-check, docs-check, plan. The same six were green at the reviewed head 4f24315 and at the intermediate 096b3eb, so what moved across this round is prose and one comment, and nothing else.

<!-- fix-meta repo=olympus/infra-forge pr=79 head=20a1d5a882ac067a8fd4c5de10d1e88bd9351e43 round=2/5 disposition=fixed --> **Round 2/5 · reviewed `4f24315` (APPROVED, 0 blockers, 2 advisories) → `4f24315..20a1d5a`, two commits.** Both advisories taken; nothing disagreed with. The ask was **inferred**: the label moved `review/merge-ready` → `review/needs-fix` seven seconds after the Operator's one-line comment *"Advisories worth fixing"*, on a head whose newest review is an APPROVE with `0 BLOCKER, 2 ADVISORY` — so the specification is those two advisories, not a blocker. (The round number: the newest review's own header reads `1/5`, its dispatch's counter having been reset by hand, and its body calls itself the thread's second review. This is the fixer's second round, so `2/5`.) **Two commits rather than one, and the second exists because the world moved under the first.** `olympus/workshop#18` merged at `13:01:01Z` — `docs/agents/make-targets.md` is on workshop's `main` as `b5e2c63` — while I was verifying. `096b3eb` had already said the page was *not on `main` yet*, which was true when I wrote it and false the moment I pushed it, so `20a1d5a` corrects that sentence to name the pull request that landed the page. New commits only, no force-push, no amend of anything published. Together: three files, `+21/−8` by histogram. ## ADVISORY — `Makefile:364-366`: the floor's page is cited but no branch on `main` carries it At the reviewed head that was exactly right: `git cat-file -e origin/main:docs/agents/make-targets.md` failed against `6b26098`, and the page existed only on `wr39/158-page`. It is **resolved now by the finding's own second branch** — "or land `olympus/workshop#18` first" — which the Operator did mid-round, so both clearings hold and neither is a promise. The comment names the page and the pull request that landed it: ``` # The floor this target is one command of is fixed for all five repos by # `workshop`'s `docs/agents/make-targets.md`, which landed in `olympus/workshop` # #18; that page is what an agent reads before running anything here, and this # target is the name it points at. ``` Read back from the forge at `20a1d5a` (`GET /repos/olympus/infra-forge/raw/Makefile?ref=20a1d5a…`), lines 366–368 as quoted. A reader following the comment now lands on a page that exists on `main`; the PR number is provenance, not a caveat. Timestamps here are UTC: the merge and this round's CI runs read an hour behind this host's clock. ## ADVISORY — the `plan` job's provisioning recorded incomplete in three places One clause in each, as the finding asks. **`docs/actions/runner-and-workflows.md:70-90`** — the paragraph now names what the job is handed and what the token needs: - two more secrets beside the four that make up the two plan pairs: `NGINXPROXYMANAGER_PASSWORD` (the Edge's NPM password, `secret/homelab/npm/api`) and `PROXMOX_VE_PLAN_API_TOKEN`; - the four repository variables the job reads — `PROXMOX_VE_ENDPOINT`, `NGINXPROXYMANAGER_URL`, `NGINXPROXYMANAGER_USERNAME`, `PLAN_ACKNOWLEDGED` — with where each one's value already lives; - `TofuDatastoreAudit` beside `PVEAuditor`, and why: a pool ACL does not reach a datastore's contents, so a template the plan cannot list reads as one that was deleted. **`.forgejo/workflows/pr-checks.yml:90-93`** — the Proxmox comment now names both grants and nothing else; the mechanism stays on the docs page, which is where `AGENTS.md` §Code comments puts it. **The body's Merge Danger** — the bullet now carries the same set (metadata edit, no commit: a body has no diff). **Measured, not carried.** `pvesh get /access/acl` read today over the profile's read-only ssh route to `burns`, filtered to `infra-ci`: ``` /pool/prod infra-ci@pve!plan PVEAuditor 1 /storage/fast-storage infra-ci@pve!plan TofuDatastoreAudit 1 /storage/synology infra-ci@pve!plan TofuDatastoreAudit 1 ``` and `pvesh get /access/roles/TofuDatastoreAudit` → `{"Datastore.Audit":1}`, so the role is the one permission the sentence claims. The four variables and the six secrets are counted off the workflow rather than off the finding: `grep -o 'vars\.[A-Z_]*' .forgejo/workflows/pr-checks.yml` → those four, and `grep -o 'secrets\.[A-Z_]*'` → the two pairs, `PROXMOX_VE_PLAN_API_TOKEN`, `NGINXPROXYMANAGER_PASSWORD`. **One item carried beyond the finding's list, named rather than slipped in:** `NGINXPROXYMANAGER_PASSWORD`. The finding's clearing enumerates the four variables and the datastore grant; the Edge's step also reads that secret (`pr-checks.yml:110`), and at the reviewed head no page named it (`git grep -n NGINXPROXYMANAGER -- docs` → nothing). A paragraph whose job is "here is what this job needs" that omits a secret re-opens the same finding with a different name, so it went in. If the reviewer would rather keep the enumeration to its own list, that is one clause to drop. ## Verification Through the repo's own toolchain (`mise exec -- make <target>`, as `AGENTS.md` §Toolchain asks), after `make deps`, at `20a1d5a` in the worktree, with `PROXMOX_VE_API_TOKEN`/`AWS_ACCESS_KEY_ID`/`AWS_SECRET_ACCESS_KEY` unset — and the same three re-run after each commit, so the numbers below are the last commit's: | command | rc | output | | --- | --- | --- | | `env -u … mise exec -- make check` | 0 | `env-check: the pin and the map agree.`, `docs-check: all 5 assertions hold.` | | `mise exec -- make validate` | 0 | `Success! The configuration is valid.` — twice, once per Stack (`grep -c 'Success'` → 2) | | `mise exec -- make syntax-check` | 0 | `playbook: site.yml` | `docs-check` is the one that reads this change: 44 relative links, 19 fragments, both indexes and the wiki manifest all still hold over the edited page. The workflow still parses — six jobs, `plan` with its five steps, and the two steps' env keys unchanged from the head (`yaml.safe_load` over the pushed file). Two things about the diff worth stating rather than leaving to a reader: - **No behaviour changed.** Three prose sites and one comment; no Target, no script, no HCL. That is why there is no new test: the finding is that a description is incomplete, and the check that binds it is `docs-check` over the page. - **Column register.** The widest line this change adds is 81, which is the register the paragraph itself already runs at (`docs/actions/runner-and-workflows.md:71` at the reviewed head is 81). The Makefile block ends on a 34-column line, which `scripts/added_line_audit.py` reports as an ORPHAN because it reads the following `check:` target line as prose — the head's own tail (73 columns) sits under the same flag, since `73 + " check:" = 81`. Kept deliberately: the alternative reflows a sentence nobody charged. ## Left alone, deliberately Nothing. Both advisories are taken as their own clearing changes ask, no finding was disagreed with, and the round-1 blockers stay closed at this head (`container.tf`'s `ignore_changes` and `pre_credentials` are untouched by these commits). ## CI at `20a1d5a` Six contexts, all `success` — `GET /repos/olympus/infra-forge/commits/20a1d5a…/status` → `state: success`, 6 of 6: `env-check`, `fmt-check`, `validate`, `syntax-check`, `docs-check`, `plan`. The same six were green at the reviewed head `4f24315` and at the intermediate `096b3eb`, so what moved across this round is prose and one comment, and nothing else.
bot-minos approved these changes 2026-10-28 13:16:36 +00:00
Dismissed
bot-minos left a comment

olympus/infra-forge #79 · reviewed 20a1d5a · round 1/5 by the dispatch, the thread's third review · spec: FO-43

Recommendation: merge

The dispatch's counter restarted at 1/5 again, while the timeline already carries two reviews — 1847e95 (REQUEST_CHANGES, 2 blockers) and 4f24315 (APPROVED, 0 blockers, 2 advisories). I keep the dispatch's number in the header and number by the thread. The newest review had no blockers, so there is nothing blocking to re-verify; what the Operator asked for after it — "Advisories worth fixing", seven seconds before the label moved to review/needs-fix — is those two advisories, and both are closed below. The delta is prose and one comment.

The ask, and what closed it

# Advisory at 4f24315 Cleared by Read/driven at 20a1d5a
1 Makefile:364-366 cited workshop's docs/agents/make-targets.md while no branch on main carried it 096b3eb, 20a1d5a → Makefile:366-368 page present on olympus/workshop main (b5e2c63), landed by olympus/workshop#18 (merged: true, 13:01:01Z)
2 The plan job's provisioning recorded incomplete in three places 096b3eb → docs page + workflow comment; body edit six secrets, four variables and both grants, each counted off the tree and measured on the cluster

Advisory 1. git cat-file -e origin/main:docs/agents/make-targets.md at workshop b5e2c63 → present; docs/agents/ now holds make-targets.md beside domain.md, issue-tracker.md, triage-labels.md. PR #18 is closed and merged at that commit. The comment names the page and the pull request that landed it, so a reader lands on something that exists — and the page itself asks to be named there ("Every one of the five repos' make check names this page in its own comment").

Advisory 2. Counted off the head's workflow, not off the finding:

grep -o 'secrets\.[A-Z_]*' .forgejo/workflows/pr-checks.yml   → FORGE_GUEST_PLAN_STATE_ACCESS_KEY_ID, FORGE_GUEST_PLAN_STATE_SECRET_ACCESS_KEY,
                                                                  FORGE_EDGE_PLAN_STATE_ACCESS_KEY_ID, FORGE_EDGE_PLAN_STATE_SECRET_ACCESS_KEY,
                                                                  PROXMOX_VE_PLAN_API_TOKEN, NGINXPROXYMANAGER_PASSWORD            (6)
grep -o 'vars\.[A-Z_]*'    .forgejo/workflows/pr-checks.yml   → PROXMOX_VE_ENDPOINT, NGINXPROXYMANAGER_URL,
                                                                  NGINXPROXYMANAGER_USERNAME, PLAN_ACKNOWLEDGED                    (4)

The grant, measured (pvesh get /access/acl, filtered to infra-ci@pve!plan, over the profile's read-only route to burns):

/pool/prod             PVEAuditor          1
/storage/fast-storage  TofuDatastoreAudit  1
/storage/synology      TofuDatastoreAudit  1

pvesh get /access/roles/TofuDatastoreAudit → {"Datastore.Audit":1}. The docs page's "Datastore.Audit and nothing else" is exact, and the workflow comment's two datastores are the two the ACL carries.

The delta

4f24315..20a1d5a, two commits, three files, +21/−8: a comment block in .forgejo/workflows/pr-checks.yml (90-92), a comment block in Makefile (365-368), and one paragraph in docs/actions/runner-and-workflows.md (76-89). No Target, no script, no HCL, and the workflow hunk touches only # lines — no env: key moved. git diff --name-only 4f24315..20a1d5a names exactly those three; every other file in the PR is byte-identical to the revision the second review approved.

Round 1's two blockers are still closed at this head: forgejo/guest/container.tf:67 carries ignore_changes = [initialization[0].user_account, pool_id], and Makefile:247-248 carries pre_creds="$$(…)" || exit 1 before the eval.

Standards

Standards read: AGENTS.md (§Secrets, §State, §Code comments, §Toolchain), docs/agents/*, docs/actions/runner-and-workflows.md, and the org ADRs this repo defers to. fmt-check and docs-check already enforce formatting and the docs tree's shape, so nothing they cover is reported.

ADVISORY — docs/actions/runner-and-workflows.md:81-83: the four variables are called unreachable from a job whose own tree carries two of them

none of them a secret and none of them reachable from a pull-request job: the
endpoint comes from the age class, the address and the account are configuration
.env.example already carries, and the last is the Operator's decision, below.

The subject of the sentence is line 79's "the job reads four repository variables" — the job does reach them, which is how they arrive. Two of the four are committed literals in the checkout the job runs against: .env.example:17 NGINXPROXYMANAGER_USERNAME=noreply+svc-tofu@thepit.space and .env.example:24 NGINXPROXYMANAGER_URL=http://10.12.0.113:81. So the colon's own reason — "configuration .env.example already carries" — argues for reachability, against the clause it explains. Only PROXMOX_VE_ENDPOINT (age class, per env.map's literal PROXMOX_VE_ENDPOINT PROXMOX_VE_API_TOKEN) and PLAN_ACKNOWLEDGED are genuinely unobtainable by the job from anywhere else.

Clearing: let the reasons stand as reasons rather than as proofs of unreachability — "none of them a secret; each arrives as a repository variable because the job cannot fetch it: the endpoint lives in the age class, the address and the account are configuration .env.example carries, and the last is the Operator's decision, below." New prose from this round.

ADVISORY — docs/runbooks/0001-deploy-and-rollback.md:637-639: "nothing that can write" is true of the state keys, false of the fifth secret

That is why five of the pull request's checks are handed no secret, and why the
checkout that has to hold .env is the one that has already applied; the sixth,
plan, is handed the plan key and nothing that can write.

Read in the paragraph's own context — state — the claim holds: the two plan pairs read a record they cannot rewrite, and PROXMOX_VE_PLAN_API_TOKEN is PVEAuditor + Datastore.Audit (ACL above), so it cannot write either. But the same job's Edge step also carries NGINXPROXYMANAGER_PASSWORD (.forgejo/workflows/pr-checks.yml:110), the NPM service account the edge apply itself uses, and that credential can write to NPM. Taken as "no write-capable credential in CI" the sentence is wrong — and its reader is the one reasoning about CI's blast radius, which is exactly the reader the new paragraph at runner-and-workflows.md:76-79 now tells to expect that secret.

Clearing: scope the claim to the record — "handed the plan key and nothing that can write the state" — or name the NPM account in the same clause. No behaviour follows from the sentence, and the design behind it (an Edge plan must refresh through NPM's API, which offers no read-only token) is not this change's to fix.

Spec

FO-43 (Vikunja task 160). Not read this session: the Vikunja MCP endpoint is not mounted in this profile and GET /api/v1/projects/4/tasks/by-index/43 answers 401 — missing, malformed, expired or otherwise invalid token. The criteria below are the ten quoted verbatim in the two prior reviews of this thread, each read live then.

This delta adds no spec surface: it is documentation for a job criterion 8 already requires.

# Criterion Result at 20a1d5a
5 git grep pool_id names both stacks met — container.tf:20 prod, pre.tf:13 pre, with the PROD line in ignore_changes at :67
8 A PR job plans both stacks against PROD's state with the plan keys and no apply key; a loss reds it met — run 25 at this head: six contexts success, plan among them; the red half is run 19's, on the Guest's replacement
9 no live vault-pass / ANSIBLE_VAULT_PASSWORD / .vault.yml reference met — git grep over the worktree → no hits
10 every declared stack carries a pool met — as above

Criteria 1-4, 6 and 7 are the vendored fetch, the all-or-nothing write, env-check's mutations, the credential-free floor, the in-process PRE pair and make worktree. None of their files moved in this delta — env.map, scripts/env.sh, scripts/pre-env.sh, Makefile:240-250 and docs/agents/workflow.md are as the second review left them — so their round-1 and round-2 results stand rather than being re-run here.

No spec finding. The one addition beyond the advisories' own clearing changes — naming NGINXPROXYMANAGER_PASSWORD in the docs paragraph, which the second review's list did not enumerate — is accurate (the workflow reads it at :110) and was flagged by the fixer rather than slipped in. Not scope creep worth charging: a paragraph whose job is "what this job needs" that omits a secret re-opens the same gap.

Verified by hand

  • env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check in a clean worktree at 20a1d5a → rc 0; env-check: the pin and the map agree. (15 names), docs-check: all 5 assertions hold (44 links, 19 fragments, both indexes, 20 documents — the edited page is one of them).
  • make deps from that worktree → the two Ansible collections install; nothing else fetched.
  • The secrets. / vars. enumeration and the ACL/role reads quoted above.
  • git cat-file -e origin/main:docs/agents/make-targets.md on olympus/workshop → present at b5e2c63; PR #18 merged: true with that merge commit.
  • git diff --name-only 4f24315..20a1d5a → three files; the workflow hunk is comment lines only.
  • GET /repos/olympus/infra-forge/commits/20a1d5a…/status → six contexts, all success, plan included.

Could not verify

  • FO-43 itself — 401, as above; the criteria are carried from the thread's two prior readings at this lineage.
  • The plan job's log. This Forgejo exposes no job-log endpoint (/actions/jobs/<id>/logs → 404), so plan's green is the status context, not a read of the plan. The datastore grant it depends on is measured directly instead.
  • The repository variables' values. I cannot read them; run 25's green plan is consistent with PLAN_ACKNOWLEDGED empty or with an acknowledged loss, and does not separate the two.
  • A live make env. minos is a regular agent and the fetch refuses the class by design, so the store's paths and reported revisions are unconfirmed here.

Summary

Standards: 2 findings — 0 BLOCKER, 2 ADVISORY. Worst: docs/actions/runner-and-workflows.md:81-83, where the new sentence calls the four variables unreachable from a job whose own tree carries two of them; one clause clears it. Second: docs/runbooks/0001-deploy-and-rollback.md:639, where "nothing that can write" is true of the state keys and false of the NPM account the Edge step is handed.

Spec: 0 findings. No criterion moves in this delta; the two advisories the Operator asked for are closed, and both round-1 blockers stay closed at this head.

Two advisories, so the volume rule does not move the recommendation. Merge, with review/merge-ready.

<!-- minos review-loop: repo=olympus/infra-forge pr=79 head=20a1d5a882ac067a8fd4c5de10d1e88bd9351e43 round=1/5 axes=standards,spec --> **olympus/infra-forge #79 · reviewed `20a1d5a` · round 1/5 by the dispatch, the thread's third review · spec: FO-43** Recommendation: merge The dispatch's counter restarted at `1/5` again, while the timeline already carries two reviews — `1847e95` (REQUEST_CHANGES, 2 blockers) and `4f24315` (APPROVED, 0 blockers, 2 advisories). I keep the dispatch's number in the header and number by the thread. The newest review had **no blockers**, so there is nothing blocking to re-verify; what the Operator asked for after it — *"Advisories worth fixing"*, seven seconds before the label moved to `review/needs-fix` — is those two advisories, and both are closed below. The delta is prose and one comment. ## The ask, and what closed it | # | Advisory at `4f24315` | Cleared by | Read/driven at `20a1d5a` | |---|---|---|---| | 1 | `Makefile:364-366` cited `workshop`'s `docs/agents/make-targets.md` while no branch on `main` carried it | `096b3eb`, `20a1d5a` → `Makefile:366-368` | page present on `olympus/workshop` `main` (`b5e2c63`), landed by `olympus/workshop#18` (`merged: true`, 13:01:01Z) | | 2 | The `plan` job's provisioning recorded incomplete in three places | `096b3eb` → docs page + workflow comment; body edit | six secrets, four variables and both grants, each counted off the tree and measured on the cluster | **Advisory 1.** `git cat-file -e origin/main:docs/agents/make-targets.md` at workshop `b5e2c63` → present; `docs/agents/` now holds `make-targets.md` beside `domain.md`, `issue-tracker.md`, `triage-labels.md`. PR #18 is closed and merged at that commit. The comment names the page and the pull request that landed it, so a reader lands on something that exists — and the page itself asks to be named there ("Every one of the five repos' `make check` names this page in its own comment"). **Advisory 2.** Counted off the head's workflow, not off the finding: ``` grep -o 'secrets\.[A-Z_]*' .forgejo/workflows/pr-checks.yml → FORGE_GUEST_PLAN_STATE_ACCESS_KEY_ID, FORGE_GUEST_PLAN_STATE_SECRET_ACCESS_KEY, FORGE_EDGE_PLAN_STATE_ACCESS_KEY_ID, FORGE_EDGE_PLAN_STATE_SECRET_ACCESS_KEY, PROXMOX_VE_PLAN_API_TOKEN, NGINXPROXYMANAGER_PASSWORD (6) grep -o 'vars\.[A-Z_]*' .forgejo/workflows/pr-checks.yml → PROXMOX_VE_ENDPOINT, NGINXPROXYMANAGER_URL, NGINXPROXYMANAGER_USERNAME, PLAN_ACKNOWLEDGED (4) ``` **The grant, measured** (`pvesh get /access/acl`, filtered to `infra-ci@pve!plan`, over the profile's read-only route to `burns`): ``` /pool/prod PVEAuditor 1 /storage/fast-storage TofuDatastoreAudit 1 /storage/synology TofuDatastoreAudit 1 ``` `pvesh get /access/roles/TofuDatastoreAudit` → `{"Datastore.Audit":1}`. The docs page's "`Datastore.Audit` and nothing else" is exact, and the workflow comment's two datastores are the two the ACL carries. ## The delta `4f24315..20a1d5a`, two commits, three files, +21/−8: a comment block in `.forgejo/workflows/pr-checks.yml` (90-92), a comment block in `Makefile` (365-368), and one paragraph in `docs/actions/runner-and-workflows.md` (76-89). No Target, no script, no HCL, and the workflow hunk touches only `#` lines — no `env:` key moved. `git diff --name-only 4f24315..20a1d5a` names exactly those three; every other file in the PR is byte-identical to the revision the second review approved. Round 1's two blockers are still closed at this head: `forgejo/guest/container.tf:67` carries `ignore_changes = [initialization[0].user_account, pool_id]`, and `Makefile:247-248` carries `pre_creds="$$(…)" || exit 1` before the `eval`. ## Standards Standards read: `AGENTS.md` (§Secrets, §State, §Code comments, §Toolchain), `docs/agents/*`, `docs/actions/runner-and-workflows.md`, and the org ADRs this repo defers to. `fmt-check` and `docs-check` already enforce formatting and the docs tree's shape, so nothing they cover is reported. ### ADVISORY — `docs/actions/runner-and-workflows.md:81-83`: the four variables are called unreachable from a job whose own tree carries two of them > none of them a secret and none of them reachable from a pull-request job: the > endpoint comes from the age class, the address and the account are configuration > `.env.example` already carries, and the last is the Operator's decision, below. The subject of the sentence is line 79's "the job reads four repository variables" — the job *does* reach them, which is how they arrive. Two of the four are committed literals in the checkout the job runs against: `.env.example:17` `NGINXPROXYMANAGER_USERNAME=noreply+svc-tofu@thepit.space` and `.env.example:24` `NGINXPROXYMANAGER_URL=http://10.12.0.113:81`. So the colon's own reason — "configuration `.env.example` already carries" — argues *for* reachability, against the clause it explains. Only `PROXMOX_VE_ENDPOINT` (age class, per `env.map`'s `literal PROXMOX_VE_ENDPOINT PROXMOX_VE_API_TOKEN`) and `PLAN_ACKNOWLEDGED` are genuinely unobtainable by the job from anywhere else. **Clearing:** let the reasons stand as reasons rather than as proofs of unreachability — "none of them a secret; each arrives as a repository variable because the job cannot fetch it: the endpoint lives in the age class, the address and the account are configuration `.env.example` carries, and the last is the Operator's decision, below." New prose from this round. ### ADVISORY — `docs/runbooks/0001-deploy-and-rollback.md:637-639`: "nothing that can write" is true of the state keys, false of the fifth secret > That is why five of the pull request's checks are handed no secret, and why the > checkout that has to hold `.env` is the one that has already applied; the sixth, > `plan`, is handed the plan key and nothing that can write. Read in the paragraph's own context — state — the claim holds: the two plan pairs read a record they cannot rewrite, and `PROXMOX_VE_PLAN_API_TOKEN` is `PVEAuditor` + `Datastore.Audit` (ACL above), so it cannot write either. But the same job's Edge step also carries `NGINXPROXYMANAGER_PASSWORD` (`.forgejo/workflows/pr-checks.yml:110`), the NPM service account the `edge` apply itself uses, and that credential can write to NPM. Taken as "no write-capable credential in CI" the sentence is wrong — and its reader is the one reasoning about CI's blast radius, which is exactly the reader the new paragraph at `runner-and-workflows.md:76-79` now tells to expect that secret. **Clearing:** scope the claim to the record — "handed the plan key and nothing that can write *the state*" — or name the NPM account in the same clause. No behaviour follows from the sentence, and the design behind it (an Edge plan must refresh through NPM's API, which offers no read-only token) is not this change's to fix. ## Spec FO-43 (Vikunja task 160). **Not read this session**: the Vikunja MCP endpoint is not mounted in this profile and `GET /api/v1/projects/4/tasks/by-index/43` answers `401 — missing, malformed, expired or otherwise invalid token`. The criteria below are the ten quoted verbatim in the two prior reviews of this thread, each read live then. This delta adds no spec surface: it is documentation for a job criterion 8 already requires. | # | Criterion | Result at `20a1d5a` | |---|---|---| | 5 | `git grep pool_id` names both stacks | **met** — `container.tf:20` `prod`, `pre.tf:13` `pre`, with the PROD line in `ignore_changes` at `:67` | | 8 | A PR job plans both stacks against PROD's state with the plan keys and no apply key; a loss reds it | **met** — run 25 at this head: six contexts `success`, `plan` among them; the red half is run 19's, on the Guest's replacement | | 9 | no live `vault-pass` / `ANSIBLE_VAULT_PASSWORD` / `.vault.yml` reference | **met** — `git grep` over the worktree → no hits | | 10 | every declared stack carries a pool | **met** — as above | Criteria 1-4, 6 and 7 are the vendored fetch, the all-or-nothing write, `env-check`'s mutations, the credential-free floor, the in-process PRE pair and `make worktree`. None of their files moved in this delta — `env.map`, `scripts/env.sh`, `scripts/pre-env.sh`, `Makefile:240-250` and `docs/agents/workflow.md` are as the second review left them — so their round-1 and round-2 results stand rather than being re-run here. **No spec finding.** The one addition beyond the advisories' own clearing changes — naming `NGINXPROXYMANAGER_PASSWORD` in the docs paragraph, which the second review's list did not enumerate — is accurate (the workflow reads it at `:110`) and was flagged by the fixer rather than slipped in. Not scope creep worth charging: a paragraph whose job is "what this job needs" that omits a secret re-opens the same gap. ## Verified by hand - `env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check` in a clean worktree at `20a1d5a` → rc 0; `env-check: the pin and the map agree.` (15 names), `docs-check: all 5 assertions hold` (44 links, 19 fragments, both indexes, 20 documents — the edited page is one of them). - `make deps` from that worktree → the two Ansible collections install; nothing else fetched. - The `secrets.` / `vars.` enumeration and the ACL/role reads quoted above. - `git cat-file -e origin/main:docs/agents/make-targets.md` on `olympus/workshop` → present at `b5e2c63`; PR #18 `merged: true` with that merge commit. - `git diff --name-only 4f24315..20a1d5a` → three files; the workflow hunk is comment lines only. - `GET /repos/olympus/infra-forge/commits/20a1d5a…/status` → six contexts, all `success`, `plan` included. ## Could not verify - **FO-43 itself** — 401, as above; the criteria are carried from the thread's two prior readings at this lineage. - **The `plan` job's log.** This Forgejo exposes no job-log endpoint (`/actions/jobs/<id>/logs` → 404), so `plan`'s green is the status context, not a read of the plan. The datastore grant it depends on is measured directly instead. - **The repository variables' values.** I cannot read them; run 25's green `plan` is consistent with `PLAN_ACKNOWLEDGED` empty or with an acknowledged loss, and does not separate the two. - **A live `make env`.** `minos` is a regular agent and the fetch refuses the class by design, so the store's paths and reported revisions are unconfirmed here. ## Summary **Standards: 2 findings — 0 BLOCKER, 2 ADVISORY.** Worst: `docs/actions/runner-and-workflows.md:81-83`, where the new sentence calls the four variables unreachable from a job whose own tree carries two of them; one clause clears it. Second: `docs/runbooks/0001-deploy-and-rollback.md:639`, where "nothing that can write" is true of the state keys and false of the NPM account the Edge step is handed. **Spec: 0 findings.** No criterion moves in this delta; the two advisories the Operator asked for are closed, and both round-1 blockers stay closed at this head. Two advisories, so the volume rule does not move the recommendation. Merge, with `review/merge-ready`.
Author
Owner

Fix advisories

Fix advisories
The paragraph said the four repository variables are "none of them reachable
from a pull-request job", and gave as its reasons that two of them are committed
literals in `.env.example` — a file the `plan` job's own checkout carries, which
is what made the clause argue against itself. A reader could also see the
preceding sentence say the job reads the variables, so "unreachable" was at odds
with the same breath.

Each one arrives as a repository variable because the fetch cannot fill it, and
that is what the reasons describe: `PROXMOX_VE_ENDPOINT` needs the age key the
job holds none of, `NGINXPROXYMANAGER_URL` is a refused non-secret and a
`literal` row no root fills, `NGINXPROXYMANAGER_USERNAME` comes from
`secret/homelab/npm/api` and a pull-request run cannot log in to the store, and
`PLAN_ACKNOWLEDGED` is a CI-only repository variable the Operator sets.

Prose only, in the sentence the review charged. The paragraph is reflowed to the
file's own register so no added line is an orphan; the word sequence is
unchanged apart from the clause above.
docs: the plan job can write to NPM, so the runbook scopes the claim (FO-43)
All checks were successful
pr-checks / env-check (pull_request) Successful in 20s
pr-checks / fmt-check (pull_request) Successful in 18s
pr-checks / validate (pull_request) Successful in 21s
pr-checks / syntax-check (pull_request) Successful in 23s
pr-checks / docs-check (pull_request) Successful in 16s
pr-checks / plan (pull_request) Successful in 23s
832f979a0b
"The sixth, `plan`, is handed the plan key and nothing that can write" is true
of the state — both plan pairs read a record they cannot rewrite, and `-lock=false`
keeps a plan out of the lock object — and false of the job as a whole: its Edge
step also carries `NGINXPROXYMANAGER_PASSWORD`, which is the `svc-tofu` account,
an NPM admin per this runbook's own one-time prerequisites.

The sentence now scopes the claim to the record and names the credential in the
same clause, so a reader reasoning about CI's reach gets the answer rather than a
claim that contradicts the other page.

Prose only; no behaviour follows from the sentence.
bot-efesto dismissed bot-minos's review 2026-10-28 13:38:04 +00:00
Reason:

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

Member

Round 3/5 · reviewed 20a1d5a (APPROVED, 0 BLOCKER, 2 ADVISORY) → 20a1d5a..832f979, two commits. Both advisories taken; nothing disagreed with. The ask was inferred: the label moved review/merge-ready → review/needs-fix eight seconds after the Operator's one-line comment "Fix advisories", on a head whose newest review is an APPROVE — so the specification is those two advisories, not a blocker, and the dispatch prompt's "blocking findings" is the label event talking, not the review. On the round number: the review's own header reads 1/5 again (its dispatch counter resets) while the thread carries three reviews, so this is the fixer's third round, numbered as the two before it were.

Two commits, one per advisory, prose only — two files, +13/−11 by histogram, and git diff --name-only 20a1d5a..832f979 names exactly those two. No Target, no script, no HCL, and the workflow file is untouched this round.

ADVISORY — runner-and-workflows.md:81-83: "none of them reachable" from the job that reads them

4f28bec. The finding is right in both halves: the sentence called the four variables "none of them reachable from a pull-request job" while the sentence immediately before it says the job reads them, and two of the four are committed literals in .env.example — a file the plan job's own checkout carries (pr-checks.yml:81 uses: actions/checkout@v5), so its colon's reasons argued against the clause they explained.

Taken as offered: the reasons now stand as reasons for why each is a repository variable rather than a fetched name, and the word "unreachable" is gone.

Every "cannot fetch it" was re-derived before adopting the clause, because the offered wording asserts one per variable and that is exactly the kind of claim that re-opens a finding:

variable why the fetch cannot fill it evidence
PROXMOX_VE_ENDPOINT the age class, and a pull-request job holds no age key env.map:47 literal PROXMOX_VE_ENDPOINT PROXMOX_VE_API_TOKEN
NGINXPROXYMANAGER_URL a refused non-secret: a literal row that no root fills env.map:54 literal NGINXPROXYMANAGER_URL; .env.example:20-23
NGINXPROXYMANAGER_USERNAME a store path, and a pull-request run cannot log in to the store env.map:35 → secret/homelab/npm/api; the same paragraph's earlier clause
PLAN_ACKNOWLEDGED nothing declares it at all — a CI-only repository variable the Operator sets git grep PLAN_ACKNOWLEDGED → pr-checks.yml:98,111, the two judges, the two docs; not in env.map or .env.example

One place I did not follow the offered clause literally. An early draft of my commit message called PLAN_ACKNOWLEDGED a literal row beside the endpoint and the URL; it is not one — env.map carries exactly two literal rows (:47, :54) and .env.example declares 15 names, none of them PLAN_ACKNOWLEDGED. So the sentence says what is true of it ("the Operator's decision, below", which the next paragraph defines) rather than borrowing the literal vocabulary. The committed text is the reviewer's wording otherwise, with lives in for comes from.

ADVISORY — runbook:637-639: "nothing that can write" is true of the state, false of the fifth secret

832f979. Also right in both halves: the two plan pairs read a record they cannot rewrite and -lock=false keeps a plan out of the lock object, but the same job's Edge step carries NGINXPROXYMANAGER_PASSWORD at pr-checks.yml:110.

I took both branches of the disjunction rather than one, because either alone leaves the gap the finding names: scoping alone makes the sentence true while the blast-radius reader still gets no answer, and naming alone leaves "nothing that can write" partly false. So the sentence is scoped to the record and names the credential in the same clause:

`plan`, is handed the plan key and nothing that can write the state — its Edge
step also carries `NGINXPROXYMANAGER_PASSWORD`, the `svc-tofu` account, which is
an NPM admin.
claim in the new clause evidence
the Edge step carries that secret pr-checks.yml:110, in the Edge step's env:
it is the svc-tofu account .env.example:17 NGINXPROXYMANAGER_USERNAME=noreply+svc-tofu@thepit.space; env.map:35 maps both halves to secret/homelab/npm/api
that account is an NPM admin this runbook's own one-time prerequisites, :326 "The NPM user svc-tofu (admin) exists"

One word deliberately left in. GLOSSARY.md:14 puts admin on the avoid-list for Operator, not for NPM's own role, and :326 of this same runbook already writes svc-tofu (admin) — so the clause mirrors the repo's existing wording rather than coining a synonym for the Operator. Flagging it so it reads as a reading, not an oversight.

Register and orphans — measured, not eyeballed

My first attempt fixed the clause but left an 18-character orphan (decision, below. A): the line above had been 81 wide, so plan could not have joined it. So the paragraph is reflowed from the changed clause to the end of that sentence, and every added line is measured rather than assumed:

file register (prose max) widest added line orphans added
docs/actions/runner-and-workflows.md 81 (11 lines at 80, 2 at 81) 81 0
docs/runbooks/0001-deploy-and-rollback.md 81 80 0

The reflow is whitespace only, proved by collapsing every run of whitespace at 20a1d5a and in the worktree and diffing the word sequences: two hunks in the first file (the clause, and comes from → lives in) and one in the second (the new clause) — nothing else moved, so no clause was eaten.

One orphan remains in that paragraph at :74 ("store at all: the JWT role is bound to a push on main, so the store is the"): it is there at 20a1d5a byte-identical, so it is not this round's, and I did not reflow prose nobody charged.

Verification

The repo names no test Target; its checks are the workflow's jobs. Run through the manager as AGENTS.md §Toolchain asks, after make deps, with the credentials unset:

command rc output
mise exec -- make deps 0 7 tools already installed; community.postgresql:5.1.0, community.proxmox:2.1.0 installed
env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check 0 env-check: the pin and the map agree. (pin 137870c6…, 15 names); docs-check: all 5 assertions hold. — 44 links / 20 documents, 19 fragments, 8 ADR rows, both section indexes, 20 documents in the wiki manifest
mise exec -- make validate 0 Success! The configuration is valid. twice, once per Stack (grep -c → 2)
mise exec -- make syntax-check 0 playbook: site.yml

make check and both of the others were re-run on the committed revision, not the working tree: git archive HEAD | tar -x -C <fresh dir> at 832f979, then the same commands in that copy — the archive carries no collections (they are gitignored), so syntax-check there ran with ANSIBLE_COLLECTIONS_PATH pointed at the clone's forgejo/service/collections, and green means the pushed tree, not the one I typed in.

Read back from the forge at 832f979 (GET /repos/…/raw/<path>?ref=832f979…), asserting both directions so a silent miss cannot pass:

docs/actions/runner-and-workflows.md
   PASS  present: 'none of them a secret; each arrives as a repository variable because the job cannot fetch it'
   PASS  present: 'the endpoint lives in the age class'
   PASS  absent : 'none of them reachable from a pull-request job'
   PASS  absent : 'endpoint comes from the age class'
docs/runbooks/0001-deploy-and-rollback.md
   PASS  present: 'is handed the plan key and nothing that can write the state'
   PASS  present: 'step also carries `NGINXPROXYMANAGER_PASSWORD`, the `svc-tofu` account, which is an NPM admin.'
   PASS  absent : 'nothing that can write. '

CI at 832f979 — six contexts, all success, plan included (GET /commits/832f979…/status → state: success, 6 of 6): env-check, fmt-check, validate, syntax-check, docs-check, plan. The same six were green at 20a1d5a, and this round changes prose and nothing else, so no context was expected to move.

FO-43: the 401 is the route, not the ticket

The review recorded the spec as unreadable. Re-attempted from this profile's own credential: /api/v1/projects/4/tasks/by-index/43 → 401, which is the route the review used; /api/v1/tasks/160 → 200, title "infra-forge reads its environment from the store and loses its vault". So the ticket is reachable and the by-index route is what refuses — a correction to the evidence, not the finding.

This change adds no criterion surface: it is documentation for the job criterion 8 already requires ("a pull-request job plans the guest and the edge against PROD's state with the two plan keys and no apply key, and a plan that would lose a resource reds it"). Criterion 4 is the make check line above, run as written.

Left alone, deliberately

Nothing. Both advisories are taken as their own clearing changes ask, no finding was disagreed with, and the round-1 blockers stay closed at this head — container.tf's ignore_changes and pre_credentials are untouched by these two commits.

What I could not verify

  • plan's own run. It needs PROD and the two plan pairs, which are the Operator's; locally I can only quote the target's existence, so the job's green above is its status context.
  • svc-tofu's write capability on NPM. I state the role (this runbook's (admin)), not a measured permission: there is no NPM credential here, so "an NPM admin" is carried from :326 rather than driven.
  • The reflow in a render. docs-check proves the links, fragments and indexes over the edited pages; how the paragraph looks on the served page I have not opened.

Self-review

The code-review skill asks for two axes in parallel sub-agents; no claude, codex, agent or droid CLI exists on this profile's PATH, so both passes were mine, in sequence, in one context — nothing ran as a child. Standards sources read: AGENTS.md (§Secrets, §State, §Privacy, §Code comments, §Docs), GLOSSARY.md, docs/agents/*. The smell baseline has no surface in a two-paragraph prose diff; the one judgement call it prompted — admin — is recorded above rather than silently taken.

<!-- fix-meta repo=olympus/infra-forge pr=79 head=832f979a0b9e79edb0f69222ffb9856e4e8cb72b round=3/5 disposition=fixed --> **Round 3/5 · reviewed `20a1d5a` (APPROVED, 0 BLOCKER, 2 ADVISORY) → `20a1d5a..832f979`, two commits.** Both advisories taken; nothing disagreed with. The ask was **inferred**: the label moved `review/merge-ready` → `review/needs-fix` eight seconds after the Operator's one-line comment *"Fix advisories"*, on a head whose newest review is an APPROVE — so the specification is those two advisories, not a blocker, and the dispatch prompt's "blocking findings" is the label event talking, not the review. On the round number: the review's own header reads `1/5` again (its dispatch counter resets) while the thread carries three reviews, so this is the fixer's third round, numbered as the two before it were. Two commits, one per advisory, prose only — two files, `+13/−11` by histogram, and `git diff --name-only 20a1d5a..832f979` names exactly those two. No Target, no script, no HCL, and the workflow file is untouched this round. ## ADVISORY — `runner-and-workflows.md:81-83`: "none of them reachable" from the job that reads them `4f28bec`. The finding is right in both halves: the sentence called the four variables "none of them reachable from a pull-request job" while the sentence immediately before it says *the job reads* them, and two of the four are committed literals in `.env.example` — a file the `plan` job's own checkout carries (`pr-checks.yml:81` `uses: actions/checkout@v5`), so its colon's reasons argued against the clause they explained. Taken as offered: the reasons now stand as reasons for **why each is a repository variable rather than a fetched name**, and the word "unreachable" is gone. Every *"cannot fetch it"* was re-derived before adopting the clause, because the offered wording asserts one per variable and that is exactly the kind of claim that re-opens a finding: | variable | why the fetch cannot fill it | evidence | | --- | --- | --- | | `PROXMOX_VE_ENDPOINT` | the age class, and a pull-request job holds no age key | `env.map:47` `literal PROXMOX_VE_ENDPOINT PROXMOX_VE_API_TOKEN` | | `NGINXPROXYMANAGER_URL` | a refused non-secret: a `literal` row that **no** root fills | `env.map:54` `literal NGINXPROXYMANAGER_URL`; `.env.example:20-23` | | `NGINXPROXYMANAGER_USERNAME` | a store path, and a pull-request run cannot log in to the store | `env.map:35` → `secret/homelab/npm/api`; the same paragraph's earlier clause | | `PLAN_ACKNOWLEDGED` | nothing declares it at all — a CI-only repository variable the Operator sets | `git grep PLAN_ACKNOWLEDGED` → `pr-checks.yml:98,111`, the two judges, the two docs; **not** in `env.map` or `.env.example` | **One place I did not follow the offered clause literally.** An early draft of my commit message called `PLAN_ACKNOWLEDGED` a `literal` row beside the endpoint and the URL; it is not one — `env.map` carries exactly two literal rows (`:47`, `:54`) and `.env.example` declares 15 names, none of them `PLAN_ACKNOWLEDGED`. So the sentence says what is true of it ("the Operator's decision, below", which the next paragraph defines) rather than borrowing the literal vocabulary. The committed text is the reviewer's wording otherwise, with `lives in` for `comes from`. ## ADVISORY — `runbook:637-639`: "nothing that can write" is true of the state, false of the fifth secret `832f979`. Also right in both halves: the two plan pairs read a record they cannot rewrite and `-lock=false` keeps a plan out of the lock object, but the same job's Edge step carries `NGINXPROXYMANAGER_PASSWORD` at `pr-checks.yml:110`. I took **both** branches of the disjunction rather than one, because either alone leaves the gap the finding names: scoping alone makes the sentence true while the blast-radius reader still gets no answer, and naming alone leaves "nothing that can write" partly false. So the sentence is scoped to the record **and** names the credential in the same clause: ``` `plan`, is handed the plan key and nothing that can write the state — its Edge step also carries `NGINXPROXYMANAGER_PASSWORD`, the `svc-tofu` account, which is an NPM admin. ``` | claim in the new clause | evidence | | --- | --- | | the Edge step carries that secret | `pr-checks.yml:110`, in the Edge step's `env:` | | it is the `svc-tofu` account | `.env.example:17` `NGINXPROXYMANAGER_USERNAME=noreply+svc-tofu@thepit.space`; `env.map:35` maps both halves to `secret/homelab/npm/api` | | that account is an NPM admin | this runbook's own one-time prerequisites, `:326` "The NPM user `svc-tofu` (admin) exists" | **One word deliberately left in.** `GLOSSARY.md:14` puts `admin` on the avoid-list for **Operator**, not for NPM's own role, and `:326` of this same runbook already writes `svc-tofu (admin)` — so the clause mirrors the repo's existing wording rather than coining a synonym for the Operator. Flagging it so it reads as a reading, not an oversight. ## Register and orphans — measured, not eyeballed My first attempt fixed the clause but left an 18-character orphan (`decision, below. A`): the line above had been 81 wide, so `plan` could not have joined it. So the paragraph is **reflowed** from the changed clause to the end of that sentence, and every added line is measured rather than assumed: | file | register (prose max) | widest added line | orphans added | | --- | --- | --- | --- | | `docs/actions/runner-and-workflows.md` | 81 (11 lines at 80, 2 at 81) | 81 | 0 | | `docs/runbooks/0001-deploy-and-rollback.md` | 81 | 80 | 0 | The reflow is **whitespace only**, proved by collapsing every run of whitespace at `20a1d5a` and in the worktree and diffing the word sequences: two hunks in the first file (the clause, and `comes from` → `lives in`) and one in the second (the new clause) — nothing else moved, so no clause was eaten. One orphan remains in that paragraph at `:74` (*"store at all: the JWT role is bound to a push on `main`, so the store is the"*): **it is there at `20a1d5a` byte-identical**, so it is not this round's, and I did not reflow prose nobody charged. ## Verification The repo names no `test` Target; its checks are the workflow's jobs. Run through the manager as `AGENTS.md` §Toolchain asks, after `make deps`, with the credentials unset: | command | rc | output | | --- | --- | --- | | `mise exec -- make deps` | 0 | 7 tools already installed; `community.postgresql:5.1.0`, `community.proxmox:2.1.0` installed | | `env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check` | 0 | `env-check: the pin and the map agree.` (pin `137870c6…`, 15 names); `docs-check: all 5 assertions hold.` — 44 links / 20 documents, 19 fragments, 8 ADR rows, both section indexes, 20 documents in the wiki manifest | | `mise exec -- make validate` | 0 | `Success! The configuration is valid.` twice, once per Stack (`grep -c` → 2) | | `mise exec -- make syntax-check` | 0 | `playbook: site.yml` | `make check` and both of the others were re-run **on the committed revision**, not the working tree: `git archive HEAD | tar -x -C <fresh dir>` at `832f979`, then the same commands in that copy — the archive carries no collections (they are gitignored), so `syntax-check` there ran with `ANSIBLE_COLLECTIONS_PATH` pointed at the clone's `forgejo/service/collections`, and green means the *pushed* tree, not the one I typed in. Read back **from the forge** at `832f979` (`GET /repos/…/raw/<path>?ref=832f979…`), asserting both directions so a silent miss cannot pass: ``` docs/actions/runner-and-workflows.md PASS present: 'none of them a secret; each arrives as a repository variable because the job cannot fetch it' PASS present: 'the endpoint lives in the age class' PASS absent : 'none of them reachable from a pull-request job' PASS absent : 'endpoint comes from the age class' docs/runbooks/0001-deploy-and-rollback.md PASS present: 'is handed the plan key and nothing that can write the state' PASS present: 'step also carries `NGINXPROXYMANAGER_PASSWORD`, the `svc-tofu` account, which is an NPM admin.' PASS absent : 'nothing that can write. ' ``` **CI at `832f979`** — six contexts, all `success`, `plan` included (`GET /commits/832f979…/status` → `state: success`, 6 of 6): `env-check`, `fmt-check`, `validate`, `syntax-check`, `docs-check`, `plan`. The same six were green at `20a1d5a`, and this round changes prose and nothing else, so no context was expected to move. ## FO-43: the 401 is the route, not the ticket The review recorded the spec as unreadable. Re-attempted from this profile's own credential: `/api/v1/projects/4/tasks/by-index/43` → **401**, which is the route the review used; `/api/v1/tasks/160` → **200**, title *"infra-forge reads its environment from the store and loses its vault"*. So the ticket is reachable and the by-index route is what refuses — a correction to the evidence, not the finding. This change adds no criterion surface: it is documentation for the job criterion 8 already requires (*"a pull-request job plans the guest and the edge against PROD's state with the two plan keys and no apply key, and a plan that would lose a resource reds it"*). Criterion 4 is the `make check` line above, run as written. ## Left alone, deliberately Nothing. Both advisories are taken as their own clearing changes ask, no finding was disagreed with, and the round-1 blockers stay closed at this head — `container.tf`'s `ignore_changes` and `pre_credentials` are untouched by these two commits. ## What I could not verify - **`plan`'s own run.** It needs PROD and the two plan pairs, which are the Operator's; locally I can only quote the target's existence, so the job's green above is its status context. - **`svc-tofu`'s write capability on NPM.** I state the *role* (this runbook's `(admin)`), not a measured permission: there is no NPM credential here, so "an NPM admin" is carried from `:326` rather than driven. - **The reflow in a render.** `docs-check` proves the links, fragments and indexes over the edited pages; how the paragraph *looks* on the served page I have not opened. ## Self-review The `code-review` skill asks for two axes in parallel sub-agents; no `claude`, `codex`, `agent` or `droid` CLI exists on this profile's `PATH`, so **both passes were mine, in sequence, in one context** — nothing ran as a child. Standards sources read: `AGENTS.md` (§Secrets, §State, §Privacy, §Code comments, §Docs), `GLOSSARY.md`, `docs/agents/*`. The smell baseline has no surface in a two-paragraph prose diff; the one judgement call it prompted — `admin` — is recorded above rather than silently taken.
bot-minos approved these changes 2026-10-28 13:43:43 +00:00
bot-minos left a comment

olympus/infra-forge #79 · reviewed 832f979 · round 4/5 · spec: FO-43 (Vikunja task 160, read live this session)

Recommendation: merge

This is the thread's fourth review. The dispatch says round 1/5 — its counter resets on every hand-moved label — and the three earlier reviews each carried 1/5 for the same reason; I number by the timeline, so this one is 4/5. The newest review is the third, at 20a1d5a: APPROVED, 0 BLOCKER, 2 ADVISORY. The Operator then asked for those advisories ("Fix advisories", 13:33:29Z), the label moved merge-ready → needs-fix eight seconds later, and the fixer answered with two commits. So the ask is those two advisories, and the delta is their clearing changes.

Head pinned, not taken on trust: git ls-remote origin refs/pull/79/head → 832f979a0b9e79edb0f69222ffb9856e4e8cb72b, equal to the dispatch SHA and to the PR object's head.sha. The PR is open, mergeable: true, merge_base = base.sha = 257219f, so the branch is current with main.

Prior findings closed

Both advisories of the third review, re-driven at this head rather than read off the fixer's table.

# Advisory at 20a1d5a Cleared by At 832f979
1 docs/actions/runner-and-workflows.md:81-83 — the four variables called "none of them reachable from a pull-request job" 4f28bec → :81-84 old clause git grep-absent; new clause present
2 docs/runbooks/0001-deploy-and-rollback.md:637-639 — "nothing that can write" true of the state keys, false of the fifth secret 832f979 → :637-641 old phrase git grep-absent; claim scoped and the credential named

Advisory 1, each name re-derived against the tree rather than taken from the offered wording:

variable why the job cannot fetch it evidence
PROXMOX_VE_ENDPOINT the age class, and a pull-request job holds no age key env.map:47 literal PROXMOX_VE_ENDPOINT PROXMOX_VE_API_TOKEN
NGINXPROXYMANAGER_URL a refused non-secret no root fills env.map:49-54; .env.example:24
NGINXPROXYMANAGER_USERNAME a store path, and a pull-request run cannot log in to the store env.map:35 → secret/homelab/npm/api; the same paragraph's :73-75
PLAN_ACKNOWLEDGED nothing declares it — an Operator-set variable git grep PLAN_ACKNOWLEDGED → the workflow's two judges, the docs; absent from env.map and .env.example

The enumeration in the sentence is exact: grep -o 'vars\.[A-Z_]*' .forgejo/workflows/pr-checks.yml | sort -u → those four, and grep -o 'secrets\.[A-Z_]*' … → the two plan pairs, PROXMOX_VE_PLAN_API_TOKEN and the NPM password, six in all — matching the page's "six secrets … four repository variables". The workflow carries no store login (grep -n 'openbao\|bao \|login' .forgejo/workflows/pr-checks.yml → no match), so "a pull-request run cannot log in to the store at all" (:73-75) is consistent with the artifact it describes.

Advisory 2, each claim in the new clause checked: the Edge step carries the secret (pr-checks.yml:110, in that step's env:); it is the svc-tofu account (.env.example:17); and that account is an NPM admin — the repo's own prerequisite says so at docs/runbooks/0001-deploy-and-rollback.md:326 ("The NPM user svc-tofu (admin) exists"). The word admin is on GLOSSARY.md:14's avoid-list for Operator, not for NPM's own role, so the clause mirrors the repo's existing vocabulary. The scoping also holds on its own terms: the five credential-free jobs are env-check, fmt-check, validate, syntax-check, docs-check and only plan reads secrets. (six job names at pr-checks.yml:14-78).

The round-1 blockers are still closed at this head — forgejo/guest/container.tf:67 carries ignore_changes = [initialization[0].user_account, pool_id], and Makefile:247-248 carries pre_creds="$$(…)" || exit 1 ahead of the eval. Neither is touched by this delta.

The delta

20a1d5a..832f979: two commits (4f28bec, 832f979), two files, +13/−11, and git diff --name-only names exactly docs/actions/runner-and-workflows.md and docs/runbooks/0001-deploy-and-rollback.md. The other 28 files in the PR are byte-identical to the revision the third review approved and are not re-litigated here.

The fixer's "reflow, whitespace only" claim is true, and --word-diff is the check that settles it — the only words that moved are the two clauses the findings named:

none of them a [-secret and none of them reachable from-]{+secret; each arrives as+} a [-pull-request job:-]{+repository variable because the job+} {+cannot fetch it:+} the endpoint [-comes from-]{+lives in+} the age class, …
`plan`, is handed the plan key and nothing that can [-write.-]{+write the state — its Edge step also carries `NGINXPROXYMANAGER_PASSWORD`, the `svc-tofu` account, which is an NPM admin.+}

No Target, no script, no HCL, and the workflow file is untouched this round.

Standards

0 findings. Standards read: AGENTS.md (§Secrets, §Code comments, §Docs, §Toolchain), GLOSSARY.md, the repo's docs/adr/ (0007, 0008, and 0002, which is superseded by olympus/workshop's org-wide record), and the org records at olympus/workshop docs/adr on main. fmt-check and docs-check already enforce formatting and the docs tree's shape, so nothing they cover is reported.

Measured, since this axis is prose:

  • Wrap register — widest added line 81, measured with ${#line} (UTF-8 aware, not awk's byte count). The paragraphs sit at the register they already ran at (runner-and-workflows.md:81 at the prior head was 81 too), and neither repo doc states a column rule, so there is no documented standard to breach here.
  • Orphans — both edited paragraphs end on their final line (50 and 13 columns) and are followed by a blank line, so the round adds none. The one short line in that paragraph, runner-and-workflows.md:74, is byte-identical at 20a1d5a and sits in a sentence this round did not touch.
  • Reader's checks — docs-check green over the edited pages: 44 relative links across 20 documents, 19 fragments, 8 ADR rows, both section indexes 1/1, 20 documents in the wiki manifest.
  • Smell baseline — no surface in a two-clause prose delta; nothing to name.

Spec

0 findings. FO-43 read live now — GET /api/v1/tasks/160 → 200, project 4, index 43, done: false, "infra-forge reads its environment from the store and loses its vault". The 401 earlier reviews recorded was the by-index route, not the ticket; the fixer's correction is right and the spec is readable.

This delta adds no criterion surface: FO-43's ten criteria are the fetch, the all-or-nothing write, env-check's mutations, the credential-free floor, pool_id on both stacks, pre.age, make worktree and the plan job — and the delta edits two prose sites describing how CI is provisioned, which no criterion names. Re-run at this head rather than carried: criterion 4 (make check, rc 0), criterion 9 (git grep for vault-pass|ANSIBLE_VAULT_PASSWORD|.vault.yml → no hits), criteria 5 and 10 (pool_id → container.tf:20 prod, pre.tf:13 pre), criterion 7 (Makefile:619 tells the new checkout to fetch). Criteria 1, 2, 3, 6 and 8 are the fetch, the write, the mutations, the PRE pair and the plan job — untouched by this delta and green at the prior heads; criterion 8's green is re-confirmed below.

Verified by hand

what result
mise exec -- make deps rc 0 — 7 tools already installed, both collections installed
env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check rc 0 — env-check: the pin and the map agree. (pin 137870c6…, 15 names); docs-check: all 5 assertions hold.
make fmt-check rc 0
make validate Success! twice, once per Stack
make syntax-check rc 0 — playbook: site.yml, no vault pass
commit statuses at 832f979 six contexts, all success (run 26): env-check, fmt-check, validate, syntax-check, docs-check, plan
git diff --word-diff over the delta only the two charged clauses moved; the rest is reflow
git diff --name-only 20a1d5a..832f979 the two files, nothing else
git ls-remote origin refs/pull/79/head 832f979…, equal to the dispatch and head.sha
olympus/workshop main docs/agents/make-targets.md present — the round-2 advisory stays closed

Could not verify

  • A live make env. A regular agent's call refuses by design and there is no pit seed on this host, so the store's paths and reported revisions are carried from round 1's stub-store runs.
  • The plan job's log text. This instance exposes no job-log endpoint, so plan's green is the status context (run 26) and not a read of the plan. The Proxmox-side grants the job needs were measured in the second review.
  • svc-tofu's actual NPM permission. The new clause states the role the runbook itself records at :326; there is no NPM credential here to drive it, so it is the repo's own sentence rather than my measurement.
  • pvesh get /pools/prod. No Proxmox credential in this session; criterion 5's second half stands as the second review measured it.

Checked and accepted (uncharged)

  • The new runner-and-workflows.md:81-84 wording is this loop's own. The third review offered it as the clearing change and the fix took it. Residual, named so it is not read as approval: the colon's reasons answer "why not fetched" for the endpoint and the URL, but answer "why a variable rather than a secret" for the account — env.map:35 still fetches that name on a machine that can log in. A taken clearing branch closes the finding, so this is not re-charged, and it is one clause if a later round wants it.
  • runner-and-workflows.md:74 is a mid-sentence short line, present byte-identical at 20a1d5a; the delta does not open that sentence.
  • FO-43 is still open and this PR unmerged. The resolution comment and done: true belong on the task when the change lands; that is the tracker's business, not a finding in the diff.

Summary

Standards: 0 findings — 0 BLOCKER, 0 ADVISORY. Both charged advisories are closed with the clauses that clear them, and the round adds no new prose defect.

Spec: 0 findings. The delta adds no criterion surface; the criteria the changed pages describe are met, and the two static ones I could re-run here are green.

No blocker and no advisory, so the volume rule has nothing to move. Merge — and the six checks are green at 832f979.

<!-- minos review-loop: repo=olympus/infra-forge pr=79 head=832f979a0b9e79edb0f69222ffb9856e4e8cb72b round=4/5 axes=standards,spec --> **olympus/infra-forge #79 · reviewed `832f979` · round 4/5 · spec: FO-43 (Vikunja task 160, read live this session)** Recommendation: merge This is the thread's **fourth** review. The dispatch says `round 1/5` — its counter resets on every hand-moved label — and the three earlier reviews each carried `1/5` for the same reason; I number by the timeline, so this one is `4/5`. The newest review is the third, at `20a1d5a`: **APPROVED, 0 BLOCKER, 2 ADVISORY**. The Operator then asked for those advisories (*"Fix advisories"*, `13:33:29Z`), the label moved `merge-ready → needs-fix` eight seconds later, and the fixer answered with two commits. So the ask is those two advisories, and the delta is their clearing changes. Head pinned, not taken on trust: `git ls-remote origin refs/pull/79/head` → `832f979a0b9e79edb0f69222ffb9856e4e8cb72b`, equal to the dispatch SHA and to the PR object's `head.sha`. The PR is open, `mergeable: true`, `merge_base` = `base.sha` = `257219f`, so the branch is current with `main`. ## Prior findings closed Both advisories of the third review, re-driven at this head rather than read off the fixer's table. | # | Advisory at `20a1d5a` | Cleared by | At `832f979` | | --- | --- | --- | --- | | 1 | `docs/actions/runner-and-workflows.md:81-83` — the four variables called "none of them reachable from a pull-request job" | `4f28bec` → `:81-84` | old clause `git grep`-absent; new clause present | | 2 | `docs/runbooks/0001-deploy-and-rollback.md:637-639` — "nothing that can write" true of the state keys, false of the fifth secret | `832f979` → `:637-641` | old phrase `git grep`-absent; claim scoped **and** the credential named | **Advisory 1, each name re-derived against the tree rather than taken from the offered wording:** | variable | why the job cannot fetch it | evidence | | --- | --- | --- | | `PROXMOX_VE_ENDPOINT` | the age class, and a pull-request job holds no age key | `env.map:47` `literal PROXMOX_VE_ENDPOINT PROXMOX_VE_API_TOKEN` | | `NGINXPROXYMANAGER_URL` | a refused non-secret no root fills | `env.map:49-54`; `.env.example:24` | | `NGINXPROXYMANAGER_USERNAME` | a store path, and a pull-request run cannot log in to the store | `env.map:35` → `secret/homelab/npm/api`; the same paragraph's `:73-75` | | `PLAN_ACKNOWLEDGED` | nothing declares it — an Operator-set variable | `git grep PLAN_ACKNOWLEDGED` → the workflow's two judges, the docs; absent from `env.map` and `.env.example` | The enumeration in the sentence is exact: `grep -o 'vars\.[A-Z_]*' .forgejo/workflows/pr-checks.yml | sort -u` → those four, and `grep -o 'secrets\.[A-Z_]*' …` → the two plan pairs, `PROXMOX_VE_PLAN_API_TOKEN` and the NPM password, six in all — matching the page's "six secrets … four repository variables". The workflow carries no store login (`grep -n 'openbao\|bao \|login' .forgejo/workflows/pr-checks.yml` → no match), so "a pull-request run cannot log in to the store at all" (`:73-75`) is consistent with the artifact it describes. **Advisory 2, each claim in the new clause checked:** the Edge step carries the secret (`pr-checks.yml:110`, in that step's `env:`); it is the `svc-tofu` account (`.env.example:17`); and that account is an NPM admin — the repo's own prerequisite says so at `docs/runbooks/0001-deploy-and-rollback.md:326` ("The NPM user `svc-tofu` (admin) exists"). The word `admin` is on `GLOSSARY.md:14`'s avoid-list for **Operator**, not for NPM's own role, so the clause mirrors the repo's existing vocabulary. The scoping also holds on its own terms: the five credential-free jobs are `env-check`, `fmt-check`, `validate`, `syntax-check`, `docs-check` and only `plan` reads `secrets.` (six job names at `pr-checks.yml:14-78`). **The round-1 blockers are still closed at this head** — `forgejo/guest/container.tf:67` carries `ignore_changes = [initialization[0].user_account, pool_id]`, and `Makefile:247-248` carries `pre_creds="$$(…)" || exit 1` ahead of the `eval`. Neither is touched by this delta. ## The delta `20a1d5a..832f979`: two commits (`4f28bec`, `832f979`), two files, `+13/−11`, and `git diff --name-only` names exactly `docs/actions/runner-and-workflows.md` and `docs/runbooks/0001-deploy-and-rollback.md`. The other 28 files in the PR are byte-identical to the revision the third review approved and are not re-litigated here. The fixer's "reflow, whitespace only" claim is true, and `--word-diff` is the check that settles it — the only words that moved are the two clauses the findings named: ``` none of them a [-secret and none of them reachable from-]{+secret; each arrives as+} a [-pull-request job:-]{+repository variable because the job+} {+cannot fetch it:+} the endpoint [-comes from-]{+lives in+} the age class, … `plan`, is handed the plan key and nothing that can [-write.-]{+write the state — its Edge step also carries `NGINXPROXYMANAGER_PASSWORD`, the `svc-tofu` account, which is an NPM admin.+} ``` No Target, no script, no HCL, and the workflow file is untouched this round. ## Standards **0 findings.** Standards read: `AGENTS.md` (§Secrets, §Code comments, §Docs, §Toolchain), `GLOSSARY.md`, the repo's `docs/adr/` (0007, 0008, and 0002, which is superseded by `olympus/workshop`'s org-wide record), and the org records at `olympus/workshop` `docs/adr` on `main`. `fmt-check` and `docs-check` already enforce formatting and the docs tree's shape, so nothing they cover is reported. Measured, since this axis is prose: - **Wrap register** — widest added line 81, measured with `${#line}` (UTF-8 aware, not `awk`'s byte count). The paragraphs sit at the register they already ran at (`runner-and-workflows.md:81` at the prior head was 81 too), and neither repo doc states a column rule, so there is no documented standard to breach here. - **Orphans** — both edited paragraphs end on their final line (50 and 13 columns) and are followed by a blank line, so the round adds none. The one short line in that paragraph, `runner-and-workflows.md:74`, is byte-identical at `20a1d5a` and sits in a sentence this round did not touch. - **Reader's checks** — `docs-check` green over the edited pages: 44 relative links across 20 documents, 19 fragments, 8 ADR rows, both section indexes 1/1, 20 documents in the wiki manifest. - **Smell baseline** — no surface in a two-clause prose delta; nothing to name. ## Spec **0 findings.** FO-43 read live now — `GET /api/v1/tasks/160` → 200, project 4, index 43, `done: false`, *"infra-forge reads its environment from the store and loses its vault"*. The `401` earlier reviews recorded was the by-index route, not the ticket; the fixer's correction is right and the spec is readable. This delta adds no criterion surface: FO-43's ten criteria are the fetch, the all-or-nothing write, `env-check`'s mutations, the credential-free floor, `pool_id` on both stacks, `pre.age`, `make worktree` and the plan job — and the delta edits two prose sites describing how CI is provisioned, which no criterion names. Re-run at this head rather than carried: criterion 4 (`make check`, rc 0), criterion 9 (`git grep` for `vault-pass|ANSIBLE_VAULT_PASSWORD|.vault.yml` → no hits), criteria 5 and 10 (`pool_id` → `container.tf:20` `prod`, `pre.tf:13` `pre`), criterion 7 (`Makefile:619` tells the new checkout to fetch). Criteria 1, 2, 3, 6 and 8 are the fetch, the write, the mutations, the PRE pair and the plan job — untouched by this delta and green at the prior heads; criterion 8's green is re-confirmed below. ## Verified by hand | what | result | | --- | --- | | `mise exec -- make deps` | rc 0 — 7 tools already installed, both collections installed | | `env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check` | rc 0 — `env-check: the pin and the map agree.` (pin `137870c6…`, 15 names); `docs-check: all 5 assertions hold.` | | `make fmt-check` | rc 0 | | `make validate` | `Success!` twice, once per Stack | | `make syntax-check` | rc 0 — `playbook: site.yml`, no vault pass | | commit statuses at `832f979` | six contexts, all `success` (run 26): `env-check`, `fmt-check`, `validate`, `syntax-check`, `docs-check`, `plan` | | `git diff --word-diff` over the delta | only the two charged clauses moved; the rest is reflow | | `git diff --name-only 20a1d5a..832f979` | the two files, nothing else | | `git ls-remote origin refs/pull/79/head` | `832f979…`, equal to the dispatch and `head.sha` | | `olympus/workshop` `main` | `docs/agents/make-targets.md` present — the round-2 advisory stays closed | ## Could not verify - **A live `make env`.** A regular agent's call refuses by design and there is no `pit` seed on this host, so the store's paths and reported revisions are carried from round 1's stub-store runs. - **The `plan` job's log text.** This instance exposes no job-log endpoint, so `plan`'s green is the status context (run 26) and not a read of the plan. The Proxmox-side grants the job needs were measured in the second review. - **`svc-tofu`'s actual NPM permission.** The new clause states the role the runbook itself records at `:326`; there is no NPM credential here to drive it, so it is the repo's own sentence rather than my measurement. - **`pvesh get /pools/prod`.** No Proxmox credential in this session; criterion 5's second half stands as the second review measured it. ## Checked and accepted (uncharged) - **The new `runner-and-workflows.md:81-84` wording is this loop's own.** The third review offered it as the clearing change and the fix took it. Residual, named so it is not read as approval: the colon's reasons answer "why not fetched" for the endpoint and the URL, but answer "why a variable rather than a secret" for the account — `env.map:35` still fetches that name on a machine that can log in. A taken clearing branch closes the finding, so this is not re-charged, and it is one clause if a later round wants it. - **`runner-and-workflows.md:74`** is a mid-sentence short line, present byte-identical at `20a1d5a`; the delta does not open that sentence. - **FO-43 is still open and this PR unmerged.** The resolution comment and `done: true` belong on the task when the change lands; that is the tracker's business, not a finding in the diff. ## Summary **Standards: 0 findings — 0 BLOCKER, 0 ADVISORY.** Both charged advisories are closed with the clauses that clear them, and the round adds no new prose defect. **Spec: 0 findings.** The delta adds no criterion surface; the criteria the changed pages describe are met, and the two static ones I could re-run here are green. No blocker and no advisory, so the volume rule has nothing to move. **Merge** — and the six checks are green at `832f979`.
pit merged commit 3d3e4ea9b0 into main 2026-10-28 13:44:32 +00:00
pit deleted branch wr39/integration 2026-10-28 13:44:32 +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-forge!79
No description provided.