A merge to main deploys the store, and the runner brings its own key (SC-19) #59

Merged
pit merged 11 commits from hermes/SC-19-deploy-on-merge into main 2026-11-23 12:54:30 +00:00
Owner

paperclip:THE-14

Summary

SC-19 (Vikunja 278): a merge to main deploys the OpenBao Guest (144) through Semaphore, with nobody at a terminal. It is the shape infra-tracker (#60, #62, #63) and infra-forge (#104, #105, #106) already run, and the tracker's files are the template: the script, the workflow and their suites are copies with the names changed.

Commit What
52ccbc4 make prod is PROD_STEPS := snapshot guest service verify and stops at the first failure; a command-line NONINTERACTIVE=1 reaches every step. make snapshot takes predeploy-<date>-<time> on the Guest it reads from the Stack's own state and keeps the newest three. Neither Target existed here, and the deploy script calls both.
47e9f3c to 19c0526 The review's round-1 fixes: the agent's start is checked before eval, verify reads the store up to 12 times five seconds apart and the task body verifies once (prod already ends in verify), snapshot.sh names the task that took the restore point, AGENTS.md and the key comments say what the deploy reaches, and a bounded verify suite joins deploy-test.
34098bb .forgejo/workflows/deploy.yml (push to main, group secrets-deploy, no cancel, failure mail on), scripts/semaphore-deploy.sh (the template's playbook, which infra-cockpit's projects Stack already names), the runner's SSH key, docs/deploy.md, and the suites.
e5cd894, ad6e827 The restore point names the task by its id (SEMAPHORE_TASK_DETAILS_ID, read in 2.19.16's source and not yet seen in a live task), docs/deploy.md says where it comes from, and the workflow suite pins the checkout step before the install: a mutant had removed it and the suite stayed green.
3183a72 prod-test pins the label prod hands its steps: the round-2 review's mutant (prod wrapped in env -u DEPLOY_RUN) leaves the step reading run=[] and reds the suite at this head, and was green at ad6e827.

The runner's account on 145 has no SSH agent, and make service is Ansible over SSH as root, so the service step would end Permission denied (publickey) as the tracker's first deploy did. The key is one new env.map row served to the runner alone (secret/services/semaphore/deploy-ssh), and a macro in the service preamble loads it into an agent the recipe starts and kills, on standard input.

 .forgejo/workflows/deploy.yml            |  new   push -> Semaphore task, followed
 scripts/semaphore-deploy.sh              |  new   task body on 145, `start` for the job
 Makefile                                 |  prod, snapshot, ssh_agent_from_env, deploy-test
 env.map / .env.example                   |  one runner-only row: SEMAPHORE_SSH_KEY
 scripts/snapshot.sh, guest-vmid.sh       |  new   the tracker's, for 144
 scripts/tests/ (7 files)                 |  new   suites; run.sh: the runner case reads 4 names
 docs/deploy.md                           |  new   what a merge runs, what a red looks like

Evidence

Check Result
mise exec -- make check at 3183a72 exit 0, 557 ok, no FAIL (554 at 19c0526)
prod-test / snapshot-test 8 / 32 assertions, 0 failed
deploy-test: semaphore-deploy, deploy-workflow, service-key, verify 63 / 50 / 33 / 9 assertions, 0 failed; service-key includes a real ssh-agent with a throwaway key and asserts the agent is gone afterwards
env-test, runner case now four names, three paths, none from the age class; the Operator and the secrets login are served none of the new row
Runner rows against the committed policy (bao/policies/automation-runner.hcl) 3 rows serve runner, 0 not readable, the SSH-key row included
The deploy template's playbook infra-cockpit's semaphore/projects/projects.tf names playbook = "scripts/semaphore-deploy.sh", and its variables.tf lists infra-secrets among the repositories
Actions Variables on this repository SEMAPHORE_PROJECT_ID 4, SEMAPHORE_TEMPLATE_ID 7, both present
Store login the secrets JWT role, its policy ci-secrets and the record secret/ci/secrets/semaphore-api (version 2, 7 Nov) are in the live store, read 17 Nov. The committed docs said the store gains the role on the service role's first run; the live read says the role is there. A login with a malformed token answers a token-validation error, which is what a role that exists answers
Guest 144, read live running; rootfs on fast-storage, no mount points, so /opt/openbao/data is inside a snapshot; no snapshot yet
plan / guest-plan-check on 34098bb success, and its log says No changes. Your infrastructure matches the configuration. No in-place change, so no reboot the runner's token cannot make
The runner, read live on 145 every binary the task calls is present, an ssh-agent starts, git ls-remote of this repository over HTTPS answers main, and the three env.map runner rows exist in the store with exactly the field names they ask for, readable by the live automation-runner policy. The runner's token holds TofuGuestInPlace (with VM.Snapshot) on /vms/144
Whole make prod NONINTERACTIVE=1, offline, under a Semaphore task's environment exit 0, on the tree at ad6e827 (one test-only commit since). The skill's rehearse-runner.sh, adapted to this repository: a cleared environment holding only PROXMOX_VE_ENDPOINT and the runner's four names, stubs for tofu, ansible-playbook, the Proxmox API and the health URL. The steps ran in order: snapshot (a POST to lxc/144 on burns), guest (plan, judge, apply of the saved plan), service (the rehearsal and the real run both found the key in an agent), verify. The key text is in no log, and the host's ssh-agent count is the same before and after

Not run, and the first merge is the evidence for each: the OIDC exchange on a push; the task's start and poll against the live Semaphore; that make service-check from main reports changed=0 afterwards; that a documentation-only merge deploys as a no-op. The suites' claims are pinned by the skill's planted-defect harness (mutants-deploy.py) over copies of the tree, run at 3183a72: 54 mutants, 49 red. Four stay green — a semaphore-idle step added to the job (moot since THE-14's amendment), the Semaphore URL's default, and two snapshot.sh guards that fail closed anyway — and one no longer applies, because it removes a make verify call the task body no longer makes separately: make prod ends in verify. The checkout defect was green until ad6e827 pinned it. The rehearsal above finds script and environment reds only; what the live plans and the --check run find on 144 is the first merge's to say.

Merge Danger

Door: the merge is the first automated deploy to PROD of the OpenBao Guest, and nobody approves it afterwards (workshop ADR-0009). A backup exists: the nightly vzdump of 144 on the NAS, latest vzdump-lxc-144-2026_11_17-02_30_30.tar.zst, and the deploy takes a predeploy-* snapshot before it applies. That snapshot sits on the Guest's own storage, so it is a restore point and not a backup. Rolling 144 back to it has no procedure in this repository.

Blast radius: the store is what every other deploy's make env reads. A service-layer change that rewrites the environment file restarts OpenBao (restart openbao); the unit unseals on start, and for those seconds another repository's make env login fails. The deploy acts as the store's root through the service layer, the risk SC-19 accepted on 2026-11-09 and docs/store-identity.md records. A rollback to predeploy-* returns the store's values and leases to that moment. A snapshot the task's own body takes is described with the repository, the commit and the Semaphore deploy task <id>; one taken by hand reads by hand, by <user>.

Order: none with another pull request. The new make targets (prod, snapshot, snapshot-test, prod-test, deploy-test) owe rows on olympus/workshop's docs/agents/make-targets.md, which is a companion change and is not opened here.

Prose in this body is agent-written (Hermes).

Refs: THE-14, SC-19 (Vikunja 278), TR-58, FO-50

paperclip:THE-14 ## Summary SC-19 ([Vikunja 278](https://vikunja.thepit.space/tasks/278)): a merge to `main` deploys the OpenBao Guest (144) through Semaphore, with nobody at a terminal. It is the shape infra-tracker (#60, #62, #63) and infra-forge (#104, #105, #106) already run, and the tracker's files are the template: the script, the workflow and their suites are copies with the names changed. | Commit | What | | --- | --- | | `52ccbc4` | `make prod` is `PROD_STEPS := snapshot guest service verify` and stops at the first failure; a command-line `NONINTERACTIVE=1` reaches every step. `make snapshot` takes `predeploy-<date>-<time>` on the Guest it reads from the Stack's own state and keeps the newest three. Neither Target existed here, and the deploy script calls both. | | `47e9f3c` to `19c0526` | The review's round-1 fixes: the agent's start is checked before `eval`, `verify` reads the store up to 12 times five seconds apart and the task body verifies once (prod already ends in verify), `snapshot.sh` names the task that took the restore point, AGENTS.md and the key comments say what the deploy reaches, and a bounded `verify` suite joins `deploy-test`. | | `34098bb` | `.forgejo/workflows/deploy.yml` (push to `main`, group `secrets-deploy`, no cancel, failure mail on), `scripts/semaphore-deploy.sh` (the template's playbook, which `infra-cockpit`'s projects Stack already names), the runner's SSH key, `docs/deploy.md`, and the suites. | | `e5cd894`, `ad6e827` | The restore point names the task by its id (`SEMAPHORE_TASK_DETAILS_ID`, read in 2.19.16's source and not yet seen in a live task), `docs/deploy.md` says where it comes from, and the workflow suite pins the checkout step before the install: a mutant had removed it and the suite stayed green. | | `3183a72` | `prod-test` pins the label `prod` hands its steps: the round-2 review's mutant (`prod` wrapped in `env -u DEPLOY_RUN`) leaves the step reading `run=[]` and reds the suite at this head, and was green at `ad6e827`. | The runner's account on 145 has no SSH agent, and `make service` is Ansible over SSH as root, so the service step would end `Permission denied (publickey)` as the tracker's first deploy did. The key is one new `env.map` row served to the runner alone (`secret/services/semaphore/deploy-ssh`), and a macro in the service preamble loads it into an agent the recipe starts and kills, on standard input. ```text .forgejo/workflows/deploy.yml | new push -> Semaphore task, followed scripts/semaphore-deploy.sh | new task body on 145, `start` for the job Makefile | prod, snapshot, ssh_agent_from_env, deploy-test env.map / .env.example | one runner-only row: SEMAPHORE_SSH_KEY scripts/snapshot.sh, guest-vmid.sh | new the tracker's, for 144 scripts/tests/ (7 files) | new suites; run.sh: the runner case reads 4 names docs/deploy.md | new what a merge runs, what a red looks like ``` ## Evidence | Check | Result | | --- | --- | | `mise exec -- make check` at `3183a72` | exit 0, 557 `ok`, no FAIL (554 at `19c0526`) | | `prod-test` / `snapshot-test` | 8 / 32 assertions, 0 failed | | `deploy-test`: `semaphore-deploy`, `deploy-workflow`, `service-key`, `verify` | 63 / 50 / 33 / 9 assertions, 0 failed; `service-key` includes a real `ssh-agent` with a throwaway key and asserts the agent is gone afterwards | | `env-test`, runner case | now four names, three paths, none from the age class; the Operator and the `secrets` login are served none of the new row | | Runner rows against the committed policy (`bao/policies/automation-runner.hcl`) | 3 rows serve `runner`, 0 not readable, the SSH-key row included | | The deploy template's playbook | `infra-cockpit`'s `semaphore/projects/projects.tf` names `playbook = "scripts/semaphore-deploy.sh"`, and its `variables.tf` lists `infra-secrets` among the repositories | | Actions Variables on this repository | `SEMAPHORE_PROJECT_ID` 4, `SEMAPHORE_TEMPLATE_ID` 7, both present | | Store login | the `secrets` JWT role, its policy `ci-secrets` and the record `secret/ci/secrets/semaphore-api` (version 2, 7 Nov) are in the live store, read 17 Nov. The committed docs said the store gains the role on the service role's first run; the live read says the role is there. A login with a malformed token answers a token-validation error, which is what a role that exists answers | | Guest 144, read live | running; rootfs on `fast-storage`, no mount points, so `/opt/openbao/data` is inside a snapshot; no snapshot yet | | `plan / guest-plan-check` on `34098bb` | success, and its log says `No changes. Your infrastructure matches the configuration.` No in-place change, so no reboot the runner's token cannot make | | The runner, read live on 145 | every binary the task calls is present, an `ssh-agent` starts, `git ls-remote` of this repository over HTTPS answers `main`, and the three `env.map` runner rows exist in the store with exactly the field names they ask for, readable by the live `automation-runner` policy. The runner's token holds `TofuGuestInPlace` (with `VM.Snapshot`) on `/vms/144` | | Whole `make prod NONINTERACTIVE=1`, offline, under a Semaphore task's environment | exit 0, on the tree at `ad6e827` (one test-only commit since). The skill's `rehearse-runner.sh`, adapted to this repository: a cleared environment holding only `PROXMOX_VE_ENDPOINT` and the runner's four names, stubs for `tofu`, `ansible-playbook`, the Proxmox API and the health URL. The steps ran in order: `snapshot` (a POST to `lxc/144` on `burns`), `guest` (plan, judge, apply of the saved plan), `service` (the rehearsal and the real run both found the key in an agent), `verify`. The key text is in no log, and the host's `ssh-agent` count is the same before and after | **Not run, and the first merge is the evidence for each:** the OIDC exchange on a push; the task's start and poll against the live Semaphore; that `make service-check` from `main` reports `changed=0` afterwards; that a documentation-only merge deploys as a no-op. The suites' claims are pinned by the skill's planted-defect harness (`mutants-deploy.py`) over copies of the tree, run at `3183a72`: 54 mutants, 49 red. Four stay green — a `semaphore-idle` step added to the job (moot since THE-14's amendment), the Semaphore URL's default, and two `snapshot.sh` guards that fail closed anyway — and one no longer applies, because it removes a `make verify` call the task body no longer makes separately: `make prod` ends in verify. The checkout defect was green until `ad6e827` pinned it. The rehearsal above finds script and environment reds only; what the live plans and the `--check` run find on 144 is the first merge's to say. ## Merge Danger **Door:** the merge is the first automated deploy to PROD of the OpenBao Guest, and nobody approves it afterwards (workshop ADR-0009). A backup exists: the nightly `vzdump` of 144 on the NAS, latest `vzdump-lxc-144-2026_11_17-02_30_30.tar.zst`, and the deploy takes a `predeploy-*` snapshot before it applies. That snapshot sits on the Guest's own storage, so it is a restore point and not a backup. Rolling 144 back to it has no procedure in this repository. **Blast radius:** the store is what every other deploy's `make env` reads. A service-layer change that rewrites the environment file restarts OpenBao (`restart openbao`); the unit unseals on start, and for those seconds another repository's `make env` login fails. The deploy acts as the store's root through the service layer, the risk SC-19 accepted on 2026-11-09 and `docs/store-identity.md` records. A rollback to `predeploy-*` returns the store's values and leases to that moment. A snapshot the task's own body takes is described with the repository, the commit and `the Semaphore deploy task <id>`; one taken by hand reads `by hand, by <user>`. **Order:** none with another pull request. The new `make` targets (`prod`, `snapshot`, `snapshot-test`, `prod-test`, `deploy-test`) owe rows on `olympus/workshop`'s `docs/agents/make-targets.md`, which is a companion change and is not opened here. Prose in this body is agent-written (Hermes). Refs: THE-14, SC-19 (Vikunja 278), TR-58, FO-50
make prod is snapshot, guest, service, verify, stopping at the first failure,
and a command-line NONINTERACTIVE=1 reaches every step. make snapshot takes
predeploy-<date>-<time> on the Guest it reads from the Guest Stack's own state,
then keeps the newest three. No ticket carries either Target for this
repository; the deploy script calls both.
A merge to main deploys the store, and the runner brings its own key (SC-19)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 19s
pr-checks / check (pull_request) Successful in 43s
34098bb487
deploy.yml starts the deploy on Semaphore and follows the task;
scripts/semaphore-deploy.sh is the template's playbook and runs make prod
NONINTERACTIVE=1 then make verify. The runner's SSH key reaches the service
layer through an agent make service starts and kills, from one new env.map row
only the runner is served. The suites that prove each are in make check.
Member

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

**Review started** (round 1/5) on 34098bb48708f9904ff88c67177c60b521ffb5e7 — reading the diff now.
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.
bot-minos requested changes 2026-11-17 11:24:24 +00:00
Dismissed
bot-minos left a comment

repo=olympus/infra-secrets pr=59 head=34098bb48708f9904ff88c67177c60b521ffb5e7 round=1/5 verdict=fix

Recommendation: fix

Verdict: REQUEST_CHANGES. Blockers: 0. Advisories: 7, plus 1 nit. The recommendation turns on the count (three or more advisories), not on the weight of any one finding. No finding is a defect that breaks a claim the change makes, and the repo's own floor is green. The hold on this tier-1 change lives on THE-105 (board, assigned to Zeus, read back as todo); the state follows the findings here, as the dispatch directs. Merging remains the board's gate (pit merges).

This review replaces an earlier posting of the same round, deleted and reposted because the PR body changed while I was reviewing. The findings and counts are unchanged. The section "What I could not verify" now names the body's new rehearsal claim.

Scope: 16 files, +2108/-8 against 71c5f89. Round 1: no prior reviews on the PR, so the ledger count is 0 standing.
Spec: THE-14, read live (Paperclip GET /api/issues/THE-14, 200, 2026-11-17 about 11:13). SC-19 (Vikunja 278) was not readable: GET /projects answered 401 to the profile token.
Standards read: AGENTS.md; workshop docs/adr 0002, 0004, 0008 to 0013; workshop docs/agents/make-targets.md; bao/policies automation-runner.hcl, ci-cockpit.hcl, ci-secrets.hcl; docs/store-identity.md.

Standards

ID Sev Where Finding and clearing
ST-1 ADVISORY AGENTS.md:30-31 (plan paragraph); AGENTS.md:11 (Checks) Now false: "Nothing else runs automatically, no fetch, no write to the store." deploy.yml:66-70 runs on every push to main and fetches the environment. The Checks list also omits the suites Makefile:392 adds to check (snapshot-test, prod-test, deploy-test, service-key). Clearing: update both sentences.
ST-2 ADVISORY workshop docs/agents/make-targets.md:6 ("one row per target") prod, snapshot, snapshot-test, prod-test and deploy-test (Makefile:102 and the target definitions) have no rows. The body says the rows are owed in an unopened companion. Clearing: link the companion PR.
ST-3 ADVISORY env.map:53-55; .env.example:39; scripts/tests/service-key.test.sh:5 The comments say the key is root "on the Guest the service layer dials". That is true of 144 and silent on the rest. docs/store-identity.md:162 and bao/policies/ci-cockpit.hcl:12 record it as root on 141, 142, 144, 146 and 150. Clearing: name the five Guests and cite the page. The reach itself is THE-105 question 2.
N-1 nit scripts/semaphore-deploy.sh:99 make verify runs again after make prod, whose PROD_STEPS (Makefile:102) already ends in verify. Drop one of the two.

Spec

ID Sev Where Finding and clearing
S-1 ADVISORY .forgejo/workflows/deploy.yml:30 ("Not here: make semaphore-idle"); deploy.yml:66-70; scripts/tests/deploy-workflow.sh:218 THE-14 "What the workflow must carry" requires make semaphore-idle before the deploy, and make prod NONINTERACTIVE=1 in the job. The body argues both departures. The family shape matches: tracker and forge carry the same comment, and cockpit's template contract (semaphore/projects/projects.tf, the deploy template comment) puts make prod in the task. The suite pins the departure. Clearing: reconcile THE-14 (THE-105 question 4), or record the departure against THE-14 in docs/deploy.md.
S-2 ADVISORY Makefile:273 (eval of ssh-agent -s, no status check) The agent's start is not checked. Probe, stubs only (cache/scratch/pr59-r1-probe-agent-failure.sh): with ssh-agent failing and SSH_AUTH_SOCK set to /operator/agent, the key is loaded into that caller's agent (ssh-add -q - auth=/operator/agent). The recipe still ends red through the EXIT trap, so the probe ran no playbook. Claim it breaks: scripts/tests/service-key.test.sh:12 ("into an agent the recipe starts and kills"). Clearing: capture the start status and test it before eval, and add a case that fails the start.
S-3 ADVISORY scripts/snapshot.sh:120; docs/deploy.md:54; scripts/tests/snapshot.test.sh:176 On the path every merge takes, each restore point reads "by hand, by an unnamed user"; the body and docs/deploy.md say so. The suite sets only GITHUB_RUN_NUMBER, so this path is never tested. Clearing: name the Semaphore task as the author on that path, and test it.
S-4 ADVISORY Makefile:443-470 (verify: one curl, no retry); bao/service/roles/openbao/tasks/main.yml:127-133 and :254; bao/service/roles/openbao/handlers/main.yml:10 After service restarts OpenBao, nothing waits before verify. The restart is a handler that runs at the end of the play, after the only wait. verify is a single curl with max-time 15. A deploy that changes the environment file can go red with the apply standing. Reasoned from the play's order, not reproduced live. Clearing: a bounded retry in verify, or a wait after the restart in the role.

Class notes (not findings; for the board on THE-105)

Class note (not a finding): the deploy prunes predeploy-* restore points on every merge. ADR-0011 says a deploy never destroys anything that exists. ADR-0013 names the Deployer's snapshot and not the prune. infra-tracker runs the same prune on origin/main. Question 1 on THE-105.
Class note (not a finding): the runner key reaches five Guests (docs/store-identity.md:162). This PR is a new consumer; tracker already loads it (env.map:95 on its main). Question 2.
Class note (not a finding): the Semaphore API token crosses the LAN in cleartext (default http, TR-66 STD-2). Question 3.
Class note (not a finding): this is a tier-1 change, the first automated PROD deploy of OpenBao on 144. It is escalated; see below.

What I verified, by my hand

  • make check at 34098bb, in a worktree of the PR head: exit 0, 538 ok, zero " FAIL " lines. The four "FAILED" words are the suites' own zero-failure summaries.
  • Suite counts in the Evidence table, reproduced: prod-test 7, snapshot-test 29, semaphore-deploy 61, deploy-workflow 49, service-key 30. env-test runner case: four names.
  • Test power: 10 planted defects, each in a scratch copy and each killed by the suite that claims it: semaphore red without rejected (A); no agent-kill trap (B); prod order swapped (C); KEEP 2 not 3 (D); cancel-in-progress true (E); cleanup not always (F); task body without verify (G); no agent macro (H); prune takes the just-taken name (J); key never loaded (L). Scratch: cache/scratch/pr59-r1-mut-*.
  • Store and policy: the three runner rows are present (automation-runner.hcl:51-55, :63, :182). ci-secrets.hcl:19 reads the token path. The secrets JWT role binds olympus/infra-secrets, refs/heads/main and audience openbao (bao/service/roles/openbao/defaults/main.yml:114-153).
  • Cockpit: PROXMOX_VE_ENDPOINT is set in the deploy environment (projects.tf:80), the template playbook is scripts/semaphore-deploy.sh (projects.tf:101), and infra-secrets is in variables.tf.
  • Writer: scripts/env.sh shell_quote single-quotes any value with a newline (lines 332-339), so a PEM key survives make env and . .env. Read from source, not run live.
  • Forge statuses at 34098bb, newest per context: pr-checks / check success at 11:11:58; plan / guest-plan-check success at 11:11:34.
  • No secret in the diff. The only PEM-shaped text is a canary fixture (scripts/tests/service-key.test.sh:50-52), not a key.
  • Doc links in docs/deploy.md resolve (docs/store-identity.md, docs/store-backup.md).

What I could not verify, and why

  • The body's new rehearsal row ("whole make prod NONINTERACTIVE=1, offline, exit 0", with the steps and the key-in-no-log claim). It is not in the body I first fetched at the start of this round; it appeared while I was reviewing. It cites a harness, rehearse-runner.sh, that is not in this tree. I did not reproduce it. Its outcome is unverified by Minos, and no finding above depends on it.
  • SC-19 (Vikunja 278): 401 to the profile token. The spec is THE-14 plus the body.
  • The live path: the OIDC exchange, the Semaphore task start and poll, the Actions Variables SEMAPHORE_PROJECT_ID and SEMAPHORE_TEMPLATE_ID, make service against live hosts, the Guest 144 state, the snapshot, the vzdump file. The body says these have not run; I cannot run them from here.
  • The live reach of deploy-ssh: I used the committed records (store-identity, policies), not a live read.
  • SSH_AUTH_SOCK on the Semaphore runner: unknown, so the real-world reach of S-2 is unknown.

Escalation

Opened on the board before this review: THE-105 (todo, assigned to Zeus), read back from the card itself. It lists questions 1 to 4. The review state follows the findings, as the dispatch narrowed the hold. Merging remains the board's gate.

Count

Standards: 3 advisories (ST-1 to ST-3) and 1 nit (N-1). Spec: 4 advisories (S-1 to S-4). Total: 7 advisories, 1 nit, 0 blockers.
Worst in Standards: ST-3 (the comments understate a root key's reach). Worst in Spec: S-2 (a key can land in a caller's agent if the start fails).
The recommendation is fix because the advisory count is three or more. The count moves the recommendation, not the weight. Clearing the seven in one batched round is the path; round 2 will check each by its clearing condition.

repo=olympus/infra-secrets pr=59 head=34098bb48708f9904ff88c67177c60b521ffb5e7 round=1/5 verdict=fix **Recommendation: fix** Verdict: REQUEST_CHANGES. Blockers: 0. Advisories: 7, plus 1 nit. The recommendation turns on the count (three or more advisories), not on the weight of any one finding. No finding is a defect that breaks a claim the change makes, and the repo's own floor is green. The hold on this tier-1 change lives on THE-105 (board, assigned to Zeus, read back as todo); the state follows the findings here, as the dispatch directs. Merging remains the board's gate (pit merges). This review replaces an earlier posting of the same round, deleted and reposted because the PR body changed while I was reviewing. The findings and counts are unchanged. The section "What I could not verify" now names the body's new rehearsal claim. Scope: 16 files, +2108/-8 against 71c5f89. Round 1: no prior reviews on the PR, so the ledger count is 0 standing. Spec: THE-14, read live (Paperclip GET /api/issues/THE-14, 200, 2026-11-17 about 11:13). SC-19 (Vikunja 278) was not readable: GET /projects answered 401 to the profile token. Standards read: AGENTS.md; workshop docs/adr 0002, 0004, 0008 to 0013; workshop docs/agents/make-targets.md; bao/policies automation-runner.hcl, ci-cockpit.hcl, ci-secrets.hcl; docs/store-identity.md. ## Standards | ID | Sev | Where | Finding and clearing | | --- | --- | --- | --- | | ST-1 | ADVISORY | AGENTS.md:30-31 (plan paragraph); AGENTS.md:11 (Checks) | Now false: "Nothing else runs automatically, no fetch, no write to the store." deploy.yml:66-70 runs on every push to main and fetches the environment. The Checks list also omits the suites Makefile:392 adds to check (snapshot-test, prod-test, deploy-test, service-key). Clearing: update both sentences. | | ST-2 | ADVISORY | workshop docs/agents/make-targets.md:6 ("one row per target") | prod, snapshot, snapshot-test, prod-test and deploy-test (Makefile:102 and the target definitions) have no rows. The body says the rows are owed in an unopened companion. Clearing: link the companion PR. | | ST-3 | ADVISORY | env.map:53-55; .env.example:39; scripts/tests/service-key.test.sh:5 | The comments say the key is root "on the Guest the service layer dials". That is true of 144 and silent on the rest. docs/store-identity.md:162 and bao/policies/ci-cockpit.hcl:12 record it as root on 141, 142, 144, 146 and 150. Clearing: name the five Guests and cite the page. The reach itself is THE-105 question 2. | | N-1 | nit | scripts/semaphore-deploy.sh:99 | make verify runs again after make prod, whose PROD_STEPS (Makefile:102) already ends in verify. Drop one of the two. | ## Spec | ID | Sev | Where | Finding and clearing | | --- | --- | --- | --- | | S-1 | ADVISORY | .forgejo/workflows/deploy.yml:30 ("Not here: make semaphore-idle"); deploy.yml:66-70; scripts/tests/deploy-workflow.sh:218 | THE-14 "What the workflow must carry" requires make semaphore-idle before the deploy, and make prod NONINTERACTIVE=1 in the job. The body argues both departures. The family shape matches: tracker and forge carry the same comment, and cockpit's template contract (semaphore/projects/projects.tf, the deploy template comment) puts make prod in the task. The suite pins the departure. Clearing: reconcile THE-14 (THE-105 question 4), or record the departure against THE-14 in docs/deploy.md. | | S-2 | ADVISORY | Makefile:273 (eval of ssh-agent -s, no status check) | The agent's start is not checked. Probe, stubs only (cache/scratch/pr59-r1-probe-agent-failure.sh): with ssh-agent failing and SSH_AUTH_SOCK set to /operator/agent, the key is loaded into that caller's agent (ssh-add -q - auth=/operator/agent). The recipe still ends red through the EXIT trap, so the probe ran no playbook. Claim it breaks: scripts/tests/service-key.test.sh:12 ("into an agent the recipe starts and kills"). Clearing: capture the start status and test it before eval, and add a case that fails the start. | | S-3 | ADVISORY | scripts/snapshot.sh:120; docs/deploy.md:54; scripts/tests/snapshot.test.sh:176 | On the path every merge takes, each restore point reads "by hand, by an unnamed user"; the body and docs/deploy.md say so. The suite sets only GITHUB_RUN_NUMBER, so this path is never tested. Clearing: name the Semaphore task as the author on that path, and test it. | | S-4 | ADVISORY | Makefile:443-470 (verify: one curl, no retry); bao/service/roles/openbao/tasks/main.yml:127-133 and :254; bao/service/roles/openbao/handlers/main.yml:10 | After service restarts OpenBao, nothing waits before verify. The restart is a handler that runs at the end of the play, after the only wait. verify is a single curl with max-time 15. A deploy that changes the environment file can go red with the apply standing. Reasoned from the play's order, not reproduced live. Clearing: a bounded retry in verify, or a wait after the restart in the role. | ## Class notes (not findings; for the board on THE-105) Class note (not a finding): the deploy prunes predeploy-* restore points on every merge. ADR-0011 says a deploy never destroys anything that exists. ADR-0013 names the Deployer's snapshot and not the prune. infra-tracker runs the same prune on origin/main. Question 1 on THE-105. Class note (not a finding): the runner key reaches five Guests (docs/store-identity.md:162). This PR is a new consumer; tracker already loads it (env.map:95 on its main). Question 2. Class note (not a finding): the Semaphore API token crosses the LAN in cleartext (default http, TR-66 STD-2). Question 3. Class note (not a finding): this is a tier-1 change, the first automated PROD deploy of OpenBao on 144. It is escalated; see below. ## What I verified, by my hand - make check at 34098bb, in a worktree of the PR head: exit 0, 538 ok, zero " FAIL " lines. The four "FAILED" words are the suites' own zero-failure summaries. - Suite counts in the Evidence table, reproduced: prod-test 7, snapshot-test 29, semaphore-deploy 61, deploy-workflow 49, service-key 30. env-test runner case: four names. - Test power: 10 planted defects, each in a scratch copy and each killed by the suite that claims it: semaphore red without rejected (A); no agent-kill trap (B); prod order swapped (C); KEEP 2 not 3 (D); cancel-in-progress true (E); cleanup not always (F); task body without verify (G); no agent macro (H); prune takes the just-taken name (J); key never loaded (L). Scratch: cache/scratch/pr59-r1-mut-*. - Store and policy: the three runner rows are present (automation-runner.hcl:51-55, :63, :182). ci-secrets.hcl:19 reads the token path. The secrets JWT role binds olympus/infra-secrets, refs/heads/main and audience openbao (bao/service/roles/openbao/defaults/main.yml:114-153). - Cockpit: PROXMOX_VE_ENDPOINT is set in the deploy environment (projects.tf:80), the template playbook is scripts/semaphore-deploy.sh (projects.tf:101), and infra-secrets is in variables.tf. - Writer: scripts/env.sh shell_quote single-quotes any value with a newline (lines 332-339), so a PEM key survives make env and . .env. Read from source, not run live. - Forge statuses at 34098bb, newest per context: pr-checks / check success at 11:11:58; plan / guest-plan-check success at 11:11:34. - No secret in the diff. The only PEM-shaped text is a canary fixture (scripts/tests/service-key.test.sh:50-52), not a key. - Doc links in docs/deploy.md resolve (docs/store-identity.md, docs/store-backup.md). ## What I could not verify, and why - The body's new rehearsal row ("whole make prod NONINTERACTIVE=1, offline, exit 0", with the steps and the key-in-no-log claim). It is not in the body I first fetched at the start of this round; it appeared while I was reviewing. It cites a harness, rehearse-runner.sh, that is not in this tree. I did not reproduce it. Its outcome is unverified by Minos, and no finding above depends on it. - SC-19 (Vikunja 278): 401 to the profile token. The spec is THE-14 plus the body. - The live path: the OIDC exchange, the Semaphore task start and poll, the Actions Variables SEMAPHORE_PROJECT_ID and SEMAPHORE_TEMPLATE_ID, make service against live hosts, the Guest 144 state, the snapshot, the vzdump file. The body says these have not run; I cannot run them from here. - The live reach of deploy-ssh: I used the committed records (store-identity, policies), not a live read. - SSH_AUTH_SOCK on the Semaphore runner: unknown, so the real-world reach of S-2 is unknown. ## Escalation Opened on the board before this review: THE-105 (todo, assigned to Zeus), read back from the card itself. It lists questions 1 to 4. The review state follows the findings, as the dispatch narrowed the hold. Merging remains the board's gate. ## Count Standards: 3 advisories (ST-1 to ST-3) and 1 nit (N-1). Spec: 4 advisories (S-1 to S-4). Total: 7 advisories, 1 nit, 0 blockers. Worst in Standards: ST-3 (the comments understate a root key's reach). Worst in Spec: S-2 (a key can land in a caller's agent if the start fails). The recommendation is fix because the advisory count is three or more. The count moves the recommendation, not the weight. Clearing the seven in one batched round is the path; round 2 will check each by its clearing condition.
ssh_agent_from_env evaluated `ssh-agent -s` inside a substitution, so a
failed start was swallowed and the caller's SSH_AUTH_SOCK stayed in place.
The key was then loaded into whatever agent the caller had and the
playbook ran against it. The start's status now decides: no agent, no
ssh-add, no playbook.

Found by review round 1 (S-2). The new case in service-key.test.sh went
red on the old macro (ssh-add ran once, the playbook ran) before the fix.
Every merge takes its predeploy snapshot on the Semaphore runner, where
no GITHUB_RUN_NUMBER is set, so the description fell through to "by hand,
by <user>" (or "an unnamed user"). The task body now labels its prod run
with DEPLOY_RUN, and snapshot.sh names that label in the description.
The task id is not in the label: the task body does not carry one.

The snapshot suite only ever set GITHUB_RUN_NUMBER, so this path had no
case. The new case runs with no run number and the label, and the
semaphore-deploy suite asserts the label reaches make prod. Both went
red before the change.

Found by review round 1 (S-3).
make prod's PROD_STEPS ends in verify, and the task body then ran
make verify again on the same Guest, moments later. The second call
checked nothing the first had not, and it was a second curl the deploy
had to wait on. The body now makes one call, make prod, and the suite
pins the order.

A failed check inside prod is the task's red, as it was before: the
body stops at make prod's non-zero exit and names the deploy as failed.

Found by review round 1 (N-1). Suite assertions were moved to the
one-call order first and went red against the old body.
verify made one read of the health endpoint. The review (S-4) asked for
a bounded retry or a wait in the role. This takes the retry: up to
VERIFY_ATTEMPTS reads, VERIFY_WAIT seconds apart (12 and 5 by default),
and a red only when every read has failed. A store that answers on
read 3 passes, and each unready read is printed.

The review's premise is only partly right, and the commit says so: the
play does not end before the restart. Its handler is flushed (role
tasks/main.yml:332-335) and followed by a wait for the unseal (bao
status, 15 tries, 2s apart), then the store-contents section. The retry
bounds a store that is still settling at the check; it is not a fix for
a gap the play leaves open.

The new suite verify.test.sh drives make verify against a stub tofu and
a stub curl, is wired into deploy-test (so into check), and went red on
the single-read target (the store that answered on read 3 was red after
one read) before the change.

Found by review round 1 (S-4).
AGENTS.md said nothing runs automatically, with no fetch and no write to
the store. deploy.yml now runs on every push to main, fetches the
environment and starts a deploy that applies, so that sentence was false.
The Checks paragraph also left out the deploy's three suites, which
`make check` runs through deploy-test.

Found by review round 1 (ST-1).
Name the five Guests the runner's key is root on, and cite the page
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 17s
pr-checks / check (pull_request) Successful in 41s
19c05260d5
The comments in env.map, .env.example and service-key.test.sh said the
key is root "on the Guest the service layer dials". That is true of 144
and silent on the rest: the key is root on 141, 142, 144, 146 and 150
(docs/store-identity.md). The service layer dials 144 alone, and the
comments now say so. Whether the key should reach five Guests is the
open question THE-105 holds, and no comment here decides it.

Found by review round 1 (ST-3).
Member

Round 1 report: 6 of 8 findings fixed, 2 left for a human (head 19c0526, pushed as 34098bb..19c0526).

The review's own count is 0 BLOCKERs, 7 advisories and 1 nit, with recommendation fix. The dispatch says "blocking findings", which the report does not contain. I worked the 7 advisories and the nit, because the report's recommendation and its clearing path both ask for them in one batch.

Fixed

Finding What changed Commit
S-2 (ssh-agent start unchecked) ssh_agent_from_env checks the start's status before eval. A failed start exits: no ssh-add, no playbook, the caller's agent untouched. 47e9f3c
S-3 (restore points read "by hand, by an unnamed user") The task body labels its prod run DEPLOY_RUN. snapshot.sh names that label in the description. The task id is not in it: nothing in the task body carries one. c499048
S-4 (verify is one read) verify reads up to VERIFY_ATTEMPTS=12 times, VERIFY_WAIT=5s apart, and goes red only when every read fails. See the disagreement below. 71ad097
N-1 (second make verify) The task body makes one call, make prod, which ends in its own verify. ae4322a
ST-1 (AGENTS.md says nothing runs automatically) Names the push-to-main deploy as the one automatic path that applies, and lists snapshot-test, prod-test, deploy-test among the checks. 343b2c9
ST-3 ("the Guest the service layer dials") env.map, .env.example and the service-key header name 141, 142, 144, 146 and 150, citing docs/store-identity.md. The service layer dials 144 alone, and the comments say so. 19c0526

Each behaviour change has a test that went red first:

Finding Red before the fix
S-2 service-key.test.sh: 3 FAIL. ssh-add ran into the caller's agent and the playbook ran.
S-3 snapshot.test.sh: 2 FAIL. The description read by hand, by hermes.
S-4 new suite verify.test.sh: 5 FAIL. A store that answered on read 3 was red after one read.
N-1 semaphore-deploy.test.sh: 3 FAIL. The body still called make verify.

Left for a human (review/needs-human)

Finding Why I did not change it
ST-2 (make-targets rows) The rows live in olympus/workshop's docs/agents/make-targets.md, another repository, and no companion PR exists yet to link. Needs a companion change, which I did not open.
S-1 (make semaphore-idle and make prod placement vs THE-14) Which of THE-14 or this PR is the contract is the decision THE-105 question 4 holds for the board. Recording the departure in docs/deploy.md would make that decision, so I left it.

Disagreement, said once: S-4's premise

The finding says the restart "is a handler at the end of the play, after the only wait". The role does not do that. bao/service/roles/openbao/tasks/main.yml:332-335 flushes the restart before the wait ("so the wait below is the restarted process answering"). Lines 336-345 then loop on bao status until rc 0, 15 tries 2s apart, and only then does the store-contents section run. I kept the bounded retry because it is one of the two clearings you offered and it is cheap. It is not a fix for a gap the play leaves open. If you would rather have no change here, say so and I will revert the verify change.

Verification

Check Command and result
Full floor, at 19c0526 mise exec -- make check in the worktree: rc 0, 554 ok, 0 FAIL. Baseline at 34098bb, same command: rc 0, 538 ok.
Each suite service-key 33 / 0 FAILED; semaphore-deploy 62 / 0 FAILED; snapshot-test every assertion holds; prod-test 7 / 0 FAILED; deploy-workflow 49 / 0 FAILED; verify 9 / 0 FAILED.
Composed commands make -n <target> for every Target, at 34098bb and at 19c0526: 20 identical. 5 differ, all by design: check and deploy-test (the new suite line), service and service-check (the agent macro), verify (the retry), prod (it expands service and verify).
Syntax bash -n on the six changed scripts: ok.
Secrets Grep of the new lines for key and token shapes: 0 hits.
Review of my own diff Read against the findings and the repo's rules. No new finding.

Not verified, and why: the live path. The Semaphore task's environment (DEPLOY_RUN in a real task), the retry against the live OpenBao on 144, and the OIDC and store steps all need the live store, Proxmox or Semaphore. The stubs cover the script and Make logic, not those. The first merge is still the evidence for them.

The PR body is now stale, and I did not edit it: its Evidence counts (538 ok) are at 34098bb, and its Merge Danger sentence that snapshots read "by hand, by an unnamed user" describes the pre-fix behaviour. Its author should update it.

Prose in this comment is agent-written (Hermes).

**Round 1 report: 6 of 8 findings fixed, 2 left for a human** (head `19c0526`, pushed as `34098bb..19c0526`). The review's own count is **0 BLOCKERs**, 7 advisories and 1 nit, with recommendation `fix`. The dispatch says "blocking findings", which the report does not contain. I worked the 7 advisories and the nit, because the report's recommendation and its clearing path both ask for them in one batch. ### Fixed | Finding | What changed | Commit | | --- | --- | --- | | S-2 (ssh-agent start unchecked) | `ssh_agent_from_env` checks the start's status before `eval`. A failed start exits: no `ssh-add`, no playbook, the caller's agent untouched. | `47e9f3c` | | S-3 (restore points read "by hand, by an unnamed user") | The task body labels its prod run `DEPLOY_RUN`. `snapshot.sh` names that label in the description. The task id is not in it: nothing in the task body carries one. | `c499048` | | S-4 (verify is one read) | `verify` reads up to `VERIFY_ATTEMPTS`=12 times, `VERIFY_WAIT`=5s apart, and goes red only when every read fails. See the disagreement below. | `71ad097` | | N-1 (second `make verify`) | The task body makes one call, `make prod`, which ends in its own verify. | `ae4322a` | | ST-1 (AGENTS.md says nothing runs automatically) | Names the push-to-`main` deploy as the one automatic path that applies, and lists `snapshot-test`, `prod-test`, `deploy-test` among the checks. | `343b2c9` | | ST-3 ("the Guest the service layer dials") | env.map, .env.example and the service-key header name 141, 142, 144, 146 and 150, citing `docs/store-identity.md`. The service layer dials 144 alone, and the comments say so. | `19c0526` | Each behaviour change has a test that went red first: | Finding | Red before the fix | | --- | --- | | S-2 | `service-key.test.sh`: 3 FAIL. `ssh-add` ran into the caller's agent and the playbook ran. | | S-3 | `snapshot.test.sh`: 2 FAIL. The description read `by hand, by hermes.` | | S-4 | new suite `verify.test.sh`: 5 FAIL. A store that answered on read 3 was red after one read. | | N-1 | `semaphore-deploy.test.sh`: 3 FAIL. The body still called `make verify`. | ### Left for a human (`review/needs-human`) | Finding | Why I did not change it | | --- | --- | | ST-2 (make-targets rows) | The rows live in `olympus/workshop`'s `docs/agents/make-targets.md`, another repository, and no companion PR exists yet to link. Needs a companion change, which I did not open. | | S-1 (`make semaphore-idle` and `make prod` placement vs THE-14) | Which of THE-14 or this PR is the contract is the decision THE-105 question 4 holds for the board. Recording the departure in `docs/deploy.md` would make that decision, so I left it. | ### Disagreement, said once: S-4's premise The finding says the restart "is a handler at the end of the play, after the only wait". The role does not do that. `bao/service/roles/openbao/tasks/main.yml:332-335` flushes the restart before the wait ("so the wait below is the restarted process answering"). Lines 336-345 then loop on `bao status` until rc 0, 15 tries 2s apart, and only then does the store-contents section run. I kept the bounded retry because it is one of the two clearings you offered and it is cheap. It is not a fix for a gap the play leaves open. If you would rather have no change here, say so and I will revert the verify change. ### Verification | Check | Command and result | | --- | --- | | Full floor, at `19c0526` | `mise exec -- make check` in the worktree: **rc 0, 554 `ok`, 0 `FAIL`**. Baseline at `34098bb`, same command: rc 0, 538 `ok`. | | Each suite | service-key 33 / 0 FAILED; semaphore-deploy 62 / 0 FAILED; snapshot-test every assertion holds; prod-test 7 / 0 FAILED; deploy-workflow 49 / 0 FAILED; verify 9 / 0 FAILED. | | Composed commands | `make -n <target>` for every Target, at `34098bb` and at `19c0526`: 20 identical. 5 differ, all by design: `check` and `deploy-test` (the new suite line), `service` and `service-check` (the agent macro), `verify` (the retry), `prod` (it expands `service` and `verify`). | | Syntax | `bash -n` on the six changed scripts: ok. | | Secrets | Grep of the new lines for key and token shapes: 0 hits. | | Review of my own diff | Read against the findings and the repo's rules. No new finding. | Not verified, and why: the live path. The Semaphore task's environment (`DEPLOY_RUN` in a real task), the retry against the live OpenBao on 144, and the OIDC and store steps all need the live store, Proxmox or Semaphore. The stubs cover the script and Make logic, not those. The first merge is still the evidence for them. **The PR body is now stale**, and I did not edit it: its Evidence counts (538 ok) are at `34098bb`, and its Merge Danger sentence that snapshots read "by hand, by an unnamed user" describes the pre-fix behaviour. Its author should update it. Prose in this comment is agent-written (Hermes).
Author
Owner

Author's note on round 1 (review 727), while the fix round runs. Two findings are answered by the record and need no code from this change.

S-1 (THE-14 divergence). THE-14's text was amended at 11:23Z from THE-105: make prod NONINTERACTIVE=1 runs inside the Semaphore task for forge, tracker, silo and secrets, and make semaphore-idle is cockpit-only. deploy.yml, docs/deploy.md and scripts/tests/deploy-workflow.sh already say that. Nothing to reconcile.

S-4 (verify right after the restart). The handler does not run at the end of the play. bao/service/roles/openbao/tasks/main.yml:333-335 flushes handlers on purpose ("so the wait below is the restarted process answering"). Lines 337-350 then wait for bao status to exit 0, which it does only when the store is unsealed: 15 tries, 2 s apart. make service returns after that wait, so verify runs against an unsealed store. A retry in verify is not needed for this.

S-2, S-3, N-1 and ST-1 to ST-3 stand as written; they belong to the fix round.

Read live since the review, none of it on the diff: the Guest Stack plan on this head says No changes. Your infrastructure matches the configuration. (Actions run 141, job 0); the runner (145) has every binary the task needs, starts an agent, clones this repository over HTTPS, and gets 200 from https://<144>:8200/v1/sys/health; the three runner rows in env.map exist in the store with exactly the field names they ask for and the live automation-runner policy reads each; the runner token holds TofuGuestInPlace on /vms/144.

— Hermes (agent-written)

Author's note on round 1 (review 727), while the fix round runs. Two findings are answered by the record and need no code from this change. **S-1 (THE-14 divergence).** THE-14's text was amended at 11:23Z from THE-105: `make prod NONINTERACTIVE=1` runs inside the Semaphore task for forge, tracker, silo and secrets, and `make semaphore-idle` is cockpit-only. `deploy.yml`, `docs/deploy.md` and `scripts/tests/deploy-workflow.sh` already say that. Nothing to reconcile. **S-4 (verify right after the restart).** The handler does not run at the end of the play. `bao/service/roles/openbao/tasks/main.yml:333-335` flushes handlers on purpose ("so the wait below is the restarted process answering"). Lines 337-350 then wait for `bao status` to exit 0, which it does only when the store is unsealed: 15 tries, 2 s apart. `make service` returns after that wait, so `verify` runs against an unsealed store. A retry in `verify` is not needed for this. S-2, S-3, N-1 and ST-1 to ST-3 stand as written; they belong to the fix round. Read live since the review, none of it on the diff: the Guest Stack plan on this head says `No changes. Your infrastructure matches the configuration.` (Actions run 141, job 0); the runner (145) has every binary the task needs, starts an agent, clones this repository over HTTPS, and gets 200 from `https://<144>:8200/v1/sys/health`; the three runner rows in `env.map` exist in the store with exactly the field names they ask for and the live `automation-runner` policy reads each; the runner token holds `TofuGuestInPlace` on `/vms/144`. — Hermes (agent-written)
A shell template is given SEMAPHORE_TASK_DETAILS_ID by Semaphore 2.19.16 (getShellEnvironmentExtraENV, every app that is not Ansible or Terraform), so the label the task body passes down carries it: the description reads "by the Semaphore deploy task 29" rather than by "the Semaphore deploy task". Without the variable the label is unchanged, and a hand run still reads "by hand, by <user>".

docs/deploy.md said the id was not in the description because nothing in the task body carries it. That sentence was wrong and is replaced with where the id comes from and what it has not yet been seen in: a live task.
The checkout step is pinned before the install that runs make from it
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 18s
pr-checks / check (pull_request) Successful in 41s
ad6e827f2d
A planted defect took actions/checkout out of the deploy job and the workflow suite stayed green: the job would have gone red at its first make call instead of at the start check, on the first real merge. The order case now asserts the checkout comes before the install, and a mutant that moves it after the install turns the suite red.
Author
Owner

Round 2 is ready: the new head is ad6e827, and one finding waits on the Operator

Two commits of mine on top of Efesto's 19c0526, and the two human items are down to one.

S-1 is closed by the spec, not by this diff. THE-14 was amended at 11:23Z from THE-105: make prod NONINTERACTIVE=1 runs inside the Semaphore task, and make semaphore-idle is cockpit-only, for these four repositories. deploy.yml, docs/deploy.md and the suite's order case already say so. Nothing to reconcile.

ST-2 needs one pull request in another repository, and I have not opened it. The rows for prod, snapshot, snapshot-test, prod-test and deploy-test live in olympus/workshop's docs/agents/make-targets.md. That repository is the Operator's records, so the companion is his call; it is asked for on THE-14.

Commit What Why
e5cd894 The task body passes SEMAPHORE_TASK_DETAILS_ID through as part of DEPLOY_RUN, and docs/deploy.md says where the id comes from S-3 follow-up. docs/deploy.md said "nothing in the task body carries it"; a shell template is given this variable by 2.19.16's getShellEnvironmentExtraENV, read in that source. The suite's new case expects the label the Semaphore deploy task 29 and is red on the head before the change
ad6e827 The workflow suite asserts actions/checkout comes before the install Found by mutation: the first pass's planted defects included one that deletes the checkout step, and the suite stayed green. The job would have gone red at its first make on the first real merge

Numbers at ad6e827, all run here. mise exec -- make check in a fresh clone: exit 0, 556 ok, no FAIL. semaphore-deploy 63, deploy-workflow 50, service-key 33, verify 9, prod-test 7, snapshot-test every assertion holds. 55 planted defects over copies of the tree, 50 red; the five green ones are a semaphore-idle step (moot under the amendment), the Semaphore URL's default, and two snapshot.sh guards that fail closed anyway. The offline make prod rehearsal at this tree: exit 0, and the restore point it took reads Taken before the deploy of … at <sha>, by the Semaphore deploy task 29.

What no offline check can say, and the first merge does: the OIDC exchange, the task's start and poll on the live system, what service changes on 144, and that make service-check reports changed=0 afterwards.

— Hermes (agent-written)

## Round 2 is ready: the new head is `ad6e827`, and one finding waits on the Operator Two commits of mine on top of Efesto's `19c0526`, and the two human items are down to one. **S-1 is closed by the spec, not by this diff.** THE-14 was amended at 11:23Z from THE-105: `make prod NONINTERACTIVE=1` runs inside the Semaphore task, and `make semaphore-idle` is cockpit-only, for these four repositories. `deploy.yml`, `docs/deploy.md` and the suite's order case already say so. Nothing to reconcile. **ST-2 needs one pull request in another repository, and I have not opened it.** The rows for `prod`, `snapshot`, `snapshot-test`, `prod-test` and `deploy-test` live in `olympus/workshop`'s `docs/agents/make-targets.md`. That repository is the Operator's records, so the companion is his call; it is asked for on THE-14. | Commit | What | Why | | --- | --- | --- | | `e5cd894` | The task body passes `SEMAPHORE_TASK_DETAILS_ID` through as part of `DEPLOY_RUN`, and `docs/deploy.md` says where the id comes from | S-3 follow-up. `docs/deploy.md` said "nothing in the task body carries it"; a shell template is given this variable by 2.19.16's `getShellEnvironmentExtraENV`, read in that source. The suite's new case expects the label `the Semaphore deploy task 29` and is red on the head before the change | | `ad6e827` | The workflow suite asserts `actions/checkout` comes before the install | Found by mutation: the first pass's planted defects included one that deletes the checkout step, and the suite stayed green. The job would have gone red at its first `make` on the first real merge | **Numbers at `ad6e827`, all run here.** `mise exec -- make check` in a fresh clone: exit 0, 556 `ok`, no `FAIL`. `semaphore-deploy` 63, `deploy-workflow` 50, `service-key` 33, `verify` 9, `prod-test` 7, `snapshot-test` every assertion holds. 55 planted defects over copies of the tree, 50 red; the five green ones are a `semaphore-idle` step (moot under the amendment), the Semaphore URL's default, and two `snapshot.sh` guards that fail closed anyway. The offline `make prod` rehearsal at this tree: exit 0, and the restore point it took reads `Taken before the deploy of … at <sha>, by the Semaphore deploy task 29.` **What no offline check can say, and the first merge does:** the OIDC exchange, the task's start and poll on the live system, what `service` changes on 144, and that `make service-check` reports `changed=0` afterwards. — Hermes (agent-written)
Member

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

**Review started** (round 1/5) on ad6e827f2d04e18bca2014f4df4787c080744765 — reading the diff now.
bot-minos requested changes 2026-11-17 12:03:47 +00:00
Dismissed
bot-minos left a comment

repo=olympus/infra-secrets pr=59 head=ad6e827f2d04e18bca2014f4df4787c080744765 round=2/5 verdict=fix

Recommendation: fix

Verdict: REQUEST_CHANGES. Blockers: 0. Advisories: 3. The recommendation turns on the count (three or more advisories), not on the weight of any one finding: every round-1 finding that named a defect in this tree is cleared or retired below, and the floor is green at the head. The dispatch binds the review state and the label to the recommendation, so the state is a rejection and the label moves to review/needs-fix; two of the three clearings are a one-line test and two sentences.

Round. The dispatch numbered this round 1; list_pull_reviews carries one review (id 727, round=1/5, head 34098bb), so this is the thread's round 2/5 and its delta is git diff 34098bb ad6e827 — 13 files, +233/−45. The sign-on comment carries the dispatch's number because it is posted before the review list is read. Round 1 carried 0 blockers, and a new one here would have to be a correctness or security defect the fix introduced or exposed: none stands.

Sources, in the order read. Spec: paperclip:THE-14, read live (GET /api/issues/THE-14 → 200, updatedAt 2026-11-17T11:59Z), whose description carries the 11:23Z amendment by THE-105. vikunja:SC-19 (278) was not readable: the shipped fetch-vikunja-task-by-id.sh 278 answered http=401 on both profile keys. Standards: AGENTS.md at the head; olympus/workshop docs/adr/0009, 0011, 0013 and docs/agents/make-targets.md at origin/main = 38bf01c; this repo's Makefile.

Standards

Round 1, re-driven at ad6e827

ID Round-1 finding State now Evidence at head
ST-1 AGENTS.md said nothing runs automatically cleared AGENTS.md:34-38 names deploy.yml as the third workflow and "the one automatic path that applies"; :14-17 lists the deploy suites among the checks
ST-3 the key comments said "the Guest the service layer dials" cleared env.map:53-55, .env.example:39 and scripts/tests/service-key.test.sh:5-7 name the five Guests and cite docs/store-identity.md:162, which records the reach. Census of the old phrase: two hits, both the new test's own assertion text
N-1 a second make verify after make prod cleared scripts/semaphore-deploy.sh:102 makes one make prod, which ends in verify (Makefile:110, :421-422); scripts/tests/semaphore-deploy.test.sh:297 asserts no second call

Findings

ID Sev Where Finding and clearing
ST-2 ADVISORY olympus/workshop docs/agents/make-targets.md:6 ("one row per target"); the targets at Makefile:375, :378, :385, :421, :429 Carried from round 1, unchanged. The page fixes what an agent may run across the five repos, and this repo's Makefile:394-399 adopts it as the floor's record; its infra-secrets rows are one check row (:69) and no rows for prod, snapshot, snapshot-test, prod-test or deploy-test. The body discloses the debt and says the companion is the Operator's; none is open. Clearing: the companion change in olympus/workshop, linked here. Nothing in this tree clears it.

Spec

Round 1, re-driven at ad6e827

ID Round-1 finding State now Evidence at head
S-1 deploy.yml omits make semaphore-idle, against THE-14 retired by the spec THE-14's own text, read live, now says make prod NONINTERACTIVE=1 runs inside the Semaphore task for these four repos and make semaphore-idle "is cockpit's alone" (amended 2026-11-17 by THE-105). The departure no longer exists
S-2 eval "$(ssh-agent -s)" swallowed a failed start cleared Makefile:281-283 captures the start, tests its status and exits before eval and before ssh-add. Red/green below
S-3 a Semaphore restore point read "by hand, by an unnamed user" cleared scripts/semaphore-deploy.sh:102 sets DEPLOY_RUN; scripts/snapshot.sh:119-122 reads it; docs/deploy.md:53-58 says where it comes from. Red/green below
S-4 verify read once, right after the restart retired; the round-1 mechanism was wrong bao/service/roles/openbao/tasks/main.yml:332-350 flushes the restart before its wait and loops on bao status until rc 0, so make service returns with the store unsealed. A retry was added anyway, bounded and tested (Makefile:464-480, scripts/tests/verify.test.sh)

Findings

ID Sev Where Finding and clearing
A-1 ADVISORY scripts/tests/semaphore-deploy.test.sh:298-299; Makefile:421-422; scripts/tests/prod.test.sh:23 The label chain has three parts — the task body exports DEPLOY_RUN (semaphore-deploy.sh:102), make prod hands it to its steps (Makefile:422), snapshot.sh reads it (:119-122) — and the suites pin the two ends only. The case at :299 is named "so its snapshot names it", but its stub make prints $DEPLOY_RUN and never takes a snapshot; prod-test's stand-in steps print NONINTERACTIVE_MODE and not DEPLOY_RUN. Evidence: a mutant that wraps prod's sub-make in env -u DEPLOY_RUN leaves prod-test (7/0) and semaphore-deploy (63/0) green, while the real recipe does carry the label (probe below). The behaviour is right; its regression guard is missing, so a later edit to the one recipe line reverts S-3 with every suite green. Clearing: one assertion in prod-test.sh's stand-in step, e.g. print ${DEPLOY_RUN:-} and assert an exported DEPLOY_RUN reaches it.
A-2 ADVISORY PR body: the Evidence row prod-test / snapshot-test, and the "Not run" paragraph Two numbers in the body do not match the head tree. (1) The row says 7 / 29 assertions; snapshot-test at ad6e827 holds 32 assertions (32 ok lines in make check; the delta's Semaphore case adds three), so that row is the round-1 figure. (2) "the five that stay green are" names four — a semaphore-idle step, the Semaphore URL's default, and two snapshot.sh guards — so the fifth green mutant is unnamed, in the one paragraph that discloses where the suites cannot see. Clearing: restate the count and name the fifth (or say four).

What I verified, by my hand

  • mise exec -- make check in a worktree at ad6e827: exit 0, 556 ok, 0 FAIL — the body's 556 reproduces.
  • Suite counts at head, from that log: prod-test 7, snapshot-test 32, semaphore-deploy 63, deploy-workflow 50, service-key 33, verify 9.
  • Red/green pairs — the prior tree at 34098bb driven with the head suite:
Clearing 34098bb code + head suite Head
S-2 service-key 30 ok / 3 FAIL — "a failed agent start answered 0", "ssh-add ran after the agent failed to start: 1", "a playbook ran" 33 / 0
S-3 (snapshot) snapshot 30 / 2 FAIL — description "by hand, by hermes", "described as taken by hand" 32 / 0
S-3 (body) semaphore-deploy 58 / 5 FAIL — a second verify ran, deploy_run= empty, the mise route, the pwd count 63 / 0
S-4 verify 4 / 5 FAIL — "read 1 times, want 3", "wait lines: 0, want 2" 9 / 0
  • Mutants of the head tree (each in a scratch copy, tree restored after):
Mutant Suite Result
actions/checkout step deleted deploy-workflow 1 FAIL — the gap ad6e827 closes
checkout moved after the install deploy-workflow 1 FAIL
DEPLOY_RUN dropped from the task body semaphore-deploy 2 FAIL
snapshot.sh's DEPLOY_RUN branch removed snapshot 2 FAIL
prod wraps its sub-make in env -u DEPLOY_RUN prod-test and semaphore-deploy 0 FAIL both — the join A-1 names
the ` ` guard removed, the split kept
  • The chain in fact: in a copy of the head tree with a probe step added, DEPLOY_RUN='the Semaphore deploy task 29' make -s prod PROD_STEPS=probe-step printed deploy_run=[the Semaphore deploy task 29]. A-1 is a missing guard, not a broken behaviour.
  • Statuses at ad6e827: pr-checks / check (pull_request) success (11:57:35Z); plan / guest-plan-check (pull_request_target) success (11:57:11Z).
  • No secret-shaped text in the delta (PEM headers, token assignments): 0 hits.
  • The docs restate the code: docs/deploy.md:35 (12 reads, 5s) matches Makefile:58-59; docs/deploy.md:35's "(15 tries, two seconds apart)" matches the role at :346-350; docs/deploy.md:53-58 matches snapshot.sh:119-124.
  • The head is still the dispatch's revision at the end of the wave (refs/pull/59/head = ad6e827f…), and the head worktree is clean.

What I could not verify

  • The body's 55-mutant harness and its rehearse-runner.sh rehearsal: neither is in this tree, so those numbers are the author's. The one arithmetic gap in them is charged as A-2; the rest I did not reproduce.
  • The live path, as the body itself says: the OIDC exchange on a push, the task's start and poll against the live Semaphore, make service-check from main reporting changed=0, and a documentation-only merge as a no-op.
  • The Actions Variables (4 and 7): this profile's token is read-only on the repository (permissions: admin false, push false), so the variables route is not reachable from here.
  • The body's live reads of the store, Guest 144 and runner 145: I read the committed records (docs/store-identity.md:162, bao/policies/automation-runner.hcl) but did not open the live store from this session.
  • vikunja:SC-19 (278): http=401 on both profile keys, as in round 1.

Class and escalation

THE-105 read live: in_review, updatedAt 2026-11-17T11:23:52Z; reviewAttention is covered with one path (Pending request confirmation, responder Board, since 11:23:45Z). Its two entries are the board agent's ruling on the key reach and the cleartext token (both closed, THE-14 amended, TLS tracked as THE-106) and a note that the predeploy-* prune question is "waiting on the board". That question is open; merging remains the board's gate (pit merges). This round applied the dispatch's narrowing: the hold lives on the card, and the review state follows the findings.

Named, not charged

  • The prune itself. make snapshot deletes predeploy-* beyond the newest three on every merge; ADR-0011 says a deploy never destroys anything that exists, and ADR-0013 names the Deployer's snapshot but not the prune. A sibling repository's deploy (infra-tracker) runs the same KEEP=3 prune on its own origin/main, and the board's question 1 owns the reconciliation. Named, not charged.
  • Makefile:396-399 still says the make-targets page "is not on its main yet"; it is (workshop origin/main = 38bf01c). A pre-existing line the delta does not touch: named, not charged.
  • The body's live-path rows are disclosed as not run, and it says so; they are not charged as silent claims.

Count

Standards: 1 advisory (ST-2). Spec: 2 advisories (A-1, A-2). Total: 3 advisories, 0 blockers.

Worst in Standards: ST-2 — the org page that fixes the floor for all five repos has no rows for five targets this change adds.
Worst in Spec: A-1 — the label chain's join is unpinned, so a later edit to the prod recipe can revert the round-1 clear with every suite green.
The recommendation is fix because the advisory count is three or more; the count moves the recommendation, not the weight of any finding.

<!-- minos review-loop: repo=olympus/infra-secrets pr=59 head=ad6e827f2d04e18bca2014f4df4787c080744765 round=2/5 axes=standards,spec --> repo=olympus/infra-secrets pr=59 head=ad6e827f2d04e18bca2014f4df4787c080744765 round=2/5 verdict=fix Recommendation: fix Verdict: REQUEST_CHANGES. **Blockers: 0. Advisories: 3.** The recommendation turns on the count (three or more advisories), not on the weight of any one finding: every round-1 finding that named a defect in this tree is cleared or retired below, and the floor is green at the head. The dispatch binds the review state and the label to the recommendation, so the state is a rejection and the label moves to `review/needs-fix`; two of the three clearings are a one-line test and two sentences. **Round.** The dispatch numbered this round 1; `list_pull_reviews` carries one review (id 727, `round=1/5`, head `34098bb`), so this is the thread's **round 2/5** and its delta is `git diff 34098bb ad6e827` — 13 files, +233/−45. The sign-on comment carries the dispatch's number because it is posted before the review list is read. Round 1 carried **0 blockers**, and a new one here would have to be a correctness or security defect the fix introduced or exposed: none stands. **Sources, in the order read.** Spec: `paperclip:THE-14`, read live (GET `/api/issues/THE-14` → 200, updatedAt `2026-11-17T11:59Z`), whose description carries the 11:23Z amendment by THE-105. `vikunja:SC-19` (278) was not readable: the shipped `fetch-vikunja-task-by-id.sh 278` answered `http=401` on both profile keys. Standards: `AGENTS.md` at the head; `olympus/workshop` `docs/adr/0009`, `0011`, `0013` and `docs/agents/make-targets.md` at `origin/main` = `38bf01c`; this repo's `Makefile`. ## Standards ### Round 1, re-driven at `ad6e827` | ID | Round-1 finding | State now | Evidence at head | | --- | --- | --- | --- | | ST-1 | `AGENTS.md` said nothing runs automatically | **cleared** | `AGENTS.md:34-38` names `deploy.yml` as the third workflow and "the one automatic path that applies"; `:14-17` lists the deploy suites among the checks | | ST-3 | the key comments said "the Guest the service layer dials" | **cleared** | `env.map:53-55`, `.env.example:39` and `scripts/tests/service-key.test.sh:5-7` name the five Guests and cite `docs/store-identity.md:162`, which records the reach. Census of the old phrase: two hits, both the new test's own assertion text | | N-1 | a second `make verify` after `make prod` | **cleared** | `scripts/semaphore-deploy.sh:102` makes one `make prod`, which ends in verify (`Makefile:110`, `:421-422`); `scripts/tests/semaphore-deploy.test.sh:297` asserts no second call | ### Findings | ID | Sev | Where | Finding and clearing | | --- | --- | --- | --- | | ST-2 | ADVISORY | `olympus/workshop` `docs/agents/make-targets.md:6` ("one row per target"); the targets at `Makefile:375`, `:378`, `:385`, `:421`, `:429` | Carried from round 1, unchanged. The page fixes what an agent may run across the five repos, and this repo's `Makefile:394-399` adopts it as the floor's record; its infra-secrets rows are one `check` row (`:69`) and no rows for `prod`, `snapshot`, `snapshot-test`, `prod-test` or `deploy-test`. The body discloses the debt and says the companion is the Operator's; none is open. Clearing: the companion change in `olympus/workshop`, linked here. Nothing in this tree clears it. | ## Spec ### Round 1, re-driven at `ad6e827` | ID | Round-1 finding | State now | Evidence at head | | --- | --- | --- | --- | | S-1 | `deploy.yml` omits `make semaphore-idle`, against THE-14 | **retired by the spec** | THE-14's own text, read live, now says `make prod NONINTERACTIVE=1` runs inside the Semaphore task for these four repos and `make semaphore-idle` "is cockpit's alone" (amended 2026-11-17 by THE-105). The departure no longer exists | | S-2 | `eval "$(ssh-agent -s)"` swallowed a failed start | **cleared** | `Makefile:281-283` captures the start, tests its status and exits before `eval` and before `ssh-add`. Red/green below | | S-3 | a Semaphore restore point read "by hand, by an unnamed user" | **cleared** | `scripts/semaphore-deploy.sh:102` sets `DEPLOY_RUN`; `scripts/snapshot.sh:119-122` reads it; `docs/deploy.md:53-58` says where it comes from. Red/green below | | S-4 | `verify` read once, right after the restart | **retired; the round-1 mechanism was wrong** | `bao/service/roles/openbao/tasks/main.yml:332-350` flushes the restart before its wait and loops on `bao status` until rc 0, so `make service` returns with the store unsealed. A retry was added anyway, bounded and tested (`Makefile:464-480`, `scripts/tests/verify.test.sh`) | ### Findings | ID | Sev | Where | Finding and clearing | | --- | --- | --- | --- | | A-1 | ADVISORY | `scripts/tests/semaphore-deploy.test.sh:298-299`; `Makefile:421-422`; `scripts/tests/prod.test.sh:23` | The label chain has three parts — the task body exports `DEPLOY_RUN` (`semaphore-deploy.sh:102`), `make prod` hands it to its steps (`Makefile:422`), `snapshot.sh` reads it (`:119-122`) — and the suites pin the two ends only. The case at `:299` is named "so its snapshot names it", but its stub `make` prints `$DEPLOY_RUN` and never takes a snapshot; `prod-test`'s stand-in steps print `NONINTERACTIVE_MODE` and not `DEPLOY_RUN`. Evidence: a mutant that wraps `prod`'s sub-make in `env -u DEPLOY_RUN` leaves prod-test (7/0) and semaphore-deploy (63/0) green, while the real recipe does carry the label (probe below). The behaviour is right; its regression guard is missing, so a later edit to the one recipe line reverts S-3 with every suite green. Clearing: one assertion in `prod-test.sh`'s stand-in step, e.g. print `${DEPLOY_RUN:-}` and assert an exported `DEPLOY_RUN` reaches it. | | A-2 | ADVISORY | PR body: the Evidence row `prod-test` / `snapshot-test`, and the "Not run" paragraph | Two numbers in the body do not match the head tree. (1) The row says `7 / 29 assertions`; `snapshot-test` at `ad6e827` holds **32** assertions (32 `ok` lines in `make check`; the delta's Semaphore case adds three), so that row is the round-1 figure. (2) "the five that stay green are" names **four** — a `semaphore-idle` step, the Semaphore URL's default, and two `snapshot.sh` guards — so the fifth green mutant is unnamed, in the one paragraph that discloses where the suites cannot see. Clearing: restate the count and name the fifth (or say four). | ## What I verified, by my hand - `mise exec -- make check` in a worktree at `ad6e827`: **exit 0, 556 `ok`, 0 `FAIL`** — the body's 556 reproduces. - Suite counts at head, from that log: prod-test 7, snapshot-test 32, semaphore-deploy 63, deploy-workflow 50, service-key 33, verify 9. - **Red/green pairs** — the prior tree at `34098bb` driven with the head suite: | Clearing | `34098bb` code + head suite | Head | | --- | --- | --- | | S-2 | service-key 30 ok / **3 FAIL** — "a failed agent start answered 0", "ssh-add ran after the agent failed to start: 1", "a playbook ran" | 33 / 0 | | S-3 (snapshot) | snapshot 30 / **2 FAIL** — description "by hand, by hermes", "described as taken by hand" | 32 / 0 | | S-3 (body) | semaphore-deploy 58 / **5 FAIL** — a second `verify` ran, `deploy_run=` empty, the mise route, the pwd count | 63 / 0 | | S-4 | verify 4 / **5 FAIL** — "read 1 times, want 3", "wait lines: 0, want 2" | 9 / 0 | - **Mutants of the head tree** (each in a scratch copy, tree restored after): | Mutant | Suite | Result | | --- | --- | --- | | `actions/checkout` step deleted | deploy-workflow | 1 FAIL — the gap `ad6e827` closes | | checkout moved after the install | deploy-workflow | 1 FAIL | | `DEPLOY_RUN` dropped from the task body | semaphore-deploy | 2 FAIL | | `snapshot.sh`'s `DEPLOY_RUN` branch removed | snapshot | 2 FAIL | | `prod` wraps its sub-make in `env -u DEPLOY_RUN` | prod-test **and** semaphore-deploy | **0 FAIL both** — the join A-1 names | | the `||` guard removed, the split kept | service-key | 0 FAIL — expected: make's per-line status check already aborts on the failed start, so the pinned property is the split, which the prior tree fails | - **The chain in fact**: in a copy of the head tree with a probe step added, `DEPLOY_RUN='the Semaphore deploy task 29' make -s prod PROD_STEPS=probe-step` printed `deploy_run=[the Semaphore deploy task 29]`. A-1 is a missing guard, not a broken behaviour. - Statuses at `ad6e827`: `pr-checks / check (pull_request)` success (11:57:35Z); `plan / guest-plan-check (pull_request_target)` success (11:57:11Z). - No secret-shaped text in the delta (PEM headers, token assignments): 0 hits. - The docs restate the code: `docs/deploy.md:35` (12 reads, 5s) matches `Makefile:58-59`; `docs/deploy.md:35`'s "(15 tries, two seconds apart)" matches the role at `:346-350`; `docs/deploy.md:53-58` matches `snapshot.sh:119-124`. - The head is still the dispatch's revision at the end of the wave (`refs/pull/59/head` = `ad6e827f…`), and the head worktree is clean. ## What I could not verify - The body's 55-mutant harness and its `rehearse-runner.sh` rehearsal: neither is in this tree, so those numbers are the author's. The one arithmetic gap in them is charged as A-2; the rest I did not reproduce. - The live path, as the body itself says: the OIDC exchange on a push, the task's start and poll against the live Semaphore, `make service-check` from `main` reporting `changed=0`, and a documentation-only merge as a no-op. - The Actions Variables (4 and 7): this profile's token is read-only on the repository (`permissions: admin false, push false`), so the variables route is not reachable from here. - The body's live reads of the store, Guest 144 and runner 145: I read the committed records (`docs/store-identity.md:162`, `bao/policies/automation-runner.hcl`) but did not open the live store from this session. - `vikunja:SC-19` (278): `http=401` on both profile keys, as in round 1. ## Class and escalation THE-105 read live: `in_review`, updatedAt `2026-11-17T11:23:52Z`; `reviewAttention` is `covered` with one path (`Pending request confirmation`, responder Board, since `11:23:45Z`). Its two entries are the board agent's ruling on the key reach and the cleartext token (both closed, THE-14 amended, TLS tracked as THE-106) and a note that the `predeploy-*` prune question is "waiting on the board". That question is open; merging remains the board's gate (`pit` merges). This round applied the dispatch's narrowing: the hold lives on the card, and the review state follows the findings. ## Named, not charged - **The prune itself.** `make snapshot` deletes `predeploy-*` beyond the newest three on every merge; ADR-0011 says a deploy never destroys anything that exists, and ADR-0013 names the Deployer's snapshot but not the prune. A sibling repository's deploy (`infra-tracker`) runs the same `KEEP=3` prune on its own `origin/main`, and the board's question 1 owns the reconciliation. Named, not charged. - **`Makefile:396-399`** still says the make-targets page "is not on its `main` yet"; it is (workshop `origin/main` = `38bf01c`). A pre-existing line the delta does not touch: named, not charged. - The body's live-path rows are disclosed as not run, and it says so; they are not charged as silent claims. ## Count Standards: 1 advisory (ST-2). Spec: 2 advisories (A-1, A-2). Total: **3 advisories, 0 blockers**. Worst in Standards: ST-2 — the org page that fixes the floor for all five repos has no rows for five targets this change adds. Worst in Spec: A-1 — the label chain's join is unpinned, so a later edit to the `prod` recipe can revert the round-1 clear with every suite green. The recommendation is fix because the advisory count is three or more; the count moves the recommendation, not the weight of any finding.
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.
The label prod hands its steps is pinned, not only its two ends (A-1)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 19s
pr-checks / check (pull_request) Successful in 42s
3183a72d98
The task body exports DEPLOY_RUN, prod passes it down and snapshot.sh reads it; the suites pinned the two ends, so a mutant wrapping prod's sub-make in env -u DEPLOY_RUN left prod-test and semaphore-deploy green while S-3 reverted with every suite green. prod-test's mirror now carries a step that prints the label, and the same mutant turns it red.
Author
Owner

Loop stopped — the fix dispatch produced no outcome for 20 minutes. Nothing else happens on this PR until its state label changes.

**Loop stopped** — the fix dispatch produced no outcome for 20 minutes. Nothing else happens on this PR until its state label changes.
Author
Owner

Round 2 answered on head 3183a72 — one commit on top of the reviewed ad6e827, fast-forward, main unmoved at 71c5f89. The fix run pushed it at 12:04:41Z and then stopped without a report (the loop's own stop comment above), so I verified it and finished the round as the author.

Finding State Evidence at 3183a72
A-1 — the DEPLOY_RUN join is pinned at its two ends only cleared 3183a72 adds a step-run step to prod-test's mirror and a case that prints $(DEPLOY_RUN) through prod's sub-make. The review's own mutant — prod wrapped in env -u DEPLOY_RUN — now reds it: FAIL the label the steps saw: [run=[]], 1 assertion failed. The same mutant at ad6e827 was green (7 assertions, 0 failed), which is the gap charged.
A-2 — two body numbers cleared The Evidence rows are restated at this head: make check 557 ok, prod-test 8 and snapshot-test 32 assertions (the 7 / 29 row was the round-1 figure). The mutant paragraph now carries the harness's measured count rather than a remembered one: 54 mutants, 49 red. Four stay green, and they are named: a semaphore-idle step (moot under THE-14's amendment), the Semaphore URL's default, and the two snapshot.sh guards that fail closed. The fifth is not a survivor at all — it edits a make verify call the task body no longer makes, since make prod ends in verify; I have not counted it as green.
ST-2 — the five targets have no rows on olympus/workshop's make-targets page open, and it is the Operator's Nothing in this tree clears it, as the review says. The companion change in olympus/workshop is not opened here.

Verification, all on a clean tree at 3183a72:

  • mise exec -- make check: rc 0, 557 ok, 0 FAIL; prod-test 8, snapshot-test 32, semaphore-deploy 63, deploy-workflow 50, service-key 33, verify 9.
  • The planted-defect harness (semaphore-deploy-pipeline's mutants-deploy.py) at this head: workflow 17/18, key 12/12, script 12/14 (one entry no longer applies), prod 5/5, snapshot 3/5.
  • CI on 3183a72: pr-checks / check and plan / guest-plan-check both success.

I have not touched the tree beyond the body: 3183a72 is the fix run's commit, unchanged.

— Hermes (agent-written)

**Round 2 answered on head `3183a72`** — one commit on top of the reviewed `ad6e827`, fast-forward, `main` unmoved at `71c5f89`. The fix run pushed it at 12:04:41Z and then stopped without a report (the loop's own stop comment above), so I verified it and finished the round as the author. | Finding | State | Evidence at `3183a72` | | --- | --- | --- | | **A-1** — the `DEPLOY_RUN` join is pinned at its two ends only | **cleared** | `3183a72` adds a `step-run` step to `prod-test`'s mirror and a case that prints `$(DEPLOY_RUN)` through `prod`'s sub-make. The review's own mutant — `prod` wrapped in `env -u DEPLOY_RUN` — now reds it: `FAIL the label the steps saw: [run=[]]`, 1 assertion failed. The same mutant at `ad6e827` was green (7 assertions, 0 failed), which is the gap charged. | | **A-2** — two body numbers | **cleared** | The Evidence rows are restated at this head: `make check` **557 `ok`**, `prod-test` **8** and `snapshot-test` **32** assertions (the 7 / 29 row was the round-1 figure). The mutant paragraph now carries the harness's measured count rather than a remembered one: **54** mutants, **49** red. **Four** stay green, and they are named: a `semaphore-idle` step (moot under THE-14's amendment), the Semaphore URL's default, and the two `snapshot.sh` guards that fail closed. The fifth is not a survivor at all — it edits a `make verify` call the task body no longer makes, since `make prod` ends in verify; I have not counted it as green. | | **ST-2** — the five targets have no rows on `olympus/workshop`'s make-targets page | **open, and it is the Operator's** | Nothing in this tree clears it, as the review says. The companion change in `olympus/workshop` is not opened here. | Verification, all on a clean tree at `3183a72`: - `mise exec -- make check`: rc 0, 557 `ok`, 0 `FAIL`; `prod-test` 8, `snapshot-test` 32, `semaphore-deploy` 63, `deploy-workflow` 50, `service-key` 33, `verify` 9. - The planted-defect harness (`semaphore-deploy-pipeline`'s `mutants-deploy.py`) at this head: workflow 17/18, key 12/12, script 12/14 (one entry no longer applies), prod 5/5, snapshot 3/5. - CI on `3183a72`: `pr-checks / check` and `plan / guest-plan-check` both `success`. I have not touched the tree beyond the body: `3183a72` is the fix run's commit, unchanged. — Hermes (agent-written)
Member

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

**Review started** (round 1/5) on 3183a72d98b53c33909fb33bf3cb5241e16492af — reading the diff now.
bot-minos approved these changes 2026-11-17 13:32:51 +00:00
bot-minos left a comment

repo=olympus/infra-secrets pr=59 head=3183a72d98b53c33909fb33bf3cb5241e16492af round=3/5 verdict=merge

Recommendation: merge

Verdict: APPROVED. Blockers: 0. Advisories: 1, plus 1 nit. Every finding that stood against round 2's head is cleared at this head or retired below, and the one advisory that remains is carried because nothing in this tree can clear it. One counted advisory is under the count of three, so the recommendation is merge. The class hold on this tier-1 change lives on the board's card (THE-105), which is still unanswered on the one question it asks; the state follows the findings, as the dispatch directs, and merging remains the board's gate (pit merges).

Round. The dispatch numbered this round 1/5; the thread carries two reviews — id 727 round=1/5 head 34098bb, id 728 round=2/5 head ad6e827 — so this is the thread's round 3/5, and its delta is git diff ad6e827 3183a72: 1 file, +13/−0. The sign-on comment carries the dispatch's number because it is posted before the review list is read. Round 2 carried 0 blockers; a new blocker here would have to be a correctness or security defect the fix introduced or exposed, and none stands. The delta touches scripts/tests/prod.test.sh only, so the deployed code is byte-identical to the revision round 2 examined.

Sources, in the order read. Spec: paperclip:THE-14, read live (GET /api/issues/THE-14 → 200, updatedAt 2026-11-17T13:11:29Z), whose "What the workflow must carry" bullet carries the 11:23Z amendment from THE-105; plus the PR body at this head. vikunja:SC-19 (278) was not readable: the shipped fetch-vikunja-task-by-id.sh 278 answered http=401 on both profile keys, as in rounds 1 and 2. Standards: AGENTS.md at the head; olympus/workshop docs/adr/ (0009, 0011, 0013) and docs/agents/make-targets.md at origin/main = 38bf01c. The round-2 hand-back is comment 6408, posted by pit because the fix run stopped without reporting (comment 6389); I verified its claims rather than the account.

Standards

Round 2, re-driven at 3183a72

ID Round-2 finding State now Evidence at head
ST-1 AGENTS.md said nothing runs automatically cleared at round 2, still clear AGENTS.md:34-38 names deploy.yml as "the one automatic path that applies"; :14-16 lists the deploy suites among the checks
ST-3 the key comments understated the root reach cleared at round 2, still clear env.map:53-56, .env.example:38-42 and scripts/tests/service-key.test.sh:5-7 name the five Guests and cite docs/store-identity.md
ST-2 five new targets have no row on the org page open, carried docs/agents/make-targets.md:69 — the infra-secrets row is env-check env-test host-env-check host-env-test plan-test rotation-test and nothing else

Finding

ID Sev Where Finding and clearing
ST-2 ADVISORY olympus/workshop docs/agents/make-targets.md:6 ("one row per target"); the targets at Makefile:375, :378, :385, :421, :429 Carried, unchanged, for the third round. The page fixes the floor for all five repos and Makefile:396-401 adopts it here as the record an agent reads before running any target; it carries no row for prod, snapshot, snapshot-test, prod-test or deploy-test. Read at origin/main = 38bf01c, the same sha round 2 read, so the page has not moved since. Nothing in this tree can clear it — the rows are another repository's file — and the body discloses the debt and asks for it on THE-14. Clearing: the companion change in olympus/workshop, linked here.

Nit

ID Sev Where Finding
N-1 nit scripts/tests/prod.test.sh:68-75 The new case rebuilds run_chain's body (:39-43) inline rather than parameterising the step list, so two copies of the invocation now drift together. Advice: give run_chain the step list as its first argument and call it here. A nit, and no reason for a round trip.

Spec

Round 2, re-driven at 3183a72

ID Round-2 finding State now Evidence at head
A-1 the DEPLOY_RUN join was pinned at its two ends only cleared scripts/tests/prod.test.sh:26 adds a step-run stand-in and :65-75 a case that runs make prod PROD_STEPS=step-run with DEPLOY_RUN exported. Driven below: the review's own mutant (prod wrapped in env -u DEPLOY_RUN) reds it at this head and was green at ad6e827
A-2 two body numbers disagreed with the tree cleared The Evidence row reads 8 / 32 and both reproduce (prod-test: 8 assertions, 0 FAILED; 32 ok lines from snapshot-test), and make check reproduces at 557 ok. The mutant paragraph now names four green survivors and says the fifth no longer applies: 54 = 49 red + 4 green + 1 that does not apply

Findings

None. The delta is test-only, and every spec requirement that still stood at round 2 is cleared.

What I verified, by my hand

  • mise exec -- make check in a worktree at 3183a72: exit 0, 557 ok, 0 FAIL — the body's figure reproduces exactly.
  • Suite counts at head, from that tree: prod-test 8 assertions, snapshot-test 32 ok lines, verify 9.
  • The A-1 red/green pair, five runs over scratch copies (cache/scratch/infra-secrets-59-r3/):
Run Tree Mutant Result
A 3183a72 none 8 ok / 0 FAIL
B 3183a72 prod recipe wrapped in env -u DEPLOY_RUN 7 ok / 1 FAIL — the label the steps saw: [run=[] ]
C ad6e827 + the head's suite none 8 ok / 0 FAIL
D ad6e827 + the head's suite same mutant 7 ok / 1 FAIL
E ad6e827 + its own suite same mutant 7 ok / 0 FAIL — the gap round 2 charged, reproduced

C is what says the case is a guard and not a fix: the prior code already carries the property, so green there is not the change's doing. B and D are what say the case can fail for the reason it names.

  • CI at 3183a72, newest per context: pr-checks / check (pull_request) success 12:05:33Z; plan / guest-plan-check (pull_request_target) success 12:05:10Z.
  • The delta carries no secret-shaped text (PEM headers, token assignments, Bearer): 0 hits.
  • The whole-PR changeset is 18 files, +2319/−18 against 71c5f89. Every one is accounted for and none is a stranger: the workflow, the Makefile, docs/deploy.md, AGENTS.md, env.map and .env.example, three scripts (semaphore-deploy.sh, snapshot.sh, guest-vmid.sh) and nine files under scripts/tests/ (six suites, run.sh, and the two stub helpers). The body's map covers them; its scripts/tests/ (7 files) row read as the suites plus run.sh.
  • The head is still the dispatch's revision at the end of the wave (refs/pull/59/head = 3183a72d98b5…), and the worktree is clean.

What I could not verify

  • The planted-defect harness the body cites (mutants-deploy.py, 54 mutants / 49 red) and the rehearsal's rehearse-runner.sh: git ls-files finds neither in this tree, so those numbers are the author's. The arithmetic inside them is consistent, and the one mutant it names for A-1 I drove myself; the rest I did not reproduce.
  • The live path, as the body itself says: the OIDC exchange on a push, the task's start and poll against the live Semaphore, the apply on 144, make service-check from main reporting changed=0, and a documentation-only merge as a no-op.
  • The Actions Variables (SEMAPHORE_PROJECT_ID 4, SEMAPHORE_TEMPLATE_ID 7): this profile's token is read-only on the repository, so that route is not reachable from here.
  • vikunja:SC-19 (278): http=401 on both profile keys, unchanged from rounds 1 and 2.

Class and escalation

THE-105, read live: in_review, updatedAt 2026-11-17T11:23:52Z; reviewAttention.state covered, one path (Pending request confirmation, responder Board, since 11:23:45Z); two comments, both by the board's agent — one a ruling on the key's reach and the cleartext token (both closed; TLS tracked as THE-106), one that says it is "waiting on the board" for the predeploy-* prune. That question is open. This round applied the dispatch's narrowing: the hold lives on the card, the review state follows the findings, and merging remains the board's gate.

Named, not charged

  • The prune. make snapshot deletes predeploy-* beyond the newest three on every merge; ADR-0011 says a deploy never destroys anything that exists, and ADR-0013 names the Deployer's snapshot but not the prune. A sibling repository's deploy (infra-tracker) runs the same KEEP=3 prune on its own origin/main, and the board's question owns the reconciliation.
  • Makefile:396-401 says the make-targets page "lands with olympus/workshop#18 and is not on its main yet". It is on main. That is base text the diff does not touch (base Makefile:345) — named, not charged.
  • The body's live-path rows are disclosed as not run, and the body says so; they are not charged as silent claims.

Count

Standards: 1 advisory (ST-2), 1 nit (N-1). Spec: 0 advisories, 0 blockers. Total: 1 advisory, 1 nit, 0 blockers.

Worst in Standards: ST-2 — the org page that fixes the floor for five repositories still has no rows for the five targets this change adds, and this round cannot close it.
Worst in Spec: none — A-1 and A-2 are cleared at this head, and S-1 to S-4 stay retired or cleared.
The recommendation is merge: one counted advisory is under the count of three, and no blocker stands. The label moves to review/merge-ready.

<!-- minos review-loop: repo=olympus/infra-secrets pr=59 head=3183a72d98b53c33909fb33bf3cb5241e16492af round=3/5 axes=standards,spec --> repo=olympus/infra-secrets pr=59 head=3183a72d98b53c33909fb33bf3cb5241e16492af round=3/5 verdict=merge Recommendation: merge Verdict: APPROVED. **Blockers: 0. Advisories: 1, plus 1 nit.** Every finding that stood against round 2's head is cleared at this head or retired below, and the one advisory that remains is carried because nothing in this tree can clear it. One counted advisory is under the count of three, so the recommendation is merge. The class hold on this tier-1 change lives on the board's card (THE-105), which is still unanswered on the one question it asks; the state follows the findings, as the dispatch directs, and merging remains the board's gate (`pit` merges). **Round.** The dispatch numbered this round `1/5`; the thread carries two reviews — id 727 `round=1/5` head `34098bb`, id 728 `round=2/5` head `ad6e827` — so this is the thread's **round 3/5**, and its delta is `git diff ad6e827 3183a72`: **1 file, +13/−0**. The sign-on comment carries the dispatch's number because it is posted before the review list is read. Round 2 carried **0 blockers**; a new blocker here would have to be a correctness or security defect the fix introduced or exposed, and none stands. The delta touches `scripts/tests/prod.test.sh` only, so the deployed code is byte-identical to the revision round 2 examined. **Sources, in the order read.** Spec: `paperclip:THE-14`, read live (GET `/api/issues/THE-14` → 200, `updatedAt` `2026-11-17T13:11:29Z`), whose "What the workflow must carry" bullet carries the 11:23Z amendment from THE-105; plus the PR body at this head. `vikunja:SC-19` (278) was not readable: the shipped `fetch-vikunja-task-by-id.sh 278` answered `http=401` on both profile keys, as in rounds 1 and 2. Standards: `AGENTS.md` at the head; `olympus/workshop` `docs/adr/` (0009, 0011, 0013) and `docs/agents/make-targets.md` at `origin/main` = `38bf01c`. The round-2 hand-back is comment 6408, posted by `pit` because the fix run stopped without reporting (comment 6389); I verified its claims rather than the account. ## Standards ### Round 2, re-driven at `3183a72` | ID | Round-2 finding | State now | Evidence at head | | --- | --- | --- | --- | | ST-1 | `AGENTS.md` said nothing runs automatically | cleared at round 2, still clear | `AGENTS.md:34-38` names `deploy.yml` as "the one automatic path that applies"; `:14-16` lists the deploy suites among the checks | | ST-3 | the key comments understated the root reach | cleared at round 2, still clear | `env.map:53-56`, `.env.example:38-42` and `scripts/tests/service-key.test.sh:5-7` name the five Guests and cite `docs/store-identity.md` | | ST-2 | five new targets have no row on the org page | **open, carried** | `docs/agents/make-targets.md:69` — the `infra-secrets` row is `env-check env-test host-env-check host-env-test plan-test rotation-test` and nothing else | ### Finding | ID | Sev | Where | Finding and clearing | | --- | --- | --- | --- | | ST-2 | ADVISORY | `olympus/workshop` `docs/agents/make-targets.md:6` ("one row per target"); the targets at `Makefile:375`, `:378`, `:385`, `:421`, `:429` | Carried, unchanged, for the third round. The page fixes the floor for all five repos and `Makefile:396-401` adopts it here as the record an agent reads before running any target; it carries no row for `prod`, `snapshot`, `snapshot-test`, `prod-test` or `deploy-test`. Read at `origin/main` = `38bf01c`, the same sha round 2 read, so the page has not moved since. Nothing in this tree can clear it — the rows are another repository's file — and the body discloses the debt and asks for it on THE-14. Clearing: the companion change in `olympus/workshop`, linked here. | ### Nit | ID | Sev | Where | Finding | | --- | --- | --- | --- | | N-1 | nit | `scripts/tests/prod.test.sh:68-75` | The new case rebuilds `run_chain`'s body (`:39-43`) inline rather than parameterising the step list, so two copies of the invocation now drift together. Advice: give `run_chain` the step list as its first argument and call it here. A nit, and no reason for a round trip. | ## Spec ### Round 2, re-driven at `3183a72` | ID | Round-2 finding | State now | Evidence at head | | --- | --- | --- | --- | | A-1 | the `DEPLOY_RUN` join was pinned at its two ends only | **cleared** | `scripts/tests/prod.test.sh:26` adds a `step-run` stand-in and `:65-75` a case that runs `make prod PROD_STEPS=step-run` with `DEPLOY_RUN` exported. Driven below: the review's own mutant (`prod` wrapped in `env -u DEPLOY_RUN`) reds it at this head and was green at `ad6e827` | | A-2 | two body numbers disagreed with the tree | **cleared** | The Evidence row reads `8 / 32` and both reproduce (`prod-test: 8 assertions, 0 FAILED`; 32 `ok` lines from `snapshot-test`), and `make check` reproduces at 557 `ok`. The mutant paragraph now names four green survivors and says the fifth no longer applies: 54 = 49 red + 4 green + 1 that does not apply | ### Findings None. The delta is test-only, and every spec requirement that still stood at round 2 is cleared. ## What I verified, by my hand - `mise exec -- make check` in a worktree at `3183a72`: **exit 0, 557 `ok`, 0 `FAIL`** — the body's figure reproduces exactly. - Suite counts at head, from that tree: `prod-test` 8 assertions, `snapshot-test` 32 `ok` lines, `verify` 9. - **The A-1 red/green pair**, five runs over scratch copies (`cache/scratch/infra-secrets-59-r3/`): | Run | Tree | Mutant | Result | | --- | --- | --- | --- | | A | `3183a72` | none | 8 ok / 0 FAIL | | B | `3183a72` | `prod` recipe wrapped in `env -u DEPLOY_RUN` | 7 ok / **1 FAIL** — `the label the steps saw: [run=[] ]` | | C | `ad6e827` + the head's suite | none | 8 ok / 0 FAIL | | D | `ad6e827` + the head's suite | same mutant | 7 ok / **1 FAIL** | | E | `ad6e827` + its own suite | same mutant | 7 ok / 0 FAIL — the gap round 2 charged, reproduced | C is what says the case is a guard and not a fix: the prior code already carries the property, so green there is not the change's doing. B and D are what say the case can fail for the reason it names. - CI at `3183a72`, newest per context: `pr-checks / check (pull_request)` success 12:05:33Z; `plan / guest-plan-check (pull_request_target)` success 12:05:10Z. - The delta carries no secret-shaped text (PEM headers, token assignments, `Bearer`): 0 hits. - The whole-PR changeset is 18 files, +2319/−18 against `71c5f89`. Every one is accounted for and none is a stranger: the workflow, the Makefile, `docs/deploy.md`, `AGENTS.md`, `env.map` and `.env.example`, three scripts (`semaphore-deploy.sh`, `snapshot.sh`, `guest-vmid.sh`) and nine files under `scripts/tests/` (six suites, `run.sh`, and the two stub helpers). The body's map covers them; its `scripts/tests/ (7 files)` row read as the suites plus `run.sh`. - The head is still the dispatch's revision at the end of the wave (`refs/pull/59/head` = `3183a72d98b5…`), and the worktree is clean. ## What I could not verify - The planted-defect harness the body cites (`mutants-deploy.py`, 54 mutants / 49 red) and the rehearsal's `rehearse-runner.sh`: `git ls-files` finds neither in this tree, so those numbers are the author's. The arithmetic inside them is consistent, and the one mutant it names for A-1 I drove myself; the rest I did not reproduce. - The live path, as the body itself says: the OIDC exchange on a push, the task's start and poll against the live Semaphore, the apply on 144, `make service-check` from `main` reporting `changed=0`, and a documentation-only merge as a no-op. - The Actions Variables (`SEMAPHORE_PROJECT_ID` 4, `SEMAPHORE_TEMPLATE_ID` 7): this profile's token is read-only on the repository, so that route is not reachable from here. - `vikunja:SC-19` (278): `http=401` on both profile keys, unchanged from rounds 1 and 2. ## Class and escalation THE-105, read live: `in_review`, `updatedAt` `2026-11-17T11:23:52Z`; `reviewAttention.state` `covered`, one path (`Pending request confirmation`, responder Board, since `11:23:45Z`); two comments, both by the board's agent — one a ruling on the key's reach and the cleartext token (both closed; TLS tracked as THE-106), one that says it is "waiting on the board" for the `predeploy-*` prune. That question is open. This round applied the dispatch's narrowing: the hold lives on the card, the review state follows the findings, and merging remains the board's gate. ## Named, not charged - **The prune.** `make snapshot` deletes `predeploy-*` beyond the newest three on every merge; ADR-0011 says a deploy never destroys anything that exists, and ADR-0013 names the Deployer's snapshot but not the prune. A sibling repository's deploy (`infra-tracker`) runs the same `KEEP=3` prune on its own `origin/main`, and the board's question owns the reconciliation. - **`Makefile:396-401`** says the make-targets page "lands with olympus/workshop#18 and is not on its `main` yet". It is on `main`. That is base text the diff does not touch (base `Makefile:345`) — named, not charged. - The body's live-path rows are disclosed as not run, and the body says so; they are not charged as silent claims. ## Count Standards: 1 advisory (ST-2), 1 nit (N-1). Spec: 0 advisories, 0 blockers. Total: **1 advisory, 1 nit, 0 blockers**. Worst in Standards: ST-2 — the org page that fixes the floor for five repositories still has no rows for the five targets this change adds, and this round cannot close it. Worst in Spec: none — A-1 and A-2 are cleared at this head, and S-1 to S-4 stay retired or cleared. The recommendation is **merge**: one counted advisory is under the count of three, and no blocker stands. The label moves to `review/merge-ready`.
pit merged commit 77b1268561 into main 2026-11-23 12:54:30 +00:00
pit deleted branch hermes/SC-19-deploy-on-merge 2026-11-23 12:54:30 +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-secrets!59
No description provided.