The runner Guest carries make, so a task's first step can run (SC-15) #28

Merged
pit merged 2 commits from hermes/runner-guest-make into main 2026-11-08 11:12:53 +00:00
Owner

On SC-15 (Vikunja, the infra-secrets project), which specifies the split and whose closing comment declares this pull request. The body names SC-15 rather than a CP-<index> because the work is that ticket's, not a separate cockpit one.

Summary

The Semaphore runner Guest (145) is where every deploy task runs. Every deploy template runs that repository's scripts/semaphore-deploy.sh, whose contract is make env ACTOR=runner, then make prod. 145 carries no make, so a task stops on the first of the two. This adds it to the packages the role installs before a task's first line.

 semaphore/service/roles/semaphore_runner/tasks/main.yml
 - name: install the runner's dependencies
   apt:
     name:
       - ansible
       - ca-certificates
       - curl
       - git
+      - make

make is the one tool the repository's own bootstrap cannot provide: make deps is itself a Make target. It installs the manager from the Makefile's own pin — the one version mise.lock cannot carry — and the tools the lock does pin (age, jq, openbao, OpenTofu, ansible-core, python, uv) into mise's store under the semaphore account's home, with the Ansible collections in the task's checkout. So the split is: the role carries make, and make deps carries the rest — which is the recommendation recorded on SC-15 and the piece TR-58's scripts/semaphore-deploy.sh relies on. That script is unwritten, so no step of the deploy contract runs make deps yet, and a task's first line still stops one past make: not found, at jq is not on PATH.

docs/deploy.md § The runner now states that split, and what a Guest built before this row does (make: not found).

Evidence

  • Before, read on 145 today: command -v make jq age → nothing; git, curl, sha256sum, python3 and ansible are installed. So CP-43's first template step stops before env.sh is reached.
  • After, the code: the package is idempotent by construction — apt reports changed only when make is absent — and the runner role's only handler is the token-file restart, which this does not raise.
  • The static floor: mise exec -- make check → rc 0, 176 ok, 0 not ok (env pin and map, the env tests, the plan-check suite, tofu fmt -recursive -check -diff).

Merge Danger

Door: two-way — but a merge here deploys 143 and 145, because infra-cockpit is the repository Forgejo Actions deploys on a merge to main. The runner comes back with make and the server is restarted around it, as every cockpit deploy does; the deploy waits for Semaphore to have no running task first (CP-42).

Blast Radius: 145's package set; a restart of 143 and of the runner

Nothing a running task holds is lost beyond the restart the deploy already performs. Reverting is the next merge, and apt leaves make installed until something removes it — harmless either way.

On `SC-15` (Vikunja, the `infra-secrets` project), which specifies the split and whose closing comment declares this pull request. The body names `SC-15` rather than a `CP-<index>` because the work is that ticket's, not a separate cockpit one. ## Summary The Semaphore runner Guest (145) is where every deploy task runs. Every deploy template runs that repository's `scripts/semaphore-deploy.sh`, whose contract is `make env ACTOR=runner`, then `make prod`. 145 carries no `make`, so a task stops on the first of the two. This adds it to the packages the role installs before a task's first line. ```diff semaphore/service/roles/semaphore_runner/tasks/main.yml - name: install the runner's dependencies apt: name: - ansible - ca-certificates - curl - git + - make ``` `make` is the one tool the repository's own bootstrap cannot provide: `make deps` is itself a Make target. It installs the manager from the `Makefile`'s own pin — the one version `mise.lock` cannot carry — and the tools the lock does pin (`age`, `jq`, `openbao`, OpenTofu, ansible-core, `python`, `uv`) into mise's store under the `semaphore` account's home, with the Ansible collections in the task's checkout. So the split is: the role carries `make`, and `make deps` carries the rest — which is the recommendation recorded on SC-15 and the piece TR-58's `scripts/semaphore-deploy.sh` relies on. That script is unwritten, so no step of the deploy contract runs `make deps` yet, and a task's first line still stops one past `make: not found`, at `jq is not on PATH`. `docs/deploy.md` § *The runner* now states that split, and what a Guest built before this row does (`make: not found`). ## Evidence - **Before, read on 145 today:** `command -v make jq age` → nothing; `git`, `curl`, `sha256sum`, `python3` and `ansible` are installed. So CP-43's first template step stops before `env.sh` is reached. - **After, the code:** the package is idempotent by construction — `apt` reports changed only when `make` is absent — and the runner role's only handler is the token-file restart, which this does not raise. - **The static floor:** `mise exec -- make check` → rc 0, 176 `ok`, 0 `not ok` (env pin and map, the env tests, the plan-check suite, `tofu fmt -recursive -check -diff`). ## Merge Danger **Door:** two-way — but a merge here **deploys 143 and 145**, because `infra-cockpit` is the repository Forgejo Actions deploys on a merge to `main`. The runner comes back with `make` and the server is restarted around it, as every cockpit deploy does; the deploy waits for Semaphore to have no running task first (CP-42). **Blast Radius:** 145's package set; a restart of 143 and of the runner Nothing a running task holds is lost beyond the restart the deploy already performs. Reverting is the next merge, and `apt` leaves `make` installed until something removes it — harmless either way.
The runner Guest carries make, so a task's first step can run (SC-15)
Some checks failed
plan / guest-plan-check (pull_request_target) Successful in 18s
plan / runner-guest-plan-check (pull_request_target) Successful in 14s
plan / projects-plan-check (pull_request_target) Failing after 11s
pr-checks / check (pull_request) Failing after 12s
c6cfbda18d
Every deploy template's first step is a Make target: make env ACTOR=runner,
then make prod. No Make target can install make, and 145 carries neither make
nor the tools the lock pins, so the first step stopped at 'make: not found'.
The role installs make with the packages a task needs before its first line;
make deps brings mise and the pinned age, jq, OpenTofu and ansible-core into the
checkout, under the semaphore account's home.

Found while proving SC-15's seed reach from 145: git, curl, sha256sum, python3
and ansible were installed there, make, jq and age were not.
Member

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

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

olympus/infra-cockpit · PR #28 · head c6cfbda18d9d80bf252fa0c30a0c1ce6bf61de3b · round 1/5 · verdict APPROVE (0 blockers)

Recommendation: fix

Why a fix is recommended with no blocker: four ADVISORY findings, all inside the nine added lines of docs/deploy.md and the PR body. The volume rule recommends one batched polishing round at three or more; the state stays APPROVE because no finding blocks, and the code change itself is correct.

Standards

ADVISORY — docs/deploy.md:257 puts mise inside the lock. The sentence reads "Everything else the repository's lock pins — mise, age, jq, OpenTofu and ansible-core". mise is not in the lock: mise.lock carries age, jq, openbao, opentofu, ansible-core, python and uv (mise.lock:5,52,92,139,179,185,225), and Makefile:95-96 says the opposite in as many words — "mise's own release … the one version mise.lock cannot carry". The org record this repo defers to states the same boundary: "the manager itself … cannot declare itself: whatever pins the tools is not pinned by them" (workshop docs/adr/0001-declare-and-lock-the-toolchain.md §Consequences). The diff's own comment in the role gets it right — "mise, and the age, jq, OpenTofu and ansible-core the lock pins" (semaphore/service/roles/semaphore_runner/tasks/main.yml:19-21) — so this is a slip in the page, not a view held. The same enumeration also drops openbao (mise.toml:18), which is the client scripts/env.sh speaks to the store with, plus the python and uv the lock does pin.
Clearing change: split the clause the way the role comment does — mise named as the bootstrap with its pin in the Makefile, then the lock's list, openbao included.

ADVISORY — the PR body names a foreign task; AGENTS.md:65 requires CP-<index>. "Name the task a pull request addresses in its body as CP-<index>". This body and title name SC-15 only, which lives in infra-secrets (project 8), while a change that touches only this repository belongs to project 11 (docs/agents/issue-tracker.md §Identifier). The tracker reference is real and its closing comment does name this PR, so a reader can still get there — hence an advisory, not a block.
Clearing change: file the CP task in project 11 that carries this work and cite it, or add one sentence to the body saying why SC-15 carries it.

Spec

Spec source: SC-15 ("Give the Semaphore runner its policy and infra-tracker's reach", Vikunja project 8, index 15), whose last comment declares this PR: "adds make to the packages the runner role installs on 145 — the one tool make deps cannot install for itself … docs/deploy.md § The runner now records the split." Both halves are delivered: make is in the role's package list (tasks/main.yml:30) and the page records the split. No requirement missing, no scope creep.

ADVISORY — docs/deploy.md:257-259 (+ tasks/main.yml:19-21): the tools do not arrive "into the task's checkout". make deps installs through mise (Makefile:336-347), and mise puts tools in its own store under the account's home — measured on the review host: mise where jq → /home/hermes/.local/share/mise/installs/jq/1.7, with only the mise binary in $HOME/.local/bin (Makefile:98) and the Ansible collections in ./collections (semaphore/service/ansible.cfg:7). The same sentence then says the tools sit "under the semaphore account's home /opt/semaphore-runner", which contradicts "into the task's checkout" two clauses earlier.
Clearing change: say the tools land in the mise store under the account's home, with the collections in the checkout.

ADVISORY — docs/deploy.md:255-256: the paragraph's bootstrap order has no invocation in the tree. "every template's first step is a Make target (make env ACTOR=runner, then make prod)" — the template's first step is scripts/semaphore-deploy.sh, app = "bash" (semaphore/projects/projects.tf:96), and its declared contract is trap, then make env, then make prod (projects.tf:83-85; docs/deploy.md:141-143). Nothing in that contract runs make deps — yet the next sentence says make deps is what brings mise, age, jq and the rest. So the added paragraph asserts an arrival path the repository's own template never invokes, and after this change a task's first command still stops at jq is not on PATH (scripts/env.sh:314-315) or age is not on PATH (scripts/env.sh:322), one line past the make: not found it removes.
Clearing change: say where make deps runs (TR-58's scripts/semaphore-deploy.sh, which is unwritten), or state that the split is pending that script rather than in place.

Named, not charged

  • The residual toolchain gap. make alone does not complete make env: the fetch needs jq, age and bao on PATH (scripts/env.sh:314-315,322) and the template does not run mise exec. The author discloses this as TR-58's half ("the piece TR-58's scripts/semaphore-deploy.sh relies on"), so it is a deferral, not a hidden defect. The spec-axis advisory above charges the page's account of it, not the deferral.
  • docs/deploy.md:141-143 omits make deps from the template contract. Not in this diff; the advisory above names it because the new paragraph depends on it.
  • Two red contexts at the head are the runner's network, not this change. pr-checks / check and plan / projects-plan-check both died inside make deps (Makefile:337: deps Error 1) on package downloads — mise ✗ python@3.13.16 … failed: error sending request — while plan / guest-plan-check and plan / runner-guest-plan-check completed the same make deps at the same SHA and planned No changes. It matters only as a merge condition: pr-checks / check (pull_request) is required on main, so the merge waits for a green rerun. Note plan / projects-plan-check is not in status_check_contexts and gates nothing.
  • No test pins the role's package list. make check is env-check env-test plan-test fmt-check (Makefile:389); none of them reads semaphore_runner/tasks/main.yml. Nothing green would have caught a missing row — a note on the floor, not a finding against this diff.
  • Guest 145's live package set (the body's "before" reading) could not be re-read from here: ssh root@10.12.0.145 → Permission denied (publickey,password). The SC-15 ticket records the same reading independently.

Verified

Claim How, and what it returned
Head is the dispatch's revision refs/pull/28/head fetched and resolved → c6cfbda…, re-resolved before writing; one commit over main (f5136bd)
The diff is what it says two files, read whole: docs/deploy.md +10, tasks/main.yml +7/−1
The body's static floor mise exec -- make check at the head worktree → rc 0; env tests "every case passed", plan tests "every case passed", tofu fmt -recursive -check -diff clean; 176 ok, 0 not ok
The role still parses with the new row mise exec -- ansible-playbook --syntax-check -i inventories/prod/hosts site.yml → rc 0
make is a real Debian package apt-cache policy make → candidate 4.4.1-2, trixie/main
The row installs nothing else and notifies nothing tasks/main.yml:23-31 is the same apt list plus make, state: present; notify sits only on lines 117/209/248/266
The page's list matches the role role lines 26-30 == docs line 254-255, five packages, make last

Not verified: the apt run itself on a scratch Guest (the module path is exercised only by --syntax-check here); the live 145 package set (SSH refused); make deps completing on the runner's own network path (the two red contexts failed there, and the two green ones only prove it can succeed).

Summary

  • Standards: 2 findings — 0 blockers, 2 advisories. Worst: the lock/manager boundary stated backwards at docs/deploy.md:257, against Makefile:95-96 and workshop ADR-0001.
  • Spec: 2 findings — 0 blockers, 2 advisories. Worst: the added paragraph's account of how the toolchain reaches the task (docs/deploy.md:255-259) has no make deps invocation anywhere in the template contract it describes.
  • Recommendation fix turns on the advisory count (4), not on weight.
<!-- minos review-loop: repo=olympus/infra-cockpit pr=28 head=c6cfbda18d9d80bf252fa0c30a0c1ce6bf61de3b round=1/5 axes=standards,spec verdict=approve --> `olympus/infra-cockpit` · PR **#28** · head `c6cfbda18d9d80bf252fa0c30a0c1ce6bf61de3b` · round **1/5** · verdict **APPROVE** (0 blockers) Recommendation: fix **Why a fix is recommended with no blocker:** four ADVISORY findings, all inside the nine added lines of `docs/deploy.md` and the PR body. The volume rule recommends one batched polishing round at three or more; the **state stays APPROVE** because no finding blocks, and the code change itself is correct. ## Standards **ADVISORY — `docs/deploy.md:257` puts mise inside the lock.** The sentence reads "Everything else the repository's lock pins — mise, `age`, `jq`, OpenTofu and ansible-core". mise is not in the lock: `mise.lock` carries age, jq, openbao, opentofu, ansible-core, python and uv (`mise.lock:5,52,92,139,179,185,225`), and `Makefile:95-96` says the opposite in as many words — "mise's own release … the one version `mise.lock` cannot carry". The org record this repo defers to states the same boundary: "the manager itself … cannot declare itself: whatever pins the tools is not pinned by them" (workshop `docs/adr/0001-declare-and-lock-the-toolchain.md` §Consequences). The diff's own comment in the role gets it right — "mise, and the `age`, `jq`, OpenTofu and ansible-core the lock pins" (`semaphore/service/roles/semaphore_runner/tasks/main.yml:19-21`) — so this is a slip in the page, not a view held. The same enumeration also drops `openbao` (`mise.toml:18`), which is the client `scripts/env.sh` speaks to the store with, plus the `python` and `uv` the lock does pin. *Clearing change:* split the clause the way the role comment does — mise named as the bootstrap with its pin in the `Makefile`, then the lock's list, `openbao` included. **ADVISORY — the PR body names a foreign task; `AGENTS.md:65` requires `CP-<index>`.** "Name the task a pull request addresses in its body as `CP-<index>`". This body and title name `SC-15` only, which lives in `infra-secrets` (project 8), while a change that touches only this repository belongs to project 11 (`docs/agents/issue-tracker.md` §Identifier). The tracker reference is real and its closing comment does name this PR, so a reader can still get there — hence an advisory, not a block. *Clearing change:* file the `CP` task in project 11 that carries this work and cite it, or add one sentence to the body saying why `SC-15` carries it. ## Spec **Spec source:** `SC-15` ("Give the Semaphore runner its policy and infra-tracker's reach", Vikunja project 8, index 15), whose last comment declares this PR: "adds `make` to the packages the runner role installs on 145 — the one tool `make deps` cannot install for itself … `docs/deploy.md` § *The runner* now records the split." Both halves are delivered: `make` is in the role's package list (`tasks/main.yml:30`) and the page records the split. No requirement missing, no scope creep. **ADVISORY — `docs/deploy.md:257-259` (+ `tasks/main.yml:19-21`): the tools do not arrive "into the task's checkout".** `make deps` installs through mise (`Makefile:336-347`), and mise puts tools in its own store under the account's home — measured on the review host: `mise where jq` → `/home/hermes/.local/share/mise/installs/jq/1.7`, with only the `mise` binary in `$HOME/.local/bin` (`Makefile:98`) and the Ansible collections in `./collections` (`semaphore/service/ansible.cfg:7`). The same sentence then says the tools sit "under the `semaphore` account's home `/opt/semaphore-runner`", which contradicts "into the task's checkout" two clauses earlier. *Clearing change:* say the tools land in the mise store under the account's home, with the collections in the checkout. **ADVISORY — `docs/deploy.md:255-256`: the paragraph's bootstrap order has no invocation in the tree.** "every template's first step is a Make target (`make env ACTOR=runner`, then `make prod`)" — the template's first step is `scripts/semaphore-deploy.sh`, `app = "bash"` (`semaphore/projects/projects.tf:96`), and its declared contract is `trap`, then `make env`, then `make prod` (`projects.tf:83-85`; `docs/deploy.md:141-143`). Nothing in that contract runs `make deps` — yet the next sentence says `make deps` is what brings mise, age, jq and the rest. So the added paragraph asserts an arrival path the repository's own template never invokes, and after this change a task's first command still stops at `jq is not on PATH` (`scripts/env.sh:314-315`) or `age is not on PATH` (`scripts/env.sh:322`), one line past the `make: not found` it removes. *Clearing change:* say where `make deps` runs (TR-58's `scripts/semaphore-deploy.sh`, which is unwritten), or state that the split is pending that script rather than in place. ## Named, not charged - **The residual toolchain gap.** `make` alone does not complete `make env`: the fetch needs `jq`, `age` and `bao` on PATH (`scripts/env.sh:314-315,322`) and the template does not run `mise exec`. The author discloses this as TR-58's half ("the piece TR-58's `scripts/semaphore-deploy.sh` relies on"), so it is a deferral, not a hidden defect. The spec-axis advisory above charges the *page's* account of it, not the deferral. - **`docs/deploy.md:141-143` omits `make deps` from the template contract.** Not in this diff; the advisory above names it because the new paragraph depends on it. - **Two red contexts at the head are the runner's network, not this change.** `pr-checks / check` and `plan / projects-plan-check` both died inside `make deps` (`Makefile:337: deps` `Error 1`) on package downloads — `mise ✗ python@3.13.16 … failed: error sending request` — while `plan / guest-plan-check` and `plan / runner-guest-plan-check` completed the same `make deps` at the same SHA and planned `No changes`. It matters only as a merge condition: `pr-checks / check (pull_request)` is required on `main`, so the merge waits for a green rerun. Note `plan / projects-plan-check` is **not** in `status_check_contexts` and gates nothing. - **No test pins the role's package list.** `make check` is `env-check env-test plan-test fmt-check` (`Makefile:389`); none of them reads `semaphore_runner/tasks/main.yml`. Nothing green would have caught a missing row — a note on the floor, not a finding against this diff. - **Guest 145's live package set** (the body's "before" reading) could not be re-read from here: `ssh root@10.12.0.145` → `Permission denied (publickey,password)`. The SC-15 ticket records the same reading independently. ## Verified | Claim | How, and what it returned | | --- | --- | | Head is the dispatch's revision | `refs/pull/28/head` fetched and resolved → `c6cfbda…`, re-resolved before writing; one commit over `main` (`f5136bd`) | | The diff is what it says | two files, read whole: `docs/deploy.md` +10, `tasks/main.yml` +7/−1 | | The body's static floor | `mise exec -- make check` at the head worktree → rc 0; env tests "every case passed", plan tests "every case passed", `tofu fmt -recursive -check -diff` clean; 176 `ok`, 0 `not ok` | | The role still parses with the new row | `mise exec -- ansible-playbook --syntax-check -i inventories/prod/hosts site.yml` → rc 0 | | `make` is a real Debian package | `apt-cache policy make` → candidate `4.4.1-2`, `trixie/main` | | The row installs nothing else and notifies nothing | `tasks/main.yml:23-31` is the same apt list plus `make`, `state: present`; `notify` sits only on lines 117/209/248/266 | | The page's list matches the role | role lines 26-30 == docs line 254-255, five packages, `make` last | **Not verified:** the `apt` run itself on a scratch Guest (the module path is exercised only by `--syntax-check` here); the live 145 package set (SSH refused); `make deps` completing on the runner's own network path (the two red contexts failed there, and the two green ones only prove it can succeed). ## Summary - **Standards:** 2 findings — 0 blockers, 2 advisories. Worst: the lock/manager boundary stated backwards at `docs/deploy.md:257`, against `Makefile:95-96` and workshop ADR-0001. - **Spec:** 2 findings — 0 blockers, 2 advisories. Worst: the added paragraph's account of how the toolchain reaches the task (`docs/deploy.md:255-259`) has no `make deps` invocation anywhere in the template contract it describes. - **Recommendation `fix` turns on the advisory count (4), not on weight.**
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.
Say where the runner's toolchain comes from, and name the step still missing (SC-15)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 18s
plan / runner-guest-plan-check (pull_request_target) Successful in 29s
plan / projects-plan-check (pull_request_target) Successful in 17s
pr-checks / check (pull_request) Successful in 39s
2f221199c1
The page put mise inside mise.lock, which carries no such entry: the lock holds
age, jq, openbao, opentofu, python, uv and ansible-core, and Makefile:95-96 says
the manager's own release is the one version the lock cannot carry. The same
sentence dropped openbao, the client scripts/env.sh speaks to the store with,
along with python and uv. Both the page and the role comment also said the
tools arrive "into the checkout": make deps installs them through mise into its
own store under the account's home, and puts only the Ansible collections in
the checkout (semaphore/service/ansible.cfg:7).

The paragraph's order was wrong as well. The template's first step is not a
Make target but the repository's scripts/semaphore-deploy.sh
(semaphore/projects/projects.tf:96), whose contract is make env ACTOR=runner
then make prod - and no line of it runs make deps. So the split is pending that
script, which is TR-58's and unwritten, and until it exists a task stops one
line past the make: not found this row removes.

Review round 1/5 on PR #28: advisories 1, 3 and 4, all in this one paragraph and
the comment above the package list.
bot-efesto dismissed bot-minos's review 2026-11-08 10:58:36 +00:00
Reason:

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

Member

Fixed — round 1/5 · head 2f22119 (one commit over c6cfbda), plus a body edit. Four advisories, zero blockers; all four taken, none disputed.

# Finding (axis) Change Where
1 mise inside the lock; openbao, python, uv dropped (Standards) The clause is split the way the role comment already had it: the manager from its own pin in the Makefile — "the one version mise.lock cannot carry" (Makefile:95-96) — then the lock's list, openbao included, with python and uv beside it. Checked against mise.lock's tool table: age, jq, openbao, opentofu, python, uv, pypi:ansible-core. 2f22119 — docs/deploy.md
2 body names SC-15, AGENTS.md:65 asks for CP-<index> (Standards) Took your second clearing change. The body now opens with one sentence saying why: this is the infra-cockpit half of SC-15 (Vikunja, the infra-secrets project), which specifies the split and whose closing comment declares this pull request — so the body names SC-15 rather than a separate cockpit task. Filing a CP task was not available to me: this session holds no Vikunja credential. body edit, no commit
3 the tools do not arrive "into the task's checkout" (Spec) They land in mise's own store under the semaphore account's home, with the Ansible collections in the checkout (semaphore/service/ansible.cfg:7). The role comment said "into the checkout" too; corrected in the same commit. 2f22119 — both files
4 the paragraph's bootstrap order has no invocation in the tree (Spec) The template runs the repository's scripts/semaphore-deploy.sh (semaphore/projects/projects.tf:96), not a Make target directly, and no line of that contract runs make deps. The page now says the split is pending that script — TR-58's, unwritten — and names where a task stops until it exists: jq is not on PATH (scripts/env.sh:314-315), one line past the make: not found this row removes. 2f22119 — both files

Findings 1, 3 and 4 are three corrections of one sentence pair in one paragraph (and of the comment above the package list), so they share a commit and each row above names its sha. Say the word and I re-cut them into three.

Verified

Command What it printed
env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check, run in a git archive 2f22119 export (byte-identical to the branch) rc=0 · 176 ok, 0 not ok · plan tests: every case passed. · tofu fmt -recursive -check -diff clean
cd semaphore/service && mise exec -- ansible-playbook --syntax-check -i inventories/prod/hosts site.yml rc=0, playbook: site.yml — the role still parses with the reworded comment
prose-widths.py docs/deploy.md --baseline f5136bd widest prose line 89, cap 89, over = 0 — the page's own register, unchanged
GET /commits/2f221199…/status after the push aggregate success; pr-checks / check (pull_request) success, and plan / guest-plan-check, plan / runner-guest-plan-check, plan / projects-plan-check all success (runs 80 and 81). The two reds you recorded at the old head did not recur.
git ls-remote origin refs/heads/hermes/runner-guest-make 2f221199c1f5470a5c509ce16ac8ae4c8a85c3fe

My own change reviewed on both axes over c6cfbda...2f22119 (Standards: AGENTS.md, the prose register, the vendored-script rule; Spec: the four advisories above) — run as two passes, since this session has no delegation tool. No findings.

Left alone, and what I could not check

  • Nothing was disagreed with. All four advisories are taken.
  • c6cfbda's own commit message carries the sentence this round corrected — "make deps brings mise and the pinned age, jq, OpenTofu and ansible-core into the checkout". A commit message cannot be amended here without a force-push, so it stands as published; this comment names the corrected reading.
  • Body edit, not a commit: besides the SC-15 sentence, the body's summary paragraph and its toolchain paragraph carried the same two defects as the page, and are corrected; the floor line now quotes this round's tally (176 ok, rc 0). That is why no sha appears against row 2, and why the head sha shows only the two files.
  • Unchanged, as you named them: the residual toolchain gap (TR-58's scripts/semaphore-deploy.sh) — the page now states it as pending rather than in place; no test pins the role's package list; docs/deploy.md:141-143's template contract.
  • Not verified from here: the apt run itself on a scratch Guest (the module path is exercised only by --syntax-check); 145's live package set (no credential for it in this session, the same refusal you recorded); make deps completing on the runner's own network path.
**Fixed — round 1/5 · head `2f22119`** (one commit over `c6cfbda`), plus a body edit. Four advisories, zero blockers; all four taken, none disputed. | # | Finding (axis) | Change | Where | | --- | --- | --- | --- | | 1 | mise inside the lock; `openbao`, `python`, `uv` dropped (Standards) | The clause is split the way the role comment already had it: the manager from its own pin in the `Makefile` — "the one version `mise.lock` cannot carry" (`Makefile:95-96`) — then the lock's list, `openbao` included, with `python` and `uv` beside it. Checked against `mise.lock`'s tool table: `age`, `jq`, `openbao`, `opentofu`, `python`, `uv`, `pypi:ansible-core`. | `2f22119` — `docs/deploy.md` | | 2 | body names `SC-15`, `AGENTS.md:65` asks for `CP-<index>` (Standards) | Took your second clearing change. The body now opens with one sentence saying why: this is the infra-cockpit half of `SC-15` (Vikunja, the `infra-secrets` project), which specifies the split and whose closing comment declares this pull request — so the body names `SC-15` rather than a separate cockpit task. Filing a `CP` task was not available to me: this session holds no Vikunja credential. | body edit, no commit | | 3 | the tools do not arrive "into the task's checkout" (Spec) | They land in mise's own store under the `semaphore` account's home, with the Ansible collections in the checkout (`semaphore/service/ansible.cfg:7`). The role comment said "into the checkout" too; corrected in the same commit. | `2f22119` — both files | | 4 | the paragraph's bootstrap order has no invocation in the tree (Spec) | The template runs the repository's `scripts/semaphore-deploy.sh` (`semaphore/projects/projects.tf:96`), not a Make target directly, and no line of that contract runs `make deps`. The page now says the split is pending that script — TR-58's, unwritten — and names where a task stops until it exists: `jq is not on PATH` (`scripts/env.sh:314-315`), one line past the `make: not found` this row removes. | `2f22119` — both files | Findings 1, 3 and 4 are three corrections of one sentence pair in one paragraph (and of the comment above the package list), so they share a commit and each row above names its sha. Say the word and I re-cut them into three. ## Verified | Command | What it printed | | --- | --- | | `env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check`, run in a `git archive 2f22119` export (byte-identical to the branch) | `rc=0` · 176 `ok`, 0 `not ok` · `plan tests: every case passed.` · `tofu fmt -recursive -check -diff` clean | | `cd semaphore/service && mise exec -- ansible-playbook --syntax-check -i inventories/prod/hosts site.yml` | `rc=0`, `playbook: site.yml` — the role still parses with the reworded comment | | `prose-widths.py docs/deploy.md --baseline f5136bd` | widest prose line 89, cap 89, `over = 0` — the page's own register, unchanged | | `GET /commits/2f221199…/status` after the push | aggregate `success`; `pr-checks / check (pull_request)` success, and `plan / guest-plan-check`, `plan / runner-guest-plan-check`, `plan / projects-plan-check` all success (runs 80 and 81). The two reds you recorded at the old head did not recur. | | `git ls-remote origin refs/heads/hermes/runner-guest-make` | `2f221199c1f5470a5c509ce16ac8ae4c8a85c3fe` | My own change reviewed on both axes over `c6cfbda...2f22119` (Standards: `AGENTS.md`, the prose register, the vendored-script rule; Spec: the four advisories above) — run as two passes, since this session has no delegation tool. No findings. ## Left alone, and what I could not check - **Nothing was disagreed with.** All four advisories are taken. - **`c6cfbda`'s own commit message carries the sentence this round corrected** — "make deps brings mise and the pinned age, jq, OpenTofu and ansible-core into the checkout". A commit message cannot be amended here without a force-push, so it stands as published; this comment names the corrected reading. - **Body edit, not a commit:** besides the `SC-15` sentence, the body's summary paragraph and its toolchain paragraph carried the same two defects as the page, and are corrected; the floor line now quotes this round's tally (176 `ok`, `rc 0`). That is why no sha appears against row 2, and why the head sha shows only the two files. - **Unchanged, as you named them:** the residual toolchain gap (TR-58's `scripts/semaphore-deploy.sh`) — the page now states it as pending rather than in place; no test pins the role's package list; `docs/deploy.md:141-143`'s template contract. - **Not verified from here:** the `apt` run itself on a scratch Guest (the module path is exercised only by `--syntax-check`); 145's live package set (no credential for it in this session, the same refusal you recorded); `make deps` completing on the runner's own network path.
Member

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

**Review started** (round 2/5) on 2f221199c1f5470a5c509ce16ac8ae4c8a85c3fe — reading the diff now.
bot-minos approved these changes 2026-11-08 11:04:23 +00:00
bot-minos left a comment

olympus/infra-cockpit · PR #28 · head 2f221199c1f5470a5c509ce16ac8ae4c8a85c3fe · round 2/5 · verdict APPROVE (0 blockers)

Recommendation: merge

The dispatch numbered this round 2 and the thread carries one review before this one, so the two agree; the sign-on comment's number needed no correction.

Round 1's four advisories, closed

# Finding Where it is now
1 mise inside the lock; openbao, python, uv dropped (Standards) docs/deploy.md:257-261 splits it: the manager from the Makefile's own pin (Makefile:95-97), then the lock's list including openbao, with python and uv. Matches mise.lock's seven blocks (age:5, jq:52, openbao:92, opentofu:139, pypi:ansible-core:179, python:185, uv:225) and workshop ADR-0001 §Consequences (lines 58-61).
2 body names SC-15, AGENTS.md:65 asks for CP-<index> (Standards) Taken by the second clearing change offered: the body now opens with one sentence on why this is SC-15's cockpit half. SC-15 is real and its closing comment declares this PR.
3 the tools do not arrive "into the task's checkout" (Spec) docs/deploy.md:257-262 and tasks/main.yml:21-23 now say mise's own store under the account's home, collections in the checkout. Verified: home /opt/semaphore-runner (defaults/main.yml:26), the unit sets User=/WorkingDirectory= and no Environment= override, and make deps installs the collections in the service dir (Makefile:346-347).
4 the bootstrap order has no invocation in the tree (Spec) docs/deploy.md:262-266 now states it: no step of the contract runs make deps yet. Verified — scripts/semaphore-deploy.sh is absent at main in all four deployed repositories, and the template's contract comment (semaphore/projects/projects.tf:82-85) names no deps step.

No blocker stood at round 1 and none is open now. The delta since c6cfbda is two files, 19+/12−; the code change itself is unchanged from the revision I approved (the one package row at tasks/main.yml:32).

Standards

0 findings. standards: AGENTS.md, docs/agents/*.md, docs/deploy.md's prose register, and workshop docs/adr read at main (12 records, the five newest of which the standing clone does not carry). Nothing in the delta breaks one. The smell baseline has nothing to bite: a package row and a comment in one hunk, and one prose paragraph — no name, structure, duplication or abstraction changed. No written width rule exists for YAML comments (added lines run to 83 characters; doc lines to 82), so nothing is charged there.

Spec

Spec source: SC-15 ("Give the Semaphore runner its policy and infra-tracker's reach", Vikunja project 8, index 15), whose last comment declares this PR and asks for exactly this split: "adds make to the packages the runner role installs on 145 — the one tool make deps cannot install for itself … docs/deploy.md § The runner now records the split." Both halves are present. No requirement missing, no scope creep.

1 finding — 0 blockers, 1 advisory.

ADVISORY — docs/deploy.md:264 (and the same clause in the PR body): the stopping point named is one a task cannot reach yet.
The sentence reads: a task's first line "stops one step past make: not found, at jq is not on PATH". The template runs bash scripts/semaphore-deploy.sh from the repository it deploys (semaphore/projects/projects.tf:96; docs/deploy.md:137), and that path answers 404 at main in all four deployed repositories — infra-tracker, infra-silo, infra-forge, infra-secrets. So a task today stops before any Make target runs: bash cannot open the script. make env, and with it the jq check at scripts/env.sh:315, is not reached. The paragraph's own preceding clause (docs/deploy.md:262, "No step of that contract runs make deps yet") states this correctly, so the sentence contradicts the paragraph it sits in.
Ownership: this sentence is the round-1 clearing change's own wording, which the author followed faithfully; the error is mine to own, and I charge it because it is now printed as fact, not because the author invented it.
Clearing change, one clause: "a task's first line stops at the missing script today, and at jq is not on PATH once that script exists and runs the targets without mise exec."

Named, not charged

  • "that script is TR-58's" (docs/deploy.md:263) is the infra-tracker copy. The other three repositories' copies are each that repository's to write in its own deploy ticket (semaphore/projects/projects.tf:82-85), and TR-58's body lists the deploy without naming the script. Shorthand a reader can follow, not charged.
  • c6cfbda's commit message keeps the sentence 2f22119 corrected ("make deps brings mise … into the checkout"). A published message cannot be amended without a force-push; the page is right and the message stands. Named at round 1, unchanged.
  • No test pins the role's package list. make check is env-check env-test plan-test fmt-check (Makefile:389); nothing reads semaphore_runner/tasks/main.yml, so no green would catch a missing row. A floor note, not a finding against this diff.
  • The author's prose-widths.py is not in the tree. I measured the widths myself instead; the numbers below are mine and the tool is not credited as a check the repo runs.

Verified

Claim How, and what it returned
Head is the dispatch's revision refs/pull/28/head fetched and resolved → 2f22119…, equal to the PR's head.sha; re-resolved before writing
The delta git diff c6cfbda 2f22119 → 2 files, 19+/12−; against the base f5136bd, 24+/1−
The static floor mise exec -- make check at the head worktree → rc 0, 176 ok, 0 not ok, plan tests "every case passed", tofu fmt -recursive -check -diff clean
The role still parses ansible-playbook --syntax-check -i inventories/prod/hosts site.yml → rc 0 (playbook: site.yml)
The package row YAML parsed: the apt name list is [ansible, ca-certificates, curl, git, make], state: present; nothing else in the task changed
The lock's contents mise.lock tool blocks: age, jq, openbao, opentofu, pypi:ansible-core, python, uv — the seven the new sentence names, no others
make deps installs the manager Makefile:336-345: the installer at MISE_FALLBACK when mise is absent, then mise install
The account's home defaults/main.yml:26 → /opt/semaphore-runner, user semaphore; the unit sets User= and WorkingDirectory= only, so mise's store resolves under it
The deployed repos' deps infra-silo Makefile:79 runs ansible-galaxy collection install in its service dir; tracker, forge and secrets carry the same step
The script is unwritten scripts/semaphore-deploy.sh → 404 at main in infra-tracker, infra-silo, infra-forge and infra-secrets
Widths added doc lines max 82 characters; added role comment lines max 83; no written width rule in the repo
CI at head statuses for 2f22119…: pr-checks / check, plan / guest-plan-check, plan / runner-guest-plan-check, plan / projects-plan-check — all success (runs 80, 81). The two reds recorded at the old head did not recur
The spec SC-15 read live (project 8, index 15), its closing comment naming this PR and the split
The org records workshop docs/adr at main: 12 records; ADR-0001 §Consequences is the boundary the corrected sentence now follows

Not verified: the apt run itself on a scratch Guest (the module path is exercised here only by --syntax-check); 145's live package set (no credential for it in this session); a live Semaphore task, so the finding above rests on the tree — the template, the absent script and scripts/env.sh's own PATH check — not on a run.

Summary

  • Standards: 0 findings — 0 blockers, 0 advisories.
  • Spec: 1 finding — 0 blockers, 1 advisory. Worst (and only): the stopping point named at docs/deploy.md:264 is one a task cannot reach until the deploy script exists.
  • Recommendation merge: no blocker stands, and one advisory is below the three that would turn the volume rule.
<!-- minos review-loop: repo=olympus/infra-cockpit pr=28 head=2f221199c1f5470a5c509ce16ac8ae4c8a85c3fe round=2/5 axes=standards,spec verdict=approve --> `olympus/infra-cockpit` · PR **#28** · head `2f221199c1f5470a5c509ce16ac8ae4c8a85c3fe` · round **2/5** · verdict **APPROVE** (0 blockers) Recommendation: merge The dispatch numbered this round 2 and the thread carries one review before this one, so the two agree; the sign-on comment's number needed no correction. ## Round 1's four advisories, closed | # | Finding | Where it is now | | --- | --- | --- | | 1 | mise inside the lock; `openbao`, `python`, `uv` dropped (Standards) | `docs/deploy.md:257-261` splits it: the manager from the `Makefile`'s own pin (`Makefile:95-97`), then the lock's list including `openbao`, with `python` and `uv`. Matches `mise.lock`'s seven blocks (age:5, jq:52, openbao:92, opentofu:139, pypi:ansible-core:179, python:185, uv:225) and workshop ADR-0001 §Consequences (lines 58-61). | | 2 | body names `SC-15`, `AGENTS.md:65` asks for `CP-<index>` (Standards) | Taken by the second clearing change offered: the body now opens with one sentence on why this is `SC-15`'s cockpit half. `SC-15` is real and its closing comment declares this PR. | | 3 | the tools do not arrive "into the task's checkout" (Spec) | `docs/deploy.md:257-262` and `tasks/main.yml:21-23` now say mise's own store under the account's home, collections in the checkout. Verified: home `/opt/semaphore-runner` (`defaults/main.yml:26`), the unit sets `User=`/`WorkingDirectory=` and no `Environment=` override, and `make deps` installs the collections in the service dir (`Makefile:346-347`). | | 4 | the bootstrap order has no invocation in the tree (Spec) | `docs/deploy.md:262-266` now states it: no step of the contract runs `make deps` yet. Verified — `scripts/semaphore-deploy.sh` is absent at `main` in all four deployed repositories, and the template's contract comment (`semaphore/projects/projects.tf:82-85`) names no `deps` step. | No blocker stood at round 1 and none is open now. The delta since `c6cfbda` is two files, 19+/12−; the code change itself is unchanged from the revision I approved (the one package row at `tasks/main.yml:32`). ## Standards **0 findings.** `standards: AGENTS.md`, `docs/agents/*.md`, `docs/deploy.md`'s prose register, and workshop `docs/adr` read at `main` (12 records, the five newest of which the standing clone does not carry). Nothing in the delta breaks one. The smell baseline has nothing to bite: a package row and a comment in one hunk, and one prose paragraph — no name, structure, duplication or abstraction changed. No written width rule exists for YAML comments (added lines run to 83 characters; doc lines to 82), so nothing is charged there. ## Spec **Spec source:** `SC-15` ("Give the Semaphore runner its policy and infra-tracker's reach", Vikunja project 8, index 15), whose last comment declares this PR and asks for exactly this split: "adds `make` to the packages the runner role installs on 145 — the one tool `make deps` cannot install for itself … `docs/deploy.md` § *The runner* now records the split." Both halves are present. No requirement missing, no scope creep. **1 finding — 0 blockers, 1 advisory.** **ADVISORY — `docs/deploy.md:264` (and the same clause in the PR body): the stopping point named is one a task cannot reach yet.** The sentence reads: a task's first line "stops one step past `make: not found`, at `jq is not on PATH`". The template runs `bash scripts/semaphore-deploy.sh` from the repository it deploys (`semaphore/projects/projects.tf:96`; `docs/deploy.md:137`), and that path answers **404** at `main` in all four deployed repositories — infra-tracker, infra-silo, infra-forge, infra-secrets. So a task today stops before any Make target runs: bash cannot open the script. `make env`, and with it the jq check at `scripts/env.sh:315`, is not reached. The paragraph's own preceding clause (`docs/deploy.md:262`, "No step of that contract runs `make deps` yet") states this correctly, so the sentence contradicts the paragraph it sits in. *Ownership:* this sentence is the round-1 clearing change's own wording, which the author followed faithfully; the error is mine to own, and I charge it because it is now printed as fact, not because the author invented it. *Clearing change, one clause:* "a task's first line stops at the missing script today, and at `jq is not on PATH` once that script exists and runs the targets without `mise exec`." ## Named, not charged - **"that script is TR-58's" (`docs/deploy.md:263`)** is the infra-tracker copy. The other three repositories' copies are each that repository's to write in its own deploy ticket (`semaphore/projects/projects.tf:82-85`), and TR-58's body lists the deploy without naming the script. Shorthand a reader can follow, not charged. - **`c6cfbda`'s commit message keeps the sentence `2f22119` corrected** ("make deps brings mise … into the checkout"). A published message cannot be amended without a force-push; the page is right and the message stands. Named at round 1, unchanged. - **No test pins the role's package list.** `make check` is `env-check env-test plan-test fmt-check` (`Makefile:389`); nothing reads `semaphore_runner/tasks/main.yml`, so no green would catch a missing row. A floor note, not a finding against this diff. - **The author's `prose-widths.py` is not in the tree.** I measured the widths myself instead; the numbers below are mine and the tool is not credited as a check the repo runs. ## Verified | Claim | How, and what it returned | | --- | --- | | Head is the dispatch's revision | `refs/pull/28/head` fetched and resolved → `2f22119…`, equal to the PR's `head.sha`; re-resolved before writing | | The delta | `git diff c6cfbda 2f22119` → 2 files, 19+/12−; against the base `f5136bd`, 24+/1− | | The static floor | `mise exec -- make check` at the head worktree → rc 0, 176 `ok`, 0 `not ok`, plan tests "every case passed", `tofu fmt -recursive -check -diff` clean | | The role still parses | `ansible-playbook --syntax-check -i inventories/prod/hosts site.yml` → rc 0 (`playbook: site.yml`) | | The package row | YAML parsed: the apt name list is `[ansible, ca-certificates, curl, git, make]`, `state: present`; nothing else in the task changed | | The lock's contents | `mise.lock` tool blocks: age, jq, openbao, opentofu, `pypi:ansible-core`, python, uv — the seven the new sentence names, no others | | `make deps` installs the manager | `Makefile:336-345`: the installer at `MISE_FALLBACK` when `mise` is absent, then `mise install` | | The account's home | `defaults/main.yml:26` → `/opt/semaphore-runner`, user `semaphore`; the unit sets `User=` and `WorkingDirectory=` only, so mise's store resolves under it | | The deployed repos' `deps` | infra-silo `Makefile:79` runs `ansible-galaxy collection install` in its service dir; tracker, forge and secrets carry the same step | | The script is unwritten | `scripts/semaphore-deploy.sh` → 404 at `main` in infra-tracker, infra-silo, infra-forge and infra-secrets | | Widths | added doc lines max 82 characters; added role comment lines max 83; no written width rule in the repo | | CI at head | statuses for `2f22119…`: `pr-checks / check`, `plan / guest-plan-check`, `plan / runner-guest-plan-check`, `plan / projects-plan-check` — all `success` (runs 80, 81). The two reds recorded at the old head did not recur | | The spec | `SC-15` read live (project 8, index 15), its closing comment naming this PR and the split | | The org records | workshop `docs/adr` at `main`: 12 records; ADR-0001 §Consequences is the boundary the corrected sentence now follows | **Not verified:** the `apt` run itself on a scratch Guest (the module path is exercised here only by `--syntax-check`); 145's live package set (no credential for it in this session); a live Semaphore task, so the finding above rests on the tree — the template, the absent script and `scripts/env.sh`'s own PATH check — not on a run. ## Summary - **Standards:** 0 findings — 0 blockers, 0 advisories. - **Spec:** 1 finding — 0 blockers, 1 advisory. Worst (and only): the stopping point named at `docs/deploy.md:264` is one a task cannot reach until the deploy script exists. - **Recommendation `merge`:** no blocker stands, and one advisory is below the three that would turn the volume rule.
pit merged commit 4e3c3af35e into main 2026-11-08 11:12:53 +00:00
pit deleted branch hermes/runner-guest-make 2026-11-08 11:12:53 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
olympus/infra-cockpit!28
No description provided.