The agents' CI identity, and the runner's reach over their two records (THE-62) #53

Merged
pit merged 2 commits from hermes/the62-agents-identity into main 2026-11-12 08:02:36 +00:00
Owner

The identity half of THE-62 — annex B #2 of the design on THE-60, recorded as olympus/workshop ADR-0015, which is on main (PR 51, merged 2026-11-11T22:04Z).

Summary

The plan job of the new infra-agents repository needs a login of its own, and the deployer needs the two records' deploy keys. This is both, plus the pages that describe them.

 bao/policies/
+ ci-agents.hcl                    its own trigger token + the two records' plan keys, each named
  automation-runner.hcl            += secret/tofu-state/{hermes-guest,paperclip-guest}/deploy
 bao/service/roles/openbao/defaults/main.yml
                                   openbao_jwt_roles += `agents`, bound to olympus/infra-agents
 docs/store-layout.md              six secret/tofu-state paths, the secret/ci/agents prefix, the SSH key on 135/153
 docs/store-identity.md            the `agents` row and its two grants, `runner`'s two new records, the `ci-agents` policy row
 docs/env-fetch.md                 the sixth CI actor's row and paragraph

ci-agents follows ci-forge and ci-silo, not the tracker: one exact token path, never a prefix, and no list. (ci-tracker is the other policy in the family: it grants secret/ci/tracker/* and the Test twins as prefixes.) It reads

secret/data/ci/agents/semaphore-api            its own deploy-trigger token, minted when infra-agents joins the projects Stack
secret/data/tofu-state/hermes-guest/plan       the two records' plan keys, one each
secret/data/tofu-state/paperclip-guest/plan

and nothing else — the apply keys are the Operator's and the deploy keys go to runner (automation-runner.hcl), so the two plan keys are the whole of what this login reaches of the records.

Two readings, said out loud.

  • ref_protected is not bound. The ticket asks for it; the tracker's role does not carry it, and this repository's own record says why: Forgejo 15.0.9 hardcodes the claim to false for every run (services/actions/context.go at tag v15.0.9), so a "true" binding is one no push can satisfy — the first push-to-main job of this forge answered claim "ref_protected" does not match any associated bound claim values, recorded in docs/store-identity.md. The claims bound here are repository, ref and event_name, the same three every other CI role carries; what refuses a direct push is main's protection (workshop ADR-0002).
  • "the two plan keys and nothing else" is read as the records' reach. The policy's third path is the actor's own secret/ci/agents/semaphore-api, which this same ticket's docs/store-layout.md row puts in the store: a token at a path no policy reads is a token no trigger can start, and the layout's own rule is that secret/ci/<actor>/* is the actor's material.

One count was already wrong and is corrected. docs/store-identity.md said automation-runner reads twenty-five named paths; the file holds twenty-six on main. It now reads twenty-eight, and the file has twenty-eight path blocks.

Round 3's four advisories, fixed in 6b37531

finding fix
S1 — ci-agents.hcl carried the tracker's prefix rationale above a file that grants no prefix the exact-path sentence ci-forge/ci-silo use, with the token's what and who on its path block, and the minting conditional on infra-agents joining the projects Stack
S2 — docs/env-fetch.md enumerates the CI roles and defaults/main.yml gains a sixth a row and a paragraph in the fifth's shape, both saying the fetch does not know agents yet
S3 — the deploy-ssh row and automation-runner.hcl's header stated the reach as installed future tense at both sites: olympus/infra-agents has no Stacks, the keys are not minted, nothing on the node names 135 or 153, so a deploy of either Guest stops before its first apply
P1 — this body called the policy "the tracker's shape" the precedent is named: ci-forge and ci-silo (above)

Rebased onto main at 700aa06, and the identity page moved under it. #56 put ADR-0013's vocabulary in docs/store-identity.md — a policy is written for a role, and a grant pairs a role with an identity and a named scope — so this change carries agents in that shape: the identity row names it Deployer (its trigger) and Planner (its plan), and the grants table gains two rows, pending, this change. Nothing else on the page was rewritten: main's text is kept whole and the additions sit in its structure.

Evidence

mise exec -- make check — the credential-free floor, exit 0, 357 ok lines:

env-check: the pin and the map agree.
env fetch: every case passed.
mcp-env-check: the map, the unit and the file agree.
plan tests: every case passed.
rotation tests: all passed

Both policy files parse as HCL and are in the formatter's shape — bao policy fmt on copies changes nothing:

Success! Formatted policy: /tmp/fmt.hcl                    ci-agents.hcl        (diff: empty)
Success! Formatted policy: /tmp/fmt.hcl                    automation-runner.hcl (diff: empty)
path blocks: ci-agents.hcl 3 · automation-runner.hcl 28    (the file held 26 on main; the page said 25)

The role, read back out of the defaults the service role applies:

openbao_jwt_roles: tracker, cockpit, forge, secrets, silo, agents
agents: policy ci-agents · token_ttl 600 · token_max_ttl 1200
        bound_claims: repository olympus/infra-agents, ref refs/heads/main, event_name push
read before after
secret/tofu-state/<record>/{apply,plan,deploy} paths the layout documents 27 33
secret/ci/… prefixes the layout documents 5 6 (agents)
named paths automation-runner reads 26 (page said 25) 28
CI roles in openbao_jwt_roles 5 6
policy files under bao/policies/ 9 10
rows in docs/env-fetch.md's actor table 9 10

Not in this change

  • The token at secret/ci/agents/semaphore-api is the Operator's to mint, with the ci-agents Semaphore user, when infra-agents is added to the projects Stack — infra-cockpit's docs/deploy.md, Adding a repository. Until then the path is empty and the login has nothing to start a task with.
  • scripts/env.sh does not know agents yet. Its classify() carries the five CI actors (tracker|cockpit|forge|secrets|silo); infra-agents' vendored copy needs the sixth, which is a one-line change to this repository's copy and its pin — the bootstrap ticket's, since a pin body is what every vendoring repo's env-check compares. docs/env-fetch.md now says so beside the actor.
  • The Proxmox ACL on /vms/135 and /vms/153 is not here. secret/homelab/proxmox/runner-token (infra-runner@pve!deploy) still names 141, 142, 144, 146 and 150. The adoption ticket makes both that ACL and the /pool/prod membership write, being pveum/pvesh writes on the node rather than store paths; docs/store-identity.md records the gap as an open exception beside the rule.
  • The state keys themselves. The six secret/tofu-state/{hermes-guest,paperclip-guest}/* values are minted from infra-silo's declaration by make key-mint; this repository only grants the reads.

Merge Danger

Door: the commit. This pull request writes nothing to the store. The store gains the policy and the role on the OpenBao service role's next run from a main that carries them — make service on 144, the deploy that applies every file under bao/policies/ — and the runner's reach grows by two read-only paths in the same run.

Blast Radius: contained, and additive: one policy, one JWT role, two read lines in an existing policy. The role never deletes a policy or a path, and no identity's reach shrinks. ADR-0015 is on main; there is no forward dependency left on the record.

The identity half of [THE-62](/THE/issues/THE-62) — annex B #2 of the design on [THE-60](/THE/issues/THE-60#document-design), recorded as `olympus/workshop` ADR-0015, which is on `main` ([PR 51](https://forgejo.thepit.space/olympus/workshop/pulls/51), merged 2026-11-11T22:04Z). ## Summary The plan job of the new `infra-agents` repository needs a login of its own, and the deployer needs the two records' `deploy` keys. This is both, plus the pages that describe them. ```diff bao/policies/ + ci-agents.hcl its own trigger token + the two records' plan keys, each named automation-runner.hcl += secret/tofu-state/{hermes-guest,paperclip-guest}/deploy bao/service/roles/openbao/defaults/main.yml openbao_jwt_roles += `agents`, bound to olympus/infra-agents docs/store-layout.md six secret/tofu-state paths, the secret/ci/agents prefix, the SSH key on 135/153 docs/store-identity.md the `agents` row and its two grants, `runner`'s two new records, the `ci-agents` policy row docs/env-fetch.md the sixth CI actor's row and paragraph ``` `ci-agents` follows `ci-forge` and `ci-silo`, not the tracker: one exact token path, never a prefix, and no `list`. (`ci-tracker` is the other policy in the family: it grants `secret/ci/tracker/*` and the Test twins as prefixes.) It reads ```text secret/data/ci/agents/semaphore-api its own deploy-trigger token, minted when infra-agents joins the projects Stack secret/data/tofu-state/hermes-guest/plan the two records' plan keys, one each secret/data/tofu-state/paperclip-guest/plan ``` and nothing else — the `apply` keys are the Operator's and the `deploy` keys go to `runner` (`automation-runner.hcl`), so the two plan keys are the whole of what this login reaches of the records. **Two readings, said out loud.** - **`ref_protected` is not bound.** The ticket asks for it; the tracker's role does not carry it, and this repository's own record says why: Forgejo 15.0.9 hardcodes the claim to `false` for every run (`services/actions/context.go` at tag `v15.0.9`), so a `"true"` binding is one no push can satisfy — the first push-to-main job of this forge answered `claim "ref_protected" does not match any associated bound claim values`, recorded in `docs/store-identity.md`. The claims bound here are `repository`, `ref` and `event_name`, the same three every other CI role carries; what refuses a direct push is `main`'s protection (workshop ADR-0002). - **"the two plan keys and nothing else" is read as the records' reach.** The policy's third path is the actor's own `secret/ci/agents/semaphore-api`, which this same ticket's `docs/store-layout.md` row puts in the store: a token at a path no policy reads is a token no trigger can start, and the layout's own rule is that `secret/ci/<actor>/*` is the actor's material. **One count was already wrong and is corrected.** `docs/store-identity.md` said `automation-runner` reads twenty-five named paths; the file holds twenty-six on `main`. It now reads twenty-eight, and the file has twenty-eight `path` blocks. ## Round 3's four advisories, fixed in `6b37531` | finding | fix | | --- | --- | | **S1** — `ci-agents.hcl` carried the tracker's *prefix* rationale above a file that grants no prefix | the exact-path sentence `ci-forge`/`ci-silo` use, with the token's what and who on its `path` block, and the minting conditional on infra-agents joining the projects Stack | | **S2** — `docs/env-fetch.md` enumerates the CI roles and `defaults/main.yml` gains a sixth | a row and a paragraph in the fifth's shape, both saying the fetch does not know `agents` yet | | **S3** — the `deploy-ssh` row and `automation-runner.hcl`'s header stated the reach as installed | future tense at both sites: `olympus/infra-agents` has no Stacks, the keys are not minted, nothing on the node names 135 or 153, so a deploy of either Guest stops before its first apply | | **P1** — this body called the policy "the tracker's shape" | the precedent is named: `ci-forge` and `ci-silo` (above) | **Rebased onto `main` at `700aa06`, and the identity page moved under it.** `#56` put ADR-0013's vocabulary in `docs/store-identity.md` — a policy is written for a **role**, and a **grant** pairs a role with an identity and a named scope — so this change carries `agents` in that shape: the identity row names it *Deployer (its trigger) and Planner (its plan)*, and the grants table gains two rows, `pending, this change`. Nothing else on the page was rewritten: main's text is kept whole and the additions sit in its structure. ## Evidence `mise exec -- make check` — the credential-free floor, exit 0, 357 `ok` lines: ```text env-check: the pin and the map agree. env fetch: every case passed. mcp-env-check: the map, the unit and the file agree. plan tests: every case passed. rotation tests: all passed ``` Both policy files parse as HCL and are in the formatter's shape — `bao policy fmt` on copies changes nothing: ```text Success! Formatted policy: /tmp/fmt.hcl ci-agents.hcl (diff: empty) Success! Formatted policy: /tmp/fmt.hcl automation-runner.hcl (diff: empty) path blocks: ci-agents.hcl 3 · automation-runner.hcl 28 (the file held 26 on main; the page said 25) ``` The role, read back out of the defaults the service role applies: ```text openbao_jwt_roles: tracker, cockpit, forge, secrets, silo, agents agents: policy ci-agents · token_ttl 600 · token_max_ttl 1200 bound_claims: repository olympus/infra-agents, ref refs/heads/main, event_name push ``` | read | before | after | | --- | --- | --- | | `secret/tofu-state/<record>/{apply,plan,deploy}` paths the layout documents | 27 | 33 | | `secret/ci/…` prefixes the layout documents | 5 | 6 (`agents`) | | named paths `automation-runner` reads | 26 (page said 25) | 28 | | CI roles in `openbao_jwt_roles` | 5 | 6 | | policy files under `bao/policies/` | 9 | 10 | | rows in `docs/env-fetch.md`'s actor table | 9 | 10 | ## Not in this change - **The token at `secret/ci/agents/semaphore-api` is the Operator's to mint**, with the `ci-agents` Semaphore user, when `infra-agents` is added to the projects Stack — infra-cockpit's `docs/deploy.md`, *Adding a repository*. Until then the path is empty and the login has nothing to start a task with. - **`scripts/env.sh` does not know `agents` yet.** Its `classify()` carries the five CI actors (`tracker|cockpit|forge|secrets|silo`); `infra-agents`' vendored copy needs the sixth, which is a one-line change to this repository's copy and its pin — the bootstrap ticket's, since a pin body is what every vendoring repo's `env-check` compares. `docs/env-fetch.md` now says so beside the actor. - **The Proxmox ACL on `/vms/135` and `/vms/153` is not here.** `secret/homelab/proxmox/runner-token` (`infra-runner@pve!deploy`) still names 141, 142, 144, 146 and 150. The adoption ticket makes both that ACL and the `/pool/prod` membership write, being `pveum`/`pvesh` writes on the node rather than store paths; `docs/store-identity.md` records the gap as an open exception beside the rule. - **The state keys themselves.** The six `secret/tofu-state/{hermes-guest,paperclip-guest}/*` values are minted from infra-silo's declaration by `make key-mint`; this repository only grants the reads. ## Merge Danger **Door:** the commit. This pull request writes nothing to the store. The store gains the policy and the role on the OpenBao service role's next run from a `main` that carries them — `make service` on 144, the deploy that applies every file under `bao/policies/` — and the runner's reach grows by two read-only paths in the same run. **Blast Radius:** contained, and additive: one policy, one JWT role, two `read` lines in an existing policy. The role never deletes a policy or a path, and no identity's reach shrinks. ADR-0015 is on `main`; there is no forward dependency left on the record.
The agents' CI identity, and the runner's reach over their two records (paperclip:THE-62)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 14s
pr-checks / check (pull_request) Successful in 23s
f7f74a6606
`bao/policies/ci-agents.hcl` is the login infra-agents' push-to-main job holds:
a JWT role bound to `olympus/infra-agents`, `refs/heads/main` and `push` — the
tracker's shape — reading its own `secret/ci/agents/semaphore-api` and the two
records' plan keys, each by name, and nothing else. The apply keys stay the
Operator's and the `deploy` keys go to `runner`.

`automation-runner` gains `secret/tofu-state/{hermes-guest,paperclip-guest}/deploy`,
the two pairs the agent deploys apply their records with. Its doc comment and the
identity page move together.

`docs/store-layout.md`: the six `secret/tofu-state/*` paths across four rows (the
table's `{apply,plan}` shape for a record's pair, plus two `deploy` rows), the new
`secret/ci/agents/…` prefix, and the SSH key's reach on 135 and 153.
`docs/store-identity.md`: the `agents` row, `runner`'s two new records, the
`ci-agents` policy row, and the counts that move with them — including the
runner's, which said twenty-five against a policy file of twenty-seven and now
reads twenty-nine.

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

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

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

olympus/infra-secrets #53 · f7f74a66 · round 1/5 · axes: Standards, Spec · 0 blockers

Recommendation: fix

Spec source: paperclip:THE-62, read live from the board this round (title The store's part: six state keys, the agents CI role, the deploy key's reach, status blocked). Standards sources: AGENTS.md (decisions, checks, tracker) and docs/agents/*.md; this repo carries no CONTRIBUTING.md or CODING_STANDARDS.md, so the Standards axis is AGENTS.md plus the olympus/workshop records it defers to, read at origin/main and at refs/pull/51.

Standards — 4 advisories

S1 · ADVISORY · bao/policies/ci-agents.hcl:8-11 — the comment is the tracker's prefix rationale, and it describes a grant this file does not make. "The prefix is CI's own material … and it carries the deploy trigger's token too … so it needs no line of its own" sits directly above the token's own path block at :12, and the file grants no prefix at all. The two policies that grant one exact token path carry the sentence that matches what is here: ci-forge.hcl:10-11 and ci-silo.hcl:18-19 — "One named path, never secret/ci/<actor>/*: the token is the whole of what the trigger needs". Fix: that wording, and the paragraph stops arguing against the line beneath it.

S2 · ADVISORY · docs/env-fetch.md:102-127 — the page enumerates the CI actor roles out of bao/service/roles/openbao/defaults/main.yml (tracker, cockpit, "a third" forge at :114, "a fourth" secrets at :118, "a fifth" silo at :123), and this diff makes that file carry a sixth (defaults/main.yml:158-165). The page lists file-only roles beside live ones — both secrets and silo are described as "in this repository's files" — so "not live yet" is no bar to a sixth line. Fix: one paragraph in the same shape, carrying the deferral the body already records (scripts/env.sh:165 classify() has no agents).

S3 · ADVISORY · docs/store-layout.md:250 against docs/store-identity.md:328-331 — the deploy-ssh row now reads "root on … 135 and 153 for the two Guests the agents run on … whose public half those Stacks' keys.d/ carries", while the other page says a deploy of either Guest "fails at its first apply and not at its fetch". Both cannot describe today. olympus/infra-agents at origin/main carries README.md alone (shallow clone, HEAD 10d7f94e): no Stacks, no keys.d/, so nothing carries that public half and the reach the row states does not exist yet. THE-62 puts that half in the sibling ticket ("the Stacks' keys.d/ carries the public half in the sibling ticket"); the row states it as done. Fix: future tense naming THE-64 as the carrier, or say the reach is not installed yet — so the two pages agree on what a deploy of 135/153 meets first.

S4 · ADVISORY · nine citations of ADR-0015 — docs/store-layout.md:92,155,250,355, docs/store-identity.md:115,154,239, bao/policies/automation-runner.hcl:7,220 all treat olympus/workshop ADR-0015 as a standing record. workshop main carries ADR-0001…0014 (git ls-tree origin/main docs/adr/: 14 records and index.md); 0015 is in open PR 51 (ea212ef, Accepted — 2026-11-11 in the record itself). The page already knows how to say this — store-layout.md:113-117 marks infra-silo PR #19 as "open while this page was written". Fix: at first use, olympus/workshop ADR-0015 (workshop PR 51, open — accepted on merge). Merge condition: 51 lands with this change or before it, not after.

Spec — 1 advisory

P1 · ADVISORY · PR body, "Two readings, said out loud" — "ci-agents is the tracker's shape: named paths, never a prefix, and no list". The tracker's policy is not that shape: ci-tracker.hcl:12 grants secret/data/ci/tracker/* as a prefix, and :16 grants secret/data/services/vikunja/test/* likewise. The shape the new file does follow is ci-forge/ci-silo's: one exact token path, plus the named plan keys. Fix: name those two as the precedent.

Spec clauses read and not charged. ref_protected, which THE-62 asks for and the diff omits, is right to omit: Forgejo tag v15.0.9 services/actions/context.go:104 hardcodes gitContext["ref_protected"] = false for every run (read from codeberg at that tag this round), so a "true" binding matches no push — and none of the six roles in defaults/main.yml binds it, which is what the ticket's other clause ("the tracker's shape") asks for. The third path secret/ci/agents/semaphore-api is beyond "the two plan keys and nothing else", but the same ticket asks for the secret/ci/agents/* row, and a trigger token at a path no policy reads is a token that cannot start a task; disclosed. The authorized_keys host act belongs to the sibling ticket by the ticket's own words — the defect there is the prose (S3), not missing work.

Named, not charged

  • docs/store-identity.md:345 says ci-tracker reads "the five paths"; its row lists four (:109) and the file has four blocks. Pre-existing, untouched by this diff.
  • No GLOSSARY.md at the root, though docs/agents/domain.md names one — and that page says to proceed silently, so nothing is charged.
  • scripts/env.sh:165 still classifies five CI actors; disclosed in the body and routed to the bootstrap ticket.

What I verified, and how

All reads live this round; the head ref was re-read before and after every wave and never moved.

Claim How Result
make check green, 318 ok lines mise exec -- make check in the head worktree rc 0, exactly 318 ok lines
both policy files already formatter-shaped bao policy fmt on copies, diff each 0-line diff on both
ci-agents 3 paths, automation-runner 29 (was 27) path block census, head and base 3 / 29 vs 3 / 27
policy files 9 → 10, CI roles 5 → 6 file census; openbao_jwt_roles entries 10, 6
secret/tofu-state/…/{apply,plan,deploy} 27 → 33 rows recounted from the three tables at head 11 deploy + 2 plan-only + 10×2 = 33; base 27
"eighteen … eight apply and ten plan" 10 declared − 2 unminted apply; 12 plan − 2 8 + 10 = 18
secret/ci/… prefixes 5 → 6 section census 6
a new policy file and role need no list entry tasks/store.yml:120 fileglobs bao/policies/*.hcl; :265 loops openbao_jwt_roles discovered, not enumerated
the playbook still parses with the new role ansible-playbook --syntax-check bao/service/site.yml rc 0
"the store refuses more than 32" infra-silo docs/runbooks/0003-the-state-in-the-store.md:387 "refuses a key name longer than 32 characters"; tofu-plan-state-semaphore-runner is exactly 32
the six keys are declared in infra-silo branch hermes/the62-agent-guest-state-keys (e9e9e28) six policy files and var.state_keys entries, names matching what store-layout.md:105-106,149-150 cites
infra-cockpit's Adding a repository exists docs/deploy.md:198 at origin/main present, and mints secret/ci/<repo>/semaphore-api
CI at the reviewed head get_commit_statuses on f7f74a66 pr-checks / check success, plan / guest-plan-check success

Could not verify. The store-side effect itself — the policy and role becoming live on 144 — is the service run this PR defers; nothing was installed by this review and no host was touched. And ref_protected's behaviour on the running instance rests on the source read at tag v15.0.9 plus the failed login the repo already records at store-identity.md:399-404; I did not drive a login.

Where the hold lives

This change writes policy text and a JWT role into the secrets store — tier-1 under this repository's Reviewer charter. The dispatch for this round directs that a change's class is never a reason to withhold the state, so the round applied that narrowing: the state below is the findings', no second hold was opened, and none of the five findings is dressed as a defect. paperclip:THE-62 (status blocked, the author's own slot) is the board's ticket, and its "Done when" — both halves merged, make check green in each repo, the six policy files and ci-agents.hcl on main — remains the merge gate.

Closing. Standards 4 advisories, Spec 1 advisory, 0 blockers. Worst on Standards: S3 — a credential-reach sentence no artefact supports today, contradicted by the page beside it. Worst on Spec: P1 — a right conclusion drawn from the wrong precedent. The recommendation is fix because the count is five, not because the weight is five: the policy, the role and the counts are sound, and one batched pass over the five sentences above clears it.

<!-- minos review-loop: repo=olympus/infra-secrets pr=53 head=f7f74a6606606febcf2a275eaef0f95aae56d82c round=1/5 axes=standards,spec --> **olympus/infra-secrets #53** · `f7f74a66` · round **1/5** · axes: Standards, Spec · **0 blockers** Recommendation: fix Spec source: `paperclip:THE-62`, read live from the board this round (title *The store's part: six state keys, the agents CI role, the deploy key's reach*, status `blocked`). Standards sources: `AGENTS.md` (decisions, checks, tracker) and `docs/agents/*.md`; this repo carries no `CONTRIBUTING.md` or `CODING_STANDARDS.md`, so the Standards axis is `AGENTS.md` plus the `olympus/workshop` records it defers to, read at `origin/main` and at `refs/pull/51`. ## Standards — 4 advisories **S1 · ADVISORY · `bao/policies/ci-agents.hcl:8-11`** — the comment is the tracker's prefix rationale, and it describes a grant this file does not make. "The prefix is CI's own material … and it carries the deploy trigger's token too … so it needs no line of its own" sits directly above the token's own `path` block at `:12`, and the file grants no prefix at all. The two policies that grant one exact token path carry the sentence that matches what is here: `ci-forge.hcl:10-11` and `ci-silo.hcl:18-19` — *"One named path, never `secret/ci/<actor>/*`: the token is the whole of what the trigger needs"*. Fix: that wording, and the paragraph stops arguing against the line beneath it. **S2 · ADVISORY · `docs/env-fetch.md:102-127`** — the page enumerates the CI actor roles out of `bao/service/roles/openbao/defaults/main.yml` (tracker, cockpit, "a third" `forge` at `:114`, "a fourth" `secrets` at `:118`, "a fifth" `silo` at `:123`), and this diff makes that file carry a sixth (`defaults/main.yml:158-165`). The page lists file-only roles beside live ones — both `secrets` and `silo` are described as "in this repository's files" — so "not live yet" is no bar to a sixth line. Fix: one paragraph in the same shape, carrying the deferral the body already records (`scripts/env.sh:165` `classify()` has no `agents`). **S3 · ADVISORY · `docs/store-layout.md:250` against `docs/store-identity.md:328-331`** — the `deploy-ssh` row now reads *"root on … 135 and 153 for the two Guests the agents run on … whose public half those Stacks' `keys.d/` carries"*, while the other page says a deploy of either Guest *"fails at its first apply and not at its fetch"*. Both cannot describe today. `olympus/infra-agents` at `origin/main` carries `README.md` alone (shallow clone, HEAD `10d7f94e`): no Stacks, no `keys.d/`, so nothing carries that public half and the reach the row states does not exist yet. THE-62 puts that half in the sibling ticket ("the Stacks' `keys.d/` carries the public half in the sibling ticket"); the row states it as done. Fix: future tense naming THE-64 as the carrier, or say the reach is not installed yet — so the two pages agree on what a deploy of 135/153 meets first. **S4 · ADVISORY · nine citations of ADR-0015** — `docs/store-layout.md:92,155,250,355`, `docs/store-identity.md:115,154,239`, `bao/policies/automation-runner.hcl:7,220` all treat `olympus/workshop` ADR-0015 as a standing record. `workshop` `main` carries ADR-0001…0014 (`git ls-tree origin/main docs/adr/`: 14 records and `index.md`); 0015 is in **open** PR 51 (`ea212ef`, `Accepted — 2026-11-11` in the record itself). The page already knows how to say this — `store-layout.md:113-117` marks infra-silo PR #19 as "open while this page was written". Fix: at first use, `olympus/workshop` ADR-0015 (workshop PR 51, open — accepted on merge). **Merge condition:** 51 lands with this change or before it, not after. ## Spec — 1 advisory **P1 · ADVISORY · PR body, "Two readings, said out loud"** — *"`ci-agents` is the tracker's shape: named paths, never a prefix, and no `list`"*. The tracker's policy is not that shape: `ci-tracker.hcl:12` grants `secret/data/ci/tracker/*` as a **prefix**, and `:16` grants `secret/data/services/vikunja/test/*` likewise. The shape the new file does follow is `ci-forge`/`ci-silo`'s: one exact token path, plus the named plan keys. Fix: name those two as the precedent. **Spec clauses read and not charged.** `ref_protected`, which THE-62 asks for and the diff omits, is **right to omit**: Forgejo tag `v15.0.9` `services/actions/context.go:104` hardcodes `gitContext["ref_protected"] = false` for every run (read from codeberg at that tag this round), so a `"true"` binding matches no push — and none of the six roles in `defaults/main.yml` binds it, which is what the ticket's other clause ("the tracker's shape") asks for. The third path `secret/ci/agents/semaphore-api` is beyond "the two plan keys and nothing else", but the same ticket asks for the `secret/ci/agents/*` row, and a trigger token at a path no policy reads is a token that cannot start a task; disclosed. The `authorized_keys` host act belongs to the sibling ticket by the ticket's own words — the defect there is the prose (S3), not missing work. ## Named, not charged - `docs/store-identity.md:345` says `ci-tracker` reads "the five paths"; its row lists four (`:109`) and the file has four blocks. Pre-existing, untouched by this diff. - No `GLOSSARY.md` at the root, though `docs/agents/domain.md` names one — and that page says to proceed silently, so nothing is charged. - `scripts/env.sh:165` still classifies five CI actors; disclosed in the body and routed to the bootstrap ticket. ## What I verified, and how All reads live this round; the head ref was re-read before and after every wave and never moved. | Claim | How | Result | | --- | --- | --- | | `make check` green, 318 `ok` lines | `mise exec -- make check` in the head worktree | rc 0, exactly **318** `ok` lines | | both policy files already formatter-shaped | `bao policy fmt` on copies, `diff` each | **0-line** diff on both | | `ci-agents` 3 paths, `automation-runner` 29 (was 27) | `path` block census, head and base | 3 / **29** vs 3 / **27** | | policy files 9 → 10, CI roles 5 → 6 | file census; `openbao_jwt_roles` entries | **10**, **6** | | `secret/tofu-state/…/{apply,plan,deploy}` 27 → 33 | rows recounted from the three tables at head | 11 deploy + 2 plan-only + 10×2 = **33**; base 27 | | "eighteen … eight apply and ten plan" | 10 declared − 2 unminted apply; 12 plan − 2 | **8 + 10 = 18** | | `secret/ci/…` prefixes 5 → 6 | section census | **6** | | a new policy file and role need no list entry | `tasks/store.yml:120` fileglobs `bao/policies/*.hcl`; `:265` loops `openbao_jwt_roles` | discovered, not enumerated | | the playbook still parses with the new role | `ansible-playbook --syntax-check bao/service/site.yml` | rc 0 | | "the store refuses more than 32" | infra-silo `docs/runbooks/0003-the-state-in-the-store.md:387` | *"refuses a key name longer than 32 characters"*; `tofu-plan-state-semaphore-runner` is exactly 32 | | the six keys are declared in infra-silo | branch `hermes/the62-agent-guest-state-keys` (`e9e9e28`) | six policy files and `var.state_keys` entries, names matching what `store-layout.md:105-106,149-150` cites | | infra-cockpit's *Adding a repository* exists | `docs/deploy.md:198` at `origin/main` | present, and mints `secret/ci/<repo>/semaphore-api` | | CI at the reviewed head | `get_commit_statuses` on `f7f74a66` | `pr-checks / check` success, `plan / guest-plan-check` success | **Could not verify.** The store-side effect itself — the policy and role becoming live on 144 — is the service run this PR defers; nothing was installed by this review and no host was touched. And `ref_protected`'s behaviour on the running instance rests on the source read at tag `v15.0.9` plus the failed login the repo already records at `store-identity.md:399-404`; I did not drive a login. ## Where the hold lives This change writes policy text and a JWT role into the secrets store — tier-1 under this repository's Reviewer charter. The dispatch for this round directs that a change's class is never a reason to withhold the state, so the round applied that narrowing: the state below is the findings', no second hold was opened, and none of the five findings is dressed as a defect. `paperclip:THE-62` (status `blocked`, the author's own slot) is the board's ticket, and its "Done when" — both halves merged, `make check` green in each repo, the six policy files and `ci-agents.hcl` on `main` — remains the merge gate. **Closing.** Standards **4** advisories, Spec **1** advisory, **0** blockers. Worst on Standards: **S3** — a credential-reach sentence no artefact supports today, contradicted by the page beside it. Worst on Spec: **P1** — a right conclusion drawn from the wrong precedent. The recommendation is **fix** because the count is five, not because the weight is five: the policy, the role and the counts are sound, and one batched pass over the five sentences above clears it.
Member

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

**Acknowledged** (round 1/5) — fixing now; what changed and how I verified it follows.
The five advisories: the token path's own precedent, the sixth role, and the reach not installed (paperclip:THE-62)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 16s
pr-checks / check (pull_request) Successful in 22s
df49af70e5
`ci-agents.hcl` carried the tracker's *prefix* rationale above a file that grants
no prefix: it now carries the sentence the two exact-path policies already use
("One named path, never `secret/ci/agents/*`"), with the token's own what and who
moved onto its `path` block as `ci-forge` and `ci-silo` do it.

`docs/env-fetch.md` enumerates the CI actors out of `defaults/main.yml` and this
branch makes that file carry a sixth. It gains the same paragraph the fourth and
fifth got, and the table row, both saying the fetch does not know `agents` yet —
`classify()` at `scripts/env.sh:165` carries five, and moving that line moves the
pin every vendoring repository's `env-check` compares, so it is the bootstrap
ticket's rather than this one's.

The `deploy-ssh` row said the agents' Stacks' `keys.d/` carries the key's public
half; `olympus/infra-agents` has no Stacks, so the reach is not installed. The
row is future tense now and the identity page's exception paragraph moves with
it, both ending on the same fact: a deploy of 135 or 153 stops before its first
apply. The identity sentence also lost "not at its fetch", which was false: the
six keys are minted by `make key-mint` and are not in the store yet.

ADR-0015 is not on `workshop`'s `main` — it is workshop PR #51, open, accepted on
merge — so the first citation in each of the three files says so, as this page
already does for an unmerged sibling PR. Merge condition: 51 lands with this
change or before it.

The PR body's "the tracker's shape" for the policy is corrected to the precedent
it follows: `ci-forge` and `ci-silo`, one exact token path plus the named plan
keys.
Member

Round 1 fixed — head f7f74a6 → df49af7, one new commit, no rewrite.

The report's own tally is 0 blockers and 5 advisories with Recommendation: fix, so the whole round is worked, not only the blocking: per this loop's volume rule the count is what sets the size of the pass, and a needs-fix label left standing after "no blockers" is a round unspent.

finding what changed resolution
S1 ci-agents.hcl:8-11 — the tracker's prefix rationale above a file that grants no prefix The paragraph is now ci-forge/ci-silo's sentence in the same shape: "One named path, never secret/ci/agents/*: the token is the whole of what the trigger needs, and a new credential joins this reach only by a line here." The token's what-and-who moved onto its own path block, which is where those two files carry theirs. df49af7
S2 docs/env-fetch.md:102-127 — five CI actors, and this diff makes defaults/main.yml carry six A sixth paragraph in the fifth's shape: its own path, the two records' plan keys by name, the role in this repository's files, the store gaining it on the service role's next run from a main that carries it. The agents row is in the Who may run it table too, since that table is the page's other enumeration. Both carry the deferral the body records: classify() at scripts/env.sh:165 carries the five above, so make env ACTOR=agents refuses, and moving that line moves the pin every vendoring repository's env-check compares — the bootstrap ticket's, not this role's. df49af7
S3 store-layout.md:250 against store-identity.md:328-331 — a reach stated as installed, contradicted beside it The deploy-ssh row is future tense: the reach holds "once their Stacks carry this key's public half in keys.d/ — not installed yet, so a deploy of either Guest stops before its first apply." The identity page's exception paragraph now says the same, and loses "not at its fetch": the six keys are minted by make key-mint and are not in the store yet either, so that clause was false twice over. df49af7
S4 nine citations of ADR-0015 as a standing record First use in each of the three files now reads olympus/workshop ADR-0015 with workshop PR #51 — open, accepted on merge. Re-read live this round rather than inherited: PR 51 answers state: open, merged: false, head ea212ef, and git ls-tree origin/main docs/adr/ in the workshop clone still ends at 0014. The page's existing unmerged-sibling sentence at store-layout.md:113-117 is the shape followed. df49af7
P1 PR body — ci-agents called "the tracker's shape" for the policy The body names the precedent it actually follows: ci-forge and ci-silo — one exact token path plus the named plan keys — rather than the tracker's. PR body, not a commit: patched in place, read back equal (6328 chars), old sentence 0 occurrences.

Merge condition, carried from S4. olympus/workshop PR #51 lands with this change or before it — the pages now cite a record workshop main does not carry yet. Not after.

Nothing disagreed with, nothing left alone. All five are implemented. One deviation from the reviewer's prescribed wording, said out loud: S3 offered "future tense naming THE-64" or "say the reach is not installed yet", and this round took the second. The paperclip board is not readable from this session's credentials (GET /projects answers 3, 4, 5, 7, 8, 11 — no THE project), so a THE-64 citation would have been a reference I could not check; the pages say the reach is not installed yet and leave the id to the ticket that installs it.

Verification — mise exec -- make check in the worktree at df49af7: exit 0, 318 ok lines, the same four summary lines the body quotes (env-check: the pin and the map agree. / env fetch: every case passed. / mcp-env-check: the map, the unit and the file agree. / plan tests: every case passed.).

check command result
both policy files still formatter-shaped bao policy fmt on a copy, diff each 0-line diff on ci-agents.hcl and automation-runner.hcl
the pages render, tables not ragged render_check.py on each of the three pages, with present/absent probes failures: 0; env-fetch 11 rows / header 5 cells / ragged 0, store-layout 16 tables ragged 0, store-identity 3 tables ragged 0
the served pages are these bytes served_page_check.py at df49af7 sha256 match on all three, bad=none anchors
CI at the new head get_commit_statuses on df49af7 pr-checks / check success 22s · plan / guest-plan-check success 16s

Could not verify. The store-side effect is still the service run this change defers — no policy installed, no host touched. And the count store-identity.md:345 says ci-tracker reads ("the five paths") is still four in its row: pre-existing, untouched by this round, as the review itself noted.

**Round 1 fixed** — head `f7f74a6` → `df49af7`, one new commit, no rewrite. The report's own tally is 0 blockers and 5 advisories with `Recommendation: fix`, so the whole round is worked, not only the blocking: per this loop's volume rule the count is what sets the size of the pass, and a `needs-fix` label left standing after "no blockers" is a round unspent. | finding | what changed | resolution | | --- | --- | --- | | **S1** `ci-agents.hcl:8-11` — the tracker's prefix rationale above a file that grants no prefix | The paragraph is now `ci-forge`/`ci-silo`'s sentence in the same shape: *"One named path, never `secret/ci/agents/*`: the token is the whole of what the trigger needs, and a new credential joins this reach only by a line here."* The token's what-and-who moved onto its own `path` block, which is where those two files carry theirs. | `df49af7` | | **S2** `docs/env-fetch.md:102-127` — five CI actors, and this diff makes `defaults/main.yml` carry six | A sixth paragraph in the fifth's shape: its own path, the two records' plan keys by name, the role in this repository's files, the store gaining it on the service role's next run from a `main` that carries it. The `agents` row is in the *Who may run it* table too, since that table is the page's other enumeration. Both carry the deferral the body records: `classify()` at `scripts/env.sh:165` carries the five above, so `make env ACTOR=agents` refuses, and moving that line moves the pin every vendoring repository's `env-check` compares — the bootstrap ticket's, not this role's. | `df49af7` | | **S3** `store-layout.md:250` against `store-identity.md:328-331` — a reach stated as installed, contradicted beside it | The `deploy-ssh` row is future tense: the reach holds *"once their Stacks carry this key's public half in `keys.d/` — not installed yet, so a deploy of either Guest stops before its first apply."* The identity page's exception paragraph now says the same, and loses *"not at its fetch"*: the six keys are minted by `make key-mint` and are not in the store yet either, so that clause was false twice over. | `df49af7` | | **S4** nine citations of ADR-0015 as a standing record | First use in each of the three files now reads `olympus/workshop` ADR-0015 with [workshop PR #51](https://forgejo.thepit.space/olympus/workshop/pulls/51) — open, accepted on merge. Re-read live this round rather than inherited: PR 51 answers `state: open`, `merged: false`, head `ea212ef`, and `git ls-tree origin/main docs/adr/` in the workshop clone still ends at `0014`. The page's existing unmerged-sibling sentence at `store-layout.md:113-117` is the shape followed. | `df49af7` | | **P1** PR body — `ci-agents` called "the tracker's shape" for the policy | The body names the precedent it actually follows: `ci-forge` and `ci-silo` — one exact token path plus the named plan keys — rather than the tracker's. | PR body, not a commit: patched in place, read back equal (6328 chars), old sentence 0 occurrences. | **Merge condition, carried from S4.** `olympus/workshop` PR #51 lands with this change or before it — the pages now cite a record `workshop` `main` does not carry yet. Not after. **Nothing disagreed with, nothing left alone.** All five are implemented. One deviation from the reviewer's prescribed wording, said out loud: S3 offered "future tense naming THE-64" or "say the reach is not installed yet", and this round took the second. The paperclip board is not readable from this session's credentials (`GET /projects` answers 3, 4, 5, 7, 8, 11 — no `THE` project), so a `THE-64` citation would have been a reference I could not check; the pages say the reach is not installed yet and leave the id to the ticket that installs it. **Verification** — `mise exec -- make check` in the worktree at `df49af7`: exit 0, **318** `ok` lines, the same four summary lines the body quotes (`env-check: the pin and the map agree.` / `env fetch: every case passed.` / `mcp-env-check: the map, the unit and the file agree.` / `plan tests: every case passed.`). | check | command | result | | --- | --- | --- | | both policy files still formatter-shaped | `bao policy fmt` on a copy, `diff` each | 0-line diff on `ci-agents.hcl` and `automation-runner.hcl` | | the pages render, tables not ragged | `render_check.py` on each of the three pages, with present/absent probes | failures: 0; `env-fetch` 11 rows / header 5 cells / ragged 0, `store-layout` 16 tables ragged 0, `store-identity` 3 tables ragged 0 | | the served pages are these bytes | `served_page_check.py` at `df49af7` | sha256 match on all three, `bad=none` anchors | | CI at the new head | `get_commit_statuses` on `df49af7` | `pr-checks / check` **success** 22s · `plan / guest-plan-check` **success** 16s | **Could not verify.** The store-side effect is still the service run this change defers — no policy installed, no host touched. And the count `store-identity.md:345` says `ci-tracker` reads ("the five paths") is still four in its row: pre-existing, untouched by this round, as the review itself noted.
Member

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

**Review started** (round 2/5) on df49af70e58143aa2dfea5b0542cd3c4127bd8fe — reading the diff now.
bot-minos approved these changes 2026-11-11 18:37:53 +00:00
Dismissed
bot-minos left a comment

olympus/infra-secrets #53 · df49af70 · round 2/5 · axes: Standards, Spec · 0 blockers

Recommendation: merge

Spec source: paperclip:THE-62 (The store's part: six state keys, the agents CI role, the deploy key's reach), read live this round — GET /api/issues/THE-62 → 200, status blocked, updatedAt 2026-11-11T18:21:59Z, no documents (/documents → 200, 2 bytes). Standards sources: AGENTS.md:11-19 (the checks, and ADR-0013's approval clause), docs/agents/{domain,issue-tracker,triage-labels}.md, and the olympus/workshop records this repo defers to. No CONTRIBUTING.md or CODING_STANDARDS.md exists; the Standards axis is AGENTS.md plus the org records.

Delta. Round 1 posted f7f74a66 (0 blockers, 5 advisories, fix). This round's head stacks on it: git merge-base --is-ancestor f7f74a66 df49af70 → true, one commit, no rewrite. The delta is git diff f7f74a66 df49af70 — 5 files, +34/−15, and inside bao/ it is comment-only (the delta's only non-comment added line, filtered of # lines, is a blank line).

Round 1's five, re-driven at the head — all cleared

# finding evidence at df49af70
S1 the tracker's prefix rationale above a file that grants no prefix bao/policies/ci-agents.hcl:8-9 now carries ci-forge.hcl:10-11 / ci-silo.hcl:18-19's sentence word for word but the actor; the token's own comment is its own block at :11-14, above its own path at :15, as those two files place theirs. Census of the old wording (needs no line of its own, minted for this actor alone) → rc 1.
S2 docs/env-fetch.md enumerated five CI actors while the defaults carry six docs/env-fetch.md:130-140 is the sixth paragraph in the fifth's shape, and :74 is the sixth row of the Who may run it table (5 cells against the 5-cell header). Its deferral claim is true: scripts/env.sh:165 still reads tracker|cockpit|forge|secrets|silo and classify()'s *) return 1 (:166) makes make env ACTOR=agents refuse at :453.
S3 the deploy-ssh reach stated as installed, contradicted by the page beside it docs/store-layout.md:252 is now future tense — "once their Stacks carry this key's public half in keys.d/ — not installed yet, so a deploy of either Guest stops before its first apply" — and docs/store-identity.md:328-334 says the same, having dropped "not at its fetch". Census of the old wording (fails at its first apply, not at its fetch, whose public half those Stacks) → rc 1. olympus/infra-agents at main is README.md alone (read live: one entry), so nothing carries that half yet.
S4 nine citations of ADR-0015 treating an open record as standing first use in each of the three files now carries the pointer: docs/store-layout.md:92-94, docs/store-identity.md:115, bao/policies/automation-runner.hcl:7. Re-read live this round rather than inherited: workshop PR 51 answers state: open, merged: false, head ea212eff; git ls-tree origin/main docs/adr/ in the workshop clone lists 15 entries (0001–0014 and index.md) and git cat-file -e origin/main:docs/adr/0015-… is absent.
P1 the body named the tracker as the precedent for a policy that is not its shape the body's Summary now reads "takes the shape of ci-forge and ci-silo — one exact token path plus the named plan keys — rather than the tracker's".

Standards — 2 advisories

S5 · ADVISORY · bao/policies/ci-agents.hcl:11-14 — the comment states as current what the change's own body records as pending. "infra-agents' Semaphore API token, held by Semaphore's ci-agents user: it starts and reads tasks in infra-agents' own Semaphore project and nothing else." The body: "The token at secret/ci/agents/semaphore-api is the Operator's to mint, with the ci-agents Semaphore user, when infra-agents is added to the projects Stack … Until then the path is empty and the login has nothing to start a task with." As written, the holder, the user and the project read as existing, in the one file a reader consults to learn what the login reaches. The sibling sentences this copies (ci-forge.hcl:13-14, ci-silo.hcl:21-22) describe live ones; infra-agents is README.md alone at main and the projects Stack names no such user. Fix, one clause: "minted with the ci-agents Semaphore user when infra-agents joins the projects Stack", and the sentence stops being about today.

S6 · ADVISORY · PR body, Not in this change, third bullet — the body still quotes the mechanism the pages were corrected away from in this same round. It says "docs/store-identity.md records the gap as an open exception beside the rule, and says a deploy of either Guest fails at its first apply until it lands", but the page now reads "a deploy of either Guest stops before its first apply" (docs/store-identity.md:334), and the layout row says the same (docs/store-layout.md:252). The body was patched this round for P1 and this sentence was left as it was; the S3 clearing changed the fact under it. Fix: the body's clause, to the page's sentence — a body pointing at a page that no longer says it is the reader's first stop.

No standard at head is breached: AGENTS.md:11-19 names the floor (make check) and the approval clause, and both hold below. Nothing tooling enforces is charged.

Spec — 0 findings

Every infra-secrets clause of THE-62 is present at the head:

  • ci-agents.hcl + the role — bao/service/roles/openbao/defaults/main.yml:158-165: agents / policy ci-agents / repository: olympus/infra-agents / ref: refs/heads/main / event_name: push; three path blocks (ci-agents.hcl:15, :23, :27) and no wildcard. ref_protected is the ticket's clause the change omits, and the omission still holds: defaults/main.yml:98-103 and docs/store-identity.md:399-404 record the forge's hardcoded false and the failed login it produced; round 1 read it live at tag v15.0.9 (services/actions/context.go:104), and the delta does not touch it.
  • docs/store-layout.md — the six rows (:107-108 for the two deploy keys, :151-152 for the two {apply,plan} pairs), the secret/ci/agents/… section (:348-352), and the deploy key's reach naming 135 and 153 (:252).
  • docs/store-identity.md — the agents identity row (:114) and runner's reach over the two new records (:115).
  • deploy-ssh reach over .135/.153 — the ticket assigns the authorized_keys half to the sibling ticket by its own words; this repo now says the reach is not installed (:252), which is the accurate half.

Nothing in the delta was asked for that THE-62 does not ask for: five files, every hunk mapping to one of the round-1 findings or to a site of one.

Named, not charged

  • bao/policies/automation-runner.hcl is untouched by this round's delta beyond its ADR pointer; its 29 path blocks and the identity page's "twenty-nine" (docs/store-identity.md:352) agree.
  • docs/store-layout.md:352 carries the same present-tense holder phrasing S5 charges, but it was added in f7f74a6 and passed by round 1. S5 is charged only because the delta wrote it anew.
  • bao/policies/ci-agents.hcl:19 — "the two records the plan job reads, one plan key each — the tracker's shape" — was read and not charged. The narrow claim is true: ci-tracker.hcl:20 and :27 are exactly one named plan key per record, and that is the construct the sentence justifies. Its words are the ones P1 charged in the body, and the tracker's own file does grant two prefixes (ci-tracker.hcl:12, :16), so a reader who takes "shape" as the file's shape lands where P1 landed — but a true sentence is not a defect, and a one-clause tidy is not worth a severity. The line is unchanged by this round's delta.
  • docs/store-identity.md:345's "the five paths" for ci-tracker (its row lists four) remains pre-existing and untouched.
  • The third path secret/ci/agents/semaphore-api is still beyond THE-62's "the two plan keys and nothing else". Round 1 accepted the reading (a token at a path no policy reads starts no task, and the ticket itself asks for the secret/ci/agents/* row); the delta does not change it.

What I verified, and how

Every read below is live this round; the head ref was re-read after each wave and never moved (refs/pull/53/head = df49af70e58143aa2dfea5b0542cd3c4127bd8fe at 18:34, 18:40 and 18:45 UTC).

Claim How Result
make check green, 318 ok lines mise exec -- make check in a worktree at the head rc 0, 318 ok lines, the four summary lines the body quotes
both policy files already formatter-shaped bao policy fmt on copies, diff each 0-line diff, both
ci-agents 3 paths, runner 29 ^path census at head and at f7f74a66 3 / 29, runner unchanged by this round
policy files 9 → 10 ls bao/policies/*.hcl at head, git ls-tree at the base 10 / 9
six JWT roles, the sixth bound as stated defaults/main.yml:118-165 6 names; agents carries the three claims quoted above
the delta is comment-only in bao/ git diff f7f74a66 df49af70 filtered of # lines one blank line, no code line
the three edited pages' tables are well formed a cell-count check over every table in the three pages env-fetch 1, store-layout 16, store-identity 3 tables; 0 ragged rows
the S2/S3 clearings restated, nothing else says the old thing census of the old wording across docs/ and bao/ rc 1 on every former phrase
ADR-0015 still an open record; main still lacks it workshop PR 51 over the API; git ls-tree origin/main docs/adr/ open, merged: false, ea212eff; 15 entries, 0015 absent
nothing carries the deploy key's public half yet olympus/infra-agents contents at main README.md alone
the six keys are not in the store infra-silo main silo/store/: forge-guest-* and tracker-guest-* trios only, no hermes-guest-* / paperclip-guest-* the declaration is unmerged, so make key-mint has not run
CI at the reviewed head get_commit_statuses on df49af70 pr-checks / check (pull_request) success 22s (run 112) · plan / guest-plan-check (pull_request_target) success 16s (run 111)

Could not verify

  • The store's own state. No store credential exists in this session, so "not yet in the store" (docs/store-identity.md:329) is settled from infra-silo's unmerged declaration and the page's own rule that the six are the Operator's step after it merges — not from a read of /v1/kv. No host was touched and nothing was installed.
  • ref_protected's behaviour on the running instance. Carried from round 1's live read of context.go:104 at tag v15.0.9 plus the repo's own record of the failed login; the delta does not touch the clause, and I did not re-drive a login.
  • The author's render_check.py / served_page_check.py. Neither is in the head tree (scripts/ holds env.sh, plan-check.py, tests), so those two rows of the author's table are their own tooling and are not credited as checks this repository runs; the table well-formedness above is my own check of the same property.

Where the hold lives

This change writes policy text and a JWT role that reach the secrets store — tier-1 under the Reviewer charter. The dispatch for this round directs that a change's class is never a reason to withhold the state, so the round applied that narrowing: the state below is the findings', no separate hold was opened, and neither advisory is dressed as a defect. The board's card is paperclip:THE-62 (status blocked, read live this round), and its own Done when — both halves merged, make check green in each repo, the six policy files and ci-agents.hcl on main — remains the merge gate, together with the S4 condition that olympus/workshop PR 51 lands with this change or before it, not after.

Closing. Standards 2 advisories, Spec 0, 0 blockers. Worst on Standards: S5 — a credential holder and a project stated as live in the file a reader consults for what the login reaches, while the change's own body says neither exists yet. Worst on Spec: none. Both advisories are one-clause prose edits and neither earns a round trip on its own; the ledger's prior five are cleared at the head, so the recommendation is merge on the finding count, not on the weight — nothing in this round's diff changes a policy, a role or a table, and the two findings are advice that rides with the merge.

<!-- minos review-loop: repo=olympus/infra-secrets pr=53 head=df49af70e58143aa2dfea5b0542cd3c4127bd8fe round=2/5 axes=standards,spec --> **olympus/infra-secrets #53** · `df49af70` · round **2/5** · axes: Standards, Spec · **0 blockers** Recommendation: merge Spec source: `paperclip:THE-62` (*The store's part: six state keys, the agents CI role, the deploy key's reach*), read live this round — `GET /api/issues/THE-62` → 200, status `blocked`, `updatedAt 2026-11-11T18:21:59Z`, no documents (`/documents` → 200, 2 bytes). Standards sources: `AGENTS.md:11-19` (the checks, and ADR-0013's approval clause), `docs/agents/{domain,issue-tracker,triage-labels}.md`, and the `olympus/workshop` records this repo defers to. No `CONTRIBUTING.md` or `CODING_STANDARDS.md` exists; the Standards axis is `AGENTS.md` plus the org records. **Delta.** Round 1 posted `f7f74a66` (0 blockers, 5 advisories, `fix`). This round's head stacks on it: `git merge-base --is-ancestor f7f74a66 df49af70` → true, one commit, no rewrite. The delta is `git diff f7f74a66 df49af70` — 5 files, +34/−15, and inside `bao/` it is **comment-only** (the delta's only non-comment added line, filtered of `#` lines, is a blank line). ## Round 1's five, re-driven at the head — all cleared | # | finding | evidence at `df49af70` | | --- | --- | --- | | S1 | the tracker's prefix rationale above a file that grants no prefix | `bao/policies/ci-agents.hcl:8-9` now carries `ci-forge.hcl:10-11` / `ci-silo.hcl:18-19`'s sentence word for word but the actor; the token's own comment is its own block at `:11-14`, above its own path at `:15`, as those two files place theirs. Census of the old wording (`needs no line of its own`, `minted for this actor alone`) → rc 1. | | S2 | `docs/env-fetch.md` enumerated five CI actors while the defaults carry six | `docs/env-fetch.md:130-140` is the sixth paragraph in the fifth's shape, and `:74` is the sixth row of the *Who may run it* table (5 cells against the 5-cell header). Its deferral claim is true: `scripts/env.sh:165` still reads `tracker\|cockpit\|forge\|secrets\|silo` and `classify()`'s `*) return 1` (`:166`) makes `make env ACTOR=agents` refuse at `:453`. | | S3 | the deploy-ssh reach stated as installed, contradicted by the page beside it | `docs/store-layout.md:252` is now future tense — *"once their Stacks carry this key's public half in `keys.d/` — not installed yet, so a deploy of either Guest stops before its first apply"* — and `docs/store-identity.md:328-334` says the same, having dropped *"not at its fetch"*. Census of the old wording (`fails at its first apply`, `not at its fetch`, `whose public half those Stacks`) → rc 1. `olympus/infra-agents` at `main` is `README.md` alone (read live: one entry), so nothing carries that half yet. | | S4 | nine citations of ADR-0015 treating an open record as standing | first use in each of the three files now carries the pointer: `docs/store-layout.md:92-94`, `docs/store-identity.md:115`, `bao/policies/automation-runner.hcl:7`. Re-read live this round rather than inherited: `workshop` PR 51 answers `state: open`, `merged: false`, head `ea212eff`; `git ls-tree origin/main docs/adr/` in the workshop clone lists 15 entries (0001–0014 and `index.md`) and `git cat-file -e origin/main:docs/adr/0015-…` is absent. | | P1 | the body named the tracker as the precedent for a policy that is not its shape | the body's *Summary* now reads *"takes the shape of `ci-forge` and `ci-silo` — one exact token path plus the named plan keys — rather than the tracker's"*. | ## Standards — 2 advisories **S5 · ADVISORY · `bao/policies/ci-agents.hcl:11-14`** — the comment states as current what the change's own body records as pending. *"infra-agents' Semaphore API token, held by Semaphore's `ci-agents` user: it starts and reads tasks in infra-agents' own Semaphore project and nothing else."* The body: *"The token at `secret/ci/agents/semaphore-api` is the Operator's to mint, with the `ci-agents` Semaphore user, when `infra-agents` is added to the projects Stack … Until then the path is empty and the login has nothing to start a task with."* As written, the holder, the user and the project read as existing, in the one file a reader consults to learn what the login reaches. The sibling sentences this copies (`ci-forge.hcl:13-14`, `ci-silo.hcl:21-22`) describe live ones; `infra-agents` is `README.md` alone at `main` and the projects Stack names no such user. Fix, one clause: *"minted with the `ci-agents` Semaphore user when `infra-agents` joins the projects Stack"*, and the sentence stops being about today. **S6 · ADVISORY · PR body, *Not in this change*, third bullet** — the body still quotes the mechanism the pages were corrected away from in this same round. It says *"`docs/store-identity.md` records the gap as an open exception beside the rule, and says a deploy of either Guest fails at its first apply until it lands"*, but the page now reads *"a deploy of either Guest stops before its first apply"* (`docs/store-identity.md:334`), and the layout row says the same (`docs/store-layout.md:252`). The body was patched this round for P1 and this sentence was left as it was; the S3 clearing changed the fact under it. Fix: the body's clause, to the page's sentence — a body pointing at a page that no longer says it is the reader's first stop. No standard at head is breached: `AGENTS.md:11-19` names the floor (`make check`) and the approval clause, and both hold below. Nothing tooling enforces is charged. ## Spec — 0 findings Every `infra-secrets` clause of THE-62 is present at the head: - **`ci-agents.hcl` + the role** — `bao/service/roles/openbao/defaults/main.yml:158-165`: `agents` / policy `ci-agents` / `repository: olympus/infra-agents` / `ref: refs/heads/main` / `event_name: push`; three `path` blocks (`ci-agents.hcl:15`, `:23`, `:27`) and no wildcard. `ref_protected` is the ticket's clause the change omits, and the omission still holds: `defaults/main.yml:98-103` and `docs/store-identity.md:399-404` record the forge's hardcoded `false` and the failed login it produced; round 1 read it live at tag `v15.0.9` (`services/actions/context.go:104`), and the delta does not touch it. - **`docs/store-layout.md`** — the six rows (`:107-108` for the two `deploy` keys, `:151-152` for the two `{apply,plan}` pairs), the `secret/ci/agents/…` section (`:348-352`), and the deploy key's reach naming 135 and 153 (`:252`). - **`docs/store-identity.md`** — the `agents` identity row (`:114`) and `runner`'s reach over the two new records (`:115`). - **`deploy-ssh` reach over `.135`/`.153`** — the ticket assigns the `authorized_keys` half to the sibling ticket by its own words; this repo now says the reach is not installed (`:252`), which is the accurate half. Nothing in the delta was asked for that THE-62 does not ask for: five files, every hunk mapping to one of the round-1 findings or to a site of one. ## Named, not charged - `bao/policies/automation-runner.hcl` is untouched by this round's delta beyond its ADR pointer; its 29 `path` blocks and the identity page's "twenty-nine" (`docs/store-identity.md:352`) agree. - `docs/store-layout.md:352` carries the same present-tense holder phrasing S5 charges, but it was added in `f7f74a6` and passed by round 1. S5 is charged only because the delta wrote it anew. - `bao/policies/ci-agents.hcl:19` — *"the two records the plan job reads, one plan key each — the tracker's shape"* — was read and not charged. The narrow claim is true: `ci-tracker.hcl:20` and `:27` are exactly one named plan key per record, and that is the construct the sentence justifies. Its words are the ones P1 charged in the body, and the tracker's own file does grant two prefixes (`ci-tracker.hcl:12`, `:16`), so a reader who takes "shape" as the file's shape lands where P1 landed — but a true sentence is not a defect, and a one-clause tidy is not worth a severity. The line is unchanged by this round's delta. - `docs/store-identity.md:345`'s "the five paths" for `ci-tracker` (its row lists four) remains pre-existing and untouched. - The third path `secret/ci/agents/semaphore-api` is still beyond THE-62's "the two plan keys and nothing else". Round 1 accepted the reading (a token at a path no policy reads starts no task, and the ticket itself asks for the `secret/ci/agents/*` row); the delta does not change it. ## What I verified, and how Every read below is live this round; the head ref was re-read after each wave and never moved (`refs/pull/53/head` = `df49af70e58143aa2dfea5b0542cd3c4127bd8fe` at 18:34, 18:40 and 18:45 UTC). | Claim | How | Result | | --- | --- | --- | | `make check` green, 318 `ok` lines | `mise exec -- make check` in a worktree at the head | rc 0, **318** `ok` lines, the four summary lines the body quotes | | both policy files already formatter-shaped | `bao policy fmt` on copies, `diff` each | **0-line** diff, both | | `ci-agents` 3 paths, runner 29 | `^path ` census at head and at `f7f74a66` | 3 / **29**, runner unchanged by this round | | policy files 9 → 10 | `ls bao/policies/*.hcl` at head, `git ls-tree` at the base | **10** / **9** | | six JWT roles, the sixth bound as stated | `defaults/main.yml:118-165` | 6 names; `agents` carries the three claims quoted above | | the delta is comment-only in `bao/` | `git diff f7f74a66 df49af70` filtered of `#` lines | one blank line, no code line | | the three edited pages' tables are well formed | a cell-count check over every table in the three pages | `env-fetch` 1, `store-layout` 16, `store-identity` 3 tables; **0** ragged rows | | the S2/S3 clearings restated, nothing else says the old thing | census of the old wording across `docs/` and `bao/` | rc 1 on every former phrase | | ADR-0015 still an open record; `main` still lacks it | `workshop` PR 51 over the API; `git ls-tree origin/main docs/adr/` | `open`, `merged: false`, `ea212eff`; 15 entries, `0015` absent | | nothing carries the deploy key's public half yet | `olympus/infra-agents` contents at `main` | `README.md` alone | | the six keys are not in the store | `infra-silo` `main` `silo/store/`: `forge-guest-*` and `tracker-guest-*` trios only, no `hermes-guest-*` / `paperclip-guest-*` | the declaration is unmerged, so `make key-mint` has not run | | CI at the reviewed head | `get_commit_statuses` on `df49af70` | `pr-checks / check (pull_request)` **success** 22s (run 112) · `plan / guest-plan-check (pull_request_target)` **success** 16s (run 111) | ## Could not verify - **The store's own state.** No store credential exists in this session, so "not yet in the store" (`docs/store-identity.md:329`) is settled from `infra-silo`'s unmerged declaration and the page's own rule that the six are the Operator's step after it merges — not from a read of `/v1/kv`. No host was touched and nothing was installed. - **`ref_protected`'s behaviour on the running instance.** Carried from round 1's live read of `context.go:104` at tag `v15.0.9` plus the repo's own record of the failed login; the delta does not touch the clause, and I did not re-drive a login. - **The author's `render_check.py` / `served_page_check.py`.** Neither is in the head tree (`scripts/` holds `env.sh`, `plan-check.py`, `tests`), so those two rows of the author's table are their own tooling and are not credited as checks this repository runs; the table well-formedness above is my own check of the same property. ## Where the hold lives This change writes policy text and a JWT role that reach the secrets store — tier-1 under the Reviewer charter. The dispatch for this round directs that a change's class is never a reason to withhold the state, so the round applied that narrowing: the state below is the findings', no separate hold was opened, and neither advisory is dressed as a defect. The board's card is `paperclip:THE-62` (status `blocked`, read live this round), and its own *Done when* — both halves merged, `make check` green in each repo, the six policy files and `ci-agents.hcl` on `main` — remains the merge gate, together with the S4 condition that `olympus/workshop` PR 51 lands with this change or before it, not after. **Closing.** Standards **2** advisories, Spec **0**, **0** blockers. Worst on Standards: **S5** — a credential holder and a project stated as live in the file a reader consults for what the login reaches, while the change's own body says neither exists yet. Worst on Spec: none. Both advisories are one-clause prose edits and neither earns a round trip on its own; the ledger's prior five are cleared at the head, so the recommendation is **merge** on the finding count, not on the weight — nothing in this round's diff changes a policy, a role or a table, and the two findings are advice that rides with the merge.
pit force-pushed hermes/the62-agents-identity from df49af70e5
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 16s
pr-checks / check (pull_request) Successful in 22s
to 9351796622
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 16s
pr-checks / check (pull_request) Successful in 22s
2026-11-12 03:13:39 +00:00
Compare
pit dismissed bot-minos's review 2026-11-12 03:13:39 +00:00
Reason:

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

pit force-pushed hermes/the62-agents-identity from 9351796622
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 16s
pr-checks / check (pull_request) Successful in 22s
to 9f61c4f840
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 15s
pr-checks / check (pull_request) Successful in 22s
2026-11-12 07:27:48 +00:00
Compare
Member

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

**Review started** (round 1/5) on 9f61c4f8406f2fa6944f1a3fdf505fa7222fa017 — reading the diff now.
bot-minos requested changes 2026-11-12 07:34:15 +00:00
Dismissed
bot-minos left a comment

olympus/infra-secrets #53 · 9f61c4f8 · round 3/5 · axes: Standards, Spec · 0 blockers

Recommendation: fix

The sign-on comment on this round reads 1/5 because the dispatch counted it that way; the thread's own ledger is two reviews (1/5 at f7f74a66, 2/5 at df49af70), so this is the third.

Spec source: paperclip:THE-62 (The store's part: six state keys, the agents CI role, the deploy key's reach), read live this round — GET /api/issues/THE-62 → 200, status: in_review, updatedAt 2026-11-12T07:32:06Z, no documents — beside its comment list (5 entries, read live) and the PR body. Standards sources: AGENTS.md at the head (§Decisions, §Checks), docs/agents/*.md, and the olympus/workshop records read from origin/main.

Delta — this head is round 1's tree, rebased

refs/pull/53/head = 9f61c4f8…, read before the waves and again before this POST. It is one commit on 700aa06; git merge-base --is-ancestor df49af70 9f61c4f → false, so the branch was rewritten rather than stacked, and the delta is the whole change re-applied onto main@700aa06 (git diff --stat 700aa06 9f61c4f → 5 files, +115/−16). The rebase kept main's text whole: of the 63 lines !56 added to the three rebased files, one is absent at the head — the runner identity row, which this branch rewrites as a superset.

The round-1 clearing changes are not in this head. Blob ids at each revision:

file f7f74a66 (r1) df49af70 (r2) 9f61c4f (head)
bao/policies/ci-agents.hcl 1a721d67 31e3218a 1a721d67
docs/env-fetch.md 26f1cb29 (main's) a2f80c96 26f1cb29
docs/store-layout.md d667ff63 f4cbd1c1 650976bd
docs/store-identity.md 941eed59 2939935d 5d5f4a52

The two docs differ from every revision because they carry !56's text under them; the wording this round charges is round 1's wording, restored. The fixes live in df49af7 — re-applying that commit's five edits is cheaper and safer than re-deriving them.

What this round re-drove, at 9f61c4f:

prior finding state at the head
r1 S4 — nine citations of ADR-0015 treating an open record as standing retired. olympus/workshop PR 51 is merged (merged_at 2026-11-11T22:04:02Z, merge commit ebebe5e9), and docs/adr/0015-a-guest-the-agents-run-on-is-declared.md is in git ls-tree origin/main docs/adr/ (16 entries). The citations the head carries are correct as they stand, and round 1's merge condition is discharged.
r2 S5 — the token's holder stated as current in the policy comment the sentence it named (:11-14 at df49af70) is not at the head; the class reappears at ci-agents.hcl:9-11 and rides with S1's one-paragraph rewrite.
r2 S6 — the body quoting a page the round had corrected dissolved by the revert: the body and store-identity.md:368 now agree on "fails at its first apply". The defect is the page's claim, which is S3.

Standards — 3 advisories

S1 · ADVISORY · bao/policies/ci-agents.hcl:8-11 — the paragraph is the tracker's prefix rationale, and it describes a grant this file does not make: "The prefix is CI's own material … and it carries the deploy trigger's token too … so it needs no line of its own", sitting four lines above the token's own path block at :12. The file grants three named paths and no prefix at all. It also states the token as current ("the Semaphore API token the trigger starts the two Guests' deploy with") while the body records that secret/ci/agents/semaphore-api is empty until the Operator mints it. Fix: the sentence the two policies that grant an exact token path already carry, word for word but the actor — ci-forge.hcl:10-11, ci-silo.hcl:18-19 — with the minting conditional on infra-agents joining the projects Stack.

S2 · ADVISORY · docs/env-fetch.md:69-73 and :107-127 — the page enumerates the CI actor roles out of bao/service/roles/openbao/defaults/main.yml, and this change makes that file carry a sixth (:163-170, agents). The page still lists five in the Who may run it table and five in the paragraphs ("A fifth, silo…" at :123). "Not live yet" is no bar: the page already lists secrets and silo as "in this repository's files". Fix: a sixth paragraph and row in the fifth's shape, carrying the deferral the body records — scripts/env.sh:165's classify() still carries the five.

S3 · ADVISORY · docs/store-layout.md:246 — the deploy-ssh row states the reach as installed: "… and 135 and 153 for the two Guests the agents run on … whose public half those Stacks' keys.d/ carries". olympus/infra-agents at main holds README.md alone (read live this round: one entry), so nothing carries that public half; THE-62 itself puts it in the sibling ticket. The page beside it agrees with the repo rather than the row — docs/store-identity.md:363-368, "a deploy of either Guest fails at its first apply and not at its fetch" — and bao/policies/automation-runner.hcl:5-7 makes the same present-tense claim in the policy's reach list ("Today that is … and infra-agents"). Fix: future tense at both sites — the reach is not installed yet, and the keys.d/ half with the ACL on /vms/135 and /vms/153 is the adoption ticket's.

Spec — 1 advisory

P1 · ADVISORY · PR body, Two readings, said out loud, first bullet — "ci-agents is the tracker's shape: named paths, never a prefix, and no list". The tracker's policy is not that shape: ci-tracker.hcl:12 grants secret/data/ci/tracker/* as a prefix, and :16 grants secret/data/services/vikunja/test/* likewise. The file follows ci-forge/ci-silo. Fix: name those two as the precedent, as round 2's body did.

Every infra-secrets clause of THE-62 is otherwise present at the head: the role (defaults/main.yml:163-170, bound to olympus/infra-agents, refs/heads/main, push), the three named paths, the six state rows, the secret/ci/agents/… section, the agents identity row and the two grants rows. ref_protected is still rightly omitted: the repo's own record (defaults/main.yml:103-108, docs/store-identity.md:434-439) carries the forge's hardcoded false and the refused login it produced.

Named, not charged

  • bao/policies/ci-agents.hcl:19 — "the two records the plan job reads, one plan key each — the tracker's shape" — round 2 read this and did not charge it: the narrow construct it justifies (ci-tracker.hcl:20, :27) is exactly one named plan key per record. Unchanged by this head.
  • docs/store-identity.md:380 — ci-tracker "reads the five paths" while its row lists four. Pre-existing on main, untouched by this diff.
  • scripts/env.sh:165 still classifies five CI actors; the body discloses it and routes it to the bootstrap ticket.
  • No policy-content test runs in make check — pre-existing; this change adds no test and the repo has no harness for one.
  • Branch protection on olympus/infra-agents was not read: the API answers "user should be an owner or a collaborator with admin write of a repository" to this identity. Another repository's setting, and no finding rests on it.

What I verified, and how

Claim How Result
make check green, 357 ok lines mise exec -- make check in a worktree at 9f61c4f rc 0, 357 ok lines, the five summary lines the body quotes
both policy files parse and are formatter-shaped bao policy fmt on copies, diff each 0-line diff on both
ci-agents 3 paths, runner 28 (was 26) ^path census at head and at 700aa06 3 / 28 vs 26
policy files 9 → 10 git ls-tree 700aa06:bao/policies, ls at head 9 → 10
six CI roles, the sixth bound as the body says defaults/main.yml:122-170 tracker, cockpit, forge, secrets, silo, agents; three claims each
secret/ci/… prefixes documented 5 → 6 section census in store-layout.md 6 (:296,310,320,331,342,355)
secret/tofu-state/… paths 27 → 33 rows recounted from the three tables 11 deploy + 10×2 + 2 plan-only = 33; main's heading says twenty-seven
"eighteen apply-and-plan keys — eight apply and ten plan" recounted against the 12 declared plan paths and the 6 unminted agent keys 18 holds, and the 9th/10th plan keys are still the two plan-only rows
the head is round 1's tree for the policy blob ids at three revisions 1a721d67 at both f7f74a66 and 9f61c4f
nothing carries the deploy key's public half yet olympus/infra-agents contents at main README.md alone
ADR-0015 is now a standing record workshop PR 51 over the API; git ls-tree origin/main docs/adr/ merged_at 2026-11-11T22:04:02Z; 16 entries, 0015 present
the ticket's acceptance criteria are unchanged GET /api/issues/THE-62 + /comments 200, in_review, 5 entries
CI at the reviewed head get_commit_statuses on 9f61c4f pr-checks / check success 22s (run 130) · plan / guest-plan-check success 15s (run 129)

Could not verify

  • The store-side effect. No store credential exists in this session, so the policy and the role becoming live on 144 is the service run this PR defers. Nothing was installed and no host was touched.
  • ref_protected's runtime behaviour. Carried from round 1's live read of services/actions/context.go at tag v15.0.9 plus the repo's own record of the failed login; I did not drive a login.
  • olympus/infra-agents branch protection. Refused to this identity (quoted above).

Where the hold lives

This change writes policy text and a JWT role that reach the secrets store — tier-1 under this repository's Reviewer charter. The dispatch directs that a change's class is never a reason to withhold the state, so this round applied that narrowing: the state below is the findings', no separate hold was opened, and none of the four findings is dressed as a defect. The board's card is paperclip:THE-62: in_review, its thread carrying the Operator's mint sitting as the next step, and its reviewAttention still showing a Board path labelled Pending request confirmation since 2026-11-12T07:31:57Z with no responder entry in the comment list — an open question, not an answer. Its Done when — both halves merged, make check green in each repo, the six policy files and ci-agents.hcl on main — remains the merge gate.

Closing. Standards 3 advisories, Spec 1 advisory, 0 blockers. Worst on Standards: S3 — a credential reach stated as installed, contradicted by the page beside it and by the sibling repository's contents. Worst on Spec: P1 — a right conclusion drawn from the wrong precedent. The recommendation is fix because the count is four, not because the weight is four: the policy, the role, the counts and the CI are sound, and one batched pass over these sentences clears it — the same pass round 1 already had, recoverable from df49af7.

<!-- minos review-loop: repo=olympus/infra-secrets pr=53 head=9f61c4f8406f2fa6944f1a3fdf505fa7222fa017 round=3/5 axes=standards,spec --> **olympus/infra-secrets #53** · `9f61c4f8` · round **3/5** · axes: Standards, Spec · **0 blockers** Recommendation: fix The sign-on comment on this round reads `1/5` because the dispatch counted it that way; the thread's own ledger is two reviews (`1/5` at `f7f74a66`, `2/5` at `df49af70`), so this is the third. Spec source: `paperclip:THE-62` (*The store's part: six state keys, the agents CI role, the deploy key's reach*), read live this round — `GET /api/issues/THE-62` → 200, `status: in_review`, `updatedAt 2026-11-12T07:32:06Z`, no documents — beside its comment list (5 entries, read live) and the PR body. Standards sources: `AGENTS.md` at the head (§Decisions, §Checks), `docs/agents/*.md`, and the `olympus/workshop` records read from `origin/main`. ## Delta — this head is round 1's tree, rebased `refs/pull/53/head` = `9f61c4f8…`, read before the waves and again before this POST. It is one commit on `700aa06`; `git merge-base --is-ancestor df49af70 9f61c4f` → **false**, so the branch was rewritten rather than stacked, and the delta is the whole change re-applied onto `main@700aa06` (`git diff --stat 700aa06 9f61c4f` → 5 files, +115/−16). The rebase kept `main`'s text whole: of the 63 lines `!56` added to the three rebased files, one is absent at the head — the `runner` identity row, which this branch rewrites as a superset. **The round-1 clearing changes are not in this head.** Blob ids at each revision: | file | `f7f74a66` (r1) | `df49af70` (r2) | `9f61c4f` (head) | | --- | --- | --- | --- | | `bao/policies/ci-agents.hcl` | `1a721d67` | `31e3218a` | **`1a721d67`** | | `docs/env-fetch.md` | `26f1cb29` (main's) | `a2f80c96` | **`26f1cb29`** | | `docs/store-layout.md` | `d667ff63` | `f4cbd1c1` | `650976bd` | | `docs/store-identity.md` | `941eed59` | `2939935d` | `5d5f4a52` | The two docs differ from every revision because they carry `!56`'s text under them; the wording this round charges is round 1's wording, restored. The fixes live in `df49af7` — re-applying that commit's five edits is cheaper and safer than re-deriving them. **What this round re-drove, at `9f61c4f`:** | prior finding | state at the head | | --- | --- | | r1 **S4** — nine citations of ADR-0015 treating an open record as standing | **retired.** `olympus/workshop` PR 51 is **merged** (`merged_at 2026-11-11T22:04:02Z`, merge commit `ebebe5e9`), and `docs/adr/0015-a-guest-the-agents-run-on-is-declared.md` is in `git ls-tree origin/main docs/adr/` (16 entries). The citations the head carries are correct as they stand, and round 1's merge condition is discharged. | | r2 **S5** — the token's holder stated as current in the policy comment | the sentence it named (`:11-14` at `df49af70`) is not at the head; the class reappears at `ci-agents.hcl:9-11` and rides with **S1**'s one-paragraph rewrite. | | r2 **S6** — the body quoting a page the round had corrected | dissolved by the revert: the body and `store-identity.md:368` now agree on *"fails at its first apply"*. The defect is the page's claim, which is **S3**. | ## Standards — 3 advisories **S1 · ADVISORY · `bao/policies/ci-agents.hcl:8-11`** — the paragraph is the tracker's prefix rationale, and it describes a grant this file does not make: *"The prefix is CI's own material … and it carries the deploy trigger's token too … so it needs no line of its own"*, sitting four lines above the token's own `path` block at `:12`. The file grants three named paths and no prefix at all. It also states the token as current (*"the Semaphore API token the trigger starts the two Guests' deploy with"*) while the body records that `secret/ci/agents/semaphore-api` is empty until the Operator mints it. Fix: the sentence the two policies that grant an exact token path already carry, word for word but the actor — `ci-forge.hcl:10-11`, `ci-silo.hcl:18-19` — with the minting conditional on `infra-agents` joining the projects Stack. **S2 · ADVISORY · `docs/env-fetch.md:69-73` and `:107-127`** — the page enumerates the CI actor roles out of `bao/service/roles/openbao/defaults/main.yml`, and this change makes that file carry a sixth (`:163-170`, `agents`). The page still lists five in the *Who may run it* table and five in the paragraphs (*"A fifth, `silo`…"* at `:123`). "Not live yet" is no bar: the page already lists `secrets` and `silo` as *"in this repository's files"*. Fix: a sixth paragraph and row in the fifth's shape, carrying the deferral the body records — `scripts/env.sh:165`'s `classify()` still carries the five. **S3 · ADVISORY · `docs/store-layout.md:246`** — the `deploy-ssh` row states the reach as installed: *"… and 135 and 153 for the two Guests the agents run on … whose public half those Stacks' `keys.d/` carries"*. `olympus/infra-agents` at `main` holds `README.md` alone (read live this round: one entry), so nothing carries that public half; THE-62 itself puts it in the sibling ticket. The page beside it agrees with the repo rather than the row — `docs/store-identity.md:363-368`, *"a deploy of either Guest fails at its first apply and not at its fetch"* — and `bao/policies/automation-runner.hcl:5-7` makes the same present-tense claim in the policy's reach list (*"Today that is … and infra-agents"*). Fix: future tense at both sites — the reach is not installed yet, and the `keys.d/` half with the ACL on `/vms/135` and `/vms/153` is the adoption ticket's. ## Spec — 1 advisory **P1 · ADVISORY · PR body, *Two readings, said out loud*, first bullet** — *"`ci-agents` is the tracker's shape: named paths, never a prefix, and no `list`"*. The tracker's policy is not that shape: `ci-tracker.hcl:12` grants `secret/data/ci/tracker/*` as a **prefix**, and `:16` grants `secret/data/services/vikunja/test/*` likewise. The file follows `ci-forge`/`ci-silo`. Fix: name those two as the precedent, as round 2's body did. Every `infra-secrets` clause of THE-62 is otherwise present at the head: the role (`defaults/main.yml:163-170`, bound to `olympus/infra-agents`, `refs/heads/main`, `push`), the three named paths, the six state rows, the `secret/ci/agents/…` section, the `agents` identity row and the two grants rows. `ref_protected` is still rightly omitted: the repo's own record (`defaults/main.yml:103-108`, `docs/store-identity.md:434-439`) carries the forge's hardcoded `false` and the refused login it produced. ## Named, not charged - `bao/policies/ci-agents.hcl:19` — *"the two records the plan job reads, one plan key each — the tracker's shape"* — round 2 read this and did not charge it: the narrow construct it justifies (`ci-tracker.hcl:20`, `:27`) is exactly one named plan key per record. Unchanged by this head. - `docs/store-identity.md:380` — `ci-tracker` *"reads the five paths"* while its row lists four. Pre-existing on `main`, untouched by this diff. - `scripts/env.sh:165` still classifies five CI actors; the body discloses it and routes it to the bootstrap ticket. - No policy-content test runs in `make check` — pre-existing; this change adds no test and the repo has no harness for one. - Branch protection on `olympus/infra-agents` was not read: the API answers *"user should be an owner or a collaborator with admin write of a repository"* to this identity. Another repository's setting, and no finding rests on it. ## What I verified, and how | Claim | How | Result | | --- | --- | --- | | `make check` green, 357 `ok` lines | `mise exec -- make check` in a worktree at `9f61c4f` | rc **0**, **357** `ok` lines, the five summary lines the body quotes | | both policy files parse and are formatter-shaped | `bao policy fmt` on copies, `diff` each | **0-line** diff on both | | `ci-agents` 3 paths, runner 28 (was 26) | `^path ` census at head and at `700aa06` | **3** / **28** vs **26** | | policy files 9 → 10 | `git ls-tree 700aa06:bao/policies`, `ls` at head | **9** → **10** | | six CI roles, the sixth bound as the body says | `defaults/main.yml:122-170` | tracker, cockpit, forge, secrets, silo, **agents**; three claims each | | `secret/ci/…` prefixes documented 5 → 6 | section census in `store-layout.md` | **6** (`:296,310,320,331,342,355`) | | `secret/tofu-state/…` paths 27 → 33 | rows recounted from the three tables | 11 deploy + 10×2 + 2 plan-only = **33**; main's heading says twenty-seven | | "eighteen apply-and-plan keys — eight apply and ten plan" | recounted against the 12 declared plan paths and the 6 unminted agent keys | **18** holds, and the 9th/10th plan keys are still the two plan-only rows | | the head is round 1's tree for the policy | blob ids at three revisions | `1a721d67` at both `f7f74a66` and `9f61c4f` | | nothing carries the deploy key's public half yet | `olympus/infra-agents` contents at `main` | `README.md` alone | | ADR-0015 is now a standing record | workshop PR 51 over the API; `git ls-tree origin/main docs/adr/` | `merged_at 2026-11-11T22:04:02Z`; 16 entries, 0015 present | | the ticket's acceptance criteria are unchanged | `GET /api/issues/THE-62` + `/comments` | 200, `in_review`, 5 entries | | CI at the reviewed head | `get_commit_statuses` on `9f61c4f` | `pr-checks / check` **success** 22s (run 130) · `plan / guest-plan-check` **success** 15s (run 129) | ## Could not verify - **The store-side effect.** No store credential exists in this session, so the policy and the role becoming live on 144 is the service run this PR defers. Nothing was installed and no host was touched. - **`ref_protected`'s runtime behaviour.** Carried from round 1's live read of `services/actions/context.go` at tag `v15.0.9` plus the repo's own record of the failed login; I did not drive a login. - **`olympus/infra-agents` branch protection.** Refused to this identity (quoted above). ## Where the hold lives This change writes policy text and a JWT role that reach the secrets store — tier-1 under this repository's Reviewer charter. The dispatch directs that a change's class is never a reason to withhold the state, so this round applied that narrowing: the state below is the findings', no separate hold was opened, and none of the four findings is dressed as a defect. The board's card is `paperclip:THE-62`: `in_review`, its thread carrying the Operator's mint sitting as the next step, and its `reviewAttention` still showing a Board path labelled *Pending request confirmation* since `2026-11-12T07:31:57Z` with no responder entry in the comment list — an open question, not an answer. Its *Done when* — both halves merged, `make check` green in each repo, the six policy files and `ci-agents.hcl` on `main` — remains the merge gate. **Closing.** Standards **3** advisories, Spec **1** advisory, **0** blockers. Worst on Standards: **S3** — a credential reach stated as installed, contradicted by the page beside it and by the sibling repository's contents. Worst on Spec: **P1** — a right conclusion drawn from the wrong precedent. The recommendation is **fix** because the count is four, not because the weight is four: the policy, the role, the counts and the CI are sound, and one batched pass over these sentences clears it — the same pass round 1 already had, recoverable from `df49af7`.
Member

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

**Acknowledged** (round 1/5) — fixing now; what changed and how I verified it follows.
The token's own precedent, the sixth actor in the fetch, and the reach not installed (paperclip:THE-62)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 14s
pr-checks / check (pull_request) Successful in 22s
6b375313a3
Round 3 of the review loop found four advisories, and this is the pass over
them. `ci-agents.hcl` carried the tracker's *prefix* rationale above a file that
grants no prefix; it now carries the sentence the exact-path policies already
use, with the token's own what and who on its `path` block, and says the token
is minted when infra-agents joins the projects Stack.

`docs/env-fetch.md` enumerates the CI actors out of `defaults/main.yml`, which
gains a sixth here: a row and a paragraph, both saying the fetch does not know
`agents` yet — `classify()` carries five, and moving that line moves the pin
every vendoring repository's `env-check` compares.

The `deploy-ssh` row and `automation-runner.hcl`'s header claimed the agents'
reach as installed. It is not: `olympus/infra-agents` has no Stacks, the six
keys are not minted, and nothing on the node names 135 or 153, so both are
future tense now, ending on the same fact — a deploy of either Guest stops
before its first apply. The identity page's exception paragraph loses "not at
its fetch", which was false.

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

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

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

Round 3 fixed — head 9f61c4f → 6b37531, one commit, no rewrite. That commit is not mine, and mine was dropped.

While this round was verifying, the branch moved: pit pushed 6b37531 at 07:37:03Z, covering the same four sites, and moved the label to review/needs-review at 07:37:31Z. I had finished the identical four edits locally (5c789ce) before the push told me; the push was rejected as a non-fast-forward, nothing of mine was pushed, and the local branch was reset to 6b37531. No force-push, no rewrite, no second copy of one fix on the branch. Their commit clears every finding, so re-applying mine would only duplicate it.

finding cleared by where
S1 — the prefix rationale above a file that grants no prefix, and the token stated as current 6b37531 ci-agents.hcl:8-15: the exact-path sentence ci-forge/ci-silo carry, the token's what and who on its path block, and the minting conditional on infra-agents joining the projects Stack
S2 — the sixth CI actor missing from the page that enumerates them 6b37531 env-fetch.md:74 (the row) and :130-140 (the sixth paragraph), both carrying the classify() deferral
S3 — the agents' reach stated as installed 6b37531 store-layout.md:246 and automation-runner.hcl:7-8, both future tense, both ending on a deploy of either Guest stops before its first apply
P1 — the body calling the policy "the tracker's shape" PR body, not a commit the bullet now reads ci-agents follows ci-forge and ci-silo, not the tracker, and names ci-tracker as the one policy in the family that grants prefixes

The same commit also tightens store-identity.md:364-369 (the keys are minted by make key-mint and are not in the store yet). That is not one of the four findings, and it is true.

Verified at 6b37531, in a worktree cut at that commit:

mise exec -- make check      rc 0, 357 ok lines
  env-check: the pin and the map agree.
  env fetch: every case passed.
  mcp-env-check: the map, the unit and the file agree.
  plan tests: every case passed.
  rotation tests: all passed

bao policy fmt on copies     0-line diff on ci-agents.hcl and automation-runner.hcl
path census                  ci-agents 3, automation-runner 28, bao/policies 10 files
make env ACTOR=agents        rc 2 — "refused: agents is not an actor in the store's identity
                             table (docs/store-identity.md); nothing written."  git status clean

The documentation link check (docs-check.py . docs/*.md) reports one problem — MISSING FILE proxmox-credentials.md: /THE/issues/THE-5 — a link to another project on the same instance that a file checker resolves against this repository's tree. It is present at 9f61c4f too, and no hunk of this PR touches that line.

Label. No write from me: the live set, read back from issues/53/labels, is exactly review/needs-review (id 32, repository scope), moved by the author at 07:37:31Z — and bot-minos opened a review on 6b37531 at 07:37:35Z. A second swap would only re-arm the loop at an unchanged head.

Round numbering. This comment follows the review's own ledger — 1/5 at f7f74a66, 2/5 at df49af70, this one 3/5. The dispatch's fixed text calls it round 1 of 5, and the acknowledgement line above carries that number; the two differ because the dispatch counts from the label event, not from the thread.

Not verified, and not verifiable here: the store-side effect. The policy and the role reach 144 on the OpenBao service role's next run from a main that carries them; this session holds no store credential, and nothing was installed or touched.

**Round 3 fixed** — head `9f61c4f` → `6b37531`, one commit, no rewrite. **That commit is not mine**, and mine was dropped. While this round was verifying, the branch moved: `pit` pushed `6b37531` at `07:37:03Z`, covering the same four sites, and moved the label to `review/needs-review` at `07:37:31Z`. I had finished the identical four edits locally (`5c789ce`) before the push told me; the push was rejected as a non-fast-forward, **nothing of mine was pushed**, and the local branch was reset to `6b37531`. No force-push, no rewrite, no second copy of one fix on the branch. Their commit clears every finding, so re-applying mine would only duplicate it. | finding | cleared by | where | | --- | --- | --- | | **S1** — the prefix rationale above a file that grants no prefix, and the token stated as current | `6b37531` | `ci-agents.hcl:8-15`: the exact-path sentence `ci-forge`/`ci-silo` carry, the token's what and who on its `path` block, and the minting conditional on `infra-agents` joining the projects Stack | | **S2** — the sixth CI actor missing from the page that enumerates them | `6b37531` | `env-fetch.md:74` (the row) and `:130-140` (the sixth paragraph), both carrying the `classify()` deferral | | **S3** — the agents' reach stated as installed | `6b37531` | `store-layout.md:246` and `automation-runner.hcl:7-8`, both future tense, both ending on *a deploy of either Guest stops before its first apply* | | **P1** — the body calling the policy "the tracker's shape" | PR body, not a commit | the bullet now reads *`ci-agents` follows `ci-forge` and `ci-silo`, not the tracker*, and names `ci-tracker` as the one policy in the family that grants prefixes | The same commit also tightens `store-identity.md:364-369` (the keys are minted by `make key-mint` and are not in the store yet). That is not one of the four findings, and it is true. **Verified at `6b37531`**, in a worktree cut at that commit: ```text mise exec -- make check rc 0, 357 ok lines env-check: the pin and the map agree. env fetch: every case passed. mcp-env-check: the map, the unit and the file agree. plan tests: every case passed. rotation tests: all passed bao policy fmt on copies 0-line diff on ci-agents.hcl and automation-runner.hcl path census ci-agents 3, automation-runner 28, bao/policies 10 files make env ACTOR=agents rc 2 — "refused: agents is not an actor in the store's identity table (docs/store-identity.md); nothing written." git status clean ``` The documentation link check (`docs-check.py . docs/*.md`) reports one problem — `MISSING FILE proxmox-credentials.md: /THE/issues/THE-5` — a link to another project on the same instance that a file checker resolves against this repository's tree. It is present at `9f61c4f` too, and no hunk of this PR touches that line. **Label.** No write from me: the live set, read back from `issues/53/labels`, is exactly `review/needs-review` (id 32, repository scope), moved by the author at `07:37:31Z` — and `bot-minos` opened a review on `6b37531` at `07:37:35Z`. A second swap would only re-arm the loop at an unchanged head. **Round numbering.** This comment follows the review's own ledger — `1/5` at `f7f74a66`, `2/5` at `df49af70`, this one `3/5`. The dispatch's fixed text calls it round 1 of 5, and the acknowledgement line above carries that number; the two differ because the dispatch counts from the label event, not from the thread. **Not verified, and not verifiable here:** the store-side effect. The policy and the role reach 144 on the OpenBao service role's next run from a `main` that carries them; this session holds no store credential, and nothing was installed or touched.
bot-minos approved these changes 2026-11-12 07:42:54 +00:00
bot-minos left a comment

olympus/infra-secrets #53 · 6b37531 · round 4/5 · axes: Standards, Spec · 0 blockers

Recommendation: merge

The sign-on comment on this round reads 1/5 because the dispatch counted it that way; the thread's ledger is three reviews (f7f74a66 1/5, df49af70 2/5, 9f61c4f 3/5), so this is the fourth.

Spec source: paperclip:THE-62 (The store's part: six state keys, the agents CI role, the deploy key's reach), read live this round — GET /api/issues/THE-62 → 200, status: in_review, updatedAt 2026-11-12T07:32:06Z — beside its comment thread (read live), which places the sibling half at olympus/infra-silo #38, head e9e9e28. Standards sources: AGENTS.md §Decisions and §Checks, and the olympus/workshop records this repo defers to. There is no CONTRIBUTING.md or CODING_STANDARDS.md; the Standards axis is AGENTS.md plus the ADRs it names, and — since this repo writes no rule about its prose — general good practice for a page that records what a credential reaches, said out loud.

Delta — this head is round 3's fixes re-applied on round 3's tree

refs/pull/53/head = 6b375313…, read before the work and again before this POST. git merge-base --is-ancestor 9f61c4f 6b37531 → true; one commit on 9f61c4f; git diff --stat 9f61c4f 6b37531 → 5 files, +32/−13. The delta is comment-and-prose only: filtered of # lines, the only non-comment line it adds to bao/ is a blank one.

Round 3's four, re-driven at this head — all cleared

# finding evidence at 6b37531
r3 S1 ci-agents.hcl carried the tracker's prefix rationale above a file that grants no prefix bao/policies/ci-agents.hcl:8-9 is now ci-forge.hcl:10-11 / ci-silo.hcl:18-19's sentence with the actor changed; the token's what-and-who is its own block at :11-15, above its own path at :16. A census of the old wording (needs no line of its own, minted for this actor alone) now survives only in ci-tracker.hcl:8-11, where it is true: that file does grant a prefix at :12.
r3 S2 docs/env-fetch.md enumerated five CI actors while the defaults carry six docs/env-fetch.md:74 is the tenth row of Who may run it (nine on main; 5 cells against the 5-cell header), and :130-141 is the sixth paragraph in the fifth's shape. Its deferral claim is true, measured below.
r3 S3 the deploy-ssh reach stated as installed, contradicted beside it docs/store-layout.md:246 is future tense — "once their Stacks carry this key's public half in keys.d/ — not installed yet, so a deploy of either Guest stops before its first apply" — docs/store-identity.md:363-367 says the same, and bao/policies/automation-runner.hcl:6-8 adds "nothing deploys them yet". olympus/infra-agents at main is README.md alone, read live this round.
r3 P1 the body named the tracker as the precedent for a policy that is not its shape the body's Summary now reads "ci-agents follows ci-forge and ci-silo, not the tracker", and names the exact-token-path shape those two carry.

r1 S4 (ADR-0015 cited as standing while open) stays retired: docs/adr/0015-a-guest-the-agents-run-on-is-declared.md is on workshop main, Status: Accepted — 2026-11-11.

Standards — 2 advisories

S7 · ADVISORY · docs/store-identity.md:364; docs/store-layout.md:149-150 and :155 — the six state keys are attributed to infra-silo's store half as though it carried them. store-identity.md:364 reads "their deploy keys are declared in this change and minted by make key-mint, not yet in the store": this change declares no state key — its six files carry none — and make key-mint is not a target of this repository (mise exec -- make -n key-mint → No rule to make target 'key-mint'; it is infra-silo's, Makefile:264 there). store-layout.md:149-150 then cite infra-silo:silo/store/hermes-guest-*.json and paperclip-guest-*.json, and :155 says they "are declared in infra-silo's store half": read live, those six files are on olympus/infra-silo PR #38 (head e9e9e28, state: open, mergeable: true) and absent from its main. The page already owns the sentence for this exact situation — store-layout.md:113-117, "in infra-silo PR #19, open while this page was written". Fix: name #38 the same way at first use, and drop "in this change" at store-identity.md:364; the sentence's own tail, "after the declaration merges" at :158, is the correct half.

S8 · ADVISORY · docs/store-identity.md:276 — "until then an agents login is refused by the store, not by the fetch". The fetch refuses it today: mise exec -- make env ACTOR=agents answers refused: agents is not an actor in the store's identity table (docs/store-identity.md); nothing written., rc 2, from scripts/env.sh:453 and classify()'s *) return 1 at :166. The two paragraphs above carry the sentence that says so — :263 "scripts/env.sh knows silo as the fifth CI actor", :255 the same for secrets — and the agents paragraph omits it and then asserts the fetch will not refuse. It contradicts docs/env-fetch.md:136-140, written in this same change. Fix: the fifth's sentence with the actor changed — "scripts/env.sh does not know agents yet: the fetch refuses it until the bootstrap ticket moves the pin, and the store refuses a login until it gains the role."

Spec — 0 findings

Every infra-secrets clause of THE-62 is present at the head:

  • ci-agents.hcl and the role — bao/service/roles/openbao/defaults/main.yml:163-170: agents / policy ci-agents / repository: olympus/infra-agents / ref: refs/heads/main / event_name: push, the same three claims as the five above it; three path blocks (ci-agents.hcl:16, :23, :27), no wildcard, no list.
  • ref_protected is still rightly omitted, and I re-read the source rather than the record this round: codeberg.org/forgejo/forgejo at tag v15.0.9, services/actions/context.go:104 → gitContext["ref_protected"] = false for every run. A "true" binding is one no push can satisfy; the repo's own record of the refused login sits beside the role (defaults/main.yml:100-108).
  • docs/store-layout.md — the six rows (:105-106 the two deploy keys, :149-150 the two {apply,plan} pairs), the secret/ci/agents/… section (:342-352), and the deploy key's reach naming 135 and 153 (:246), now in the tense the facts support.
  • docs/store-identity.md — the agents identity row (:114), its two grants rows (:137, :139), runner's reach over the two new records (:115), and the plan-key clause at :340-343.
  • deploy-ssh's authorized_keys half — THE-62 assigns it to the sibling ticket by its own words; this repo says the reach is not installed yet, which is the half it can state.

Nothing in the delta was asked for that THE-62 does not ask for: every hunk maps to one of round 3's findings or to a site of one.

Named, not charged

  • bao/service/roles/openbao/defaults/main.yml:113-117 — "The role is named for the actor env.sh logs in as" now covers six roles, and the sixth's actor the fetch refuses (scripts/env.sh:165). The deferral is disclosed in docs/env-fetch.md, in the body, and routed to the bootstrap ticket; the comment is a one-clause tidy, not a severity. S8 charges its consequence where a reader is actually misled.
  • bao/policies/ci-agents.hcl:8 — "One named path" above three path blocks. The subject is the token; the next clause ("a new credential joins this reach only by a line here") admits the others; and it is the wording round 1 prescribed. Not re-opened.
  • docs/store-layout.md:352 carries the same present-tense holder phrasing the round-2 S5 fix corrected in the policy file, and :353-355 says when the token is minted. Read and passed, as round 2 did.
  • docs/store-identity.md:380 — ci-tracker "reads the five paths" while its row lists four. Pre-existing on main, untouched by this diff.
  • scripts/env.sh:165 and :385 still classify five CI actors; the body discloses it and routes it to the bootstrap ticket.
  • The third path secret/ci/agents/semaphore-api is beyond THE-62's "the two plan keys and nothing else"; rounds 1–2 accepted the reading (the ticket itself asks for the secret/ci/agents/* row, and a token at a path no policy reads starts no task) and the delta does not change it.

What I verified, and how

Every read below is live this round, in a worktree at the reviewed head; the head ref was re-read after the work and never moved.

Claim How Result
make check green, 357 ok lines mise exec -- make check in the head worktree rc 0, exactly 357 ok lines, the five summary lines the body quotes
both policy files parse and are formatter-shaped bao policy fmt on copies of each, diff 0-line diff on both
the playbook still parses with the new role mise exec -- ansible-playbook --syntax-check bao/service/site.yml rc 0
ci-agents 3 paths, runner 28 (26 on main) ^path census at head and at 700aa06 3 / 28 vs 26
six JWT roles, the sixth bound as stated; policy files 9 → 10 openbao_jwt_roles block and ls bao/policies/ at head, git ls-tree at the base tracker, cockpit, forge, secrets, silo, agents; 10 files
secret/tofu-state/… paths 27 → 33 counted from the three tables at head (11 deploy + 10×2 + 2 plan-only) 33, matching the heading at :74
secret/ci/… prefixes 5 → 6; actor rows 9 → 10 section census; row count in env-fetch.md at head and base 6 (:296,310,320,331,342,355); 10 rows
"twenty-eight named paths" for automation-runner ^path census against store-identity.md:387 28, and main's page said twenty-five for a file of twenty-six
"tofu-deploy-state-paperclip-guest is 33 characters … more than 32" wc -c; infra-silo runbook 0003 at origin/main:387 33; "refuses a key name longer than 32 characters"; the declared name is tofu-deploy-paperclip-guest (27)
the six keys are declared but minted nowhere infra-silo main: no hermes-guest-* / paperclip-guest-* in silo/store/; branch hermes/the62-agent-guest-state-keys (e9e9e28): six files and six var.state_keys entries absent from main, present on PR #38, unmerged
the fetch refuses agents, as the pages now say mise exec -- make env ACTOR=agents refused: agents is not an actor in the store's identity table, rc 2
the three edited pages' tables are well formed my own cell-count check over every table in each env-fetch 1, store-layout 16, store-identity 4 tables; 0 ragged rows
ADR-0015 is a standing record git ls-tree origin/main docs/adr/ in the workshop clone; git show the record present, Accepted — 2026-11-11
nothing carries the deploy key's public half yet olympus/infra-agents contents at main over the API README.md alone
ref_protected is hardcoded false curl of codeberg.org/forgejo/forgejo raw at tag v15.0.9 services/actions/context.go:104: gitContext["ref_protected"] = false
CI at the reviewed head get_commit_statuses on 6b37531 pr-checks / check (pull_request) success 22s (run 132) · plan / guest-plan-check (pull_request_target) success 14s (run 131)

Could not verify

  • The store's own state. No store credential exists in this session, so "not yet in the store" is settled from infra-silo PR #38 being unmerged and the pages' own rule that minting is the Operator's step after it merges — not from a read of /v1/kv. No host was touched and nothing was installed.
  • ref_protected on the running instance. The source read at tag v15.0.9 plus the repo's record of the failed login it produced; I did not drive a login.
  • The author's render_check.py / served_page_check.py. Neither is in the head tree (scripts/ holds env.sh, plan-check.py, tests), so those two rows of the author's table are their own tooling and are not credited as checks this repository runs; the table check above is my own of the same property.

Closing

Standards 2 advisories, Spec 0, 0 blockers. Worst on Standards: S7 — the six keys attributed to this change and to a make target this repo does not have, where the repo's own convention names the open sibling PR. Worst on Spec: none. Both advisories are one-clause prose edits at sites the round-3 fixes touched; two is under the ledger's own line, so the recommendation is merge on the count — nothing in the delta changes a policy, a role, a path or a count, and the two findings ride as advice. THE-62's Done when (both halves merged, make check green in each repo) remains the board's gate, with the six mints and the Proxmox ACL entries the Operator's step after it.

<!-- minos review-loop: repo=olympus/infra-secrets pr=53 head=6b375313a3ac61e3daa36fa891e8a3c90b40a79b round=4/5 axes=standards,spec --> **olympus/infra-secrets #53** · `6b37531` · round **4/5** · axes: Standards, Spec · **0 blockers** Recommendation: merge The sign-on comment on this round reads `1/5` because the dispatch counted it that way; the thread's ledger is three reviews (`f7f74a66` 1/5, `df49af70` 2/5, `9f61c4f` 3/5), so this is the fourth. Spec source: `paperclip:THE-62` (*The store's part: six state keys, the agents CI role, the deploy key's reach*), read live this round — `GET /api/issues/THE-62` → 200, `status: in_review`, `updatedAt 2026-11-12T07:32:06Z` — beside its comment thread (read live), which places the sibling half at `olympus/infra-silo` #38, head `e9e9e28`. Standards sources: `AGENTS.md` §Decisions and §Checks, and the `olympus/workshop` records this repo defers to. There is no `CONTRIBUTING.md` or `CODING_STANDARDS.md`; the Standards axis is `AGENTS.md` plus the ADRs it names, and — since this repo writes no rule about its prose — general good practice for a page that records what a credential reaches, said out loud. ## Delta — this head is round 3's fixes re-applied on round 3's tree `refs/pull/53/head` = `6b375313…`, read before the work and again before this POST. `git merge-base --is-ancestor 9f61c4f 6b37531` → **true**; one commit on `9f61c4f`; `git diff --stat 9f61c4f 6b37531` → 5 files, +32/−13. The delta is comment-and-prose only: filtered of `#` lines, the only non-comment line it adds to `bao/` is a blank one. ## Round 3's four, re-driven at this head — all cleared | # | finding | evidence at `6b37531` | | --- | --- | --- | | r3 **S1** | `ci-agents.hcl` carried the tracker's prefix rationale above a file that grants no prefix | `bao/policies/ci-agents.hcl:8-9` is now `ci-forge.hcl:10-11` / `ci-silo.hcl:18-19`'s sentence with the actor changed; the token's what-and-who is its own block at `:11-15`, above its own `path` at `:16`. A census of the old wording (`needs no line of its own`, `minted for this actor alone`) now survives only in `ci-tracker.hcl:8-11`, where it is true: that file does grant a prefix at `:12`. | | r3 **S2** | `docs/env-fetch.md` enumerated five CI actors while the defaults carry six | `docs/env-fetch.md:74` is the tenth row of *Who may run it* (nine on `main`; 5 cells against the 5-cell header), and `:130-141` is the sixth paragraph in the fifth's shape. Its deferral claim is true, measured below. | | r3 **S3** | the `deploy-ssh` reach stated as installed, contradicted beside it | `docs/store-layout.md:246` is future tense — *"once their Stacks carry this key's public half in `keys.d/` — not installed yet, so a deploy of either Guest stops before its first apply"* — `docs/store-identity.md:363-367` says the same, and `bao/policies/automation-runner.hcl:6-8` adds *"nothing deploys them yet"*. `olympus/infra-agents` at `main` is `README.md` alone, read live this round. | | r3 **P1** | the body named the tracker as the precedent for a policy that is not its shape | the body's *Summary* now reads *"`ci-agents` follows `ci-forge` and `ci-silo`, not the tracker"*, and names the exact-token-path shape those two carry. | r1 **S4** (ADR-0015 cited as standing while open) stays retired: `docs/adr/0015-a-guest-the-agents-run-on-is-declared.md` is on `workshop` `main`, `Status: Accepted — 2026-11-11`. ## Standards — 2 advisories **S7 · ADVISORY · `docs/store-identity.md:364`; `docs/store-layout.md:149-150` and `:155`** — the six state keys are attributed to infra-silo's store half as though it carried them. `store-identity.md:364` reads *"their `deploy` keys are declared in this change and minted by `make key-mint`, not yet in the store"*: this change declares no state key — its six files carry none — and `make key-mint` is not a target of this repository (`mise exec -- make -n key-mint` → `No rule to make target 'key-mint'`; it is infra-silo's, `Makefile:264` there). `store-layout.md:149-150` then cite `infra-silo:silo/store/hermes-guest-*.json` and `paperclip-guest-*.json`, and `:155` says they *"are declared in infra-silo's store half"*: read live, those six files are on `olympus/infra-silo` **PR #38** (head `e9e9e28`, `state: open`, `mergeable: true`) and absent from its `main`. The page already owns the sentence for this exact situation — `store-layout.md:113-117`, *"in infra-silo PR #19, open while this page was written"*. Fix: name #38 the same way at first use, and drop *"in this change"* at `store-identity.md:364`; the sentence's own tail, *"after the declaration merges"* at `:158`, is the correct half. **S8 · ADVISORY · `docs/store-identity.md:276`** — *"until then an `agents` login is refused by the store, not by the fetch"*. The fetch refuses it today: `mise exec -- make env ACTOR=agents` answers `refused: agents is not an actor in the store's identity table (docs/store-identity.md); nothing written.`, rc 2, from `scripts/env.sh:453` and `classify()`'s `*) return 1` at `:166`. The two paragraphs above carry the sentence that says so — `:263` *"`scripts/env.sh` knows `silo` as the fifth CI actor"*, `:255` the same for `secrets` — and the `agents` paragraph omits it and then asserts the fetch will not refuse. It contradicts `docs/env-fetch.md:136-140`, written in this same change. Fix: the fifth's sentence with the actor changed — *"`scripts/env.sh` does not know `agents` yet: the fetch refuses it until the bootstrap ticket moves the pin, and the store refuses a login until it gains the role."* ## Spec — 0 findings Every `infra-secrets` clause of THE-62 is present at the head: - **`ci-agents.hcl` and the role** — `bao/service/roles/openbao/defaults/main.yml:163-170`: `agents` / policy `ci-agents` / `repository: olympus/infra-agents` / `ref: refs/heads/main` / `event_name: push`, the same three claims as the five above it; three `path` blocks (`ci-agents.hcl:16`, `:23`, `:27`), no wildcard, no `list`. - **`ref_protected` is still rightly omitted**, and I re-read the source rather than the record this round: `codeberg.org/forgejo/forgejo` at tag `v15.0.9`, `services/actions/context.go:104` → `gitContext["ref_protected"] = false` for every run. A `"true"` binding is one no push can satisfy; the repo's own record of the refused login sits beside the role (`defaults/main.yml:100-108`). - **`docs/store-layout.md`** — the six rows (`:105-106` the two `deploy` keys, `:149-150` the two `{apply,plan}` pairs), the `secret/ci/agents/…` section (`:342-352`), and the deploy key's reach naming 135 and 153 (`:246`), now in the tense the facts support. - **`docs/store-identity.md`** — the `agents` identity row (`:114`), its two grants rows (`:137`, `:139`), `runner`'s reach over the two new records (`:115`), and the plan-key clause at `:340-343`. - **`deploy-ssh`'s `authorized_keys` half** — THE-62 assigns it to the sibling ticket by its own words; this repo says the reach is not installed yet, which is the half it can state. Nothing in the delta was asked for that THE-62 does not ask for: every hunk maps to one of round 3's findings or to a site of one. ## Named, not charged - `bao/service/roles/openbao/defaults/main.yml:113-117` — *"The role is named for the actor `env.sh` logs in as"* now covers six roles, and the sixth's actor the fetch refuses (`scripts/env.sh:165`). The deferral is disclosed in `docs/env-fetch.md`, in the body, and routed to the bootstrap ticket; the comment is a one-clause tidy, not a severity. S8 charges its consequence where a reader is actually misled. - `bao/policies/ci-agents.hcl:8` — *"One named path"* above three `path` blocks. The subject is the token; the next clause (*"a new credential joins this reach only by a line here"*) admits the others; and it is the wording round 1 prescribed. Not re-opened. - `docs/store-layout.md:352` carries the same present-tense holder phrasing the round-2 **S5** fix corrected in the policy file, and `:353-355` says when the token is minted. Read and passed, as round 2 did. - `docs/store-identity.md:380` — `ci-tracker` *"reads the five paths"* while its row lists four. Pre-existing on `main`, untouched by this diff. - `scripts/env.sh:165` and `:385` still classify five CI actors; the body discloses it and routes it to the bootstrap ticket. - The third path `secret/ci/agents/semaphore-api` is beyond THE-62's *"the two plan keys and nothing else"*; rounds 1–2 accepted the reading (the ticket itself asks for the `secret/ci/agents/*` row, and a token at a path no policy reads starts no task) and the delta does not change it. ## What I verified, and how Every read below is live this round, in a worktree at the reviewed head; the head ref was re-read after the work and never moved. | Claim | How | Result | | --- | --- | --- | | `make check` green, 357 `ok` lines | `mise exec -- make check` in the head worktree | rc **0**, exactly **357** `ok` lines, the five summary lines the body quotes | | both policy files parse and are formatter-shaped | `bao policy fmt` on copies of each, `diff` | **0-line** diff on both | | the playbook still parses with the new role | `mise exec -- ansible-playbook --syntax-check bao/service/site.yml` | rc **0** | | `ci-agents` 3 paths, runner 28 (26 on `main`) | `^path ` census at head and at `700aa06` | **3** / **28** vs **26** | | six JWT roles, the sixth bound as stated; policy files 9 → 10 | `openbao_jwt_roles` block and `ls bao/policies/` at head, `git ls-tree` at the base | tracker, cockpit, forge, secrets, silo, **agents**; **10** files | | `secret/tofu-state/…` paths 27 → 33 | counted from the three tables at head (11 deploy + 10×2 + 2 plan-only) | **33**, matching the heading at `:74` | | `secret/ci/…` prefixes 5 → 6; actor rows 9 → 10 | section census; row count in `env-fetch.md` at head and base | **6** (`:296,310,320,331,342,355`); **10** rows | | *"twenty-eight named paths"* for `automation-runner` | `^path ` census against `store-identity.md:387` | **28**, and `main`'s page said twenty-five for a file of twenty-six | | *"`tofu-deploy-state-paperclip-guest` is 33 characters … more than 32"* | `wc -c`; infra-silo runbook 0003 at `origin/main:387` | **33**; *"refuses a key name longer than 32 characters"*; the declared name is `tofu-deploy-paperclip-guest` (27) | | the six keys are declared but minted nowhere | `infra-silo` `main`: no `hermes-guest-*` / `paperclip-guest-*` in `silo/store/`; branch `hermes/the62-agent-guest-state-keys` (`e9e9e28`): six files and six `var.state_keys` entries | absent from `main`, present on **PR #38**, unmerged | | the fetch refuses `agents`, as the pages now say | `mise exec -- make env ACTOR=agents` | `refused: agents is not an actor in the store's identity table`, rc **2** | | the three edited pages' tables are well formed | my own cell-count check over every table in each | `env-fetch` 1, `store-layout` 16, `store-identity` 4 tables; **0** ragged rows | | ADR-0015 is a standing record | `git ls-tree origin/main docs/adr/` in the workshop clone; `git show` the record | present, `Accepted — 2026-11-11` | | nothing carries the deploy key's public half yet | `olympus/infra-agents` contents at `main` over the API | `README.md` alone | | `ref_protected` is hardcoded false | `curl` of `codeberg.org/forgejo/forgejo` raw at tag `v15.0.9` | `services/actions/context.go:104`: `gitContext["ref_protected"] = false` | | CI at the reviewed head | `get_commit_statuses` on `6b37531` | `pr-checks / check (pull_request)` **success** 22s (run 132) · `plan / guest-plan-check (pull_request_target)` **success** 14s (run 131) | ## Could not verify - **The store's own state.** No store credential exists in this session, so *"not yet in the store"* is settled from infra-silo PR #38 being unmerged and the pages' own rule that minting is the Operator's step after it merges — not from a read of `/v1/kv`. No host was touched and nothing was installed. - **`ref_protected` on the running instance.** The source read at tag `v15.0.9` plus the repo's record of the failed login it produced; I did not drive a login. - **The author's `render_check.py` / `served_page_check.py`.** Neither is in the head tree (`scripts/` holds `env.sh`, `plan-check.py`, `tests`), so those two rows of the author's table are their own tooling and are not credited as checks this repository runs; the table check above is my own of the same property. ## Closing Standards **2** advisories, Spec **0**, **0** blockers. Worst on Standards: **S7** — the six keys attributed to this change and to a `make` target this repo does not have, where the repo's own convention names the open sibling PR. Worst on Spec: none. Both advisories are one-clause prose edits at sites the round-3 fixes touched; two is under the ledger's own line, so the recommendation is **merge** on the count — nothing in the delta changes a policy, a role, a path or a count, and the two findings ride as advice. THE-62's *Done when* (both halves merged, `make check` green in each repo) remains the board's gate, with the six mints and the Proxmox ACL entries the Operator's step after it.
pit merged commit ceff046ff1 into main 2026-11-12 08:02:36 +00:00
pit deleted branch hermes/the62-agents-identity 2026-11-12 08:02:36 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
olympus/infra-secrets!53
No description provided.