The Semaphore runner's Guest Stack, and the Targets that apply it (CP-42) #20

Merged
pit merged 2 commits from hermes/cp42-runner-guest into main 2026-11-06 16:39:50 +00:00
Owner

This is the first slice of CP-42: Guest 145's Stack, plus the make Targets the Operator's first apply runs. The runner's role, the server's switch to use_remote_runner, make prod, the snapshot and the plan job for 145 come in later changes.

Summary

+runner/guest/                      # Guest 145, semaphore-runner; state at prod/semaphore-runner.tfstate
+├── container.tf                   # pool prod, fast-storage, 2c/2G/20G, nesting, prevent_destroy; output runner_identity
+├── variables.tf                   # 10.12.0.145/24 on vmbr1; template_file_id names the template semaphore/guest downloads
+├── backend.tf                     # semaphore/guest's backend, another key
+├── keys.tf, versions.tf, providers.tf, .terraform.lock.hcl   # copied from semaphore/guest
+└── keys.d/sc14-cockpit-deploy.pub # cockpit's deploy key, as 143's authorized_keys carries it (+ the two existing keys)
 Makefile
+  use_state_creds, runner_guest_stack_init
+  runner-guest-plan                # mutates nothing
+  runner-guest                     # plan → render → word (or the judge under NONINTERACTIVE=1) → apply that artifact
 env.map / .env.example
+  actors=pit,cockpit secret/tofu-state/semaphore-runner/deploy RUNNER_STATE_AWS_ACCESS_KEY_ID RUNNER_STATE_AWS_SECRET_ACCESS_KEY
 scripts/tests/run.sh               # the map now has 14 names, up from 12

Two records, one .env. The server's pair keeps the names the S3 backend reads, so guest, snapshot, verify and the plan check don't change. The runner's pair goes in under its Stack's prefix, and only the runner's Targets put it on AWS_*, for their own run. This is the pattern infra-tracker uses for its Guest and Edge Stacks.

Why no download resource. semaphore/guest owns the Debian template's download. If a second Stack declared it as well, one file would have two owners, so this Stack names the volume instead. infra-forge's runner/guest does the same.

Why both actors use the deploy key. The record was minted with two shapes, deploy and plan (olympus/infra-silo!21, !22). It has no apply key, and creating one Guest doesn't need DeleteObject on the record.

Evidence

  • mise exec -- make check → exit 0: env tests every case passed, plan tests every case passed, tofu fmt -recursive -check clean.
    Before this change's test edit: FAIL every name in the map is declared (missing [env.map: 12 names]), while env-check reported env.map: 14 names, all declared.
  • mise exec -- make env ACTOR=pit → secret/tofu-state/semaphore-runner/deploy → RUNNER_STATE_AWS_ACCESS_KEY_ID RUNNER_STATE_AWS_SECRET_ACCESS_KEY (rev 2), 13 names · 6 paths · 2 from the age class.
  • mise exec -- make runner-guest-plan, against the empty record:
+ proxmox_virtual_environment_container.semaphore_runner   vm_id 145, node burns, pool prod
    unprivileged, nesting = true, cores 2, memory 2048 + swap 512, disk 20 on fast-storage
    hostname semaphore-runner, 10.12.0.145/24 gw 10.12.0.1, bridge vmbr1, started, start_on_boot
    template_file_id synology:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst
    keys: ansible-control-lab, hermes, sc14-cockpit-deploy
Plan: 1 to add, 0 to change, 0 to destroy.
+ runner_identity = { vmid = 145, address = (known after apply) }
  • make -n runner-guest composes use_state_creds, then tofu init, plan -out=plan.out, show, the word or the judge, and apply plan.out.
  • Not yet run: the apply. That is the Operator's first apply of 145 (make runner-guest, with the age class's PROD token), and it comes next.

Merge Danger

Door: two-way. The merge creates nothing. make prod still runs the server's steps only, and 145 comes from the hand apply.

Blast Radius: the deploy's fetch.

The merge's deploy fetches .env as cockpit, and the fetch is all-or-nothing. The new row needs ci-cockpit to read secret/tofu-state/semaphore-runner/deploy. infra-secrets' bao/policies/ci-cockpit.hcl grants that read, but nobody has checked that the live policy matches the file. If it doesn't, the merge's deploy goes red on that path before it changes anything.

The plan check for this PR plans semaphore/guest only, so it doesn't cover runner/guest yet.

This is the first slice of CP-42: Guest 145's Stack, plus the `make` Targets the Operator's first apply runs. The runner's role, the server's switch to `use_remote_runner`, `make prod`, the snapshot and the plan job for 145 come in later changes. ## Summary ```diff +runner/guest/ # Guest 145, semaphore-runner; state at prod/semaphore-runner.tfstate +├── container.tf # pool prod, fast-storage, 2c/2G/20G, nesting, prevent_destroy; output runner_identity +├── variables.tf # 10.12.0.145/24 on vmbr1; template_file_id names the template semaphore/guest downloads +├── backend.tf # semaphore/guest's backend, another key +├── keys.tf, versions.tf, providers.tf, .terraform.lock.hcl # copied from semaphore/guest +└── keys.d/sc14-cockpit-deploy.pub # cockpit's deploy key, as 143's authorized_keys carries it (+ the two existing keys) Makefile + use_state_creds, runner_guest_stack_init + runner-guest-plan # mutates nothing + runner-guest # plan → render → word (or the judge under NONINTERACTIVE=1) → apply that artifact env.map / .env.example + actors=pit,cockpit secret/tofu-state/semaphore-runner/deploy RUNNER_STATE_AWS_ACCESS_KEY_ID RUNNER_STATE_AWS_SECRET_ACCESS_KEY scripts/tests/run.sh # the map now has 14 names, up from 12 ``` **Two records, one `.env`.** The server's pair keeps the names the S3 backend reads, so `guest`, `snapshot`, `verify` and the plan check don't change. The runner's pair goes in under its Stack's prefix, and only the runner's Targets put it on `AWS_*`, for their own run. This is the pattern `infra-tracker` uses for its Guest and Edge Stacks. **Why no download resource.** `semaphore/guest` owns the Debian template's download. If a second Stack declared it as well, one file would have two owners, so this Stack names the volume instead. `infra-forge`'s `runner/guest` does the same. **Why both actors use the deploy key.** The record was minted with two shapes, deploy and plan (olympus/infra-silo!21, !22). It has no apply key, and creating one Guest doesn't need `DeleteObject` on the record. ## Evidence - `mise exec -- make check` → exit 0: env tests `every case passed`, plan tests `every case passed`, `tofu fmt -recursive -check` clean. **Before** this change's test edit: `FAIL every name in the map is declared (missing [env.map: 12 names])`, while env-check reported `env.map: 14 names, all declared`. - `mise exec -- make env ACTOR=pit` → `secret/tofu-state/semaphore-runner/deploy → RUNNER_STATE_AWS_ACCESS_KEY_ID RUNNER_STATE_AWS_SECRET_ACCESS_KEY (rev 2)`, `13 names · 6 paths · 2 from the age class`. - `mise exec -- make runner-guest-plan`, against the empty record: ``` + proxmox_virtual_environment_container.semaphore_runner vm_id 145, node burns, pool prod unprivileged, nesting = true, cores 2, memory 2048 + swap 512, disk 20 on fast-storage hostname semaphore-runner, 10.12.0.145/24 gw 10.12.0.1, bridge vmbr1, started, start_on_boot template_file_id synology:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst keys: ansible-control-lab, hermes, sc14-cockpit-deploy Plan: 1 to add, 0 to change, 0 to destroy. + runner_identity = { vmid = 145, address = (known after apply) } ``` - `make -n runner-guest` composes `use_state_creds`, then `tofu init`, `plan -out=plan.out`, `show`, the word or the judge, and `apply plan.out`. - **Not yet run:** the apply. That is the Operator's first apply of 145 (`make runner-guest`, with the age class's PROD token), and it comes next. ## Merge Danger **Door:** two-way. The merge creates nothing. `make prod` still runs the server's steps only, and 145 comes from the hand apply. **Blast Radius:** the deploy's fetch. The merge's deploy fetches `.env` as `cockpit`, and the fetch is all-or-nothing. The new row needs `ci-cockpit` to read `secret/tofu-state/semaphore-runner/deploy`. `infra-secrets`' `bao/policies/ci-cockpit.hcl` grants that read, but nobody has checked that the live policy matches the file. If it doesn't, the merge's deploy goes red on that path before it changes anything. The plan check for this PR plans `semaphore/guest` only, so it doesn't cover `runner/guest` yet.
The Semaphore runner's Guest Stack, and the Targets that apply it (CP-42)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 18s
pr-checks / check (pull_request) Successful in 35s
c1ef4b3956
runner/guest declares Guest 145 (semaphore-runner, 10.12.0.145/24 on
vmbr1, pool prod, fast-storage, 2 cores / 2 GB / 20 GB, prevent_destroy),
its state at prod/semaphore-runner.tfstate. It names the Debian template
semaphore/guest downloads instead of declaring the download again, as
infra-forge's runner/guest does. keys.d adds cockpit's deploy key.

.env carries the runner's pair as RUNNER_STATE_AWS_*, from the record's
deploy key, for both actors; runner-guest-plan and runner-guest put it on
the backend's names for their own run. The server's Targets are unchanged.
Member

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

**Review started** (round 1/5) on c1ef4b3956a3fa3ca1401b62b19f2e9b7080cfc8 — reading the diff now.
bot-minos approved these changes 2026-11-06 16:19:13 +00:00
Dismissed
bot-minos left a comment

repo=olympus/infra-cockpit pr=20 head=c1ef4b3956a3fa3ca1401b62b19f2e9b7080cfc8 round=1/5 verdict=no-blocker (4 advisories)

Reviewed: olympus/infra-cockpit#20 at c1ef4b3, round 1 of 5. This is the first review on the PR (the review list was empty). The dispatch's counter and the thread's agree.

Recommendation: fix

Why fix and not merge: there is no blocker. The recommendation turns on the count, not the weight: four advisories, and three or more earns one batched polish round. Review state is APPROVED because state follows blockers only. Every finding below keeps the severity its evidence earned; none is a defect in what the change does.

What the change claims, and what I reproduced

Claim (PR body) Result
make check exits 0 Reproduced. rc=0 on the head worktree: env-check, env tests, plan tests, tofu fmt -recursive -check. CI agrees: pr-checks / check and plan / guest-plan-check both success on this SHA.
Map is now 14 names (was 12); test edit follows Reproduced. env.map: 14 names and scripts/tests/run.sh:89 agree. The pit actor's 13 names · 6 paths · 2 from the age class recounts correctly from the map.
runner/guest is the server Stack with its own key, copied Reproduced. .terraform.lock.hcl, keys.tf, providers.tf, versions.tf are byte-identical to semaphore/guest; the two key files shared with it are byte-identical; backend.tf differs only in the state key and comments. tofu init -backend=false && tofu validate on a copy of runner/guest: valid.
Guest 145 values (CP-42 "The Guest" bullet) Reproduced by reading variables.tf:26-38: vmid 145, semaphore-runner, 10.12.0.145/24, vmbr1, pool prod, fast-storage, 2 cores / 2048 MB / 20 GB; container.tf:54 prevent_destroy = true.
Runner Targets hand the runner's pair to the backend and refuse by name when it is missing Reproduced by execution (stub tofu on PATH, scratch copy, fake keys). Both pairs present: init, plan and apply each ran in runner/guest carrying the runner pair, not the server's. Runner access key unset: error: RUNNER_STATE_AWS_ACCESS_KEY_ID is not set; …, rc 2, zero tofu calls. Secret half empty: names RUNNER_STATE_AWS_SECRET_ACCESS_KEY, zero calls.
runner-guest gate = the server's gate Reproduced. NONINTERACTIVE=1 with a create plan: judged, applied. With a delete,create plan: plan-check red, aborted: the plan would destroy or replace…, no apply call, plan.out removed. Without the mode and no word typed: aborts, no apply.
The merge creates nothing; make prod runs the server's steps only Reproduced by reading. PROD_STEPS := snapshot guest service verify (Makefile:57) all read GUEST_DIR; the deploy never touches runner/.
No secret in the diff Reproduced. The diff holds three public keys and provider hashes; no token, key id or secret value. AGENTS.md §Secrets holds.
ci-cockpit can read the new path Partly. bao/policies/ci-cockpit.hcl at infra-secrets@main grants read on secret/data/tofu-state/semaphore-runner/deploy. Whether the live policy matches the file is the one thing the PR itself says nobody has checked; I could not check it either.

Spec

Source: CP-42 "Add the Semaphore runner on Guest 145" (Vikunja project 11, index 42), plus its two bot-telesphoros comments (the SC-14 handover and the runner record's mint). The PR body cites CP-42 as the task, as docs/agents/issue-tracker.md asks, and describes itself as the first slice. Its four acceptance criteria (runner active in Semaphore, a scratch task runs on 145, token file 0600, next merge snapshots 143 and 145) belong to the later slices the body names, and the body does not claim them.

No findings on this axis. The env.map row differs from the ticket comment's wording (actors=cockpit … AWS_ACCESS_KEY_ID): the PR adds pit and uses RUNNER_STATE_* names so the runner's pair never shares names with the server's. The body states this and the Targets rest on it; I do not charge it.

Standards

Sources read at the head: AGENTS.md, docs/environment.md, docs/guest.md, docs/agents/issue-tracker.md, env.map header, .forgejo/workflows/*; workshop ADR-0010, 0011, 0012 and infra-silo's semaphore-runner-deploy-state-policy.json at main. The change sits within them: the deploy key is the apply shape minus record deletion (ADR-0012, and the policy allows DeleteObject on the lock only); the runner Guest is not deployed by the deployer that runs on it (ADR-0010).

S1 — ADVISORY — docs/environment.md does not carry the two new names. AGENTS.md §Docs: "docs/environment.md — where every environment name comes from". The table at docs/environment.md:63-72 has a row for every other name the map fills; grep RUNNER_STATE docs/ returns nothing. The AWS row (:67) still reads as the whole story of the state pair ("one record, two shapes"). Precedent: the commit that added the mail and watchdog names (4dd55ef) added their rows in the same change. Clearing change: one row for RUNNER_STATE_AWS_ACCESS_KEY_ID / RUNNER_STATE_AWS_SECRET_ACCESS_KEY — source path, who, and that the runner Targets put them on the backend's AWS_* names.

S2 — ADVISORY — Makefile:23 RUNNER_GUEST_IDENTITY := runner_identity has no reader. One hit in the tree, its definition. The guest_identity macro (Makefile:162) reads $(GUEST_DIR) only, so nothing can use it yet. Baseline smell, a judgement call: Speculative Generality. Clearing change: drop the line; the slice that adds the reader adds it.

S3 — ADVISORY — two comments assert what is not yet true. runner/guest/backend.tf:4 says the remote state is "the property verify and ssh rest on"; both Targets read GUEST_DIR only (Makefile verify:, ssh:). runner/guest/container.tf:2-3 says "Forgejo Actions deploys it, as it deploys the server on 143"; make prod does not touch 145 (Makefile:57), and the PR's own Door line says so. The body marks these as later changes; the code comments state them in the present tense. Clearing change: say "will" or point at CP-42, or cut the sentences until the slice that makes them true.

S4 — ADVISORY — the credential swap has no test. use_state_creds (Makefile:203-213) chooses which key the runner Targets run under and refuses by name when it is missing. The only test edit is the count bump (scripts/tests/run.sh:89); the PR's evidence for the Targets is make -n, which composes the lines and executes none of them. The behaviour is correct (table above, my own drive), so this is a regression risk and not a defect. The repo has the pattern for it: scripts/tests/plan-check.sh already drives the server's apply gate against a throwaway local Stack. Clearing change: one case in scripts/tests/run.sh or plan-check.sh driving runner-guest-plan with the pair missing (refuses, names the variable, runs no tofu) and present (tofu sees the runner's pair).

Named, not charged

  • Template id typed twice. runner/guest/variables.tf:48 and semaphore/guest/variables.tf:48 carry the same Debian file name, with no check that they agree. Deliberate (one owner of the download, per the body); a drift hazard, not a defect today.
  • The pull request's plan check does not cover runner/guest (.forgejo/workflows/plan.yml:47 plans semaphore/guest). Disclosed in the body; the plan key is not minted yet (CP-42 comment).
  • infra-secrets docs/store-layout.md still says the runner's deploy path is "not minted", and does not name the RUNNER_STATE_* field names. Another repository; the CP-42 comment lists it as open.
  • The Operator's first apply and its runbook belong to the later slices the body names.

Not verified, and why

  • make runner-guest-plan against the empty record and make env ACTOR=pit (the body's output blocks). Need the store, the age class and the PROD token; an agent's make env is refused by design. I read the pasted output, I did not reproduce it.
  • The store's field names at secret/tofu-state/semaphore-runner/deploy. scripts/env.sh reads each field by variable name (.data.data[$k]) and refuses the whole run on a missing one. The CP-42 mint comment records v1 with fields AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY; the map names RUNNER_STATE_AWS_*. The PR's make env output reports rev 2, which reads as the Operator re-writing the path under the new names. I could not read the store. If the live path still holds the v1 names, the merge's all-or-nothing fetch as cockpit goes red on this row. The PR's Merge Danger names only the policy; it is worth naming this one, and confirming the rev, before merging.
  • The live ci-cockpit policy against the file (above).
  • That sc14-cockpit-deploy.pub is the line 143 carries. 143 is not reachable from here.

Summary

Axis Findings Worst
Standards 4 (0 blocker, 4 advisory) S1, docs/environment.md lacks the two new names
Spec 0 none

Verdict: no blocker, so APPROVED. Recommendation: fix, on the advisory count alone (4, threshold 3); a single round of S1-S4 clears it.

<!-- minos review-loop: repo=olympus/infra-cockpit pr=20 head=c1ef4b3956a3fa3ca1401b62b19f2e9b7080cfc8 round=1/5 axes=standards,spec --> repo=olympus/infra-cockpit pr=20 head=c1ef4b3956a3fa3ca1401b62b19f2e9b7080cfc8 round=1/5 verdict=no-blocker (4 advisories) **Reviewed:** olympus/infra-cockpit#20 at `c1ef4b3`, round 1 of 5. This is the first review on the PR (the review list was empty). The dispatch's counter and the thread's agree. Recommendation: fix **Why `fix` and not `merge`:** there is no blocker. The recommendation turns on the count, not the weight: four advisories, and three or more earns one batched polish round. Review state is APPROVED because state follows blockers only. Every finding below keeps the severity its evidence earned; none is a defect in what the change does. ## What the change claims, and what I reproduced | Claim (PR body) | Result | | --- | --- | | `make check` exits 0 | **Reproduced.** rc=0 on the head worktree: env-check, env tests, plan tests, `tofu fmt -recursive -check`. CI agrees: `pr-checks / check` and `plan / guest-plan-check` both `success` on this SHA. | | Map is now 14 names (was 12); test edit follows | **Reproduced.** `env.map: 14 names` and `scripts/tests/run.sh:89` agree. The pit actor's `13 names · 6 paths · 2 from the age class` recounts correctly from the map. | | `runner/guest` is the server Stack with its own key, copied | **Reproduced.** `.terraform.lock.hcl`, `keys.tf`, `providers.tf`, `versions.tf` are byte-identical to `semaphore/guest`; the two key files shared with it are byte-identical; `backend.tf` differs only in the state key and comments. `tofu init -backend=false && tofu validate` on a copy of `runner/guest`: valid. | | Guest 145 values (CP-42 "The Guest" bullet) | **Reproduced by reading** `variables.tf:26-38`: vmid 145, `semaphore-runner`, 10.12.0.145/24, vmbr1, pool prod, fast-storage, 2 cores / 2048 MB / 20 GB; `container.tf:54` `prevent_destroy = true`. | | Runner Targets hand the runner's pair to the backend and refuse by name when it is missing | **Reproduced by execution** (stub `tofu` on PATH, scratch copy, fake keys). Both pairs present: `init`, `plan` and `apply` each ran in `runner/guest` carrying the *runner* pair, not the server's. Runner access key unset: `error: RUNNER_STATE_AWS_ACCESS_KEY_ID is not set; …`, rc 2, zero `tofu` calls. Secret half empty: names `RUNNER_STATE_AWS_SECRET_ACCESS_KEY`, zero calls. | | `runner-guest` gate = the server's gate | **Reproduced.** `NONINTERACTIVE=1` with a `create` plan: judged, applied. With a `delete,create` plan: `plan-check` red, `aborted: the plan would destroy or replace…`, no `apply` call, `plan.out` removed. Without the mode and no word typed: aborts, no `apply`. | | The merge creates nothing; `make prod` runs the server's steps only | **Reproduced by reading.** `PROD_STEPS := snapshot guest service verify` (`Makefile:57`) all read `GUEST_DIR`; the deploy never touches `runner/`. | | No secret in the diff | **Reproduced.** The diff holds three public keys and provider hashes; no token, key id or secret value. `AGENTS.md` §Secrets holds. | | `ci-cockpit` can read the new path | **Partly.** `bao/policies/ci-cockpit.hcl` at `infra-secrets@main` grants `read` on `secret/data/tofu-state/semaphore-runner/deploy`. Whether the *live* policy matches the file is the one thing the PR itself says nobody has checked; I could not check it either. | ## Spec Source: CP-42 "Add the Semaphore runner on Guest 145" (Vikunja project 11, index 42), plus its two `bot-telesphoros` comments (the SC-14 handover and the runner record's mint). The PR body cites CP-42 as the task, as `docs/agents/issue-tracker.md` asks, and describes itself as the first slice. Its four acceptance criteria (runner active in Semaphore, a scratch task runs on 145, token file 0600, next merge snapshots 143 and 145) belong to the later slices the body names, and the body does not claim them. No findings on this axis. The `env.map` row differs from the ticket comment's wording (`actors=cockpit … AWS_ACCESS_KEY_ID`): the PR adds `pit` and uses `RUNNER_STATE_*` names so the runner's pair never shares names with the server's. The body states this and the Targets rest on it; I do not charge it. ## Standards Sources read at the head: `AGENTS.md`, `docs/environment.md`, `docs/guest.md`, `docs/agents/issue-tracker.md`, `env.map` header, `.forgejo/workflows/*`; workshop ADR-0010, 0011, 0012 and infra-silo's `semaphore-runner-deploy-state-policy.json` at `main`. The change sits within them: the deploy key is the apply shape minus record deletion (ADR-0012, and the policy allows `DeleteObject` on the lock only); the runner Guest is not deployed by the deployer that runs on it (ADR-0010). **S1 — ADVISORY — `docs/environment.md` does not carry the two new names.** `AGENTS.md` §Docs: "`docs/environment.md` — where every environment name comes from". The table at `docs/environment.md:63-72` has a row for every other name the map fills; `grep RUNNER_STATE docs/` returns nothing. The AWS row (`:67`) still reads as the whole story of the state pair ("one record, two shapes"). Precedent: the commit that added the mail and watchdog names (`4dd55ef`) added their rows in the same change. Clearing change: one row for `RUNNER_STATE_AWS_ACCESS_KEY_ID` / `RUNNER_STATE_AWS_SECRET_ACCESS_KEY` — source path, who, and that the runner Targets put them on the backend's `AWS_*` names. **S2 — ADVISORY — `Makefile:23` `RUNNER_GUEST_IDENTITY := runner_identity` has no reader.** One hit in the tree, its definition. The `guest_identity` macro (`Makefile:162`) reads `$(GUEST_DIR)` only, so nothing can use it yet. Baseline smell, a judgement call: Speculative Generality. Clearing change: drop the line; the slice that adds the reader adds it. **S3 — ADVISORY — two comments assert what is not yet true.** `runner/guest/backend.tf:4` says the remote state is "the property `verify` and `ssh` rest on"; both Targets read `GUEST_DIR` only (`Makefile` `verify:`, `ssh:`). `runner/guest/container.tf:2-3` says "Forgejo Actions deploys it, as it deploys the server on 143"; `make prod` does not touch 145 (`Makefile:57`), and the PR's own Door line says so. The body marks these as later changes; the code comments state them in the present tense. Clearing change: say "will" or point at CP-42, or cut the sentences until the slice that makes them true. **S4 — ADVISORY — the credential swap has no test.** `use_state_creds` (`Makefile:203-213`) chooses which key the runner Targets run under and refuses by name when it is missing. The only test edit is the count bump (`scripts/tests/run.sh:89`); the PR's evidence for the Targets is `make -n`, which composes the lines and executes none of them. The behaviour is correct (table above, my own drive), so this is a regression risk and not a defect. The repo has the pattern for it: `scripts/tests/plan-check.sh` already drives the server's apply gate against a throwaway local Stack. Clearing change: one case in `scripts/tests/run.sh` or `plan-check.sh` driving `runner-guest-plan` with the pair missing (refuses, names the variable, runs no `tofu`) and present (`tofu` sees the runner's pair). ## Named, not charged - **Template id typed twice.** `runner/guest/variables.tf:48` and `semaphore/guest/variables.tf:48` carry the same Debian file name, with no check that they agree. Deliberate (one owner of the download, per the body); a drift hazard, not a defect today. - **The pull request's plan check does not cover `runner/guest`** (`.forgejo/workflows/plan.yml:47` plans `semaphore/guest`). Disclosed in the body; the plan key is not minted yet (CP-42 comment). - **`infra-secrets` `docs/store-layout.md` still says the runner's deploy path is "not minted"**, and does not name the `RUNNER_STATE_*` field names. Another repository; the CP-42 comment lists it as open. - **The Operator's first apply** and its runbook belong to the later slices the body names. ## Not verified, and why - **`make runner-guest-plan` against the empty record and `make env ACTOR=pit` (the body's output blocks).** Need the store, the age class and the PROD token; an agent's `make env` is refused by design. I read the pasted output, I did not reproduce it. - **The store's field names at `secret/tofu-state/semaphore-runner/deploy`.** `scripts/env.sh` reads each field by *variable name* (`.data.data[$k]`) and refuses the whole run on a missing one. The CP-42 mint comment records v1 with fields `AWS_ACCESS_KEY_ID` / `AWS_SECRET_ACCESS_KEY`; the map names `RUNNER_STATE_AWS_*`. The PR's `make env` output reports `rev 2`, which reads as the Operator re-writing the path under the new names. I could not read the store. If the live path still holds the v1 names, the merge's all-or-nothing fetch as `cockpit` goes red on this row. The PR's Merge Danger names only the policy; it is worth naming this one, and confirming the rev, before merging. - **The live `ci-cockpit` policy** against the file (above). - **That `sc14-cockpit-deploy.pub` is the line 143 carries.** 143 is not reachable from here. ## Summary | Axis | Findings | Worst | | --- | --- | --- | | Standards | 4 (0 blocker, 4 advisory) | S1, `docs/environment.md` lacks the two new names | | Spec | 0 | none | Verdict: no blocker, so APPROVED. Recommendation: fix, on the advisory count alone (4, threshold 3); a single round of S1-S4 clears it.
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.
fix: the runner's pair is documented and driven, and the prose stops claiming (CP-42)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 16s
pr-checks / check (pull_request) Successful in 31s
53074defd5
S1: docs/environment.md carries the two RUNNER_STATE_ names — the record they
read, who reads it, and that the runner Targets hand the pair to the backend's
AWS_* names for their own run — beside the policy that mints the record, and the
floor's own account of what plan-test now drives.

S2: the Makefile drops RUNNER_GUEST_IDENTITY, which had no reader; the slice
that reads it can add it back.

S3: runner/guest's two comments say what is true at this head. The state's
readers, and the deploy step that will run on 145, come with the rest of CP-42
rather than resting on `verify` and `ssh` today.

S4: the credential swap has a case. plan-check.sh drives runner-guest-plan
against a throwaway runner Stack under a stand-in tofu that logs the argv and
the pair it was handed: with the .env missing either half the Target refuses, names
the variable and composes no tofu; with both present tofu is handed the runner's
pair and never the server's, which sits beside it in the same .env.
bot-efesto dismissed bot-minos's review 2026-11-06 16:23:55 +00:00
Reason:

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

Member

Round 1 fixed — 53074de on hermes/cp42-runner-guest. Pushed as a new commit on the branch (no force, no rebase, no rewrite); c1ef4b3 is still the review's pin.

The review raised 0 blockers and 4 advisories, and recommended fix on the count. All four are addressed; none of them changes what the change does.

Finding Change Commit
S1 — docs/environment.md does not carry the two new names a row for RUNNER_STATE_AWS_ACCESS_KEY_ID / RUNNER_STATE_AWS_SECRET_ACCESS_KEY: the record they read, that both actors read it, and that the runner Targets put the pair on the backend's AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY for their own run. The paragraph under the table names the policy that mints the runner's record, and the floor's own account now says what plan-test drives 53074de
S2 — RUNNER_GUEST_IDENTITY has no reader the line is gone. One hit in the tree before (its definition), zero after 53074de
S3 — two comments assert what is not yet true backend.tf no longer says verify and ssh rest on the runner's runner_identity — it says the readers come with the rest of CP-42. container.tf says Forgejo Actions will deploy 145, with the deploy's step arriving in the rest of CP-42 53074de
S4 — the credential swap has no test a case in scripts/tests/plan-check.sh, so it rides make plan-test and the floor 53074de

S4, in detail

case_the_runner_pair_is_required_and_reaches_tofu sandboxes the repo's Makefile against a throwaway runner/guest Stack, with a stand-in tofu on PATH that logs its argv and the two AWS_* names it was handed, then execs the real binary. Three .env shapes:

  • both halves present — tofu is handed runner-record-key-id, and never the server-record-key-id sitting beside it in the same .env;
  • access half absent — rc ≠ 0, RUNNER_STATE_AWS_ACCESS_KEY_ID is not set, and the log is empty: no tofu was composed;
  • secret half absent — the same, naming RUNNER_STATE_AWS_SECRET_ACCESS_KEY.

The case unsets the four names from the caller's environment first, so a shell that has already sourced a real .env cannot stand in for the file under test.

It bites, measured. With use_state_creds' two exports reverted to a no-op: FAIL tofu is handed the runner record's key (missing [AWS_ACCESS_KEY_ID=runner-record-key-id]) and FAIL the server record's key is not what the backend reads (found [server-record-key-id]). With the guard's test replaced by false: FAIL the refusal names the variable to seed (missing [RUNNER_STATE_AWS_ACCESS_KEY_ID is not set]), and the same for the secret half. Both mutations reverted before the commit.

Verification

On an export of the pushed commit (git archive 53074de into a fresh directory, mise trust), with no store and no Proxmox credential in the environment:

$ env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY \
      mise exec -- make check
...
env-check: the pin and the map agree.
env tests: every case passed.
plan tests: every case passed.
tofu fmt -recursive -check -diff
rc=0        # 130 `ok` assertions, 12 of them the new case (118 at c1ef4b3)

CI on the same SHA: pr-checks / check (pull_request) success (31s) and plan / guest-plan-check (pull_request_target) success (16s).

docs/environment.md renders as 1 table, 10 rows, header 3 cells, 0 ragged rows (POST /api/v1/markdown), and its widest prose line is still 82 characters — the file's own cap, measured before and after.

Left alone, deliberately

  • The RUNNER_STATE_* field names against the live record (the review's "Not verified", third bullet). scripts/env.sh reads each field by variable name and refuses the whole run on a missing one, so a live path still holding the v1 names would redden the merge's fetch. An agent's make env is refused by design and I hold no store credential, so I could not read the record; that check stays the Operator's before merge.
  • The live ci-cockpit policy against bao/policies/ci-cockpit.hcl — same reason, no store read from here.
  • The plan job for runner/guest and the typed-twice template id: the review named them and did not charge them, and both belong to the slices the PR body lists. No change made.
  • Nothing outside the four findings: the PR body, commit c1ef4b3, env.map, .env.example and the runner Stack's configuration are untouched.
**Round 1 fixed** — `53074de` on `hermes/cp42-runner-guest`. Pushed as a new commit on the branch (no force, no rebase, no rewrite); `c1ef4b3` is still the review's pin. The review raised **0 blockers and 4 advisories**, and recommended `fix` on the count. All four are addressed; none of them changes what the change does. | Finding | Change | Commit | | --- | --- | --- | | **S1** — `docs/environment.md` does not carry the two new names | a row for `RUNNER_STATE_AWS_ACCESS_KEY_ID` / `RUNNER_STATE_AWS_SECRET_ACCESS_KEY`: the record they read, that both actors read it, and that the runner Targets put the pair on the backend's `AWS_ACCESS_KEY_ID` / `AWS_SECRET_ACCESS_KEY` for their own run. The paragraph under the table names the policy that mints the runner's record, and the floor's own account now says what `plan-test` drives | `53074de` | | **S2** — `RUNNER_GUEST_IDENTITY` has no reader | the line is gone. One hit in the tree before (its definition), zero after | `53074de` | | **S3** — two comments assert what is not yet true | `backend.tf` no longer says `verify` and `ssh` rest on the runner's `runner_identity` — it says the readers come with the rest of CP-42. `container.tf` says Forgejo Actions *will* deploy 145, with the deploy's step arriving in the rest of CP-42 | `53074de` | | **S4** — the credential swap has no test | a case in `scripts/tests/plan-check.sh`, so it rides `make plan-test` and the floor | `53074de` | ## S4, in detail `case_the_runner_pair_is_required_and_reaches_tofu` sandboxes the repo's `Makefile` against a throwaway `runner/guest` Stack, with a stand-in `tofu` on `PATH` that logs its argv and the two `AWS_*` names it was handed, then execs the real binary. Three `.env` shapes: - **both halves present** — `tofu` is handed `runner-record-key-id`, and never the `server-record-key-id` sitting beside it in the same `.env`; - **access half absent** — rc ≠ 0, `RUNNER_STATE_AWS_ACCESS_KEY_ID is not set`, and the log is empty: no `tofu` was composed; - **secret half absent** — the same, naming `RUNNER_STATE_AWS_SECRET_ACCESS_KEY`. The case unsets the four names from the caller's environment first, so a shell that has already sourced a real `.env` cannot stand in for the file under test. **It bites, measured.** With `use_state_creds`' two exports reverted to a no-op: `FAIL tofu is handed the runner record's key (missing [AWS_ACCESS_KEY_ID=runner-record-key-id])` and `FAIL the server record's key is not what the backend reads (found [server-record-key-id])`. With the guard's test replaced by `false`: `FAIL the refusal names the variable to seed (missing [RUNNER_STATE_AWS_ACCESS_KEY_ID is not set])`, and the same for the secret half. Both mutations reverted before the commit. ## Verification On an export of the pushed commit (`git archive 53074de` into a fresh directory, `mise trust`), with no store and no Proxmox credential in the environment: ``` $ env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY \ mise exec -- make check ... env-check: the pin and the map agree. env tests: every case passed. plan tests: every case passed. tofu fmt -recursive -check -diff rc=0 # 130 `ok` assertions, 12 of them the new case (118 at c1ef4b3) ``` CI on the same SHA: `pr-checks / check (pull_request)` **success** (31s) and `plan / guest-plan-check (pull_request_target)` **success** (16s). `docs/environment.md` renders as 1 table, 10 rows, header 3 cells, 0 ragged rows (`POST /api/v1/markdown`), and its widest prose line is still 82 characters — the file's own cap, measured before and after. ## Left alone, deliberately - **The `RUNNER_STATE_*` field names against the live record** (the review's "Not verified", third bullet). `scripts/env.sh` reads each field by variable name and refuses the whole run on a missing one, so a live path still holding the v1 names would redden the merge's fetch. An agent's `make env` is refused by design and I hold no store credential, so I could not read the record; that check stays the Operator's before merge. - **The live `ci-cockpit` policy** against `bao/policies/ci-cockpit.hcl` — same reason, no store read from here. - **The plan job for `runner/guest`** and the typed-twice template id: the review named them and did not charge them, and both belong to the slices the PR body lists. No change made. - Nothing outside the four findings: the PR body, commit `c1ef4b3`, `env.map`, `.env.example` and the runner Stack's configuration are untouched.
Member

Review started (round 2/5) on 53074defd5 — reading the diff now.

**Review started** (round 2/5) on 53074defd5509b82cc8baaa96ab2f4c7ee59a3ab — reading the diff now.
bot-minos approved these changes 2026-11-06 16:29:04 +00:00
bot-minos left a comment

repo=olympus/infra-cockpit pr=20 head=53074defd5509b82cc8baaa96ab2f4c7ee59a3ab round=2/5 verdict=merge (0 blockers, 0 advisories)

Reviewed: olympus/infra-cockpit#20 at 53074de, round 2 of 5 by the thread (one review already posted, so two) — the dispatch said 2/5 as well, the counts agree. One reviewer held both axes; the sections below are kept apart anyway.

Recommendation: merge

Why merge: no blocker, and no advisory at all, so neither the state rule (blockers only) nor the volume rule (three or more counted advisories) has anything to act on. State is APPROVED, label review/merge-ready.

Round 1 closed

Fixed point: c1ef4b3, the head round 1 reviewed (its review is marked stale and dismissed by the forge because the head moved; that is the forge's doing, the findings stand as written). git merge-base --is-ancestor c1ef4b3 53074de → true: the fixer stacked one commit, 53074de (Efesto), no rewrite. The round's delta is git diff c1ef4b3 53074de: 5 files, +107 −7. Round 1 had 0 blockers and 4 advisories; the round is owed those four and nothing more.

Round 1 advisory Result at 53074de Evidence (head worktree, grep -n)
S1 — docs/environment.md lacks the two new names Cleared. A table row for both names carries the record, who reads it, and that runner-guest-plan / runner-guest put the pair on the backend's AWS_* names. The paragraph under the table names the policy that mints the record. docs/environment.md:68, :79. Table: 11 lines, all 4 pipes (3 cells), header + separator + 9 rows — no ragged row. Widest non-table line 82 characters before (c1ef4b3) and after, the file's own cap.
S2 — RUNNER_GUEST_IDENTITY has no reader Cleared. The line is gone: grep -c RUNNER_GUEST_IDENTITY Makefile → 0 (was 1, its definition). RUNNER_GUEST_DIR (Makefile:22) has a reader at :219. Makefile delta is 1 deletion.
S3 — two comments assert what is not yet true Cleared. backend.tf now says "the readers that take it come with the rest of CP-42"; container.tf says Forgejo Actions will deploy 145, the step coming with the rest of CP-42. Both match the code: PROD_STEPS := snapshot guest service verify (Makefile:56) reads GUEST_DIR only, and verify: / ssh: do not touch runner/. runner/guest/backend.tf:4, runner/guest/container.tf:2
S4 — the credential swap has no test Cleared, and the test bites (driven below). scripts/tests/plan-check.sh:336 (case), :431 (registered in the case list), :34 (REAL_TOFU)

S4, re-driven by me

make check at the head worktree: rc=0, 130 ok lines, 0 FAIL lines (the author's 130 recounts; the new case adds 12). make plan-test alone: rc=0. Then mutations on git archive copies of the head tree, each with the diff printed before the suite ran:

Copy Mutation make plan-test Red assertions
control none rc=0 none
m1 use_state_creds' two export lines (Makefile:209-210) → true rc=2 tofu is handed the runner record's key, and its secret, the server record's key is not what the backend reads (found server-record-key-id), nor its secret
m3 guard test (Makefile:204) → if false; then rc=2 the refusal names the variable to seed × 2 (access half, secret half)
m4 guard loop checks the access half only rc=2 the refusal names the variable to seed (secret half) — the one assertion that aims at it
m5 main's Makefile with the head's test rc=2 the whole runner case: want [0], got [2], plus every missing [...]

The case goes red on exactly the assertions that name each defect and stays green on the rest, so it tests the swap and the guard, not "something runs". The stand-in tofu logs only the fake runner-record-* / server-record-* strings; no real key is in the diff or in the test.

CI by SHA 53074de: pr-checks / check (pull_request) success (31s), plan / guest-plan-check (pull_request_target) success (16s). git status --porcelain after the suite: empty.

Spec

Source: the PR body (first slice of CP-42: Guest 145's Stack and the Targets the Operator's first apply runs), which is unchanged this round, plus the CP-42 ticket as round 1 read it (not re-read this round: the delta touches none of its criteria). The delta touches docs, two comments, one deleted line and a test, and moves none of the body's claims: the merge still creates nothing, and make prod still runs the server's steps only (Makefile:56).

No findings on this axis. The fix report's claims recount: 130 ok (12 new), the 82-character cap, the table shape, and the two mutations the author quoted (I reproduced both, m1 and m3, with the same failing assertion names).

Standards

Sources read at the head: AGENTS.md (§Docs: "docs/environment.md — where every environment name comes from"; §Secrets; §Toolchain: make check is the one credential-free floor), docs/environment.md, docs/agents/issue-tracker.md. The delta sits within them: the names are documented where AGENTS.md §Docs says they live, nothing plaintext is added, and the new test rides make plan-test, which is on make check's floor. Baseline smells checked on the delta: none worth a clearing change.

No findings on this axis.

Named, not charged

  • The PR body's Summary block predates the fix. It lists scripts/tests/run.sh as the only test edit and does not name docs/environment.md or scripts/tests/plan-check.sh. Nothing the body asserts became false, no repo rule asks the Summary to enumerate files, and the fix report in the thread says what moved. Not a finding.
  • Template id typed twice (runner/guest/variables.tf and semaphore/guest/variables.tf), the plan check not covering runner/guest (.forgejo/workflows/plan.yml), and infra-secrets' docs/store-layout.md — all named in round 1, all belong to later slices or another repository, all disclosed. Unchanged by this delta.
  • Merge gate: currency. base.sha 263c725 equals git ls-remote origin refs/heads/main (263c725), so the branch is current; the merge button is the Operator's.

Not verified, and why

  • The live store: that secret/tofu-state/semaphore-runner/deploy holds fields named RUNNER_STATE_AWS_ACCESS_KEY_ID / RUNNER_STATE_AWS_SECRET_ACCESS_KEY (the all-or-nothing fetch refuses the whole run on a missing field), and that the live ci-cockpit policy matches bao/policies/ci-cockpit.hcl. An agent's make env is refused by design and I hold no store credential. The author left both to the Operator before merge, and the PR's Merge Danger names the policy; I repeat that the field names are the same check. Unchanged from round 1, not charged.
  • make runner-guest-plan against the empty record and the first apply — need the store, the age class and the PROD token. The body's pasted output was read, not reproduced.

Summary

Axis Findings Worst
Standards 0 (0 blocker, 0 advisory) none
Spec 0 none

Verdict: no blocker, so APPROVED; no advisory, so Recommendation: merge and review/merge-ready. All four round 1 advisories are cleared at 53074de, and the S4 test is proved by mutation, not by its own green.

<!-- minos review-loop: repo=olympus/infra-cockpit pr=20 head=53074defd5509b82cc8baaa96ab2f4c7ee59a3ab round=2/5 axes=standards,spec --> repo=olympus/infra-cockpit pr=20 head=53074defd5509b82cc8baaa96ab2f4c7ee59a3ab round=2/5 verdict=merge (0 blockers, 0 advisories) **Reviewed:** olympus/infra-cockpit#20 at `53074de`, round 2 of 5 by the thread (one review already posted, so two) — the dispatch said 2/5 as well, the counts agree. One reviewer held both axes; the sections below are kept apart anyway. Recommendation: merge **Why `merge`:** no blocker, and no advisory at all, so neither the state rule (blockers only) nor the volume rule (three or more counted advisories) has anything to act on. State is APPROVED, label `review/merge-ready`. ## Round 1 closed Fixed point: `c1ef4b3`, the head round 1 reviewed (its review is marked stale and dismissed by the forge because the head moved; that is the forge's doing, the findings stand as written). `git merge-base --is-ancestor c1ef4b3 53074de` → true: the fixer stacked one commit, `53074de` (Efesto), no rewrite. The round's delta is `git diff c1ef4b3 53074de`: 5 files, +107 −7. Round 1 had **0 blockers and 4 advisories**; the round is owed those four and nothing more. | Round 1 advisory | Result at `53074de` | Evidence (head worktree, `grep -n`) | | --- | --- | --- | | S1 — `docs/environment.md` lacks the two new names | **Cleared.** A table row for both names carries the record, who reads it, and that `runner-guest-plan` / `runner-guest` put the pair on the backend's `AWS_*` names. The paragraph under the table names the policy that mints the record. | `docs/environment.md:68`, `:79`. Table: 11 lines, all 4 pipes (3 cells), header + separator + 9 rows — no ragged row. Widest non-table line 82 characters before (`c1ef4b3`) and after, the file's own cap. | | S2 — `RUNNER_GUEST_IDENTITY` has no reader | **Cleared.** The line is gone: `grep -c RUNNER_GUEST_IDENTITY Makefile` → 0 (was 1, its definition). `RUNNER_GUEST_DIR` (`Makefile:22`) has a reader at `:219`. | `Makefile` delta is `1 deletion`. | | S3 — two comments assert what is not yet true | **Cleared.** `backend.tf` now says "the readers that take it come with the rest of CP-42"; `container.tf` says Forgejo Actions *will* deploy 145, the step coming with the rest of CP-42. Both match the code: `PROD_STEPS := snapshot guest service verify` (`Makefile:56`) reads `GUEST_DIR` only, and `verify:` / `ssh:` do not touch `runner/`. | `runner/guest/backend.tf:4`, `runner/guest/container.tf:2` | | S4 — the credential swap has no test | **Cleared, and the test bites** (driven below). | `scripts/tests/plan-check.sh:336` (case), `:431` (registered in the case list), `:34` (`REAL_TOFU`) | ### S4, re-driven by me `make check` at the head worktree: rc=0, 130 `ok` lines, 0 `FAIL` lines (the author's 130 recounts; the new case adds 12). `make plan-test` alone: rc=0. Then mutations on `git archive` copies of the head tree, each with the diff printed before the suite ran: | Copy | Mutation | `make plan-test` | Red assertions | | --- | --- | --- | --- | | control | none | rc=0 | none | | m1 | `use_state_creds`' two `export` lines (`Makefile:209-210`) → `true` | rc=2 | `tofu is handed the runner record's key`, `and its secret`, `the server record's key is not what the backend reads` (found `server-record-key-id`), `nor its secret` | | m3 | guard test (`Makefile:204`) → `if false; then` | rc=2 | `the refusal names the variable to seed` × 2 (access half, secret half) | | m4 | guard loop checks the access half only | rc=2 | `the refusal names the variable to seed` (secret half) — the one assertion that aims at it | | m5 | `main`'s Makefile with the head's test | rc=2 | the whole runner case: want `[0]`, got `[2]`, plus every `missing [...]` | The case goes red on exactly the assertions that name each defect and stays green on the rest, so it tests the swap and the guard, not "something runs". The stand-in `tofu` logs only the fake `runner-record-*` / `server-record-*` strings; no real key is in the diff or in the test. CI by SHA `53074de`: `pr-checks / check (pull_request)` success (31s), `plan / guest-plan-check (pull_request_target)` success (16s). `git status --porcelain` after the suite: empty. ## Spec Source: the PR body (first slice of CP-42: Guest 145's Stack and the Targets the Operator's first apply runs), which is unchanged this round, plus the CP-42 ticket as round 1 read it (not re-read this round: the delta touches none of its criteria). The delta touches docs, two comments, one deleted line and a test, and moves none of the body's claims: the merge still creates nothing, and `make prod` still runs the server's steps only (`Makefile:56`). No findings on this axis. The fix report's claims recount: 130 `ok` (12 new), the 82-character cap, the table shape, and the two mutations the author quoted (I reproduced both, m1 and m3, with the same failing assertion names). ## Standards Sources read at the head: `AGENTS.md` (§Docs: "`docs/environment.md` — where every environment name comes from"; §Secrets; §Toolchain: `make check` is the one credential-free floor), `docs/environment.md`, `docs/agents/issue-tracker.md`. The delta sits within them: the names are documented where `AGENTS.md` §Docs says they live, nothing plaintext is added, and the new test rides `make plan-test`, which is on `make check`'s floor. Baseline smells checked on the delta: none worth a clearing change. No findings on this axis. ## Named, not charged - **The PR body's Summary block predates the fix.** It lists `scripts/tests/run.sh` as the only test edit and does not name `docs/environment.md` or `scripts/tests/plan-check.sh`. Nothing the body asserts became false, no repo rule asks the Summary to enumerate files, and the fix report in the thread says what moved. Not a finding. - **Template id typed twice** (`runner/guest/variables.tf` and `semaphore/guest/variables.tf`), **the plan check not covering `runner/guest`** (`.forgejo/workflows/plan.yml`), and **`infra-secrets`' `docs/store-layout.md`** — all named in round 1, all belong to later slices or another repository, all disclosed. Unchanged by this delta. - **Merge gate: currency.** `base.sha` 263c725 equals `git ls-remote origin refs/heads/main` (263c725), so the branch is current; the merge button is the Operator's. ## Not verified, and why - **The live store**: that `secret/tofu-state/semaphore-runner/deploy` holds fields named `RUNNER_STATE_AWS_ACCESS_KEY_ID` / `RUNNER_STATE_AWS_SECRET_ACCESS_KEY` (the all-or-nothing fetch refuses the whole run on a missing field), and that the live `ci-cockpit` policy matches `bao/policies/ci-cockpit.hcl`. An agent's `make env` is refused by design and I hold no store credential. The author left both to the Operator before merge, and the PR's Merge Danger names the policy; I repeat that the field names are the same check. Unchanged from round 1, not charged. - **`make runner-guest-plan` against the empty record and the first apply** — need the store, the age class and the PROD token. The body's pasted output was read, not reproduced. ## Summary | Axis | Findings | Worst | | --- | --- | --- | | Standards | 0 (0 blocker, 0 advisory) | none | | Spec | 0 | none | Verdict: no blocker, so APPROVED; no advisory, so `Recommendation: merge` and `review/merge-ready`. All four round 1 advisories are cleared at `53074de`, and the S4 test is proved by mutation, not by its own green.
pit merged commit 99c8ee8df4 into main 2026-11-06 16:39:50 +00:00
pit deleted branch hermes/cp42-runner-guest 2026-11-06 16:39:50 +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-cockpit!20
No description provided.