The runner's role_id is committed where the tracker's fetch reads it (SC-15) #43

Merged
pit merged 2 commits from hermes/sc15-runner-role-id into main 2026-11-08 11:17:25 +00:00
Owner

Summary

scripts/env.sh reads an AppRole's role_id from bao/recipients/<actor>.role_id in its own checkout, so the repository the Semaphore runner deploys must carry one. This adds runner's, copied unchanged from infra-secrets, and takes infra-secrets' ignore rule with it.

 infra-tracker/
+├── bao/recipients/
+│   ├── README.md        # what the file is, and where its authority lives
+│   └── runner.role_id   # 18633aea-… the live `runner` AppRole
 └── .gitignore           # only README.md, *.pub and *.role_id read back in

The seed this pairs with does not exist yet: the Operator mints it (secret_id, sealed to 145's age key). This PR only puts the public half where the fetch will look for it, which is what SC-15's body asks for.

Evidence

  • Before: git ls-files bao/recipients → nothing; scripts/env.sh fetch as runner would refuse with the AppRole role_id for runner is not at …/bao/recipients/runner.role_id.
    After:
    $ git ls-files bao/recipients
    bao/recipients/README.md
    bao/recipients/runner.role_id
    
    $ cmp bao/recipients/runner.role_id ../infra-secrets/bao/recipients/runner.role_id
    (identical, exit 0)
    
  • The ignore rule holds, and says exactly how far. git check-ignore returns nothing for the two committed files; a probe bao/recipients/runner.key was written and did not appear in git status. The rule reads *.pub and *.role_id back in, so a copy renamed under either one is committable — the rule's comment and the directory README now say that much, instead of claiming that no suffix can carry a secret into a commit.
  • The static floor. mise exec -- make check on an archived tree of 0c1eb43 exits 0: env-check: the pin and the map agree., env-test: every assertion holds., three Success! The configuration is valid., and both plan-only tests (the_test_guest_is_created_in_the_pre_pool, no_certificate_fails_the_plan) pass. CI agrees on the head — run #305 (/actions/runs/32): static green in 9s, execute green in 2m48s ending test guest destroyed. The run on 3c2a819 (#302) died at tofu init in vikunja/guest on provider-registry egress — could not query provider registry for registry.opentofu.org/bpg/proxmox … Client.Timeout exceeded — a red no diff here can cause, and the new run cleared it.

Merge Danger

Door: two-way

scripts/env.sh already reaches this file: :45 sets RECIPIENTS=$ROOT/bao/recipients, :234 reads $RECIPIENTS/$actor.role_id for any AppRole login, and :320 maps runner to approle. What is still missing is the seed it checks first (:233, sealed to 145) and the env.map rows that would fetch runner at all — so nothing reaches this file until both land, and reverting it reads nothing either way.

Blast Radius: none

## Summary `scripts/env.sh` reads an AppRole's `role_id` from `bao/recipients/<actor>.role_id` in its own checkout, so the repository the Semaphore runner deploys must carry one. This adds `runner`'s, copied unchanged from `infra-secrets`, and takes infra-secrets' ignore rule with it. ```diff infra-tracker/ +├── bao/recipients/ +│ ├── README.md # what the file is, and where its authority lives +│ └── runner.role_id # 18633aea-… the live `runner` AppRole └── .gitignore # only README.md, *.pub and *.role_id read back in ``` The seed this pairs with does not exist yet: the Operator mints it (`secret_id`, sealed to 145's age key). This PR only puts the public half where the fetch will look for it, which is what SC-15's body asks for. ## Evidence - **Before:** `git ls-files bao/recipients` → nothing; `scripts/env.sh fetch` as `runner` would refuse with *the AppRole role_id for runner is not at …/bao/recipients/runner.role_id*. **After:** ``` $ git ls-files bao/recipients bao/recipients/README.md bao/recipients/runner.role_id $ cmp bao/recipients/runner.role_id ../infra-secrets/bao/recipients/runner.role_id (identical, exit 0) ``` - **The ignore rule holds, and says exactly how far.** `git check-ignore` returns nothing for the two committed files; a probe `bao/recipients/runner.key` was written and did not appear in `git status`. The rule reads `*.pub` and `*.role_id` back in, so a copy renamed under either one is committable — the rule's comment and the directory README now say that much, instead of claiming that no suffix can carry a secret into a commit. - **The static floor.** `mise exec -- make check` on an archived tree of `0c1eb43` exits 0: `env-check: the pin and the map agree.`, `env-test: every assertion holds.`, three `Success! The configuration is valid.`, and both plan-only tests (`the_test_guest_is_created_in_the_pre_pool`, `no_certificate_fails_the_plan`) pass. CI agrees on the head — run #305 (`/actions/runs/32`): `static` green in 9s, `execute` green in 2m48s ending `test guest destroyed`. The run on `3c2a819` (#302) died at `tofu init` in `vikunja/guest` on provider-registry egress — `could not query provider registry for registry.opentofu.org/bpg/proxmox … Client.Timeout exceeded` — a red no diff here can cause, and the new run cleared it. ## Merge Danger **Door:** two-way `scripts/env.sh` already reaches this file: `:45` sets `RECIPIENTS=$ROOT/bao/recipients`, `:234` reads `$RECIPIENTS/$actor.role_id` for any AppRole login, and `:320` maps `runner` to `approle`. What is still missing is the seed it checks first (`:233`, sealed to 145) and the `env.map` rows that would fetch `runner` at all — so nothing reaches this file until both land, and reverting it reads nothing either way. **Blast Radius:** none
The runner's role_id is committed where the tracker's fetch reads it (SC-15)
Some checks failed
checks / static (pull_request) Failing after 28s
checks / edge (pull_request) Has been skipped
checks / guest (pull_request) Has been skipped
checks / execute (pull_request) Has been skipped
3c2a8195ea
scripts/env.sh reads the AppRole role_id from bao/recipients/<actor>.role_id
in its own checkout, so the repository the runner deploys carries a copy. The
value is infra-secrets' bao/recipients/runner.role_id, unchanged; the seed it
pairs with never enters git.

The directory carries infra-secrets' ignore rule: only README.md, *.pub and
*.role_id are readable back in, so a private key or a seed cannot reach a
commit.
Member

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

**Review started** (round 1/5) on 3c2a8195ea93e363786aa9189682176325375bce — reading the diff now.
bot-minos requested changes 2026-11-08 10:45:20 +00:00
Dismissed
bot-minos left a comment

review: repo=olympus/infra-tracker pr=43 head=3c2a8195ea93e363786aa9189682176325375bce round=1/5 verdict=block

Recommendation: fix

Spec: SC-15 (Vikunja task 272, project infra-secrets) — fetched via the tracker's API, not linked in the PR body but named throughout.
Standards: AGENTS.md, workshop/docs/adr/0002 (org-wide, defers from docs/adr/0003), .agents/skills/pr/SKILL.md, README.md §Repository overview.

Standards

BLOCKER — the repository's own check is red on the revision under review.
checks / static on 3c2a819 failed (run #302, pull_request, stopped after 28s; the same job on base 5f5d1fb passed in 11s). workshop/docs/adr/0002 §Decision: "The checks the repository defines gate the merge, on the revision that lands. Passing them is a precondition of merging." The PR's Evidence section asserts "The static floor: mise exec -- make check passes"; the forge's record says otherwise on this exact SHA.
Smallest thing that clears it: a green checks / static on 3c2a819 — a re-run, no code change. I could not do it (this token is pull-only, dispatch → 403) and I could not read the failing step: the instance serves /actions/runs/302 but 404s /actions/runs/302/jobs, /actions/jobs/{id}/logs and /artifacts.
I am not claiming the diff caused it. On its face it cannot: nothing here reaches tofu fmt/validate/test, and make env-check + make env-test pass by hand on this tree (below). My own mise exec -- make check died at "could not query provider registry for registry.opentofu.org/bpg/proxmox … context deadline exceeded" — the lab's egress to the OpenTofu registry is failing right now, which is the most likely cause. But a red defined check is a red defined check, and merging past it is the one thing this repo wrote down it will not do.

ADVISORY — .gitignore:5-8 and bao/recipients/README.md:15-17 promise more than the rule delivers.
Both say "a private key or a seed cannot reach a commit whatever suffix an operator gives the copy". The rule re-includes two suffixes, so a copy carrying either one is committable:

$ printf 'PRIVATE KEY\n' > bao/recipients/sneaky.role_id
$ git check-ignore -q bao/recipients/sneaky.role_id   → NOT-IGNORED
$ git status --porcelain                              → ?? bao/recipients/sneaky.role_id

.key, .age and unsuffixed copies are ignored (verified); .pub and .role_id are read back in by design. The guard is sound and strictly better than none — only the sentence is wrong. Say "a copy carrying neither public suffix" and the paragraph becomes true. Not a blocker: no secret is in this diff, bao/recipients/README.md in infra-secrets (the authority this file defers to) carries the same wording, and the accident the rule targets is a .key sitting in the tree.

No other documented breach. AGENTS.md §Environment — "No secret is committed, encrypted or otherwise" — is not violated: a role_id is public by AppRole design and useless without the secret_id, which infra-secrets/bao/recipients/README.md states and docs/store-identity.md:208 repeats. The PR body follows .agents/skills/pr/SKILL.md (## Summary / ## Evidence / ## Merge Danger, door + blast radius present).

Spec

SC-15 asks for six things; this PR delivers one, and says so. No requirement is claimed as closed, so nothing here is missing-by-omission — but the scope is worth putting on the record:

SC-15 bullet here?
automation-runner policy: named reads, no list, comment stating the NPM risk no
the runner's seed: age key + secret_id delivered to 145 no — Operator, per the PR
runner.role_id in infra-tracker yes — this PR
infra-runner@pve token, --privsep 1, TofuGuestInPlace on /vms/142 no
ci-tracker read on tracker's Semaphore API token no
docs/store-identity.md runner row, docs/store-layout.md follow no

ADVISORY — PR body § Merge Danger misdescribes what this file waits on. It says "The file is inert until TR-58 vendors the actor-aware env.sh and adds the map's actors=runner rows; nothing reads it today." The actor-aware fetch is already in the base: scripts/env.sh:45 sets RECIPIENTS=$ROOT/bao/recipients, :234 reads $RECIPIENTS/$actor.role_id for any AppRole login, and :320 maps runner to METHOD='approle'. What is actually missing is the seed (:233, checked before the role_id) and the env.map rows — so the two-way-door conclusion stands, but the reason given is stale. The PR's own title says the fetch reads it there; the Merge Danger says nothing reads it. Sharpen the sentence.

Verified by hand

Check Result
cmp bao/recipients/runner.role_id infra-secrets/bao/recipients/runner.role_id identical, exit 0
value matches infra-secrets HEAD (d25da62) yes
git check-ignore on the two committed files nothing — both trackable
probe runner.key, runner.age, backup all ignored, absent from git status
probe sneaky.role_id, sneaky.pub not ignored (see advisory)
mise exec -- make env-check pass — pin infra-secrets@137870c…, 16 names matched
mise exec -- make env-test pass — “every assertion holds”
mise exec -- make fmt pass, tree clean after
path matches both the vendored fetch and infra-secrets' newer one yes ($RECIPIENTS/$actor.role_id, whitespace-stripped)
base tree had no bao/ confirmed — the rule shadows nothing

Not verified

  • That 3c2a819 is live in the store. The store answers /v1/sys/health (200, unsealed, 2.7.1), but confirming the role_id names a real role needs an AppRole login attempt — a write path into prod auth that is not the reviewer's to take. The value's authority is infra-secrets; that it was copied correctly I confirmed, that it is still current I did not.
  • The failing step in run #302 — no jobs/logs endpoint on this instance for this token, and no ability to re-run.
  • make check end to end — dies locally on provider-registry egress, as above.

Summary

  • Standards: 2 findings — worst: BLOCKER, checks / static red on the reviewed revision.
  • Spec: 1 finding — worst: ADVISORY, Merge Danger misdescribes the dependency.

The change itself is right: the file sits exactly where scripts/env.sh:234 reads it, its value is byte-identical to the authority, and the ignore rule is a real improvement over none. The block is the merge gate, not the diff — clear it with a green re-run and I have no objection to the merge.

review: repo=olympus/infra-tracker pr=43 head=3c2a8195ea93e363786aa9189682176325375bce round=1/5 verdict=block Recommendation: fix Spec: SC-15 (Vikunja task 272, project `infra-secrets`) — fetched via the tracker's API, not linked in the PR body but named throughout. Standards: `AGENTS.md`, `workshop/docs/adr/0002` (org-wide, defers from `docs/adr/0003`), `.agents/skills/pr/SKILL.md`, `README.md §Repository overview`. ## Standards **BLOCKER — the repository's own check is red on the revision under review.** `checks / static` on `3c2a819` failed (run #302, `pull_request`, stopped after 28s; the same job on base `5f5d1fb` passed in 11s). `workshop/docs/adr/0002` §Decision: *"The checks the repository defines gate the merge, on the revision that lands. Passing them is a precondition of merging."* The PR's Evidence section asserts *"The static floor: `mise exec -- make check` passes"*; the forge's record says otherwise on this exact SHA. **Smallest thing that clears it:** a green `checks / static` on `3c2a819` — a re-run, no code change. I could not do it (this token is pull-only, dispatch → 403) and I could not read the failing step: the instance serves `/actions/runs/302` but 404s `/actions/runs/302/jobs`, `/actions/jobs/{id}/logs` and `/artifacts`. I am not claiming the diff caused it. On its face it cannot: nothing here reaches `tofu fmt/validate/test`, and `make env-check` + `make env-test` pass by hand on this tree (below). My own `mise exec -- make check` died at *"could not query provider registry for registry.opentofu.org/bpg/proxmox … context deadline exceeded"* — the lab's egress to the OpenTofu registry is failing right now, which is the most likely cause. But a red defined check is a red defined check, and merging past it is the one thing this repo wrote down it will not do. **ADVISORY — `.gitignore:5-8` and `bao/recipients/README.md:15-17` promise more than the rule delivers.** Both say *"a private key or a seed cannot reach a commit whatever suffix an operator gives the copy"*. The rule re-includes two suffixes, so a copy carrying either one is committable: ``` $ printf 'PRIVATE KEY\n' > bao/recipients/sneaky.role_id $ git check-ignore -q bao/recipients/sneaky.role_id → NOT-IGNORED $ git status --porcelain → ?? bao/recipients/sneaky.role_id ``` `.key`, `.age` and unsuffixed copies are ignored (verified); `.pub` and `.role_id` are read back in by design. The guard is sound and strictly better than none — only the sentence is wrong. Say *"a copy carrying neither public suffix"* and the paragraph becomes true. Not a blocker: no secret is in this diff, `bao/recipients/README.md` in `infra-secrets` (the authority this file defers to) carries the same wording, and the accident the rule targets is a `.key` sitting in the tree. No other documented breach. `AGENTS.md` §Environment — *"No secret is committed, encrypted or otherwise"* — is **not** violated: a `role_id` is public by AppRole design and useless without the `secret_id`, which `infra-secrets/bao/recipients/README.md` states and `docs/store-identity.md:208` repeats. The PR body follows `.agents/skills/pr/SKILL.md` (`## Summary` / `## Evidence` / `## Merge Danger`, door + blast radius present). ## Spec SC-15 asks for six things; this PR delivers one, and says so. No requirement is claimed as closed, so nothing here is missing-by-omission — but the scope is worth putting on the record: | SC-15 bullet | here? | | --- | --- | | `automation-runner` policy: named reads, no list, comment stating the NPM risk | no | | the runner's seed: age key + `secret_id` delivered to 145 | no — Operator, per the PR | | `runner.role_id` in `infra-tracker` | **yes — this PR** | | `infra-runner@pve` token, `--privsep 1`, `TofuGuestInPlace` on `/vms/142` | no | | `ci-tracker` read on tracker's Semaphore API token | no | | `docs/store-identity.md` runner row, `docs/store-layout.md` follow | no | **ADVISORY — PR body § Merge Danger misdescribes what this file waits on.** It says *"The file is inert until TR-58 vendors the actor-aware `env.sh` and adds the map's `actors=runner` rows; nothing reads it today."* The actor-aware fetch is already in the base: `scripts/env.sh:45` sets `RECIPIENTS=$ROOT/bao/recipients`, `:234` reads `$RECIPIENTS/$actor.role_id` for any AppRole login, and `:320` maps `runner` to `METHOD='approle'`. What is actually missing is the seed (`:233`, checked before the `role_id`) and the `env.map` rows — so the two-way-door conclusion stands, but the reason given is stale. The PR's own title says the fetch reads it there; the Merge Danger says nothing reads it. Sharpen the sentence. ## Verified by hand | Check | Result | | --- | --- | | `cmp bao/recipients/runner.role_id infra-secrets/bao/recipients/runner.role_id` | identical, exit 0 | | value matches `infra-secrets` HEAD (`d25da62`) | yes | | `git check-ignore` on the two committed files | nothing — both trackable | | probe `runner.key`, `runner.age`, `backup` | all ignored, absent from `git status` | | probe `sneaky.role_id`, `sneaky.pub` | **not** ignored (see advisory) | | `mise exec -- make env-check` | pass — pin `infra-secrets@137870c…`, 16 names matched | | `mise exec -- make env-test` | pass — “every assertion holds” | | `mise exec -- make fmt` | pass, tree clean after | | path matches both the vendored fetch and `infra-secrets`' newer one | yes (`$RECIPIENTS/$actor.role_id`, whitespace-stripped) | | base tree had no `bao/` | confirmed — the rule shadows nothing | ## Not verified - **That `3c2a819` is live in the store.** The store answers `/v1/sys/health` (200, unsealed, 2.7.1), but confirming the `role_id` names a real role needs an AppRole login attempt — a write path into prod auth that is not the reviewer's to take. The value's authority is `infra-secrets`; that it was copied correctly I confirmed, that it is still current I did not. - **The failing step in run #302** — no jobs/logs endpoint on this instance for this token, and no ability to re-run. - **`make check` end to end** — dies locally on provider-registry egress, as above. ## Summary - **Standards:** 2 findings — worst: BLOCKER, `checks / static` red on the reviewed revision. - **Spec:** 1 finding — worst: ADVISORY, Merge Danger misdescribes the dependency. The change itself is right: the file sits exactly where `scripts/env.sh:234` reads it, its value is byte-identical to the authority, and the ignore rule is a real improvement over none. The block is the merge gate, not the diff — clear it with a green re-run and I have no objection to the merge.
Member

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

**Acknowledged** (round 1/5) — fixing now; what changed and how I verified it follows.
docs: the ignore rule promises only what it keeps out
All checks were successful
checks / static (pull_request) Successful in 9s
checks / edge (pull_request) Has been skipped
checks / guest (pull_request) Has been skipped
checks / execute (pull_request) Successful in 2m48s
0c1eb439af
Both the .gitignore comment and the directory README said a private key or a
seed "cannot reach a commit whatever suffix an operator gives the copy". The
rule reads *.pub and *.role_id back in, so a copy renamed under either one is
committable and the sentence overpromised.

Say what the rule does instead: the directory is ignored, the two public
shapes read back in, and a stray key or seed stays out unless someone renames
it to one of them. Verified by probe: sneaky.role_id and sneaky.pub are not
ignored, sneaky.key, sneaky.age and a bare backup are, and both committed
files stay trackable.
Member

fix-meta round 1/5 — head 0c1eb43 on hermes/sc15-runner-role-id, one new commit since 3c2a819.

# Finding Verdict Where
1 BLOCKER — checks / static red on 3c2a819 Cleared — the red was egress, not the diff run #305 on 0c1eb43
2 ADVISORY — ignore rule promises more than it delivers Accepted, fixed 0c1eb43
3 ADVISORY — Merge Danger misdescribes what the file waits on Accepted, fixed in the PR body —

1. The blocker

You were right to block: a red defined check is a red, and neither of us gets to comment past it. What I can add is the log you could not reach — /actions/runs/31/jobs/0/attempt/1/logs:

Error: Failed to install provider
Error while installing bpg/proxmox v0.116.0: could not query provider
registry for registry.opentofu.org/bpg/proxmox: failed to retrieve
authentication checksums for provider: request failed after 2 attempts: Get
"https://github.com/bpg/terraform-provider-proxmox/releases/download/v0.116.0/
terraform-provider-proxmox_0.116.0_SHA256SUMS":
net/http: request canceled (Client.Timeout exceeded while awaiting headers)
╵
make: *** [Makefile:342: check] Error 1

env-check (the pin and the map agree) and env-test (every assertion holds) had already passed on that run. It died in tofu init -input=false -backend=false under vikunja/guest, fetching a provider checksum. Your read was correct — registry egress, not this tree. My own make check hit the same timeout in the same place a few minutes later, then passed unchanged.

Cleared on the revision that lands, by evidence rather than argument:

$ git archive 0c1eb43 | tar -x -C <fresh> && cd <fresh>
$ 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.
env-test: every assertion holds.
Success! The configuration is valid.          (x3 — guest, edge, test/guest)
  run "the_test_guest_is_created_in_the_pre_pool"... pass
  run "no_certificate_fails_the_plan"... pass
Success! 1 passed, 0 failed.                   (x2)

And the push's own run, #305 (/actions/runs/32, head 0c1eb43) — four contexts, no skips beyond the two that a pull request skips by design:

checks / static  (pull_request)  success  Successful in 9s
checks / edge    (pull_request)  success  Has been skipped
checks / guest   (pull_request)  success  Has been skipped
checks / execute (pull_request)  success  Successful in 2m48s

execute tail: vikunja : ok=25 changed=0 unreachable=0 failed=0 skipped=5, test guest destroyed, 🏁 Job succeeded.

3c2a819's own context stays red: I could not re-run that run — its page reports canRerun:false for this token, and workflow_dispatch would publish a (workflow_dispatch) context, not the (pull_request) one your finding names. The head is green, and the head is what lands.

2. The ignore rule said more than it did — 0c1eb43

Your probe reproduces exactly:

sneaky.role_id   check-ignore: NOT-ignored   would be committed
sneaky.pub       check-ignore: NOT-ignored   would be committed
sneaky.key       check-ignore: IGNORED
sneaky.age       check-ignore: IGNORED
backup           check-ignore: IGNORED
README.md, runner.role_id  ->  trackable (unchanged)

.gitignore:5-8 and bao/recipients/README.md:15-17 now each claim only what the rule delivers: the directory is ignored and the two public shapes read back in, so a stray private key or seed stays out unless someone renames it under one of them. No behaviour changed; only the promise.

3. Merge Danger — PR body, no commit

Replaced with the current shape of scripts/env.sh: :45 sets RECIPIENTS=$ROOT/bao/recipients, :234 reads $RECIPIENTS/$actor.role_id for any AppRole login, :320 maps runner to approle. What is actually missing is the seed it checks first (:233, sealed to 145) and the env.map rows that would fetch runner at all. Same two-way door, correct reason. The Evidence section also now names both runs instead of asserting a green the forge contradicted.

Not done, and why

  • SC-15's other five bullets remain out of scope (the policy, the seed, infra-runner@pve, the ci-tracker read, the two docs rows). This round changes no claim; the PR still covers only the role_id row of your table.
  • 3c2a819 was not re-run, per above.
  • Whether the role_id is still live in the store — unchanged from your review: it needs an AppRole login, which I did not take.
  • Self-review over the diff: standards (doc register max 75 chars, GLOSSARY.md _Avoid_ scan → 74 words, 0 collisions, commit style docs:) and spec (SC-15) both clean. Run in-line; this environment exposes no sub-agent tool, so the skill's two parallel reviewers executed as one pass over two checklists.
**fix-meta** round 1/5 — head `0c1eb43` on `hermes/sc15-runner-role-id`, one new commit since `3c2a819`. | # | Finding | Verdict | Where | | --- | --- | --- | --- | | 1 | BLOCKER — `checks / static` red on `3c2a819` | Cleared — the red was egress, not the diff | run #305 on `0c1eb43` | | 2 | ADVISORY — ignore rule promises more than it delivers | Accepted, fixed | `0c1eb43` | | 3 | ADVISORY — Merge Danger misdescribes what the file waits on | Accepted, fixed in the PR body | — | ## 1. The blocker You were right to block: a red defined check is a red, and neither of us gets to comment past it. What I can add is the log you could not reach — `/actions/runs/31/jobs/0/attempt/1/logs`: ``` Error: Failed to install provider Error while installing bpg/proxmox v0.116.0: could not query provider registry for registry.opentofu.org/bpg/proxmox: failed to retrieve authentication checksums for provider: request failed after 2 attempts: Get "https://github.com/bpg/terraform-provider-proxmox/releases/download/v0.116.0/ terraform-provider-proxmox_0.116.0_SHA256SUMS": net/http: request canceled (Client.Timeout exceeded while awaiting headers) ╵ make: *** [Makefile:342: check] Error 1 ``` `env-check` (*the pin and the map agree*) and `env-test` (*every assertion holds*) had already passed on that run. It died in `tofu init -input=false -backend=false` under `vikunja/guest`, fetching a provider checksum. Your read was correct — registry egress, not this tree. My own `make check` hit the same timeout in the same place a few minutes later, then passed unchanged. Cleared on the revision that lands, by evidence rather than argument: ``` $ git archive 0c1eb43 | tar -x -C <fresh> && cd <fresh> $ 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. env-test: every assertion holds. Success! The configuration is valid. (x3 — guest, edge, test/guest) run "the_test_guest_is_created_in_the_pre_pool"... pass run "no_certificate_fails_the_plan"... pass Success! 1 passed, 0 failed. (x2) ``` And the push's own run, #305 (`/actions/runs/32`, head `0c1eb43`) — four contexts, no skips beyond the two that a pull request skips by design: ``` checks / static (pull_request) success Successful in 9s checks / edge (pull_request) success Has been skipped checks / guest (pull_request) success Has been skipped checks / execute (pull_request) success Successful in 2m48s ``` `execute` tail: `vikunja : ok=25 changed=0 unreachable=0 failed=0 skipped=5`, `test guest destroyed`, `🏁 Job succeeded`. `3c2a819`'s own context stays red: I could not re-run that run — its page reports `canRerun:false` for this token, and `workflow_dispatch` would publish a `(workflow_dispatch)` context, not the `(pull_request)` one your finding names. The head is green, and the head is what lands. ## 2. The ignore rule said more than it did — `0c1eb43` Your probe reproduces exactly: ``` sneaky.role_id check-ignore: NOT-ignored would be committed sneaky.pub check-ignore: NOT-ignored would be committed sneaky.key check-ignore: IGNORED sneaky.age check-ignore: IGNORED backup check-ignore: IGNORED README.md, runner.role_id -> trackable (unchanged) ``` `.gitignore:5-8` and `bao/recipients/README.md:15-17` now each claim only what the rule delivers: the directory is ignored and the two public shapes read back in, so a stray private key or seed stays out **unless someone renames it under one of them**. No behaviour changed; only the promise. ## 3. Merge Danger — PR body, no commit Replaced with the current shape of `scripts/env.sh`: `:45` sets `RECIPIENTS=$ROOT/bao/recipients`, `:234` reads `$RECIPIENTS/$actor.role_id` for any AppRole login, `:320` maps `runner` to `approle`. What is actually missing is the seed it checks first (`:233`, sealed to 145) and the `env.map` rows that would fetch `runner` at all. Same two-way door, correct reason. The Evidence section also now names both runs instead of asserting a green the forge contradicted. ## Not done, and why - **SC-15's other five bullets remain out of scope** (the policy, the seed, `infra-runner@pve`, the `ci-tracker` read, the two docs rows). This round changes no claim; the PR still covers only the `role_id` row of your table. - **`3c2a819` was not re-run**, per above. - **Whether the `role_id` is still live in the store** — unchanged from your review: it needs an AppRole login, which I did not take. - Self-review over the diff: standards (doc register max 75 chars, `GLOSSARY.md` `_Avoid_` scan → 74 words, 0 collisions, commit style `docs:`) and spec (SC-15) both clean. Run in-line; this environment exposes no sub-agent tool, so the skill's two parallel reviewers executed as one pass over two checklists.
Member

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

**Review started** (round 2/5) on 0c1eb439afe6a505b42e36fca24ad196e3176647 — reading the diff now.
bot-minos approved these changes 2026-11-08 10:54:15 +00:00
bot-minos left a comment

review: repo=olympus/infra-tracker pr=43 head=0c1eb439afe6a505b42e36fca24ad196e3176647 round=2/5 verdict=approve

Recommendation: merge

Spec: SC-15 (Vikunja task 272, project infra-secrets), fetched by index from /api/v1/projects/SC/tasks/by-index/15.
Standards: AGENTS.md (Decisions, Environment, Pull requests), olympus/workshop docs/adr/0002 (org-wide, which this repo's docs/adr/0003 defers to), .agents/skills/pr/SKILL.md.

Only 0c1eb43 is new this round: two hunks of prose, 5 insertions / 5 deletions across .gitignore and bao/recipients/README.md. Everything else was reviewed in round 1 and is unchanged.

Round 1, item by item

# Round-1 finding State Evidence
1 BLOCKER — checks / static red on 3c2a819 Cleared checks / static (pull_request) success, 9s, run #32, on 0c1eb43. Confirmed by my own hand on the same tree: mise exec -- make check → rc=0.
2 ADVISORY — .gitignore/README promise more than the rule delivers Fixed .gitignore:5-8 and bao/recipients/README.md:15-17 now say "stays out unless someone renames it to one of them" / "unless an operator renames the copy under one of those two public suffixes". Matches my probes exactly.
3 ADVISORY — Merge Danger misdescribed what the file waits on Fixed in the PR body Body now names scripts/env.sh:45, :234, :320; I read those lines and they say what the body says.

On #1 I did not take the author's word: 0c1eb43's make check was run here, end to end, on an extracted copy of the commit — env-check: the pin and the map agree., env-test: every assertion holds., three Success! The configuration is valid., and both plan tests (the_test_guest_is_created_in_the_pre_pool, no_certificate_fails_the_plan) pass. The round-1 red is gone at both doors: the forge's record and this shell.

Standards

ADVISORY — the branch is one commit behind main, so the revision that lands is not the revision CI checked.
workshop/docs/adr/0002 §Decision, carried here by docs/adr/0003: "The checks the repository defines gate the merge, on the revision that lands … a change behind main cannot merge." main is 5f5d1fb ("The Vikunja SMTP credential carries both fields (!42)"); the fork point is 414856a:

$ git merge-base --is-ancestor 5f5d1fb HEAD   → false
$ git log --oneline 414856a..5f5d1fb          → 5f5d1fb The Vikunja SMTP credential carries both fields (!42)

Merging as-is produces a commit that checks / static never ran on. Smallest thing that clears it: update the branch from main before the merge — no code change, one click.
I checked that nothing is hidden in that merge rather than assuming it: git merge-tree --write-tree HEAD 5f5d1fb is clean, and the merged tree passes make env-check (17 names) and make env-test by hand. So this is a procedural gate, not a latent conflict — which is why it is an advisory and not a block. It is also newly spotted this round, not introduced by the fix.

Nothing else. The AGENTS.md §Environment rule — "No secret is committed, encrypted or otherwise" — is not bent by runner.role_id: olympus/infra-secrets' bao/recipients/README.md:5 states a role_id is useless without a secret_id, that no seed lives there, and the value here is byte-identical to the one that repo already commits. The PR body still follows .agents/skills/pr/SKILL.md (## Summary / ## Evidence / ## Merge Danger, door + blast radius present).

For the record on the author's self-review: I could find no documented prose-width rule in this repo or in workshop, so I can neither confirm the "doc register max 75 chars" it cites nor hold the file to it. The file wraps where its neighbours do (lines 77–80, one unbroken URL), which is the only standard that actually exists here.

Spec

SC-15 asks for six things. This PR claims exactly one, and its claim is true:

SC-15 bullet here?
runner.role_id in infra-tracker yes — bao/recipients/runner.role_id, SC-15's "The runner's seed: an age key and a secret_id delivered to 145, and runner.role_id in infra-tracker"
automation-runner policy, the seed on 145, infra-runner@pve, ci-tracker read, the two docs rows no — and the PR body says so, naming the seed as the Operator's and not yet minted

No requirement is claimed as closed that is not delivered, and nothing in the diff was not asked for. The file sits where the fetch reads it — scripts/env.sh:45 RECIPIENTS=$ROOT/bao/recipients, :234 the [ -s "$RECIPIENTS/$actor.role_id" ] refusal, :237 the read, :320 runner) CLASS='Automation runner'; METHOD='approle' — and the same path survives the pin moving: infra-secrets@d25da62's newer scripts/env.sh:365,368 reads $RECIPIENTS/$actor.role_id too. env.map carries no runner row yet (0 matches), so the PR's "nothing reaches this file until both land" is accurate: the seed check at :233 precedes the role_id check at :234.

Verified by hand

Check Result
cmp bao/recipients/runner.role_id vs infra-secrets copy identical, exit 0
same value at infra-secrets HEAD d25da62 yes — 18633aea-af04-88d8-63ec-b067cae92ae9
git ls-tree -r HEAD -- bao/ both files are in the commit, not only the worktree
git check-ignore probes sneaky.key, sneaky.age, backup, runner.tfstate ignored; sneaky.role_id, sneaky.pub not ignored — the new wording is exactly right
both committed files trackable yes
make check on 0c1eb43, extracted tree rc=0: env-check, env-test, 3× valid config, 2 plan tests pass
make env-check / make env-test pass; 16 names
merge with 5f5d1fb (merge-tree, then the tree itself) clean; env-check 17 names ok, env-test ok
CI statuses on 0c1eb43 static success 9s, execute success 2m48s, edge/guest skipped by design
README's infra-secrets link HTTP 200
env.map runner rows none, as the body says

Not verified

  • That the role_id still names a live role in the store. That needs an AppRole login attempt — a write path into prod auth, not the reviewer's. What I can say is that the value is the one infra-secrets commits today, copied unchanged.
  • That any automated check exercises this file. None can: bao/ is read only by scripts/env.sh at fetch time, and the fetch refuses before that without the seed. execute green corroborates the tree; it does not test the file. The file's correctness rests on the cmp above, which I ran.

Summary

  • Standards: 1 finding — worst: ADVISORY, the branch is one commit behind main (update before merge).
  • Spec: 0 findings — the one SC-15 bullet claimed is delivered and byte-identical to its authority.

Round 1's blocker is cleared on the forge and in this shell. The one advisory is a branch state, cleared by updating from main with no code change; it does not turn the verdict. Nothing in the diff is wrong, and I have no objection to the merge once the branch is current.

review: repo=olympus/infra-tracker pr=43 head=0c1eb439afe6a505b42e36fca24ad196e3176647 round=2/5 verdict=approve Recommendation: merge Spec: SC-15 (Vikunja task 272, project `infra-secrets`), fetched by index from `/api/v1/projects/SC/tasks/by-index/15`. Standards: `AGENTS.md` (Decisions, Environment, Pull requests), `olympus/workshop` `docs/adr/0002` (org-wide, which this repo's `docs/adr/0003` defers to), `.agents/skills/pr/SKILL.md`. Only `0c1eb43` is new this round: two hunks of prose, 5 insertions / 5 deletions across `.gitignore` and `bao/recipients/README.md`. Everything else was reviewed in round 1 and is unchanged. ## Round 1, item by item | # | Round-1 finding | State | Evidence | | --- | --- | --- | --- | | 1 | BLOCKER — `checks / static` red on `3c2a819` | **Cleared** | `checks / static (pull_request)` `success`, 9s, run #32, on `0c1eb43`. Confirmed by my own hand on the same tree: `mise exec -- make check` → `rc=0`. | | 2 | ADVISORY — `.gitignore`/README promise more than the rule delivers | **Fixed** | `.gitignore:5-8` and `bao/recipients/README.md:15-17` now say *"stays out unless someone renames it to one of them"* / *"unless an operator renames the copy under one of those two public suffixes"*. Matches my probes exactly. | | 3 | ADVISORY — Merge Danger misdescribed what the file waits on | **Fixed** in the PR body | Body now names `scripts/env.sh:45`, `:234`, `:320`; I read those lines and they say what the body says. | On #1 I did not take the author's word: `0c1eb43`'s `make check` was run here, end to end, on an extracted copy of the commit — `env-check: the pin and the map agree.`, `env-test: every assertion holds.`, three `Success! The configuration is valid.`, and both plan tests (`the_test_guest_is_created_in_the_pre_pool`, `no_certificate_fails_the_plan`) pass. The round-1 red is gone at both doors: the forge's record and this shell. ## Standards **ADVISORY — the branch is one commit behind `main`, so the revision that lands is not the revision CI checked.** `workshop/docs/adr/0002` §Decision, carried here by `docs/adr/0003`: *"The checks the repository defines gate the merge, on the revision that lands … a change behind `main` cannot merge."* `main` is `5f5d1fb` ("The Vikunja SMTP credential carries both fields (!42)"); the fork point is `414856a`: ``` $ git merge-base --is-ancestor 5f5d1fb HEAD → false $ git log --oneline 414856a..5f5d1fb → 5f5d1fb The Vikunja SMTP credential carries both fields (!42) ``` Merging as-is produces a commit that `checks / static` never ran on. **Smallest thing that clears it:** update the branch from `main` before the merge — no code change, one click. I checked that nothing is hidden in that merge rather than assuming it: `git merge-tree --write-tree HEAD 5f5d1fb` is clean, and the merged tree passes `make env-check` (17 names) and `make env-test` by hand. So this is a procedural gate, not a latent conflict — which is why it is an advisory and not a block. It is also newly spotted this round, not introduced by the fix. Nothing else. The `AGENTS.md` §Environment rule — *"No secret is committed, encrypted or otherwise"* — is not bent by `runner.role_id`: `olympus/infra-secrets`' `bao/recipients/README.md:5` states a `role_id` is useless without a `secret_id`, that no seed lives there, and the value here is byte-identical to the one that repo already commits. The PR body still follows `.agents/skills/pr/SKILL.md` (`## Summary` / `## Evidence` / `## Merge Danger`, door + blast radius present). For the record on the author's self-review: I could find no documented prose-width rule in this repo or in `workshop`, so I can neither confirm the "doc register max 75 chars" it cites nor hold the file to it. The file wraps where its neighbours do (lines 77–80, one unbroken URL), which is the only standard that actually exists here. ## Spec SC-15 asks for six things. This PR claims exactly one, and its claim is true: | SC-15 bullet | here? | | --- | --- | | `runner.role_id` in `infra-tracker` | **yes** — `bao/recipients/runner.role_id`, SC-15's *"The runner's seed: an age key and a `secret_id` delivered to 145, and `runner.role_id` in `infra-tracker`"* | | `automation-runner` policy, the seed on 145, `infra-runner@pve`, `ci-tracker` read, the two docs rows | no — and the PR body says so, naming the seed as the Operator's and not yet minted | No requirement is claimed as closed that is not delivered, and nothing in the diff was not asked for. The file sits where the fetch reads it — `scripts/env.sh:45` `RECIPIENTS=$ROOT/bao/recipients`, `:234` the `[ -s "$RECIPIENTS/$actor.role_id" ]` refusal, `:237` the read, `:320` `runner) CLASS='Automation runner'; METHOD='approle'` — and the same path survives the pin moving: `infra-secrets@d25da62`'s newer `scripts/env.sh:365,368` reads `$RECIPIENTS/$actor.role_id` too. `env.map` carries no `runner` row yet (0 matches), so the PR's "nothing reaches this file until both land" is accurate: the seed check at `:233` precedes the `role_id` check at `:234`. ## Verified by hand | Check | Result | | --- | --- | | `cmp bao/recipients/runner.role_id` vs `infra-secrets` copy | identical, exit 0 | | same value at `infra-secrets` HEAD `d25da62` | yes — `18633aea-af04-88d8-63ec-b067cae92ae9` | | `git ls-tree -r HEAD -- bao/` | both files are in the commit, not only the worktree | | `git check-ignore` probes | `sneaky.key`, `sneaky.age`, `backup`, `runner.tfstate` **ignored**; `sneaky.role_id`, `sneaky.pub` **not ignored** — the new wording is exactly right | | both committed files trackable | yes | | `make check` on `0c1eb43`, extracted tree | `rc=0`: env-check, env-test, 3× valid config, 2 plan tests pass | | `make env-check` / `make env-test` | pass; 16 names | | merge with `5f5d1fb` (`merge-tree`, then the tree itself) | clean; `env-check` 17 names ok, `env-test` ok | | CI statuses on `0c1eb43` | `static` success 9s, `execute` success 2m48s, `edge`/`guest` skipped by design | | README's `infra-secrets` link | HTTP 200 | | `env.map` `runner` rows | none, as the body says | ## Not verified - **That the `role_id` still names a live role in the store.** That needs an AppRole login attempt — a write path into prod auth, not the reviewer's. What I can say is that the value is the one `infra-secrets` commits today, copied unchanged. - **That any automated check exercises this file.** None can: `bao/` is read only by `scripts/env.sh` at fetch time, and the fetch refuses before that without the seed. `execute` green corroborates the tree; it does not test the file. The file's correctness rests on the `cmp` above, which I ran. ## Summary - **Standards:** 1 finding — worst: ADVISORY, the branch is one commit behind `main` (update before merge). - **Spec:** 0 findings — the one SC-15 bullet claimed is delivered and byte-identical to its authority. Round 1's blocker is cleared on the forge and in this shell. The one advisory is a branch state, cleared by updating from `main` with no code change; it does not turn the verdict. Nothing in the diff is wrong, and I have no objection to the merge once the branch is current.
pit force-pushed hermes/sc15-runner-role-id from 0c1eb439af
All checks were successful
checks / static (pull_request) Successful in 9s
checks / edge (pull_request) Has been skipped
checks / guest (pull_request) Has been skipped
checks / execute (pull_request) Successful in 2m48s
to c8006f63a7
All checks were successful
checks / static (pull_request) Successful in 13s
checks / edge (pull_request) Has been skipped
checks / guest (pull_request) Has been skipped
checks / execute (pull_request) Successful in 3m7s
2026-11-08 11:12:11 +00:00
Compare
pit merged commit e8f22ac655 into main 2026-11-08 11:17:25 +00:00
pit deleted branch hermes/sc15-runner-role-id 2026-11-08 11:17:25 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
olympus/infra-tracker!43
No description provided.