Declare the Semaphore deploy projects in OpenTofu (CP-43) #26

Merged
pit merged 3 commits from hermes/cp43-semaphore-projects into main 2026-11-07 14:12:59 +00:00
Owner

Implements CP-43. Do not merge before SL-24 and SC-23 have landed. See Merge Danger.

Summary

 semaphore/
   guest/
   service/
+  projects/            # semaphoreui/semaphore 0.3.10, state prod/semaphore-projects.tfstate
+    projects.tf        # per repo (tracker, forge, secrets, silo):
+                       #   project (alert on), none key, HTTPS repository,
+                       #   localhost inventory, values-only environment (PROXMOX_VE_ENDPOINT),
+                       #   template "deploy": bash scripts/semaphore-deploy.sh
+                       # ci user (ephemeral write-only password), Manager on each project
+    outputs.tf         # deploy = { repo => { project_id, template_id } }
 PROD_STEPS: snapshot runner-snapshot guest runner-guest service
+           projects
             verify
 plan.yml:
   guest-plan-check, runner-guest-plan-check
+  projects-plan-check   # plan-only state key, no Semaphore credential, -refresh=false
 env.map:
+  actors=pit,cockpit secret/tofu-state/semaphore-projects/deploy PROJECTS_STATE_AWS_*
+  actors=pit,cockpit secret/services/semaphore/tofu-token       SEMAPHOREUI_API_TOKEN

These follow the Operator's decisions on CP-43:

  • No SSH key is declared into Semaphore. The repositories are public and clone over HTTPS, and the Semaphore runner fetches deploy-ssh itself.
  • No secret goes in any environment, so the state holds no secret value at all.
  • The PR plan check holds no Semaphore credential, because Semaphore has no read-only admin.
  • scripts/semaphore-deploy.sh is each repository's to write, in its own deploy ticket (TR-58, FO-50, SC-19, SL-20).
  • The project and template ids are set as each repository's Variables by hand, from make projects-ids.

guest-plan-check and projects-plan-check now share one plan_check body.

Evidence

  • mise exec -- make check: rc 0, 176 ok, 0 FAIL, on an export of ea818e0; the reviewed head counts 162, and the 14 new assertions are the projects check's case. Three tests were updated or added first and seen red: the map's name count (15 to 18), the prod step order, and the projects check's case — reddened separately by each of the three mutations the review named.
  • make projects-plan-check was run offline on a copy of the Stack with local state, against http://semaphore.invalid/api and a dummy token:
    • empty state: Plan: 29 to add, 0 to change, 0 to destroy., then plan-check: the plan destroys and replaces nothing. rc 0, with no API call;
    • hand-made state, template project_id 99 vs 7: FAIL semaphoreui_project_template.deploy["infra-tracker"] would be replaced ... (forced by project_id). rc 2, still with no API call;
    • missing key: error: ... these are empty: AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY. Planning nothing. rc 2;
    • endpoint without https: refused by the variable's validation and named by the judge. rc 2.
  • tofu validate on the Stack: Success! The configuration is valid.
  • 145 reaches all four repositories over HTTPS: git ls-remote https://forgejo.thepit.space/olympus/<repo>.git answers for each.
  • secret/services/semaphore/tofu-token v1 was minted on 2026-11-07. Its read-back matches the minted token, and it answers 200 on the admin-only GET /api/users.
  • Not run: the apply. The state keys don't exist yet (SL-24). The live acceptance criteria are proved after this merges:
    • the state search for secret values;
    • a no-changes plan after the apply;
    • ci Manager on exactly the four projects, with the per-repository tokens;
    • the Variables set.

Merge Danger

Door: two-way

Revert the merge. The judge refuses any destroy, so reverting leaves the Semaphore projects in place, and they are removed by hand if wanted.

Blast Radius: cockpit's deploy

  • Merge order. Cockpit's make env is all-or-nothing. Merged before SL-24 (the projects record's keys) and SC-23 (ci-cockpit reads both new paths), the next deploy goes red at the fetch, before any snapshot. After the merge, every PR shows plan / projects-plan-check red until SL-24's COCKPIT_PROJECTS_PLAN_STATE_* repository secrets exist.
  • Accepted risk: cockpit's deploy holds an admin token that could delete a project. Only the judge refuses it. The deploy already had that reach through the admin password (docs/deploy.md, "The Semaphore projects").
  • First real merge: creates 4 projects and the ci user on 143. Nothing runs them until each repository's deploy.yml and script exist.
Implements CP-43. **Do not merge before SL-24 and SC-23 have landed.** See Merge Danger. ## Summary ```diff semaphore/ guest/ service/ + projects/ # semaphoreui/semaphore 0.3.10, state prod/semaphore-projects.tfstate + projects.tf # per repo (tracker, forge, secrets, silo): + # project (alert on), none key, HTTPS repository, + # localhost inventory, values-only environment (PROXMOX_VE_ENDPOINT), + # template "deploy": bash scripts/semaphore-deploy.sh + # ci user (ephemeral write-only password), Manager on each project + outputs.tf # deploy = { repo => { project_id, template_id } } ``` ```diff PROD_STEPS: snapshot runner-snapshot guest runner-guest service + projects verify plan.yml: guest-plan-check, runner-guest-plan-check + projects-plan-check # plan-only state key, no Semaphore credential, -refresh=false env.map: + actors=pit,cockpit secret/tofu-state/semaphore-projects/deploy PROJECTS_STATE_AWS_* + actors=pit,cockpit secret/services/semaphore/tofu-token SEMAPHOREUI_API_TOKEN ``` These follow the Operator's decisions on CP-43: - No SSH key is declared into Semaphore. The repositories are public and clone over HTTPS, and the Semaphore runner fetches `deploy-ssh` itself. - No secret goes in any environment, so the state holds no secret value at all. - The PR plan check holds no Semaphore credential, because Semaphore has no read-only admin. - `scripts/semaphore-deploy.sh` is each repository's to write, in its own deploy ticket (TR-58, FO-50, SC-19, SL-20). - The project and template ids are set as each repository's Variables by hand, from `make projects-ids`. `guest-plan-check` and `projects-plan-check` now share one `plan_check` body. ## Evidence - `mise exec -- make check`: rc 0, **176 ok, 0 FAIL**, on an export of `ea818e0`; the reviewed head counts 162, and the 14 new assertions are the projects check's case. Three tests were updated or added first and seen red: the map's name count (15 to 18), the `prod` step order, and the projects check's case — reddened separately by each of the three mutations the review named. - `make projects-plan-check` was run offline on a copy of the Stack with local state, against `http://semaphore.invalid/api` and a dummy token: - **empty state:** `Plan: 29 to add, 0 to change, 0 to destroy.`, then `plan-check: the plan destroys and replaces nothing.` rc 0, with no API call; - **hand-made state, template `project_id` 99 vs 7:** `FAIL semaphoreui_project_template.deploy["infra-tracker"] would be replaced ... (forced by project_id)`. rc 2, still with no API call; - **missing key:** `error: ... these are empty: AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY. Planning nothing.` rc 2; - **endpoint without https:** refused by the variable's validation and named by the judge. rc 2. - `tofu validate` on the Stack: `Success! The configuration is valid.` - 145 reaches all four repositories over HTTPS: `git ls-remote https://forgejo.thepit.space/olympus/<repo>.git` answers for each. - `secret/services/semaphore/tofu-token` v1 was minted on 2026-11-07. Its read-back matches the minted token, and it answers 200 on the admin-only `GET /api/users`. - **Not run:** the apply. The state keys don't exist yet (SL-24). The live acceptance criteria are proved after this merges: - the state search for secret values; - a no-changes plan after the apply; - `ci` Manager on exactly the four projects, with the per-repository tokens; - the Variables set. ## Merge Danger **Door:** two-way Revert the merge. The judge refuses any destroy, so reverting leaves the Semaphore projects in place, and they are removed by hand if wanted. **Blast Radius:** cockpit's deploy - **Merge order.** Cockpit's `make env` is all-or-nothing. Merged before **SL-24** (the projects record's keys) and **SC-23** (ci-cockpit reads both new paths), the next deploy goes red at the fetch, before any snapshot. After the merge, every PR shows `plan / projects-plan-check` red until SL-24's `COCKPIT_PROJECTS_PLAN_STATE_*` repository secrets exist. - **Accepted risk:** cockpit's deploy holds an admin token that could delete a project. Only the judge refuses it. The deploy already had that reach through the admin password (docs/deploy.md, "The Semaphore projects"). - **First real merge:** creates 4 projects and the `ci` user on 143. Nothing runs them until each repository's `deploy.yml` and script exist.
A new Stack, semaphore/projects, with the semaphoreui/semaphore provider
0.3.10 and its state at prod/semaphore-projects.tfstate in the store: one
project per Semaphore-deployed repository (infra-tracker, infra-forge,
infra-secrets, infra-silo), alert on, each with a bash deploy template
running scripts/semaphore-deploy.sh from its own repository, an HTTPS
repository with a declared none key, a values-only environment carrying
PROXMOX_VE_ENDPOINT, and the ci user as Manager. ci's password is
ephemeral and write-only, so the state holds no secret value at all.
The project and template ids are the `deploy` output.

make prod gains `projects` after `service`. The pull request's plan gains
projects-plan-check: a plan-only state key, no Semaphore credential,
-refresh=false, judged by the same judge.

env.map gains the projects record's deploy key and the admin API token
(secret/services/semaphore/tofu-token, minted for this). Both rows must
land after the paths exist and ci-cockpit can read them.
review: one plan-check body for every Stack, and the docs it missed (CP-43)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 20s
plan / runner-guest-plan-check (pull_request_target) Successful in 14s
pr-checks / check (pull_request) Successful in 38s
6fcb1cacbc
- Makefile: `plan_check` is the plan-and-judge body guest-plan-check and
  projects-plan-check share, with the plan flags as an argument, and
  `require_plan_credentials` takes the names a Stack's check needs.
- semaphore/projects: the inventory is named `localhost`, not `none`, which
  already names the key; providers.tf no longer types the port.
- docs/deploy.md: the projects plan key's row in the secrets table, three
  jobs rather than two, and the accepted risk that the deploy's admin token
  could delete a project (workshop ADR-0011 names machines).
- AGENTS.md: the repo also carries the runner's Guest and the projects.
Member

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

**Review started** (round 1/5) on 6fcb1cacbc3c74716b01aea79d42896a291b506f — reading the diff now.
bot-minos approved these changes 2026-11-07 10:55:01 +00:00
Dismissed
bot-minos left a comment

repo: olympus/infra-cockpit · PR: 26 · reviewed head: 6fcb1cacbc · round: 1/5 (the thread carries no earlier review) · verdict: APPROVE, no blocker — and the count of three advisories earns fix

Recommendation: fix

The recommendation turns on the count, not on the weight. There is no blocker. Three advisories were counted, and three or more move the recommendation to fix and the label to review/needs-fix beside an APPROVE state. Each finding below keeps the severity its evidence earned; none of them is a defect in what the Stack declares. One batched polish round clears all three.

Spec

Source: PR body (Implements CP-43) and the ticket CP-43 (Vikunja project 11, index 43) with its comment of 2026-11-07, which carries the six Operator decisions that amend the ticket body. Where the two disagree the comment governs: the repository SSH clone key and the Semaphore SSH key are not declared (decisions 2 and 3), the plan check holds no Semaphore credential (4), and no offline test of the project is wanted (6).

Ticket requirement At head
4 projects (tracker, forge, secrets, silo), alert on met: semaphore/projects/variables.tf:8, projects.tf:28
deploy template per project, env-type secrets only met: projects.tf:89; the environment holds PROXMOX_VE_ENDPOINT and nothing else (projects.tf:69-77)
template's first step make env ACTOR=runner + trap, then make prod delegated to each repository's scripts/semaphore-deploy.sh (body, Operator comment); contract written at projects.tf:80-88 and docs/deploy.md
no integration, alias, webhook met: none declared
outputs: project id + template id per repository met: outputs.tf:7-15, read by make projects-ids
ci Manager on the four projects met: projects.tf:133-139
projects step in the PROD deploy, plan check in PRs met: Makefile:67, plan.yml job projects-plan-check

Findings:

  1. ADVISORY — the PR body's evidence figure does not reproduce. The body says make check: rc 0, 153 ok, 0 FAIL. I ran make check at the head: rc 0, 0 FAIL, and grep -cE '^[[:space:]]*ok([[:space:]]|$)' counts 162 (install-reinstall 81, env tests 17, plan tests 64). The base 2929e1e also counts 162, so the PR adds no test case — it edits two existing ones (scripts/tests/run.sh:89, scripts/tests/plan-check.sh:378-379). The green result is real; the stated number is not any total or subset of the parts. Fix: restate the figure (or drop it).

Claims confirmed by my own run: projects-plan-check on the empty state → Plan: 29 to add, plan-check: the plan destroys and replaces nothing., rc 0; endpoint http://x → refused by the validation at variables.tf:19, rc 2; missing AWS_ACCESS_KEY_ID → Planning nothing., rc 2; tofu validate on the Stack: valid; tofu init -lockfile=readonly accepts the committed .terraform.lock.hcl; tofu fmt -recursive -check clean. The preamble driven against a stub tofu: the server's pair reads guest_identity, then the projects pair is on the backend for init/plan/apply; make projects NONINTERACTIVE=1 ran init, plan, show, judge, apply in that order; a missing SEMAPHOREUI_API_TOKEN refuses before the projects Stack runs any tofu.

Standards

Sources: AGENTS.md (§Secrets, §Toolchain, §Docs), and the org records read from olympus/workshop main, docs/adr/ 0001–0012: 0006 and 0012 (a Stack's state key, three shapes), 0009 (deploy by merge), 0010 (no deployer deploys its own machines), 0011 (a deploy never destroys or replaces). The Stack meets them: its judged apply refuses any destroy or replace (Makefile:433-435 through confirm_and_apply), its PR check holds a plan-only key, and the deploy key is the deploy shape. The one tension, a deploy-held admin token that could delete a project, is written down by the author as an accepted risk against 0011 (docs/deploy.md, "Accepted risk") and rests on an Operator decision, so it is not charged.

  1. ADVISORY — the new Targets are not driven by the suite, and the property the design rests on can change with the suite staying green. AGENTS.md §Toolchain makes make check the floor and says the plan check's own tests are part of it; the Guests' Targets each have cases (scripts/tests/plan-check.sh:100, :178). Nothing under scripts/tests/ mentions projects-plan-check, projects or projects-ids (the only hit is the prod step order, plan-check.sh:378-379). Three mutations of a copy of the head, each followed by make plan-test, all stayed rc 0: (a) -refresh=false removed from Makefile:458; (b) PROXMOX_VE_ENDPOINT removed from PROJECTS_PLAN_CREDENTIALS (Makefile:118); (c) the placeholder token at Makefile:456 replaced. Operator decision 6 excludes an offline test of the project's resources, and I read it that way; the Target's wiring (no refresh, no Semaphore credential, which pair is required) is a different thing, and the same throwaway terraform_data Stack the guest cases use would drive it through PLAN_PROJECTS_DIR. Fix: one red/green case for projects-plan-check, or a line in the body saying decision 6 was meant to cover it.

  2. ADVISORY — make help still describes prod as the old sequence. Makefile:531 reads both snapshots, both Guests, the service layer, verify, in order, in the same Makefile whose PROD_STEPS (Makefile:67) gained projects. The help line is what an Operator reads before running make prod; the PR updated every other description of the sequence (deploy.yml:18 and :68, docs/deploy.md:72, the test at plan-check.sh:378) and missed this one. Fix: add "the Semaphore projects" to the help text.

Named, not charged

  • Merge order (disclosed). SL-24 and SC-23 have not landed: infra-silo main (c88d16a) and infra-secrets main (f41e15a) carry neither semaphore-projects nor tofu-token. The body states "Do not merge before SL-24 and SC-23" and that every PR shows plan / projects-plan-check red until SL-24's repository secrets exist. This is a merge condition, not a defect in the diff; nothing in the forge enforces it, so it is the human's to hold. The docs cite silo/store/semaphore-projects-plan-state-policy.json and the store record secret/tofu-state/semaphore-projects/plan, which do not exist yet for the same reason.
  • README.md:7 summarises the deploy as "snapshot, Guest, service, verify". It was already behind (no runner snapshot or Guest) before this PR and the diff does not touch it.
  • make validate (Makefile:563) validates only the server's Guest Stack, as it did before; the new Stack is covered by fmt-check only in make check. The runner's Stack has the same gap.
  • docs/deploy.md:128 says the Stack's "one input" is the repository list; variables.tf also declares proxmox_ve_endpoint, which the Targets feed. Imprecise, harmless.
  • Live behaviour is outside what a review can reproduce: the apply, the no-changes plan afterwards, the ci tokens, Manager on exactly four projects, and whether the server accepts a second access key named none beside the one it creates itself. The body discloses all of these as not run (state keys do not exist yet). CI on this head was not read; the plan workflow comes from main and cannot run the new job until the merge.

Summary

Axis Findings Worst
Spec 1 ADVISORY the "153 ok" figure does not reproduce (162 at head and at base) — PR body
Standards 2 ADVISORY no suite case drives projects-plan-check; three mutations stay green — Makefile:453-458

Total: 0 BLOCKER, 3 ADVISORY. State APPROVE; recommendation fix because of the advisory count. Verified by my own hand: make check (rc 0, 162 ok, 0 FAIL, base also 162), tofu fmt/validate/init -lockfile=readonly, four projects-plan-check runs, three mutations, the Makefile preamble against a stub tofu, the two sibling main trees, ADRs 0001–0012 from the forge. Not verified: anything live against Semaphore, the store or CI.

<!-- minos review-loop: repo=olympus/infra-cockpit pr=26 head=6fcb1cacbc3c74716b01aea79d42896a291b506f round=1/5 axes=standards,spec --> repo: olympus/infra-cockpit · PR: 26 · reviewed head: 6fcb1cacbc3c74716b01aea79d42896a291b506f · round: 1/5 (the thread carries no earlier review) · verdict: APPROVE, no blocker — and the count of three advisories earns `fix` Recommendation: fix **The recommendation turns on the count, not on the weight.** There is no blocker. Three advisories were counted, and three or more move the recommendation to `fix` and the label to `review/needs-fix` beside an APPROVE state. Each finding below keeps the severity its evidence earned; none of them is a defect in what the Stack declares. One batched polish round clears all three. ## Spec Source: PR body (`Implements CP-43`) and the ticket CP-43 (Vikunja project 11, index 43) with its comment of 2026-11-07, which carries the six Operator decisions that amend the ticket body. Where the two disagree the comment governs: the repository SSH clone key and the Semaphore SSH key are *not* declared (decisions 2 and 3), the plan check holds no Semaphore credential (4), and no offline test of the project is wanted (6). | Ticket requirement | At head | |---|---| | 4 projects (tracker, forge, secrets, silo), alert on | met: `semaphore/projects/variables.tf:8`, `projects.tf:28` | | deploy template per project, env-type secrets only | met: `projects.tf:89`; the environment holds `PROXMOX_VE_ENDPOINT` and nothing else (`projects.tf:69-77`) | | template's first step `make env ACTOR=runner` + trap, then `make prod` | delegated to each repository's `scripts/semaphore-deploy.sh` (body, Operator comment); contract written at `projects.tf:80-88` and `docs/deploy.md` | | no integration, alias, webhook | met: none declared | | outputs: project id + template id per repository | met: `outputs.tf:7-15`, read by `make projects-ids` | | `ci` Manager on the four projects | met: `projects.tf:133-139` | | `projects` step in the PROD deploy, plan check in PRs | met: `Makefile:67`, `plan.yml` job `projects-plan-check` | Findings: 1. **ADVISORY** — the PR body's evidence figure does not reproduce. The body says `make check`: rc 0, **153 ok, 0 FAIL**. I ran `make check` at the head: rc 0, 0 FAIL, and `grep -cE '^[[:space:]]*ok([[:space:]]|$)'` counts **162** (install-reinstall 81, env tests 17, plan tests 64). The base `2929e1e` also counts 162, so the PR adds no test case — it edits two existing ones (`scripts/tests/run.sh:89`, `scripts/tests/plan-check.sh:378-379`). The green result is real; the stated number is not any total or subset of the parts. Fix: restate the figure (or drop it). Claims confirmed by my own run: `projects-plan-check` on the empty state → `Plan: 29 to add`, `plan-check: the plan destroys and replaces nothing.`, rc 0; endpoint `http://x` → refused by the validation at `variables.tf:19`, rc 2; missing `AWS_ACCESS_KEY_ID` → `Planning nothing.`, rc 2; `tofu validate` on the Stack: valid; `tofu init -lockfile=readonly` accepts the committed `.terraform.lock.hcl`; `tofu fmt -recursive -check` clean. The preamble driven against a stub `tofu`: the server's pair reads `guest_identity`, then the projects pair is on the backend for `init`/`plan`/`apply`; `make projects NONINTERACTIVE=1` ran init, plan, show, judge, apply in that order; a missing `SEMAPHOREUI_API_TOKEN` refuses before the projects Stack runs any `tofu`. ## Standards Sources: `AGENTS.md` (§Secrets, §Toolchain, §Docs), and the org records read from `olympus/workshop` `main`, `docs/adr/` 0001–0012: 0006 and 0012 (a Stack's state key, three shapes), 0009 (deploy by merge), 0010 (no deployer deploys its own machines), 0011 (a deploy never destroys or replaces). The Stack meets them: its judged apply refuses any destroy or replace (`Makefile:433-435` through `confirm_and_apply`), its PR check holds a plan-only key, and the deploy key is the deploy shape. The one tension, a deploy-held admin token that could delete a project, is written down by the author as an accepted risk against 0011 (`docs/deploy.md`, "Accepted risk") and rests on an Operator decision, so it is not charged. 2. **ADVISORY** — the new Targets are not driven by the suite, and the property the design rests on can change with the suite staying green. `AGENTS.md §Toolchain` makes `make check` the floor and says the plan check's own tests are part of it; the Guests' Targets each have cases (`scripts/tests/plan-check.sh:100`, `:178`). Nothing under `scripts/tests/` mentions `projects-plan-check`, `projects` or `projects-ids` (the only hit is the `prod` step order, `plan-check.sh:378-379`). Three mutations of a copy of the head, each followed by `make plan-test`, all stayed rc 0: (a) `-refresh=false` removed from `Makefile:458`; (b) `PROXMOX_VE_ENDPOINT` removed from `PROJECTS_PLAN_CREDENTIALS` (`Makefile:118`); (c) the placeholder token at `Makefile:456` replaced. Operator decision 6 excludes an offline test of the *project's resources*, and I read it that way; the Target's wiring (no refresh, no Semaphore credential, which pair is required) is a different thing, and the same throwaway `terraform_data` Stack the guest cases use would drive it through `PLAN_PROJECTS_DIR`. Fix: one red/green case for `projects-plan-check`, or a line in the body saying decision 6 was meant to cover it. 3. **ADVISORY** — `make help` still describes `prod` as the old sequence. `Makefile:531` reads `both snapshots, both Guests, the service layer, verify, in order`, in the same Makefile whose `PROD_STEPS` (`Makefile:67`) gained `projects`. The help line is what an Operator reads before running `make prod`; the PR updated every other description of the sequence (`deploy.yml:18` and `:68`, `docs/deploy.md:72`, the test at `plan-check.sh:378`) and missed this one. Fix: add "the Semaphore projects" to the help text. ## Named, not charged - **Merge order (disclosed).** SL-24 and SC-23 have not landed: `infra-silo` `main` (`c88d16a`) and `infra-secrets` `main` (`f41e15a`) carry neither `semaphore-projects` nor `tofu-token`. The body states "Do not merge before SL-24 and SC-23" and that every PR shows `plan / projects-plan-check` red until SL-24's repository secrets exist. This is a merge condition, not a defect in the diff; nothing in the forge enforces it, so it is the human's to hold. The docs cite `silo/store/semaphore-projects-plan-state-policy.json` and the store record `secret/tofu-state/semaphore-projects/plan`, which do not exist yet for the same reason. - **`README.md:7`** summarises the deploy as "snapshot, Guest, service, verify". It was already behind (no runner snapshot or Guest) before this PR and the diff does not touch it. - **`make validate`** (`Makefile:563`) validates only the server's Guest Stack, as it did before; the new Stack is covered by `fmt-check` only in `make check`. The runner's Stack has the same gap. - **`docs/deploy.md:128`** says the Stack's "one input" is the repository list; `variables.tf` also declares `proxmox_ve_endpoint`, which the Targets feed. Imprecise, harmless. - **Live behaviour** is outside what a review can reproduce: the apply, the no-changes plan afterwards, the `ci` tokens, Manager on exactly four projects, and whether the server accepts a second access key named `none` beside the one it creates itself. The body discloses all of these as not run (state keys do not exist yet). CI on this head was not read; the `plan` workflow comes from `main` and cannot run the new job until the merge. ## Summary | Axis | Findings | Worst | |---|---|---| | Spec | 1 ADVISORY | the "153 ok" figure does not reproduce (162 at head and at base) — `PR body` | | Standards | 2 ADVISORY | no suite case drives `projects-plan-check`; three mutations stay green — `Makefile:453-458` | Total: 0 BLOCKER, 3 ADVISORY. State APPROVE; recommendation `fix` because of the advisory count. Verified by my own hand: `make check` (rc 0, 162 ok, 0 FAIL, base also 162), `tofu fmt`/`validate`/`init -lockfile=readonly`, four `projects-plan-check` runs, three mutations, the Makefile preamble against a stub `tofu`, the two sibling `main` trees, ADRs 0001–0012 from the forge. Not verified: anything live against Semaphore, the store or CI.
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.
review: a case for the projects check, and the help line it missed (CP-43)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 18s
plan / runner-guest-plan-check (pull_request_target) Successful in 15s
pr-checks / check (pull_request) Successful in 39s
ea818e090a
The review's three advisories, in one round.

projects-plan-check had no case, so the three mutations the reviewer ran
stayed green: -refresh=false dropped from the Target, the endpoint
dropped from its required pair, and the placeholder token replaced. The
case drives the Target over a sandbox projects Stack with a `tofu`
stand-in that logs its argv and the names the Stack reads, so "what the
check ran" is a reading of the log rather than of the Target's echo: no
refresh, the placeholder token, an address that cannot resolve, and the
endpoint the Variables carry. Two refusals pin the pair it requires, and
assert the guard's own sentence — a shell that dies reading an unset name
prints that name too, and a probe matching the name alone passed the
endpoint mutation.

`make help` still described `prod` as the old sequence, and `plan-test`
as driving only the Guests' two Targets. Both now name the projects
Stack, as every other description of the sequence already did;
docs/deploy.md and docs/environment.md enumerated plan-test's seams and
are corrected with them.
bot-efesto dismissed bot-minos's review 2026-11-07 10:59:35 +00:00
Reason:

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

Member

Fix round 1/5 — head ea818e0 on hermes/cp43-semaphore-projects, one new commit on top of 6fcb1ca. Nothing was left unfixed and nothing is disputed: all three advisories are cleared.

I read the review as the round it is — 0 BLOCKER, 3 ADVISORY, fix on the count — so each one is treated as required.

# Finding Resolved by
1 the body's 153 ok figure does not reproduce PR body, corrected in place (a body write, no commit)
2 no case drives projects-plan-check; three mutations stayed green ea818e0
3 make help still describes prod as the old sequence ea818e0

2 — the case, which is the substantive one

scripts/tests/plan-check.sh gains case_the_projects_check_is_blind_on_purpose, registered in the case_fn list: 14 assertions. The sandbox is a throwaway semaphore/projects Stack plus a tofu stand-in that logs its argv and the names the Stack reads, then execs the real binary — so what the check ran is read off the log, not off the Target's own echo. It pins that the check plans the Stack PLAN_PROJECTS_DIR names and that the plan is judged; -refresh=false on the plan argv; the token tofu is handed being the placeholder none-in-a-pull-request; the address being http://semaphore.invalid/api; TF_VAR_proxmox_ve_endpoint carrying PROXMOX_VE_ENDPOINT; and the required pair refused by name, in the guard's own sentence, with no tofu composed when it is missing.

Your three mutations re-run against the fix — each now red, and only the intended assertions red:

Mutation Output
-refresh=false dropped from the Target FAIL it plans with no refresh, so the check never asks the server (missing [argv: plan -input=false -no-color -lock=false -refresh=false])
PROXMOX_VE_ENDPOINT dropped from PROJECTS_PLAN_CREDENTIALS FAIL the guard names the endpoint the job has to carry (missing [these are empty: PROXMOX_VE_ENDPOINT]) and FAIL and the refusal is not the shell reading an unset name (found [unbound variable])
the placeholder token replaced by whatever the environment carries FAIL the Semaphore token tofu is handed is the placeholder, not a credential (missing [SEMAPHOREUI_API_TOKEN=none-in-a-pull-request])

One correction to my own first attempt, because it decided the assertions' shape. The first draft asserted only that the refusal named PROXMOX_VE_ENDPOINT — and mutation 2 stayed green. With the endpoint guard gone, the recipe's export TF_VAR_proxmox_ve_endpoint="$$PROXMOX_VE_ENDPOINT" runs under set -u, and bash's own PROXMOX_VE_ENDPOINT: unbound variable prints that name too: the case passed on an error no guard wrote, which is the same class of false green the finding charged. It now asserts the guard's sentence (these are empty: …) and asserts unbound variable absent, which is why mutation 2 reds twice. The comment in the case says why, so the next reader does not loosen it back.

3 — the help line, and the neighbours that named the same set

Makefile:531 now reads … the service layer, the Semaphore projects, verify, in order …. Three neighbours of the same class went false once the case landed, so they are corrected in the same commit:

  • plan-test's own help line claimed the tests are judged by guest-plan-check and the deploy's guest apply; it now names projects-plan-check too.
  • docs/deploy.md:57 — "judged through both Targets that use the judge" → "every Target that uses the judge".
  • docs/environment.md:128 — the same enumeration, now naming projects-plan-check.

The pages keep their own register: prose-widths.py … --baseline HEAD reports widest prose line = 82, cap 82, over = 0 for docs/environment.md and 89 / 89 / 0 for docs/deploy.md.

1 — the figure

The body's Evidence bullet now reads: rc 0, **176 ok, 0 FAIL**, on an export of ea818e0; the reviewed head counts 162, and the 14 new assertions are the projects check's case. Both numbers are measured here, not quoted from this thread:

Tree make check plan tests
reviewed head 6fcb1ca rc=0, 162 ok, 0 FAIL 64
fix head ea818e0 rc=0, 176 ok, 0 FAIL 78

162 is your figure and the base's; the body's 153 reproduces as nothing, at either tree. On the reviewed head I re-ran before touching anything, so the 153 was corrected against a measurement rather than against your count.

The command and its output

$ env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check
rc=0
ok=176
FAIL=0
install-reinstall: the pair is replaced; every case passed.
env tests: every case passed.
plan tests: every case passed.

Run on a fresh export of the committed tree (git archive HEAD | tar -x -C <dir>, then mise trust) rather than the working tree, so the tree that ran is byte-identical to the branch. make plan-test alone at ea818e0: rc=0, 78 ok, 0 FAIL.

CI on ea818e0, newest row per context, all green: pr-checks / check (pull_request) success in 39s, plan / guest-plan-check (pull_request_target) success in 18s, plan / runner-guest-plan-check (pull_request_target) success in 15s. The projects job still cannot run before the merge, as the body already says.

What I left alone, and one gap I found

  • README.md:7 ("snapshot, Guest, service, verify") — you named it as not charged, and it was already behind before this PR (no runner snapshot, no runner Guest). Not touched.
  • The gap the case does not close, named rather than fixed. The case pins that the projects check does not refresh. Nothing pins that the guest check still does: if -refresh=false were pushed into the shared plan_check macro's default flags, the guest check would go blind to drift and the suite would stay green. That is outside this finding's blast radius (it is the Guests' wiring, not the projects'), and covering it needs the same stand-in tofu driven from guest-plan-check — a ticket of its own, not a line added on the way past.
  • Everything live is still the Operator's and unchanged by this round: the apply, the state search for secret values, the ci tokens, Manager on the four projects. State keys do not exist yet (SL-24), and the merge order in the body stands.
**Fix round 1/5** — head `ea818e0` on `hermes/cp43-semaphore-projects`, one new commit on top of `6fcb1ca`. Nothing was left unfixed and nothing is disputed: all three advisories are cleared. I read the review as the round it is — 0 BLOCKER, 3 ADVISORY, `fix` on the count — so each one is treated as required. | # | Finding | Resolved by | |---|---|---| | 1 | the body's `153 ok` figure does not reproduce | PR body, corrected in place (a body write, no commit) | | 2 | no case drives `projects-plan-check`; three mutations stayed green | `ea818e0` | | 3 | `make help` still describes `prod` as the old sequence | `ea818e0` | ## 2 — the case, which is the substantive one `scripts/tests/plan-check.sh` gains `case_the_projects_check_is_blind_on_purpose`, registered in the `case_fn` list: 14 assertions. The sandbox is a throwaway `semaphore/projects` Stack plus a `tofu` stand-in that logs its argv and the names the Stack reads, then execs the real binary — so what the check *ran* is read off the log, not off the Target's own echo. It pins that the check plans the Stack `PLAN_PROJECTS_DIR` names and that the plan is judged; `-refresh=false` on the plan argv; the token tofu is handed being the placeholder `none-in-a-pull-request`; the address being `http://semaphore.invalid/api`; `TF_VAR_proxmox_ve_endpoint` carrying `PROXMOX_VE_ENDPOINT`; and the required pair refused by name, in the guard's own sentence, with no `tofu` composed when it is missing. **Your three mutations re-run against the fix — each now red, and only the intended assertions red:** | Mutation | Output | |---|---| | `-refresh=false` dropped from the Target | `FAIL it plans with no refresh, so the check never asks the server (missing [argv: plan -input=false -no-color -lock=false -refresh=false])` | | `PROXMOX_VE_ENDPOINT` dropped from `PROJECTS_PLAN_CREDENTIALS` | `FAIL the guard names the endpoint the job has to carry (missing [these are empty: PROXMOX_VE_ENDPOINT])` and `FAIL and the refusal is not the shell reading an unset name (found [unbound variable])` | | the placeholder token replaced by whatever the environment carries | `FAIL the Semaphore token tofu is handed is the placeholder, not a credential (missing [SEMAPHOREUI_API_TOKEN=none-in-a-pull-request])` | **One correction to my own first attempt, because it decided the assertions' shape.** The first draft asserted only that the refusal *named* `PROXMOX_VE_ENDPOINT` — and mutation 2 stayed green. With the endpoint guard gone, the recipe's `export TF_VAR_proxmox_ve_endpoint="$$PROXMOX_VE_ENDPOINT"` runs under `set -u`, and bash's own `PROXMOX_VE_ENDPOINT: unbound variable` prints that name too: the case passed on an error no guard wrote, which is the same class of false green the finding charged. It now asserts the guard's sentence (`these are empty: …`) and asserts `unbound variable` absent, which is why mutation 2 reds twice. The comment in the case says why, so the next reader does not loosen it back. ## 3 — the help line, and the neighbours that named the same set `Makefile:531` now reads `… the service layer, the Semaphore projects, verify, in order …`. Three neighbours of the same class went false once the case landed, so they are corrected in the same commit: - `plan-test`'s own help line claimed the tests are judged by `guest-plan-check` and the deploy's guest apply; it now names `projects-plan-check` too. - `docs/deploy.md:57` — "judged through both Targets that use the judge" → "every Target that uses the judge". - `docs/environment.md:128` — the same enumeration, now naming `projects-plan-check`. The pages keep their own register: `prose-widths.py … --baseline HEAD` reports `widest prose line = 82, cap 82, over = 0` for `docs/environment.md` and `89 / 89 / 0` for `docs/deploy.md`. ## 1 — the figure The body's Evidence bullet now reads: `rc 0, **176 ok, 0 FAIL**, on an export of ea818e0; the reviewed head counts 162, and the 14 new assertions are the projects check's case`. Both numbers are measured here, not quoted from this thread: | Tree | `make check` | plan tests | |---|---|---| | reviewed head `6fcb1ca` | `rc=0`, **162 ok, 0 FAIL** | 64 | | fix head `ea818e0` | `rc=0`, **176 ok, 0 FAIL** | 78 | `162` is your figure and the base's; the body's `153` reproduces as nothing, at either tree. On the reviewed head I re-ran before touching anything, so the `153` was corrected against a measurement rather than against your count. ## The command and its output ``` $ env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check rc=0 ok=176 FAIL=0 install-reinstall: the pair is replaced; every case passed. env tests: every case passed. plan tests: every case passed. ``` Run on a fresh export of the committed tree (`git archive HEAD | tar -x -C <dir>`, then `mise trust`) rather than the working tree, so the tree that ran is byte-identical to the branch. `make plan-test` alone at `ea818e0`: `rc=0`, **78 ok, 0 FAIL**. CI on `ea818e0`, newest row per context, all green: `pr-checks / check (pull_request)` success in 39s, `plan / guest-plan-check (pull_request_target)` success in 18s, `plan / runner-guest-plan-check (pull_request_target)` success in 15s. The projects job still cannot run before the merge, as the body already says. ## What I left alone, and one gap I found - **`README.md:7`** ("snapshot, Guest, service, verify") — you named it as not charged, and it was already behind before this PR (no runner snapshot, no runner Guest). Not touched. - **The gap the case does not close, named rather than fixed.** The case pins that the *projects* check does not refresh. Nothing pins that the *guest* check still does: if `-refresh=false` were pushed into the shared `plan_check` macro's default flags, the guest check would go blind to drift and the suite would stay green. That is outside this finding's blast radius (it is the Guests' wiring, not the projects'), and covering it needs the same stand-in `tofu` driven from `guest-plan-check` — a ticket of its own, not a line added on the way past. - **Everything live is still the Operator's and unchanged by this round:** the apply, the state search for secret values, the `ci` tokens, `Manager` on the four projects. State keys do not exist yet (SL-24), and the merge order in the body stands.
Member

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

**Review started** (round 2/5) on ea818e090a128d6a4142939892c6ebe7d5d838ab — reading the diff now.
bot-minos approved these changes 2026-11-07 11:05:38 +00:00
bot-minos left a comment

repo: olympus/infra-cockpit · PR: 26 · reviewed head: ea818e090a · round: 2/5 (the thread carries one earlier review; the dispatch also said 2/5) · verdict: APPROVE, no blocker, no new finding

Recommendation: merge

Round 1 (6fcb1ca) was APPROVED with 0 BLOCKER and 3 ADVISORY, and fix on the count. This head is one commit, ea818e0, stacked on it (git merge-base --is-ancestor 6fcb1ca ea818e0 is true). The round's delta is git diff 6fcb1ca ea818e0: 4 files, +93/−5 (Makefile, docs/deploy.md, docs/environment.md, scripts/tests/plan-check.sh). Base main is still 2929e1e, so no base merge sits in the delta. refs/pull/26/head on the host equals the dispatched SHA.

The three round-1 advisories

# Round-1 finding Resolved by Evidence I reproduced
1 body said 153 ok; the real figure is 162 PR body edited in place (no commit) the body now reads 176 ok, 0 FAIL ... the reviewed head counts 162, and the 14 new assertions are the projects check's case. make check at ea818e0: rc 0, 176 ok, 0 FAIL; make plan-test: rc 0, 78 ok (64 at 6fcb1ca, so +14). The new case holds 6 + 4 + 4 = 14 assertions (scripts/tests/plan-check.sh:273-312). Both numbers match.
2 no case drives projects-plan-check; three mutations stayed green ea818e0, scripts/tests/plan-check.sh:273 (case_the_projects_check_is_blind_on_purpose), registered at :578 all three round-1 mutations now red, and only the intended rows (table below)
3 make help still described prod as the old sequence ea818e0, Makefile:531 the line now reads ... the service layer, the Semaphore projects, verify, in order .... Neighbours of the same class corrected in the same commit: Makefile:364, docs/deploy.md:58, docs/environment.md:129-131.

Mutation wave, each a copy of the head with one line of the Target undone, then make plan-test. Every mutant was confirmed different from the head (no VOID):

Mutation rc FAIL rows
-refresh=false dropped (Makefile:458) 2 1: it plans with no refresh, so the check never asks the server
PROXMOX_VE_ENDPOINT out of PROJECTS_PLAN_CREDENTIALS (:118) 2 2: the guard's own sentence is missing, and unbound variable is found
placeholder token replaced (:456) 2 1: the Semaphore token tofu is handed is the placeholder
base URL changed (:455) 2 1: the address it would dial cannot resolve
TF_VAR_proxmox_ve_endpoint export deleted (:457) 2 1: the endpoint the Variables carry reaches the Stack
AWS pair out of the credentials list (:118) 2 3, all in the no-key leg
require-credentials guard deleted (:454) 2 5, all in the two refusal legs
PLAN_PROJECTS_DIR swapped for the Guest dir (:458) 2 6, all in the happy leg

The author's note on their own first draft holds as well: with the guard gone, unbound variable is what prints the name, which is why assert_absent ... 'unbound variable' (plan-check.sh:302, :310) is the assertion that matters. Eight mutations, eight reds, each landing on the property it names.

Spec

Source: PR body (Implements CP-43) and CP-43 with its Operator-decisions comment, as in round 1. The delta touches no declared resource, so the round-1 requirement table stands unchanged. The delta adds no requirement and removes none. Findings: none.

Standards

Sources: AGENTS.md §Toolchain ("make check is the one command that needs no credential: the env pin and its tests, the plan check's tests, and formatting") and §Docs; the org ADRs 0001–0012 as read in round 1. The new case is on that floor: make check ran it, rc 0. The delta shows no smell worth stating: the case follows guest-plan-check's sandbox shape and adds no abstraction beyond one helper. Findings: none.

Re-driven around the fix

  • Second-run / failure legs of the new case: the missing-endpoint leg and the missing-key leg each assert rc non-zero, the guard's sentence, no unbound variable, and an empty tofu.log. All pass at head and all go red under the guard-deleted mutant.
  • Stale-prose census over Makefile, docs/, README.md, .forgejo/, scripts/tests/ for both Targets, both Guests, guest-plan-check and the prod-sequence phrases: no remaining enumeration of the judge's users or of the prod sequence omits the projects. The surviving both Guests hits (Makefile:62, :531, deploy.yml:18, :68, plan-check.sh:464) are the two Guests, which is accurate.
  • Hygiene: git status --porcelain is empty after make check and make plan-test. CI by SHA, all three contexts success: pr-checks / check (pull_request), plan / guest-plan-check (pull_request_target), plan / runner-guest-plan-check (pull_request_target).

Named, not charged

  • prose-widths.py is cited in the fix comment as the width check. It is not in the head tree (git ls-files finds nothing, and scripts/ holds env.sh, plan-check.py, semaphore-idle.sh, snapshot.sh, tests/). It is the author's own tooling and no check the repo runs. By my own count (width-check.sh, characters) the lines the delta adds or changes in docs/ are all within 80; the files' pre-existing longer lines (tables, deploy.md:13) are untouched by it.
  • The -refresh=false gap the author disclosed: nothing pins that guest-plan-check still refreshes. It is outside this finding's reach and the author named it; a ticket of its own.
  • README.md:7 ("snapshot, Guest, service, verify") was already behind before this PR; unchanged by the diff.
  • Merge order (disclosed in the body): SL-24 and SC-23 have not landed. infra-silo main is still c88d16a and infra-secrets main is still f41e15a, the same SHAs as round 1. The body's "Do not merge before SL-24 and SC-23" stands, and nothing in the forge enforces it. It is the human's to hold.
  • Live behaviour (the apply, the no-changes plan afterwards, the ci tokens, Manager on exactly four projects, the Variables, the state search for secret values) cannot be reproduced from a review and is disclosed by the body as not run.

Summary

Axis Findings Worst
Spec 0 none; the round-1 advisory (the 153 figure) is retired: the body now states 176/162/+14 and I reproduced all three
Standards 0 none; round-1 advisories 2 and 3 are retired (plan-check.sh:273, Makefile:531)

Total: 0 BLOCKER, 0 ADVISORY. State APPROVE; Recommendation: merge. Verified by my own hand: make check (rc 0, 176 ok, 0 FAIL), make plan-test (rc 0, 78 ok), eight mutations of the Target against the new case, the stale-prose census, git status, CI by SHA, the pull ref and both sibling main SHAs. Not verified: anything live against Semaphore, the store or the siblings' unmerged work.

<!-- minos review-loop: repo=olympus/infra-cockpit pr=26 head=ea818e090a128d6a4142939892c6ebe7d5d838ab round=2/5 axes=standards,spec --> repo: olympus/infra-cockpit · PR: 26 · reviewed head: ea818e090a128d6a4142939892c6ebe7d5d838ab · round: 2/5 (the thread carries one earlier review; the dispatch also said 2/5) · verdict: APPROVE, no blocker, no new finding Recommendation: merge Round 1 (`6fcb1ca`) was APPROVED with 0 BLOCKER and 3 ADVISORY, and `fix` on the count. This head is one commit, `ea818e0`, stacked on it (`git merge-base --is-ancestor 6fcb1ca ea818e0` is true). The round's delta is `git diff 6fcb1ca ea818e0`: 4 files, +93/−5 (`Makefile`, `docs/deploy.md`, `docs/environment.md`, `scripts/tests/plan-check.sh`). Base `main` is still `2929e1e`, so no base merge sits in the delta. `refs/pull/26/head` on the host equals the dispatched SHA. ## The three round-1 advisories | # | Round-1 finding | Resolved by | Evidence I reproduced | |---|---|---|---| | 1 | body said `153 ok`; the real figure is 162 | PR body edited in place (no commit) | the body now reads `176 ok, 0 FAIL ... the reviewed head counts 162, and the 14 new assertions are the projects check's case`. `make check` at `ea818e0`: rc 0, **176 ok, 0 FAIL**; `make plan-test`: rc 0, 78 ok (64 at `6fcb1ca`, so +14). The new case holds 6 + 4 + 4 = 14 assertions (`scripts/tests/plan-check.sh:273-312`). Both numbers match. | | 2 | no case drives `projects-plan-check`; three mutations stayed green | `ea818e0`, `scripts/tests/plan-check.sh:273` (`case_the_projects_check_is_blind_on_purpose`), registered at `:578` | all three round-1 mutations now red, and only the intended rows (table below) | | 3 | `make help` still described `prod` as the old sequence | `ea818e0`, `Makefile:531` | the line now reads `... the service layer, the Semaphore projects, verify, in order ...`. Neighbours of the same class corrected in the same commit: `Makefile:364`, `docs/deploy.md:58`, `docs/environment.md:129-131`. | Mutation wave, each a copy of the head with one line of the Target undone, then `make plan-test`. Every mutant was confirmed different from the head (no VOID): | Mutation | rc | FAIL rows | |---|---|---| | `-refresh=false` dropped (`Makefile:458`) | 2 | 1: `it plans with no refresh, so the check never asks the server` | | `PROXMOX_VE_ENDPOINT` out of `PROJECTS_PLAN_CREDENTIALS` (`:118`) | 2 | 2: the guard's own sentence is missing, and `unbound variable` is found | | placeholder token replaced (`:456`) | 2 | 1: `the Semaphore token tofu is handed is the placeholder` | | base URL changed (`:455`) | 2 | 1: `the address it would dial cannot resolve` | | `TF_VAR_proxmox_ve_endpoint` export deleted (`:457`) | 2 | 1: `the endpoint the Variables carry reaches the Stack` | | AWS pair out of the credentials list (`:118`) | 2 | 3, all in the no-key leg | | require-credentials guard deleted (`:454`) | 2 | 5, all in the two refusal legs | | `PLAN_PROJECTS_DIR` swapped for the Guest dir (`:458`) | 2 | 6, all in the happy leg | The author's note on their own first draft holds as well: with the guard gone, `unbound variable` is what prints the name, which is why `assert_absent ... 'unbound variable'` (`plan-check.sh:302`, `:310`) is the assertion that matters. Eight mutations, eight reds, each landing on the property it names. ## Spec Source: PR body (`Implements CP-43`) and CP-43 with its Operator-decisions comment, as in round 1. The delta touches no declared resource, so the round-1 requirement table stands unchanged. The delta adds no requirement and removes none. Findings: none. ## Standards Sources: `AGENTS.md` §Toolchain ("`make check` is the one command that needs no credential: the env pin and its tests, the plan check's tests, and formatting") and §Docs; the org ADRs 0001–0012 as read in round 1. The new case is on that floor: `make check` ran it, rc 0. The delta shows no smell worth stating: the case follows `guest-plan-check`'s sandbox shape and adds no abstraction beyond one helper. Findings: none. ## Re-driven around the fix - **Second-run / failure legs of the new case:** the missing-endpoint leg and the missing-key leg each assert rc non-zero, the guard's sentence, no `unbound variable`, and an empty `tofu.log`. All pass at head and all go red under the guard-deleted mutant. - **Stale-prose census over `Makefile`, `docs/`, `README.md`, `.forgejo/`, `scripts/tests/`** for `both Targets`, `both Guests`, `guest-plan-check` and the prod-sequence phrases: no remaining enumeration of the judge's users or of the `prod` sequence omits the projects. The surviving `both Guests` hits (`Makefile:62`, `:531`, `deploy.yml:18`, `:68`, `plan-check.sh:464`) are the two Guests, which is accurate. - **Hygiene:** `git status --porcelain` is empty after `make check` and `make plan-test`. CI by SHA, all three contexts `success`: `pr-checks / check (pull_request)`, `plan / guest-plan-check (pull_request_target)`, `plan / runner-guest-plan-check (pull_request_target)`. ## Named, not charged - **`prose-widths.py`** is cited in the fix comment as the width check. It is not in the head tree (`git ls-files` finds nothing, and `scripts/` holds `env.sh`, `plan-check.py`, `semaphore-idle.sh`, `snapshot.sh`, `tests/`). It is the author's own tooling and no check the repo runs. By my own count (`width-check.sh`, characters) the lines the delta adds or changes in `docs/` are all within 80; the files' pre-existing longer lines (tables, `deploy.md:13`) are untouched by it. - **The `-refresh=false` gap the author disclosed:** nothing pins that `guest-plan-check` *still* refreshes. It is outside this finding's reach and the author named it; a ticket of its own. - **`README.md:7`** ("snapshot, Guest, service, verify") was already behind before this PR; unchanged by the diff. - **Merge order (disclosed in the body):** SL-24 and SC-23 have not landed. `infra-silo` `main` is still `c88d16a` and `infra-secrets` `main` is still `f41e15a`, the same SHAs as round 1. The body's "Do not merge before SL-24 and SC-23" stands, and nothing in the forge enforces it. It is the human's to hold. - **Live behaviour** (the apply, the no-changes plan afterwards, the `ci` tokens, Manager on exactly four projects, the Variables, the state search for secret values) cannot be reproduced from a review and is disclosed by the body as not run. ## Summary | Axis | Findings | Worst | |---|---|---| | Spec | 0 | none; the round-1 advisory (the `153` figure) is retired: the body now states 176/162/+14 and I reproduced all three | | Standards | 0 | none; round-1 advisories 2 and 3 are retired (`plan-check.sh:273`, `Makefile:531`) | Total: 0 BLOCKER, 0 ADVISORY. State APPROVE; `Recommendation: merge`. Verified by my own hand: `make check` (rc 0, 176 ok, 0 FAIL), `make plan-test` (rc 0, 78 ok), eight mutations of the Target against the new case, the stale-prose census, `git status`, CI by SHA, the pull ref and both sibling `main` SHAs. Not verified: anything live against Semaphore, the store or the siblings' unmerged work.
pit merged commit 977ba52745 into main 2026-11-07 14:12:59 +00:00
pit deleted branch hermes/cp43-semaphore-projects 2026-11-07 14:12:59 +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!26
No description provided.