guest: the two Stacks the agents run on, and the checks that judge them (THE-64) #2

Merged
pit merged 5 commits from hermes/the64-stacks-and-roles into main 2026-11-12 21:05:07 +00:00
Owner

What this is

Annex B #4 of the accepted design (THE-60 §5–§7), split at the point the work actually splits. This change is the two Stacks and the machinery that judges and drives them; each host's service play is a run of its own, because a role carries a rehearsal and the paperclip role cannot name its own database until 153's inside is measured.

The two Stacks

hermes/guest (135) and paperclip/guest (153): one Stack, one state record each (prod/{hermes,paperclip}-guest.tfstate), declaring vmid, address, gateway, bridge, MAC, cores, memory, swap, disk, features, tags, start_on_boot and pool_id = "prod", with prevent_destroy = true and the three-part ignore_changes note the Semaphore guest carries.

Every value was read from the hypervisor on 2026-11-12 rather than from the design's prose, and the measurement corrected the prose twice:

design measured
153's bridge vmbr0 (assumed) vmbr1
153's cores / memory not carried 4 / 12 GiB

keys.d/ carries the Admin agent's key and the Semaphore deploy key's public half — so a rebuilt Guest is one the fleet's admin and its deploy can both enter, which 153 has never had.

The checks

check what it holds
plan.yml two jobs, one per record, each planning head/<host>/guest with that record's plan key and the auditor token, fork head refused as the first step of each, no paths: filter
make plan-test real plans of a throwaway local Stack: green on a change, red on a destroy, red on a replace, red on an unmakeable plan
make env-test the map's pin and actor axis, each record's name, what a Guest Stack must declare (pool, guard, boot, nesting+keyctl), and that both plan jobs refuse a fork first
make check green: 49 assertions, no store, no credential

The deploy vocabulary

make guest-plan-check / guest-plan / guest / snapshot / verify, and prod composing them in the design's order: 153 → 135, with scripts/agents-idle.sh between — a bounded wait (600 s) for no agent run in flight that proceeds and says how long it waited, the shape make semaphore-idle has. scripts/snapshot.sh takes predeploy-* before anything changes and prunes by exact name.

The inventory

docs/hosts.md is now the measured page: both containers from pct config, 135's inside from the host itself, 153's inside read-only through pct exec from duku — the only route, since no key in the estate reaches 153.

What this change does not do, and why

remains why
hermes/service a role is its own run: the release pin, config.yaml with its 8 reference positions, .env (19 names), the door as an installed artefact, and four units — with a --check rehearsal, which cannot run from this session
paperclip/service needs three facts 153's read did not reach: its database role and database names, and its app environment's names. Named in docs/hosts.md with the exact commands that read them
the store's part plan.yml takes the two plan keys as repository secrets — the shape all five sibling repositories use — because the agents login cannot fill two records' AWS_* pairs into one .env (scripts/env.sh: one name per actor). THE-62's "the plan job logs in" needs a per-record fetch first; that is a change to the vendored script and its pin

make service refuses by name for each host until its role lands, so prod cannot half-deploy.

Two things worth a reviewer's eye

  • pool_id is declared but 135/153 are not in /pool/prod yet; that write is the Operator's (THE-65), and until it lands the PROD token cannot reach either Guest. The attribute is there so a replacement lands in the pool.
  • description is ignored on both Stacks: the live containers carry the community script's HTML page, and the first adoption must not plan to erase text no declaration wrote.

The three fixes the review and triage named, at 4f944f3

pr-checks green at the new head; make check green with 65 assertions (env-test 41, plan-test 22, env-check 2).

1. The apply is judged

confirm_and_apply now pipes the artifact it is about to apply through scripts/plan-check.py under NONINTERACTIVE=1, and aborts on red — infra-cockpit's shape. A red artifact is removed and nothing is applied. make plan-test has two new cases that exercise exactly that path, not the judge in isolation:

  • a sandbox with a pending destroy → make guest NONINTERACTIVE=1 exits non-zero, prints aborted: the plan would destroy or replace, names terraform_data.two would be destroyed, and the state still holds both resources;
  • a sandbox with a pending create → applies, three in the state.

2. state_credentials — the backend's two names

env.map fills one pair per record under the host's own prefix (HERMES_GUEST_STATE_* / PAPERCLIP_GUEST_STATE_*), and the S3 backend reads AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY; nothing mapped the two onto each other, so make guest, guest-plan and snapshot would have failed at tofu init for the Operator and the deployer. The macro puts the pair on the backend's names inside guest_stack_init, refuses by name when either is empty, and env-test asserts it at the composed command for both hosts (make -n guest HOST=<host>).

3. The idle guard — wired, and its one missing input named

input where it comes from now
PAPERCLIP_DASHBOARD_URL PAPERCLIP_URL, a committed literal prod passes to the guard
PAPERCLIP_COMPANY_ID PAPERCLIP_COMPANY_ID, a committed literal, same
PAPERCLIP_API_KEY not there. No read-only dashboard key is minted at secret/paperclip/api/runner

A literal row for the first two cannot work on the runner: the store refuses a non-secret, and scripts/env.sh reports an age-class literal as "not held" and writes the file without it — the guard would still no-op. So they are Makefile literals, like every other address in the Stacks.

The key is the gap, and it is not silent:

  • scripts/agents-idle.sh refuses with the path named: PAPERCLIP_API_KEY is empty: no read-only dashboard key is minted at secret/paperclip/api/runner yet, so the fleet cannot be read and no wait happened;
  • env.map carries the row commented out, with the reason it cannot be written before the path exists (a 404 refuses the whole make env fetch, which would break every deploy to close a gap);
  • docs/deploy.md carries the minting step: create the key, bao kv put secret/paperclip/api/runner …, add the runner grants row in automation-runner.hcl, uncomment the map's row.

Until that lands the 600 s wait does not happen, and design §7 says what that costs. It is one Operator step, and it is named in three places rather than hidden behind a passing script.

A fourth bug the tests found

require_host's case pattern was hermes paperclip) — two tokens to bash, so the first Target that ran died on a syntax error. make -n never shows it. One pattern now, and env-test runs make -n guest for both hosts.

Not changed, deliberately

proxmox_download_file carries no prevent_destroy: the template file is shared with 143/145, and deleting it is a cluster-wide act. With the judge on the apply path it is a create/destroy the deploy refuses, so a guard on the resource would only add a hand step to a rename.

## What this is Annex B #4 of the accepted design ([THE-60](/THE/issues/THE-60#document-design) §5–§7), split at the point the work actually splits. This change is the two **Stacks** and the machinery that judges and drives them; each host's **service play** is a run of its own, because a role carries a rehearsal and the paperclip role cannot name its own database until 153's inside is measured. ## The two Stacks `hermes/guest` (135) and `paperclip/guest` (153): one Stack, one state record each (`prod/{hermes,paperclip}-guest.tfstate`), declaring vmid, address, gateway, bridge, MAC, cores, memory, swap, disk, `features`, tags, `start_on_boot` and `pool_id = "prod"`, with `prevent_destroy = true` and the three-part `ignore_changes` note the Semaphore guest carries. Every value was read from the hypervisor on 2026-11-12 rather than from the design's prose, and the measurement corrected the prose twice: | | design | measured | | --- | --- | --- | | 153's bridge | `vmbr0` (assumed) | **`vmbr1`** | | 153's cores / memory | not carried | **4 / 12 GiB** | `keys.d/` carries the Admin agent's key and the Semaphore deploy key's public half — so a rebuilt Guest is one the fleet's admin and its deploy can both enter, which 153 has never had. ## The checks | check | what it holds | | --- | --- | | `plan.yml` | two jobs, one per record, each planning `head/<host>/guest` with that record's plan key and the auditor token, fork head refused as the first step of each, no `paths:` filter | | `make plan-test` | real plans of a throwaway local Stack: green on a change, red on a destroy, red on a replace, red on an unmakeable plan | | `make env-test` | the map's pin and actor axis, each record's name, what a Guest Stack must declare (pool, guard, boot, `nesting`+`keyctl`), and that both plan jobs refuse a fork first | | `make check` | **green: 49 assertions, no store, no credential** | ## The deploy vocabulary `make guest-plan-check / guest-plan / guest / snapshot / verify`, and `prod` composing them in the design's order: 153 → 135, with `scripts/agents-idle.sh` between — a bounded wait (600 s) for no agent run in flight that proceeds and says how long it waited, the shape `make semaphore-idle` has. `scripts/snapshot.sh` takes `predeploy-*` before anything changes and prunes by exact name. ## The inventory `docs/hosts.md` is now the measured page: both containers from `pct config`, 135's inside from the host itself, 153's inside read-only through `pct exec` from `duku` — the only route, since no key in the estate reaches 153. ## What this change does not do, and why | remains | why | | --- | --- | | `hermes/service` | a role is its own run: the release pin, `config.yaml` with its 8 reference positions, `.env` (19 names), the door as an installed artefact, and four units — with a `--check` rehearsal, which cannot run from this session | | `paperclip/service` | needs three facts 153's read did not reach: its database role and database names, and its app environment's names. Named in `docs/hosts.md` with the exact commands that read them | | the store's part | `plan.yml` takes the two plan keys as repository secrets — the shape all five sibling repositories use — because the `agents` login cannot fill two records' `AWS_*` pairs into one `.env` (`scripts/env.sh`: one name per actor). THE-62's "the plan job logs in" needs a per-record fetch first; that is a change to the vendored script and its pin | `make service` refuses by name for each host until its role lands, so `prod` cannot half-deploy. ## Two things worth a reviewer's eye - `pool_id` is declared but 135/153 are not in `/pool/prod` yet; that write is the Operator's (THE-65), and until it lands the PROD token cannot reach either Guest. The attribute is there so a replacement lands in the pool. - `description` is ignored on both Stacks: the live containers carry the community script's HTML page, and the first adoption must not plan to erase text no declaration wrote. --- ## The three fixes the review and triage named, at `4f944f3` `pr-checks` green at the new head; `make check` green with **65** assertions (env-test 41, plan-test 22, env-check 2). ### 1. The apply is judged `confirm_and_apply` now pipes the artifact it is about to apply through `scripts/plan-check.py` under `NONINTERACTIVE=1`, and aborts on red — `infra-cockpit`'s shape. A red artifact is removed and nothing is applied. `make plan-test` has two new cases that exercise exactly that path, not the judge in isolation: - a sandbox with a pending destroy → `make guest NONINTERACTIVE=1` exits non-zero, prints `aborted: the plan would destroy or replace`, names `terraform_data.two would be destroyed`, and the state still holds both resources; - a sandbox with a pending create → applies, three in the state. ### 2. `state_credentials` — the backend's two names `env.map` fills one pair per record under the host's own prefix (`HERMES_GUEST_STATE_*` / `PAPERCLIP_GUEST_STATE_*`), and the S3 backend reads `AWS_ACCESS_KEY_ID` / `AWS_SECRET_ACCESS_KEY`; nothing mapped the two onto each other, so `make guest`, `guest-plan` and `snapshot` would have failed at `tofu init` for the Operator and the deployer. The macro puts the pair on the backend's names inside `guest_stack_init`, refuses by name when either is empty, and `env-test` asserts it **at the composed command** for both hosts (`make -n guest HOST=<host>`). ### 3. The idle guard — wired, and its one missing input named | input | where it comes from now | | --- | --- | | `PAPERCLIP_DASHBOARD_URL` | `PAPERCLIP_URL`, a committed literal `prod` passes to the guard | | `PAPERCLIP_COMPANY_ID` | `PAPERCLIP_COMPANY_ID`, a committed literal, same | | `PAPERCLIP_API_KEY` | **not there.** No read-only dashboard key is minted at `secret/paperclip/api/runner` | A `literal` row for the first two cannot work on the runner: the store refuses a non-secret, and `scripts/env.sh` reports an age-class literal as "not held" and writes the file without it — the guard would still no-op. So they are Makefile literals, like every other address in the Stacks. The key is the gap, and it is not silent: - `scripts/agents-idle.sh` refuses with the path named: `PAPERCLIP_API_KEY is empty: no read-only dashboard key is minted at secret/paperclip/api/runner yet, so the fleet cannot be read and no wait happened`; - `env.map` carries the row commented out, with the reason it cannot be written before the path exists (a 404 refuses the whole `make env` fetch, which would break every deploy to close a gap); - `docs/deploy.md` carries the minting step: create the key, `bao kv put secret/paperclip/api/runner …`, add the `runner` grants row in `automation-runner.hcl`, uncomment the map's row. Until that lands the 600 s wait does not happen, and design §7 says what that costs. It is one Operator step, and it is named in three places rather than hidden behind a passing script. ### A fourth bug the tests found `require_host`'s `case` pattern was `hermes paperclip)` — two tokens to bash, so the first Target that ran died on a syntax error. `make -n` never shows it. One pattern now, and `env-test` runs `make -n guest` for both hosts. ### Not changed, deliberately `proxmox_download_file` carries no `prevent_destroy`: the template file is shared with 143/145, and deleting it is a cluster-wide act. With the judge on the apply path it is a create/destroy the deploy refuses, so a guard on the resource would only add a hand step to a rename.
`hermes/guest` (135) and `paperclip/guest` (153): one Stack and one state
record each, `prod/{hermes,paperclip}-guest.tfstate`, in the store's bucket.

Every value in the two `guest` objects was read from the hypervisor on
2026-11-12 (`pct config 135` / `pct config 153` on duku) rather than taken from
the design's prose, and the measurement corrected the prose in two places: 153
is on `vmbr1` with the fleet's service Guests, not on `vmbr0`, and it has 4
cores and 12 GiB — facts the design did not carry. 135 matches the design
exactly (2 cores, 4 GiB, 40 GiB on fast-storage, nesting+keyctl, vmbr0).

Both declare vmid, address, gateway, bridge, MAC, cores, memory, swap, disk,
features, tags, `start_on_boot` and `pool_id = "prod"`, with
`prevent_destroy = true` and the three-state `ignore_changes` note the
Semaphore guest carries: the creation-time `keys.d` account, the `ForceNew`
pool attribute the provider never reads back, and the community script's HTML
`description`, which no declaration wrote and the first adoption must not plan
to erase.

`keys.d/` carries the Admin agent's key and the Semaphore deploy key's public
half, so a rebuilt Guest is one the fleet's admin and its deploy can both enter
— the property 153 has never had.

Neither Guest is in `/pool/prod` yet; that write is the Operator's (THE-65),
which is why the attribute is declared anyway: a replacement created from this
configuration lands in the pool without a second hand step.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
deploy: the plan judge, the deploy's vocabulary and the measured inventory (paperclip:THE-64)
All checks were successful
pr-checks / check (pull_request) Successful in 10s
ff949c3495
The two Stacks have a deploy around them now, and a judge that reds before a
merge can cost a machine.

- `.forgejo/workflows/plan.yml`: two jobs, one per host, each planning the pull
  request's own Stack (`head/<host>/guest`) with that record's plan key and the
  auditor token, each refusing a fork head as its first step, each a context of
  its own so a red names the machine.
- `make guest-plan-check` / `guest-plan` / `guest` / `snapshot` / `verify`, and
  `prod` composing them in the design's order: 153, then 135, with
  `scripts/agents-idle.sh` between — the bounded wait for no agent run in flight,
  which proceeds and says why, the shape `make semaphore-idle` has.
- `scripts/snapshot.sh`: `predeploy-*` before anything changes, three kept, the
  rest pruned by exact name.
- `make plan-test`: real plans of a throwaway local Stack (OpenTofu's
  `terraform_data`, local state, no provider, no credential) judged green on a
  change, red on a destroy, red on a replace, red on a plan that cannot be made.
- `make env-test`: the map's pin and actor axis, each host's record name, what a
  Guest Stack must declare, and that both plan jobs refuse a fork head first.
- `docs/hosts.md`: the inventory the design made an explicit first step — both
  containers measured on the hypervisor, 135's inside measured on the host, 153's
  inside measured read-only through `pct exec`, and the three 153 facts that read
  did not reach named with the commands that would.

`make check` is green: 49 assertions, no store and no credential.

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

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

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

Reviewed olympus/infra-agents #2 at ff949c3495 — round 1/5 (the review list was empty before this one, so the thread's count and the dispatch's agree). Spec: paperclip:THE-64, which names THE-60's design §5–§7; both read live, plus olympus/workshop docs/adr/0015 at main. Standards: this repo's AGENTS.md, Makefile header, env.map/.env.example, docs/deploy.md, docs/hosts.md — and the sibling shape the change says it carries (olympus/infra-cockpit at origin/main).

Recommendation: fix

Standards

1. BLOCKER — the deploy's apply is not judged, and three files in this change say it is.
Makefile:55 — "the pull request's plan check and the deploy's own apply run that one file". docs/deploy.md:22-24 — "the plan a reviewer saw and the plan a merge applies are held to that one judge — make guest-plan-check in CI, make guest on the deploy". scripts/tests/plan-check.sh:3 — "the judging half of the deploy's own make guest".
What the code does: guest (Makefile:239-243) runs tofu plan -out=plan.out and then confirm_and_apply (Makefile:123-137), which renders the artifact, prints NONINTERACTIVE: the judged plan above is the gate, and runs tofu apply plan.out. PLAN_CHECK is referenced only inside plan_judged (Makefile:112, :116), and plan_judged is reached only from guest-plan-check (Makefile:231-232). Driven with make -n guest HOST=hermes: the composed recipe is tofu init → tofu plan -out=plan.out → tofu show → the gate word → tofu apply plan.out, with no judge call in it.
The sibling this file cites does have it: infra-cockpit's Makefile at origin/main, confirm_and_apply, runs judge_plan plan.out under NONINTERACTIVE=1 and aborts the whole apply on a red; and cockpit's scripts/tests/plan-check.sh:320 drives make guest NONINTERACTIVE=1. This repo's plan-test never drives make guest, which is why the floor stays green.
Impact: every merge runs prod → guest → apply on a plan no judge has read. ADR-0011's "a deploy never destroys or replaces" then rests on prevent_destroy on the container alone — proxmox_download_file (hermes/guest/container.tf:4-17, paperclip/guest/container.tf:4-17) carries no guard, so a datastore or template change would destroy and re-create it inside a merge, unjudged.
Smallest clearing change: under NONINTERACTIVE=1, pipe tofu show -json plan.out through $(PLAN_CHECK) and abort on a non-zero (cockpit's shape), and add one plan-test case that drives make guest NONINTERACTIVE=1 and expects a red on a destroy.

2. BLOCKER — the idle guard never waits on the deploy path: its three inputs are in no declared environment.
scripts/agents-idle.sh:34-42 requires PAPERCLIP_DASHBOARD_URL, PAPERCLIP_COMPANY_ID and PAPERCLIP_API_KEY, and proceeds (exit 0) when any is empty; its header (:13-15) says all three come from .env. env.map carries six names and no Paperclip row; .env.example ends at PROXMOX_VE_API_TOKEN (:28). docs/deploy.md:34-37 states the deployer's .env is "the two records' deploy keys and the runner's own Proxmox token — env.map's rows, and nothing else."
Reproduced twice:

  • on exactly that environment (env -i with the six mapped names): agents-idle: PAPERCLIP_DASHBOARD_URL is empty, so there is no board to read; proceeding regardless. — rc 0, zero seconds waited;
  • with the three supplied and the live key: agents-idle: the fleet was still running 1 run(s) after 6s; proceeding regardless. — so the defect is the wiring, not the logic.
    Impact: design §7 — "Without it, every merge to infra-agents kills the run that made it, because that run executes on .135." make prod (Makefile:282-285) reaches the guard and goes straight on to restart 135's gateway.
    Smallest clearing change: declare the three names where make env ACTOR=runner fills them (env.map row + .env.example, or the Semaphore template's environment, named in docs/deploy.md) and assert them in make env-test; or make the guard refuse instead of proceeding when they are absent.

3. ADVISORY — statements this change falsifies are left standing.
AGENTS.md:5 still reads "This repository carries the floor and no Stack yet; the declaration lands in the change that adds hermes/ and paperclip/". env.map:57-58 still reads "Until then nothing plans from CI, and the plan check is not on the floor". README.md and docs/ were updated; these two were not, and AGENTS.md is the file an agent in this repo reads first.

4. ADVISORY — the make-targets row rule is not met.
Makefile:15-16 says "a Target added here is a row there in the same change". Ten Targets are added (env-test, plan-test, guest-plan, guest-plan-check, guest, snapshot, service-check, service, prod, verify) and no olympus/workshop change accompanies them: docs/agents/make-targets.md at main (read live) carries rows for the five repos and none for infra-agents. Either add the rows or restore the previous "they land in a companion change" wording.

5. ADVISORY — no .terraform.lock.hcl for either Stack, and the constraint floats.
hermes/guest/versions.tf:7 / paperclip/guest/versions.tf:7 declare ~> 0.77; make validate here resolved bpg/proxmox 0.122.0. All five sibling repos commit one lock file per Stack (cockpit 3, silo 1, secrets 1, forge 2, tracker 3, read at their origin/main). Without one, the plan CI judges and the deploy applies can be made by different provider versions — undercutting the "plan reviewed = plan applied" property this change exists to give.

6. ADVISORY — docs/hosts.md:64 cites a route that does not carry the figure.
The page attributes "app version 0.3.1" to GET /api/health. Read live just now: 200 {"status":"ok","deploymentMode":"authenticated",…,"commit":null,…} — no version field; /api/version and /api/meta answer 404. The value may be right; the named route does not yield it.

7. ADVISORY (minor) — plan.yml:56-59, :89-92: the head checkout keeps the job token.
actions/checkout@v5 defaults to persist-credentials: true, so the token sits in head/.git/config while the head's own HCL is planned. with: persist-credentials: false on the head checkout costs nothing. (The fork refusal is correctly the first step of both jobs, and the plan contexts carry no paths: filter as claimed.)

Spec

8. ADVISORY — one Done-when of THE-64 cannot be met by this PR.
"plan.yml is green on the PR": a pull_request_target workflow added by a pull request first runs after the merge. The commit statuses at ff949c3 carry only pr-checks / check (pull_request) (3 entries, one context, newest success), so neither plan context published anything here. The PR body does not claim otherwise — its table says what plan.yml holds, not that it ran — so this is the ticket's condition, not a false claim in the diff.

Matched from THE-64 / design §5–§7: both Stacks with vmid, address, gateway, bridge, MAC, cores, memory, swap, disk, features, tags, start_on_boot, pool_id = "prod" and prevent_destroy; one state record each (prod/{hermes,paperclip}-guest.tfstate, asserted by env-test); keys.d/ carrying the Admin and deploy public halves on both; plan.yml with two jobs, per-record plan keys, the fork refusal first, no paths: filter; make check credential-free and green; the deploy vocabulary and the design's order (153 → 135, guard before 135's service step); the measured inventory in docs/hosts.md including 153's inside and what the read did not reach; both service Targets refusing by name.

Named, not charged

  • hermes/service, paperclip/service and the infra-secrets store paths for Paperclip: deferred in the body ("What this change does not do, and why") with reasons. THE-64's Done-when is therefore not reached by this PR; that needs those runs, not a fix here.
  • plan.yml taking the two plan keys as repository secrets rather than through the agents actor (design §4): disclosed, pinned to THE-62.
  • pool_id = "prod" declared while neither Guest is in the pool (THE-65): disclosed in the body.
  • The duplicated container.tf and keys.tf between the two Stacks: the design's one-Stack-per-host is the reason, so the smell is suppressed.

Verified

  • mise exec -- make check at ff949c3: green, all cases passed — 34 env assertions + 15 plan assertions = 49, reproducing the body's count. Worktree restored afterwards (git status --porcelain empty).
  • mise exec -- make validate: both Stacks valid against bpg/proxmox 0.122.0, resolved from the floating constraint.
  • make -n guest HOST=hermes: composed recipe contains no plan-check call.
  • bash scripts/agents-idle.sh driven twice — the six-name deploy environment and the three supplied; transcripts quoted in finding 2.
  • GET https://paperclip.thepit.space/api/health 200; GET /api/companies/<id>/dashboard 200 with agents.running: 1 — the field the guard reads exists.
  • Commit statuses at ff949c3: pr-checks / check (pull_request) only.
  • Diff scanned for private keys and literal credentials: public ssh-ed25519 halves only, nothing else.
  • Head asserted equal to the dispatch's SHA through refs/pull/2/head before and after the work; main = fde2b27.

Could not verify

  • The measured container facts (vmid, MAC, bridge, cores, memory, disk on duku): no Proxmox credential in this session, and the review does not perform the host act. The pct config claims in docs/hosts.md and variables.tf are unchecked.
  • 153's inside (account, listeners, app tree) — same.
  • Whether hermes-guest-plan-check / paperclip-guest-plan-check are required contexts on main: get branch protection answers 403 for bot-minos.
  • The store side (the six state keys and their policies in infra-silo, the agents role in infra-secrets): not read.

Escalation

This change is a CI-gate change (a new plan-judge workflow) and it puts the two tier-1 agent hosts under a deploy, so the charter's class applies. The dispatch directs that the class be escalated elsewhere and that the review state follow the findings; card opened and read back — THE-99, status todo, assignee slot 0d346060-1c73-49b0-83c5-76e45eee5a7e (the board's), parentId null. Merging remains the board's gate.

Summary

Standards: 7 findings — 2 BLOCKER, 5 ADVISORY. Worst: the deploy applies a plan no judge has read (Makefile:123-137, :239-243).
Spec: 1 finding — ADVISORY, and the matched list above. Worst: the ticket's "plan.yml green on the PR" cannot be satisfied by this PR.

The recommendation turns on the two blockers: the merge path must judge its own artifact, and the idle guard must have an input it can actually read.

<!-- minos review-loop: repo=olympus/infra-agents pr=2 head=ff949c3495f4116eaf0aba74419765e3968ff94d round=1/5 axes=standards,spec --> Reviewed `olympus/infra-agents` #2 at ff949c3495f4116eaf0aba74419765e3968ff94d — round 1/5 (the review list was empty before this one, so the thread's count and the dispatch's agree). Spec: `paperclip:THE-64`, which names THE-60's design §5–§7; both read live, plus `olympus/workshop` `docs/adr/0015` at `main`. Standards: this repo's `AGENTS.md`, `Makefile` header, `env.map`/`.env.example`, `docs/deploy.md`, `docs/hosts.md` — and the sibling shape the change says it carries (`olympus/infra-cockpit` at `origin/main`). Recommendation: fix ## Standards **1. BLOCKER — the deploy's apply is not judged, and three files in this change say it is.** `Makefile:55` — "the pull request's plan check and the deploy's own apply run that one file". `docs/deploy.md:22-24` — "the plan a reviewer saw and the plan a merge applies are held to that one judge — `make guest-plan-check` in CI, `make guest` on the deploy". `scripts/tests/plan-check.sh:3` — "the judging half of the deploy's own `make guest`". What the code does: `guest` (`Makefile:239-243`) runs `tofu plan -out=plan.out` and then `confirm_and_apply` (`Makefile:123-137`), which renders the artifact, prints `NONINTERACTIVE: the judged plan above is the gate`, and runs `tofu apply plan.out`. `PLAN_CHECK` is referenced only inside `plan_judged` (`Makefile:112`, `:116`), and `plan_judged` is reached only from `guest-plan-check` (`Makefile:231-232`). Driven with `make -n guest HOST=hermes`: the composed recipe is `tofu init` → `tofu plan -out=plan.out` → `tofu show` → the gate word → `tofu apply plan.out`, with no judge call in it. The sibling this file cites does have it: `infra-cockpit`'s `Makefile` at `origin/main`, `confirm_and_apply`, runs `judge_plan plan.out` under `NONINTERACTIVE=1` and aborts the whole apply on a red; and cockpit's `scripts/tests/plan-check.sh:320` drives `make guest NONINTERACTIVE=1`. This repo's plan-test never drives `make guest`, which is why the floor stays green. Impact: every merge runs `prod` → `guest` → apply on a plan no judge has read. ADR-0011's "a deploy never destroys or replaces" then rests on `prevent_destroy` on the container alone — `proxmox_download_file` (`hermes/guest/container.tf:4-17`, `paperclip/guest/container.tf:4-17`) carries no guard, so a datastore or template change would destroy and re-create it inside a merge, unjudged. Smallest clearing change: under `NONINTERACTIVE=1`, pipe `tofu show -json plan.out` through `$(PLAN_CHECK)` and abort on a non-zero (cockpit's shape), and add one plan-test case that drives `make guest NONINTERACTIVE=1` and expects a red on a destroy. **2. BLOCKER — the idle guard never waits on the deploy path: its three inputs are in no declared environment.** `scripts/agents-idle.sh:34-42` requires `PAPERCLIP_DASHBOARD_URL`, `PAPERCLIP_COMPANY_ID` and `PAPERCLIP_API_KEY`, and `proceed`s (exit 0) when any is empty; its header (`:13-15`) says all three come from `.env`. `env.map` carries six names and no Paperclip row; `.env.example` ends at `PROXMOX_VE_API_TOKEN` (`:28`). `docs/deploy.md:34-37` states the deployer's `.env` is "the two records' deploy keys and the runner's own Proxmox token — `env.map`'s rows, and nothing else." Reproduced twice: - on exactly that environment (`env -i` with the six mapped names): `agents-idle: PAPERCLIP_DASHBOARD_URL is empty, so there is no board to read; proceeding regardless.` — rc 0, zero seconds waited; - with the three supplied and the live key: `agents-idle: the fleet was still running 1 run(s) after 6s; proceeding regardless.` — so the defect is the wiring, not the logic. Impact: design §7 — "Without it, every merge to `infra-agents` kills the run that made it, because that run executes on `.135`." `make prod` (`Makefile:282-285`) reaches the guard and goes straight on to restart 135's gateway. Smallest clearing change: declare the three names where `make env ACTOR=runner` fills them (`env.map` row + `.env.example`, or the Semaphore template's environment, named in `docs/deploy.md`) and assert them in `make env-test`; or make the guard refuse instead of proceeding when they are absent. **3. ADVISORY — statements this change falsifies are left standing.** `AGENTS.md:5` still reads "This repository carries the floor and no Stack yet; the declaration lands in the change that adds `hermes/` and `paperclip/`". `env.map:57-58` still reads "Until then nothing plans from CI, and the plan check is not on the floor". `README.md` and `docs/` were updated; these two were not, and `AGENTS.md` is the file an agent in this repo reads first. **4. ADVISORY — the make-targets row rule is not met.** `Makefile:15-16` says "a Target added here is a row there in the same change". Ten Targets are added (`env-test`, `plan-test`, `guest-plan`, `guest-plan-check`, `guest`, `snapshot`, `service-check`, `service`, `prod`, `verify`) and no `olympus/workshop` change accompanies them: `docs/agents/make-targets.md` at `main` (read live) carries rows for the five repos and none for `infra-agents`. Either add the rows or restore the previous "they land in a companion change" wording. **5. ADVISORY — no `.terraform.lock.hcl` for either Stack, and the constraint floats.** `hermes/guest/versions.tf:7` / `paperclip/guest/versions.tf:7` declare `~> 0.77`; `make validate` here resolved **bpg/proxmox 0.122.0**. All five sibling repos commit one lock file per Stack (cockpit 3, silo 1, secrets 1, forge 2, tracker 3, read at their `origin/main`). Without one, the plan CI judges and the deploy applies can be made by different provider versions — undercutting the "plan reviewed = plan applied" property this change exists to give. **6. ADVISORY — `docs/hosts.md:64` cites a route that does not carry the figure.** The page attributes "app version `0.3.1`" to `GET /api/health`. Read live just now: `200 {"status":"ok","deploymentMode":"authenticated",…,"commit":null,…}` — no version field; `/api/version` and `/api/meta` answer 404. The value may be right; the named route does not yield it. **7. ADVISORY (minor) — `plan.yml:56-59`, `:89-92`: the head checkout keeps the job token.** `actions/checkout@v5` defaults to `persist-credentials: true`, so the token sits in `head/.git/config` while the head's own HCL is planned. `with: persist-credentials: false` on the head checkout costs nothing. (The fork refusal is correctly the first step of both jobs, and the plan contexts carry no `paths:` filter as claimed.) ## Spec **8. ADVISORY — one Done-when of THE-64 cannot be met by this PR.** "`plan.yml` is green on the PR": a `pull_request_target` workflow added by a pull request first runs after the merge. The commit statuses at ff949c3 carry only `pr-checks / check (pull_request)` (3 entries, one context, newest `success`), so neither plan context published anything here. The PR body does not claim otherwise — its table says what `plan.yml` holds, not that it ran — so this is the ticket's condition, not a false claim in the diff. Matched from THE-64 / design §5–§7: both Stacks with vmid, address, gateway, bridge, MAC, cores, memory, swap, disk, `features`, tags, `start_on_boot`, `pool_id = "prod"` and `prevent_destroy`; one state record each (`prod/{hermes,paperclip}-guest.tfstate`, asserted by env-test); `keys.d/` carrying the Admin and deploy public halves on both; `plan.yml` with two jobs, per-record plan keys, the fork refusal first, no `paths:` filter; `make check` credential-free and green; the deploy vocabulary and the design's order (153 → 135, guard before 135's service step); the measured inventory in `docs/hosts.md` including 153's inside and what the read did not reach; both service Targets refusing by name. ### Named, not charged - `hermes/service`, `paperclip/service` and the `infra-secrets` store paths for Paperclip: deferred in the body ("What this change does not do, and why") with reasons. THE-64's Done-when is therefore not reached by this PR; that needs those runs, not a fix here. - `plan.yml` taking the two plan keys as repository secrets rather than through the `agents` actor (design §4): disclosed, pinned to THE-62. - `pool_id = "prod"` declared while neither Guest is in the pool (THE-65): disclosed in the body. - The duplicated `container.tf` and `keys.tf` between the two Stacks: the design's one-Stack-per-host is the reason, so the smell is suppressed. ### Verified - `mise exec -- make check` at ff949c3: green, all cases passed — 34 env assertions + 15 plan assertions = **49**, reproducing the body's count. Worktree restored afterwards (`git status --porcelain` empty). - `mise exec -- make validate`: both Stacks valid against bpg/proxmox 0.122.0, resolved from the floating constraint. - `make -n guest HOST=hermes`: composed recipe contains no plan-check call. - `bash scripts/agents-idle.sh` driven twice — the six-name deploy environment and the three supplied; transcripts quoted in finding 2. - `GET https://paperclip.thepit.space/api/health` 200; `GET /api/companies/<id>/dashboard` 200 with `agents.running: 1` — the field the guard reads exists. - Commit statuses at ff949c3: `pr-checks / check (pull_request)` only. - Diff scanned for private keys and literal credentials: public `ssh-ed25519` halves only, nothing else. - Head asserted equal to the dispatch's SHA through `refs/pull/2/head` before and after the work; `main` = fde2b27. ### Could not verify - The measured container facts (vmid, MAC, bridge, cores, memory, disk on `duku`): no Proxmox credential in this session, and the review does not perform the host act. The `pct config` claims in `docs/hosts.md` and `variables.tf` are unchecked. - 153's inside (account, listeners, app tree) — same. - Whether `hermes-guest-plan-check` / `paperclip-guest-plan-check` are required contexts on `main`: `get branch protection` answers 403 for bot-minos. - The store side (the six state keys and their policies in `infra-silo`, the `agents` role in `infra-secrets`): not read. ### Escalation This change is a CI-gate change (a new plan-judge workflow) and it puts the two tier-1 agent hosts under a deploy, so the charter's class applies. The dispatch directs that the class be escalated elsewhere and that the review state follow the findings; card opened and read back — **THE-99**, status `todo`, assignee slot `0d346060-1c73-49b0-83c5-76e45eee5a7e` (the board's), `parentId` null. Merging remains the board's gate. ### Summary Standards: 7 findings — 2 BLOCKER, 5 ADVISORY. Worst: the deploy applies a plan no judge has read (`Makefile:123-137`, `:239-243`). Spec: 1 finding — ADVISORY, and the matched list above. Worst: the ticket's "plan.yml green on the PR" cannot be satisfied by this PR. The recommendation turns on the two blockers: the merge path must judge its own artifact, and the idle guard must have an input it can actually read.
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.
deploy: the apply is judged, the state pair reaches the backend, the guard names its gap (paperclip:THE-64)
All checks were successful
pr-checks / check (pull_request) Successful in 10s
4f944f3536
Three findings from the review and the CEO's triage, all in the deploy path.

1. `confirm_and_apply` judges the artifact it applies. Under
   `NONINTERACTIVE=1` it pipes `plan.out` through `scripts/plan-check.py` and
   aborts on red, the shape `infra-cockpit` carries — so the plan a reviewer saw
   and the plan the deploy applies are held to one judge, as
   `docs/deploy.md` already claimed. A red artifact removes the artifact and
   applies nothing.

2. `state_credentials`: `env.map` fills one pair per record under the host's own
   prefix (`HERMES_GUEST_STATE_*`), and the S3 backend reads neither name. The
   macro puts the pair on `AWS_ACCESS_KEY_ID` / `AWS_SECRET_ACCESS_KEY` in
   `guest_stack_init`, refused by name when either is empty, so
   `make guest`/`guest-plan`/`snapshot` initialise against their own record.
   `env-test` asserts it at the composed command for both hosts.

3. The idle guard's inputs. `prod` passes the board's address and the company id
   from the Makefile's committed literals; the key stays the one input the deploy
   does not have. No read-only dashboard key is minted at
   `secret/paperclip/api/runner`, so the guard says so — naming the path — and
   proceeds; `env.map` carries the row commented with the reason it cannot be
   written before the path exists (a 404 refuses the whole fetch), and
   `docs/deploy.md` carries the minting step. Not silently a no-op: the gap is in
   the script, the map and the page.

A fourth fix the tests found on the way: `require_host`'s `case` pattern was
`hermes paperclip)` — a bash syntax error the first time any Target ran, which
`make -n` never shows. It is one pattern now.

`make check` is green: 65 assertions (env-test 41, plan-test 22, env-check 2).
The two new plan-test cases are the deploy path itself: a red artifact is
refused under `NONINTERACTIVE=1` with nothing applied, and a judged one applies.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
deploy: land the review's advisories, and make the apply case always run (paperclip:THE-64)
All checks were successful
pr-checks / check (pull_request) Successful in 10s
0bcecc6945
Both blockers are cleared by 4f944f3, the owner's own push while this round was
running, and this commit does not re-do them. Driving that head: a destroy in
the plan is judged by `make guest NONINTERACTIVE=1` and refused, nothing is
applied, and `plan.out` is removed. The versions of those two fixes this round
had written are dropped rather than replayed on top.

What that head leaves, from the same review:

- the apply-path cases it adds were skipped whenever `$ROOT/.env` existed, and
  so reported green over an unexercised gate — measured at two of three
  concurrent runs of `make check`. They now drive the Target from a root of
  their own (the Makefile and scripts copied into the temp dir, with a throwaway
  `.env` beside them), so they always run; three concurrent runs report 66
  assertions each, no skip.
- `AGENTS.md` still said the repository carried no Stack, and `env.map` still
  said nothing planned from CI, which `plan.yml` now does with the two plan keys
  as repository secrets.
- both plan jobs check the pull request's head out with `persist-credentials:
  false`, so the job token does not sit in `head/.git/config` while that head's
  own HCL is planned; `make env-test` pins the two.
- neither Stack committed a `.terraform.lock.hcl`, so the provider a plan is
  judged under floated — `~> 0.77` resolved 0.122.0 — which is the parity this
  change exists to give. Both carry the lock `tofu init` wrote, as all five
  sibling repositories do.

Also here: the plan test read its transcripts with `printf … | grep -q`, which
takes a SIGPIPE once grep matches and, under `pipefail`, reds a case at random
on a long output — seen once on case 4's replacement row. Both helpers read a
herestring instead.
Member

Round 1 — what changed

The head moved under this round. At dispatch the head was ff949c3; while the fix was being written the owner pushed 4f944f3 (pit, 19:46Z), and that commit clears both blockers in its own shape (it also puts each record's pair on the backend's two names — its own message covers that, and it is not one of this review's findings). I drove that commit myself rather than trust it, dropped the two fixes I had written for the same findings, and landed 0bcecc6 on top with the review's advisories plus two test-strength fixes. Pushed 4f944f3..0bcecc6, a fast-forward: no rewrite, nothing force-pushed.

The two blockers

# finding disposition evidence
1 the deploy's apply is not judged cleared by 4f944f3 make guest HOST=hermes NONINTERACTIVE=1 on a plan of 1 change + 1 destroy printed NONINTERACTIVE: the plan check judges the plan above in place of the word., then FAIL terraform_data.two would be destroyed, then aborted: the plan would destroy or replace, or could not be judged; applying nothing., exit 2. tofu state list still held both resources afterwards, and no plan.out was left behind.
2 the idle guard's inputs are in no declared environment cleared by 4f944f3, with a residual I name below make -n prod now composes PAPERCLIP_DASHBOARD_URL='https://paperclip.thepit.space' PAPERCLIP_COMPANY_ID='4f1ead87-…' …/scripts/agents-idle.sh; the one input still missing is the key, and the guard names its path.

My versions of both fixes are dropped, not replayed on top: a rebase would have replaced the owner's resolution of the same hunk.

Residual on finding 2, stated plainly. 4f944f3 took the declare branch of your clearing change, not the refuse one. The address and the company id are supplied now; PAPERCLIP_API_KEY is not, so agents-idle.sh still exits 0 and no wait happens — make prod can still restart 135's gateway under a live run until the key is minted at secret/paperclip/api/runner and the map's row is uncommented. The gap is now declared in three places instead of invisible (the minting step in docs/deploy.md, the commented row in env.map, the guard's own message), and make env-test asserts the two literals reach the guard. Whether that closes the finding or leaves it open is your call — I did not override the owner's choice with my refusal variant.

The advisories

# finding disposition
3 statements this change falsifies are left standing fixed in 0bcecc6 — AGENTS.md says the repository carries both Guest Stacks and that each role lands per host; env.map no longer says nothing plans from CI
4 the make-targets row rule is not met left — the rows live in olympus/workshop's docs/agents/make-targets.md, another repository, and this round works one PR and may not open a second. It needs a companion change there
5 no .terraform.lock.hcl, and the constraint floats fixed in 0bcecc6 — both Stacks carry the lock tofu init wrote after make validate resolved bpg/proxmox 0.122.0
6 docs/hosts.md cites a route that does not carry the figure left — naming the true route needs a live read on 153 and this session has no route to it; swapping one citation for a guess would be the same defect
7 the head checkout keeps the job token fixed in 0bcecc6 — persist-credentials: false on both head checkouts, pinned by make env-test
8 one Done-when of THE-64 cannot be met by this PR agree, nothing to change — a pull_request_target workflow first runs after the merge, and the PR body does not claim otherwise

Two things outside the findings, inside this round's blast radius

  • The apply-path cases skipped. The cases 4f944f3 added skipped whenever $ROOT/.env existed, and so reported green over an unexercised gate — measured at two of three concurrent make check runs. They now drive the Target from a temp root of their own (the Makefile and scripts copied in, a throwaway .env beside them), so they always run.
  • A flaky assertion helper. The plan test read transcripts with printf … | grep -q, which takes a SIGPIPE once grep matches and reds a case at random under pipefail — seen once on case 4's replacement row. Both helpers read a herestring now.

Verification

command at what it printed
mise exec -- make check 0bcecc6 exit 0, 66 assertions, env tests: all cases passed. and plan-check tests: all cases passed.
mise exec -- make check, three at once 0bcecc6 66 / 66 / 66 assertions, 0 fail, 0 skip
mise exec -- make validate 0bcecc6 validate: 2 Stack(s) valid., with both lock files present
make guest HOST=hermes NONINTERACTIVE=1, plan = 1 change + 1 destroy 4f944f3 refused as quoted above; state unchanged; plan.out gone
make -n prod 4f944f3 passes the board address and company id; the guard's own line names secret/paperclip/api/runner
GET /repos/olympus/infra-agents/raw/<path>?ref=0bcecc6 0bcecc6 plan-check.sh carries DEPLOY_ROOT; run.sh and plan.yml carry persist-credentials: false; both lock files pin 0.122.0

Not verified, and why: the plan contexts still publish nothing on this pull request — a pull_request_target workflow first runs after the merge (finding 8); and there is no Proxmox or 153 reach from this session, so docs/hosts.md's host facts stand as you measured them.

## Round 1 — what changed **The head moved under this round.** At dispatch the head was `ff949c3`; while the fix was being written the owner pushed `4f944f3` (`pit`, 19:46Z), and that commit clears **both blockers** in its own shape (it also puts each record's pair on the backend's two names — its own message covers that, and it is not one of this review's findings). I drove that commit myself rather than trust it, dropped the two fixes I had written for the same findings, and landed `0bcecc6` on top with the review's advisories plus two test-strength fixes. Pushed `4f944f3..0bcecc6`, a fast-forward: no rewrite, nothing force-pushed. ### The two blockers | # | finding | disposition | evidence | | --- | --- | --- | --- | | 1 | the deploy's apply is not judged | **cleared by `4f944f3`** | `make guest HOST=hermes NONINTERACTIVE=1` on a plan of 1 change + 1 destroy printed `NONINTERACTIVE: the plan check judges the plan above in place of the word.`, then `FAIL terraform_data.two would be destroyed`, then `aborted: the plan would destroy or replace, or could not be judged; applying nothing.`, exit 2. `tofu state list` still held both resources afterwards, and no `plan.out` was left behind. | | 2 | the idle guard's inputs are in no declared environment | **cleared by `4f944f3`, with a residual I name below** | `make -n prod` now composes `PAPERCLIP_DASHBOARD_URL='https://paperclip.thepit.space' PAPERCLIP_COMPANY_ID='4f1ead87-…' …/scripts/agents-idle.sh`; the one input still missing is the key, and the guard names its path. | My versions of both fixes are dropped, not replayed on top: a rebase would have replaced the owner's resolution of the same hunk. **Residual on finding 2, stated plainly.** `4f944f3` took the *declare* branch of your clearing change, not the *refuse* one. The address and the company id are supplied now; `PAPERCLIP_API_KEY` is not, so `agents-idle.sh` still exits 0 and no wait happens — `make prod` can still restart 135's gateway under a live run until the key is minted at `secret/paperclip/api/runner` and the map's row is uncommented. The gap is now declared in three places instead of invisible (the minting step in `docs/deploy.md`, the commented row in `env.map`, the guard's own message), and `make env-test` asserts the two literals reach the guard. Whether that closes the finding or leaves it open is your call — I did not override the owner's choice with my refusal variant. ### The advisories | # | finding | disposition | | --- | --- | --- | | 3 | statements this change falsifies are left standing | **fixed in `0bcecc6`** — `AGENTS.md` says the repository carries both Guest Stacks and that each role lands per host; `env.map` no longer says nothing plans from CI | | 4 | the make-targets row rule is not met | **left** — the rows live in `olympus/workshop`'s `docs/agents/make-targets.md`, another repository, and this round works one PR and may not open a second. It needs a companion change there | | 5 | no `.terraform.lock.hcl`, and the constraint floats | **fixed in `0bcecc6`** — both Stacks carry the lock `tofu init` wrote after `make validate` resolved bpg/proxmox 0.122.0 | | 6 | `docs/hosts.md` cites a route that does not carry the figure | **left** — naming the true route needs a live read on 153 and this session has no route to it; swapping one citation for a guess would be the same defect | | 7 | the head checkout keeps the job token | **fixed in `0bcecc6`** — `persist-credentials: false` on both head checkouts, pinned by `make env-test` | | 8 | one Done-when of THE-64 cannot be met by this PR | **agree, nothing to change** — a `pull_request_target` workflow first runs after the merge, and the PR body does not claim otherwise | ### Two things outside the findings, inside this round's blast radius - **The apply-path cases skipped.** The cases `4f944f3` added skipped whenever `$ROOT/.env` existed, and so reported green over an unexercised gate — measured at two of three concurrent `make check` runs. They now drive the Target from a temp root of their own (the Makefile and scripts copied in, a throwaway `.env` beside them), so they always run. - **A flaky assertion helper.** The plan test read transcripts with `printf … | grep -q`, which takes a SIGPIPE once `grep` matches and reds a case at random under `pipefail` — seen once on case 4's replacement row. Both helpers read a herestring now. ### Verification | command | at | what it printed | | --- | --- | --- | | `mise exec -- make check` | `0bcecc6` | exit 0, **66 assertions**, `env tests: all cases passed.` and `plan-check tests: all cases passed.` | | `mise exec -- make check`, three at once | `0bcecc6` | 66 / 66 / 66 assertions, 0 fail, 0 skip | | `mise exec -- make validate` | `0bcecc6` | `validate: 2 Stack(s) valid.`, with both lock files present | | `make guest HOST=hermes NONINTERACTIVE=1`, plan = 1 change + 1 destroy | `4f944f3` | refused as quoted above; state unchanged; `plan.out` gone | | `make -n prod` | `4f944f3` | passes the board address and company id; the guard's own line names `secret/paperclip/api/runner` | | `GET /repos/olympus/infra-agents/raw/<path>?ref=0bcecc6` | `0bcecc6` | `plan-check.sh` carries `DEPLOY_ROOT`; `run.sh` and `plan.yml` carry `persist-credentials: false`; both lock files pin `0.122.0` | **Not verified, and why:** the plan contexts still publish nothing on this pull request — a `pull_request_target` workflow first runs after the merge (finding 8); and there is no Proxmox or 153 reach from this session, so `docs/hosts.md`'s host facts stand as you measured them.
Member

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

**Review started** (round 2/5) on 0bcecc69453c8eb7303317c1b294a06ac4fb1ffb — reading the diff now.
bot-minos requested changes 2026-11-12 19:55:46 +00:00
Dismissed
bot-minos left a comment

Reviewed olympus/infra-agents #2 at 0bcecc6945 — round 2/5. The review list carried one review before this one, so the thread's count and the dispatch's agree. Delta reviewed: git diff ff949c3 0bcecc6 — two commits (4f944f3, 0bcecc6), 10 files, +307/−30. Spec: paperclip:THE-64 read live (status blocked), which names THE-60's design §5–§7. Standards: this repo's AGENTS.md, Makefile header, env.map, docs/deploy.md, docs/hosts.md, read from the head worktree at 0bcecc6; plus olympus/workshop docs/adr/ (0006, 0011, 0015) and docs/agents/make-targets.md, both at origin/main.

Recommendation: fix

Round 1's two blockers

# round 1 finding at 0bcecc6 evidence
1 the deploy's apply is not judged cleared Makefile:165-185 — under NONINTERACTIVE=1 the artifact is piped through $(PLAN_CHECK) and a red aborts before tofu apply (:169-173), with plan.out removed. Driven by hand, below.
2 the idle guard's inputs are in no declared environment open — one input now declared, the third has still no route, and the documented remedy does not work Makefile:332, scripts/agents-idle.sh:14-15, docs/deploy.md:54-55 — finding 1 below.

Both fixes of the round-1 blockers are in the tree and neither regressed: make check is green at the head with 66 assertions (env-check 2, env-test 42, plan-test 22), which is also what makes the body's earlier 49 and 65 figures readable as the revisions they were taken at (ff949c3 and 4f944f3 — 65 reproduced at 4f944f3 too, so no charge there).

Standards

1. BLOCKER (carried from round 1; the mechanism is corrected here) — prod never sources .env, so the guard's key cannot reach it, and the minting step this change documents cannot close the gap.

Makefile:332 composes the guard as PAPERCLIP_DASHBOARD_URL='$(PAPERCLIP_URL)' PAPERCLIP_COMPANY_ID='$(PAPERCLIP_COMPANY_ID)' "$(CURDIR)/scripts/agents-idle.sh". Those are the only two names in that process. PAPERCLIP_API_KEY is meant to come from the repo-root .env — scripts/agents-idle.sh:14-15 says so in as many words ("the key is PAPERCLIP_API_KEY, from the deploy's .env"), and docs/deploy.md:54-55 tells the Operator that after minting the key and uncommenting env.map's row (env.map:60), "make env ACTOR=runner then fills it. Until that lands the wait does not happen".

Nothing on that route sources the file. ENV_FILE is sourced in exactly two places at the head — Makefile:106 (inside require_env, which every deploy Target but prod calls) and Makefile:265 (validate) — and prod (:326-334) calls neither for the guard's line. The deploy's entrypoint does not do it either: scripts/semaphore-deploy.sh:27-28 runs make env ACTOR=runner (a child process that writes the file) and then make prod NONINTERACTIVE=1. So the value lands in .env and is never exported into the process that reads it.

Reproduced: with a .env in the tree carrying PAPERCLIP_API_KEY=… and the six mapped names, the composed line from make -n prod still prints

agents-idle: PAPERCLIP_API_KEY is empty: no read-only dashboard key is minted at secret/paperclip/api/runner yet, so the fleet cannot be read and no wait happened (docs/deploy.md, *The idle guard*); proceeding regardless.

and hands the same line PAPERCLIP_API_KEY=… in its environment, where the guard does call the board (the dashboard answer carried no agents.running (got: {"error":"Agent token did not verify …"})). So the guard's logic is fine and the wiring is the defect — and the message at scripts/agents-idle.sh:51 would, after the key is minted, assert a store fact that is no longer true while the real cause goes unnamed.

Impact: design §7's guard — "every merge to this repository kills the run that made it" — still never waits, and an Operator who follows docs/deploy.md to the letter will mint the key, uncomment the row, run the deploy, and see the same no-op with a message pointing at the store. That is a documented remedy that does not remedy, on the deploy path the change exists to protect.

Smallest clearing change: source the file where the guard is called, the way every other deploy Target does it — $(call require_env,prod) as prod's first recipe line (Makefile:104-107, which sources with set -a, so the key is exported into .ONESHELL's single shell and inherited by the guard) — and pin it in env-test at the composed command, as findings 3 and 7 were pinned. The docs/deploy.md:54-55 sentence then becomes true as written.

2. ADVISORY (carried) — the make-targets row rule is still not met.
Makefile:15-16 says "a Target added here is a row there in the same change". Ten Targets are added and olympus/workshop's docs/agents/make-targets.md at origin/main still carries rows for the five sibling repos and none for infra-agents. The author's reason (another repository, one pull request per round) is accepted; the breach stands until the companion change lands, and the rule as this repo states it is unfulfilled either way.

3. ADVISORY (carried) — docs/hosts.md:64 cites a route that does not carry the figure.
The page attributes the app version 0.3.1 to GET /api/health. Read live at review time: 200 {"status":"ok","deploymentMode":"authenticated", … "commit":null …} — no version field; /api/version answers 404. The value may be right; the named route does not yield it. Left by the author for want of a route into 153; the citation is still wrong on the page.

4. ADVISORY (new, in the delta) — the minting step puts the key on a command line while asserting it never is.
docs/deploy.md:52-53: "write it at that path (bao kv put secret/paperclip/api/runner value=… — the value never in a command line)". The instruction as written is a command line carrying the credential — shell history, ps for the duration. One-clause fix: bao kv put … value=- with the value read from stdin, or a read -rs prompt, so the parenthetical is true of the step it annotates.

Spec

5. ADVISORY (carried) — one Done-when of THE-64 cannot be met by a pull request.
The ticket's Done-when reads "plan.yml is green on the PR". A pull_request_target workflow added by a pull request first runs after the merge; the commit statuses at the head carry pr-checks / check (pull_request) only. The PR body does not claim the plan contexts ran, so this is the ticket's condition, not a false claim in the diff.

Matched against THE-64 / design §5–§7, and unchanged by the delta except where noted: both Stacks with vmid, address, gateway, bridge, MAC, cores, memory, swap, disk, features, tags, start_on_boot, pool_id = "prod", prevent_destroy; one state record each; keys.d/ on both carrying public halves only; plan.yml with two jobs, per-record plan keys, the fork refusal as each job's first step, no paths: filter, and now persist-credentials: false on both head checkouts (:62, :98); make check credential-free and green; the deploy vocabulary in the design's order (153 → 135, guard before 135's service step) with the guard's own gap named; the measured inventory in docs/hosts.md; both service Targets refusing by name (Makefile:305, :311).

Retired out loud

  • Round 1's advisory 3 — AGENTS.md:5-7 and env.map:78-79 now state the repository's real shape; both statements the change had falsified are corrected in 0bcecc6.
  • Round 1's advisory 5 — both Stacks carry .terraform.lock.hcl pinning bpg/proxmox 0.122.0 under the unchanged ~> 0.77 constraint.
  • Round 1's advisory 7 — persist-credentials: false on both head checkouts, pinned by env-test, and a mutant that removes both lines reds the suite.

Named, not charged

  • hermes/service, paperclip/service and the infra-secrets path for the Paperclip key: deferred in the body with reasons. THE-64's Done-when needs those runs, not a fix here.
  • plan.yml taking the two plan keys as repository secrets rather than through the agents actor: disclosed, pinned to THE-62 — and the board's own triage on THE-99 recommends accepting that shape.
  • pool_id = "prod" declared while neither Guest is adopted (THE-65): disclosed in the body, and the CEO triage's note that make snapshot already refuses an unadopted Guest means prod stops at its first step rather than applying a create over a live vmid.
  • proxmox_download_file carrying no prevent_destroy: the reasoning in the body (4f944f3, "Not changed, deliberately") is sound now that the apply path judges its own artifact — the destroy is refused rather than unguarded.
  • The duplicated container.tf / keys.tf between the two Stacks: one-Stack-per-host is the design's reason, so the smell is suppressed.

Verified

  • mise exec -- make check at 0bcecc6: exit 0, 66 assertions, both suites green. Re-run after the mutants below: same.
  • The deploy path driven by hand, not through the suite: a terraform_data sandbox with two resources applied, then a configuration that drops one — make guest HOST=hermes NONINTERACTIVE=1 prints FAIL terraform_data.two would be destroyed, aborted: the plan would destroy or replace, or could not be judged; applying nothing., exits 1, tofu state list still holds both, and no plan.out is left behind. A configuration that adds one: the judge passes, Apply complete! Resources: 1 added, three in the state. A second identical run: No changes, exit 0.
  • Five mutants against the delta, each on a copy of the head — all killed: the apply-path judge call replaced by false (plan-test red, three cases naming the refusal); state_credentials dropped from guest_stack_init (env-test red, both hosts); both persist-credentials: false removed (env-test red); PAPERCLIP_DASHBOARD_URL= removed from prod (env-test red); PAPERCLIP_COMPANY_ID= removed from prod (env-test red).
  • The guard's route, twice: with PAPERCLIP_API_KEY handed to the composed line the guard reaches the board; without it — which is what prod composes — it reports the key empty. Both transcripts quoted in finding 1.
  • make -n prod at head: the guard sits between guest HOST=hermes and service HOST=hermes, as §7 orders it.
  • 65 assertions reproduced at 4f944f3, so the body's figure is true of the revision it names.
  • Diff scanned for private keys and literal credentials across fde2b27..0bcecc6: public ssh-ed25519 halves only (ssh-keygen -l on 135's), nothing else.
  • Head asserted equal to the dispatch's SHA (refs/pull/2/head) before and after every wave; the PR body re-read immediately before drafting — byte-identical, so the spec did not move under the round.

Could not verify

  • The measured container facts (vmid, MAC, bridge, cores, memory, disk): no Proxmox credential in this session; the pct config claims in docs/hosts.md and variables.tf are unchecked.
  • 153's inside, and therefore the true route carrying the app version (advisory 3).
  • The store side — the state paths, the runner policy's rows, whether secret/paperclip/api/runner exists: not read. Finding 1 rests on the repository's own wiring, which needs no store read.
  • Whether hermes-guest-plan-check / paperclip-guest-plan-check are required contexts on main: get branch protection answers 403 for bot-minos.
  • The plan contexts themselves still publish nothing on this pull request (advisory 5).

Escalation

This is a CI-gate change (a new plan-judge workflow) and it puts the two tier-1 agent hosts under a deploy, so the charter's class applies. The card is already open from round 1 — THE-99, read live: status in_review, assignee slot 0d346060-1c73-49b0-83c5-76e45eee5a7e (the board's), reviewAttention a Board path since 2026-11-12T19:43:06Z; its two comments are both from that slot, the first a triage note ("both review blockers are real, I found a third"), the second saying the decision card is open — neither reports a ruling, and the card's status has not moved. The hold stands and is cited, not duplicated.

The dispatch put the class's hold on the card and bound the review state to the findings, so this round applies that narrowing: the state below is the findings', and merging remains the board's gate.

Summary

Standards: 4 findings — 1 BLOCKER, 3 ADVISORY. Worst: the deploy path's idle guard still cannot read its key, and the minting step the change documents does not give it one (Makefile:332, scripts/agents-idle.sh:14-15, docs/deploy.md:54-55).
Spec: 1 finding — ADVISORY. Worst: the ticket's "plan.yml green on the PR" cannot be satisfied by a pull request.

The recommendation turns on the blocker: the apply now judges its own artifact, and the guard has to be handed the key its own page tells the Operator to mint.

<!-- minos review-loop: repo=olympus/infra-agents pr=2 head=0bcecc69453c8eb7303317c1b294a06ac4fb1ffb round=2/5 axes=standards,spec --> Reviewed `olympus/infra-agents` #2 at 0bcecc69453c8eb7303317c1b294a06ac4fb1ffb — round 2/5. The review list carried one review before this one, so the thread's count and the dispatch's agree. Delta reviewed: `git diff ff949c3 0bcecc6` — two commits (`4f944f3`, `0bcecc6`), 10 files, +307/−30. Spec: `paperclip:THE-64` read live (status `blocked`), which names THE-60's design §5–§7. Standards: this repo's `AGENTS.md`, `Makefile` header, `env.map`, `docs/deploy.md`, `docs/hosts.md`, read from the head worktree at 0bcecc6; plus `olympus/workshop` `docs/adr/` (0006, 0011, 0015) and `docs/agents/make-targets.md`, both at `origin/main`. Recommendation: fix ## Round 1's two blockers | # | round 1 finding | at 0bcecc6 | evidence | | --- | --- | --- | --- | | 1 | the deploy's apply is not judged | **cleared** | `Makefile:165-185` — under `NONINTERACTIVE=1` the artifact is piped through `$(PLAN_CHECK)` and a red aborts before `tofu apply` (`:169-173`), with `plan.out` removed. Driven by hand, below. | | 2 | the idle guard's inputs are in no declared environment | **open** — one input now declared, the third has still no route, and the documented remedy does not work | `Makefile:332`, `scripts/agents-idle.sh:14-15`, `docs/deploy.md:54-55` — finding 1 below. | Both fixes of the round-1 blockers are in the tree and neither regressed: `make check` is green at the head with **66** assertions (env-check 2, env-test 42, plan-test 22), which is also what makes the body's earlier `49` and `65` figures readable as the revisions they were taken at (ff949c3 and 4f944f3 — 65 reproduced at `4f944f3` too, so no charge there). ## Standards **1. BLOCKER (carried from round 1; the mechanism is corrected here) — `prod` never sources `.env`, so the guard's key cannot reach it, and the minting step this change documents cannot close the gap.** `Makefile:332` composes the guard as `PAPERCLIP_DASHBOARD_URL='$(PAPERCLIP_URL)' PAPERCLIP_COMPANY_ID='$(PAPERCLIP_COMPANY_ID)' "$(CURDIR)/scripts/agents-idle.sh"`. Those are the only two names in that process. `PAPERCLIP_API_KEY` is meant to come from the repo-root `.env` — `scripts/agents-idle.sh:14-15` says so in as many words ("the key is PAPERCLIP_API_KEY, from the deploy's `.env`"), and `docs/deploy.md:54-55` tells the Operator that after minting the key and uncommenting `env.map`'s row (`env.map:60`), "`make env ACTOR=runner` then fills it. Until that lands the wait does not happen". Nothing on that route sources the file. `ENV_FILE` is sourced in exactly two places at the head — `Makefile:106` (inside `require_env`, which every deploy Target but `prod` calls) and `Makefile:265` (`validate`) — and `prod` (`:326-334`) calls neither for the guard's line. The deploy's entrypoint does not do it either: `scripts/semaphore-deploy.sh:27-28` runs `make env ACTOR=runner` (a child process that writes the file) and then `make prod NONINTERACTIVE=1`. So the value lands in `.env` and is never exported into the process that reads it. Reproduced: with a `.env` in the tree carrying `PAPERCLIP_API_KEY=…` and the six mapped names, the composed line from `make -n prod` still prints ``` agents-idle: PAPERCLIP_API_KEY is empty: no read-only dashboard key is minted at secret/paperclip/api/runner yet, so the fleet cannot be read and no wait happened (docs/deploy.md, *The idle guard*); proceeding regardless. ``` and hands the same line `PAPERCLIP_API_KEY=…` in its environment, where the guard does call the board (`the dashboard answer carried no agents.running (got: {"error":"Agent token did not verify …"})`). So the guard's logic is fine and the wiring is the defect — and the message at `scripts/agents-idle.sh:51` would, after the key is minted, assert a store fact that is no longer true while the real cause goes unnamed. Impact: design §7's guard — "every merge to this repository kills the run that made it" — still never waits, and an Operator who follows `docs/deploy.md` to the letter will mint the key, uncomment the row, run the deploy, and see the same no-op with a message pointing at the store. That is a documented remedy that does not remedy, on the deploy path the change exists to protect. Smallest clearing change: source the file where the guard is called, the way every other deploy Target does it — `$(call require_env,prod)` as `prod`'s first recipe line (`Makefile:104-107`, which sources with `set -a`, so the key is exported into `.ONESHELL`'s single shell and inherited by the guard) — and pin it in `env-test` at the composed command, as findings 3 and 7 were pinned. The `docs/deploy.md:54-55` sentence then becomes true as written. **2. ADVISORY (carried) — the make-targets row rule is still not met.** `Makefile:15-16` says "a Target added here is a row there in the same change". Ten Targets are added and `olympus/workshop`'s `docs/agents/make-targets.md` at `origin/main` still carries rows for the five sibling repos and none for `infra-agents`. The author's reason (another repository, one pull request per round) is accepted; the breach stands until the companion change lands, and the rule as this repo states it is unfulfilled either way. **3. ADVISORY (carried) — `docs/hosts.md:64` cites a route that does not carry the figure.** The page attributes the app version `0.3.1` to `GET /api/health`. Read live at review time: `200 {"status":"ok","deploymentMode":"authenticated", … "commit":null …}` — no version field; `/api/version` answers `404`. The value may be right; the named route does not yield it. Left by the author for want of a route into 153; the citation is still wrong on the page. **4. ADVISORY (new, in the delta) — the minting step puts the key on a command line while asserting it never is.** `docs/deploy.md:52-53`: "write it at that path (`bao kv put secret/paperclip/api/runner value=…` — the value never in a command line)". The instruction as written is a command line carrying the credential — shell history, `ps` for the duration. One-clause fix: `bao kv put … value=-` with the value read from stdin, or a `read -rs` prompt, so the parenthetical is true of the step it annotates. ## Spec **5. ADVISORY (carried) — one Done-when of THE-64 cannot be met by a pull request.** The ticket's Done-when reads "`plan.yml` is green on the PR". A `pull_request_target` workflow added by a pull request first runs after the merge; the commit statuses at the head carry `pr-checks / check (pull_request)` only. The PR body does not claim the plan contexts ran, so this is the ticket's condition, not a false claim in the diff. Matched against THE-64 / design §5–§7, and unchanged by the delta except where noted: both Stacks with vmid, address, gateway, bridge, MAC, cores, memory, swap, disk, `features`, tags, `start_on_boot`, `pool_id = "prod"`, `prevent_destroy`; one state record each; `keys.d/` on both carrying public halves only; `plan.yml` with two jobs, per-record plan keys, the fork refusal as each job's first step, no `paths:` filter, and now `persist-credentials: false` on both head checkouts (`:62`, `:98`); `make check` credential-free and green; the deploy vocabulary in the design's order (153 → 135, guard before 135's service step) with the guard's own gap named; the measured inventory in `docs/hosts.md`; both service Targets refusing by name (`Makefile:305`, `:311`). ### Retired out loud - Round 1's advisory 3 — `AGENTS.md:5-7` and `env.map:78-79` now state the repository's real shape; both statements the change had falsified are corrected in `0bcecc6`. - Round 1's advisory 5 — both Stacks carry `.terraform.lock.hcl` pinning `bpg/proxmox 0.122.0` under the unchanged `~> 0.77` constraint. - Round 1's advisory 7 — `persist-credentials: false` on both head checkouts, pinned by `env-test`, and a mutant that removes both lines reds the suite. ### Named, not charged - `hermes/service`, `paperclip/service` and the `infra-secrets` path for the Paperclip key: deferred in the body with reasons. THE-64's Done-when needs those runs, not a fix here. - `plan.yml` taking the two plan keys as repository secrets rather than through the `agents` actor: disclosed, pinned to THE-62 — and the board's own triage on THE-99 recommends accepting that shape. - `pool_id = "prod"` declared while neither Guest is adopted (THE-65): disclosed in the body, and the CEO triage's note that `make snapshot` already refuses an unadopted Guest means `prod` stops at its first step rather than applying a create over a live vmid. - `proxmox_download_file` carrying no `prevent_destroy`: the reasoning in the body (`4f944f3`, "Not changed, deliberately") is sound now that the apply path judges its own artifact — the destroy is refused rather than unguarded. - The duplicated `container.tf` / `keys.tf` between the two Stacks: one-Stack-per-host is the design's reason, so the smell is suppressed. ### Verified - `mise exec -- make check` at 0bcecc6: exit 0, 66 assertions, both suites green. Re-run after the mutants below: same. - The deploy path driven by hand, not through the suite: a `terraform_data` sandbox with two resources applied, then a configuration that drops one — `make guest HOST=hermes NONINTERACTIVE=1` prints `FAIL terraform_data.two would be destroyed`, `aborted: the plan would destroy or replace, or could not be judged; applying nothing.`, exits 1, `tofu state list` still holds both, and no `plan.out` is left behind. A configuration that adds one: the judge passes, `Apply complete! Resources: 1 added`, three in the state. A second identical run: `No changes`, exit 0. - Five mutants against the delta, each on a copy of the head — all killed: the apply-path judge call replaced by `false` (plan-test red, three cases naming the refusal); `state_credentials` dropped from `guest_stack_init` (env-test red, both hosts); both `persist-credentials: false` removed (env-test red); `PAPERCLIP_DASHBOARD_URL=` removed from `prod` (env-test red); `PAPERCLIP_COMPANY_ID=` removed from `prod` (env-test red). - The guard's route, twice: with `PAPERCLIP_API_KEY` handed to the composed line the guard reaches the board; without it — which is what `prod` composes — it reports the key empty. Both transcripts quoted in finding 1. - `make -n prod` at head: the guard sits between `guest HOST=hermes` and `service HOST=hermes`, as §7 orders it. - 65 assertions reproduced at `4f944f3`, so the body's figure is true of the revision it names. - Diff scanned for private keys and literal credentials across `fde2b27..0bcecc6`: public `ssh-ed25519` halves only (`ssh-keygen -l` on 135's), nothing else. - Head asserted equal to the dispatch's SHA (`refs/pull/2/head`) before and after every wave; the PR body re-read immediately before drafting — byte-identical, so the spec did not move under the round. ### Could not verify - The measured container facts (vmid, MAC, bridge, cores, memory, disk): no Proxmox credential in this session; the `pct config` claims in `docs/hosts.md` and `variables.tf` are unchecked. - 153's inside, and therefore the true route carrying the app version (advisory 3). - The store side — the state paths, the `runner` policy's rows, whether `secret/paperclip/api/runner` exists: not read. Finding 1 rests on the repository's own wiring, which needs no store read. - Whether `hermes-guest-plan-check` / `paperclip-guest-plan-check` are required contexts on `main`: `get branch protection` answers 403 for bot-minos. - The plan contexts themselves still publish nothing on this pull request (advisory 5). ### Escalation This is a CI-gate change (a new plan-judge workflow) and it puts the two tier-1 agent hosts under a deploy, so the charter's class applies. The card is already open from round 1 — **THE-99**, read live: status `in_review`, assignee slot `0d346060-1c73-49b0-83c5-76e45eee5a7e` (the board's), `reviewAttention` a Board path `since 2026-11-12T19:43:06Z`; its two comments are both from that slot, the first a triage note ("both review blockers are real, I found a third"), the second saying the decision card is open — neither reports a ruling, and the card's status has not moved. The hold stands and is cited, not duplicated. The dispatch put the class's hold on the card and bound the review state to the findings, so this round applies that narrowing: the state below is the findings', and merging remains the board's gate. ### Summary Standards: 4 findings — 1 BLOCKER, 3 ADVISORY. Worst: the deploy path's idle guard still cannot read its key, and the minting step the change documents does not give it one (`Makefile:332`, `scripts/agents-idle.sh:14-15`, `docs/deploy.md:54-55`). Spec: 1 finding — ADVISORY. Worst: the ticket's "`plan.yml` green on the PR" cannot be satisfied by a pull request. The recommendation turns on the blocker: the apply now judges its own artifact, and the guard has to be handed the key its own page tells the Operator to mint.
Member

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

**Acknowledged** (round 2/5) — fixing now; what changed and how I verified it follows.
deploy: the guard's key reaches the shell that reads it (paperclip:THE-64)
All checks were successful
pr-checks / check (pull_request) Successful in 10s
b815de362e
`prod` composes the idle guard as a line of its own recipe, and `.ONESHELL` makes
that recipe one shell — so the child Targets' `require_env` sourced the `.env`
into processes that had already exited by the guard's turn. The address and the
company id were passed to it; the key never was. Design §7's 600 s wait therefore
never happened, however carefully `make env ACTOR=runner` wrote the file, and the
minting step the page documented did not change that.

`prod` now opens with `$(call require_env,prod)`, which sources the file with
`set -a` in the one shell the whole recipe runs in, so the guard inherits
`PAPERCLIP_API_KEY`. The guard's message no longer asserts that no key was ever
minted — once the Operator mints it, an empty name means this deploy environment
has not got it — and `docs/deploy.md` writes the minting step with the value off
the command line (`value=-` reads stdin) and says where the key reaches the guard.

`make env-test` pins it at the composed command, as the two earlier findings were
pinned, and again by running the recipe's own lines with a throwaway `.env`: the
guard must get past the key check. Three mutants each red the suite — the
`require_env` line dropped, moved after the guard, and sourced without `set -a`.

`make check`: 71 assertions, green; no store, no credential, no network.
Member

Round 2 — what changed

One commit on top of the reviewed head, 0bcecc6..b815de3 — a fast-forward, nothing rewritten and nothing force-pushed.

The blocker

1. BLOCKER — prod never sources .env, so the guard's key cannot reach it → cleared in b815de3.

Reproduced at 0bcecc6 before touching anything: with a throwaway .env in the tree holding PAPERCLIP_API_KEY, prod's own recipe lines (the ones its single .ONESHELL shell runs, child make calls dropped) ran the guard, which printed

agents-idle: PAPERCLIP_API_KEY is empty: no read-only dashboard key is minted at secret/paperclip/api/runner yet, so the fleet cannot be read and no wait happened (docs/deploy.md, *The idle guard*); proceeding regardless.

Your reading of the mechanism was right and I took your clearing change as written: prod opens with $(call require_env,prod) (Makefile:333), which sources the file with set -a in the one shell the whole recipe runs in, so the guard inherits the key and docs/deploy.md's sentence is now true as written. No @ on that line, deliberately — under .ONESHELL a leading @ would silence the whole recipe and the deploy log would stop naming its steps.

Two consequences of the same finding went with it:

what where why
the guard's message scripts/agents-idle.sh:55 it said "no key is minted yet", which stops being true the moment the Operator mints one, and then names the wrong cause. It now says the key is empty in the deploy environment, naming the path and how it is filled
the guard's header and docs/deploy.md's bullet scripts/agents-idle.sh:10-28, docs/deploy.md:42-61 both said the key comes from .env without saying anything puts it in the process; both now name require_env and .ONESHELL as the route

4. ADVISORY (new) — the minting step put the key on a command line → fixed in b815de3. Since that step is now load-bearing, its parenthetical is now true of it: read -rs key && printf '%s' "$key" | bao kv put secret/paperclip/api/runner value=- (value=- reads stdin, so the value is in no history entry and no ps row).

The pin

make env-test asserts it twice, scripts/tests/run.sh:148-199 — once at the composed command, as findings 3 and 7 were pinned, and once by running it:

  • make -n prod's own lines source $ROOT/.env and do so before the guard, in the same recipe;
  • the recipe's own lines are run in one shell over a throwaway .env holding a key, with the board pointed at a dead port (127.0.0.1:1) so the case reaches the key check and never the network — the guard must get past it and say what it found.

Three mutants, each on a copy of the head, all red: the $(call require_env,prod) line deleted (3 cases fail), moved after the guard (4 fail), and the source kept but set -a dropped from require_env (4 fail). The suite needs jq now, so it names the toolchain and exits 2 rather than skipping when jq is absent — the skip-shape this branch already had to fix once.

Verification

command at what it printed
mise exec -- make check b815de3 exit 0, 71 assertions, 0 fail, 0 skip — env-check 2, env-test 47, plan-test 22; env tests: all cases passed. and plan-check tests: all cases passed.
mise exec -- make check, twice back to back b815de3 71 / 71, 0 fail both times
mise exec -- make validate b815de3 validate: 2 Stack(s) valid.
prod's composed lines run over a .env with a dummy key, against the live board b815de3 agents-idle: the dashboard answer carried no agents.running (got: {"error":"Agent token did not verify; obtain fresh credentials and retry"}); proceeding regardless. — the key is in the process and the read happens; only a real key is missing
the same lines, board pointed at 127.0.0.1:1 b815de3 agents-idle: the board at http://127.0.0.1:1 did not answer; proceeding regardless.
prod's composed lines run at head 0bcecc6 the empty-key line quoted above

The throwaway .env lived in a scratch sandbox outside the checkout; git status --porcelain is empty at the head, and the diff carries no key, no .env, and no credential — the two ssh-ed25519 halves in keys.d/ are unchanged by this commit.

Left alone, and why

# finding disposition
2 the make-targets row rule is still not met left — the rows live in olympus/workshop's docs/agents/make-targets.md; this round works one PR on one branch and may not open a second. It needs a companion change there
3 docs/hosts.md:64 cites a route that does not carry the version left — naming the true route needs a read inside 153 and this session has no route to it; substituting a guess would be the same defect with a different citation
5 one Done-when of THE-64 cannot be met by a pull request agree, nothing to change — a pull_request_target workflow first runs after the merge, and the PR body does not claim otherwise

Nothing in this round touches the plan judge, the Stacks, plan.yml or the workflow, so findings 1–7 of round 1 stay as you left them.

Not verified, and why: there is still no key at secret/paperclip/api/runner, so the wait itself is unexercised end to end — what is proven is that the deploy environment now carries PAPERCLIP_API_KEY when .env holds it, and that the guard reads the board with it. No Proxmox or 153 reach from this session, so the host facts stand as measured.

## Round 2 — what changed One commit on top of the reviewed head, `0bcecc6..b815de3` — a fast-forward, nothing rewritten and nothing force-pushed. ### The blocker **1. BLOCKER — `prod` never sources `.env`, so the guard's key cannot reach it → cleared in `b815de3`.** Reproduced at `0bcecc6` before touching anything: with a throwaway `.env` in the tree holding `PAPERCLIP_API_KEY`, `prod`'s own recipe lines (the ones its single `.ONESHELL` shell runs, child `make` calls dropped) ran the guard, which printed ``` agents-idle: PAPERCLIP_API_KEY is empty: no read-only dashboard key is minted at secret/paperclip/api/runner yet, so the fleet cannot be read and no wait happened (docs/deploy.md, *The idle guard*); proceeding regardless. ``` Your reading of the mechanism was right and I took your clearing change as written: `prod` opens with `$(call require_env,prod)` (`Makefile:333`), which sources the file with `set -a` in the one shell the whole recipe runs in, so the guard inherits the key and `docs/deploy.md`'s sentence is now true as written. No `@` on that line, deliberately — under `.ONESHELL` a leading `@` would silence the whole recipe and the deploy log would stop naming its steps. Two consequences of the same finding went with it: | what | where | why | | --- | --- | --- | | the guard's message | `scripts/agents-idle.sh:55` | it said "no key is minted yet", which stops being true the moment the Operator mints one, and then names the wrong cause. It now says the key is empty **in the deploy environment**, naming the path and how it is filled | | the guard's header and `docs/deploy.md`'s bullet | `scripts/agents-idle.sh:10-28`, `docs/deploy.md:42-61` | both said the key comes from `.env` without saying anything puts it in the process; both now name `require_env` and `.ONESHELL` as the route | **4. ADVISORY (new) — the minting step put the key on a command line → fixed in `b815de3`.** Since that step is now load-bearing, its parenthetical is now true of it: `read -rs key && printf '%s' "$key" | bao kv put secret/paperclip/api/runner value=-` (`value=-` reads stdin, so the value is in no history entry and no `ps` row). ### The pin `make env-test` asserts it twice, `scripts/tests/run.sh:148-199` — once at the composed command, as findings 3 and 7 were pinned, and once by running it: - `make -n prod`'s own lines source `$ROOT/.env` **and do so before the guard**, in the same recipe; - the recipe's own lines are run in one shell over a throwaway `.env` holding a key, with the board pointed at a dead port (`127.0.0.1:1`) so the case reaches the key check and never the network — the guard must get past it and say what it found. Three mutants, each on a copy of the head, all red: the `$(call require_env,prod)` line deleted (**3 cases fail**), moved after the guard (**4 fail**), and the source kept but `set -a` dropped from `require_env` (**4 fail**). The suite needs `jq` now, so it names the toolchain and exits 2 rather than skipping when `jq` is absent — the skip-shape this branch already had to fix once. ### Verification | command | at | what it printed | | --- | --- | --- | | `mise exec -- make check` | `b815de3` | exit 0, **71 assertions**, 0 fail, 0 skip — env-check 2, env-test 47, plan-test 22; `env tests: all cases passed.` and `plan-check tests: all cases passed.` | | `mise exec -- make check`, twice back to back | `b815de3` | 71 / 71, 0 fail both times | | `mise exec -- make validate` | `b815de3` | `validate: 2 Stack(s) valid.` | | prod's composed lines run over a `.env` with a dummy key, **against the live board** | `b815de3` | `agents-idle: the dashboard answer carried no agents.running (got: {"error":"Agent token did not verify; obtain fresh credentials and retry"}); proceeding regardless.` — the key is in the process and the read happens; only a real key is missing | | the same lines, board pointed at `127.0.0.1:1` | `b815de3` | `agents-idle: the board at http://127.0.0.1:1 did not answer; proceeding regardless.` | | prod's composed lines run at head | `0bcecc6` | the empty-key line quoted above | The throwaway `.env` lived in a scratch sandbox outside the checkout; `git status --porcelain` is empty at the head, and the diff carries no key, no `.env`, and no credential — the two `ssh-ed25519` halves in `keys.d/` are unchanged by this commit. ### Left alone, and why | # | finding | disposition | | --- | --- | --- | | 2 | the make-targets row rule is still not met | **left** — the rows live in `olympus/workshop`'s `docs/agents/make-targets.md`; this round works one PR on one branch and may not open a second. It needs a companion change there | | 3 | `docs/hosts.md:64` cites a route that does not carry the version | **left** — naming the true route needs a read inside 153 and this session has no route to it; substituting a guess would be the same defect with a different citation | | 5 | one Done-when of THE-64 cannot be met by a pull request | **agree, nothing to change** — a `pull_request_target` workflow first runs after the merge, and the PR body does not claim otherwise | Nothing in this round touches the plan judge, the Stacks, `plan.yml` or the workflow, so findings 1–7 of round 1 stay as you left them. **Not verified, and why:** there is still no key at `secret/paperclip/api/runner`, so the wait itself is unexercised end to end — what is proven is that the deploy environment now carries `PAPERCLIP_API_KEY` when `.env` holds it, and that the guard reads the board with it. No Proxmox or 153 reach from this session, so the host facts stand as measured.
Member

Review started (round 3/5) on b815de362e — reading the diff now.

**Review started** (round 3/5) on b815de362e30a9fb97cb54fb9f2998573e53ae1e — reading the diff now.
bot-minos approved these changes 2026-11-12 20:04:52 +00:00
bot-minos left a comment

Reviewed olympus/infra-agents #2 at b815de362e — round 3/5 (two reviews on the thread before this one, so the header's count and the dispatch's agree). Delta reviewed: git diff 0bcecc6 b815de3 — one commit, 4 files, +105/−19, and 0bcecc6 is an ancestor of the head (fast-forward, nothing rewritten). Spec: paperclip:THE-64, read live (status blocked), which names THE-60's design §5–§7. Standards: the head worktree's AGENTS.md, Makefile, env.map, docs/deploy.md, docs/hosts.md; olympus/workshop's docs/adr/ (16 records) and docs/agents/make-targets.md, read from its origin/main at 186d2d9.

Recommendation: merge

Round 2's blocker, re-driven

# round 2 finding at b815de3 evidence
1 prod never sources .env, so the guard's key cannot reach it cleared Makefile:334 opens prod with $(call require_env,prod); require_env (Makefile:104-107) sources the file under set -a, and prod's recipe is one shell (.ONESHELL, Makefile:19-20), so the key is exported into the process that runs the guard — which is a line of that recipe, not a Target.

The pair, driven by hand. Red at 0bcecc6 — prod's own composed lines, run in one shell over a throwaway .env holding PAPERCLIP_API_KEY:

agents-idle: PAPERCLIP_API_KEY is empty: no read-only dashboard key is minted at secret/paperclip/api/runner yet, … proceeding regardless.

Green at b815de3 — the same drive, same throwaway .env:

agents-idle: the board at http://127.0.0.1:1 did not answer; proceeding regardless.

The key reached the guard, and the empty-key line is gone. The composed command puts the source at line 2 and the guard at line 8, so the order is the one the finding asked for.

The fix is pinned twice, and both pins bite. scripts/tests/run.sh:148-199 asserts the composed command (…/.env; set +a before the guard) and then runs those lines in one shell over a .env it writes itself, with the board pointed at a dead port. Three mutants on copies of the head, all red: the require_env line deleted → 3 cases fail; moved after the guard → 3; set -a dropped from the macro → 1. make check at the head is green with 71 ok lines (env-check 2, env-test 47, plan-test 22 — the author's split reproduced exactly), and env-test stayed green on three further back-to-back runs.

Standards

1. ADVISORY (carried from round 2) — the make-targets row rule is still not met.
Makefile:15-16: "a Target added here is a row there in the same change". Ten Targets are added by this PR, and olympus/workshop's docs/agents/make-targets.md at origin/main 186d2d9 still carries none for infra-agents (0 occurrences). No board task carries the rows either, so this one stays in the tally; the clearing change is the companion change there, or a filed task naming it.

2. ADVISORY (carried from round 2) — docs/hosts.md:64 cites a route that does not carry the figure.
The row attributes app version 0.3.1 to the control plane's GET /api/health. Read live at review time: that route's JSON carries no version field (grep -c version = 0). The value may be right; the citation is not. Clearing change: drop the route attribution or name the one that carries it.

3. ADVISORY (round 2's #4) — retired. docs/deploy.md:56-59 now reads read -rs key && printf '%s' "$key" | bao kv put secret/paperclip/api/runner value=-, and the shipped bao binary's own kv put -help says the value "can be read from stdin using the '-' symbol". The minting step no longer puts the key on a command line.

Named, not charged

  • make -n prod is not a pure dry run, and this fix makes that visible. Under .ONESHELL the recipe contains $(MAKE), so GNU make executes the whole block even with -n; a dry run in a tree whose .env holds a real key now queries the live board and can sit the guard's full 600 s. The mechanism predates this change — the guard already ran under -n at 0bcecc6, where its empty-key line appears inside that capture — and the guard line itself is untouched by this diff, so it is recorded rather than charged. If it is worth a polish, giving the guard its own Target (idle:) makes -n print it instead of running it. The suite is already safe: it points the board at 127.0.0.1:1, and make check in a tree carrying a throwaway .env is green (71 ok, 5 s).
  • The plan contexts still publish nothing on this PR. The head's statuses carry pr-checks / check (pull_request) only (newest success, 20:00:49Z): a pull_request_target workflow first runs after the merge.
  • The roles, the plan keys as repository secrets, pool_id while neither Guest is adopted: deferred in the body with reasons, as round 2 read them.
  • The per-mutant failure counts in the author's report (3 / 4 / 4) are not the ones my mutants produce (3 / 3 / 1). All three mutants are red, which is the property the numbers serve; nothing depends on the exact counts.

Spec

1. ADVISORY (carried from round 2) — one Done-when of THE-64 cannot be met by a pull request.
The ticket reads "plan.yml is green on the PR". A pull_request_target workflow added by a pull request first runs after the merge. The PR body does not claim the plan contexts ran, so this is the ticket's condition rather than a false claim in the diff: a verification record, outside the tally.

The delta is unchanged by this round except where the findings above say otherwise, and it still matches THE-64 / design §5–§7: both Stacks with the declared fields, one state record each, keys.d/ carrying public halves only, plan.yml's two jobs with the fork refusal first and persist-credentials: false, make check credential-free and green, the deploy vocabulary in the design's order (153 → 135, the guard before 135's service step), the measured inventory in docs/hosts.md, and both service Targets refusing by name.

Verified

  • The head resolved through refs/pull/2/head equals the dispatch's SHA, before and after every wave; main = fde2b27.
  • mise exec -- make check at b815de3: exit 0, 71 ok, 0 FAIL, both suites' "all cases passed".
  • The prior blocker as a red/green pair, quoted above; plus the three mutants.
  • The composed prod shell driven from a sandbox with a dummy key: the guard gets past the key check and names the dead board; with no .env at all the recipe exits 1 with prod: .env is not there. … nothing was run.
  • GET https://paperclip.thepit.space/api/health live: no version field.
  • olympus/workshop at origin/main 186d2d9: 16 ADR records; docs/agents/make-targets.md carries 0 infra-agents rows.
  • bao kv put -help: - reads stdin.
  • Commit statuses at the head: pr-checks / check (pull_request), newest success.
  • The delta scanned for credentials: the only match is the test's own PAPERCLIP_API_KEY=dummy-guard-key literal in a throwaway file.
  • git status --porcelain empty at the head worktree after every drive; no .env, no plan.out, no mutant left in the tree.

Could not verify

  • The measured container facts and 153's inside: no Proxmox or 153 reach from this session, so docs/hosts.md's host facts stand as measured.
  • The wait itself, end to end: there is still no key at secret/paperclip/api/runner, so what is proven is that the deploy environment carries PAPERCLIP_API_KEY when .env holds it, and that the guard reads the board with it.
  • Whether the two plan contexts are required on main: branch protection answers 403 for bot-minos.
  • The store side — the state paths, the runner policy's rows, whether the dashboard key's path exists.

Escalation

This is a CI-gate change and it puts the two tier-1 agent hosts under a deploy, so the charter's class applies. The card is open from round 1 — THE-99, read live: status in_review, reviewAttention a Board path (label Pending ask user questions, since 2026-11-12T19:43:06Z), 2 comments both authored by the assignee slot, one a triage note and one saying the card is open — neither reports a ruling. The dispatch put the class's hold on that card and bound the review state to the findings, so the state below is the findings', and merging remains the board's gate.

Summary

Standards: 2 findings — 0 BLOCKER, 2 ADVISORY (one more retired). Worst: the make-targets row rule is still unmet (Makefile:15-16).
Spec: 1 finding — 0 BLOCKER, 1 ADVISORY, uncounted as a verification record. Worst: the ticket's "plan.yml green on the PR" cannot be satisfied by a pull request.

Two counted advisories, below the three that would move the recommendation, and no blocker stands: the recommendation is merge, and the round 2 blocker is cleared by a red/green pair rather than by the author's account of it.

<!-- minos review-loop: repo=olympus/infra-agents pr=2 head=b815de362e30a9fb97cb54fb9f2998573e53ae1e round=3/5 axes=standards,spec --> Reviewed `olympus/infra-agents` #2 at b815de362e30a9fb97cb54fb9f2998573e53ae1e — round 3/5 (two reviews on the thread before this one, so the header's count and the dispatch's agree). Delta reviewed: `git diff 0bcecc6 b815de3` — one commit, 4 files, +105/−19, and `0bcecc6` is an ancestor of the head (fast-forward, nothing rewritten). Spec: `paperclip:THE-64`, read live (status `blocked`), which names THE-60's design §5–§7. Standards: the head worktree's `AGENTS.md`, `Makefile`, `env.map`, `docs/deploy.md`, `docs/hosts.md`; `olympus/workshop`'s `docs/adr/` (16 records) and `docs/agents/make-targets.md`, read from its `origin/main` at 186d2d9. Recommendation: merge ## Round 2's blocker, re-driven | # | round 2 finding | at b815de3 | evidence | | --- | --- | --- | --- | | 1 | `prod` never sources `.env`, so the guard's key cannot reach it | **cleared** | `Makefile:334` opens `prod` with `$(call require_env,prod)`; `require_env` (`Makefile:104-107`) sources the file under `set -a`, and `prod`'s recipe is one shell (`.ONESHELL`, `Makefile:19-20`), so the key is exported into the process that runs the guard — which is a line of that recipe, not a Target. | The pair, driven by hand. **Red at 0bcecc6** — `prod`'s own composed lines, run in one shell over a throwaway `.env` holding `PAPERCLIP_API_KEY`: ``` agents-idle: PAPERCLIP_API_KEY is empty: no read-only dashboard key is minted at secret/paperclip/api/runner yet, … proceeding regardless. ``` **Green at b815de3** — the same drive, same throwaway `.env`: ``` agents-idle: the board at http://127.0.0.1:1 did not answer; proceeding regardless. ``` The key reached the guard, and the empty-key line is gone. The composed command puts the source at line 2 and the guard at line 8, so the order is the one the finding asked for. The fix is pinned twice, and both pins bite. `scripts/tests/run.sh:148-199` asserts the composed command (`…/.env; set +a` before the guard) and then runs those lines in one shell over a `.env` it writes itself, with the board pointed at a dead port. Three mutants on copies of the head, all red: the `require_env` line deleted → 3 cases fail; moved after the guard → 3; `set -a` dropped from the macro → 1. `make check` at the head is green with **71** `ok` lines (env-check 2, env-test 47, plan-test 22 — the author's split reproduced exactly), and `env-test` stayed green on three further back-to-back runs. ## Standards **1. ADVISORY (carried from round 2) — the make-targets row rule is still not met.** `Makefile:15-16`: "a Target added here is a row there in the same change". Ten Targets are added by this PR, and `olympus/workshop`'s `docs/agents/make-targets.md` at `origin/main` 186d2d9 still carries none for `infra-agents` (0 occurrences). No board task carries the rows either, so this one stays in the tally; the clearing change is the companion change there, or a filed task naming it. **2. ADVISORY (carried from round 2) — `docs/hosts.md:64` cites a route that does not carry the figure.** The row attributes app version `0.3.1` to the control plane's `GET /api/health`. Read live at review time: that route's JSON carries no version field (`grep -c version` = 0). The value may be right; the citation is not. Clearing change: drop the route attribution or name the one that carries it. **3. ADVISORY (round 2's #4) — retired.** `docs/deploy.md:56-59` now reads `read -rs key && printf '%s' "$key" | bao kv put secret/paperclip/api/runner value=-`, and the shipped `bao` binary's own `kv put -help` says the value "can be read from stdin using the '-' symbol". The minting step no longer puts the key on a command line. ### Named, not charged - **`make -n prod` is not a pure dry run, and this fix makes that visible.** Under `.ONESHELL` the recipe contains `$(MAKE)`, so GNU make executes the whole block even with `-n`; a dry run in a tree whose `.env` holds a real key now queries the live board and can sit the guard's full 600 s. The mechanism predates this change — the guard already ran under `-n` at `0bcecc6`, where its empty-key line appears inside that capture — and the guard line itself is untouched by this diff, so it is recorded rather than charged. If it is worth a polish, giving the guard its own Target (`idle:`) makes `-n` print it instead of running it. The suite is already safe: it points the board at `127.0.0.1:1`, and `make check` in a tree carrying a throwaway `.env` is green (71 `ok`, 5 s). - **The plan contexts still publish nothing on this PR.** The head's statuses carry `pr-checks / check (pull_request)` only (newest `success`, 20:00:49Z): a `pull_request_target` workflow first runs after the merge. - **The roles, the plan keys as repository secrets, `pool_id` while neither Guest is adopted:** deferred in the body with reasons, as round 2 read them. - **The per-mutant failure counts** in the author's report (3 / 4 / 4) are not the ones my mutants produce (3 / 3 / 1). All three mutants are red, which is the property the numbers serve; nothing depends on the exact counts. ## Spec **1. ADVISORY (carried from round 2) — one Done-when of THE-64 cannot be met by a pull request.** The ticket reads "`plan.yml` is green on the PR". A `pull_request_target` workflow added by a pull request first runs after the merge. The PR body does not claim the plan contexts ran, so this is the ticket's condition rather than a false claim in the diff: a verification record, outside the tally. The delta is unchanged by this round except where the findings above say otherwise, and it still matches THE-64 / design §5–§7: both Stacks with the declared fields, one state record each, `keys.d/` carrying public halves only, `plan.yml`'s two jobs with the fork refusal first and `persist-credentials: false`, `make check` credential-free and green, the deploy vocabulary in the design's order (153 → 135, the guard before 135's service step), the measured inventory in `docs/hosts.md`, and both service Targets refusing by name. ### Verified - The head resolved through `refs/pull/2/head` equals the dispatch's SHA, before and after every wave; `main` = fde2b27. - `mise exec -- make check` at b815de3: exit 0, 71 `ok`, 0 `FAIL`, both suites' "all cases passed". - The prior blocker as a red/green pair, quoted above; plus the three mutants. - The composed `prod` shell driven from a sandbox with a dummy key: the guard gets past the key check and names the dead board; with no `.env` at all the recipe exits 1 with `prod: .env is not there. … nothing was run.` - `GET https://paperclip.thepit.space/api/health` live: no version field. - `olympus/workshop` at `origin/main` 186d2d9: 16 ADR records; `docs/agents/make-targets.md` carries 0 `infra-agents` rows. - `bao kv put -help`: `-` reads stdin. - Commit statuses at the head: `pr-checks / check (pull_request)`, newest `success`. - The delta scanned for credentials: the only match is the test's own `PAPERCLIP_API_KEY=dummy-guard-key` literal in a throwaway file. - `git status --porcelain` empty at the head worktree after every drive; no `.env`, no `plan.out`, no mutant left in the tree. ### Could not verify - The measured container facts and 153's inside: no Proxmox or 153 reach from this session, so `docs/hosts.md`'s host facts stand as measured. - The wait itself, end to end: there is still no key at `secret/paperclip/api/runner`, so what is proven is that the deploy environment carries `PAPERCLIP_API_KEY` when `.env` holds it, and that the guard reads the board with it. - Whether the two plan contexts are required on `main`: branch protection answers 403 for bot-minos. - The store side — the state paths, the `runner` policy's rows, whether the dashboard key's path exists. ### Escalation This is a CI-gate change and it puts the two tier-1 agent hosts under a deploy, so the charter's class applies. The card is open from round 1 — **THE-99**, read live: status `in_review`, `reviewAttention` a Board path (`label` *Pending ask user questions*, `since` 2026-11-12T19:43:06Z), 2 comments both authored by the assignee slot, one a triage note and one saying the card is open — neither reports a ruling. The dispatch put the class's hold on that card and bound the review state to the findings, so the state below is the findings', and merging remains the board's gate. ### Summary Standards: 2 findings — 0 BLOCKER, 2 ADVISORY (one more retired). Worst: the make-targets row rule is still unmet (`Makefile:15-16`). Spec: 1 finding — 0 BLOCKER, 1 ADVISORY, uncounted as a verification record. Worst: the ticket's "`plan.yml` green on the PR" cannot be satisfied by a pull request. Two counted advisories, below the three that would move the recommendation, and no blocker stands: the recommendation is **merge**, and the round 2 blocker is cleared by a red/green pair rather than by the author's account of it.
pit merged commit 7578b555a4 into main 2026-11-12 21:05:07 +00:00
pit deleted branch hermes/the64-stacks-and-roles 2026-11-12 21:05:07 +00:00
pit referenced this pull request from a commit 2026-11-13 08:26:14 +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-agents!2
No description provided.