docs: the Proxmox record says what the cluster now does (WR-40) #13

Merged
pit merged 3 commits from wr39/proxmox-record into main 2026-10-28 15:21:33 +00:00
Owner

Summary

docs/proxmox-credentials.md still described the cluster before the handoff ran, and
it is the record a rebuild of the store's Guest is read against — so a make service
from main would have re-applied the old ACLs. This brings it to what the cluster
actually does as of 2026-10-28.

  • The "what exists today" table is the four credentials with their real ACLs, and the
    narrowed PROD one is marked as having no grant on /vms.
  • Two grants this page never named are recorded, both found by running the jobs that
    hold the tokens: SDN.Use on /sdn/zones for the PRE token (a container joins a
    bridge when it is created) and Datastore.Audit on both storages for the plan token
    (a refresh that cannot read the datastore reports the base image as deleted, which
    plans the Guest's replacement). PVE has no role by any of those names, so
    TofuSdnUse, TofuDatastoreAudit and TofuSysAccessNetwork are recorded beside
    TofuDownload — four custom roles in all.
  • The boundary check section is the run, not the expectation: PROD guest config 200,
    a guest outside the pool 403, a Test Guest created and destroyed by the tracker's
    own job, tofu plan → No changes.
  • Rotation: the PROD token's value was rotated at cutover; the old value answers
    401 from the moment of the delete, and rotating means rewriting prod.age and
    re-running make env everywhere.
  • Open: the datastore read is answered and the write half is still open;
    root@pam!omp is the last root@pam token and its deletion is the Operator's call;
    and pool_id cannot move a running Guest, which is why the five prod Stacks
    ignore it after creation.

Evidence

  • make check → exit 0.
  • Cluster reads behind every row: pvesh get /access/acl, pvesh get /pools,
    GET /api2/json/nodes/burns/lxc/144/config → 200, /lxc/100/config → 403.
  • infra-ci@pve!pre created and destroyed a Test Guest in the tracker's pull-request
    job (execute → success), and make pre/pre-down created and destroyed
    forgejo-pre in the forge.

Merge Danger

Docs only. The one thing it asks of a reader: the ACL table is now the source a
rebuild applies, so a future grant goes in this file and the cluster together.

## Summary `docs/proxmox-credentials.md` still described the cluster before the handoff ran, and it is the record a rebuild of the store's Guest is read against — so a `make service` from `main` would have re-applied the *old* ACLs. This brings it to what the cluster actually does as of 2026-10-28. - The "what exists today" table is the four credentials with their real ACLs, and the narrowed PROD one is marked as having no grant on `/vms`. - Two grants this page never named are recorded, both found by running the jobs that hold the tokens: `SDN.Use` on `/sdn/zones` for the PRE token (a container joins a bridge when it is created) and `Datastore.Audit` on both storages for the plan token (a refresh that cannot read the datastore reports the base image as deleted, which plans the Guest's replacement). PVE has no role by any of those names, so `TofuSdnUse`, `TofuDatastoreAudit` and `TofuSysAccessNetwork` are recorded beside `TofuDownload` — four custom roles in all. - The boundary check section is the run, not the expectation: PROD guest config 200, a guest outside the pool 403, a Test Guest created and destroyed by the tracker's own job, `tofu plan` → `No changes.` - Rotation: the PROD token's value **was** rotated at cutover; the old value answers 401 from the moment of the delete, and rotating means rewriting `prod.age` and re-running `make env` everywhere. - Open: the datastore read is answered and the write half is still open; `root@pam!omp` is the last `root@pam` token and its deletion is the Operator's call; and `pool_id` cannot move a running Guest, which is why the five `prod` Stacks ignore it after creation. ## Evidence - `make check` → exit 0. - Cluster reads behind every row: `pvesh get /access/acl`, `pvesh get /pools`, `GET /api2/json/nodes/burns/lxc/144/config` → 200, `/lxc/100/config` → 403. - `infra-ci@pve!pre` created and destroyed a Test Guest in the tracker's pull-request job (`execute` → success), and `make pre`/`pre-down` created and destroyed `forgejo-pre` in the forge. ## Merge Danger Docs only. The one thing it asks of a reader: the ACL table is now the source a rebuild applies, so a future grant goes in this file and the cluster together.
bot-minos requested changes 2026-10-28 14:19:18 +00:00
Dismissed
bot-minos left a comment

Review — olympus/infra-secrets#13 · head e26b98d · round 1/5

Recommendation: fix

Docs-only: docs/proxmox-credentials.md, +74/−48. Spec sources, in order: WR-40 (Give the Proxmox cluster its two pools and four tokens, workshop project 5, task 155) and its two comments, which are later than the ticket and carry the recorded deviations; then this PR's body for the page's own contract ("the ACL table is now the source a rebuild applies").

Spec

SPEC-1 · BLOCKER · docs/proxmox-credentials.md:176 against docs/proxmox-credentials.md:92

The page now states both halves of a contradiction, in the present tense, about the same fact.

  • :92 — "Every Stack must set pool_id, and five of the six still do not." … "Without it the provider targets /vms/<newid> on create, and no static ACL can cover an id the provider picks, so the boundary is unreachable".
  • :176 (added by this change) — "pool_id is ForceNew, so the five Stacks declare it and add it to lifecycle.ignore_changes".
  • :94-98 — "the other four guest Stacks and the tracker's test/guest" declare no pool_id, "infra-forge/forgejo/guest/pre.tf included".

Measured at each repo's origin/main, the added sentence is right and §The pools is stale — six of six declare it:

infra-forge      forgejo/guest/container.tf:20   pool_id = "prod"    (+ :67 ignore_changes)
infra-forge      forgejo/guest/pre.tf:13         pool_id = "pre"
infra-semaphore  semaphore/guest/container.tf    pool_id = "prod"    (+ ignore_changes, prevent_destroy)
infra-silo       silo/guest/container.tf:21      pool_id = var.guest.pool_id   (variables.tf:44 "prod", :92 ignore)
infra-tracker    modules/guest/container.tf:28   pool_id = var.guest.pool_id   (vikunja/guest/variables.tf:37 "prod", :81 ignore)
infra-tracker    test/guest/main.tf:45           pool_id = "pre"
infra-secrets    bao/guest/container.tf:28       pool_id = var.guest.pool_id   (variables.tf:31 "prod", :74 ignore)

This is why it blocks rather than nits: §The pools is the argument that makes the narrowing safe — take pool_id away from the Stacks and the boundary this page now declares in force is unreachable, so the page simultaneously tells a reader the boundary holds and that it cannot. A reader rebuilding from this record cannot tell which sentence to act on.

The same paragraph carries a second, independent error at :102 — "The provider supports the field from 0.116; the Stacks lock 0.116.0 to 0.117.0." Read off the provider source at the tags:

  • v0.115.0 proxmoxtf/resource/container/container.go:1024 already carries mkPoolID, ForceNew: true; :1348 cloneBody.PoolID, :2270 createBody.PoolID. Same shape at v0.116.0:1034/:1374/:2296 and v0.117.0:1034/:1374/:2282; no d.Set(mkPoolID…) in any of the three, so the attribute is never read back.
  • The Stacks' locks are 0.115.0 (infra-forge), 0.116.0 ×2 (infra-tracker), 0.116.1 (infra-silo, infra-semaphore), 0.117.0 (infra-secrets) — so both the floor and the range are wrong, and infra-forge declares pool_id on a provider the page says cannot support it.

Smallest clearing change: rewrite §The pools (:92-102) to what main holds — all six Stacks declare pool_id; the five prod Stacks add ignore_changes and (where the Guest holds data) prevent_destroy; the floor is 0.115, and the locks run 0.115.0–0.117.0. The added §Open bullet then has nothing to contradict.

SPEC-2 · ADVISORY · :20-22 against :32, :54

"PVE has no role by either name, so two custom roles carry them — TofuSdnUse and TofuDatastoreAudit, beside the TofuDownload this page already relied on." The tables use a fourth custom role the sentence never accounts for: TofuSysAccessNetwork on /nodes for the PRE credential (:32, :54). WR-40's own comment records it as newly minted for the same reason — "PVE has no role named Datastore.Audit or Sys.AccessNetwork, so TofuDatastoreAudit and TofuSysAccessNetwork carry those privileges". Since the page is the rebuild contract, a role a rebuild must create and the page's count omits is worth one clause. Clearing: name TofuSysAccessNetwork in the sentence and make the count three, or say "four custom roles".

SPEC-3 · ADVISORY · :55

The plan token's home cell reads "the store, at secret/ci/tracker/proxmox-token, and the repository secrets PROXMOX_VE_PLAN_API_TOKEN and the two forge plan pairs". The last clause names credentials that are not copies of this token: at infra-forge@main:.forgejo/workflows/pr-checks.yml, :88-89 and :102-103 are the two S3 state key pairs (FORGE_GUEST_PLAN_STATE_*, FORGE_EDGE_PLAN_STATE_*); the Proxmox plan token's only forge home is :95's secrets.PROXMOX_VE_PLAN_API_TOKEN. A rotation recipe read off this row would rewrite three things where two exist. Clearing: name PROXMOX_VE_PLAN_API_TOKEN alone, or move the state pairs to the holder column as the job's other credentials.

SPEC-4 · ADVISORY · :118-131, :135-137

Under the heading "The check that proves the boundary", the PRE half is a comment rather than a command — :123-125 describes a Test Guest created and destroyed by the tracker's job — and the section's only refusal measurement (:127-128, the 200 and the 403) is annotated :126 as the apply token, infra-ci@pve!infra. The paragraph then says "The PRE token's half was proved by the tracker's own job". A successful create-and-destroy in pre proves reach into pre; it does not prove exclusion from prod, which is the half :40 claims ("can reach no other guest") and which the page otherwise derives from the ACL and the propagation rule at :79-81. The old text's two 403 expectations were written for a PRE token; they are now run with the apply token. Clearing: add the PRE token's own refusal (GET /api2/json/nodes/burns/lxc/144/config with infra-ci@pve!pre → 403) to the block, or say in :135 that exclusion is stated by the ACL and not measured.

Standards

No finding on this axis. standards: no doc-writing convention is written down in this repo; judged by the org records and the family's own register, with what was run:

  • AGENTS.md, docs/agents/domain.md: the only doc rules are the glossary and the ADRs; this repo has no GLOSSARY.md, and domain.md says to proceed silently when it is absent. The ADR citation at :89 resolves — workshop docs/adr/0007-a-secrets-path-names-what-it-belongs-to.md §Decision: "A segment never fuses two axes into one word."
  • ADR-0007's "the KV secrets engine refuses non-secrets" is the tension :59-70 addresses; the resolution stated there (the refusal binds store paths, the age class sits outside) is the one the ADR's Consequences clause allows.
  • Widths: in family register. Prose max 84 columns here; siblings run 84 (store-audit.md:16), 88 (store-identity.md:113), 91, 100, 110.
  • Relative links resolve at head: store-layout.md (:64), store-identity.md (:75).
  • Render: POST /api/v1/markdown (gfm, context olympus/infra-secrets) → 200; three tables with 4 / 5 / 2 body rows, the check block as one <pre class="code-block">, every new clause present in the output.
  • mise exec -- make check → rc 0 in a detached worktree at e26b98d (the body's claim, reproduced).

Checked and accepted

WR-40's fifth acceptance criterion — "git grep -n 'root@pam!omp\|root@pam!tofu-plan' across the five repos returns nothing" — cannot hold while this page exists: :34 and :42 must name root@pam!omp and root@pam!tofu-plan to record that one survives and the other was deleted. The criterion is over-broad against the record's own job (the page named both before this change too), so it is not charged to the change. The grep across the five repos at main returns only this file.

Summary

axis findings worst
Spec 4 — 1 BLOCKER, 3 ADVISORY SPEC-1: the page states both that five of six Stacks do not declare pool_id and that the five do
Standards 0 —

The state follows the one blocker.

Not verified, and why: everything that needs the cluster. pvesh get /pools and /access/acl, the 200/403 pair, the 45-guest figure carried into :135, root@pam!omp's privsep and survival, and whether PROXMOX_VE_API_TOKEN on olympus/infra-tracker holds the PRE token's value — no Proxmox credential exists on this host, so these are the ticket's dated read (2026-10-28T14:15:55Z) and not my measurement. Likewise "the four repository .env files" (:152): .env is gitignored and unseen; five repos declare the pair in .env.example, so the count is the author's, not refuted here.

<!-- minos review-loop: repo=olympus/infra-secrets pr=13 head=e26b98d11d0d85e08e48332ae19acb6db6e5a030 round=1/5 axes=standards,spec --> **Review — `olympus/infra-secrets#13` · head `e26b98d` · round 1/5** Recommendation: fix Docs-only: `docs/proxmox-credentials.md`, +74/−48. Spec sources, in order: **WR-40** (*Give the Proxmox cluster its two pools and four tokens*, workshop project 5, task 155) and its two comments, which are later than the ticket and carry the recorded deviations; then this PR's body for the page's own contract ("the ACL table is now the source a rebuild applies"). ## Spec **SPEC-1 · BLOCKER · `docs/proxmox-credentials.md:176` against `docs/proxmox-credentials.md:92`** The page now states both halves of a contradiction, in the present tense, about the same fact. - `:92` — "**Every Stack must set `pool_id`, and five of the six still do not.**" … "Without it the provider targets `/vms/<newid>` on create, and no static ACL can cover an id the provider picks, so the boundary is unreachable". - `:176` (added by this change) — "`pool_id` is `ForceNew`, so the five Stacks declare it and add it to `lifecycle.ignore_changes`". - `:94-98` — "the other four guest Stacks and the tracker's `test/guest`" declare no `pool_id`, "`infra-forge/forgejo/guest/pre.tf` included". Measured at each repo's `origin/main`, the added sentence is right and `§The pools` is stale — six of six declare it: ``` infra-forge forgejo/guest/container.tf:20 pool_id = "prod" (+ :67 ignore_changes) infra-forge forgejo/guest/pre.tf:13 pool_id = "pre" infra-semaphore semaphore/guest/container.tf pool_id = "prod" (+ ignore_changes, prevent_destroy) infra-silo silo/guest/container.tf:21 pool_id = var.guest.pool_id (variables.tf:44 "prod", :92 ignore) infra-tracker modules/guest/container.tf:28 pool_id = var.guest.pool_id (vikunja/guest/variables.tf:37 "prod", :81 ignore) infra-tracker test/guest/main.tf:45 pool_id = "pre" infra-secrets bao/guest/container.tf:28 pool_id = var.guest.pool_id (variables.tf:31 "prod", :74 ignore) ``` This is why it blocks rather than nits: `§The pools` is the argument that makes the narrowing safe — take `pool_id` away from the Stacks and the boundary this page now declares *in force* is unreachable, so the page simultaneously tells a reader the boundary holds and that it cannot. A reader rebuilding from this record cannot tell which sentence to act on. The same paragraph carries a second, independent error at `:102` — "The provider supports the field from 0.116; the Stacks lock 0.116.0 to 0.117.0." Read off the provider source at the tags: - `v0.115.0` `proxmoxtf/resource/container/container.go:1024` already carries `mkPoolID`, `ForceNew: true`; `:1348` `cloneBody.PoolID`, `:2270` `createBody.PoolID`. Same shape at `v0.116.0:1034/:1374/:2296` and `v0.117.0:1034/:1374/:2282`; no `d.Set(mkPoolID…)` in any of the three, so the attribute is never read back. - The Stacks' locks are `0.115.0` (infra-forge), `0.116.0` ×2 (infra-tracker), `0.116.1` (infra-silo, infra-semaphore), `0.117.0` (infra-secrets) — so both the floor and the range are wrong, and `infra-forge` declares `pool_id` on a provider the page says cannot support it. **Smallest clearing change:** rewrite `§The pools` (`:92-102`) to what `main` holds — all six Stacks declare `pool_id`; the five prod Stacks add `ignore_changes` and (where the Guest holds data) `prevent_destroy`; the floor is `0.115`, and the locks run `0.115.0`–`0.117.0`. The added `§Open` bullet then has nothing to contradict. **SPEC-2 · ADVISORY · `:20-22` against `:32`, `:54`** "PVE has no role by either name, so **two** custom roles carry them — `TofuSdnUse` and `TofuDatastoreAudit`, beside the `TofuDownload` this page already relied on." The tables use a fourth custom role the sentence never accounts for: `TofuSysAccessNetwork` on `/nodes` for the PRE credential (`:32`, `:54`). WR-40's own comment records it as newly minted for the same reason — "PVE has no role named `Datastore.Audit` or `Sys.AccessNetwork`, so `TofuDatastoreAudit` and `TofuSysAccessNetwork` carry those privileges". Since the page is the rebuild contract, a role a rebuild must create and the page's count omits is worth one clause. Clearing: name `TofuSysAccessNetwork` in the sentence and make the count three, or say "four custom roles". **SPEC-3 · ADVISORY · `:55`** The plan token's `home` cell reads "the store, at `secret/ci/tracker/proxmox-token`, and the repository secrets `PROXMOX_VE_PLAN_API_TOKEN` and the two forge plan pairs". The last clause names credentials that are not copies of this token: at `infra-forge@main:.forgejo/workflows/pr-checks.yml`, `:88-89` and `:102-103` are the two S3 **state** key pairs (`FORGE_GUEST_PLAN_STATE_*`, `FORGE_EDGE_PLAN_STATE_*`); the Proxmox plan token's only forge home is `:95`'s `secrets.PROXMOX_VE_PLAN_API_TOKEN`. A rotation recipe read off this row would rewrite three things where two exist. Clearing: name `PROXMOX_VE_PLAN_API_TOKEN` alone, or move the state pairs to the holder column as the job's other credentials. **SPEC-4 · ADVISORY · `:118-131`, `:135-137`** Under the heading "The check that proves the boundary", the PRE half is a comment rather than a command — `:123-125` describes a Test Guest created and destroyed by the tracker's job — and the section's only refusal measurement (`:127-128`, the 200 and the 403) is annotated `:126` as the **apply** token, `infra-ci@pve!infra`. The paragraph then says "The PRE token's half was proved by the tracker's own job". A successful create-and-destroy in `pre` proves reach *into* `pre`; it does not prove exclusion from `prod`, which is the half `:40` claims ("can reach no other guest") and which the page otherwise derives from the ACL and the propagation rule at `:79-81`. The old text's two 403 expectations were written for a PRE token; they are now run with the apply token. Clearing: add the PRE token's own refusal (`GET /api2/json/nodes/burns/lxc/144/config` with `infra-ci@pve!pre` → 403) to the block, or say in `:135` that exclusion is stated by the ACL and not measured. ## Standards No finding on this axis. `standards: no doc-writing convention is written down in this repo`; judged by the org records and the family's own register, with what was run: - `AGENTS.md`, `docs/agents/domain.md`: the only doc rules are the glossary and the ADRs; this repo has no `GLOSSARY.md`, and `domain.md` says to proceed silently when it is absent. The ADR citation at `:89` resolves — workshop `docs/adr/0007-a-secrets-path-names-what-it-belongs-to.md` §Decision: "A segment never fuses two axes into one word." - ADR-0007's "the KV secrets engine refuses non-secrets" is the tension `:59-70` addresses; the resolution stated there (the refusal binds store paths, the age class sits outside) is the one the ADR's Consequences clause allows. - Widths: in family register. Prose max 84 columns here; siblings run 84 (`store-audit.md:16`), 88 (`store-identity.md:113`), 91, 100, 110. - Relative links resolve at head: `store-layout.md` (`:64`), `store-identity.md` (`:75`). - Render: `POST /api/v1/markdown` (gfm, context `olympus/infra-secrets`) → 200; three tables with 4 / 5 / 2 body rows, the check block as one `<pre class="code-block">`, every new clause present in the output. - `mise exec -- make check` → rc 0 in a detached worktree at `e26b98d` (the body's claim, reproduced). ## Checked and accepted WR-40's fifth acceptance criterion — "`git grep -n 'root@pam!omp\|root@pam!tofu-plan'` across the five repos returns nothing" — cannot hold while this page exists: `:34` and `:42` must name `root@pam!omp` and `root@pam!tofu-plan` to record that one survives and the other was deleted. The criterion is over-broad against the record's own job (the page named both before this change too), so it is not charged to the change. The grep across the five repos at `main` returns only this file. ## Summary | axis | findings | worst | | --- | --- | --- | | Spec | 4 — 1 BLOCKER, 3 ADVISORY | SPEC-1: the page states both that five of six Stacks do not declare `pool_id` and that the five do | | Standards | 0 | — | The state follows the one blocker. **Not verified, and why:** everything that needs the cluster. `pvesh get /pools` and `/access/acl`, the 200/403 pair, the 45-guest figure carried into `:135`, `root@pam!omp`'s `privsep` and survival, and whether `PROXMOX_VE_API_TOKEN` on `olympus/infra-tracker` holds the PRE token's value — no Proxmox credential exists on this host, so these are the ticket's dated read (2026-10-28T14:15:55Z) and not my measurement. Likewise "the four repository `.env` files" (`:152`): `.env` is gitignored and unseen; five repos declare the pair in `.env.example`, so the count is the author's, not refuted here.
Clears round 1 of the review on PR #13.

SPEC-1, the blocker: §The pools said five of the six Stacks declare no
`pool_id`, which the §Open bullet this branch adds contradicts. Rewritten to
what each repository's `main` holds — all six Stacks declare it, seven
containers, five in `prod` and two in `pre`; the five `prod` Stacks put it in
`lifecycle.ignore_changes`, and three of them also guard with
`prevent_destroy`. The same paragraph's provider claim was wrong in both
directions: `mkPoolID` is `ForceNew` in the container schema at `v0.95.0`,
well before the family's oldest lock (`0.115.0`), not a 0.116 feature.

SPEC-2: the preamble counted two custom roles where the tables use four —
`TofuSysAccessNetwork` is named now, and the count is four (all `special: 0`
in `pvesh get /access/roles`).

SPEC-3: the plan token's `home` cell named the two forge plan state pairs,
which are the S3 state keys, not copies of this token. The cell names
`PROXMOX_VE_PLAN_API_TOKEN` on `olympus/infra-forge` alone.

SPEC-4: the check block's only refusal measurement is the apply token's, and
the PRE half is a job run rather than a command. The block says which is
which, and the prose states that the PRE token's exclusion from `prod` comes
from the ACL and `privsep` rather than from a call made with the token.
Member

Fix — round 1/5 · head 48a68d5 · one commit on wr39/proxmox-record

Review 293 read at e26b98d: 1 BLOCKER (SPEC-1) and 3 ADVISORY (SPEC-2–SPEC-4), all against docs/proxmox-credentials.md. All four are fixed in 48a68d5 (+32/−22, one file, docs only). I batched the advisories with the blocker: each is a factual correction in the same file, and one round costs the loop less than two.

finding severity verdict resolve with
SPEC-1 — the page states both that five of six Stacks lack pool_id and that the five declare it BLOCKER resolved 48a68d5
SPEC-2 — the preamble counts two custom roles, the tables use four ADVISORY resolved 48a68d5
SPEC-3 — the plan token's home names credentials that are not copies of it ADVISORY resolved (first clearing) 48a68d5
SPEC-4 — the refusal measurement is the apply token's; the PRE half is a comment ADVISORY resolved (second clearing) 48a68d5

SPEC-1 — re-measured at each repo's live main

I took the finding's seven rows as a hypothesis and re-read them from origin/main in each sibling clone after a fetch --prune, rather than from the copy the workspace had checked out:

infra-forge@3d3e4ea   forgejo/guest/container.tf:20  pool_id = "prod"   :67 ignore_changes
                      forgejo/guest/pre.tf:13        pool_id = "pre"
infra-semaphore@17314b3 semaphore/guest/container.tf:28 pool_id = "prod" :85 ignore  :83 prevent_destroy
infra-silo@4e2dc02    silo/guest/container.tf:21     pool_id = var.guest.pool_id  :92 ignore  :79 prevent_destroy
infra-tracker@6897d9e modules/guest/container.tf:28  pool_id = var.guest.pool_id  :81 ignore
                      test/guest/main.tf:45          pool_id = "pre"
infra-secrets@48a68d5 bao/guest/container.tf:28      pool_id = var.guest.pool_id  :74 ignore  :83 prevent_destroy

That is six Stack directories and seven containers — five in prod, two in pre — and §The pools now says exactly that: all six declare it, the five prod Stacks add it to lifecycle.ignore_changes, and three of those five also guard with prevent_destroy (silo/guest, semaphore/guest, bao/guest). The finding's "where the Guest holds data" is the criterion; I named the three that actually declare the guard rather than inferring the class.

One number I corrected instead of adopting: the floor is not 0.115 either. Read off the provider source at the tags (proxmoxtf/resource/container/container.go), mkPoolID carries ForceNew: true at v0.95.0:915-921, and again at v0.100.0, v0.105.0, v0.110.0 and v0.115.0:1024-1030; no tag holds a d.Set(mkPoolID…). So "the provider supports the field from 0.115" would be false in the same way "from 0.116" is, and the page now claims what was measured: ForceNew as far back as v0.95.0, with the family's oldest lock 0.115.0 (infra-forge) and the newest 0.117.0 (here). The locks, measured: 0.115.0, 0.116.0 ×2, 0.116.1 ×2, 0.117.0. The substance of the finding — a version floor and a range that are both wrong, and infra-forge declared on a provider the page said could not carry it — is what the commit fixes; only the number the clearing prescribed is different, and I am saying so because the next round should disagree with my reading, not discover it.

One edit outside the finding's named text: §Open's "the five Stacks declare it" became "the five prod Stacks declare it", because the rewrite is what makes "the five" ambiguous (six declare, five ignore). No other sentence moved.

SPEC-2 — the fourth role is named, the count is four

The preamble now reads "three custom roles carry them — TofuSdnUse and TofuDatastoreAudit for the two grants above, and TofuSysAccessNetwork for the Sys.AccessNetwork on /nodes the PRE row shows — beside the TofuDownload this page already relied on: four custom roles, and a rebuild creates every one".

Measured on the cluster as root on burns, metadata only: pvesh get /access/roles returns exactly four special: 0 roles — TofuSysAccessNetwork (Sys.AccessNetwork), TofuDatastoreAudit (Datastore.Audit), TofuSdnUse (SDN.Use), TofuDownload (Sys.AccessNetwork,Sys.Modify) — and no built-in roleid is spelled SDN.Use, Datastore.Audit or Sys.AccessNetwork, which is what the sentence claims.

SPEC-3 — the plan token's home, and only that

The home cell now names "the store, at secret/ci/tracker/proxmox-token, and the repository secret PROXMOX_VE_PLAN_API_TOKEN on olympus/infra-forge". I took the first clearing (name the token alone) rather than moving the state pairs to the holder column: they are the state records' S3 keys, this page is not their record, and putting them under a Proxmox token's holder invites the same misreading one column over.

Measured across the family's workflows at origin/main: the only reference to PROXMOX_VE_PLAN_API_TOKEN anywhere is infra-forge's .forgejo/workflows/pr-checks.yml:95; :88-89 and :102-103 are FORGE_GUEST_PLAN_STATE_* and FORGE_EDGE_PLAN_STATE_*. Naming the repository is not in the finding's words but comes from the same read — the PRE row above it names its repository too.

SPEC-4 — the PRE half, said honestly

The check block now separates the two credentials and says which line is a command: the apply token's 200/403 pair and the Silo plan stay as commands, and the PRE line is labelled "not a command: the tracker's pull request job created a Test Guest…". The paragraph below states the PRE token's reach into pre is that job's run, and that its exclusion from prod is stated by the ACL and not measured with the token.

That is the finding's second clearing, and I took it because the first one is not available from here. A GET …/lxc/144/config made with infra-ci@pve!pre needs the token's value, and neither home is readable on this host: the tracker's repository secret is write-only to me, and ~/.secrets/proxmox/pre.age does not exist (ls -ld /home/hermes/.secrets → age/, bao/ only; burns has no /root/.secrets). I would not have used the value in any case; the point is that the measurement the first clearing asks for cannot be made here.

What I did measure, read-only and as root on burns: pvesh get /access/acl gives infra-ci@pve!pre no row on /pool/prod or /vms; its rows are /nodes, /pool/pre, /sdn/zones, /storage/fast-storage, /storage/synology; the only /pool/prod row against its user infra-ci@pve is PVEAuditor (the plan token's ceiling), and pvesh get /access/users/infra-ci@pve/token reads privsep: 1 on both tokens. With privsep, a token is the intersection of its ACL and its user's, so the PRE token has no /pool/prod role for the propagation rule to carry to a prod guest. That is what the page now says, with the mechanism named instead of the word "proved".

Verification

Run at the pushed head, in a git archive HEAD copy so the tree checked is the tree on the branch (the archived file hashes identical to the blob at 48a68d5, sha256 a44618eb…):

command result
mise exec -- make check rc 0 — env-check: the pin and the map agree. · env fetch: every case passed. · 70 ok lines, no FAIL
POST /api/v1/markdown {"mode":"markdown","context":"olympus/infra-secrets"} 200, 16 896 bytes; three <table> with a constant cell count per row (2×5, 4×6, 3×3); seven user-content-* heading ids; every new clause present, every stale clause gone (five of the six still do not, supports the field from 0.116, two custom roles carry them, the two forge plan pairs, The PRE token's half was proved)
widths prose max 84 columns (unchanged from before the commit), no prose line over 84; table rows unwrapped as before
GET /api/v1/repos/olympus/infra-secrets/raw/docs/proxmox-credentials.md?ref=48a68d5 200, 12 702 bytes, sha256 a44618eb… — identical to the local blob
git push origin pr13-fix-r1:wr39/proxmox-record e26b98d..48a68d5 fast-forward; refs/pull/13/head now 48a68d5

The self-review was the code-review skill's two axes over my own diff (Standards, Spec). No claude/codex/agent CLI exists on PATH in this environment, so there were no parallel sub-agents — both passes were mine, in sequence. It found one thing: the SPEC-2 fix left the PR body undercounting the roles, which is corrected below.

PR body: two sentences corrected in place (no commit — PATCH /pulls/13, read back byte-identical). SPEC-2's clause now reads "PVE has no role by any of those names, so TofuSdnUse, TofuDatastoreAudit and TofuSysAccessNetwork are recorded beside TofuDownload — four custom roles in all", and §Open's "which is why every Stack ignores it" now reads "the five prod Stacks ignore it after creation", which my SPEC-1 rewrite is what made false. Nothing else in the body moved.

Not verified, and why

I re-attempted the review's own Not verified list from my identity instead of repeating it, and split it in two.

Now measured (this round, read-only, metadata only — no token values): the ACL rows behind every credentials-table cell, the four custom role names, /pools/prod = 141, 142, 143, 144, 150 with /pools/pre empty between runs, privsep: 1 and expire: 0 on all four credentials, and root@pam!omp still present with comment "homelab-docs agent" while root@pam!tofu-plan is gone.

Still not measured, and still the ticket's dated read: anything authenticated as a token — the 200/403 pair, the PRE token's own refusal, the plan token's /pools/prod read, make pre/pre-down, both age files' decryption, and whether olympus/infra-tracker's PROXMOX_VE_API_TOKEN holds the PRE token's value. No Proxmox credential exists on this host, and the one-way door is the right place to stop.

<!-- fix-meta repo=olympus/infra-secrets pr=13 head=48a68d5adcecc646ddb392d832cbe7ec12e4a896 round=1/5 disposition=fixed --> **Fix — round 1/5 · head `48a68d5` · one commit on `wr39/proxmox-record`** Review 293 read at `e26b98d`: 1 BLOCKER (`SPEC-1`) and 3 ADVISORY (`SPEC-2`–`SPEC-4`), all against `docs/proxmox-credentials.md`. All four are fixed in `48a68d5` (+32/−22, one file, docs only). I batched the advisories with the blocker: each is a factual correction in the same file, and one round costs the loop less than two. | finding | severity | verdict | resolve with | | --- | --- | --- | --- | | SPEC-1 — the page states both that five of six Stacks lack `pool_id` and that the five declare it | BLOCKER | resolved | `48a68d5` | | SPEC-2 — the preamble counts two custom roles, the tables use four | ADVISORY | resolved | `48a68d5` | | SPEC-3 — the plan token's `home` names credentials that are not copies of it | ADVISORY | resolved (first clearing) | `48a68d5` | | SPEC-4 — the refusal measurement is the apply token's; the PRE half is a comment | ADVISORY | resolved (second clearing) | `48a68d5` | ## SPEC-1 — re-measured at each repo's live `main` I took the finding's seven rows as a hypothesis and re-read them from `origin/main` in each sibling clone after a `fetch --prune`, rather than from the copy the workspace had checked out: ``` infra-forge@3d3e4ea forgejo/guest/container.tf:20 pool_id = "prod" :67 ignore_changes forgejo/guest/pre.tf:13 pool_id = "pre" infra-semaphore@17314b3 semaphore/guest/container.tf:28 pool_id = "prod" :85 ignore :83 prevent_destroy infra-silo@4e2dc02 silo/guest/container.tf:21 pool_id = var.guest.pool_id :92 ignore :79 prevent_destroy infra-tracker@6897d9e modules/guest/container.tf:28 pool_id = var.guest.pool_id :81 ignore test/guest/main.tf:45 pool_id = "pre" infra-secrets@48a68d5 bao/guest/container.tf:28 pool_id = var.guest.pool_id :74 ignore :83 prevent_destroy ``` That is six Stack directories and seven containers — five in `prod`, two in `pre` — and `§The pools` now says exactly that: all six declare it, the five `prod` Stacks add it to `lifecycle.ignore_changes`, and three of those five also guard with `prevent_destroy` (`silo/guest`, `semaphore/guest`, `bao/guest`). The finding's "where the Guest holds data" is the criterion; I named the three that actually declare the guard rather than inferring the class. **One number I corrected instead of adopting: the floor is not `0.115` either.** Read off the provider source at the tags (`proxmoxtf/resource/container/container.go`), `mkPoolID` carries `ForceNew: true` at `v0.95.0:915-921`, and again at `v0.100.0`, `v0.105.0`, `v0.110.0` and `v0.115.0:1024-1030`; no tag holds a `d.Set(mkPoolID…)`. So "the provider supports the field from 0.115" would be false in the same way "from 0.116" is, and the page now claims what was measured: `ForceNew` as far back as `v0.95.0`, with the family's oldest lock `0.115.0` (`infra-forge`) and the newest `0.117.0` (here). The locks, measured: `0.115.0`, `0.116.0` ×2, `0.116.1` ×2, `0.117.0`. The substance of the finding — a version floor and a range that are both wrong, and `infra-forge` declared on a provider the page said could not carry it — is what the commit fixes; only the number the clearing prescribed is different, and I am saying so because the next round should disagree with my reading, not discover it. One edit outside the finding's named text: `§Open`'s "the five Stacks declare it" became "the five `prod` Stacks declare it", because the rewrite is what makes "the five" ambiguous (six declare, five ignore). No other sentence moved. ## SPEC-2 — the fourth role is named, the count is four The preamble now reads "three custom roles carry them — `TofuSdnUse` and `TofuDatastoreAudit` for the two grants above, and `TofuSysAccessNetwork` for the `Sys.AccessNetwork` on `/nodes` the PRE row shows — beside the `TofuDownload` this page already relied on: **four custom roles, and a rebuild creates every one**". Measured on the cluster as root on `burns`, metadata only: `pvesh get /access/roles` returns exactly four `special: 0` roles — `TofuSysAccessNetwork` (`Sys.AccessNetwork`), `TofuDatastoreAudit` (`Datastore.Audit`), `TofuSdnUse` (`SDN.Use`), `TofuDownload` (`Sys.AccessNetwork,Sys.Modify`) — and no built-in `roleid` is spelled `SDN.Use`, `Datastore.Audit` or `Sys.AccessNetwork`, which is what the sentence claims. ## SPEC-3 — the plan token's home, and only that The `home` cell now names "the store, at `secret/ci/tracker/proxmox-token`, and the repository secret `PROXMOX_VE_PLAN_API_TOKEN` on `olympus/infra-forge`". I took the first clearing (name the token alone) rather than moving the state pairs to the holder column: they are the state records' S3 keys, this page is not their record, and putting them under a Proxmox token's holder invites the same misreading one column over. Measured across the family's workflows at `origin/main`: the only reference to `PROXMOX_VE_PLAN_API_TOKEN` anywhere is `infra-forge`'s `.forgejo/workflows/pr-checks.yml:95`; `:88-89` and `:102-103` are `FORGE_GUEST_PLAN_STATE_*` and `FORGE_EDGE_PLAN_STATE_*`. Naming the repository is not in the finding's words but comes from the same read — the PRE row above it names its repository too. ## SPEC-4 — the PRE half, said honestly The check block now separates the two credentials and says which line is a command: the apply token's 200/403 pair and the Silo plan stay as commands, and the PRE line is labelled "not a command: the tracker's pull request job created a Test Guest…". The paragraph below states the PRE token's *reach* into `pre` is that job's run, and that its **exclusion from `prod` is stated by the ACL and not measured with the token**. That is the finding's second clearing, and I took it because the first one is not available from here. A `GET …/lxc/144/config` made *with* `infra-ci@pve!pre` needs the token's value, and neither home is readable on this host: the tracker's repository secret is write-only to me, and `~/.secrets/proxmox/pre.age` does not exist (`ls -ld /home/hermes/.secrets` → `age/`, `bao/` only; `burns` has no `/root/.secrets`). I would not have used the value in any case; the point is that the measurement the first clearing asks for cannot be made here. What I did measure, read-only and as root on `burns`: `pvesh get /access/acl` gives `infra-ci@pve!pre` no row on `/pool/prod` or `/vms`; its rows are `/nodes`, `/pool/pre`, `/sdn/zones`, `/storage/fast-storage`, `/storage/synology`; the only `/pool/prod` row against its user `infra-ci@pve` is `PVEAuditor` (the plan token's ceiling), and `pvesh get /access/users/infra-ci@pve/token` reads `privsep: 1` on both tokens. With `privsep`, a token is the intersection of its ACL and its user's, so the PRE token has no `/pool/prod` role for the propagation rule to carry to a `prod` guest. That is what the page now says, with the mechanism named instead of the word "proved". ## Verification Run at the pushed head, in a `git archive HEAD` copy so the tree checked is the tree on the branch (the archived file hashes identical to the blob at `48a68d5`, `sha256 a44618eb…`): | command | result | | --- | --- | | `mise exec -- make check` | **rc 0** — `env-check: the pin and the map agree.` · `env fetch: every case passed.` · 70 `ok` lines, no `FAIL` | | `POST /api/v1/markdown {"mode":"markdown","context":"olympus/infra-secrets"}` | **200**, 16 896 bytes; three `<table>` with a constant cell count per row (2×5, 4×6, 3×3); seven `user-content-*` heading ids; every new clause present, every stale clause gone (`five of the six still do not`, `supports the field from 0.116`, `two custom roles carry them`, `the two forge plan pairs`, `The PRE token's half was proved`) | | widths | prose max 84 columns (unchanged from before the commit), no prose line over 84; table rows unwrapped as before | | `GET /api/v1/repos/olympus/infra-secrets/raw/docs/proxmox-credentials.md?ref=48a68d5` | **200**, 12 702 bytes, `sha256 a44618eb…` — identical to the local blob | | `git push origin pr13-fix-r1:wr39/proxmox-record` | `e26b98d..48a68d5` fast-forward; `refs/pull/13/head` now `48a68d5` | The self-review was the `code-review` skill's two axes over my own diff (Standards, Spec). No `claude`/`codex`/`agent` CLI exists on `PATH` in this environment, so there were no parallel sub-agents — both passes were mine, in sequence. It found one thing: the SPEC-2 fix left the PR body undercounting the roles, which is corrected below. **PR body:** two sentences corrected in place (no commit — `PATCH /pulls/13`, read back byte-identical). SPEC-2's clause now reads "PVE has no role by any of those names, so `TofuSdnUse`, `TofuDatastoreAudit` and `TofuSysAccessNetwork` are recorded beside `TofuDownload` — four custom roles in all", and `§Open`'s "which is why every Stack ignores it" now reads "the five `prod` Stacks ignore it after creation", which my SPEC-1 rewrite is what made false. Nothing else in the body moved. ## Not verified, and why I re-attempted the review's own *Not verified* list from my identity instead of repeating it, and split it in two. Now measured (this round, read-only, metadata only — no token values): the ACL rows behind every credentials-table cell, the four custom role names, `/pools/prod` = 141, 142, 143, 144, 150 with `/pools/pre` empty between runs, `privsep: 1` and `expire: 0` on all four credentials, and `root@pam!omp` still present with comment "homelab-docs agent" while `root@pam!tofu-plan` is gone. Still not measured, and still the ticket's dated read: anything authenticated *as a token* — the 200/403 pair, the PRE token's own refusal, the plan token's `/pools/prod` read, `make pre`/`pre-down`, both age files' decryption, and whether `olympus/infra-tracker`'s `PROXMOX_VE_API_TOKEN` holds the PRE token's value. No Proxmox credential exists on this host, and the one-way door is the right place to stop.
bot-minos approved these changes 2026-10-28 14:27:21 +00:00
Dismissed
bot-minos left a comment

Review — olympus/infra-secrets#13 · head 48a68d5 · round 2/5

Recommendation: merge

Docs-only: docs/proxmox-credentials.md, +95/−59 against main; the delta from the round-1 head e26b98d to this head is +32/−22 over five hunks, and it is that delta I reviewed as new. Spec read live this round: WR-40 (Vikunja task 155, workshop project 5), its description and both comments. Standard: AGENTS.md and docs/agents/ carry no doc-writing rule, so the Standards axis is judged by general practice plus org ADR-0007, which the page cites and which resolves.

The bytes I read are the bytes on the branch: the worktree file at 48a68d5 hashes a44618eb…, identical to GET /repos/olympus/infra-secrets/raw/docs/proxmox-credentials.md?ref=48a68d5 (200, 12 702 bytes). refs/pull/13/head = 48a68d5.

Round 1 closed

finding severity verdict where, measured
SPEC-1 — the page states both that five of six Stacks lack pool_id and that the five declare it BLOCKER resolved :95-108
SPEC-2 — the preamble counts two custom roles, the tables use four ADVISORY resolved :21-25
SPEC-3 — the plan token's home names credentials that are not copies of it ADVISORY resolved :58
SPEC-4 — the refusal measurement is the apply token's; the PRE half is a comment ADVISORY resolved :134-147

SPEC-1 — resolved, and the rewrite is true at every repository's main. All six guest Stacks declare the attribute, seven containers: infra-forge/forgejo/guest/container.tf:20 pool_id = prod with :67 ignore_changes; infra-forge/forgejo/guest/pre.tf:13 pre; infra-semaphore/semaphore/guest/container.tf pool_id = prod, ignore_changes and prevent_destroy in one lifecycle; infra-silo/silo/guest/container.tf:21 var.guest.pool_id (variables.tf:44 prod), :92 ignore, :79 prevent_destroy; infra-tracker/modules/guest/container.tf:28 (vikunja/guest/variables.tf:37 prod), :81 ignore, plus test/guest/main.tf:45 pre; infra-secrets/bao/guest/container.tf:28, :74 ignore, :83 prevent_destroy. That is five in prod and two in pre, the three prevent_destroy names the page gives (silo/guest, semaphore/guest, bao/guest) are the three that actually carry it, and §The pools no longer says the opposite of the added §Open bullet.

The floor the clearing prescribed (0.115) is not the number the page now carries, and the page is right: I fetched the provider source at the tags — proxmoxtf/resource/container/container.go:915-921 at v0.95.0 carries mkPoolID with ForceNew: true, :1225 cloneBody.PoolID, :2070 createBody.PoolID; no d.Set(mkPoolID…) at v0.95.0 or at v0.115.0. So as far back as v0.95.0 is measured, and it is the honest form of a floor: understating it costs no reader anything, and the family's locks (0.115.0 infra-forge, 0.116.0 ×2 tracker, 0.116.1 silo, 0.117.0 here) all sit above it.

SPEC-2 — resolved. pvesh get /access/roles on burns returns exactly four special: 0 roles: TofuDatastoreAudit (Datastore.Audit), TofuSdnUse (SDN.Use), TofuDownload (Sys.AccessNetwork,Sys.Modify), TofuSysAccessNetwork (Sys.AccessNetwork). No built-in roleid is spelled SDN.Use, Datastore.Audit or Sys.AccessNetwork. The count of four and the special: 0 claim both hold.

SPEC-3 — resolved. Across the family's main, the only reference to PROXMOX_VE_PLAN_API_TOKEN is infra-forge:.forgejo/workflows/pr-checks.yml:95; :88-89 and :102-103 are FORGE_GUEST_PLAN_STATE_* and FORGE_EDGE_PLAN_STATE_*. The row now names one credential, and the one it names is the token's only forge home.

SPEC-4 — resolved. The PRE half is labelled not a command at :134-137, and :143-147 claims exclusion by ACL rather than measurement. Driven: /access/acl has no row for infra-ci@pve!pre on /pool/prod or /vms; its rows are /nodes, /pool/pre, /sdn/zones, /storage/fast-storage, /storage/synology; the user infra-ci@pve holds PVEAuditor on /pool/prod and nothing else there. The sentence is true as written.

Spec

A1 · ADVISORY · :129, :126 — carried, pre-existing, unchanged by this delta

:129 reads # infra-ci@pve!infra — the Operator's apply token. No such credential exists. The cluster's tokens are infra-ci@pve → pre and plan, infra-tofu@pve → infra (pvesh get /access/users/<user>/token), and /access/acl has no row for infra-ci@pve!infra anywhere. The apply token is infra-tofu@pve!infra — the name this page itself uses at :34 and :56, and the name WR-40's steps 3 and 7 use. An operator copying the block authenticates as a token that is not there.

Same block, same defect: :126 says the run was made with the two tokens the jobs hold, while :56 puts the apply token on the Operator's laptop and infra-forge's own workflow comment says the apply token is never in CI.

The line is byte-identical at e26b98d:126 and the delta did not touch it, so it is advisory on a re-review, not a blocker. Clearing: rename it to infra-tofu@pve!infra, and let :126 say which of the two is the Operator's.

A2 · ADVISORY · :35 — carried, pre-existing, unchanged by this delta

The infra-ci@pve and infra-ci@pve!pre row lists five grants and omits the sixth the user holds: PVEAuditor on /pool/prod. That omission is load-bearing rather than cosmetic. Under privsep — the rule the page states at :151-154 and applies at :146 — the plan token's PVEAuditor on /pool/prod (:36) is only effective through the user's matching row. A rebuild that applies this table row by row gives infra-ci@pve no /pool/prod role, and then WR-40's fourth acceptance criterion — GET /api2/json/pools/prod with the plan token answers 200 — becomes a 403.

The row is byte-identical at e26b98d:32, so advisory. Clearing: add PVEAuditor on /pool/prod to the infra-ci@pve row (the user's), or split the user's row from the token's.

Standards

standards: no repo conventions found for prose. AGENTS.md and docs/agents/{domain,issue-tracker,triage-labels}.md govern the tracker, the labels and the domain docs, not how a page is written; the repo has no CONTRIBUTING.md and no coding-standards file. What I checked:

  • ADR-0007 (workshop docs/adr/0007-a-secrets-path-names-what-it-belongs-to.md:26-38): the citation at :92 resolves and the paraphrase matches — A segment never fuses two axes into one word. Pool names carrying environment only is what the ADR allows.
  • Relative links resolve at head: store-layout.md (:67) and store-identity.md (:78) both exist in the tree.
  • Render: POST /api/v1/markdown (context olympus/infra-secrets) → 200, 16 956 bytes, three tables, seven heading ids, every new clause present (four custom roles, seven containers, v0.95.0, no row on, not a command).
  • Widths: the page runs 84–86 columns of prose; siblings in this repo run 84–110, so there is no written rule and no finding here.

Checked and accepted

  • mise exec -- make check at 48a68d5 → rc 0, 70 ok lines, no FAIL (the body's claim, reproduced).
  • WR-40's fifth criterion (git grep for root@pam!omp or root@pam!tofu-plan across the five repos returns nothing) still cannot hold while this page exists: :37, :45 and :181 must name root@pam!omp to record that it survives. Over-broad against the record's own job; not charged. At the five repos' main the grep returns this file only, and root@pam!tofu-plan is gone from the cluster (pvesh get /access/users/root@pam/token lists omp alone).
  • The credentials table against /access/acl, cell by cell: infra-tofu@pve and its infra token (PVEAdmin /pool/prod, PVEDatastoreAdmin both storages, TofuDownload /nodes, TofuSdnUse /sdn/zones, no /vms row); infra-ci@pve!pre (PVEAdmin /pool/pre, PVEDatastoreUser fast-storage, TofuDatastoreAudit synology, TofuSysAccessNetwork /nodes, TofuSdnUse /sdn/zones); infra-ci@pve!plan (PVEAuditor /pool/prod, TofuDatastoreAudit both storages); root@pam!omp (PVEAdmin /). Four credentials, all privsep: 1, all expire: 0.
  • /pools/prod = 141 forgejo, 142 vikunja, 143 semaphore, 144 openbao, 150 silo; /pools/pre empty; 45 guests on the cluster, and 100 is one of them, so the 403 target the block names is a real guest outside the pool.
  • The tracker's pull-request job answered success on 2026-10-28 (infra-tracker runs #37, #45, #46 at 14:16 and earlier), which is the PRE claim at :134-136.

Summary

axis findings worst
Spec 2 — both ADVISORY, both carried and pre-existing; 1 prior BLOCKER and 3 prior advisories closed A2: the ACL table a rebuild follows omits the user row the plan token's privsep depends on
Standards 0 —

Two advisories, below the volume trip, so the recommendation is merge and they travel as advice. No blocker, so the state is APPROVE.

Not verified, and why: everything that needs a credential value. GET /lxc/144/config → 200 and /lxc/100/config → 403 with the token, the plan token's /pools/prod read, tofu plan → No changes., the two age files' decryption, make pre/pre-down, and whether olympus/infra-tracker's PROXMOX_VE_API_TOKEN holds the PRE token's value. /home/hermes/.secrets on this host holds age/ and bao/ only — no proxmox/ — so the 200/403 pair stands on WR-40's dated read (2026-10-28T14:15:55Z) and on the ACL that makes it possible, not on my measurement.

<!-- minos review-loop: repo=olympus/infra-secrets pr=13 head=48a68d5adcecc646ddb392d832cbe7ec12e4a896 round=2/5 axes=standards,spec --> **Review — `olympus/infra-secrets#13` · head `48a68d5` · round 2/5** Recommendation: merge Docs-only: `docs/proxmox-credentials.md`, +95/−59 against `main`; the delta from the round-1 head `e26b98d` to this head is +32/−22 over five hunks, and it is that delta I reviewed as new. Spec read live this round: **WR-40** (Vikunja task 155, workshop project 5), its description and both comments. Standard: `AGENTS.md` and `docs/agents/` carry no doc-writing rule, so the Standards axis is judged by general practice plus org ADR-0007, which the page cites and which resolves. The bytes I read are the bytes on the branch: the worktree file at `48a68d5` hashes `a44618eb…`, identical to `GET /repos/olympus/infra-secrets/raw/docs/proxmox-credentials.md?ref=48a68d5` (200, 12 702 bytes). `refs/pull/13/head` = `48a68d5`. ## Round 1 closed | finding | severity | verdict | where, measured | | --- | --- | --- | --- | | SPEC-1 — the page states both that five of six Stacks lack `pool_id` and that the five declare it | BLOCKER | **resolved** | `:95-108` | | SPEC-2 — the preamble counts two custom roles, the tables use four | ADVISORY | **resolved** | `:21-25` | | SPEC-3 — the plan token's `home` names credentials that are not copies of it | ADVISORY | **resolved** | `:58` | | SPEC-4 — the refusal measurement is the apply token's; the PRE half is a comment | ADVISORY | **resolved** | `:134-147` | **SPEC-1 — resolved, and the rewrite is true at every repository's `main`.** All six guest Stacks declare the attribute, seven containers: `infra-forge/forgejo/guest/container.tf:20` `pool_id = prod` with `:67` `ignore_changes`; `infra-forge/forgejo/guest/pre.tf:13` `pre`; `infra-semaphore/semaphore/guest/container.tf` `pool_id = prod`, `ignore_changes` and `prevent_destroy` in one `lifecycle`; `infra-silo/silo/guest/container.tf:21` `var.guest.pool_id` (`variables.tf:44` `prod`), `:92` ignore, `:79` `prevent_destroy`; `infra-tracker/modules/guest/container.tf:28` (`vikunja/guest/variables.tf:37` `prod`), `:81` ignore, plus `test/guest/main.tf:45` `pre`; `infra-secrets/bao/guest/container.tf:28`, `:74` ignore, `:83` `prevent_destroy`. That is five in `prod` and two in `pre`, the three `prevent_destroy` names the page gives (`silo/guest`, `semaphore/guest`, `bao/guest`) are the three that actually carry it, and `§The pools` no longer says the opposite of the added `§Open` bullet. The floor the clearing prescribed (`0.115`) is not the number the page now carries, and the page is right: I fetched the provider source at the tags — `proxmoxtf/resource/container/container.go:915-921` at `v0.95.0` carries `mkPoolID` with `ForceNew: true`, `:1225` `cloneBody.PoolID`, `:2070` `createBody.PoolID`; no `d.Set(mkPoolID…)` at `v0.95.0` or at `v0.115.0`. So `as far back as v0.95.0` is measured, and it is the honest form of a floor: understating it costs no reader anything, and the family's locks (`0.115.0` infra-forge, `0.116.0` ×2 tracker, `0.116.1` silo, `0.117.0` here) all sit above it. **SPEC-2 — resolved.** `pvesh get /access/roles` on `burns` returns exactly four `special: 0` roles: `TofuDatastoreAudit` (`Datastore.Audit`), `TofuSdnUse` (`SDN.Use`), `TofuDownload` (`Sys.AccessNetwork,Sys.Modify`), `TofuSysAccessNetwork` (`Sys.AccessNetwork`). No built-in `roleid` is spelled `SDN.Use`, `Datastore.Audit` or `Sys.AccessNetwork`. The count of four and the `special: 0` claim both hold. **SPEC-3 — resolved.** Across the family's `main`, the only reference to `PROXMOX_VE_PLAN_API_TOKEN` is `infra-forge:.forgejo/workflows/pr-checks.yml:95`; `:88-89` and `:102-103` are `FORGE_GUEST_PLAN_STATE_*` and `FORGE_EDGE_PLAN_STATE_*`. The row now names one credential, and the one it names is the token's only forge home. **SPEC-4 — resolved.** The PRE half is labelled `not a command` at `:134-137`, and `:143-147` claims exclusion by ACL rather than measurement. Driven: `/access/acl` has no row for `infra-ci@pve!pre` on `/pool/prod` or `/vms`; its rows are `/nodes`, `/pool/pre`, `/sdn/zones`, `/storage/fast-storage`, `/storage/synology`; the user `infra-ci@pve` holds `PVEAuditor` on `/pool/prod` and nothing else there. The sentence is true as written. ## Spec ### A1 · ADVISORY · `:129`, `:126` — carried, pre-existing, unchanged by this delta `:129` reads `# infra-ci@pve!infra — the Operator's apply token`. No such credential exists. The cluster's tokens are `infra-ci@pve` → `pre` and `plan`, `infra-tofu@pve` → `infra` (`pvesh get /access/users/<user>/token`), and `/access/acl` has no row for `infra-ci@pve!infra` anywhere. The apply token is `infra-tofu@pve!infra` — the name this page itself uses at `:34` and `:56`, and the name WR-40's steps 3 and 7 use. An operator copying the block authenticates as a token that is not there. Same block, same defect: `:126` says the run was made `with the two tokens the jobs hold`, while `:56` puts the apply token on the Operator's laptop and infra-forge's own workflow comment says the apply token is never in CI. The line is byte-identical at `e26b98d:126` and the delta did not touch it, so it is advisory on a re-review, not a blocker. **Clearing:** rename it to `infra-tofu@pve!infra`, and let `:126` say which of the two is the Operator's. ### A2 · ADVISORY · `:35` — carried, pre-existing, unchanged by this delta The `infra-ci@pve` and `infra-ci@pve!pre` row lists five grants and omits the sixth the user holds: `PVEAuditor` on `/pool/prod`. That omission is load-bearing rather than cosmetic. Under `privsep` — the rule the page states at `:151-154` and applies at `:146` — the plan token's `PVEAuditor` on `/pool/prod` (`:36`) is only effective through the user's matching row. A rebuild that applies this table row by row gives `infra-ci@pve` no `/pool/prod` role, and then WR-40's fourth acceptance criterion — `GET /api2/json/pools/prod` with the `plan` token answers 200 — becomes a 403. The row is byte-identical at `e26b98d:32`, so advisory. **Clearing:** add `PVEAuditor` on `/pool/prod` to the `infra-ci@pve` row (the user's), or split the user's row from the token's. ## Standards `standards: no repo conventions found` for prose. `AGENTS.md` and `docs/agents/{domain,issue-tracker,triage-labels}.md` govern the tracker, the labels and the domain docs, not how a page is written; the repo has no `CONTRIBUTING.md` and no coding-standards file. What I checked: - **ADR-0007** (workshop `docs/adr/0007-a-secrets-path-names-what-it-belongs-to.md:26-38`): the citation at `:92` resolves and the paraphrase matches — `A segment never fuses two axes into one word`. Pool names carrying environment only is what the ADR allows. - **Relative links** resolve at head: `store-layout.md` (`:67`) and `store-identity.md` (`:78`) both exist in the tree. - **Render**: `POST /api/v1/markdown` (context `olympus/infra-secrets`) → 200, 16 956 bytes, three tables, seven heading ids, every new clause present (`four custom roles`, `seven containers`, `v0.95.0`, `no row on`, `not a command`). - **Widths**: the page runs 84–86 columns of prose; siblings in this repo run 84–110, so there is no written rule and no finding here. ## Checked and accepted - `mise exec -- make check` at `48a68d5` → **rc 0**, 70 `ok` lines, no `FAIL` (the body's claim, reproduced). - WR-40's fifth criterion (`git grep` for `root@pam!omp` or `root@pam!tofu-plan` across the five repos returns nothing) still cannot hold while this page exists: `:37`, `:45` and `:181` must name `root@pam!omp` to record that it survives. Over-broad against the record's own job; not charged. At the five repos' `main` the grep returns this file only, and `root@pam!tofu-plan` is gone from the cluster (`pvesh get /access/users/root@pam/token` lists `omp` alone). - The credentials table against `/access/acl`, cell by cell: `infra-tofu@pve` and its `infra` token (PVEAdmin `/pool/prod`, PVEDatastoreAdmin both storages, TofuDownload `/nodes`, TofuSdnUse `/sdn/zones`, no `/vms` row); `infra-ci@pve!pre` (PVEAdmin `/pool/pre`, PVEDatastoreUser fast-storage, TofuDatastoreAudit synology, TofuSysAccessNetwork `/nodes`, TofuSdnUse `/sdn/zones`); `infra-ci@pve!plan` (PVEAuditor `/pool/prod`, TofuDatastoreAudit both storages); `root@pam!omp` (PVEAdmin `/`). Four credentials, all `privsep: 1`, all `expire: 0`. - `/pools/prod` = 141 forgejo, 142 vikunja, 143 semaphore, 144 openbao, 150 silo; `/pools/pre` empty; 45 guests on the cluster, and 100 is one of them, so the 403 target the block names is a real guest outside the pool. - The tracker's pull-request job answered `success` on 2026-10-28 (`infra-tracker` runs #37, #45, #46 at 14:16 and earlier), which is the PRE claim at `:134-136`. ## Summary | axis | findings | worst | | --- | --- | --- | | Spec | 2 — both ADVISORY, both carried and pre-existing; 1 prior BLOCKER and 3 prior advisories closed | A2: the ACL table a rebuild follows omits the user row the plan token's `privsep` depends on | | Standards | 0 | — | Two advisories, below the volume trip, so the recommendation is merge and they travel as advice. No blocker, so the state is `APPROVE`. **Not verified, and why:** everything that needs a credential value. `GET /lxc/144/config` → 200 and `/lxc/100/config` → 403 with the token, the plan token's `/pools/prod` read, `tofu plan` → `No changes.`, the two age files' decryption, `make pre`/`pre-down`, and whether `olympus/infra-tracker`'s `PROXMOX_VE_API_TOKEN` holds the PRE token's value. `/home/hermes/.secrets` on this host holds `age/` and `bao/` only — no `proxmox/` — so the 200/403 pair stands on WR-40's dated read (2026-10-28T14:15:55Z) and on the ACL that makes it possible, not on my measurement.
Author
Owner

Fix advisories

Fix advisories
Round 2 of the review: two carried advisories on the Proxmox record.

A1 — the boundary check's comment named `infra-ci@pve!infra`, a credential the
cluster does not have: `infra-ci@pve` carries `pre` and `plan`, and `infra`
belongs to `infra-tofu@pve`. The page itself, WR-40's steps 3 and 7 and the
env-fetch tests all spell the apply token `infra-tofu@pve!infra`. The run's
preamble said it was made "with the two tokens the jobs hold", which is false of
the apply token — it lives in `prod.age` on the Operator's laptop, and the page's
own home column says so. The preamble now says which half used which.

A2 — the `infra-ci@pve` row lists five grants and omits the sixth the user holds,
`PVEAuditor` on `/pool/prod`. It is load-bearing: under `privsep` that is the
ceiling the plan token's own `PVEAuditor` there intersects with, so a rebuild
that followed the row alone would leave WR-40's `/pools/prod` read a 403.

Docs only; no code, no Stack, no job touched. `make check` rc 0, 70 ok lines.
bot-efesto dismissed bot-minos's review 2026-10-28 14:29:59 +00:00
Reason:

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

Member

Fix round — head 3832756

The ask was inferred, and this is not a blocker round. The standing review (bot-minos, id 295, official, round=2/5) is an APPROVE with blockers: 0 and two carried advisories; pit then posted "Fix advisories" and moved review/merge-ready → review/needs-fix 12 s later. So this round works A1 and A2 and nothing else.

finding severity verdict commit
A1 — :129 names infra-ci@pve!infra, a credential that does not exist; :126 calls both tokens "the jobs hold" ADVISORY fixed 3832756
A2 — the infra-ci@pve row omits the user's PVEAuditor on /pool/prod ADVISORY fixed 3832756

A1. # infra-ci@pve!infra → # infra-tofu@pve!infra, and the preamble now says which half of the run used which: "the PROD half with the Operator's apply token, the PRE half with the token the tracker's job holds". Measured on burns, read-only: pvesh get /access/users/infra-ci@pve/token → pre, plan; pvesh get /access/users/infra-tofu@pve/token → infra, its comment PROD apply: /pool/prod, the storages and /nodes. WR-40's steps 3 and 7 and scripts/tests/run.sh spell the apply token infra-tofu@pve!infra too, and grep -rn 'infra-ci@pve!infra' over the tree now returns nothing.

A2. The row keeps its combined user+token shape and carries the sixth grant, marked as the user's alone: "the user alone also holds PVEAuditor on /pool/prod — the row the plan token's privsep intersects with". I took that branch rather than splitting the row: it is the smaller edit, and it leaves the shape the other two rows use. Evidence from pvesh get /access/acl on burns: /pool/prod user infra-ci@pve PVEAuditor propagate=1, and no /pool/prod row at all for infra-ci@pve!pre — the user's row is the only /pool/prod grant that credential pair holds, which is what :146 already stated in prose.

Verification, at the pushed revision

  • git archive HEAD into a fresh directory, then mise exec -- make check → rc 0, 70 ok lines, 0 FAIL, closing line env fetch: every case passed.
  • mise exec -- tofu fmt -check -recursive → rc 0 (docs-only; nothing moved).
  • Render: POST /api/v1/markdown (context olympus/infra-secrets) → 200, 17 203 bytes, three tables each with a constant cell count per row; the user alone also holds PVEAuditor on /pool/prod and infra-tofu@pve!infra — the Operator's apply token present; infra-ci@pve!infra and with the two tokens the jobs hold gone.
  • Served copy: GET /repos/olympus/infra-secrets/raw/docs/proxmox-credentials.md?ref=3832756 → 12 887 bytes, byte-identical to the pushed file, sha256 0366d90a….
  • The commit publishes no statuses (/commits/<sha>/status → total_count: 0): this repo has no .forgejo/workflows, unchanged by this round.

Self-review. code-review's two axes were run by me, in sequence, in one context — no sub-agent CLI (claude, codex, agent) exists on this host, so the passes were mine, not parallel children. Spec: both clearings are the review's own, both taken, nothing wider — the diff is 4 added and 3 removed lines in one file. Standards: the repo documents no prose rule (AGENTS.md and docs/agents/ govern the tracker, the labels and the domain docs, not how a page is written), the new prose lines run 81 and 65 columns against the page's 75–86, and the table row keeps its two-cell shape.

Not verified, and why. The review's list stands for everything that needs a credential value: the 200/403 pair, the plan token's /pools/prod read, tofu plan → No changes., the two age files' decryption, and whether olympus/infra-tracker's PROXMOX_VE_API_TOKEN holds the pre token's value. This host has no ~/.secrets/proxmox/. What I could measure from here is metadata — the two token lists and the ACL above — and that is exactly what A1 and A2 turn on.

Nothing disagreed with, nothing left alone.

<!-- fix-meta repo=olympus/infra-secrets pr=13 head=3832756a0a69023ddb0f0d7561701f2d6ad60b30 round=2/5 disposition=fixed --> **Fix round — head `3832756`** The ask was inferred, and this is not a blocker round. The standing review (`bot-minos`, id 295, `official`, `round=2/5`) is an **APPROVE** with `blockers: 0` and two carried advisories; `pit` then posted *"Fix advisories"* and moved `review/merge-ready` → `review/needs-fix` 12 s later. So this round works A1 and A2 and nothing else. | finding | severity | verdict | commit | | --- | --- | --- | --- | | A1 — `:129` names `infra-ci@pve!infra`, a credential that does not exist; `:126` calls both tokens "the jobs hold" | ADVISORY | **fixed** | `3832756` | | A2 — the `infra-ci@pve` row omits the user's `PVEAuditor` on `/pool/prod` | ADVISORY | **fixed** | `3832756` | **A1.** `# infra-ci@pve!infra` → `# infra-tofu@pve!infra`, and the preamble now says which half of the run used which: *"the PROD half with the Operator's apply token, the PRE half with the token the tracker's job holds"*. Measured on `burns`, read-only: `pvesh get /access/users/infra-ci@pve/token` → `pre`, `plan`; `pvesh get /access/users/infra-tofu@pve/token` → `infra`, its comment `PROD apply: /pool/prod, the storages and /nodes`. WR-40's steps 3 and 7 and `scripts/tests/run.sh` spell the apply token `infra-tofu@pve!infra` too, and `grep -rn 'infra-ci@pve!infra'` over the tree now returns nothing. **A2.** The row keeps its combined user+token shape and carries the sixth grant, marked as the user's alone: *"**the user alone** also holds `PVEAuditor` on `/pool/prod` — the row the plan token's `privsep` intersects with"*. I took that branch rather than splitting the row: it is the smaller edit, and it leaves the shape the other two rows use. Evidence from `pvesh get /access/acl` on `burns`: `/pool/prod user infra-ci@pve PVEAuditor propagate=1`, and no `/pool/prod` row at all for `infra-ci@pve!pre` — the user's row is the only `/pool/prod` grant that credential pair holds, which is what `:146` already stated in prose. **Verification, at the pushed revision** - `git archive HEAD` into a fresh directory, then `mise exec -- make check` → **rc 0**, 70 `ok` lines, 0 `FAIL`, closing line `env fetch: every case passed.` - `mise exec -- tofu fmt -check -recursive` → rc 0 (docs-only; nothing moved). - Render: `POST /api/v1/markdown` (context `olympus/infra-secrets`) → 200, 17 203 bytes, three tables each with a constant cell count per row; `the user alone also holds PVEAuditor on /pool/prod` and `infra-tofu@pve!infra — the Operator's apply token` present; `infra-ci@pve!infra` and `with the two tokens the jobs hold` gone. - Served copy: `GET /repos/olympus/infra-secrets/raw/docs/proxmox-credentials.md?ref=3832756` → 12 887 bytes, **byte-identical** to the pushed file, `sha256 0366d90a…`. - The commit publishes no statuses (`/commits/<sha>/status` → `total_count: 0`): this repo has no `.forgejo/workflows`, unchanged by this round. **Self-review.** `code-review`'s two axes were run by me, in sequence, in one context — no sub-agent CLI (`claude`, `codex`, `agent`) exists on this host, so the passes were mine, not parallel children. Spec: both clearings are the review's own, both taken, nothing wider — the diff is 4 added and 3 removed lines in one file. Standards: the repo documents no prose rule (`AGENTS.md` and `docs/agents/` govern the tracker, the labels and the domain docs, not how a page is written), the new prose lines run 81 and 65 columns against the page's 75–86, and the table row keeps its two-cell shape. **Not verified, and why.** The review's list stands for everything that needs a credential *value*: the 200/403 pair, the plan token's `/pools/prod` read, `tofu plan` → `No changes.`, the two age files' decryption, and whether `olympus/infra-tracker`'s `PROXMOX_VE_API_TOKEN` holds the `pre` token's value. This host has no `~/.secrets/proxmox/`. What I could measure from here is metadata — the two token lists and the ACL above — and that is exactly what A1 and A2 turn on. Nothing disagreed with, nothing left alone.
bot-minos approved these changes 2026-10-28 14:35:02 +00:00
bot-minos left a comment

Review — olympus/infra-secrets#13 · head 3832756 · round 1/5

Recommendation: merge

Docs-only: docs/proxmox-credentials.md, +96/−59 against main, one file. Spec: WR-40 (Vikunja task 155, workshop project 5) — its description and both of its comments, the second later than the body and carrying the recorded deviations, so the acceptance criteria are read through it. Standards: standards: no repo conventions found for prose — AGENTS.md and docs/agents/ govern the tracker, the labels and the domain docs, there is no CONTRIBUTING.md — so that axis is judged by the org ADRs and the family's own register, and I say so below.

The dispatch named 3832756; refs/pull/13/head was 3832756 when this pass started and again before this report was composed. The timeline already holds two reviews (293, round 1/5 REQUEST_CHANGES; 295, round 2/5 APPROVED). This pass reads the whole change against the merge base ed2009b rather than only the last delta, and re-verifies both earlier reviews' closures from the artifacts, not from their prose.

Spec

A1 · ADVISORY · :21-25 — the four custom roles are counted and named, and none of their privileges is recorded

The preamble now asserts what a rebuild must create: "four custom roles, and a rebuild creates every one (special: 0 on each in pvesh get /access/roles)". The count and the names are right — pvesh get /access/roles on burns returns exactly four special: 0 roles — but neither this page nor any repository in the family records what three of them contain except through the name:

TofuSdnUse            SDN.Use
TofuDatastoreAudit    Datastore.Audit
TofuSysAccessNetwork  Sys.AccessNetwork
TofuDownload          Sys.AccessNetwork,Sys.Modify

TofuSdnUse, TofuDatastoreAudit and TofuSysAccessNetwork read out of their names. TofuDownload does not, and Sys.AccessNetwork,Sys.Modify appears nowhere: git grep over the five repos at main finds that name only in infra-forge/.forgejo/workflows/pr-checks.yml, in infra-forge/docs/actions/runner-and-workflows.md (which records TofuDatastoreAudit's privileges and not TofuDownload's) and in this page. A rebuild that creates the role from this record has to guess, and a wrong guess is a token with a reach nobody intended — the thing the page exists to prevent. This is the sentence that makes role creation part of the record; before it the page named two of the roles in passing.

Clearing: one line per role in that paragraph (TofuDownload — Sys.AccessNetwork, Sys.Modify; and the other three), or a pointer to where the four are defined.

Standards

No finding. AGENTS.md and docs/agents/{domain,issue-tracker,triage-labels}.md bind the tracker, the labels and the domain docs, not how a page is written; the repo has no CONTRIBUTING.md and no coding-standards file. What I checked:

  • ADR-0007 read from the forge at main (olympus/workshop, docs/adr/0007-a-secrets-path-names-what-it-belongs-to.md:26-38): "A segment never fuses two axes into one word", and "The repository that consumes a secret never appears in its path: consumption is not ownership". The paraphrase at :92 compresses both and misstates neither.
  • Widths: every line over 84 columns is a table row (34, 35, 36, 56, 57, 58, 59, 60, 88, 89 — unwrapped, as before); no prose line exceeds 84.
  • Links: both relative targets resolve at head, docs/store-layout.md and docs/store-identity.md; there are no in-page fragments, so no anchor to check.
  • Render: POST /api/v1/markdown (context olympus/infra-secrets) → 200, 17 203 bytes; three tables with a constant cell count per body row (2×4 rows, 4×5 rows, 4×2 rows); eight heading ids; every new clause present (four custom roles, seven containers, v0.95.0, no row on, not a command, the user alone) and every stale one gone (five of the six still do not, supports the field from 0.116, two custom roles, infra-ci@pve!infra, with the two tokens the jobs hold).

Rounds 1 and 2, re-verified from the artifacts

prior finding verdict what I read
SPEC-1 (BLOCKER, r1) — the page said both that five of six Stacks lack pool_id and that they declare it resolved six Stack directories, seven containers: forgejo/guest/container.tf:20 with pre.tf:13, semaphore/guest/container.tf:28, silo/guest/container.tf:21, modules/guest/container.tf:28 (used by vikunja/guest and test/guest/main.tf:45), bao/guest/container.tf:28. Five prod Stacks carry ignore_changes (forge:67, semaphore:85, silo:92, tracker:81, bao:74); exactly three carry prevent_destroy (silo:79, semaphore:83, bao:83)
SPEC-2 (ADV, r1) — two custom roles counted, four used resolved four special: 0 roles, the four named at :21-24; no built-in roleid spelled SDN.Use, Datastore.Audit or Sys.AccessNetwork
SPEC-3 (ADV, r1) — the plan token's home named credentials that are not copies of it resolved PROXMOX_VE_PLAN_API_TOKEN occurs once across the family's workflows: infra-forge/.forgejo/workflows/pr-checks.yml:95
SPEC-4 (ADV, r1) — the refusal measurement was the apply token's resolved :135-137 labels the PRE line not a command; :144-148 claims exclusion by ACL
A1 (ADV, r2) — :129 named infra-ci@pve!infra resolved :130 now reads infra-tofu@pve!infra; /access/acl has no infra-ci@pve!infra row, and pvesh get /access/users/infra-ci@pve/token lists pre and plan only
A2 (ADV, r2) — the user's PVEAuditor on /pool/prod was missing resolved :35 carries it; /pool/prod user infra-ci@pve PVEAuditor

Verified, and how

Read-only over ssh burns, metadata only — no token value was read, written or printed:

  • pvesh get /access/acl, all 25 rows, user and token read apart, match the credentials table cell for cell: infra-tofu@pve and !infra — PVEAdmin on /pool/prod, PVEDatastoreAdmin on both storages, TofuDownload on /nodes, TofuSdnUse on /sdn/zones, no /vms; infra-ci@pve and !pre — PVEAdmin on /pool/pre, PVEDatastoreUser on fast-storage, TofuDatastoreAudit on synology, TofuSysAccessNetwork on /nodes, TofuSdnUse on /sdn/zones, and the user alone PVEAuditor on /pool/prod; !plan — PVEAuditor on /pool/prod, TofuDatastoreAudit on both storages; root@pam!omp — PVEAdmin on /. No /vms row for any of them.
  • Read as privsep pairs, every token row's grant is matched by its user's own row, so the table rebuilds as written — which is the property :150-155 states.
  • pvesh get /access/users/<user>/token: infra, pre, plan, omp, each privsep 1 and expire 0 — :29, :152, :159; root@pam lists omp alone — :184.
  • pvesh get /pools → prod, pre; /pools/prod members exactly [141,142,143,144,150]; /pools/pre empty. 45 guests on the cluster, 100 outside any pool and 144 in prod, which are the 200/403 pair's targets.
  • pvesh get /access/roles → exactly four special: 0, with the privileges quoted in A1.
  • Provider source at the tags: proxmoxtf/resource/container/container.go carries mkPoolID with ForceNew: true at v0.95.0:915-921 and v0.117.0:1034, and no d.Set(mkPoolID…) in either — :106-112 is exact. proxmox_pool_membership imports as {pool_id}/{type}/{member_id} (examples/resources/proxmox_pool_membership/import.sh at v0.117.0), which is :116's <pool>/vm/<vmid>.
  • Locks at each repo's main: 0.115.0 (infra-forge/forgejo/guest), 0.116.0 twice (infra-tracker), 0.116.1 (infra-silo, infra-semaphore), 0.117.0 here — :107-108.
  • The tracker's execute job (infra-tracker/.forgejo/workflows/checks.yaml:166-196, if: pull_request) holds secrets.PROXMOX_VE_API_TOKEN and applies test/guest, which declares pool_id = "pre" (test/guest/main.tf:45); run 20, pull_request, started 2026-10-28T14:16:59Z, success.
  • "four repository .env files" (:163): four env.map files map the pair (infra-forge:47, infra-silo:60, infra-tracker:68, infra-secrets:28); infra-semaphore declares it in .env.example and maps it nowhere, so four is the count the mechanism supports.
  • mise exec -- make check at 3832756, in a worktree at the pushed revision → rc 0, env fetch: every case passed., no FAIL — the body's claim, reproduced.

Checked and accepted

WR-40's fifth criterion — git grep -n 'root@pam!omp\|root@pam!tofu-plan' across the five repos returns nothing — cannot hold while this page exists: :37, :45 and :182 must name both to record which survived. At the five repos' main the grep returns this file only, and root@pam!tofu-plan is gone from the cluster. Over-broad against the record's own job, so not charged to the change.

Not verified, and why

Everything that needs a credential value: the 200/403 pair with a live token, tofu plan → No changes., the plan token's /pools/prod read, make pre/pre-down, and whether either age file decrypts to both names. /home/hermes/.secrets on this host holds age/ and bao/ only — no proxmox/ — so those rows stand on WR-40's dated read (2026-10-28T14:15:55Z) and on the ACL that makes them possible, which I did read; I do not present the ACL as the measurement. Two more are unobservable from anywhere: that olympus/infra-tracker's PROXMOX_VE_API_TOKEN holds the pre token's value (a repository secret is write-only), and "nothing … on the agent host names" root@pam!omp (:46) — I read the five repositories, not the agent host.

Summary

axis findings worst
Spec 1, ADVISORY A1 — the record says a rebuild creates four custom roles and records none of their privileges, and TofuDownload's Sys.AccessNetwork,Sys.Modify is not implied by its name
Standards 0 —

One advisory, below the volume trip, so the recommendation is merge and it travels as advice. No blocker, so the state is APPROVE and the label moves to review/merge-ready.

<!-- minos review-loop: repo=olympus/infra-secrets pr=13 head=3832756a0a69023ddb0f0d7561701f2d6ad60b30 round=1/5 axes=standards,spec --> **Review — `olympus/infra-secrets#13` · head `3832756` · round 1/5** Recommendation: merge Docs-only: `docs/proxmox-credentials.md`, +96/−59 against `main`, one file. Spec: **WR-40** (Vikunja task 155, workshop project 5) — its description and both of its comments, the second later than the body and carrying the recorded deviations, so the acceptance criteria are read through it. Standards: `standards: no repo conventions found` for prose — `AGENTS.md` and `docs/agents/` govern the tracker, the labels and the domain docs, there is no `CONTRIBUTING.md` — so that axis is judged by the org ADRs and the family's own register, and I say so below. The dispatch named `3832756`; `refs/pull/13/head` was `3832756` when this pass started and again before this report was composed. The timeline already holds two reviews (293, round 1/5 `REQUEST_CHANGES`; 295, round 2/5 `APPROVED`). This pass reads the whole change against the merge base `ed2009b` rather than only the last delta, and re-verifies both earlier reviews' closures from the artifacts, not from their prose. ## Spec ### A1 · ADVISORY · `:21-25` — the four custom roles are counted and named, and none of their privileges is recorded The preamble now asserts what a rebuild must create: "**four custom roles, and a rebuild creates every one** (`special: 0` on each in `pvesh get /access/roles`)". The count and the names are right — `pvesh get /access/roles` on `burns` returns exactly four `special: 0` roles — but neither this page nor any repository in the family records what three of them contain except through the name: ``` TofuSdnUse SDN.Use TofuDatastoreAudit Datastore.Audit TofuSysAccessNetwork Sys.AccessNetwork TofuDownload Sys.AccessNetwork,Sys.Modify ``` `TofuSdnUse`, `TofuDatastoreAudit` and `TofuSysAccessNetwork` read out of their names. `TofuDownload` does not, and `Sys.AccessNetwork,Sys.Modify` appears nowhere: `git grep` over the five repos at `main` finds that name only in `infra-forge/.forgejo/workflows/pr-checks.yml`, in `infra-forge/docs/actions/runner-and-workflows.md` (which records `TofuDatastoreAudit`'s privileges and not `TofuDownload`'s) and in this page. A rebuild that creates the role from this record has to guess, and a wrong guess is a token with a reach nobody intended — the thing the page exists to prevent. This is the sentence that makes role creation part of the record; before it the page named two of the roles in passing. **Clearing:** one line per role in that paragraph (`TofuDownload` — `Sys.AccessNetwork`, `Sys.Modify`; and the other three), or a pointer to where the four are defined. ## Standards No finding. `AGENTS.md` and `docs/agents/{domain,issue-tracker,triage-labels}.md` bind the tracker, the labels and the domain docs, not how a page is written; the repo has no `CONTRIBUTING.md` and no coding-standards file. What I checked: - **ADR-0007** read from the forge at `main` (`olympus/workshop`, `docs/adr/0007-a-secrets-path-names-what-it-belongs-to.md:26-38`): "A segment never fuses two axes into one word", and "The repository that consumes a secret never appears in its path: consumption is not ownership". The paraphrase at `:92` compresses both and misstates neither. - **Widths:** every line over 84 columns is a table row (34, 35, 36, 56, 57, 58, 59, 60, 88, 89 — unwrapped, as before); no prose line exceeds 84. - **Links:** both relative targets resolve at head, `docs/store-layout.md` and `docs/store-identity.md`; there are no in-page fragments, so no anchor to check. - **Render:** `POST /api/v1/markdown` (context `olympus/infra-secrets`) → 200, 17 203 bytes; three tables with a constant cell count per body row (2×4 rows, 4×5 rows, 4×2 rows); eight heading ids; every new clause present (`four custom roles`, `seven containers`, `v0.95.0`, `no row on`, `not a command`, `the user alone`) and every stale one gone (`five of the six still do not`, `supports the field from 0.116`, `two custom roles`, `infra-ci@pve!infra`, `with the two tokens the jobs hold`). ## Rounds 1 and 2, re-verified from the artifacts | prior finding | verdict | what I read | | --- | --- | --- | | SPEC-1 (BLOCKER, r1) — the page said both that five of six Stacks lack `pool_id` and that they declare it | resolved | six Stack directories, seven containers: `forgejo/guest/container.tf:20` with `pre.tf:13`, `semaphore/guest/container.tf:28`, `silo/guest/container.tf:21`, `modules/guest/container.tf:28` (used by `vikunja/guest` and `test/guest/main.tf:45`), `bao/guest/container.tf:28`. Five `prod` Stacks carry `ignore_changes` (`forge:67`, `semaphore:85`, `silo:92`, `tracker:81`, `bao:74`); exactly three carry `prevent_destroy` (`silo:79`, `semaphore:83`, `bao:83`) | | SPEC-2 (ADV, r1) — two custom roles counted, four used | resolved | four `special: 0` roles, the four named at `:21-24`; no built-in `roleid` spelled `SDN.Use`, `Datastore.Audit` or `Sys.AccessNetwork` | | SPEC-3 (ADV, r1) — the plan token's home named credentials that are not copies of it | resolved | `PROXMOX_VE_PLAN_API_TOKEN` occurs once across the family's workflows: `infra-forge/.forgejo/workflows/pr-checks.yml:95` | | SPEC-4 (ADV, r1) — the refusal measurement was the apply token's | resolved | `:135-137` labels the PRE line `not a command`; `:144-148` claims exclusion by ACL | | A1 (ADV, r2) — `:129` named `infra-ci@pve!infra` | resolved | `:130` now reads `infra-tofu@pve!infra`; `/access/acl` has no `infra-ci@pve!infra` row, and `pvesh get /access/users/infra-ci@pve/token` lists `pre` and `plan` only | | A2 (ADV, r2) — the user's `PVEAuditor` on `/pool/prod` was missing | resolved | `:35` carries it; `/pool/prod user infra-ci@pve PVEAuditor` | ## Verified, and how Read-only over `ssh burns`, metadata only — no token value was read, written or printed: - `pvesh get /access/acl`, all 25 rows, user and token read apart, match the credentials table cell for cell: `infra-tofu@pve` and `!infra` — `PVEAdmin` on `/pool/prod`, `PVEDatastoreAdmin` on both storages, `TofuDownload` on `/nodes`, `TofuSdnUse` on `/sdn/zones`, no `/vms`; `infra-ci@pve` and `!pre` — `PVEAdmin` on `/pool/pre`, `PVEDatastoreUser` on `fast-storage`, `TofuDatastoreAudit` on `synology`, `TofuSysAccessNetwork` on `/nodes`, `TofuSdnUse` on `/sdn/zones`, and the user alone `PVEAuditor` on `/pool/prod`; `!plan` — `PVEAuditor` on `/pool/prod`, `TofuDatastoreAudit` on both storages; `root@pam!omp` — `PVEAdmin` on `/`. No `/vms` row for any of them. - Read as `privsep` pairs, every token row's grant is matched by its user's own row, so the table rebuilds as written — which is the property `:150-155` states. - `pvesh get /access/users/<user>/token`: `infra`, `pre`, `plan`, `omp`, each `privsep 1` and `expire 0` — `:29`, `:152`, `:159`; `root@pam` lists `omp` alone — `:184`. - `pvesh get /pools` → `prod`, `pre`; `/pools/prod` members exactly `[141,142,143,144,150]`; `/pools/pre` empty. 45 guests on the cluster, 100 outside any pool and 144 in `prod`, which are the 200/403 pair's targets. - `pvesh get /access/roles` → exactly four `special: 0`, with the privileges quoted in A1. - Provider source at the tags: `proxmoxtf/resource/container/container.go` carries `mkPoolID` with `ForceNew: true` at `v0.95.0:915-921` and `v0.117.0:1034`, and no `d.Set(mkPoolID…)` in either — `:106-112` is exact. `proxmox_pool_membership` imports as `{pool_id}/{type}/{member_id}` (`examples/resources/proxmox_pool_membership/import.sh` at `v0.117.0`), which is `:116`'s `<pool>/vm/<vmid>`. - Locks at each repo's `main`: `0.115.0` (`infra-forge/forgejo/guest`), `0.116.0` twice (`infra-tracker`), `0.116.1` (`infra-silo`, `infra-semaphore`), `0.117.0` here — `:107-108`. - The tracker's `execute` job (`infra-tracker/.forgejo/workflows/checks.yaml:166-196`, `if: pull_request`) holds `secrets.PROXMOX_VE_API_TOKEN` and applies `test/guest`, which declares `pool_id = "pre"` (`test/guest/main.tf:45`); run 20, `pull_request`, started 2026-10-28T14:16:59Z, `success`. - "four repository `.env` files" (`:163`): four `env.map` files map the pair (`infra-forge:47`, `infra-silo:60`, `infra-tracker:68`, `infra-secrets:28`); `infra-semaphore` declares it in `.env.example` and maps it nowhere, so four is the count the mechanism supports. - `mise exec -- make check` at `3832756`, in a worktree at the pushed revision → **rc 0**, `env fetch: every case passed.`, no `FAIL` — the body's claim, reproduced. ## Checked and accepted WR-40's fifth criterion — `git grep -n 'root@pam!omp\|root@pam!tofu-plan'` across the five repos returns nothing — cannot hold while this page exists: `:37`, `:45` and `:182` must name both to record which survived. At the five repos' `main` the grep returns this file only, and `root@pam!tofu-plan` is gone from the cluster. Over-broad against the record's own job, so not charged to the change. ## Not verified, and why Everything that needs a credential **value**: the 200/403 pair with a live token, `tofu plan` → `No changes.`, the plan token's `/pools/prod` read, `make pre`/`pre-down`, and whether either age file decrypts to both names. `/home/hermes/.secrets` on this host holds `age/` and `bao/` only — no `proxmox/` — so those rows stand on WR-40's dated read (2026-10-28T14:15:55Z) and on the ACL that makes them possible, which I did read; I do not present the ACL as the measurement. Two more are unobservable from anywhere: that `olympus/infra-tracker`'s `PROXMOX_VE_API_TOKEN` holds the `pre` token's value (a repository secret is write-only), and "nothing … on the agent host names" `root@pam!omp` (`:46`) — I read the five repositories, not the agent host. ## Summary | axis | findings | worst | | --- | --- | --- | | Spec | 1, ADVISORY | A1 — the record says a rebuild creates four custom roles and records none of their privileges, and `TofuDownload`'s `Sys.AccessNetwork,Sys.Modify` is not implied by its name | | Standards | 0 | — | One advisory, below the volume trip, so the recommendation is merge and it travels as advice. No blocker, so the state is `APPROVE` and the label moves to `review/merge-ready`.
pit merged commit ae7b83dca1 into main 2026-10-28 15:21:33 +00:00
pit deleted branch wr39/proxmox-record 2026-10-28 15:21:33 +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-secrets!13
No description provided.