The store knows infra-monitoring's CI login (THE-129) #70

Merged
pit merged 2 commits from wave2/monitoring-121 into main 2026-12-04 07:53:56 +00:00
Owner

Summary

The store gains infra-monitoring's CI login and the runner's read of its five records — the companion change to olympus/infra-monitoring's first Guest (THE-129).

 scripts/env.sh                         # classify(): + monitoring, pin 804e62b8…
 bao/policies/ci-monitoring.hcl         # + read secret/data/ci/monitoring/semaphore-api
 bao/service/roles/openbao/defaults/main.yml
                                        # + jwt role monitoring → olympus/infra-monitoring, refs/heads/main, push
 bao/policies/automation-runner.hcl     # + 5 × tofu-state/monitoring-*-guest/deploy
 docs/{store-layout,store-identity,env-fetch}.md

Nothing here writes a credential: the token path is the Operator's to mint when infra-monitoring joins the projects Stack, and the five records are the Operator's to create.

Evidence

  • Before: classify() refused monitoring; secret/tofu-state/monitoring-prometheus-guest/apply answers 404; no monitoring-* record exists under secret/tofu-state.
    After: make check green — the env pin and map, the fetch's tests, the plan judge's, the rotation reader's, the deploy's suites. The vendored pin is 804e62b8c4bd72888dfc603a1801be68ea3193d9b53e3051e72f755f8fb1eb72, and the same body is vendored in olympus/infra-monitoring at that pin.
  • env-check on the new repository reads scripts/env.sh matches infra-secrets@804e62b8… against this file's body.
  • The role and policy are declared in this repository's own files; the store applies them on this repository's next deploy (the service role renders openbao_jwt_roles and bao/policies/*.hcl), and nothing applies them by hand.

Merge Danger

Door: two-way — a policy and a role can be re-applied with a revert; nothing is destroyed and no credential is written by this change.

Blast Radius: low — one new CI actor and five read-only grants for the runner; no existing path changes. monitoring's token path stays empty until the Operator mints it, so the login refuses until the projects Stack has created the ci-monitoring user.

## Summary The store gains infra-monitoring's CI login and the runner's read of its five records — the companion change to `olympus/infra-monitoring`'s first Guest (THE-129). ```diff scripts/env.sh # classify(): + monitoring, pin 804e62b8… bao/policies/ci-monitoring.hcl # + read secret/data/ci/monitoring/semaphore-api bao/service/roles/openbao/defaults/main.yml # + jwt role monitoring → olympus/infra-monitoring, refs/heads/main, push bao/policies/automation-runner.hcl # + 5 × tofu-state/monitoring-*-guest/deploy docs/{store-layout,store-identity,env-fetch}.md ``` Nothing here writes a credential: the token path is the Operator's to mint when `infra-monitoring` joins the projects Stack, and the five records are the Operator's to create. ## Evidence - **Before:** `classify()` refused `monitoring`; `secret/tofu-state/monitoring-prometheus-guest/apply` answers `404`; no `monitoring-*` record exists under `secret/tofu-state`. **After:** `make check` green — the env pin and map, the fetch's tests, the plan judge's, the rotation reader's, the deploy's suites. The vendored pin is `804e62b8c4bd72888dfc603a1801be68ea3193d9b53e3051e72f755f8fb1eb72`, and the same body is vendored in `olympus/infra-monitoring` at that pin. - `env-check` on the new repository reads `scripts/env.sh matches infra-secrets@804e62b8…` against this file's body. - The role and policy are declared in this repository's own files; the store applies them on this repository's next deploy (the service role renders `openbao_jwt_roles` and `bao/policies/*.hcl`), and nothing applies them by hand. ## Merge Danger **Door:** two-way — a policy and a role can be re-applied with a revert; nothing is destroyed and no credential is written by this change. **Blast Radius:** low — one new CI actor and five read-only grants for the runner; no existing path changes. `monitoring`'s token path stays empty until the Operator mints it, so the login refuses until the projects Stack has created the `ci-monitoring` user.
The store knows infra-monitoring's CI login, and the runner reads its five records
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 20s
pr-checks / check (pull_request) Successful in 44s
60fa4b13f0
Adds the `monitoring` CI actor to env.sh, with its pin; a `ci-monitoring`
policy that reads one path, the Semaphore token; and the JWT role bound to
olympus/infra-monitoring, refs/heads/main and push. The runner's reach grows
by the five monitoring `deploy` keys (THE-129).

The store pages record the login, the path and the grants. Nothing here
writes a credential: the token path is the Operator's to mint, and the five
records are the Operator's to create.
Member

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

**Review started** (round 1/5) on 60fa4b13f080456cec596bfb368139f556d19603 — reading the diff now.
bot-minos requested changes 2026-12-03 18:16:33 +00:00
Dismissed
bot-minos left a comment

olympus/infra-secrets#70 · head 60fa4b13 · round 1/5 · standards: 3 advisories, 0 blockers · spec: 0 findings

Recommendation: fix

Zero blockers stand. Three counted advisories did it — the count, not the weight — so the state, the label and this line are all fix.

What the change is: the monitoring CI actor joins classify(); ci-monitoring grants one named path to the actor's Semaphore token; a JWT role binds olympus/infra-monitoring / refs/heads/main / push; the runner's policy gains five deploy grants for the monitoring records; four doc files carry the rows; the vendored pin moves to 804e62b8….

Standards

ADVISORY — docs/store-identity.md:535 and docs/store-identity.md:537: the page's two enumerations were not swept for the new actor.

Line 535 lists every CI actor whose credential the store's entity joins — tracker's, cockpit's, forge's, secrets', silo's, agents's, renovate's, renovate-dispatch's and media's — and monitoring is absent from it. Line 537 still reads "the only one of the twelve policy files"; this head's bao/policies/ holds thirteen .hcl files (ls bao/policies/*.hcl | wc -l → 13, against 12 at origin/main).

This is not a scope judgement: the change that added media — a2f8692 (THE-122), the same shape on the same page — moved exactly these two sentences (eleven → twelve, and agentss → … and media's), which is what makes them cells this page maintains. Clearing it is one edit: add monitoring's to the 535 list and twelve → thirteen at 537.

ADVISORY — bao/policies/automation-runner.hcl:394-416: the monitoring section is inserted inside the media section.

The media block opens at :334 ("the twelve Guests of the media domain, their state records, and the service secrets their plays seed"), runs its twelve deploy grants to :392, and the monitoring block lands at :394. Media's service-secret grants follow it at :418 (comment: "152's two, and the five the download clients seed …") through :437, now with their section heading a screen and a half above them. HCL is order-insensitive, so nothing misbehaves — a reader does. Moving the block below media's last service path restores section order.

ADVISORY — docs/env-fetch.md:151-154: the eighth paragraph omits the provenance sentence every sibling paragraph carries.

forge (:117), secrets (:121), silo (:126), agents (:132) and media (:144-149) each say where the role comes from — media's reads "It is in classify() from the same change … and the store gains the role on the service role's first run from a main that carries it." The new paragraph stops after "nothing else". The may fetch cell that says yes (:76) is only true because of those two facts; the paragraph is where a reader learns them.

Spec

No findings. THE-129's item 1 names "the monitoring actor in the vendored scripts/env.sh", and classify() carries it (scripts/env.sh:166). The policy is one named path with no prefix and no list; the role's bound claims match the media shape; the pin records and hashes to the same value; env.map still validates.

Verified

  • Head 60fa4b13… equals refs/pull/70/head on the host, read before the review and again at post time.
  • mise exec -- make check at the head: all nine targets, 591 ok lines, every suite reporting 0 FAILED (env, host door, plan, rotation, snapshot, prod, semaphore-deploy, deploy-workflow, service-key, verify).
  • ./scripts/env.sh check: scripts/env.sh matches infra-secrets@804e62b8… and env.map: 6 names, all declared; the recorded pin equals the body hash computed with the pin line blanked.
  • CI at the reviewed head: pr-checks / check (pull_request) success in 44s, plan / guest-plan-check (pull_request_target) success in 20s.
  • grep -c '^path ' bao/policies/automation-runner.hcl → 77, matching the "seventy-seven" this diff writes at docs/store-identity.md:422.
  • ci-monitoring.hcl against ci-media.hcl with the names substituted: comment wrapping only, same one-path body.
  • Both consumers are data-driven, so the body's apply claim holds: the policy directory is a fileglob (bao/service/roles/openbao/tasks/store.yml:120) and the JWT roles are read and written by loops over openbao_jwt_roles (store.yml:266).
  • No credential in the diff: five paths, one policy name, no values.

Named, not charged

  • olympus/infra-monitoring does not exist on the forge at this head: GET /repos/olympus/infra-monitoring answers "The target couldn't be found", while GET /repos/olympus/workshop answers 200 for the same identity. The body's pin claim is nonetheless confirmed against the tree the umbrella ticket built: /home/hermes/repos/infra-monitoring at b039198 carries scripts/env.sh with the same pin, and that file's body hashes to 804e62b8…. paperclip:THE-129 reads blocked at this write. Not charged — the change does not depend on that repository existing, and publishing it is the ticket's item 1.
  • docs/store-layout.md §Counts stops at 94 paths. a2f8692 added thirteen paths (THE-122) with no count paragraph, so the ledger was already behind this tree before this change. Same precedent, not charged; a reconciliation is still owed by whoever owns that page next.
  • docs/store-identity.md:265-308 narrates each CI login and stops at agents; media added no paragraph there either. Consistent with precedent, not charged.
  • Class: this changes the secrets store (a policy and a JWT role on OpenBao), a tier-1 class. Per the dispatch the class is not charged to this review's state; the board's own card paperclip:THE-129 is where that gate lives, and merging remains the board's.

Summary

  • Standards: 3 findings, 0 blockers. Worst: docs/store-identity.md:537 — the page now states a count that is false at this head (thirteen policy files, not twelve) and omits the actor this change adds.
  • Spec: 0 findings.
  • The recommendation is fix on the advisory count alone; nothing here blocks, and one pass over the three cells above clears it.
<!-- minos review-loop: repo=olympus/infra-secrets pr=70 head=60fa4b13f080456cec596bfb368139f556d19603 round=1/5 axes=standards,spec --> **olympus/infra-secrets#70** · head `60fa4b13` · round **1/5** · standards: 3 advisories, 0 blockers · spec: 0 findings Recommendation: fix Zero blockers stand. Three counted advisories did it — the count, not the weight — so the state, the label and this line are all `fix`. **What the change is:** the `monitoring` CI actor joins `classify()`; `ci-monitoring` grants one named path to the actor's Semaphore token; a JWT role binds `olympus/infra-monitoring` / `refs/heads/main` / `push`; the runner's policy gains five `deploy` grants for the monitoring records; four doc files carry the rows; the vendored pin moves to `804e62b8…`. ## Standards **ADVISORY — `docs/store-identity.md:535` and `docs/store-identity.md:537`: the page's two enumerations were not swept for the new actor.** Line 535 lists every CI actor whose credential the store's entity joins — `tracker`'s, `cockpit`'s, `forge`'s, `secrets`', `silo`'s, `agents`'s, `renovate`'s, `renovate-dispatch`'s and `media`'s — and `monitoring` is absent from it. Line 537 still reads "the only one of the twelve policy files"; this head's `bao/policies/` holds thirteen `.hcl` files (`ls bao/policies/*.hcl | wc -l` → `13`, against `12` at `origin/main`). This is not a scope judgement: the change that added `media` — `a2f8692` (THE-122), the same shape on the same page — moved exactly these two sentences (`eleven` → `twelve`, and `agents`s → `… and media`'s), which is what makes them cells this page maintains. Clearing it is one edit: add `monitoring`'s to the 535 list and `twelve` → `thirteen` at 537. **ADVISORY — `bao/policies/automation-runner.hcl:394-416`: the monitoring section is inserted inside the media section.** The media block opens at `:334` ("the twelve Guests of the media domain, their state records, and the service secrets their plays seed"), runs its twelve `deploy` grants to `:392`, and the monitoring block lands at `:394`. Media's service-secret grants follow it at `:418` (comment: "152's two, and the five the download clients seed …") through `:437`, now with their section heading a screen and a half above them. HCL is order-insensitive, so nothing misbehaves — a reader does. Moving the block below media's last service path restores section order. **ADVISORY — `docs/env-fetch.md:151-154`: the eighth paragraph omits the provenance sentence every sibling paragraph carries.** `forge` (`:117`), `secrets` (`:121`), `silo` (`:126`), `agents` (`:132`) and `media` (`:144-149`) each say where the role comes from — `media`'s reads "It is in `classify()` from the same change … and the store gains the role on the service role's first run from a `main` that carries it." The new paragraph stops after "nothing else". The `may fetch` cell that says yes (`:76`) is only true because of those two facts; the paragraph is where a reader learns them. ## Spec No findings. THE-129's item 1 names "the `monitoring` actor in the vendored `scripts/env.sh`", and `classify()` carries it (`scripts/env.sh:166`). The policy is one named path with no prefix and no `list`; the role's bound claims match the `media` shape; the pin records and hashes to the same value; `env.map` still validates. ## Verified - Head `60fa4b13…` equals `refs/pull/70/head` on the host, read before the review and again at post time. - `mise exec -- make check` at the head: all nine targets, 591 `ok` lines, every suite reporting `0 FAILED` (env, host door, plan, rotation, snapshot, prod, semaphore-deploy, deploy-workflow, service-key, verify). - `./scripts/env.sh check`: `scripts/env.sh matches infra-secrets@804e62b8…` and `env.map: 6 names, all declared`; the recorded pin equals the body hash computed with the pin line blanked. - CI at the reviewed head: `pr-checks / check (pull_request)` success in 44s, `plan / guest-plan-check (pull_request_target)` success in 20s. - `grep -c '^path ' bao/policies/automation-runner.hcl` → `77`, matching the "seventy-seven" this diff writes at `docs/store-identity.md:422`. - `ci-monitoring.hcl` against `ci-media.hcl` with the names substituted: comment wrapping only, same one-path body. - Both consumers are data-driven, so the body's apply claim holds: the policy directory is a `fileglob` (`bao/service/roles/openbao/tasks/store.yml:120`) and the JWT roles are read and written by loops over `openbao_jwt_roles` (`store.yml:266`). - No credential in the diff: five paths, one policy name, no values. ## Named, not charged - **`olympus/infra-monitoring` does not exist on the forge** at this head: `GET /repos/olympus/infra-monitoring` answers "The target couldn't be found", while `GET /repos/olympus/workshop` answers 200 for the same identity. The body's pin claim is nonetheless confirmed against the tree the umbrella ticket built: `/home/hermes/repos/infra-monitoring` at `b039198` carries `scripts/env.sh` with the same pin, and that file's body hashes to `804e62b8…`. `paperclip:THE-129` reads `blocked` at this write. Not charged — the change does not depend on that repository existing, and publishing it is the ticket's item 1. - **`docs/store-layout.md` §Counts** stops at 94 paths. `a2f8692` added thirteen paths (THE-122) with no count paragraph, so the ledger was already behind this tree before this change. Same precedent, not charged; a reconciliation is still owed by whoever owns that page next. - **`docs/store-identity.md:265-308`** narrates each CI login and stops at `agents`; `media` added no paragraph there either. Consistent with precedent, not charged. - **Class:** this changes the secrets store (a policy and a JWT role on OpenBao), a tier-1 class. Per the dispatch the class is not charged to this review's state; the board's own card `paperclip:THE-129` is where that gate lives, and merging remains the board's. ## Summary - **Standards:** 3 findings, 0 blockers. Worst: `docs/store-identity.md:537` — the page now states a count that is false at this head (thirteen policy files, not twelve) and omits the actor this change adds. - **Spec:** 0 findings. - The recommendation is **fix** on the advisory count alone; nothing here blocks, and one pass over the three cells 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 pages count the monitoring actor, and the runner's policy keeps its section order (THE-129)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 19s
pr-checks / check (pull_request) Successful in 45s
372030ce75
Clears the three standards advisories on the review; no behaviour changes.

- `docs/store-identity.md`: the bootstrap order's CI-actor list gains
  `monitoring`'s, and the policy-file count moves twelve -> thirteen —
  `ls bao/policies/*.hcl | wc -l` prints 13 at this head, and
  `regular-agent.hcl` is still the only one of them carrying
  `{{identity.entity.name}}`.
- `docs/env-fetch.md`: the `monitoring` paragraph carries the provenance
  sentence every sibling paragraph has — it is in `classify()` from the same
  change, and the store gains the role on the service role's first run from a
  `main` that carries it.
- `bao/policies/automation-runner.hcl`: the monitoring block moves below
  media's last service path, so media's twelve state grants, its
  service-secret grants and the monitoring section stay contiguous. Path count
  unchanged: 77 here, 72 on main plus the five added.
Member

Round 1/5 — head 60fa4b1 → 372030c

The dispatch's text says "blocking findings"; the report carried 0 blockers and 3 advisories, Recommendation: fix. Per the volume rule the round is worked in full — all three advisories, one commit, 372030c.

# Finding Change Evidence
1 docs/store-identity.md:535,537 — the two enumerations were not swept added monitoring's to the bootstrap order's CI-actor list; twelve → thirteen policy files ls bao/policies/*.hcl | wc -l → 13; grep -l 'identity.entity.name' bao/policies/*.hcl → regular-agent.hcl alone, so the "only one of the N" sentence still holds at N=13
2 bao/policies/automation-runner.hcl:394-416 — the monitoring block sat inside media's section moved below media's last service path (secret/data/services/qbittorrent/webui), so media's twelve state grants, its six service-secret grants and the monitoring section are contiguous grep -c '^path ' → 77 (main 72 + the five added); bao policy fmt on a copy then diff -u → empty
3 docs/env-fetch.md:151-154 — the paragraph omitted the provenance sentence its siblings carry added it: in classify() from the same change, and the store gains the role on the service role's first run from a main that carries it scripts/env.sh:166 carries monitoring in the classify() arm at this head

Verification — all at 372030c, in the worktree workspace/infra-secrets-pr70-r1-efesto:

  • mise exec -- make check → rc=0; all nine targets, 591 ok lines, every suite 0 FAILED.
  • mise exec -- ./scripts/env.sh check → env-check rc=0; scripts/env.sh matches infra-secrets@804e62b8…, env.map: 6 names, all declared.
  • mise exec -- bao policy fmt on a copy of automation-runner.hcl, then diff -u → nothing (rc=0), so the move is canonical as well as syntactically accepted.
  • docs-check.py . docs/*.md → docs check: 1 problem(s): MISSING FILE proxmox-credentials.md: /THE/issues/THE-5. Pre-existing: git show origin/main:docs/proxmox-credentials.md line 49 carries the same Paperclip link, and that file is not in this diff.
  • CI at 372030c: pr-checks / check (pull_request) success in 45s; plan / guest-plan-check (pull_request_target) success in 19s.

Left alone: nothing from the report. The three Named, not charged items stay as the reviewer left them — infra-monitoring absent from the forge is the ticket's item 1, and store-layout.md §Counts (94 paths) plus the store-identity.md:265-308 CI-login narration are pre-existing, with a2f8692 as their precedent.

**Round 1/5** — head `60fa4b1` → `372030c` The dispatch's text says "blocking findings"; the report carried **0 blockers and 3 advisories**, `Recommendation: fix`. Per the volume rule the round is worked in full — all three advisories, one commit, `372030c`. | # | Finding | Change | Evidence | | --- | --- | --- | --- | | 1 | `docs/store-identity.md:535,537` — the two enumerations were not swept | added `monitoring`'s to the bootstrap order's CI-actor list; `twelve` → `thirteen` policy files | `ls bao/policies/*.hcl \| wc -l` → `13`; `grep -l 'identity.entity.name' bao/policies/*.hcl` → `regular-agent.hcl` alone, so the "only one of the N" sentence still holds at N=13 | | 2 | `bao/policies/automation-runner.hcl:394-416` — the monitoring block sat inside media's section | moved below media's last service path (`secret/data/services/qbittorrent/webui`), so media's twelve state grants, its six service-secret grants and the monitoring section are contiguous | `grep -c '^path '` → `77` (main `72` + the five added); `bao policy fmt` on a copy then `diff -u` → empty | | 3 | `docs/env-fetch.md:151-154` — the paragraph omitted the provenance sentence its siblings carry | added it: in `classify()` from the same change, and the store gains the role on the service role's first run from a `main` that carries it | `scripts/env.sh:166` carries `monitoring` in the `classify()` arm at this head | **Verification** — all at `372030c`, in the worktree `workspace/infra-secrets-pr70-r1-efesto`: - `mise exec -- make check` → `rc=0`; all nine targets, 591 `ok` lines, every suite `0 FAILED`. - `mise exec -- ./scripts/env.sh check` → `env-check rc=0`; `scripts/env.sh matches infra-secrets@804e62b8…`, `env.map: 6 names, all declared`. - `mise exec -- bao policy fmt` on a copy of `automation-runner.hcl`, then `diff -u` → nothing (`rc=0`), so the move is canonical as well as syntactically accepted. - `docs-check.py . docs/*.md` → `docs check: 1 problem(s)`: `MISSING FILE proxmox-credentials.md: /THE/issues/THE-5`. Pre-existing: `git show origin/main:docs/proxmox-credentials.md` line 49 carries the same Paperclip link, and that file is not in this diff. - CI at `372030c`: `pr-checks / check (pull_request)` success in 45s; `plan / guest-plan-check (pull_request_target)` success in 19s. **Left alone:** nothing from the report. The three *Named, not charged* items stay as the reviewer left them — `infra-monitoring` absent from the forge is the ticket's item 1, and `store-layout.md` §Counts (94 paths) plus the `store-identity.md:265-308` CI-login narration are pre-existing, with `a2f8692` as their precedent.
Member

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

**Review started** (round 2/5) on 372030ce75f850eb60096bd467734631a58be08f — reading the diff now.
bot-minos approved these changes 2026-12-03 18:22:50 +00:00
bot-minos left a comment

olympus/infra-secrets#70 · head 372030ce · round 2/5 · standards: 0 findings · spec: 0 findings

Recommendation: merge

Zero findings on either axis at this head. Round 1's three advisories are all cleared at 372030c, and the delta that cleared them introduces nothing new. Nothing here for the author to change; the next gate is the board's, not a fixer round.

What the change is: monitoring joins classify() as a ninth CI actor; ci-monitoring grants one named path to its Semaphore token; a JWT role binds olympus/infra-monitoring / refs/heads/main / push; the runner's policy gains five deploy reads for the monitoring records; four doc pages carry the rows and counts; the vendored pin moves to 804e62b8….

Round 1's findings, re-driven

Reviewed the delta 60fa4b1..372030c (3 files, +30/−27). Every round-1 finding is resolved in 372030c:

Round-1 finding Resolved by Evidence at this head
docs/store-identity.md:535,537 — the page's two enumerations were not swept for the new actor monitoring's added to the bootstrap order's CI-actor list (:535), and twelve → thirteen policy files (:537) ls bao/policies/*.hcl | wc -l → 13; grep -l 'identity.entity.name' bao/policies/*.hcl → regular-agent.hcl alone, so "the only one of the thirteen" holds
bao/policies/automation-runner.hcl:394-416 — the monitoring block sat inside the media section moved to :427-449, below media's last service path (secret/data/services/qbittorrent/webui, :423-425) media's twelve state grants (:346-392) and six service-secret grants (:399-425) are now contiguous; the drift-audit header follows at :451. grep -c '^path ' → 77 (main 72 + 5); sort | uniq -d on the path lines → empty; bao policy fmt on a copy then diff -u → empty
docs/env-fetch.md:151-154 — the paragraph omitted the provenance sentence its siblings carry added at :156-159, the same sentence media carries at :148-150 scripts/env.sh:166 carries monitoring in the classify() arm at this head, which is the first half of the claim; the role in openbao_jwt_roles is the second

Standards

No findings. The three cells round 1 named are the cells this delta moved, and each now says what the tree says: 13 policy files, 77 named paths in automation-runner.hcl (docs/store-identity.md:422), monitoring in the identities table (:123), the grants table (:139), the policy table (:419) and the bootstrap order (:535). The inserted section sits where a reader expects it. No baseline smell applies: the new HCL is a copy of ci-media.hcl with the names substituted (diff -u shows comment wrapping only), which is this repo's documented shape for a per-actor policy, not duplication to extract.

Spec

No findings. THE-129's item 1 names "the monitoring actor in the vendored scripts/env.sh" — carried at scripts/env.sh:166, with the pin recording the body's own hash. The policy is one named path with no prefix and no list (bao/policies/ci-monitoring.hcl:19); the role's bound claims, TTLs and policy are the media shape exactly (bao/service/roles/openbao/defaults/main.yml:190-197 against :182-189); the runner's five grants name the five Guests the ticket lists (:427-449); the docs' rows agree with the code. olympus/workshop ADR-0007 (a path names what it belongs to) is met by secret/ci/monitoring/… — actor segment, no consuming repository — and ADR-0006/ADR-0012 by the grants stopping at the deploy halves.

Verified

All at 372030ce…, in the worktree workspace/.worktrees/pr70-r2, with refs/pull/70/head equal to the dispatch's SHA on every read (before the review and again at compose time):

  • mise exec -- make check → rc=0; 591 ok lines, and every suite's summary reads 0 FAILED (prod 8, semaphore-deploy 94, deploy-workflow 53, service-key 33, verify 9, plus the env, host-door, plan, rotation and snapshot suites).
  • mise exec -- ./scripts/env.sh check → rc=0; scripts/env.sh matches infra-secrets@804e62b8…, env.map: 6 names, all declared.
  • The pin arithmetic, by the script's own method (sed 's/^# vendored from infra-secrets@.*$/# vendored from infra-secrets@/' | sha256sum) → 804e62b8c4bd72888dfc603a1801be68ea3193d9b53e3051e72f755f8fb1eb72, equal to the recorded pin.
  • bao policy fmt on a copy of automation-runner.hcl, then diff -u → nothing.
  • docs-check.py . docs/*.md (the link/shape checker) → all 5 assertions hold: 43 relative links, 18 fragments, the ADR and section indices, 20 documents published or excluded.
  • Both consumers of the new files are data-driven, so the body's apply claim holds: the policy directory is a fileglob (bao/service/roles/openbao/tasks/store.yml:120) and the JWT roles are read back and rewritten per entry over openbao_jwt_roles (store.yml:263-283).
  • CI at this head: pr-checks / check (pull_request) success in 45s, plan / guest-plan-check (pull_request_target) success in 19s.
  • No credential in the diff: one policy name, five paths, one role, no values.

Named, not charged

  • docs/store-layout.md:631 still declares 94 paths, and the count is a cell this change's own section adds to. It was already wrong before this head — a2f8692 (THE-122) declared thirteen paths with no count paragraph — so this is the pre-existing ledger, not this change's defect; carried from round 1 with the same verdict, and a reconciliation is still owed by whoever owns that page next.
  • docs/store-identity.md:265-308 narrates each CI login and stops at agents; media added no paragraph there either. Precedent, not charged.
  • olympus/infra-monitoring is absent from the forge at this head: GET /api/v1/repos/olympus/infra-monitoring answers 404, on both an authenticated and an anonymous read. The change does not depend on it — publishing that repository is THE-129's own item 1, and the vendored pin is verified here against its own body.

The class, and where the hold lives

This is a tier-1 change — the state and secrets store (OpenBao on .144) — so the class is escalated to the board: paperclip:THE-134, read back at creation as status: todo, assigneeAgentId: null, parentId: null, reviewAttention.state: none. The Board agent's slot refused the assignment (409 — "Cannot assign work to a paused agent … escalate to a board operator instead"), so the card is unassigned for a board operator to pick up, the shape of THE-123.

Round 1 read the class against the cutover card paperclip:THE-129; that card is the W2.1 implementation ticket (status: blocked, one comment, and it is its own assignee's run-limit note, not a ruling), not a card for this PR's merge, so this round files the per-PR card the charter's precedent uses (THE-120 for infra-secrets#66, THE-123 for infra-media#10).

Per the dispatch's narrowing, that card and not this review is the hold: this review's state and label are the findings' — merge, on zero findings — and merging remains the board's gate.

Summary

  • Standards: 0 findings (round 1's 3 advisories cleared); worst: none.
  • Spec: 0 findings; worst: none.
  • The recommendation is merge on zero findings at this head; the tier-1 class lives on the board's card THE-134.
<!-- minos review-loop: repo=olympus/infra-secrets pr=70 head=372030ce75f850eb60096bd467734631a58be08f round=2/5 axes=standards,spec --> **olympus/infra-secrets#70** · head `372030ce` · round **2/5** · standards: 0 findings · spec: 0 findings Recommendation: merge Zero findings on either axis at this head. Round 1's three advisories are all cleared at `372030c`, and the delta that cleared them introduces nothing new. Nothing here for the author to change; the next gate is the board's, not a fixer round. **What the change is:** `monitoring` joins `classify()` as a ninth CI actor; `ci-monitoring` grants one named path to its Semaphore token; a JWT role binds `olympus/infra-monitoring` / `refs/heads/main` / `push`; the runner's policy gains five `deploy` reads for the monitoring records; four doc pages carry the rows and counts; the vendored pin moves to `804e62b8…`. ## Round 1's findings, re-driven Reviewed the delta `60fa4b1..372030c` (3 files, +30/−27). Every round-1 finding is resolved in `372030c`: | Round-1 finding | Resolved by | Evidence at this head | | --- | --- | --- | | `docs/store-identity.md:535,537` — the page's two enumerations were not swept for the new actor | `monitoring`'s added to the bootstrap order's CI-actor list (`:535`), and `twelve` → `thirteen` policy files (`:537`) | `ls bao/policies/*.hcl \| wc -l` → `13`; `grep -l 'identity.entity.name' bao/policies/*.hcl` → `regular-agent.hcl` alone, so "the only one of the thirteen" holds | | `bao/policies/automation-runner.hcl:394-416` — the monitoring block sat inside the media section | moved to `:427-449`, below media's last service path (`secret/data/services/qbittorrent/webui`, `:423-425`) | media's twelve state grants (`:346-392`) and six service-secret grants (`:399-425`) are now contiguous; the drift-audit header follows at `:451`. `grep -c '^path '` → `77` (main `72` + 5); `sort \| uniq -d` on the path lines → empty; `bao policy fmt` on a copy then `diff -u` → empty | | `docs/env-fetch.md:151-154` — the paragraph omitted the provenance sentence its siblings carry | added at `:156-159`, the same sentence `media` carries at `:148-150` | `scripts/env.sh:166` carries `monitoring` in the `classify()` arm at this head, which is the first half of the claim; the role in `openbao_jwt_roles` is the second | ## Standards No findings. The three cells round 1 named are the cells this delta moved, and each now says what the tree says: 13 policy files, 77 named paths in `automation-runner.hcl` (`docs/store-identity.md:422`), `monitoring` in the identities table (`:123`), the grants table (`:139`), the policy table (`:419`) and the bootstrap order (`:535`). The inserted section sits where a reader expects it. No baseline smell applies: the new HCL is a copy of `ci-media.hcl` with the names substituted (`diff -u` shows comment wrapping only), which is this repo's documented shape for a per-actor policy, not duplication to extract. ## Spec No findings. THE-129's item 1 names "the `monitoring` actor in the vendored `scripts/env.sh`" — carried at `scripts/env.sh:166`, with the pin recording the body's own hash. The policy is one named path with no prefix and no `list` (`bao/policies/ci-monitoring.hcl:19`); the role's bound claims, TTLs and policy are the `media` shape exactly (`bao/service/roles/openbao/defaults/main.yml:190-197` against `:182-189`); the runner's five grants name the five Guests the ticket lists (`:427-449`); the docs' rows agree with the code. `olympus/workshop` ADR-0007 (a path names what it belongs to) is met by `secret/ci/monitoring/…` — actor segment, no consuming repository — and ADR-0006/ADR-0012 by the grants stopping at the `deploy` halves. ## Verified All at `372030ce…`, in the worktree `workspace/.worktrees/pr70-r2`, with `refs/pull/70/head` equal to the dispatch's SHA on every read (before the review and again at compose time): - `mise exec -- make check` → `rc=0`; 591 `ok` lines, and every suite's summary reads `0 FAILED` (`prod` 8, `semaphore-deploy` 94, `deploy-workflow` 53, `service-key` 33, `verify` 9, plus the env, host-door, plan, rotation and snapshot suites). - `mise exec -- ./scripts/env.sh check` → `rc=0`; `scripts/env.sh matches infra-secrets@804e62b8…`, `env.map: 6 names, all declared`. - The pin arithmetic, by the script's own method (`sed 's/^# vendored from infra-secrets@.*$/# vendored from infra-secrets@/' | sha256sum`) → `804e62b8c4bd72888dfc603a1801be68ea3193d9b53e3051e72f755f8fb1eb72`, equal to the recorded pin. - `bao policy fmt` on a copy of `automation-runner.hcl`, then `diff -u` → nothing. - `docs-check.py . docs/*.md` (the link/shape checker) → `all 5 assertions hold`: 43 relative links, 18 fragments, the ADR and section indices, 20 documents published or excluded. - Both consumers of the new files are data-driven, so the body's apply claim holds: the policy directory is a `fileglob` (`bao/service/roles/openbao/tasks/store.yml:120`) and the JWT roles are read back and rewritten per entry over `openbao_jwt_roles` (`store.yml:263-283`). - CI at this head: `pr-checks / check (pull_request)` success in 45s, `plan / guest-plan-check (pull_request_target)` success in 19s. - No credential in the diff: one policy name, five paths, one role, no values. ## Named, not charged - **`docs/store-layout.md:631` still declares 94 paths**, and the count is a cell this change's own section adds to. It was already wrong before this head — `a2f8692` (THE-122) declared thirteen paths with no count paragraph — so this is the pre-existing ledger, not this change's defect; carried from round 1 with the same verdict, and a reconciliation is still owed by whoever owns that page next. - **`docs/store-identity.md:265-308`** narrates each CI login and stops at `agents`; `media` added no paragraph there either. Precedent, not charged. - **`olympus/infra-monitoring` is absent from the forge** at this head: `GET /api/v1/repos/olympus/infra-monitoring` answers `404`, on both an authenticated and an anonymous read. The change does not depend on it — publishing that repository is THE-129's own item 1, and the vendored pin is verified here against its own body. ## The class, and where the hold lives This is a **tier-1** change — the state and secrets store (OpenBao on .144) — so the class is escalated to the board: **`paperclip:THE-134`**, read back at creation as `status: todo`, `assigneeAgentId: null`, `parentId: null`, `reviewAttention.state: none`. The Board agent's slot refused the assignment (`409 — "Cannot assign work to a paused agent … escalate to a board operator instead"`), so the card is unassigned for a board operator to pick up, the shape of THE-123. Round 1 read the class against the cutover card `paperclip:THE-129`; that card is the W2.1 implementation ticket (`status: blocked`, one comment, and it is its own assignee's run-limit note, not a ruling), not a card for this PR's merge, so this round files the per-PR card the charter's precedent uses (THE-120 for `infra-secrets#66`, THE-123 for `infra-media#10`). Per the dispatch's narrowing, that card and not this review is the hold: this review's state and label are the findings' — merge, on zero findings — and **merging remains the board's gate**. ## Summary - **Standards:** 0 findings (round 1's 3 advisories cleared); worst: none. - **Spec:** 0 findings; worst: none. - The recommendation is **merge** on zero findings at this head; the tier-1 class lives on the board's card THE-134.
pit merged commit 0f732690dd into main 2026-12-04 07:53:56 +00:00
pit deleted branch wave2/monitoring-121 2026-12-04 07:53:56 +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!70
No description provided.