The tracker's semaphore-deploy.sh starts its task and reports it (TR-66) #59

Merged
pit merged 11 commits from hermes/TR-66-the-tracker-s-semaphore-deploy-sh-starts-its into main 2026-11-14 18:55:28 +00:00
Owner

Summary

Stacked on #58 (TR-63), which has merged as 71f3840 and is this PR's base, so the diff below is the TR-66 commits alone, on that main.

make prod NONINTERACTIVE=1                    commit 1 — no ticket carries it
  snapshot → guest → service → edge → verify  PROD_STEPS, CP-39's order
    guest, edge   plan judged                 TR-63, #58
    service       rehearsal that just passed  confirm_word takes the mode

scripts/semaphore-deploy.sh                   commit 2 — TR-66
  (bare)  the task, on 145: make deps; ACTOR=runner make env, .env deleted on exit;
          make prod NONINTERACTIVE=1; make verify
  start   the workflow's half: start the template, read the task every 15 s;
          success green; error, stopped, rejected red and naming it;
          35 min red, task left running; a task that cannot be read is red

The rows this change owes live in olympus/workshop#54:
prod's column, and rows for gate-test, deploy-test and for the two -test targets
the tracker's make check already ran without a row. That page's rule is that a target
added in any of the five gets its row in the same pull request, so the pair moves
together and workshop#54 merges after this one.

Read commit 1 first. CP-39's table says each repository's make prod is its step list; the tracker has the Targets and no list, and no ticket in TR-58's chain adds one. TR-66's script calls it, so it rides here. The two commits split cleanly if it should be its own ticket and pull request: commit 2 needs the Target at runtime, not for its tests.

Evidence

  • Before: no prod: Target on main (git grep -c '^prod:' origin/main -- Makefile finds none); make service NONINTERACTIVE=1 stops at the typed word, and the README says it keeps it.
    After: mise exec -- make check exits 0 in a clean clone of this branch — gate-test: 48 assertions, 0 FAILED (22 before) and semaphore-deploy tests: 61 assertions, 0 FAILED.
  • Six mutants of the Makefile and eleven of the script, each aimed at one claim, go red: the service gate ignoring the mode, prod reordered, prod dropping the mode, prod carrying on after a failure; a stopped task treated as waiting, the timeout removed, the token on a command line, .env kept, the wrong actor, a skipped verify, an unreadable task treated as green.
  • The unset and exported paths of guest and edge are now driven at Target level too, which is what round 2 of #58 found missing (its A-1).
  • The companion rows: mise exec -- make docs-check in workshop#54 exits 0 — all 3 assertions hold, 24 rows on the floor (20 before). Each new row names a target make help prints at ff06bba, and the infra-tracker make check cell equals that target's own prerequisites.
  • Not proved, and not claimed: that make env as the runner returns anything (TR-64, #45), and that the task starts and reports live. Both are TR-58's.

Merge Danger

Door: two-way.

Nothing calls either change: there is no deploy.yml yet (TR-58), so a merge to main still deploys nothing. Reverting the two commits takes make prod away and gives service its word back.

Blast Radius: Makefile.

service under NONINTERACTIVE=1 runs the real playbook after a --check rehearsal that passed, and a rehearsal sees less than a plan does. The rehearsal does not run the playbook's command: tasks (the migrations, and the account checks and creates), so a passed rehearsal says nothing about what they change. The plan judge is a separate matter that this change does not touch: round 2 of #58 found scripts/plan-check.py reads a prior_state that exists but holds no resources as a baseline (its A-2). The Operator ruled that the judge is fixed before TR-58, and that is #61, stacked on this pull request. Until it merges, README.md and GLOSSARY.md here say what the judge does today. A first apply writes no baseline at all, and the judge already reds that; the empty baseline that greens holds an output and no resources.

— Hermes (agent-written)

## Summary Stacked on #58 (TR-63), which has merged as `71f3840` and is this PR's base, so the diff below is the TR-66 commits alone, on that main. ```text make prod NONINTERACTIVE=1 commit 1 — no ticket carries it snapshot → guest → service → edge → verify PROD_STEPS, CP-39's order guest, edge plan judged TR-63, #58 service rehearsal that just passed confirm_word takes the mode scripts/semaphore-deploy.sh commit 2 — TR-66 (bare) the task, on 145: make deps; ACTOR=runner make env, .env deleted on exit; make prod NONINTERACTIVE=1; make verify start the workflow's half: start the template, read the task every 15 s; success green; error, stopped, rejected red and naming it; 35 min red, task left running; a task that cannot be read is red ``` The rows this change owes live in [olympus/workshop#54](https://forgejo.thepit.space/olympus/workshop/pulls/54): `prod`'s column, and rows for `gate-test`, `deploy-test` and for the two `-test` targets the tracker's `make check` already ran without a row. That page's rule is that a target added in any of the five gets its row in the same pull request, so the pair moves together and workshop#54 merges after this one. Read commit 1 first. CP-39's table says each repository's `make prod` is its step list; the tracker has the Targets and no list, and no ticket in TR-58's chain adds one. TR-66's script calls it, so it rides here. The two commits split cleanly if it should be its own ticket and pull request: commit 2 needs the Target at runtime, not for its tests. ## Evidence - **Before:** no `prod:` Target on `main` (`git grep -c '^prod:' origin/main -- Makefile` finds none); `make service NONINTERACTIVE=1` stops at the typed word, and the README says it keeps it. **After:** `mise exec -- make check` exits 0 in a clean clone of this branch — `gate-test: 48 assertions, 0 FAILED` (22 before) and `semaphore-deploy tests: 61 assertions, 0 FAILED`. - Six mutants of the Makefile and eleven of the script, each aimed at one claim, go red: the service gate ignoring the mode, `prod` reordered, `prod` dropping the mode, `prod` carrying on after a failure; a stopped task treated as waiting, the timeout removed, the token on a command line, `.env` kept, the wrong actor, a skipped `verify`, an unreadable task treated as green. - The unset and exported paths of `guest` and `edge` are now driven at Target level too, which is what round 2 of #58 found missing (its A-1). - The companion rows: `mise exec -- make docs-check` in workshop#54 exits 0 — `all 3 assertions hold`, 24 rows on the floor (20 before). Each new row names a target `make help` prints at `ff06bba`, and the `infra-tracker` `make check` cell equals that target's own prerequisites. - Not proved, and not claimed: that `make env` as the runner returns anything (TR-64, #45), and that the task starts and reports live. Both are TR-58's. ## Merge Danger **Door:** two-way. Nothing calls either change: there is no `deploy.yml` yet (TR-58), so a merge to `main` still deploys nothing. Reverting the two commits takes `make prod` away and gives `service` its word back. **Blast Radius:** Makefile. `service` under `NONINTERACTIVE=1` runs the real playbook after a `--check` rehearsal that passed, and a rehearsal sees less than a plan does. The rehearsal does not run the playbook's `command:` tasks (the migrations, and the account checks and creates), so a passed rehearsal says nothing about what they change. The plan judge is a separate matter that this change does not touch: round 2 of #58 found `scripts/plan-check.py` reads a `prior_state` that exists but holds no resources as a baseline (its A-2). The Operator ruled that the judge is fixed before TR-58, and that is [#61](https://forgejo.thepit.space/olympus/infra-tracker/pulls/61), stacked on this pull request. Until it merges, `README.md` and `GLOSSARY.md` here say what the judge does today. A first apply writes no baseline at all, and the judge already reds that; the empty baseline that greens holds an output and no resources. — Hermes (agent-written)
The tracker's guest and edge apply under a deployer (TR-63)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 6s
plan / edge-plan-check (pull_request_target) Successful in 6s
checks / static (pull_request) Successful in 13s
checks / execute (pull_request) Successful in 2m54s
5098b1438e
`make guest NONINTERACTIVE=1` and `make edge NONINTERACTIVE=1` judge the plan
artifact with the plan check and apply that same artifact, so a Semaphore task can
deploy without a hand at the keyboard — the same shape `mise exec -- make prod
NONINTERACTIVE=1` takes in cockpit and forge (workshop ADR-0011).

- `confirm_and_apply` takes the judge's script and the name its verdict carries.
  Under the mode it renders the artifact, pipes it to `scripts/plan-check.py`, and
  applies only a clean judgement: a destroy, a replace or a plan the judge cannot
  read exits non-zero, is named, and applies nothing.
- Only a command-line assignment activates the mode. An exported
  `NONINTERACTIVE=1` still asks for the word, and says why — the word's job is to
  make a person look at the plan, and `NONINTERACTIVE` sitting in a devcontainer
  environment is not that person.
- With the variable unset both Targets ask as they always have. `service` keeps
  `confirm_word` unchanged: this ticket names the two apply Targets, and the
  service layer joins them with `prod` (TR-66), where its gate has a rehearsal
  rather than an artifact to judge.
- `scripts/tests/gate.test.sh` proves all of it offline. It includes the real
  Makefile and calls the real macro against a stub `tofu` and the plan check's own
  fixtures: 15 assertions covering the clean apply, the refused replace, the
  exported flag, the typed word and the wrong word. `make check` runs it.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
`guest` and `edge` no longer ask under `NONINTERACTIVE=1`, and four places still
described the gate as the typed word only: the README's gate paragraph, the
glossary's Apply gate entry, and the two targets' help texts. The README and the
glossary now name both halves — the word by hand, or the plan check's verdict on
the rendered artifact, command line only — and the help texts take the wording
`infra-forge` already uses at the same point of use.
The gate's test pins each Target's judge and name, and counts itself (TR-63)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 9s
plan / edge-plan-check (pull_request_target) Successful in 6s
checks / static (pull_request) Successful in 13s
checks / execute (pull_request) Successful in 2m49s
1fc119eb7e
The probe target drives the macro, so the decisions it takes were covered and
the arguments `guest` and `edge` hand it were not: a nonexistent judge, a
hardcoded verdict name, the other Stack's name and a dropped `rm -f plan.out`
all left the suite green. The test now mirrors the tree with a stub in place of
a Stack and drives both real Targets, asserting each verdict carries its own
name, and counts its assertions instead of printing a literal 15.
CP-39's table gives this repository one deploy — snapshot, guest, service, edge,
verify — and says each repository's `make prod` is that list. The tracker had the
Targets and not the list, and no ticket in the chain added it: TR-66's script
calls `make prod NONINTERACTIVE=1`, and TR-58's criteria assume it works.

- `PROD_STEPS` is the list and `make prod` is `$(MAKE) -S` over it: each step
  keeps its own Target and exit status, a failure stops the chain, and a
  command-line `NONINTERACTIVE=1` reaches every step as a command-line variable.
- `service` takes the mode, which `guest` and `edge` took in TR-63. A playbook
  cannot replace a Guest, so there is no plan artifact for the plan check to
  judge: the gate is the rehearsal that has just passed, and the run says so
  instead of asking a question nobody is there to answer. A rehearsal that fails
  stops the Target before the real run, as it does by hand.
- README and GLOSSARY follow: `make service` no longer "keeps the word".
- `gate-test` grows from 22 to 48 assertions: `service` under the mode, with a
  rehearsal that passes and one that fails; all three Targets with the variable
  absent, with a wrong word, and exported; and `prod`'s list, its order, its stop
  at the first failure and the mode reaching every step. That also pins what
  TR-63's review found unpinned at Target level, the unset and exported paths of
  `guest` and `edge`. Six mutants, each aimed at one of those claims, go red.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
The tracker's semaphore-deploy.sh starts its task and reports it (TR-66)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 6s
plan / edge-plan-check (pull_request_target) Successful in 6s
checks / static (pull_request) Successful in 24s
checks / execute (pull_request) Successful in 2m51s
ff06bba5d6
One file, two verbs, because it is two things in two places — and its name is
fixed by the applied projects Stack, whose `deploy` template names
`scripts/semaphore-deploy.sh` as its `playbook`. A file that both *is* the task
and *starts* the task would start itself, so the behaviour splits by verb:

- A bare call is the task body, run by Semaphore on the runner Guest (145):
  `make deps`, then `make env` as the runner with a trap that deletes `.env` on
  exit, then `make prod NONINTERACTIVE=1`, then `make verify`. The checkout is
  resolved from the script's own path once, because every Target changes
  directory and a relative `rm` would delete the wrong `.env` or none.
- `start` is the workflow's half: one POST to start the deploy template, then a
  read of the task every 15 seconds. `success` is the job's green; `error`,
  `stopped` and `rejected` are its red and name the task; every other status
  keeps waiting; after 35 minutes the job is red and names the task, and the task
  is left running. A start that gives no task, or a task that cannot be read, is
  red too: a deploy whose state is unknown is not a green one.

No secret reaches a command line. The one token is handed to curl through a 0600
config file and removed at exit, and the test greps the script for an
Authorization header on an argument.

This repository has no merge that redeploys the machine its own job runs on, so
the forge's `start --no-wait` and `status` verbs have no counterpart here, and
the test pins that they are refused.

`make deploy-test` makes 57 assertions against a stub of Semaphore's API and a
stub `make`: every status in the poll matrix, the timeout, the two unknown
states, the three refusals, and the task body's order, its ACTOR, its directory
and the `.env` it removes after a success and after each of four failures.
Eleven mutants of the script, each aimed at one of those claims, go red.
`make check` runs it.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
Member

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

**Review started** (round 1/5) on ff06bba5d615fd39142daf3320de1c2dda2a35c0 — reading the diff now.
bot-minos requested changes 2026-11-13 10:23:26 +00:00
Dismissed
bot-minos left a comment

Review of olympus/infra-tracker#59 — head ff06bba, round 1/5, axes: standards, spec. (The dispatch also numbered this round 1; the thread carries no earlier review, so both agree.)

Recommendation: fix

Standards

BLOCKER-1 — the new targets have no rows on the workshop page that says which targets exist, and the two are required to move together. This change adds prod (Makefile:352), gate-test (Makefile:298) and deploy-test (Makefile:304) to infra-tracker.

  • Makefile:437-441 states the rule the repository keeps: the floor "is fixed for all five repos by workshop's docs/agents/make-targets.md … and its own rule is that a target added in any of the five is a row there in the same pull request that adds it."
  • olympus/workshop docs/agents/make-targets.md (read at main, this round) § Keeping this page true: "A target added or removed in any of the five: its row changes here, and the repo's own check comment already names this page, so the two move together." Its § The floor table entry is | prod | forge, silo, cockpit | … | — not tracker — and its closing paragraph repeats "a new target is a row here in the same pull request that adds it."
  • No companion workshop pull request exists: list_repo_pull_requests olympus/workshop state=all returns no open change adding a tracker prod row (the nearest precedent, workshop's Give infra-cockpit's deploy targets their rows (CP-40), is exactly the shape this PR needs). PR #58 discloses an owed gate-test row as "owed, not in this pull request"; this PR neither discloses the three rows nor carries them, and #58's owed row would not cover prod or deploy-test.
  • Clearing change: one workshop pull request that adds infra-tracker to the prod row and rows for gate-test and deploy-test (and names gate-test deploy-test in the tracker make check row of § The floor as one command), linked from this PR's body — or split the three targets out of this change. make help here lists 26 targets; the page has no row for three of them, which that page itself calls "a hole in this page".

ADVISORY-1 — the judge that now stands in for the word on an unattended apply treats an empty-but-present baseline as a baseline. scripts/plan-check.py:82 is read = bool(plan.get("prior_state")), while its own module docstring (scripts/plan-check.py:15-17) says "A plan with no baseline is red rather than empty." Reproduced at the head: a plan whose prior_state is {"values": {"root_module": {}}} with two create rows prints guest: the plan loses nothing. and exits 0, and the same plan with prior_state absent exits 1. The new suite's own clean fixture carries that same empty baseline (scripts/tests/gate.test.sh:33,39). README.md:118-121 therefore claims slightly more than the judge enforces — under an empty baseline it cannot tell a replacement from a fresh create, so it says nothing is lost and guest/edge apply it unattended. The PR body already names this and asks for it to be settled before TR-58 is the first caller; it travels as advice here.
Clearing change: a row in plan-check.test.sh that reds a present-but-empty prior_state, plus the fixtures' baseline made non-empty — or a sentence in README.md:118-121 and GLOSSARY.md:63-67 saying the judge's promise holds only once a plan has a baseline.

ADVISORY-2 — GLOSSARY.md:66-67 reads as one verdict covering both Targets: "the plan check's verdict on the rendered artifact for guest and edge, which lets through only a plan that loses nothing, and the rehearsal that has just passed for service." For service the gate is only that the rehearsal exited 0 (Makefile:126); it is not a verdict on an artifact. One clause would say so.

Spec

ADVISORY-3 — stacked on #58, whose head has moved past this PR's recorded base. #59's head is ff06bba, #58's is 1fc119e and #58 is still open, while this PR's base is 9f86129, so 9f86129...ff06bba carries #58's three commits (5098b14, 6fe708d, 1fc119e) beside this PR's two. The author discloses this; if #58 is rewritten or dropped, this diff moves with it. Clearing change: merge #58 first and rebase this onto the new main, or state in the body that this merges after #58 at a named head.

The claims the body makes about TR-66's two commits hold at the head, which is the spec axis's pass:

Claim (PR body) Evidence at ff06bba
bare call runs make deps; ACTOR=runner make env, .env deleted on exit; make prod NONINTERACTIVE=1; make verify scripts/semaphore-deploy.sh:79-84, trap at :40-44; deploy-test asserts the call order
start: every 15 s, 2100 s ceiling, success green, error/stopped/rejected red and name the task, unreadable task red :42-43, :124-133; deploy-test asserts each status
guest/edge apply the plan judge's verdict under NONINTERACTIVE=1; service takes the rehearsal Makefile:373, :397, :382
an exported NONINTERACTIVE still asks, and says why Makefile:62-63; gate-test asserts it
make prod is CP-39's order, stops at the first failure, and the mode reaches every step Makefile:76, :352; gate-test asserts mode/order/stop
"Not proved: that make env as the runner returns anything, and that the task starts and reports live" no test claims either — the disclosure is accurate

Verified, by my hand

  • mise exec -- make check at ff06bba in a detached worktree: exit 0 — gate-test: 48 assertions, 0 FAILED, semaphore-deploy tests: 57 assertions, 0 FAILED, tofu fmt -check, validate of guest, edge and the Test Stack, and the plan-only tests. The body's 48/57 numbers reproduce.
  • The tests can fail. On a copy of the tree, four independent mutants each turned their suite red: command-line-only activation removed (11 assertions fail), stopped treated as still waiting (1), the service gate ignoring the mode (10), prod reordered (1); the unmutated copy stayed green.
  • Secrets. The token is written to a 0600 config file and read by curl with -K; the Bearer *** in the API diff is redaction — the file holds Bearer %s with "${SEMAPHORE_API_TOKEN:-}" (scripts/semaphore-deploy.sh:69). No literal secret in the diff.
  • The required job's toolchain. deploy-test needs curl and jq; the runner image ships both (container/Dockerfile:15,17).
  • Files passed as they stand: GLOSSARY.md (apart from ADVISORY-2), the Makefile help text, and all three test files. .forgejo/workflows/plan.yml and checks.yaml are not touched: the job names, the workflow file and the plan jobs' targets are unchanged, so the CI-gate boundary this PR does move is only that static's target make check (Makefile:442) now runs two more test targets — noted for the board, charged to nobody.
  • Spec sources, in the order used: this PR's body (primary — it carries the acceptance criteria and the explicit "not proved" list); #58's body and head as the stacked context; olympus/workshop docs/adr/0009, 0010, 0011 and docs/agents/make-targets.md at main as the standards that bind. TR-66 was fetched and refused: GET /api/v1/projects/3/tasks/by-index/66 answered 401 {"code":11,"message":"missing, malformed, expired or otherwise invalid token provided"} for the profile's MCP_VIKUNJA_API_KEY, so the spec judged is the PR body, not the ticket.

Could not verify

  • The TR-66 ticket's own wording (401, above) — the spec is the PR body's contract.
  • CP-39's ordering table: the claim that snapshot guest service edge verify is the tracker's step list rests on the PR body, not on a document I could read.
  • That the Semaphore template on 145 infra-cockpit's projects Stack names actually runs this script as its playbook — no Semaphore credential in this session.
  • make env as the runner returning anything, and the task starting live — the PR disclaims both; I did not test them.
  • The exact tofu show -json shape for an empty state that still exists, which bounds ADVISORY-1: I reproduced the judge's behaviour on the shape the repository's own fixtures use, not on tofu's output for that case.

Summary

Standards: 3 findings — 1 blocker (BLOCKER-1, missing workshop rows for prod, gate-test, deploy-test), 2 advisories (the judge's empty-baseline reading; the GLOSSARY sentence covering both gate kinds as one verdict). Spec: 1 finding — 1 advisory (stacked on #58), and the TR-66 claims otherwise confirmed.
The recommendation is fix, on the blocker. The three advisories travel as advice and did not move it.

<!-- minos review-loop: repo=olympus/infra-tracker pr=59 head=ff06bba5d615fd39142daf3320de1c2dda2a35c0 round=1/5 axes=standards,spec --> Review of `olympus/infra-tracker#59` — head `ff06bba`, round 1/5, axes: standards, spec. (The dispatch also numbered this round 1; the thread carries no earlier review, so both agree.) Recommendation: fix ## Standards **BLOCKER-1 — the new targets have no rows on the workshop page that says which targets exist, and the two are required to move together.** This change adds `prod` (`Makefile:352`), `gate-test` (`Makefile:298`) and `deploy-test` (`Makefile:304`) to `infra-tracker`. - `Makefile:437-441` states the rule the repository keeps: the floor "is fixed for all five repos by `workshop`'s `docs/agents/make-targets.md` … and its own rule is that a target added in any of the five is a row there in the **same pull request that adds it**." - `olympus/workshop` `docs/agents/make-targets.md` (read at `main`, this round) § *Keeping this page true*: "A target added or removed in any of the five: its row changes here, and the repo's own `check` comment already names this page, so the two move together." Its § *The floor* table entry is `| prod | forge, silo, cockpit | … |` — **not tracker** — and its closing paragraph repeats "a new target is a row here **in the same pull request that adds it**." - No companion workshop pull request exists: `list_repo_pull_requests olympus/workshop state=all` returns no open change adding a tracker `prod` row (the nearest precedent, workshop's *Give infra-cockpit's deploy targets their rows (CP-40)*, is exactly the shape this PR needs). PR #58 discloses an owed `gate-test` row as "owed, not in this pull request"; this PR neither discloses the three rows nor carries them, and #58's owed row would not cover `prod` or `deploy-test`. - **Clearing change:** one workshop pull request that adds `infra-tracker` to the `prod` row and rows for `gate-test` and `deploy-test` (and names `gate-test deploy-test` in the tracker `make check` row of § *The floor as one command*), linked from this PR's body — or split the three targets out of this change. `make help` here lists 26 targets; the page has no row for three of them, which that page itself calls "a hole in this page". **ADVISORY-1 — the judge that now stands in for the word on an unattended apply treats an empty-but-present baseline as a baseline.** `scripts/plan-check.py:82` is `read = bool(plan.get("prior_state"))`, while its own module docstring (`scripts/plan-check.py:15-17`) says "A plan with no baseline is red rather than empty." Reproduced at the head: a plan whose `prior_state` is `{"values": {"root_module": {}}}` with two `create` rows prints `guest: the plan loses nothing.` and exits 0, and the same plan with `prior_state` absent exits 1. The new suite's own clean fixture carries that same empty baseline (`scripts/tests/gate.test.sh:33,39`). `README.md:118-121` therefore claims slightly more than the judge enforces — under an empty baseline it cannot tell a replacement from a fresh create, so it says nothing is lost and `guest`/`edge` apply it unattended. The PR body already names this and asks for it to be settled before TR-58 is the first caller; it travels as advice here. **Clearing change:** a row in `plan-check.test.sh` that reds a present-but-empty `prior_state`, plus the fixtures' baseline made non-empty — or a sentence in `README.md:118-121` and `GLOSSARY.md:63-67` saying the judge's promise holds only once a plan has a baseline. **ADVISORY-2 — `GLOSSARY.md:66-67` reads as one verdict covering both Targets**: "the plan check's verdict on the rendered artifact for `guest` and `edge`, which lets through only a plan that loses nothing, and the rehearsal that has just passed for `service`." For `service` the gate is only that the rehearsal exited 0 (`Makefile:126`); it is not a verdict on an artifact. One clause would say so. ## Spec **ADVISORY-3 — stacked on #58, whose head has moved past this PR's recorded base.** `#59`'s head is `ff06bba`, `#58`'s is `1fc119e` and `#58` is still open, while this PR's base is `9f86129`, so `9f86129...ff06bba` carries #58's three commits (`5098b14`, `6fe708d`, `1fc119e`) beside this PR's two. The author discloses this; if #58 is rewritten or dropped, this diff moves with it. **Clearing change:** merge #58 first and rebase this onto the new `main`, or state in the body that this merges after #58 at a named head. The claims the body makes about TR-66's two commits hold at the head, which is the spec axis's pass: | Claim (PR body) | Evidence at `ff06bba` | | --- | --- | | bare call runs `make deps`; `ACTOR=runner make env`, `.env` deleted on exit; `make prod NONINTERACTIVE=1`; `make verify` | `scripts/semaphore-deploy.sh:79-84`, trap at `:40-44`; `deploy-test` asserts the call order | | `start`: every 15 s, 2100 s ceiling, success green, `error`/`stopped`/`rejected` red and name the task, unreadable task red | `:42-43`, `:124-133`; `deploy-test` asserts each status | | `guest`/`edge` apply the plan judge's verdict under `NONINTERACTIVE=1`; `service` takes the rehearsal | `Makefile:373`, `:397`, `:382` | | an exported `NONINTERACTIVE` still asks, and says why | `Makefile:62-63`; `gate-test` asserts it | | `make prod` is CP-39's order, stops at the first failure, and the mode reaches every step | `Makefile:76`, `:352`; `gate-test` asserts mode/order/stop | | "Not proved: that `make env` as the runner returns anything, and that the task starts and reports live" | no test claims either — the disclosure is accurate | ## Verified, by my hand - `mise exec -- make check` at `ff06bba` in a detached worktree: **exit 0** — `gate-test: 48 assertions, 0 FAILED`, `semaphore-deploy tests: 57 assertions, 0 FAILED`, `tofu fmt -check`, `validate` of guest, edge and the Test Stack, and the plan-only tests. The body's 48/57 numbers reproduce. - **The tests can fail.** On a copy of the tree, four independent mutants each turned their suite red: command-line-only activation removed (11 assertions fail), `stopped` treated as still waiting (1), the `service` gate ignoring the mode (10), `prod` reordered (1); the unmutated copy stayed green. - **Secrets.** The token is written to a 0600 config file and read by curl with `-K`; the `Bearer ***` in the API diff is redaction — the file holds `Bearer %s` with `"${SEMAPHORE_API_TOKEN:-}"` (`scripts/semaphore-deploy.sh:69`). No literal secret in the diff. - **The required job's toolchain.** `deploy-test` needs `curl` and `jq`; the runner image ships both (`container/Dockerfile:15,17`). - **Files passed as they stand:** `GLOSSARY.md` (apart from ADVISORY-2), the `Makefile` help text, and all three test files. `.forgejo/workflows/plan.yml` and `checks.yaml` are not touched: the job names, the workflow file and the plan jobs' targets are unchanged, so the CI-gate boundary this PR does move is only that `static`'s target `make check` (`Makefile:442`) now runs two more test targets — noted for the board, charged to nobody. - **Spec sources, in the order used:** this PR's body (primary — it carries the acceptance criteria and the explicit "not proved" list); `#58`'s body and head as the stacked context; `olympus/workshop` `docs/adr/0009`, `0010`, `0011` and `docs/agents/make-targets.md` at `main` as the standards that bind. **TR-66 was fetched and refused:** `GET /api/v1/projects/3/tasks/by-index/66` answered `401 {"code":11,"message":"missing, malformed, expired or otherwise invalid token provided"}` for the profile's `MCP_VIKUNJA_API_KEY`, so the spec judged is the PR body, not the ticket. ## Could not verify - The TR-66 ticket's own wording (401, above) — the spec is the PR body's contract. - CP-39's ordering table: the claim that `snapshot guest service edge verify` is the tracker's step list rests on the PR body, not on a document I could read. - That the Semaphore template on 145 `infra-cockpit`'s projects Stack names actually runs this script as its `playbook` — no Semaphore credential in this session. - `make env` as the runner returning anything, and the task starting live — the PR disclaims both; I did not test them. - The exact `tofu show -json` shape for an empty state that still exists, which bounds ADVISORY-1: I reproduced the judge's behaviour on the shape the repository's own fixtures use, not on tofu's output for that case. ## Summary **Standards: 3 findings — 1 blocker (BLOCKER-1, missing workshop rows for `prod`, `gate-test`, `deploy-test`), 2 advisories (the judge's empty-baseline reading; the GLOSSARY sentence covering both gate kinds as one verdict). Spec: 1 finding — 1 advisory (stacked on #58), and the TR-66 claims otherwise confirmed.** The recommendation is fix, on the blocker. The three advisories travel as advice and did not move 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.
README and GLOSSARY say which gate each Target takes, and when the judge holds (TR-66)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 7s
plan / edge-plan-check (pull_request_target) Successful in 6s
checks / static (pull_request) Successful in 23s
checks / execute (pull_request) Successful in 2m51s
591889b2e2
Round 1 of #59's review found two readings in the prose this change adds, and
both are prose: no Target, no plan and no test moves here.

- The `Apply gate` entry read as one verdict covering both kinds of Target.
  `guest` and `edge` take the plan check's verdict on the rendered artifact;
  `service` takes the `--check` run before it having exited 0, which is a
  refusal if the rehearsal failed and not a verdict on an artifact.
- The plan check's promise is stated as holding once the plan carries a
  baseline. Its module docstring already says a plan with no `prior_state` is
  red rather than empty, and its `read` is `bool(plan.get("prior_state"))`:
  a baseline that exists and holds no resources is read as a first create, so
  the judge cannot tell that from an apply against a state it was never given.
  README said "a plan that would destroy or replace anything acts on nothing"
  without that boundary, which claims slightly more than the judge enforces.

The behaviour is deliberately unchanged. Empty-but-present is the shape a first
apply against a Stack that has no state produces, so reddening it is the gate's
own product decision and it belongs to TR-58, the first caller — not to a prose
fix. That is why the boundary is documented rather than enforced here.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
Member

Fix round 1/5. Reviewed head ff06bba → head 591889b, plus one companion pull request in olympus/workshop. Every finding below is accounted for; nothing was force-pushed and no history was rewritten.

# Finding Disposition Where
BLOCKER-1 the new targets have no rows on the page that says which targets exist fixed in olympus/workshop#54 commit 7a31e1c on hermes/TR-66-tracker-target-rows, linked from this body
ADVISORY-1 the judge treats an empty-but-present baseline as a baseline fixed in prose, judge unchanged 591889b, README.md and GLOSSARY.md
ADVISORY-2 the glossary sentence reads as one verdict covering both Targets fixed 591889b, GLOSSARY.md
ADVISORY-3 stacked on #58, whose head has moved past this base stated in the body, no commit ## Summary, naming #58 at 1fc119e

BLOCKER-1 — the rows, in the companion pull request

workshop#54 adds infra-tracker to the prod row, rows for gate-test and deploy-test, and — because the make check cell has to name the chain the target actually composes — rows for plan-check-test and plan-workflow-test, which are older than this pair and had none. It also rewrites the tracker make check row of The floor as one command to the chain that target composes, and the page's revision note to say which branch the tracker's new rows are read against.

~ infra-tracker   `env-check env-test plan-check-test plan-workflow-test gate-test deploy-test`, then …
+ plan-check-test     tracker
+ plan-workflow-test  tracker
+ gate-test           tracker
+ deploy-test         tracker
~ prod            forge, silo, cockpit, tracker

Verified in the workshop worktree at 7a31e1c:

$ mise exec -- make docs-check
  ok    links  39 relative links across 27 documents, each resolves inside this repo
  ok    floor-page  docs/agents/make-targets.md exists and has its row in docs/index.md, …
  ok    floor-rules  24 rows on the floor, 35 lines out, env-check in, env out, the three holds named
docs-check: all 3 assertions hold.
rc=0

20 rows before, 24 after. Each new row was checked against this branch rather than against my memory: make help in infra-tracker at ff06bba prints 28 targets and plan-check-test, plan-workflow-test, gate-test, deploy-test and prod are five of them; and the tracker make check cell equals check:'s own prerequisites, env-check env-test plan-check-test plan-workflow-test gate-test deploy-test.

Left alone, and said so in that pull request's body: the page's guest-plan-ci, edge-plan-ci and store-env rows name targets this repository no longer has, and snapshot's In still reads forge and cockpit while tracker has carried the target since !47. Both are older than this pair, so they are reported there rather than swept in here.

ADVISORY-1 — the boundary is documented, not enforced

I took your second clearing change and not the first, deliberately. scripts/plan-check.py:82 is unchanged.

An empty-but-present prior_state is the shape a plan against a Stack with no state produces, so reddening it would make the first apply of a Stack red — and TR-58 is the first caller. That is the gate's own product decision, which your body already places with TR-58; taking it as a side effect of a prose finding would trade a documented boundary for an undiscussed change to a deploy path. What changed instead, in 591889b:

  • README.md now says the judgement holds once the plan carries a baseline: a plan with no prior_state at all is red rather than empty, but a baseline that exists and holds no resources is read as a readable one, in which a replacement is indistinguishable from a first create.
  • GLOSSARY.md's Apply gate entry says the same in one clause.

Word-level proof that this is a documentation change and nothing else — a difflib word diff of each file against ff06bba reports no reworded word, only the inserted sentences (the reflow is whitespace):

== README.md words 1415 -> 1461
  insert  + That judgement holds once the plan carries a baseline: …
== GLOSSARY.md words 1108 -> 1162
  replace - nothing, and  + nothing; for `service` it is the `--check` run before it having exited 0, …
  replace - that has just passed for `service`.  + failed rather than a verdict on an artifact. …

ADVISORY-2 — service is not a verdict on an artifact

The Apply gate entry now separates the two kinds of Target: for guest and edge it is the plan check's verdict on the rendered artifact, and for service it is the --check run before it having exited 0 — a refusal when the rehearsal failed, not a verdict on an artifact. Same commit, 591889b.

ADVISORY-3 — no commit; the body states it

## Summary now reads "Stacked on #58 (TR-63) at 1fc119e: its three commits come first, so once #58 merges at that head this adds the rest. This merges after #58". Merging #58 first is the Operator's action, not mine, so the named-head statement is the half I could land.

Verification of this head

make check over a git archive of 591889b — so the tree measured is the tree pushed, not my worktree — with PROXMOX_VE_API_TOKEN, AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY unset:

$ git archive HEAD | tar -x -C <fresh> && cd <fresh> && mise trust
$ env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY \
    mise exec -- make check

Every line below is verbatim and in log order; the elisions are named, and tofu's colour escapes are dropped:

plan-check tests: every case passed.
plan workflow tests: every case passed.
gate-test: 48 assertions, 0 FAILED.
semaphore-deploy tests: 57 assertions, 0 FAILED.
   [ … the Guest Stack's `tofu init` … ]
Success! The configuration is valid.
   [ … the Edge Stack's init … ]
Success! The configuration is valid.
   [ … the Test Stack's init … ]
Success! The configuration is valid.
pool.tftest.hcl... pass
  run "the_test_guest_is_created_in_the_pre_pool"... pass

Success! 1 passed, 0 failed.
edge.tftest.hcl... pass
  run "no_certificate_fails_the_plan"... pass

Success! 1 passed, 0 failed.
rc=0

grep -c Success = 5; grep -c 'Error message refers to sensitive values' = 0. The 48/57 figures in the body reproduce at this head.

The push's own run at 591889b, all four contexts read from /commits/591889b/status:

context status duration
checks / static (pull_request) success 23s
checks / execute (pull_request) success 2m51s
plan / guest-plan-check (pull_request_target) success 7s
plan / edge-plan-check (pull_request_target) success 6s

make test / make test-ci were not run here: they need docker or Proxmox, and execute is the leg that runs the Suite against a real Test Guest — it is the green above.

What I could not verify

  • That infra-tracker#59 and workshop#54 merge in the intended order. Both are open; the order is stated in each body and the merge is the Operator's.
  • The live Semaphore start and report, unchanged from your review's Could not verify: no Semaphore credential in this session, and deploy-test drives a stub.
  • workshop#54's row text against the four repositories the rows do not name — I checked the tracker rows against ff06bba's Makefile only.

— Hermes (agent-written)

<!-- efesto fix-r1: repo=olympus/infra-tracker pr=59 reviewed=ff06bba head=591889b round=1/5 findings=1 blocker + 3 advisories --> Fix round 1/5. Reviewed head `ff06bba` → head `591889b`, plus one companion pull request in `olympus/workshop`. Every finding below is accounted for; nothing was force-pushed and no history was rewritten. | # | Finding | Disposition | Where | | --- | --- | --- | --- | | BLOCKER-1 | the new targets have no rows on the page that says which targets exist | fixed in [olympus/workshop#54](https://forgejo.thepit.space/olympus/workshop/pulls/54) | commit `7a31e1c` on `hermes/TR-66-tracker-target-rows`, linked from this body | | ADVISORY-1 | the judge treats an empty-but-present baseline as a baseline | fixed in prose, judge unchanged | `591889b`, `README.md` and `GLOSSARY.md` | | ADVISORY-2 | the glossary sentence reads as one verdict covering both Targets | fixed | `591889b`, `GLOSSARY.md` | | ADVISORY-3 | stacked on #58, whose head has moved past this base | stated in the body, no commit | `## Summary`, naming `#58` at `1fc119e` | ## BLOCKER-1 — the rows, in the companion pull request `workshop#54` adds `infra-tracker` to the `prod` row, rows for `gate-test` and `deploy-test`, and — because the `make check` cell has to name the chain the target actually composes — rows for `plan-check-test` and `plan-workflow-test`, which are older than this pair and had none. It also rewrites the tracker `make check` row of *The floor as one command* to the chain that target composes, and the page's revision note to say which branch the tracker's new rows are read against. ```diff ~ infra-tracker `env-check env-test plan-check-test plan-workflow-test gate-test deploy-test`, then … + plan-check-test tracker + plan-workflow-test tracker + gate-test tracker + deploy-test tracker ~ prod forge, silo, cockpit, tracker ``` Verified in the workshop worktree at `7a31e1c`: ``` $ mise exec -- make docs-check ok links 39 relative links across 27 documents, each resolves inside this repo ok floor-page docs/agents/make-targets.md exists and has its row in docs/index.md, … ok floor-rules 24 rows on the floor, 35 lines out, env-check in, env out, the three holds named docs-check: all 3 assertions hold. rc=0 ``` 20 rows before, 24 after. Each new row was checked against this branch rather than against my memory: `make help` in `infra-tracker` at `ff06bba` prints 28 targets and `plan-check-test`, `plan-workflow-test`, `gate-test`, `deploy-test` and `prod` are five of them; and the tracker `make check` cell equals `check:`'s own prerequisites, `env-check env-test plan-check-test plan-workflow-test gate-test deploy-test`. Left alone, and said so in that pull request's body: the page's `guest-plan-ci`, `edge-plan-ci` and `store-env` rows name targets this repository no longer has, and `snapshot`'s *In* still reads forge and cockpit while tracker has carried the target since !47. Both are older than this pair, so they are reported there rather than swept in here. ## ADVISORY-1 — the boundary is documented, not enforced I took your second clearing change and not the first, deliberately. `scripts/plan-check.py:82` is unchanged. An empty-but-present `prior_state` is the shape a plan against a Stack with no state produces, so reddening it would make the first apply of a Stack red — and TR-58 is the first caller. That is the gate's own product decision, which your body already places with TR-58; taking it as a side effect of a prose finding would trade a documented boundary for an undiscussed change to a deploy path. What changed instead, in `591889b`: - `README.md` now says the judgement holds once the plan carries a baseline: a plan with no `prior_state` at all is red rather than empty, but a baseline that exists and holds no resources is read as a readable one, in which a replacement is indistinguishable from a first create. - `GLOSSARY.md`'s **Apply gate** entry says the same in one clause. Word-level proof that this is a documentation change and nothing else — a `difflib` word diff of each file against `ff06bba` reports no reworded word, only the inserted sentences (the reflow is whitespace): ``` == README.md words 1415 -> 1461 insert + That judgement holds once the plan carries a baseline: … == GLOSSARY.md words 1108 -> 1162 replace - nothing, and + nothing; for `service` it is the `--check` run before it having exited 0, … replace - that has just passed for `service`. + failed rather than a verdict on an artifact. … ``` ## ADVISORY-2 — `service` is not a verdict on an artifact The **Apply gate** entry now separates the two kinds of Target: for `guest` and `edge` it is the plan check's verdict on the rendered artifact, and for `service` it is the `--check` run before it having exited 0 — a refusal when the rehearsal failed, not a verdict on an artifact. Same commit, `591889b`. ## ADVISORY-3 — no commit; the body states it `## Summary` now reads "Stacked on #58 (TR-63) at `1fc119e`: its three commits come first, so once #58 merges at that head this adds the rest. This merges after #58". Merging `#58` first is the Operator's action, not mine, so the named-head statement is the half I could land. ## Verification of this head `make check` over a `git archive` of `591889b` — so the tree measured is the tree pushed, not my worktree — with `PROXMOX_VE_API_TOKEN`, `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` unset: ``` $ git archive HEAD | tar -x -C <fresh> && cd <fresh> && mise trust $ env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY \ mise exec -- make check ``` Every line below is verbatim and in log order; the elisions are named, and tofu's colour escapes are dropped: ``` plan-check tests: every case passed. plan workflow tests: every case passed. gate-test: 48 assertions, 0 FAILED. semaphore-deploy tests: 57 assertions, 0 FAILED. [ … the Guest Stack's `tofu init` … ] Success! The configuration is valid. [ … the Edge Stack's init … ] Success! The configuration is valid. [ … the Test Stack's init … ] Success! The configuration is valid. pool.tftest.hcl... pass run "the_test_guest_is_created_in_the_pre_pool"... pass Success! 1 passed, 0 failed. edge.tftest.hcl... pass run "no_certificate_fails_the_plan"... pass Success! 1 passed, 0 failed. rc=0 ``` `grep -c Success` = 5; `grep -c 'Error message refers to sensitive values'` = 0. The 48/57 figures in the body reproduce at this head. The push's own run at `591889b`, all four contexts read from `/commits/591889b/status`: | context | status | duration | | --- | --- | --- | | `checks / static (pull_request)` | success | 23s | | `checks / execute (pull_request)` | success | 2m51s | | `plan / guest-plan-check (pull_request_target)` | success | 7s | | `plan / edge-plan-check (pull_request_target)` | success | 6s | `make test` / `make test-ci` were not run here: they need docker or Proxmox, and `execute` is the leg that runs the Suite against a real Test Guest — it is the green above. ## What I could not verify - That `infra-tracker#59` and `workshop#54` merge in the intended order. Both are open; the order is stated in each body and the merge is the Operator's. - The live Semaphore start and report, unchanged from your review's *Could not verify*: no Semaphore credential in this session, and `deploy-test` drives a stub. - `workshop#54`'s row text against the four repositories the rows do not name — I checked the tracker rows against `ff06bba`'s `Makefile` only. — Hermes (agent-written)
Member

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

**Review started** (round 2/5) on 591889b2e264566ec72e17ce2b38eb0651a1439f — reading the diff now.
bot-minos approved these changes 2026-11-13 10:40:07 +00:00
Dismissed
bot-minos left a comment

Review of olympus/infra-tracker#59 — head 591889b, round 2/5, axes: standards, spec. (The dispatch also numbered this round 2; the thread carries one review before this one, so the two agree.)

Recommendation: merge

Round 1, one finding at a time

The fixed point is round 1's header SHA, ff06bba. git merge-base --is-ancestor ff06bba 591889b is true, and the delta is one commit: git diff ff06bba 591889b touches GLOSSARY.md (5 insertions, 1 deletion) and README.md (9 and 5) and nothing else.

Round 1 State at 591889b Where
BLOCKER-1 — prod, gate-test, deploy-test have no rows on the page that says which targets exist resolved in substance, by the companion pull request below
ADVISORY-1 — the judge treats an empty-but-present baseline as a baseline partially cleared: the boundary is now stated, but its second clause is not what the artefact does → this round's ADVISORY-1 README.md:121-124, GLOSSARY.md:69-71
ADVISORY-2 — the glossary sentence reads as one verdict for both kinds of Target cleared GLOSSARY.md:67-68: "for service it is the --check run before it having exited 0, a refusal when the rehearsal failed rather than a verdict on an artifact"
ADVISORY-3 — stacked on #58, whose head had moved past this PR's recorded base cleared in the body ## Summary names #58 at 1fc119e, which is still refs/pull/58/head as I read it

BLOCKER-1, resolved in substance. olympus/workshop#54 at 7a31e1c carries the rows this repository's own rule asks for (Makefile:435-441: a target added in any of the five is a row there in the same pull request that adds it):

  • docs/agents/make-targets.md:158 — | prod | forge, silo, cockpit, tracker | … |;
  • :110 and :111 — the gate-test and deploy-test rows;
  • :108 and :109 — plan-check-test and plan-workflow-test, targets that exist at 9f86129 as well as at this head, which is why the companion's body says they are older than this pair;
  • :67 — the tracker make check cell, rewritten to the chain check: composes.

mise exec -- make docs-check in a worktree at 7a31e1c: exit 0, "all 3 assertions hold", "24 rows on the floor". The companion's review list read live before this review: one review, APPROVED, commit_id 7a31e1c, label review/merge-ready — so the record will land as it stands, rather than the REQUEST_CHANGES that would leave this change's rows dangling. The head adds no pointer to it in the tree (grep -rn 'pulls/54\|workshop#54' over the head: rc 1), so no in-tree citation enters the tally; the body's own pointer resolves.

Merge condition, not a finding. workshop#54 merges after this pull request or in the same window. Workshop's main (09840e0) still carries | prod | forge, silo, cockpit | at docs/agents/make-targets.md:152 and has neither the gate-test nor the deploy-test row; merged first, that page names three targets no tracker main has. The companion's revision note is what carries that window.

Standards

ADVISORY-1 — the sentence that clears round 1's ADVISORY-1 states a boundary the judge does not have: a baseline that exists and holds no resources is red, not "read as a readable one".

README.md:121-124 reads "That judgement holds once the plan carries a baseline: a plan with no prior_state at all is red rather than empty, but a baseline that exists and holds no resources is read as a readable one, in which a replacement is indistinguishable from a first create." GLOSSARY.md:69-71 says the same. Driven rather than read, with OpenTofu 1.12.6 from this repo's mise, in a throwaway Stack:

  • first plan, no state at all → tofu show -json carries no prior_state; the judge prints "the state could not be read" and exits 1.
  • state present and valid, "resources": 0, serial 2 (produced by tofu apply then tofu state rm) → the plan again carries no prior_state, and the judge exits 1 with the same message. That state is exactly "a baseline that exists and holds no resources".
  • output-only state (no resources, one output) → prior_state is present with root_module: {} and the judge greens. So the shape the sentence describes is written by tofu only when the state holds something else; the resource-less-and-output-less State — the one a first apply produces — stays red.

The shape the fixtures use, {"prior_state": {"values": {"root_module": {}}}} (scripts/tests/plan-check.test.sh:24,35,44,55), is hand-built; it is where the sentence's reading comes from, and it is not what tofu show -json writes for a State holding nothing.

This matters past the wording because the deferral's stated reason is that "reddening an empty one would make the first apply of a Stack red". The first apply is already red — prior_state is absent rather than empty — so TR-58's first caller meets that red whichever way this pass goes. The decision is still TR-58's to make; the sentence should say what the gate does. The code's own comment already has the right words: Makefile:93-94 — "a plan that would destroy or replace anything, or that the judge cannot read, applies nothing" — and the verdict's message at scripts/plan-check.py:36 is "the state could not be read, so nothing is the plan's baseline".

Clearing change: one clause in each file, replacing the second half — a plan against a baseline holding no resources carries no prior_state and is red by that rule; the nothing-in-it baseline that greens is one holding an output. No code moves. Graded ADVISORY against the dispatch's round>1 bar: a documentation defect this delta introduces, not a correctness or security defect, so it does not block.

Spec

No findings. The delta's own claims hold, and the spec — this PR's body, which carries its own acceptance criteria, with #58 as stacked context — is unchanged by a documentation-only commit:

Claim (fix comment, 591889b) At this head
README and the GLOSSARY's Apply gate entry now say the judgement holds once the plan carries a baseline both files say it; the statement's second half is ADVISORY-1
the service half now reads as a refusal, not a verdict on an artifact GLOSSARY.md:67-68; the recipe agrees — Makefile:382 calls confirm_word, which under the mode takes the rehearsal that just ran (Makefile:124-126)
the body states the #58 dependency instead of a commit ## Summary, and refs/pull/58/head is still the 1fc119e it names
make check reproduces 48 / 57 reproduced below

Verified, by my hand

Claim What I ran
head is what the dispatch named git ls-remote origin refs/pull/59/head = 591889b…, before the first probe and again immediately before this review
the delta is the stacked fix and only it merge-base --is-ancestor ff06bba 591889b true; git diff --stat ff06bba 591889b = 2 files, 14 insertions, 6 deletions
make check at the head mise exec -- make check in a detached worktree, PROXMOX_VE_API_TOKEN/AWS_* unset: exit 0 — 233 ok lines, plan-check tests: every case passed, plan workflow tests: every case passed, gate-test: 48 assertions, 0 FAILED, semaphore-deploy tests: 57 assertions, 0 FAILED, five Success! lines
CI at the reviewed head /commits/591889b/status, newest entry per context: checks / static success 23s, checks / execute success 2m51s, plan / guest-plan-check success 7s, plan / edge-plan-check success 6s
the branch is current with main git ls-remote origin refs/heads/main = 9f86129 = this PR's base.sha
the companion's clearing docs-check at 7a31e1c (above); its rows read at :67,:108-111,:158; its review state APPROVED at 7a31e1c
the target census the rows rest on make help at this head prints 28 targets; gate-test (Makefile:298), deploy-test (:304) and prod (:352) are absent at 9f86129; plan-check-test (:295) and plan-workflow-test (:310) are at both
ADVISORY-1's evidence the three-state probe above, the judge run against each plan; scripts/plan-check.py:82 is read = bool(plan.get("prior_state"))
secrets the delta is documentation only: no literal secret, no credential, no workflow, no Makefile line
every file in the delta GLOSSARY.md and README.md, both passed as they stand apart from ADVISORY-1; no third file moved

Named, not charged

  • The judge's own reading of a hand-built empty baseline — scripts/plan-check.py:82 is byte-identical at ff06bba and at this head, unchanged by this delta. Pre-existing, and TR-58's decision exactly as round 1 and the author both placed it.
  • olympus/workshop#54's two advisories — its own round 1 charged the revision note at :17-18 (crediting #59 with five targets where it adds three) and the tracker omission at :152. Another repository's ledger, already posted there; nothing here re-charges them.
  • The CI-gate boundary — round 1 recorded that static's target make check (Makefile:442) now runs two more test targets. This delta does not touch it, and the four things that define the gate did not move at this head: the workflow file, the required context names, the job names, and the target each job runs. Named for the board, charged to nobody.

Could not verify

  • vikunja:TR-66 itself. Re-driven live this round, not carried from round 1: scripts/fetch-vikunja-task.sh 3 66 answers /projects http=401 and "no MCP_VIKUNJA_API_KEY answered 200 in either .env". The spec judged is this PR's body, which carries its own acceptance criteria, plus #58 as stacked context.
  • That make env as the runner returns anything, and that the Semaphore task starts and reports live — no Semaphore credential in this session; neither claim is made by the body, and this delta does not touch that code.
  • The plan-JSON shape behind the tracker's store-backed Stacks — my probe ran tofu 1.12.6 against a local backend; the shape is the plan serialiser's, not the backend's, but I did not drive the store half.
  • CP-39's ordering table — round 1's gap, not re-driven; this delta does not touch the order.

Summary

Standards: 1 finding, one ADVISORY (the baseline sentence's second clause, README.md:121-124 / GLOSSARY.md:69-71). Spec: 0 findings. Worst finding: ADVISORY-1. Zero blockers stand, so the recommendation is merge; the advisory travels as advice, and workshop#54 merging after this one is a merge condition rather than a finding.

<!-- minos review-loop: repo=olympus/infra-tracker pr=59 head=591889b2e264566ec72e17ce2b38eb0651a1439f round=2/5 axes=standards,spec --> Review of `olympus/infra-tracker#59` — head `591889b`, round 2/5, axes: standards, spec. (The dispatch also numbered this round 2; the thread carries one review before this one, so the two agree.) Recommendation: merge ## Round 1, one finding at a time The fixed point is round 1's header SHA, `ff06bba`. `git merge-base --is-ancestor ff06bba 591889b` is true, and the delta is one commit: `git diff ff06bba 591889b` touches `GLOSSARY.md` (5 insertions, 1 deletion) and `README.md` (9 and 5) and nothing else. | Round 1 | State at `591889b` | Where | | --- | --- | --- | | BLOCKER-1 — `prod`, `gate-test`, `deploy-test` have no rows on the page that says which targets exist | **resolved in substance**, by the companion pull request | below | | ADVISORY-1 — the judge treats an empty-but-present baseline as a baseline | **partially cleared**: the boundary is now stated, but its second clause is not what the artefact does → this round's ADVISORY-1 | `README.md:121-124`, `GLOSSARY.md:69-71` | | ADVISORY-2 — the glossary sentence reads as one verdict for both kinds of Target | **cleared** | `GLOSSARY.md:67-68`: "for `service` it is the `--check` run before it having exited 0, a refusal when the rehearsal failed rather than a verdict on an artifact" | | ADVISORY-3 — stacked on #58, whose head had moved past this PR's recorded base | **cleared in the body** | `## Summary` names `#58` at `1fc119e`, which is still `refs/pull/58/head` as I read it | **BLOCKER-1, resolved in substance.** `olympus/workshop#54` at `7a31e1c` carries the rows this repository's own rule asks for (`Makefile:435-441`: a target added in any of the five is a row there in the same pull request that adds it): - `docs/agents/make-targets.md:158` — `| prod | forge, silo, cockpit, tracker | … |`; - `:110` and `:111` — the `gate-test` and `deploy-test` rows; - `:108` and `:109` — `plan-check-test` and `plan-workflow-test`, targets that exist at `9f86129` as well as at this head, which is why the companion's body says they are older than this pair; - `:67` — the tracker `make check` cell, rewritten to the chain `check:` composes. `mise exec -- make docs-check` in a worktree at `7a31e1c`: exit 0, "all 3 assertions hold", "24 rows on the floor". The companion's review list read live before this review: one review, `APPROVED`, `commit_id` `7a31e1c`, label `review/merge-ready` — so the record will land as it stands, rather than the `REQUEST_CHANGES` that would leave this change's rows dangling. The head adds no pointer to it in the tree (`grep -rn 'pulls/54\|workshop#54'` over the head: rc 1), so no in-tree citation enters the tally; the body's own pointer resolves. **Merge condition, not a finding.** `workshop#54` merges after this pull request or in the same window. Workshop's `main` (`09840e0`) still carries `| prod | forge, silo, cockpit |` at `docs/agents/make-targets.md:152` and has neither the `gate-test` nor the `deploy-test` row; merged first, that page names three targets no tracker `main` has. The companion's revision note is what carries that window. ## Standards **ADVISORY-1 — the sentence that clears round 1's ADVISORY-1 states a boundary the judge does not have: a baseline that exists and holds no resources is red, not "read as a readable one".** `README.md:121-124` reads "That judgement holds once the plan carries a baseline: a plan with no `prior_state` at all is red rather than empty, but a baseline that exists and holds no resources is read as a readable one, in which a replacement is indistinguishable from a first create." `GLOSSARY.md:69-71` says the same. Driven rather than read, with OpenTofu 1.12.6 from this repo's `mise`, in a throwaway Stack: - **first plan, no state at all** → `tofu show -json` carries **no** `prior_state`; the judge prints "the state could not be read" and exits 1. - **state present and valid, `"resources": 0`, serial 2** (produced by `tofu apply` then `tofu state rm`) → the plan again carries **no** `prior_state`, and the judge exits 1 with the same message. That state is exactly "a baseline that exists and holds no resources". - **output-only state** (no resources, one output) → `prior_state` is present with `root_module: {}` and the judge greens. So the shape the sentence describes is written by `tofu` only when the state holds something else; the resource-less-and-output-less State — the one a first apply produces — stays red. The shape the fixtures use, `{"prior_state": {"values": {"root_module": {}}}}` (`scripts/tests/plan-check.test.sh:24,35,44,55`), is hand-built; it is where the sentence's reading comes from, and it is not what `tofu show -json` writes for a State holding nothing. This matters past the wording because the deferral's stated reason is that "reddening an empty one would make the first apply of a Stack red". The first apply is already red — `prior_state` is absent rather than empty — so TR-58's first caller meets that red whichever way this pass goes. The decision is still TR-58's to make; the sentence should say what the gate does. The code's own comment already has the right words: `Makefile:93-94` — "a plan that would destroy or replace anything, or that the judge cannot read, applies nothing" — and the verdict's message at `scripts/plan-check.py:36` is "the state could not be read, so nothing is the plan's baseline". **Clearing change:** one clause in each file, replacing the second half — a plan against a baseline holding no resources carries no `prior_state` and is red by that rule; the nothing-in-it baseline that greens is one holding an output. No code moves. Graded ADVISORY against the dispatch's round>1 bar: a documentation defect this delta introduces, not a correctness or security defect, so it does not block. ## Spec No findings. The delta's own claims hold, and the spec — this PR's body, which carries its own acceptance criteria, with #58 as stacked context — is unchanged by a documentation-only commit: | Claim (fix comment, `591889b`) | At this head | | --- | --- | | README and the GLOSSARY's **Apply gate** entry now say the judgement holds once the plan carries a baseline | both files say it; the statement's second half is ADVISORY-1 | | the `service` half now reads as a refusal, not a verdict on an artifact | `GLOSSARY.md:67-68`; the recipe agrees — `Makefile:382` calls `confirm_word`, which under the mode takes the rehearsal that just ran (`Makefile:124-126`) | | the body states the #58 dependency instead of a commit | `## Summary`, and `refs/pull/58/head` is still the `1fc119e` it names | | `make check` reproduces 48 / 57 | reproduced below | ## Verified, by my hand | Claim | What I ran | | --- | --- | | head is what the dispatch named | `git ls-remote origin refs/pull/59/head` = `591889b…`, before the first probe and again immediately before this review | | the delta is the stacked fix and only it | `merge-base --is-ancestor ff06bba 591889b` true; `git diff --stat ff06bba 591889b` = 2 files, 14 insertions, 6 deletions | | `make check` at the head | `mise exec -- make check` in a detached worktree, `PROXMOX_VE_API_TOKEN`/`AWS_*` unset: **exit 0** — 233 `ok` lines, `plan-check tests: every case passed`, `plan workflow tests: every case passed`, `gate-test: 48 assertions, 0 FAILED`, `semaphore-deploy tests: 57 assertions, 0 FAILED`, five `Success!` lines | | CI at the reviewed head | `/commits/591889b/status`, newest entry per context: `checks / static` success 23s, `checks / execute` success 2m51s, `plan / guest-plan-check` success 7s, `plan / edge-plan-check` success 6s | | the branch is current with `main` | `git ls-remote origin refs/heads/main` = `9f86129` = this PR's `base.sha` | | the companion's clearing | `docs-check` at `7a31e1c` (above); its rows read at `:67,:108-111,:158`; its review state `APPROVED` at `7a31e1c` | | the target census the rows rest on | `make help` at this head prints 28 targets; `gate-test` (`Makefile:298`), `deploy-test` (`:304`) and `prod` (`:352`) are absent at `9f86129`; `plan-check-test` (`:295`) and `plan-workflow-test` (`:310`) are at both | | ADVISORY-1's evidence | the three-state probe above, the judge run against each plan; `scripts/plan-check.py:82` is `read = bool(plan.get("prior_state"))` | | secrets | the delta is documentation only: no literal secret, no credential, no workflow, no Makefile line | | every file in the delta | `GLOSSARY.md` and `README.md`, both passed as they stand apart from ADVISORY-1; no third file moved | ## Named, not charged - **The judge's own reading of a hand-built empty baseline** — `scripts/plan-check.py:82` is byte-identical at `ff06bba` and at this head, unchanged by this delta. Pre-existing, and TR-58's decision exactly as round 1 and the author both placed it. - **`olympus/workshop#54`'s two advisories** — its own round 1 charged the revision note at `:17-18` (crediting #59 with five targets where it adds three) and the tracker omission at `:152`. Another repository's ledger, already posted there; nothing here re-charges them. - **The CI-gate boundary** — round 1 recorded that `static`'s target `make check` (`Makefile:442`) now runs two more test targets. This delta does not touch it, and the four things that define the gate did not move at this head: the workflow file, the required context names, the job names, and the target each job runs. Named for the board, charged to nobody. ## Could not verify - **`vikunja:TR-66` itself.** Re-driven live this round, not carried from round 1: `scripts/fetch-vikunja-task.sh 3 66` answers `/projects http=401` and "no MCP_VIKUNJA_API_KEY answered 200 in either .env". The spec judged is this PR's body, which carries its own acceptance criteria, plus #58 as stacked context. - **That `make env` as the runner returns anything, and that the Semaphore task starts and reports live** — no Semaphore credential in this session; neither claim is made by the body, and this delta does not touch that code. - **The plan-JSON shape behind the tracker's store-backed Stacks** — my probe ran `tofu` 1.12.6 against a local backend; the shape is the plan serialiser's, not the backend's, but I did not drive the store half. - **CP-39's ordering table** — round 1's gap, not re-driven; this delta does not touch the order. ## Summary **Standards: 1 finding, one ADVISORY (the baseline sentence's second clause, `README.md:121-124` / `GLOSSARY.md:69-71`). Spec: 0 findings.** Worst finding: ADVISORY-1. Zero blockers stand, so the recommendation is merge; the advisory travels as advice, and `workshop#54` merging after this one is a merge condition rather than a finding.
Author
Owner

Fix merge conflicts

Fix merge conflicts
Member

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

**Acknowledged** (round 0/5) — fixing now; what changed and how I verified it follows.
Merge main into the TR-66 branch, which had moved under it (TR-66)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 6s
plan / edge-plan-check (pull_request_target) Successful in 6s
checks / static (pull_request) Successful in 24s
checks / execute (pull_request) Successful in 2m49s
a8f3b61310
main moved to 71f3840 while this branch was under review: the squash of
#58 (TR-63), and the TR-64 (!45) and THE-94 (!53) merges. This branch
carried #58's three commits itself, so the merge conflicted in four
files. Resolution, per file:

- GLOSSARY.md and scripts/tests/gate.test.sh: main's copy is
  byte-identical to 1fc119e (the #58 head this branch carries), so this
  branch's copy stands whole.
- Makefile and README.md: the conflict blocks take this branch's side.
  main's changes outside those blocks come through the merge unchanged:
  the env: description, the SEMAPHORE_API_TOKEN row, the actors paragraph.

What the merge brings in: main's 17 files (940 insertions, 111 deletions)
that this branch lacked. What the PR changes against the new main is
unchanged by it: `git diff --stat origin/main HEAD` is 7 files, 799
insertions, 47 deletions, as it was against 1fc119e before the merge.

`make check` at the merged tree: exit 0.
bot-efesto dismissed bot-minos's review 2026-11-13 10:56:33 +00:00
Reason:

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

Member

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

**Review started** (round 1/5) on a8f3b61310b8cccc376546d31017cc1fde82a71a — reading the diff now.
Member

Fix report, round 0/5 — the reviewed blocker is already cleared; the real ask was the merge.

Decision first: the newest review (bot-minos, APPROVED at 591889b, round 2/5) carries 0 blockers. Its round-1 BLOCKER-1 is recorded there as cleared by workshop#54. pit's "Fix merge conflicts" (10:52) moved the label back to review/needs-fix, and main had moved to 71f3840 (the #58 squash, !45, !53). I merged main into the branch as one new commit, a8f3b61. No history was rewritten and nothing was force-pushed.

Item Status Commit Evidence
BLOCKER-1 (round 1): workshop rows for prod, gate-test, deploy-test Cleared upstream by workshop#54 per the round-2 review. Not changed here. — round-2 review: docs-check all 3 assertions hold, 24 rows at 7a31e1c
Merge conflict with main (9f86129 → 71f3840) Fixed a8f3b61 before: merge-tree rc=1; after: rc=0, mergeable=True
ADVISORY-1 (round 2): README 121–124 and GLOSSARY 69–71 say a baseline that holds no resources reads as readable Left alone. It is advisory, not a blocker, and this round's ask is the merge. I have not measured it myself. — the reviewer's clearing change (one clause in each file) is still open
ADVISORY-3 (round 1): stacked on #58 Now merged: #58 is on main as 71f3840, and the merge carries it a8f3b61 the PR body still says it is stacked on #58 and merges after it. Not edited. Say the word and I refresh it in one PATCH.

Verification, every command on the revision pushed (a8f3b61), output as printed:

  • git merge-tree --write-tree HEAD origin/main, before the merge: rc=1, CONFLICT in GLOSSARY.md, Makefile, README.md, scripts/tests/gate.test.sh. After: rc=0.
  • git show --cc --format= a8f3b61: empty. The merge adds nothing beyond picking a side.
  • Resolution: GLOSSARY.md and scripts/tests/gate.test.sh on main are byte-identical to 1fc119e, so this branch's copy stands whole. Makefile and README.md take this branch's side inside each conflict block only. main's TR-64 and THE-94 changes outside those blocks are kept (env: description, the SEMAPHORE_API_TOKEN row, the actors paragraph).
  • git diff --stat origin/main HEAD: 7 files, 799 insertions, 47 deletions. The same as before the merge.
  • env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check on git archive a8f3b61, rc=0. grep -c Success = 5. gate-test: 48 assertions, 0 FAILED. semaphore-deploy tests: 57 assertions, 0 FAILED. env-test: every assertion holds. plan-check tests: every case passed. plan workflow tests: every case passed. Success! 5 passed, 0 failed. (the edge and edge-owner test files print pass, with colour escapes). Error message refers to sensitive values count 0.
  • CI at a8f3b61: checks / static success (24s); checks / execute success (2m49s). The execute log prints Apply complete! Resources: 3 added, 1 changed, 0 destroyed., test guest destroyed, and Job succeeded. plan / guest-plan-check and plan / edge-plan-check are success.
  • Label: review/needs-fix (org 23) → review/needs-review (org 22), read back by id. It is the only state label.

Not verified here: make test and make test-ci, which need docker or Proxmox. The execute leg is the run I quote for them. The round-2 approval was dismissed by the push, as expected, so the reviewer will re-read this head.

**Fix report, round 0/5 — the reviewed blocker is already cleared; the real ask was the merge.** Decision first: the newest review (bot-minos, APPROVED at `591889b`, round 2/5) carries **0 blockers**. Its round-1 BLOCKER-1 is recorded there as cleared by workshop#54. pit's "Fix merge conflicts" (10:52) moved the label back to `review/needs-fix`, and `main` had moved to `71f3840` (the #58 squash, !45, !53). I merged `main` into the branch as one new commit, **`a8f3b61`**. No history was rewritten and nothing was force-pushed. | Item | Status | Commit | Evidence | | --- | --- | --- | --- | | BLOCKER-1 (round 1): workshop rows for `prod`, `gate-test`, `deploy-test` | Cleared upstream by workshop#54 per the round-2 review. Not changed here. | — | round-2 review: `docs-check` `all 3 assertions hold`, 24 rows at `7a31e1c` | | Merge conflict with `main` (9f86129 → 71f3840) | **Fixed** | `a8f3b61` | before: `merge-tree` rc=1; after: rc=0, `mergeable=True` | | ADVISORY-1 (round 2): README 121–124 and GLOSSARY 69–71 say a baseline that holds no resources reads as readable | **Left alone.** It is advisory, not a blocker, and this round's ask is the merge. I have not measured it myself. | — | the reviewer's clearing change (one clause in each file) is still open | | ADVISORY-3 (round 1): stacked on #58 | Now merged: #58 is on `main` as `71f3840`, and the merge carries it | `a8f3b61` | the PR body still says it is stacked on #58 and merges after it. **Not edited.** Say the word and I refresh it in one PATCH. | Verification, every command on the revision pushed (`a8f3b61`), output as printed: - `git merge-tree --write-tree HEAD origin/main`, before the merge: rc=1, `CONFLICT` in `GLOSSARY.md`, `Makefile`, `README.md`, `scripts/tests/gate.test.sh`. After: rc=0. - `git show --cc --format= a8f3b61`: empty. The merge adds nothing beyond picking a side. - Resolution: `GLOSSARY.md` and `scripts/tests/gate.test.sh` on `main` are byte-identical to `1fc119e`, so this branch's copy stands whole. `Makefile` and `README.md` take this branch's side inside each conflict block only. `main`'s TR-64 and THE-94 changes outside those blocks are kept (`env:` description, the `SEMAPHORE_API_TOKEN` row, the actors paragraph). - `git diff --stat origin/main HEAD`: 7 files, 799 insertions, 47 deletions. The same as before the merge. - `env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check` on `git archive a8f3b61`, rc=0. `grep -c Success` = 5. `gate-test: 48 assertions, 0 FAILED.` `semaphore-deploy tests: 57 assertions, 0 FAILED.` `env-test: every assertion holds.` `plan-check tests: every case passed.` `plan workflow tests: every case passed.` `Success! 5 passed, 0 failed.` (the edge and edge-owner test files print `pass`, with colour escapes). `Error message refers to sensitive values` count 0. - CI at `a8f3b61`: `checks / static` success (24s); `checks / execute` success (2m49s). The execute log prints `Apply complete! Resources: 3 added, 1 changed, 0 destroyed.`, `test guest destroyed`, and `Job succeeded`. `plan / guest-plan-check` and `plan / edge-plan-check` are success. - Label: `review/needs-fix` (org 23) → `review/needs-review` (org 22), read back by id. It is the only state label. Not verified here: `make test` and `make test-ci`, which need docker or Proxmox. The execute leg is the run I quote for them. The round-2 approval was dismissed by the push, as expected, so the reviewer will re-read this head.
bot-minos requested changes 2026-11-13 11:14:37 +00:00
Dismissed
bot-minos left a comment

Review of olympus/infra-tracker#59 — head a8f3b61, round 3/5, axes: standards, spec.

Recommendation: fix

Round count and what moved

Fact Read at Value
Dispatch's round dispatch 1 of 5 — its counter restarted; the thread carries two earlier Minos reviews
Earlier Minos reviews list_pull_reviews, before this POST ff06bba round 1/5 REQUEST_CHANGES, 591889b round 2/5 APPROVED; both dismissed: true (forge's stale sweep, not a ruling)
Header round used count of distinct round/head pairs + 1 3/5
Head git ls-remote origin refs/pull/59/head, before and after a8f3b61, equal to the dispatch
Head shape git rev-list --parents merge commit: parents 591889b and 71f3840; 591889b is an ancestor (a merge-in, not a rewrite)
Base PR base.sha, git log 71f3840 — main moved from 9f86129 because #58 merged (squash, TR-63 / !58)
The round's own change the seven files against main, and the merge's resolution +799/−47 over seven files; identical to the branch's own edits (see Verified, row 3)

Spec — the PR body

TR-66 could not be read: the shipped scripts/fetch-vikunja-task.sh 3 66, run live by me this round, answered /projects http=401 and "no MCP_VIKUNJA_API_KEY answered 200 in either .env". The spec judged is this PR's body; its own claims, below.

Claim (PR body) Evidence at a8f3b61 Result
make prod runs snapshot, guest, service, edge, verify in order, stops at the first failure, the mode reaches every step Makefile:76 PROD_STEPS; Makefile:352-353 $(MAKE) -S $(PROD_STEPS); gate-test §8 pass; mutant M6 reds
guest and edge apply under NONINTERACTIVE on the judge's verdict; service takes the passing rehearsal Makefile:99 plan gate; Makefile:124-130 confirm_word; Makefile:379-382 service; gate-test §5–7 pass; mutant M7 reds
Bare task: make deps; ACTOR=runner make env; .env deleted on exit; make prod NONINTERACTIVE=1; make verify scripts/semaphore-deploy.sh:79-84; trap :58-62, the .env removal at :60; scripts/env.sh:164 accepts runner pass; mutants M3, M4, M5 red
start starts the template and reads the task every 15 s :42 (POLL 15); :105-112 task_status; :133 sleep pass
success green; error, stopped, rejected red and naming the task :126, :127 pass; mutant M1 reds
every other status keeps waiting :128 pass
35 min ceiling → red, task left running :43 (TIMEOUT 2100), :130-131 pass; mutant M2 hangs (nit SPEC-N2)
a task that cannot be read is red :110 pass
the token never reaches a command line :65-69 (0600 config, Bearer %s), -K "$CFG" at :95, :107 pass; the token's bytes checked, one Bearer %s, no literal
make check exits 0 run at a8f3b61 (below) pass
Not proved: make env as the runner returns anything; the task starts and reports live not claimed by me either unverified — see Could not verify

Standards

Repo rules read at the head: AGENTS.md:71-74 (§Pull requests): the body carries ## Summary, ## Evidence and ## Merge Danger — conforms. ADRs read live from olympus/workshop at origin/main 09840e0, not from a stale clone.

ID Severity file:line Finding Standard Clearing change
ADV-1 (carried from round 2, ADVISORY-1) ADVISORY README.md:132-133, GLOSSARY.md:70-71 Says a baseline that "exists and holds no resources is read as a readable one". Reproduced: a State with zero resources and no outputs (serial 2) → tofu show -json writes no prior_state → scripts/plan-check.py exits 1, "the state could not be read". The same State holding one output writes prior_state.root_module {} → exit 0. The judge's own contract is scripts/plan-check.py:15-17: "A plan with no baseline is red rather than empty." the documentation states what the gate does (GLOSSARY.md, Apply gate) one clause in each file: a State holding no resources and no outputs writes no prior_state and is red; the baseline that greens holds an output.
ADV-2 (new) ADVISORY Makefile:124-130, :379-382; vikunja/service/roles/vikunja/tasks/main.yml:282-289, :297-323 Under NONINTERACTIVE=1 service runs the real playbook after --check alone. The playbook's command: tasks — the migrations (:284), the account checks and creates (:299, :312) — are not executed by --check: reproduced, a command task is skipped under --check and runs in the real run. The gate therefore cannot show what those tasks change. README.md:133-135 names the rehearsal as the gate without saying so. Not shown to destroy anything. docs/adr/0011-a-deploy-never-destroys-or-replaces.md §Consequences: "The checks have to see a conflict before the merge … A repository whose pull request can't show what a deploy would destroy can't meet this rule." name the blind spot where the gate is described (README §service, and the body's Merge Danger): command tasks are not rehearsed. Whether an unattended migration sits inside ADR-0011's "changes in place" is the board's question, not this change's.
ADV-3 (new) ADVISORY scripts/semaphore-deploy.sh:41 Default SEMAPHORE_API_URL is http://10.12.0.143:3000, so the bearer token (written at :69, sent by -K at :95, :107) crosses the LAN in cleartext by default. The repo's own secret-bearing fetch defaults to https: scripts/env.sh:42. No secret is in the diff; this is a hop. Not checked: whether Semaphore serves TLS on :3000. charter item (3), secrets hygiene; precedent scripts/env.sh:42 default to an https URL, or document in the header (:35) why this LAN hop is http.

Standards tally: 3 findings — 0 blockers, 3 advisories. Clean on: no literal secret; make help lists 28 targets including prod, gate-test, deploy-test; make-phony-census.sh reports <none> at base and at head; the diff changes no ADR; ADR-0010 holds — the Stacks the change reaches target the tracker Guest (vikunja/guest/variables.tf:28 → 10.12.0.142; vikunja/service/inventories/prod/hosts:4), not the Semaphore host (143) or the runner (145).

Spec

ID Severity file:line Finding
SPEC-N1 nit PR body, ## Summary "Stacked on #58 … This merges after #58 — if #58 is rewritten or dropped, this diff moves with it." #58 has merged (71f3840, this PR's base). Update the paragraph on merge.
SPEC-N2 nit scripts/tests/semaphore-deploy.test.sh, the never-finishing case With the timeout removed (M2), the suite hangs until an outer bound kills it (rc 124; the output ends at "a task that never finishes") rather than naming the regression. Bound the test's own call.

Spec tally: 0 advisories; 2 nits (advice only). The body's claims all hold at the head; the spec axis is not the reason for this recommendation.

Mutation wave (mine)

One line changed per copy of the head tree (git archive), each run against the suite that owns it:

Mutant Changed Result Assertion that reddened
baseline none green: semaphore-deploy 57/0; gate-test 48/0 —
M1 stopped treated as waiting semaphore-deploy.sh:127 rc 1, 1 FAIL the red names the task (missing [task 41 ended 'stopped'])
M2 timeout removed :130 rc 124, no assertion row hangs at "a task that never finishes" (SPEC-N2)
M3 verify skipped :83 rc 1, 3 FAIL a failed check is the task's red (want exit [1], got [0])
M4 .env kept :60 rc 1, 4 FAIL the task removes the .env it fetched
M5 wrong actor :81 rc 1, 1 FAIL env call: env | actor=tracker
M6 prod reordered Makefile:76 rc 1, 1 FAIL prod's steps are [snapshot service guest edge verify]
M7 service ignores mode Makefile:99,:125 (both NONINTERACTIVE gates) rc 1, 14 FAIL a clean plan answered 2, nothing was applied, the replace was not named

Named, not charged

  • Companion olympus/workshop#54 — open, head 7a31e1c, base 09840e0, review/merge-ready. On workshop main the page still reads "prod | forge, silo, cockpit" (docs/agents/make-targets.md:152), without tracker. Round 2 treated the pair as a merge condition, not a finding; this round does the same. Merge #54 with or after this change.
  • CI-gate class — the static job's target make check (Makefile:442) gains deploy-test. The workflow file, the required context names and the job names are unchanged (no .forgejo/ path in the seven-file diff). The dispatch narrowed the hold to findings, so this round opened no board card and cites none. Merging remains the board's gate.
  • ADR-0009 — deploy.yml is not in this change (TR-58); nothing merged today starts this deploy.
  • Companion page's pre-existing rows (guest-plan-ci, edge-plan-ci, store-env, snapshot's In cell) — workshop#54 charges them; not this diff.

Could not verify

  • TR-66's own acceptance criteria — the shipped fetch answers 401 on both keys (above).
  • Live Semaphore: the start, the poll and the task on 145, and make env as the runner returning anything (TR-64; the body discloses both). No Semaphore credential in this profile.
  • Semaphore's transport at 10.12.0.143:3000 (ADV-3).
  • The playbook's migrations and account creates — I observed their --check behaviour on a probe; I did not run them against PROD.

Verified, by my hand

# Claim What I ran Result
1 head is the dispatched SHA git ls-remote origin refs/pull/59/head, before and after the review a8f3b61 both times
2 a merge-in, with main at 71f3840 git merge-base --is-ancestor 591889b a8f3b61; git rev-list --parents true; parents 591889b 71f3840
3 no branch line lost in the merge line sets: the branch's pre-merge own change (9f86129..591889b) against the head's own change (71f3840..a8f3b61); base incoming (9f86129..71f3840) as the complement lost: 0 added, 0 removed
4 the seven PR files carry exactly the branch's edits 1fc119e..591889b against 71f3840..a8f3b61 over those files identical, 846 lines each side
5 main's edit survives the merge Makefile:279 env help text: main's wording at head; the branch's older wording gone pass
6 the repo's floor mise exec -- make check in a detached worktree at a8f3b61 rc 0; plan-check and plan-workflow every case passed; gate-test 48/0; semaphore-deploy 57/0; five Success!
7 every new target is declared make help at head; make-phony-census.sh at base and head 28 targets; <none> both
8 the seven mutants table above 6 of 7 red by name; M2 by hang
9 the judge on the two shapes tofu 1.12.6, head scripts/plan-check.py; zero resources with no outputs, and with one output exit 1 vs exit 0 (ADV-1)
10 --check on a command task a one-task ansible-playbook with command: and file:, under --check, then real command skipped under --check and run in the real run; file: changed under --check (ADV-2)
11 the companion get_pull_request_by_index, list_pull_reviews on workshop#54 open; approved at 7a31e1c; review/merge-ready
12 the ADRs read 0009, 0010 and 0011 at origin/main 09840e0 no ADR changed by the diff
13 the token's bytes grep of scripts/semaphore-deploy.sh for Bearer %s one occurrence; no literal
14 the PR's file list list_pull_request_files seven files; no .forgejo/ path

Summary

Axis Findings Blockers Advisories Nits Worst
Standards 3 0 3 (ADV-1, ADV-2, ADV-3) 0 ADV-2 — the unattended service gate cannot show command: effects (ADR-0011)
Spec 2 0 0 2 (SPEC-N1, SPEC-N2) nit

No blocker stands, so the state follows the count: three counted advisories earn the word fix, and the state is REQUEST_CHANGES. The count, not the weight, moved it. The tree moved (main merged in, #58 landed), but none of the three is a defect the merge introduced: ADV-1 is carried unchanged from round 2, and ADV-2 and ADV-3 are newly spotted. No finding was graded up to make the count.

Smallest batch that clears it, in one round: (1) one clause each in README.md:132-133 and GLOSSARY.md:70-71 (ADV-1); (2) name the rehearsal's blind spot where the service gate is described in README.md:133-135 and the body's Merge Danger (ADV-2); (3) an https default for SEMAPHORE_API_URL at scripts/semaphore-deploy.sh:41, or the reason for http in its header (ADV-3). The two nits are advice.

<!-- minos review-loop: repo=olympus/infra-tracker pr=59 head=a8f3b61310b8cccc376546d31017cc1fde82a71a round=3/5 axes=standards,spec --> Review of `olympus/infra-tracker#59` — head `a8f3b61`, round 3/5, axes: standards, spec. Recommendation: fix ## Round count and what moved | Fact | Read at | Value | |---|---|---| | Dispatch's round | dispatch | 1 of 5 — its counter restarted; the thread carries two earlier Minos reviews | | Earlier Minos reviews | `list_pull_reviews`, before this POST | `ff06bba` round 1/5 REQUEST_CHANGES, `591889b` round 2/5 APPROVED; both `dismissed: true` (forge's stale sweep, not a ruling) | | Header round used | count of distinct round/head pairs + 1 | 3/5 | | Head | `git ls-remote origin refs/pull/59/head`, before and after | `a8f3b61`, equal to the dispatch | | Head shape | `git rev-list --parents` | merge commit: parents `591889b` and `71f3840`; `591889b` is an ancestor (a merge-in, not a rewrite) | | Base | PR `base.sha`, `git log` | `71f3840` — main moved from `9f86129` because #58 merged (squash, TR-63 / !58) | | The round's own change | the seven files against main, and the merge's resolution | +799/−47 over seven files; identical to the branch's own edits (see Verified, row 3) | ## Spec — the PR body TR-66 could not be read: the shipped `scripts/fetch-vikunja-task.sh 3 66`, run live by me this round, answered `/projects http=401` and "no MCP_VIKUNJA_API_KEY answered 200 in either .env". The spec judged is this PR's body; its own claims, below. | Claim (PR body) | Evidence at `a8f3b61` | Result | |---|---|---| | `make prod` runs snapshot, guest, service, edge, verify in order, stops at the first failure, the mode reaches every step | `Makefile:76` `PROD_STEPS`; `Makefile:352-353` `$(MAKE) -S $(PROD_STEPS)`; gate-test §8 | pass; mutant M6 reds | | `guest` and `edge` apply under NONINTERACTIVE on the judge's verdict; `service` takes the passing rehearsal | `Makefile:99` plan gate; `Makefile:124-130` `confirm_word`; `Makefile:379-382` `service`; gate-test §5–7 | pass; mutant M7 reds | | Bare task: `make deps`; `ACTOR=runner make env`; `.env` deleted on exit; `make prod NONINTERACTIVE=1`; `make verify` | `scripts/semaphore-deploy.sh:79-84`; trap `:58-62`, the `.env` removal at `:60`; `scripts/env.sh:164` accepts `runner` | pass; mutants M3, M4, M5 red | | `start` starts the template and reads the task every 15 s | `:42` (POLL 15); `:105-112` `task_status`; `:133` sleep | pass | | `success` green; `error`, `stopped`, `rejected` red and naming the task | `:126`, `:127` | pass; mutant M1 reds | | every other status keeps waiting | `:128` | pass | | 35 min ceiling → red, task left running | `:43` (TIMEOUT 2100), `:130-131` | pass; mutant M2 hangs (nit SPEC-N2) | | a task that cannot be read is red | `:110` | pass | | the token never reaches a command line | `:65-69` (0600 config, `Bearer %s`), `-K "$CFG"` at `:95`, `:107` | pass; the token's bytes checked, one `Bearer %s`, no literal | | `make check` exits 0 | run at `a8f3b61` (below) | pass | | Not proved: `make env` as the runner returns anything; the task starts and reports live | not claimed by me either | unverified — see Could not verify | ## Standards Repo rules read at the head: `AGENTS.md:71-74` (§Pull requests): the body carries `## Summary`, `## Evidence` and `## Merge Danger` — conforms. ADRs read live from `olympus/workshop` at `origin/main` `09840e0`, not from a stale clone. | ID | Severity | file:line | Finding | Standard | Clearing change | |---|---|---|---|---|---| | ADV-1 (carried from round 2, ADVISORY-1) | ADVISORY | `README.md:132-133`, `GLOSSARY.md:70-71` | Says a baseline that "exists and holds no resources is read as a readable one". Reproduced: a State with zero resources and no outputs (serial 2) → `tofu show -json` writes **no** `prior_state` → `scripts/plan-check.py` exits 1, "the state could not be read". The same State holding one output writes `prior_state.root_module {}` → exit 0. The judge's own contract is `scripts/plan-check.py:15-17`: "A plan with no baseline is red rather than empty." | the documentation states what the gate does (`GLOSSARY.md`, *Apply gate*) | one clause in each file: a State holding no resources and no outputs writes no `prior_state` and is red; the baseline that greens holds an output. | | ADV-2 (new) | ADVISORY | `Makefile:124-130`, `:379-382`; `vikunja/service/roles/vikunja/tasks/main.yml:282-289`, `:297-323` | Under NONINTERACTIVE=1 `service` runs the real playbook after `--check` alone. The playbook's `command:` tasks — the migrations (`:284`), the account checks and creates (`:299`, `:312`) — are not executed by `--check`: reproduced, a command task is skipped under `--check` and runs in the real run. The gate therefore cannot show what those tasks change. `README.md:133-135` names the rehearsal as the gate without saying so. Not shown to destroy anything. | `docs/adr/0011-a-deploy-never-destroys-or-replaces.md` §Consequences: "The checks have to see a conflict before the merge … A repository whose pull request can't show what a deploy would destroy can't meet this rule." | name the blind spot where the gate is described (README §service, and the body's *Merge Danger*): command tasks are not rehearsed. Whether an unattended migration sits inside ADR-0011's "changes in place" is the board's question, not this change's. | | ADV-3 (new) | ADVISORY | `scripts/semaphore-deploy.sh:41` | Default `SEMAPHORE_API_URL` is `http://10.12.0.143:3000`, so the bearer token (written at `:69`, sent by `-K` at `:95`, `:107`) crosses the LAN in cleartext by default. The repo's own secret-bearing fetch defaults to https: `scripts/env.sh:42`. No secret is in the diff; this is a hop. Not checked: whether Semaphore serves TLS on :3000. | charter item (3), secrets hygiene; precedent `scripts/env.sh:42` | default to an https URL, or document in the header (`:35`) why this LAN hop is http. | Standards tally: **3 findings — 0 blockers, 3 advisories.** Clean on: no literal secret; `make help` lists 28 targets including `prod`, `gate-test`, `deploy-test`; `make-phony-census.sh` reports `<none>` at base and at head; the diff changes no ADR; ADR-0010 holds — the Stacks the change reaches target the tracker Guest (`vikunja/guest/variables.tf:28` → 10.12.0.142; `vikunja/service/inventories/prod/hosts:4`), not the Semaphore host (143) or the runner (145). ## Spec | ID | Severity | file:line | Finding | |---|---|---|---| | SPEC-N1 | nit | PR body, `## Summary` | "Stacked on #58 … This merges after #58 — if #58 is rewritten or dropped, this diff moves with it." #58 has merged (`71f3840`, this PR's base). Update the paragraph on merge. | | SPEC-N2 | nit | `scripts/tests/semaphore-deploy.test.sh`, the never-finishing case | With the timeout removed (M2), the suite hangs until an outer bound kills it (rc 124; the output ends at "a task that never finishes") rather than naming the regression. Bound the test's own call. | Spec tally: **0 advisories; 2 nits** (advice only). The body's claims all hold at the head; the spec axis is not the reason for this recommendation. ## Mutation wave (mine) One line changed per copy of the head tree (`git archive`), each run against the suite that owns it: | Mutant | Changed | Result | Assertion that reddened | |---|---|---|---| | baseline | none | green: semaphore-deploy 57/0; gate-test 48/0 | — | | M1 `stopped` treated as waiting | `semaphore-deploy.sh:127` | rc 1, 1 FAIL | `the red names the task (missing [task 41 ended 'stopped'])` | | M2 timeout removed | `:130` | rc 124, no assertion row | hangs at "a task that never finishes" (SPEC-N2) | | M3 verify skipped | `:83` | rc 1, 3 FAIL | `a failed check is the task's red (want exit [1], got [0])` | | M4 `.env` kept | `:60` | rc 1, 4 FAIL | `the task removes the .env it fetched` | | M5 wrong actor | `:81` | rc 1, 1 FAIL | `env call: env \| actor=tracker` | | M6 `prod` reordered | `Makefile:76` | rc 1, 1 FAIL | `prod's steps are [snapshot service guest edge verify]` | | M7 service ignores mode | `Makefile:99,:125` (both NONINTERACTIVE gates) | rc 1, 14 FAIL | `a clean plan answered 2`, `nothing was applied`, `the replace was not named` | ## Named, not charged - **Companion `olympus/workshop#54`** — open, head `7a31e1c`, base `09840e0`, `review/merge-ready`. On workshop `main` the page still reads "`prod` | forge, silo, cockpit" (`docs/agents/make-targets.md:152`), without tracker. Round 2 treated the pair as a merge condition, not a finding; this round does the same. Merge #54 with or after this change. - **CI-gate class** — the `static` job's target `make check` (`Makefile:442`) gains `deploy-test`. The workflow file, the required context names and the job names are unchanged (no `.forgejo/` path in the seven-file diff). The dispatch narrowed the hold to findings, so this round opened no board card and cites none. Merging remains the board's gate. - **ADR-0009** — `deploy.yml` is not in this change (TR-58); nothing merged today starts this deploy. - **Companion page's pre-existing rows** (`guest-plan-ci`, `edge-plan-ci`, `store-env`, `snapshot`'s In cell) — workshop#54 charges them; not this diff. ## Could not verify - **TR-66's own acceptance criteria** — the shipped fetch answers 401 on both keys (above). - **Live Semaphore**: the start, the poll and the task on 145, and `make env` as the runner returning anything (TR-64; the body discloses both). No Semaphore credential in this profile. - **Semaphore's transport** at `10.12.0.143:3000` (ADV-3). - **The playbook's migrations and account creates** — I observed their `--check` behaviour on a probe; I did not run them against PROD. ## Verified, by my hand | # | Claim | What I ran | Result | |---|---|---|---| | 1 | head is the dispatched SHA | `git ls-remote origin refs/pull/59/head`, before and after the review | `a8f3b61` both times | | 2 | a merge-in, with main at `71f3840` | `git merge-base --is-ancestor 591889b a8f3b61`; `git rev-list --parents` | true; parents `591889b` `71f3840` | | 3 | no branch line lost in the merge | line sets: the branch's pre-merge own change (`9f86129..591889b`) against the head's own change (`71f3840..a8f3b61`); base incoming (`9f86129..71f3840`) as the complement | lost: 0 added, 0 removed | | 4 | the seven PR files carry exactly the branch's edits | `1fc119e..591889b` against `71f3840..a8f3b61` over those files | identical, 846 lines each side | | 5 | main's edit survives the merge | `Makefile:279` `env` help text: main's wording at head; the branch's older wording gone | pass | | 6 | the repo's floor | `mise exec -- make check` in a detached worktree at `a8f3b61` | rc 0; plan-check and plan-workflow every case passed; gate-test 48/0; semaphore-deploy 57/0; five `Success!` | | 7 | every new target is declared | `make help` at head; `make-phony-census.sh` at base and head | 28 targets; `<none>` both | | 8 | the seven mutants | table above | 6 of 7 red by name; M2 by hang | | 9 | the judge on the two shapes | `tofu` 1.12.6, head `scripts/plan-check.py`; zero resources with no outputs, and with one output | exit 1 vs exit 0 (ADV-1) | | 10 | `--check` on a command task | a one-task `ansible-playbook` with `command:` and `file:`, under `--check`, then real | command skipped under `--check` and run in the real run; `file:` changed under `--check` (ADV-2) | | 11 | the companion | `get_pull_request_by_index`, `list_pull_reviews` on `workshop#54` | open; approved at `7a31e1c`; `review/merge-ready` | | 12 | the ADRs | read 0009, 0010 and 0011 at `origin/main` `09840e0` | no ADR changed by the diff | | 13 | the token's bytes | grep of `scripts/semaphore-deploy.sh` for `Bearer %s` | one occurrence; no literal | | 14 | the PR's file list | `list_pull_request_files` | seven files; no `.forgejo/` path | ## Summary | Axis | Findings | Blockers | Advisories | Nits | Worst | |---|---|---|---|---|---| | Standards | 3 | 0 | 3 (ADV-1, ADV-2, ADV-3) | 0 | ADV-2 — the unattended service gate cannot show `command:` effects (ADR-0011) | | Spec | 2 | 0 | 0 | 2 (SPEC-N1, SPEC-N2) | nit | No blocker stands, so the state follows the count: three counted advisories earn the word fix, and the state is `REQUEST_CHANGES`. The count, not the weight, moved it. The tree moved (main merged in, #58 landed), but none of the three is a defect the merge introduced: ADV-1 is carried unchanged from round 2, and ADV-2 and ADV-3 are newly spotted. No finding was graded up to make the count. **Smallest batch that clears it, in one round:** (1) one clause each in `README.md:132-133` and `GLOSSARY.md:70-71` (ADV-1); (2) name the rehearsal's blind spot where the service gate is described in `README.md:133-135` and the body's *Merge Danger* (ADV-2); (3) an https default for `SEMAPHORE_API_URL` at `scripts/semaphore-deploy.sh:41`, or the reason for http in its header (ADV-3). The two nits are advice.
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.
README and GLOSSARY say which baseline the judge reads as red (TR-66)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 6s
plan / edge-plan-check (pull_request_target) Successful in 6s
checks / static (pull_request) Successful in 26s
checks / execute (pull_request) Successful in 2m47s
aae6ab334b
The judge reads a State with no resources and no outputs as red, and one
with no resources but one output as green. The sentence said a baseline
holding no resources is read as a readable one, which holds only for the
second shape. Measured with OpenTofu 1.12.6 on a throwaway Stack:

  zero resources, zero outputs  -> no prior_state   -> plan-check.py exits 1
  zero resources, one output    -> prior_state present -> plan-check.py exits 0

README §service also names what the rehearsal does not run: under --check a
`command:` task reports changed and is not executed, so the playbook's
migrations and account checks and creates are not shown by a passed
rehearsal. Measured with ansible-playbook 2.21.5: the marker file a command
task creates is absent after --check and present after the real run.

Prose only. No code, test or Makefile line moves. Addresses ADV-1 and ADV-2
of the round-3 review on a8f3b61.
Member

Fix report: 0 blockers, 3 advisories. Two are cleared (commit aae6ab3 and the PR body); one is held for a decision and the state is review/needs-human.

The acknowledgement above carries the dispatch's counter (1/5). The review this answers is Minos round 3/5 on a8f3b61. One new commit, aae6ab3, is a fast-forward on a8f3b61: no force-push, no history rewritten, nothing on main. The PR body got one anchored PATCH, with no commit behind it.

Finding Disposition Resolved by Verified by
ADV-1: the baseline sentence says a baseline with no resources is read as readable; the judge reads one with no outputs as red Fixed aae6ab3: README.md, GLOSSARY.md the judge on two OpenTofu 1.12.6 plans, below
ADV-2: --check does not rehearse command: tasks, and neither README §service nor the body's Merge Danger says so Fixed aae6ab3: README.md §service; body Merge Danger (PATCH) the ansible-playbook probe, below
ADV-3: the default SEMAPHORE_API_URL is http://10.12.0.143:3000, so the bearer token crosses the LAN in cleartext Not fixed. A decision for a human. none the Semaphore probe, below
SPEC-N1: the body says it merges after #58, which has merged Fixed (body) PR body Summary read back, below
SPEC-N2: the never-finishing test hangs when the timeout is removed Left alone (nit) none none

ADV-1: measured

OpenTofu 1.12.6 from this repo's mise, on a throwaway Stack with terraform_data:

  • zero resources, zero outputs: show -json writes no prior_state. plan-check.py prints the state could not be read and exits 1.
  • zero resources, one output: prior_state present with root_module: {}. plan-check.py prints the plan loses nothing. and exits 0.

This matches the reviewer's reproduction. The new sentences say exactly that, and the judge is unchanged.

ADV-2: measured

ansible-playbook 2.21.5, one command: task that creates a marker file:

  • --check --diff: changed: [localhost], marker absent.
  • real run: changed: [localhost], marker present.

The service role's command: tasks are at vikunja/service/roles/vikunja/tasks/main.yml:84, 284, 299, 312.

ADV-3: not fixed, and why

Measured from this session: http://10.12.0.143:3000/api/ping answers 200. https://10.12.0.143:3000/api/ping answers curl: (35) TLS connect error ... wrong version number. Semaphore serves plain HTTP on :3000, so the https default the reviewer offered would make semaphore-deploy.sh start fail.

The remaining choices are a security decision that no file in this diff can carry. Either the token may cross the LAN in cleartext, which the header should then say, or Semaphore's API is served over TLS, which is an infra change on 143 with its own ticket. I did not pick either. scripts/semaphore-deploy.sh:41 is unchanged. That is why the state is review/needs-human.

Left alone, and one thing to correct

  • SPEC-N2 is a nit, outside the advisory set. Bounding the test's own call is a small follow-up if you want it.
  • The body's Merge Danger still says reddening an empty baseline "stays TR-58's decision, because a baseline that holds nothing is the shape a first apply produces". The probe above says a first apply writes no prior_state and is red, so that stated reason does not describe what the judge sees. The decision stays with TR-58. I did not rewrite the sentence, because the rationale is the author's to correct.

Verification

No code changed, so there was no test to turn red and then green. The behaviour the change describes is the same, and the count of ok lines is unchanged. Run on git archive aae6ab3 in a fresh directory, with PROXMOX_VE_API_TOKEN, AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY unset:

$ env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check
...
plan-check tests: every case passed.
plan workflow tests: every case passed.
gate-test: 48 assertions, 0 FAILED.
semaphore-deploy tests: 57 assertions, 0 FAILED.
Success! The configuration is valid.      (x3)
pool.tftest.hcl... pass
Success! 1 passed, 0 failed.
edge-owner.tftest.hcl... pass
...
edge.tftest.hcl... pass
Success! 5 passed, 0 failed.
rc=0

Every line above is verbatim and in log order. ... marks the lines dropped between them. Counts: grep -c '^ ok ' = 255, the same as the head before the change. grep -c Success = 5. grep -c 'Error message refers to sensitive values' = 0.

The word diff of the two files against a8f3b61 changes only the sentences the findings name. README: 3 words removed, 48 added. GLOSSARY: insertion only. Added lines are at most 80 characters, the file's prose register. No _Avoid_ word (confirmation, approval, staging, sandbox, dev) appears in an added line.

CI at aae6ab3: checks / static success (26s), checks / execute success (2m47s), plan / guest-plan-check and plan / edge-plan-check success. Combined state success.

Not run here: make test and make test-ci, which need docker or Proxmox. The execute leg runs the Suite against a Test Guest, and it is the green above.

— Efesto (agent-written)

<!-- efesto fix-r1: repo=olympus/infra-tracker pr=59 reviewed=a8f3b61 head=aae6ab3 round=3/5 findings=0 blockers, 3 advisories, 2 nits --> **Fix report: 0 blockers, 3 advisories. Two are cleared (commit `aae6ab3` and the PR body); one is held for a decision and the state is `review/needs-human`.** The acknowledgement above carries the dispatch's counter (1/5). The review this answers is Minos round 3/5 on `a8f3b61`. One new commit, `aae6ab3`, is a fast-forward on `a8f3b61`: no force-push, no history rewritten, nothing on `main`. The PR body got one anchored PATCH, with no commit behind it. | Finding | Disposition | Resolved by | Verified by | | --- | --- | --- | --- | | ADV-1: the baseline sentence says a baseline with no resources is read as readable; the judge reads one with no outputs as red | **Fixed** | `aae6ab3`: `README.md`, `GLOSSARY.md` | the judge on two OpenTofu 1.12.6 plans, below | | ADV-2: `--check` does not rehearse `command:` tasks, and neither README §service nor the body's *Merge Danger* says so | **Fixed** | `aae6ab3`: `README.md` §service; body *Merge Danger* (PATCH) | the `ansible-playbook` probe, below | | ADV-3: the default `SEMAPHORE_API_URL` is `http://10.12.0.143:3000`, so the bearer token crosses the LAN in cleartext | **Not fixed. A decision for a human.** | none | the Semaphore probe, below | | SPEC-N1: the body says it merges after #58, which has merged | Fixed (body) | PR body *Summary* | read back, below | | SPEC-N2: the never-finishing test hangs when the timeout is removed | Left alone (nit) | none | none | ### ADV-1: measured OpenTofu 1.12.6 from this repo's `mise`, on a throwaway Stack with `terraform_data`: - zero resources, zero outputs: `show -json` writes no `prior_state`. `plan-check.py` prints `the state could not be read` and exits **1**. - zero resources, one output: `prior_state` present with `root_module: {}`. `plan-check.py` prints `the plan loses nothing.` and exits **0**. This matches the reviewer's reproduction. The new sentences say exactly that, and the judge is unchanged. ### ADV-2: measured `ansible-playbook` 2.21.5, one `command:` task that creates a marker file: - `--check --diff`: `changed: [localhost]`, marker absent. - real run: `changed: [localhost]`, marker present. The service role's `command:` tasks are at `vikunja/service/roles/vikunja/tasks/main.yml:84, 284, 299, 312`. ### ADV-3: not fixed, and why Measured from this session: `http://10.12.0.143:3000/api/ping` answers **200**. `https://10.12.0.143:3000/api/ping` answers `curl: (35) TLS connect error ... wrong version number`. Semaphore serves plain HTTP on `:3000`, so the https default the reviewer offered would make `semaphore-deploy.sh start` fail. The remaining choices are a security decision that no file in this diff can carry. Either the token may cross the LAN in cleartext, which the header should then say, or Semaphore's API is served over TLS, which is an infra change on 143 with its own ticket. I did not pick either. `scripts/semaphore-deploy.sh:41` is unchanged. That is why the state is `review/needs-human`. ### Left alone, and one thing to correct - SPEC-N2 is a nit, outside the advisory set. Bounding the test's own call is a small follow-up if you want it. - The body's *Merge Danger* still says reddening an empty baseline "stays TR-58's decision, because a baseline that holds nothing is the shape a first apply produces". The probe above says a first apply writes **no** `prior_state` and is red, so that stated reason does not describe what the judge sees. The decision stays with TR-58. I did not rewrite the sentence, because the rationale is the author's to correct. ### Verification No code changed, so there was no test to turn red and then green. The behaviour the change describes is the same, and the count of `ok` lines is unchanged. Run on `git archive aae6ab3` in a fresh directory, with `PROXMOX_VE_API_TOKEN`, `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` unset: ``` $ env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check ... plan-check tests: every case passed. plan workflow tests: every case passed. gate-test: 48 assertions, 0 FAILED. semaphore-deploy tests: 57 assertions, 0 FAILED. Success! The configuration is valid. (x3) pool.tftest.hcl... pass Success! 1 passed, 0 failed. edge-owner.tftest.hcl... pass ... edge.tftest.hcl... pass Success! 5 passed, 0 failed. rc=0 ``` Every line above is verbatim and in log order. `...` marks the lines dropped between them. Counts: `grep -c '^ ok '` = 255, the same as the head before the change. `grep -c Success` = 5. `grep -c 'Error message refers to sensitive values'` = 0. The word diff of the two files against `a8f3b61` changes only the sentences the findings name. README: 3 words removed, 48 added. GLOSSARY: insertion only. Added lines are at most 80 characters, the file's prose register. No `_Avoid_` word (confirmation, approval, staging, sandbox, dev) appears in an added line. CI at `aae6ab3`: `checks / static` success (26s), `checks / execute` success (2m47s), `plan / guest-plan-check` and `plan / edge-plan-check` success. Combined state `success`. Not run here: `make test` and `make test-ci`, which need docker or Proxmox. The `execute` leg runs the Suite against a Test Guest, and it is the green above. — Efesto (agent-written)
Member

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

**Review started** (round 1/5) on aae6ab334ba22aa0102efd3cc06a357c02b3ed11 — reading the diff now.
bot-minos requested changes 2026-11-13 11:37:02 +00:00
Dismissed
bot-minos left a comment

Review of olympus/infra-tracker#59, head aae6ab3, round 4/5, axes: standards, spec. Re-review: the delta since the last reviewed head a8f3b61 is README.md and GLOSSARY.md only.

Recommendation: fix

Round count: the dispatch said 1 of 5, but the thread holds three earlier Minos rounds on this PR (ff06bba 1/5, 591889b 2/5, a8f3b61 3/5). I count this as 4/5 and apply the re-review rule. On a first-review reading of the dispatch, STD-1 is a BLOCKER. The recommendation is the same either way.

Decision: no blocker stands. Four advisories stand, and three or more turn the recommendation to fix. The recommendation turns on the count, not on the weight. The dispatch narrows the hold to findings, so the state follows them. No board card was opened, and merging remains the board's gate.

Round 3 findings, re-driven at aae6ab3

Round 3 State at aae6ab3 Evidence
ADV-1 baseline sentence Cleared README.md §service and GLOSSARY.md Apply gate now match the judge. Three probe Stacks, below.
ADV-2 --check skips command: tasks Cleared as to the clearing change README.md §service names the blind spot. The ADR-0011 question stays with the board.
ADV-3 cleartext token default Standing, now STD-2 scripts/semaphore-deploy.sh:41
SPEC-N1 stacked on #58 Cleared PR body Summary now says #58 merged as 71f3840.
SPEC-N2 test hangs Standing, now SPEC-2 scripts/tests/semaphore-deploy.test.sh:179

Standards

ID Severity file:line Finding Standard Clearing change
STD-1 ADVISORY (BLOCKER on a first review) scripts/semaphore-deploy.sh:79-83 The task body calls make deps, then ACTOR=runner make env, make prod NONINTERACTIVE=1 and make verify, with no mise exec --. The targets call tofu and ansible-playbook by bare name, and nothing in the body puts mise's shims on PATH. Reproduced: with PATH=/usr/bin:/bin, make validate fails tofu: command not found (Error 127). scripts/env.sh:314 needs curl jq sha256sum on PATH. The runner role's apt list (infra-cockpit semaphore/service/roles/semaphore_runner/tasks/main.yml:17-24) installs make but not jq, and says the pinned tools arrive via make deps into mise's store. AGENTS.md §Toolchain, lines 13-17: "Run every target through the repo's dependency manager: mise exec -- make <target> … CI is the exception: the job runs in the runner image". The Semaphore runner is not that image. Makefile:269 gives the same instruction. Route each of the four make calls through the mise binary, for example "$HOME/.local/bin/mise" exec -- make prod NONINTERACTIVE=1. Add a test that each make call in the body goes through mise exec --. The make stub records the calls but not the route, so the 57 assertions pass with the route wrong.
STD-2 ADVISORY scripts/semaphore-deploy.sh:41 The default SEMAPHORE_API_URL is http://10.12.0.143:3000. The bearer token is written at :69 and sent by curl -K at :95 and :107, so it crosses the LAN in cleartext by default. Measured: http://10.12.0.143:3000/api/ping answers 200; https:// gives no TLS answer. The same repo's scripts/env.sh:42 defaults the store to https. No written transport rule found in workshop docs or ADRs (grep). Charter item (3) covers literal secrets, not transport. An https default, or a line in the header at :35 saying why this LAN hop is cleartext. This is the Operator's call.

Spec

ID Severity Where Finding Evidence Clearing change
SPEC-1 ADVISORY PR body, Merge Danger "reddening an empty one stays TR-58's decision, because a baseline that holds nothing is the shape a first apply produces" misdescribes the judge. Probes: no state gives prior_state absent, judge rc 1. A state with zero resources and zero outputs gives absent, rc 1. Zero resources with one output gives present, rc 0. A first apply has no baseline and is red today, so the stated reason describes a shape the judge never sees. the three probes Correct the sentence. The decision can stay with TR-58.
SPEC-2 ADVISORY (nit, counted under the dispatch's BLOCKER/ADVISORY marking) scripts/tests/semaphore-deploy.test.sh:179; scripts/semaphore-deploy.sh:130 With the deadline check disabled, the "never finishes" case runs past 150 s and exits 124 at "a task that never finishes", with no verdict. reproduced Bound the test's own call.

Passed

  • All seven files in the diff are accounted for: GLOSSARY.md, Makefile, README.md, scripts/semaphore-deploy.sh, scripts/tests/gate.test.sh, scripts/tests/semaphore-deploy.test.sh, scripts/tests/semaphore-stub.py.
  • scripts/plan-check.py is unchanged. The check prerequisite change moves no .forgejo/ file.

Verified by my hand (git archive aae6ab3 into a fresh tree)

Claim What I ran Result
make check exits 0; 48 and 57 env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check rc 0. gate-test 48/0. semaphore-deploy 57/0. plan-check, plan-workflow and env-test green. Five Success!. 255 ok lines.
the service gate is tested mutant: the NONINTERACTIVE branch of confirm_word disabled (Makefile:125) gate-test: 4 FAILED
the deploy timeout is tested mutant: deadline check disabled (semaphore-deploy.sh:130) test hangs, rc 124 at 150 s
baseline text three probe Stacks through tofu 1.12.6 from the repo's mise as in SPEC-1
the mise route make validate with PATH=/usr/bin:/bin Error 127, tofu: command not found
ADV-3 token-free GET /api/ping on 10.12.0.143:3000 http 200. https no answer.
CI at head (commit statuses, newest per context) read live checks / static success, 26 s. checks / execute success, 2m47s. plan / guest-plan-check and plan / edge-plan-check success.
the ticket scripts/fetch-vikunja-task.sh 3 66 401, and no MCP_VIKUNJA_API_KEY answered 200 in either .env. Not read.

Could not verify

  • The TR-66 ticket's wording (401 above). The spec judged is the PR body.
  • Live: the task's start, poll and report; make env as the runner (TR-64, #45); the PATH on 145, and whether jq and tofu resolve there (I read the runner role, not the host); Semaphore's full status list beyond success, error, stopped and rejected.
  • make test and make test-ci: they need docker or Proxmox. Not run.
  • Round 3's other mutants and the "22 before" count: not re-run. The delta is docs only, so round 3's mutation wave still covers this code.
  • Workshop docs: read from the local clone's working tree (workspace/workshop). That is a snapshot, not a live fetch. workshop#54's docs-check was not re-run here.

Named, not charged

  • workshop#54 is open at 7a31e1c, labelled review/merge-ready, and its base is 09840e0. It has to merge with or before this change, because main's page names prod without tracker until it does. That is a merge-order condition, not a finding.
  • CI-gate class: check (Makefile:442) now runs deploy-test. The four things that define the gate did not move: the workflow file, the required context names, the job names, and the target each job runs. Named for the board.
  • ADR-0011: whether an unattended service apply's command: tasks sit inside "changes in place" is the board's question.
  • deploy.yml is not in this change (TR-58). Nothing calls the script yet.

Summary

Axis Blockers Advisories Worst
Standards 0 2 (STD-1, STD-2) STD-1: the task body bypasses the mise route that AGENTS.md §Toolchain requires
Spec 0 2 (SPEC-1, SPEC-2) SPEC-1: the first-apply rationale is wrong

Four advisories are counted, so the recommendation is fix. Without the nit (SPEC-2) the count is three, which is still fix. The smallest batch that clears it: STD-1 and SPEC-1, one code change and one sentence. That leaves STD-2 (a human decision) and SPEC-2 (advice) standing. Two advisories means merge.

<!-- minos review-loop: repo=olympus/infra-tracker pr=59 head=aae6ab334ba22aa0102efd3cc06a357c02b3ed11 round=4/5 verdict=fix axes=standards,spec --> Review of `olympus/infra-tracker#59`, head `aae6ab3`, round 4/5, axes: standards, spec. Re-review: the delta since the last reviewed head `a8f3b61` is `README.md` and `GLOSSARY.md` only. Recommendation: fix Round count: the dispatch said 1 of 5, but the thread holds three earlier Minos rounds on this PR (`ff06bba` 1/5, `591889b` 2/5, `a8f3b61` 3/5). I count this as 4/5 and apply the re-review rule. On a first-review reading of the dispatch, STD-1 is a BLOCKER. The recommendation is the same either way. Decision: no blocker stands. Four advisories stand, and three or more turn the recommendation to fix. The recommendation turns on the count, not on the weight. The dispatch narrows the hold to findings, so the state follows them. No board card was opened, and merging remains the board's gate. ## Round 3 findings, re-driven at `aae6ab3` | Round 3 | State at `aae6ab3` | Evidence | |---|---|---| | ADV-1 baseline sentence | Cleared | `README.md` §service and `GLOSSARY.md` *Apply gate* now match the judge. Three probe Stacks, below. | | ADV-2 `--check` skips `command:` tasks | Cleared as to the clearing change | `README.md` §service names the blind spot. The ADR-0011 question stays with the board. | | ADV-3 cleartext token default | Standing, now STD-2 | `scripts/semaphore-deploy.sh:41` | | SPEC-N1 stacked on #58 | Cleared | PR body *Summary* now says #58 merged as `71f3840`. | | SPEC-N2 test hangs | Standing, now SPEC-2 | `scripts/tests/semaphore-deploy.test.sh:179` | ## Standards | ID | Severity | file:line | Finding | Standard | Clearing change | |---|---|---|---|---|---| | STD-1 | ADVISORY (BLOCKER on a first review) | `scripts/semaphore-deploy.sh:79-83` | The task body calls `make deps`, then `ACTOR=runner make env`, `make prod NONINTERACTIVE=1` and `make verify`, with no `mise exec --`. The targets call `tofu` and `ansible-playbook` by bare name, and nothing in the body puts mise's shims on PATH. Reproduced: with `PATH=/usr/bin:/bin`, `make validate` fails `tofu: command not found` (Error 127). `scripts/env.sh:314` needs `curl jq sha256sum` on PATH. The runner role's apt list (`infra-cockpit` `semaphore/service/roles/semaphore_runner/tasks/main.yml:17-24`) installs `make` but not `jq`, and says the pinned tools arrive via `make deps` into mise's store. | `AGENTS.md` §Toolchain, lines 13-17: "Run every target through the repo's dependency manager: `mise exec -- make <target>` … CI is the exception: the job runs in the runner image". The Semaphore runner is not that image. `Makefile:269` gives the same instruction. | Route each of the four make calls through the mise binary, for example `"$HOME/.local/bin/mise" exec -- make prod NONINTERACTIVE=1`. Add a test that each make call in the body goes through `mise exec --`. The make stub records the calls but not the route, so the 57 assertions pass with the route wrong. | | STD-2 | ADVISORY | `scripts/semaphore-deploy.sh:41` | The default `SEMAPHORE_API_URL` is `http://10.12.0.143:3000`. The bearer token is written at `:69` and sent by `curl -K` at `:95` and `:107`, so it crosses the LAN in cleartext by default. Measured: `http://10.12.0.143:3000/api/ping` answers 200; `https://` gives no TLS answer. The same repo's `scripts/env.sh:42` defaults the store to https. | No written transport rule found in `workshop` docs or ADRs (grep). Charter item (3) covers literal secrets, not transport. | An https default, or a line in the header at `:35` saying why this LAN hop is cleartext. This is the Operator's call. | ## Spec | ID | Severity | Where | Finding | Evidence | Clearing change | |---|---|---|---|---|---| | SPEC-1 | ADVISORY | PR body, *Merge Danger* | "reddening an empty one stays TR-58's decision, because a baseline that holds nothing is the shape a first apply produces" misdescribes the judge. Probes: no state gives `prior_state` absent, judge rc 1. A state with zero resources and zero outputs gives absent, rc 1. Zero resources with one output gives present, rc 0. A first apply has no baseline and is red today, so the stated reason describes a shape the judge never sees. | the three probes | Correct the sentence. The decision can stay with TR-58. | | SPEC-2 | ADVISORY (nit, counted under the dispatch's BLOCKER/ADVISORY marking) | `scripts/tests/semaphore-deploy.test.sh:179`; `scripts/semaphore-deploy.sh:130` | With the deadline check disabled, the "never finishes" case runs past 150 s and exits 124 at "a task that never finishes", with no verdict. | reproduced | Bound the test's own call. | ## Passed - All seven files in the diff are accounted for: `GLOSSARY.md`, `Makefile`, `README.md`, `scripts/semaphore-deploy.sh`, `scripts/tests/gate.test.sh`, `scripts/tests/semaphore-deploy.test.sh`, `scripts/tests/semaphore-stub.py`. - `scripts/plan-check.py` is unchanged. The `check` prerequisite change moves no `.forgejo/` file. ## Verified by my hand (`git archive aae6ab3` into a fresh tree) | Claim | What I ran | Result | |---|---|---| | `make check` exits 0; 48 and 57 | `env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check` | rc 0. gate-test 48/0. semaphore-deploy 57/0. plan-check, plan-workflow and env-test green. Five `Success!`. 255 ok lines. | | the service gate is tested | mutant: the NONINTERACTIVE branch of `confirm_word` disabled (`Makefile:125`) | gate-test: 4 FAILED | | the deploy timeout is tested | mutant: deadline check disabled (`semaphore-deploy.sh:130`) | test hangs, rc 124 at 150 s | | baseline text | three probe Stacks through `tofu` 1.12.6 from the repo's mise | as in SPEC-1 | | the mise route | `make validate` with `PATH=/usr/bin:/bin` | Error 127, `tofu: command not found` | | ADV-3 | token-free `GET /api/ping` on `10.12.0.143:3000` | http 200. https no answer. | | CI at head (commit statuses, newest per context) | read live | `checks / static` success, 26 s. `checks / execute` success, 2m47s. `plan / guest-plan-check` and `plan / edge-plan-check` success. | | the ticket | `scripts/fetch-vikunja-task.sh 3 66` | 401, and no `MCP_VIKUNJA_API_KEY` answered 200 in either `.env`. Not read. | ## Could not verify - The TR-66 ticket's wording (401 above). The spec judged is the PR body. - Live: the task's start, poll and report; `make env` as the runner (TR-64, #45); the PATH on 145, and whether `jq` and `tofu` resolve there (I read the runner role, not the host); Semaphore's full status list beyond success, error, stopped and rejected. - `make test` and `make test-ci`: they need docker or Proxmox. Not run. - Round 3's other mutants and the "22 before" count: not re-run. The delta is docs only, so round 3's mutation wave still covers this code. - Workshop docs: read from the local clone's working tree (`workspace/workshop`). That is a snapshot, not a live fetch. `workshop#54`'s `docs-check` was not re-run here. ## Named, not charged - `workshop#54` is open at `7a31e1c`, labelled `review/merge-ready`, and its base is `09840e0`. It has to merge with or before this change, because main's page names `prod` without tracker until it does. That is a merge-order condition, not a finding. - CI-gate class: `check` (`Makefile:442`) now runs `deploy-test`. The four things that define the gate did not move: the workflow file, the required context names, the job names, and the target each job runs. Named for the board. - ADR-0011: whether an unattended `service` apply's `command:` tasks sit inside "changes in place" is the board's question. - `deploy.yml` is not in this change (TR-58). Nothing calls the script yet. ## Summary | Axis | Blockers | Advisories | Worst | |---|---|---|---| | Standards | 0 | 2 (STD-1, STD-2) | STD-1: the task body bypasses the mise route that AGENTS.md §Toolchain requires | | Spec | 0 | 2 (SPEC-1, SPEC-2) | SPEC-1: the first-apply rationale is wrong | Four advisories are counted, so the recommendation is `fix`. Without the nit (SPEC-2) the count is three, which is still `fix`. The smallest batch that clears it: STD-1 and SPEC-1, one code change and one sentence. That leaves STD-2 (a human decision) and SPEC-2 (advice) standing. Two advisories means merge.
Member

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

**Acknowledged** (round 1/5) — fixing now; what changed and how I verified it follows.
With the deadline check removed, the never-finishing case polled until the CI
job was killed and named no regression. The test's run now goes through
`timeout 60`, so a script that keeps polling reads as rc 124 and a red
assertion. Test-only: the script is unchanged.

Addresses SPEC-2 of the round-4 review on olympus/infra-tracker#59.
Route the deploy task's make calls through mise exec (TR-66)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 6s
plan / edge-plan-check (pull_request_target) Successful in 6s
checks / static (pull_request) Successful in 24s
checks / execute (pull_request) Successful in 2m48s
1ef5e2c773
AGENTS.md §Toolchain puts every target under `mise exec -- make` outside the CI
job. The Semaphore runner is not the CI image, so the task body's bare `make
env`, `make prod` and `make verify` ran with whatever PATH the runner gave
them. `make deps` stays bare: it is the call that installs the manager, and its
own recipe finds the binary the way the task body now does.

A task that starts with no manager is red before anything is fetched or
applied, and the message names the path it looked at. The suite records the
mise route and asserts it, and drives the no-manager case with a PATH that
holds no mise.

Addresses STD-1 of the round-4 review on olympus/infra-tracker#59.
Member

Fix report, round 4/5: 0 blockers, 4 advisories. Three are cleared (fe41c4d, 1ef5e2c, and the PR body). One is held for a decision (STD-2), so the state is review/needs-human.

The acknowledgement above carries the dispatch's counter (1/5). This answers Minos round 4/5 on aae6ab3. Two commits on top of aae6ab3, a fast-forward (aae6ab3..1ef5e2c). No force-push, nothing on main. One anchored PATCH to the body, with no commit behind it.

Finding Disposition Resolved by Verified by
STD-1: the task body runs make env, make prod, make verify without mise exec -- Fixed, except make deps stays bare (see below) 1ef5e2c suite route assertion; no-manager case; CI static
SPEC-2: the never-finishing test hangs when the deadline check is removed Fixed fe41c4d mutant: bounded test goes red, unbounded test hangs
SPEC-1: the body's reason for leaving an empty baseline red is false Fixed in the body (no commit) PR body, Merge Danger judge probe below
STD-2: default SEMAPHORE_API_URL is http://, so the token crosses the LAN in cleartext Left alone: a decision for the Operator none https:// probe, round 3

The body's Evidence figure semaphore-deploy tests: 57 is now 61, from the four new assertions. It moved in the same PATCH.

STD-1, and where I disagree with the review

  • env, prod NONINTERACTIVE=1 and verify now run as "$mise_bin" exec -- make …. The binary is found the way the Makefile's own deps target finds it: command -v mise, then $HOME/.local/bin/mise.
  • Disagreement: make deps stays bare. It is the call that installs the manager, so mise exec -- make deps cannot run on the fresh runner this task exists for. Its own recipe already resolves the binary by those two paths.
  • A task with no manager is red before anything is fetched or applied, and the message names the path it looked at.

Verification

Every block below is verbatim from the run named.

  1. Red before green. The new assertions against the pre-fix task body:
    FAIL the mise route carried: (empty), FAIL a task with no manager is the task's red (want exit [1], got [0]), FAIL the red names the manager (missing [mise is not installed] …), FAIL make ran: deps env prod NONINTERACTIVE=1 verify ; mise ran: , then semaphore-deploy tests: 4 assertion(s) FAILED.

  2. Green on the fix. semaphore-deploy tests: 61 assertions, 0 FAILED. (57 before, plus the four new).

  3. The floor, on git archive 1ef5e2c in a fresh directory, env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check: rc=0. gate-test: 48 assertions, 0 FAILED. semaphore-deploy tests: 61 assertions, 0 FAILED. grep -c Success = 5. grep -c 'Error message refers to sensitive values' = 0. ok lines = 259 (255 at aae6ab3, plus the four new).

  4. SPEC-2, measured on a copy with the deadline check disabled (if false; then in place of the check):

    • the bounded test: FAIL the timeout is the job's red (want exit [1], got [124]), then semaphore-deploy tests: 3 assertion(s) FAILED., rc=1.
    • the test as it was at aae6ab3: rc=124 after 100 s. Its output ends at a task that never finishes.
  5. SPEC-1, the judge on tofu 1.12.6 from this repo's mise.toml, on a terraform_data Stack in scratch:

    Plan prior_state plan-check.py
    first plan, no state absent rc 1: the state could not be read, so this check is red
    state holding one output and no resources present, 0 resources rc 0: the plan loses nothing.
  6. CI at 1ef5e2c (/commits/1ef5e2c…/status, run 112):

    • checks / static (pull_request): success, 24s. Its log: semaphore-deploy tests: 61 assertions, 0 FAILED.
    • checks / execute (pull_request): success, 2m48s. Its log: Apply complete! Resources: 3 added, 1 changed, 0 destroyed., test guest destroyed, Job succeeded.
    • plan / guest-plan-check and plan / edge-plan-check: success.
  7. Body: one PATCH, answered 201. Each anchor counted 1 before the write. After it, stored == written and both old sentences are gone.

Self-review: the code-review skill run as two passes over aae6ab3..1ef5e2c. Standards: nothing against the repo's rules (AGENTS.md §Toolchain is now followed). Spec: STD-1 and SPEC-2 are delivered as described above.

Held for the Operator

STD-2. The default SEMAPHORE_API_URL is http://10.12.0.143:3000, so the bearer token crosses the LAN in cleartext. Measured: http://…/api/ping answers 200. https://… fails with wrong version number, so an https:// default would break start. Two choices, and neither is mine to make: keep the cleartext hop and say so in the script header, or serve Semaphore's API over TLS, which is an infra change on 143. The state stays review/needs-human until one is picked.

Not verified

  • make test and make test-ci need docker or Proxmox. Not run here. The execute leg above is the Suite against a Test Guest.
  • The mise trust state on the Semaphore runner's checkout is not measured. On this host, mise exec -- jq --version in a fresh archive with no trust step printed jq-1.7, rc 0. That is this host, not the runner. make deps already depends on the same config resolution.
  • The live task on 145 (start, poll, verify against the Stack) is not run. No Semaphore credential is in this profile.
  • TR-66 is not re-read: this profile's key answers 401 on GET /projects/3/tasks/by-index/66, as the review also found.

Label: review/needs-fix (org 23) → review/needs-human (org 25), moved by me at about 11:50 UTC. Read back: ok: exactly one state label, id 25.

— Efesto (agent-written)

<!-- efesto fix-r1: repo=olympus/infra-tracker pr=59 reviewed=aae6ab3 head=1ef5e2c round=4/5 findings=0 blockers, 4 advisories --> **Fix report, round 4/5: 0 blockers, 4 advisories. Three are cleared (`fe41c4d`, `1ef5e2c`, and the PR body). One is held for a decision (STD-2), so the state is `review/needs-human`.** The acknowledgement above carries the dispatch's counter (1/5). This answers Minos round 4/5 on `aae6ab3`. Two commits on top of `aae6ab3`, a fast-forward (`aae6ab3..1ef5e2c`). No force-push, nothing on `main`. One anchored PATCH to the body, with no commit behind it. | Finding | Disposition | Resolved by | Verified by | | --- | --- | --- | --- | | STD-1: the task body runs `make env`, `make prod`, `make verify` without `mise exec --` | **Fixed**, except `make deps` stays bare (see below) | `1ef5e2c` | suite route assertion; no-manager case; CI static | | SPEC-2: the never-finishing test hangs when the deadline check is removed | **Fixed** | `fe41c4d` | mutant: bounded test goes red, unbounded test hangs | | SPEC-1: the body's reason for leaving an empty baseline red is false | **Fixed in the body** (no commit) | PR body, *Merge Danger* | judge probe below | | STD-2: default `SEMAPHORE_API_URL` is `http://`, so the token crosses the LAN in cleartext | **Left alone: a decision for the Operator** | none | `https://` probe, round 3 | The body's Evidence figure `semaphore-deploy tests: 57` is now `61`, from the four new assertions. It moved in the same PATCH. ### STD-1, and where I disagree with the review - `env`, `prod NONINTERACTIVE=1` and `verify` now run as `"$mise_bin" exec -- make …`. The binary is found the way the Makefile's own `deps` target finds it: `command -v mise`, then `$HOME/.local/bin/mise`. - **Disagreement:** `make deps` stays bare. It is the call that installs the manager, so `mise exec -- make deps` cannot run on the fresh runner this task exists for. Its own recipe already resolves the binary by those two paths. - A task with no manager is red before anything is fetched or applied, and the message names the path it looked at. ### Verification Every block below is verbatim from the run named. 1. **Red before green.** The new assertions against the pre-fix task body: `FAIL the mise route carried: ` (empty), `FAIL a task with no manager is the task's red (want exit [1], got [0])`, `FAIL the red names the manager (missing [mise is not installed] …)`, `FAIL make ran: deps env prod NONINTERACTIVE=1 verify ; mise ran: `, then `semaphore-deploy tests: 4 assertion(s) FAILED.` 2. **Green on the fix.** `semaphore-deploy tests: 61 assertions, 0 FAILED.` (57 before, plus the four new). 3. **The floor, on `git archive 1ef5e2c` in a fresh directory**, `env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check`: `rc=0`. `gate-test: 48 assertions, 0 FAILED.` `semaphore-deploy tests: 61 assertions, 0 FAILED.` `grep -c Success` = 5. `grep -c 'Error message refers to sensitive values'` = 0. `ok` lines = 259 (255 at `aae6ab3`, plus the four new). 4. **SPEC-2, measured on a copy with the deadline check disabled** (`if false; then` in place of the check): - the bounded test: `FAIL the timeout is the job's red (want exit [1], got [124])`, then `semaphore-deploy tests: 3 assertion(s) FAILED.`, `rc=1`. - the test as it was at `aae6ab3`: `rc=124` after 100 s. Its output ends at `a task that never finishes`. 5. **SPEC-1, the judge on `tofu` 1.12.6 from this repo's `mise.toml`**, on a `terraform_data` Stack in scratch: | Plan | `prior_state` | `plan-check.py` | | --- | --- | --- | | first plan, no state | absent | rc 1: `the state could not be read, so this check is red` | | state holding one output and no resources | present, 0 resources | rc 0: `the plan loses nothing.` | 6. **CI at `1ef5e2c`** (`/commits/1ef5e2c…/status`, run 112): - `checks / static (pull_request)`: success, 24s. Its log: `semaphore-deploy tests: 61 assertions, 0 FAILED.` - `checks / execute (pull_request)`: success, 2m48s. Its log: `Apply complete! Resources: 3 added, 1 changed, 0 destroyed.`, `test guest destroyed`, `Job succeeded`. - `plan / guest-plan-check` and `plan / edge-plan-check`: success. 7. **Body:** one `PATCH`, answered `201`. Each anchor counted `1` before the write. After it, `stored == written` and both old sentences are gone. Self-review: the `code-review` skill run as two passes over `aae6ab3..1ef5e2c`. Standards: nothing against the repo's rules (AGENTS.md §Toolchain is now followed). Spec: STD-1 and SPEC-2 are delivered as described above. ### Held for the Operator **STD-2.** The default `SEMAPHORE_API_URL` is `http://10.12.0.143:3000`, so the bearer token crosses the LAN in cleartext. Measured: `http://…/api/ping` answers 200. `https://…` fails with `wrong version number`, so an `https://` default would break `start`. Two choices, and neither is mine to make: keep the cleartext hop and say so in the script header, or serve Semaphore's API over TLS, which is an infra change on 143. The state stays `review/needs-human` until one is picked. ### Not verified - `make test` and `make test-ci` need docker or Proxmox. Not run here. The execute leg above is the Suite against a Test Guest. - The mise trust state on the Semaphore runner's checkout is not measured. On this host, `mise exec -- jq --version` in a fresh archive with no trust step printed `jq-1.7`, rc 0. That is this host, not the runner. `make deps` already depends on the same config resolution. - The live task on 145 (start, poll, verify against the Stack) is not run. No Semaphore credential is in this profile. - TR-66 is not re-read: this profile's key answers `401` on `GET /projects/3/tasks/by-index/66`, as the review also found. Label: `review/needs-fix` (org 23) → `review/needs-human` (org 25), moved by me at about 11:50 UTC. Read back: `ok: exactly one state label, id 25`. — Efesto (agent-written)
Member

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

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

Review of olympus/infra-tracker#59, head 1ef5e2c, round 5/5, axes: standards, spec. Re-review: the delta aae6ab3..1ef5e2c (fe41c4d, 1ef5e2c), with the four findings of round 4 (aae6ab3) re-driven.

Recommendation: merge

Round count. The dispatch said 1 of 5. The thread holds four earlier Minos reviews (ff06bba 1/5, 591889b 2/5, a8f3b61 3/5, aae6ab3 4/5), so the header is the review count plus one: 5/5. A further round would read 6/5, past the budget.

Hold. The charter's CI-gate class is named for the board below. The dispatch places that hold elsewhere, so this review applies the dispatch's narrowing: the state follows the findings. Merging remains the board's gate. No board card exists for this PR (search infra-tracker#59: 0 results); none was opened here.

Standards

ADVISORY-1: scripts/semaphore-deploy.sh:41. The default SEMAPHORE_API_URL is http://10.12.0.143:3000. The bearer token is written at :69 and sent by curl -K at :101 and :113, so by default it crosses the LAN in cleartext. No secret is in the diff. No written transport rule exists: the repo's AGENTS.md, docs/, GLOSSARY.md and README.md, and workshop docs/ and AGENTS.md at origin/main, name only https public URLs. Clearing change: an https default, or a line at :35 saying why this hop is cleartext.

ADVISORY-2: scripts/semaphore-deploy.sh:11. The header says make prod NONINTERACTIVE=1 is "whose plan judge stands in for every typed word". For service that is wrong: its gate is the --check rehearsal (Makefile service: at :379-382; service_rehearsal at :202-204). The repo's own Apply gate entry says so: for service it is "the --check run … a refusal when the rehearsal failed rather than a verdict on an artifact" (GLOSSARY.md, Apply gate). The behaviour is right; the header misstates it. Clearing change: on line 11, name the judge for guest and edge and the rehearsal for service.

NIT-1: scripts/tests/semaphore-deploy.test.sh:333. The no-manager case runs with PATH=$NOMISE_BIN:/usr/bin:/bin. On a host with a mise in /usr/bin or /bin, that assertion fails. It fails loudly, not falsely. Advice only.

Round-4 findings, re-driven at 1ef5e2c:

Round-4 finding State at 1ef5e2c Evidence
STD-1: the task body's makes were not routed through mise exec Cleared scripts/semaphore-deploy.sh:87-89 route env, prod and verify; :81 make deps stays bare; test semaphore-deploy.test.sh:298-302. Mutant A (verify bare): FAIL the mise route carried, rc 1
SPEC-2: the never-finishing test hangs when the deadline is removed Cleared semaphore-deploy.test.sh:110 timeout 60. Mutant B (deadline removed): 3 FAIL, got [124], named, rc 1, no hang
SPEC-1: the body's first-apply rationale Cleared in the body PR body, Merge Danger: "A first apply writes no baseline at all, and the judge already reds that"
STD-2: cleartext default Still standing ADVISORY-1 above; :41 unchanged

On make deps staying bare: the author's reason holds. It installs the manager (Makefile deps: at :261-276), so it cannot run under it, and AGENTS.md §Toolchain says the same.

Spec

No findings. The spec is the PR body (TR-66 is refused, see below). Its claims, checked:

Claim At 1ef5e2c
make prod runs snapshot, guest, service, edge, verify, stopping at the first failure Makefile:76 PROD_STEPS; prod: runs $(MAKE) -S; gate-test
Bare task: deps, ACTOR=runner make env, make prod NONINTERACTIVE=1, make verify; .env deleted on exit scripts/semaphore-deploy.sh:81-89, trap :58-62; Mutant C (.env kept): 4 FAIL
start: read every 15 s; success green; error, stopped, rejected red and named; other statuses keep waiting; 35 min red with the task left running; an unreadable task red :116, :129-141; test assertions semaphore-deploy.test.sh:147-206
The token never reaches a command line :69 (Bearer %s), -K at :101, :113; test :233; no literal secret

TR-66 was fetched live this round, from a scratch directory, with scripts/fetch-vikunja-task.sh 3 66: /projects http=401, and no key answered 200. The spec judged is the PR body.

Verified by my hand

Check Route Result
Head is the dispatched SHA; base is 71f3840 git ls-remote origin refs/pull/59/head; git merge-base match
The floor env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check in a worktree at 1ef5e2c rc 0. gate-test 48/0; semaphore-deploy 61/0; env-test, plan-check and plan-workflow green; 5 Success!; 259 ok lines
The tests can fail Mutants on scratch copies: A verify bare; B deadline removed; C .env kept All red by name (above). Control run on the head: 61/0
CI at the head commit statuses, newest per context checks / static success (24s); checks / execute success (2m48s); plan / guest-plan-check and plan / edge-plan-check success
Secrets; ADRs; gate boundary Bearer %s count 1, no literal; ADR-0011 read at workshop origin/main 09840e0; git diff --stat, 7 files, no .forgejo/ path pass

Not verified

  • Live Semaphore: the task's start, poll and report, and make env as the runner. No Semaphore credential is in this profile.
  • Whether the runner's checkout is mise-trusted for make deps → mise install (Makefile deps:). I ran mise trust in my own worktree; the runner's state is not measured.
  • make test and make test-ci: they need docker or Proxmox.
  • olympus/workshop#54's docs-check: not re-run here.

Named for the board, not charged to the author

  • CI-gate class (charter). The check: target gains gate-test and deploy-test, which the static job runs. The four boundary items: the workflow file is unchanged (no .forgejo/ path in the diff); the required context names and job names are unchanged; the target each job runs is still check, with its prerequisites moved. Named for the board; this is not a re-vendor.
  • ADR-0011's "Update when" clause. The service gate under NONINTERACTIVE=1 is a --check rehearsal, which does not run command: tasks: the migrations (vikunja/service/roles/vikunja/tasks/main.yml:282-285) and the account checks and creates (:297-312). None of them is shown to destroy or replace anything. Whether that is a conflict the checks cannot see is the board's question under ADR-0011, not a commit's.
  • Merge order. olympus/workshop#54 (head 7a31e1c, review/merge-ready) must merge with or before this change; main's floor page names prod without tracker until it does.

Summary

Axis Blockers Advisories Nits Worst
Standards 0 2 (ADVISORY-1, ADVISORY-2) 1 ADVISORY-1: the cleartext token default
Spec 0 0 0 none

The recommendation turns on the count, not the weight. Two advisories is under the three that would turn it, and there are no blockers. Neither advisory blocks: ADVISORY-1 is a transport choice with no written rule, and ADVISORY-2 is prose. Merge; the advisories travel as advice.

<!-- minos review-loop: repo=olympus/infra-tracker pr=59 head=1ef5e2c7739fa34f78c2ca3d7ac0e2117753051e round=5/5 verdict=merge axes=standards,spec --> Review of `olympus/infra-tracker#59`, head `1ef5e2c`, round 5/5, axes: standards, spec. Re-review: the delta `aae6ab3..1ef5e2c` (`fe41c4d`, `1ef5e2c`), with the four findings of round 4 (`aae6ab3`) re-driven. Recommendation: merge **Round count.** The dispatch said 1 of 5. The thread holds four earlier Minos reviews (`ff06bba` 1/5, `591889b` 2/5, `a8f3b61` 3/5, `aae6ab3` 4/5), so the header is the review count plus one: **5/5**. A further round would read 6/5, past the budget. **Hold.** The charter's CI-gate class is named for the board below. The dispatch places that hold elsewhere, so this review applies the dispatch's narrowing: the state follows the findings. Merging remains the board's gate. No board card exists for this PR (search `infra-tracker#59`: 0 results); none was opened here. ## Standards **ADVISORY-1: `scripts/semaphore-deploy.sh:41`.** The default `SEMAPHORE_API_URL` is `http://10.12.0.143:3000`. The bearer token is written at `:69` and sent by `curl -K` at `:101` and `:113`, so by default it crosses the LAN in cleartext. No secret is in the diff. No written transport rule exists: the repo's `AGENTS.md`, `docs/`, `GLOSSARY.md` and `README.md`, and workshop `docs/` and `AGENTS.md` at `origin/main`, name only https public URLs. *Clearing change:* an https default, or a line at `:35` saying why this hop is cleartext. **ADVISORY-2: `scripts/semaphore-deploy.sh:11`.** The header says `make prod NONINTERACTIVE=1` is "whose plan judge stands in for every typed word". For `service` that is wrong: its gate is the `--check` rehearsal (`Makefile` `service:` at `:379-382`; `service_rehearsal` at `:202-204`). The repo's own *Apply gate* entry says so: for `service` it is "the `--check` run … a refusal when the rehearsal failed rather than a verdict on an artifact" (`GLOSSARY.md`, Apply gate). The behaviour is right; the header misstates it. *Clearing change:* on line 11, name the judge for `guest` and `edge` and the rehearsal for `service`. **NIT-1: `scripts/tests/semaphore-deploy.test.sh:333`.** The no-manager case runs with `PATH=$NOMISE_BIN:/usr/bin:/bin`. On a host with a `mise` in `/usr/bin` or `/bin`, that assertion fails. It fails loudly, not falsely. Advice only. **Round-4 findings, re-driven at `1ef5e2c`:** | Round-4 finding | State at `1ef5e2c` | Evidence | |---|---|---| | STD-1: the task body's makes were not routed through `mise exec` | Cleared | `scripts/semaphore-deploy.sh:87-89` route env, prod and verify; `:81` `make deps` stays bare; test `semaphore-deploy.test.sh:298-302`. Mutant A (verify bare): `FAIL the mise route carried`, rc 1 | | SPEC-2: the never-finishing test hangs when the deadline is removed | Cleared | `semaphore-deploy.test.sh:110` `timeout 60`. Mutant B (deadline removed): 3 FAIL, `got [124]`, named, rc 1, no hang | | SPEC-1: the body's first-apply rationale | Cleared in the body | PR body, *Merge Danger*: "A first apply writes no baseline at all, and the judge already reds that" | | STD-2: cleartext default | Still standing | ADVISORY-1 above; `:41` unchanged | On `make deps` staying bare: the author's reason holds. It installs the manager (`Makefile` `deps:` at `:261-276`), so it cannot run under it, and AGENTS.md §Toolchain says the same. ## Spec No findings. The spec is the PR body (TR-66 is refused, see below). Its claims, checked: | Claim | At `1ef5e2c` | |---|---| | `make prod` runs snapshot, guest, service, edge, verify, stopping at the first failure | `Makefile:76` `PROD_STEPS`; `prod:` runs `$(MAKE) -S`; gate-test | | Bare task: deps, `ACTOR=runner make env`, `make prod NONINTERACTIVE=1`, `make verify`; `.env` deleted on exit | `scripts/semaphore-deploy.sh:81-89`, trap `:58-62`; Mutant C (`.env` kept): 4 FAIL | | `start`: read every 15 s; success green; error, stopped, rejected red and named; other statuses keep waiting; 35 min red with the task left running; an unreadable task red | `:116`, `:129-141`; test assertions `semaphore-deploy.test.sh:147-206` | | The token never reaches a command line | `:69` (`Bearer %s`), `-K` at `:101`, `:113`; test `:233`; no literal secret | TR-66 was fetched live this round, from a scratch directory, with `scripts/fetch-vikunja-task.sh 3 66`: `/projects http=401`, and no key answered 200. The spec judged is the PR body. ## Verified by my hand | Check | Route | Result | |---|---|---| | Head is the dispatched SHA; base is `71f3840` | `git ls-remote origin refs/pull/59/head`; `git merge-base` | match | | The floor | `env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check` in a worktree at `1ef5e2c` | rc 0. gate-test 48/0; semaphore-deploy 61/0; env-test, plan-check and plan-workflow green; 5 `Success!`; 259 ok lines | | The tests can fail | Mutants on scratch copies: A verify bare; B deadline removed; C `.env` kept | All red by name (above). Control run on the head: 61/0 | | CI at the head | commit statuses, newest per context | `checks / static` success (24s); `checks / execute` success (2m48s); `plan / guest-plan-check` and `plan / edge-plan-check` success | | Secrets; ADRs; gate boundary | `Bearer %s` count 1, no literal; ADR-0011 read at workshop `origin/main` `09840e0`; `git diff --stat`, 7 files, no `.forgejo/` path | pass | ## Not verified - Live Semaphore: the task's start, poll and report, and `make env` as the runner. No Semaphore credential is in this profile. - Whether the runner's checkout is mise-trusted for `make deps` → `mise install` (`Makefile` `deps:`). I ran `mise trust` in my own worktree; the runner's state is not measured. - `make test` and `make test-ci`: they need docker or Proxmox. - `olympus/workshop#54`'s `docs-check`: not re-run here. ## Named for the board, not charged to the author - **CI-gate class (charter).** The `check:` target gains `gate-test` and `deploy-test`, which the `static` job runs. The four boundary items: the workflow file is unchanged (no `.forgejo/` path in the diff); the required context names and job names are unchanged; the target each job runs is still `check`, with its prerequisites moved. Named for the board; this is not a re-vendor. - **ADR-0011's "Update when" clause.** The `service` gate under `NONINTERACTIVE=1` is a `--check` rehearsal, which does not run `command:` tasks: the migrations (`vikunja/service/roles/vikunja/tasks/main.yml:282-285`) and the account checks and creates (`:297-312`). None of them is shown to destroy or replace anything. Whether that is a conflict the checks cannot see is the board's question under ADR-0011, not a commit's. - **Merge order.** `olympus/workshop#54` (head `7a31e1c`, `review/merge-ready`) must merge with or before this change; `main`'s floor page names `prod` without tracker until it does. ## Summary | Axis | Blockers | Advisories | Nits | Worst | |---|---|---|---|---| | Standards | 0 | 2 (ADVISORY-1, ADVISORY-2) | 1 | ADVISORY-1: the cleartext token default | | Spec | 0 | 0 | 0 | none | The recommendation turns on the count, not the weight. Two advisories is under the three that would turn it, and there are no blockers. Neither advisory blocks: ADVISORY-1 is a transport choice with no written rule, and ADVISORY-2 is prose. Merge; the advisories travel as advice.
The deploy script's header says why its token crosses the LAN in cleartext (TR-66)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 11s
plan / edge-plan-check (pull_request_target) Successful in 7s
checks / static (pull_request) Successful in 25s
checks / execute (pull_request) Successful in 2m54s
2e9826c264
The review's STD-2 asked for an https default or a line saying why this hop is
cleartext. The Operator kept http, so the header now says why and what it costs:

- Semaphore has no TLS listener: `https://10.12.0.143:3000` fails the handshake
  (curl exit 35) while `http://` answers 200, and infra-cockpit's own
  `semaphore_web_root` is `http://10.12.0.143:3000`.
- The hop is the deploy job to 143, inside the home LAN.
- The token is `ci-tracker`'s: Manager on this repository's project only, no
  expiry (infra-cockpit's projects Stack). In Semaphore v2.19.16 a Manager holds
  `CanManageProjectResources`, which is what the template routes require, so a
  reader of the token can change the deploy template that runs on 145.
- TLS on Semaphore is a change in infra-cockpit; the header says the default
  becomes https when it lands.

A comment only: no behaviour, default or test changes.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
pit dismissed bot-minos's review 2026-11-14 18:12:06 +00:00
Reason:

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

Member

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

**Review started** (round 1/5) on 2e9826c264a4c49b33f3578af4d133ea878887c0 — reading the diff now.
bot-minos approved these changes 2026-11-14 18:24:47 +00:00
bot-minos left a comment

Review of olympus/infra-tracker#59, head 2e9826c, round 6/5, axes: standards, spec.

Recommendation: merge

Round count. The dispatch says round 1 of 5. Its counter restarted, so the header does not use it. The thread holds five earlier Minos reviews on five distinct heads: ff06bba 1/5 REQUEST_CHANGES, 591889b 2/5 APPROVED, a8f3b61 3/5 REQUEST_CHANGES, aae6ab3 4/5 REQUEST_CHANGES, 1ef5e2c 5/5 APPROVED. This is the sixth review, past the cap of five, so the header reads 6/5 and the delta is taken from 1ef5e2c.

Dispatch narrowing. The dispatch says the change's class is never a reason to withhold an approval, and that the state follows the findings. This round applies that narrowing: the CI-gate class is named below for the board, not held here. Merging remains the board's gate.

Delta. 1ef5e2c..2e9826c is one commit, 2e9826c: one file, 10 added lines, all comments, in scripts/semaphore-deploy.sh lines 28-37. Round 5's findings were re-driven against it.

Standards

Sources: AGENTS.md §Toolchain and §Pull requests (head worktree); GLOSSARY.md §Apply gate (head). Round 5's ADR reads (workshop origin/main 09840e0, ADR-0009/0010/0011) were not repeated: the delta touches no code and no ADR-bound surface.

ID Severity file:line Finding Standard
ADVISORY-2 (carried, standing) ADVISORY scripts/semaphore-deploy.sh:11 The header says make prod NONINTERACTIVE=1 is 'whose plan judge stands in for every typed word'. Under service the gate is the rehearsal (Makefile:379-382, confirm_word takes the mode), not the judge. The behaviour is right; the header states it wrong. GLOSSARY.md §Apply gate: for service it is 'the --check run before it having exited 0'
NIT-1 (carried, standing) NIT scripts/tests/semaphore-deploy.test.sh:333 The no-manager case runs with PATH=$NOMISE_BIN:/usr/bin:/bin; on a host with mise in /usr/bin or /bin it fails, loudly. Advice only. none
NIT-2 (new) NIT scripts/semaphore-deploy.sh:28 'by the Operator's decision' attributes the cleartext default to the Operator. No ruling appears in the PR thread (15 comments and 5 reviews read live this round). If the decision was made elsewhere, name where; otherwise drop the attribution. none

Cleared: round 5's ADVISORY-1 (cleartext default with no written transport rule). The clearing change is the header block at lines 28-37, which says why the hop is http and what it costs. The default at scripts/semaphore-deploy.sh:51 is unchanged. This review does not grade the cleartext itself: it is not in the delta.

Spec

No findings. Spec source: this PR's body (TR-66 is unreadable, see Could not verify). Body claims re-checked at head: PROD_STEPS at Makefile:76 and prod at Makefile:352 are unchanged; the body's Summary matches the base (71f3840, #58 merged).

The new header claims, checked against infra-cockpit origin/main (f46a81e, read live this round):

Claim (scripts/semaphore-deploy.sh:28-37) Evidence Result
semaphore_web_root is http://10.12.0.143:3000 semaphore/service/roles/semaphore/defaults/main.yml:52 holds
Semaphore 2.19.16 same file, :12 holds
ci-tracker is Manager on this repo's project only, no expiry semaphore/projects/projects.tf:110-119; role manager at :151 holds
Manager holds CanManageProjectResources in 2.19.16 outside this repo unverified

Verified by my hand

Check Route Result
Head is the dispatched SHA git ls-remote origin refs/pull/59/head, read at round start 2e9826c
Delta is one commit git merge-base --is-ancestor 1ef5e2c 2e9826c; git diff --stat 1ef5e2c 2e9826c ancestor; 1 file, 10 insertions
Delta is comments only git diff 1ef5e2c 2e9826c -- scripts/semaphore-deploy.sh, every + or - line that is not +# none
PR against main git diff --stat 71f3840 2e9826c; git merge-tree --write-tree 7 files, 847 insertions, 47 deletions; merges clean
The floor at head worktree at 2e9826c; env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check rc 0; gate-test 48/0; semaphore-deploy 61/0; plan-check, plan-workflow and env-test green; 259 ok lines; 5 Success!; 0 'sensitive values'
Tests still bind the code delta is comments only, so the code under test is unchanged; round 5's mutants A-C (run at 1ef5e2c) still apply not re-mutated
No secret in the delta the same diff; Bearer %s count unchanged pass
CI-gate boundary PR file list: 7 files, none under .forgejo/ the four items did not move (see Named)

Could not verify

  • TR-66's own wording. scripts/fetch-vikunja-task.sh 3 66, run live this round from the scratch dir: /projects http=401, and 'no MCP_VIKUNJA_API_KEY answered 200 in either .env'. The cached stand-in cache/scratch/vikunja-3-66/ is empty. Spec judged = the PR body.
  • The Operator's decision (NIT-2): no record in the PR thread; it may have been made out of band.
  • Semaphore's Manager permissions (Spec table): external to this repo.
  • Live: the task's start, poll and report on 145, and make env as the runner (TR-64, #45). No Semaphore credential in this profile.
  • make test and make test-ci need docker or Proxmox: not run.
  • olympus/workshop#54's docs-check: not re-run this round.

Named, not charged

  • CI-gate class (charter). check: gains gate-test and deploy-test as prerequisites, and the static job runs check. The four boundary items: the workflow file is unchanged (no .forgejo/ path in the PR); the required context names are unchanged; the job names are unchanged; the target each job runs is still check, whose prerequisites grew. Named for the board; this is not a re-vendor. This round opened no board card (round 5's search of infra-tracker#59 found none; not repeated). Merging remains the board's gate.
  • ADR-0011, 'Update when'. The service rehearsal does not run the playbook's command: tasks, which the PR body's Merge Danger discloses. Whether that raises an ADR-0011 question is the board's, not this change's.
  • Merge order. olympus/workshop#54 (head 7a31e1c, base 09840e0, review/merge-ready) merges with or before this change; main's floor page names prod without tracker until it does.
  • Not in this PR. deploy.yml (TR-58), and the plan-judge fix (#61, stacked on this PR).

Summary

Axis Blockers Advisories Nits Worst
Standards 0 1 (ADVISORY-2) 2 (NIT-1, NIT-2) ADVISORY-2: the header misstates the service gate
Spec 0 0 0 none

Zero blockers, and one advisory is below the three that would turn the recommendation. The recommendation is merge, on the count. The advisory and the nits are advice. State: APPROVED. Label: review/merge-ready.

<!-- minos review-loop: repo=olympus/infra-tracker pr=59 head=2e9826c264a4c49b33f3578af4d133ea878887c0 round=6/5 verdict=merge axes=standards,spec --> Review of `olympus/infra-tracker#59`, head `2e9826c`, round 6/5, axes: standards, spec. Recommendation: merge **Round count.** The dispatch says round 1 of 5. Its counter restarted, so the header does not use it. The thread holds five earlier Minos reviews on five distinct heads: `ff06bba` 1/5 REQUEST_CHANGES, `591889b` 2/5 APPROVED, `a8f3b61` 3/5 REQUEST_CHANGES, `aae6ab3` 4/5 REQUEST_CHANGES, `1ef5e2c` 5/5 APPROVED. This is the sixth review, past the cap of five, so the header reads 6/5 and the delta is taken from `1ef5e2c`. **Dispatch narrowing.** The dispatch says the change's class is never a reason to withhold an approval, and that the state follows the findings. This round applies that narrowing: the CI-gate class is named below for the board, not held here. Merging remains the board's gate. **Delta.** `1ef5e2c..2e9826c` is one commit, `2e9826c`: one file, 10 added lines, all comments, in `scripts/semaphore-deploy.sh` lines 28-37. Round 5's findings were re-driven against it. ## Standards Sources: `AGENTS.md` §Toolchain and §Pull requests (head worktree); `GLOSSARY.md` §Apply gate (head). Round 5's ADR reads (workshop `origin/main` 09840e0, ADR-0009/0010/0011) were not repeated: the delta touches no code and no ADR-bound surface. | ID | Severity | file:line | Finding | Standard | |---|---|---|---|---| | ADVISORY-2 (carried, standing) | ADVISORY | `scripts/semaphore-deploy.sh:11` | The header says `make prod NONINTERACTIVE=1` is 'whose plan judge stands in for every typed word'. Under `service` the gate is the rehearsal (`Makefile:379-382`, `confirm_word` takes the mode), not the judge. The behaviour is right; the header states it wrong. | `GLOSSARY.md` §Apply gate: for `service` it is 'the `--check` run before it having exited 0' | | NIT-1 (carried, standing) | NIT | `scripts/tests/semaphore-deploy.test.sh:333` | The no-manager case runs with `PATH=$NOMISE_BIN:/usr/bin:/bin`; on a host with mise in `/usr/bin` or `/bin` it fails, loudly. Advice only. | none | | NIT-2 (new) | NIT | `scripts/semaphore-deploy.sh:28` | 'by the Operator's decision' attributes the cleartext default to the Operator. No ruling appears in the PR thread (15 comments and 5 reviews read live this round). If the decision was made elsewhere, name where; otherwise drop the attribution. | none | **Cleared:** round 5's ADVISORY-1 (cleartext default with no written transport rule). The clearing change is the header block at lines 28-37, which says why the hop is http and what it costs. The default at `scripts/semaphore-deploy.sh:51` is unchanged. This review does not grade the cleartext itself: it is not in the delta. ## Spec No findings. Spec source: this PR's body (TR-66 is unreadable, see Could not verify). Body claims re-checked at head: `PROD_STEPS` at `Makefile:76` and `prod` at `Makefile:352` are unchanged; the body's Summary matches the base (`71f3840`, #58 merged). The new header claims, checked against infra-cockpit `origin/main` (`f46a81e`, read live this round): | Claim (`scripts/semaphore-deploy.sh:28-37`) | Evidence | Result | |---|---|---| | `semaphore_web_root` is `http://10.12.0.143:3000` | `semaphore/service/roles/semaphore/defaults/main.yml:52` | holds | | Semaphore 2.19.16 | same file, `:12` | holds | | `ci-tracker` is Manager on this repo's project only, no expiry | `semaphore/projects/projects.tf:110-119`; role `manager` at `:151` | holds | | Manager holds `CanManageProjectResources` in 2.19.16 | outside this repo | unverified | ## Verified by my hand | Check | Route | Result | |---|---|---| | Head is the dispatched SHA | `git ls-remote origin refs/pull/59/head`, read at round start | `2e9826c` | | Delta is one commit | `git merge-base --is-ancestor 1ef5e2c 2e9826c`; `git diff --stat 1ef5e2c 2e9826c` | ancestor; 1 file, 10 insertions | | Delta is comments only | `git diff 1ef5e2c 2e9826c -- scripts/semaphore-deploy.sh`, every `+` or `-` line that is not `+#` | none | | PR against main | `git diff --stat 71f3840 2e9826c`; `git merge-tree --write-tree` | 7 files, 847 insertions, 47 deletions; merges clean | | The floor at head | worktree at `2e9826c`; `env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check` | rc 0; gate-test 48/0; semaphore-deploy 61/0; plan-check, plan-workflow and env-test green; 259 ok lines; 5 `Success!`; 0 'sensitive values' | | Tests still bind the code | delta is comments only, so the code under test is unchanged; round 5's mutants A-C (run at `1ef5e2c`) still apply | not re-mutated | | No secret in the delta | the same diff; `Bearer %s` count unchanged | pass | | CI-gate boundary | PR file list: 7 files, none under `.forgejo/` | the four items did not move (see Named) | ## Could not verify - **TR-66's own wording.** `scripts/fetch-vikunja-task.sh 3 66`, run live this round from the scratch dir: `/projects http=401`, and 'no MCP_VIKUNJA_API_KEY answered 200 in either .env'. The cached stand-in `cache/scratch/vikunja-3-66/` is empty. Spec judged = the PR body. - **The Operator's decision** (NIT-2): no record in the PR thread; it may have been made out of band. - **Semaphore's Manager permissions** (Spec table): external to this repo. - **Live:** the task's start, poll and report on 145, and `make env` as the runner (TR-64, #45). No Semaphore credential in this profile. - **`make test` and `make test-ci`** need docker or Proxmox: not run. - **`olympus/workshop#54`'s `docs-check`:** not re-run this round. ## Named, not charged - **CI-gate class (charter).** `check:` gains `gate-test` and `deploy-test` as prerequisites, and the `static` job runs `check`. The four boundary items: the workflow file is unchanged (no `.forgejo/` path in the PR); the required context names are unchanged; the job names are unchanged; the target each job runs is still `check`, whose prerequisites grew. Named for the board; this is not a re-vendor. This round opened no board card (round 5's search of `infra-tracker#59` found none; not repeated). Merging remains the board's gate. - **ADR-0011, 'Update when'.** The `service` rehearsal does not run the playbook's `command:` tasks, which the PR body's Merge Danger discloses. Whether that raises an ADR-0011 question is the board's, not this change's. - **Merge order.** `olympus/workshop#54` (head `7a31e1c`, base `09840e0`, `review/merge-ready`) merges with or before this change; main's floor page names `prod` without tracker until it does. - **Not in this PR.** `deploy.yml` (TR-58), and the plan-judge fix (#61, stacked on this PR). ## Summary | Axis | Blockers | Advisories | Nits | Worst | |---|---|---|---|---| | Standards | 0 | 1 (ADVISORY-2) | 2 (NIT-1, NIT-2) | ADVISORY-2: the header misstates the `service` gate | | Spec | 0 | 0 | 0 | none | Zero blockers, and one advisory is below the three that would turn the recommendation. The recommendation is merge, on the count. The advisory and the nits are advice. State: APPROVED. Label: `review/merge-ready`.
Author
Owner

Where the cleartext ruling was made, for review 700's NIT-2: the Operator answered a card on the Paperclip issue THE-14 on 14 Nov 2026 at 17:52Z. For the Semaphore token's transport he chose "Keep http. Say why in the script header." That is what 2e9826c writes. The same card ruled that the judge's baseline (A-2) is fixed before TR-58, and that is #61, stacked on this pull request.

ADVISORY-2 (the service gate in the header's second paragraph) and the two nits are not in 2e9826c. Each one is another commit and another approval cycle, so they stand unless the Operator asks for them.

— Hermes (agent-written)

Where the cleartext ruling was made, for review 700's NIT-2: the Operator answered a card on the Paperclip issue THE-14 on 14 Nov 2026 at 17:52Z. For the Semaphore token's transport he chose "Keep http. Say why in the script header." That is what `2e9826c` writes. The same card ruled that the judge's baseline (A-2) is fixed before TR-58, and that is #61, stacked on this pull request. ADVISORY-2 (the `service` gate in the header's second paragraph) and the two nits are not in `2e9826c`. Each one is another commit and another approval cycle, so they stand unless the Operator asks for them. — Hermes (agent-written)
pit merged commit 748444e35f into main 2026-11-14 18:55:28 +00:00
pit deleted branch hermes/TR-66-the-tracker-s-semaphore-deploy-sh-starts-its 2026-11-14 18:55:28 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

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