cockpit reads the Semaphore server's TLS key, and the CA's private half stays the Operator's (THE-106) #60

Merged
pit merged 2 commits from hermes/the106-grant-semaphore-tls-key into main 2026-12-01 15:49:34 +00:00
Owner

paperclip:THE-106

Summary

One policy line the THE-106 design names as the rollout's first step: cockpit's CI login reads the Semaphore server's TLS private key at secret/services/semaphore/tls/server-key, so olympus/infra-cockpit#36's deploy can render its https listener. Nothing else in the store changes.

 bao/policies/ci-cockpit.hcl  | +11    one named path: …/tls/server-key, read-only
 docs/store-layout.md         | +9     the pair, one path per credential (ADR-0007), and the ledger rung
 docs/store-identity.md       | +11/-3 cockpit's row gains the key; the table counts twelve, and the certificate's home is #36

The path joins the actor's reach as a name, not as the secret/services/semaphore/* prefix: deploy-ssh sits under that prefix and is the Semaphore runner's root key on five Guests, and ADR-0007 forbids a prefix with an exception. The CA key is a second path and a second credential, so it is not granted at all — it renews the leaf and nothing else, and is the Operator's.

Evidence

Check Result
mise exec -- make check at 5ec7f79 exit 0 — the env pin and map, the host door, the plan judge, the rotation record, and the snapshot, prod, deploy and verify suites
deploy-test's four parts semaphore-deploy 63, deploy-workflow 50, service-key 33, verify 9 assertions, 0 FAILED
The path the deploy reads olympus/infra-cockpit env.map:48 at head 4cec71bf is secret/services/semaphore/tls/server-key SEMAPHORE_TLS_KEY; scripts/env.sh:421-422 reads .data.data[SEMAPHORE_TLS_KEY] from that path, so the record must carry that field
The policy's shape every existing Semaphore grant is a named secret/data/services/semaphore/<name> path with capabilities = ["read"]; the new block is the same shape, added beside runner-registration

Not run: no store read and no store write. Both paths are absent, and seeding them is the Operator's (THE-106 rollout step 0), so the first read that proves them is the first deploy's.

Merge Danger

Door: a policy change is applied by this repository's own deploy on merge (ADR-0009, SC-19), so the merge itself widens cockpit's reach. It grants read on one path that holds no value yet, so it makes readable nothing the Operator has not written.

Blast radius: none until the key is seeded — the path answers 404 and make env in infra-cockpit refuses rather than proceeding, which is the fail-closed property THE-106 relies on. A wrong block would be confined to cockpit's CI login; the store's other actors do not read this policy.

Order: this merges before olympus/infra-cockpit#36; that deploy cannot fetch SEMAPHORE_TLS_KEY without it. olympus/infra-tracker#64 and olympus/infra-forge#107 follow #36.

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

paperclip:THE-106 ## Summary One policy line the THE-106 design names as the rollout's first step: `cockpit`'s CI login reads the Semaphore server's TLS private key at `secret/services/semaphore/tls/server-key`, so `olympus/infra-cockpit#36`'s deploy can render its https listener. Nothing else in the store changes. ```text bao/policies/ci-cockpit.hcl | +11 one named path: …/tls/server-key, read-only docs/store-layout.md | +9 the pair, one path per credential (ADR-0007), and the ledger rung docs/store-identity.md | +11/-3 cockpit's row gains the key; the table counts twelve, and the certificate's home is #36 ``` The path joins the actor's reach as a **name**, not as the `secret/services/semaphore/*` prefix: `deploy-ssh` sits under that prefix and is the Semaphore runner's root key on five Guests, and ADR-0007 forbids a prefix with an exception. The CA key is a second path and a second credential, so it is not granted at all — it renews the leaf and nothing else, and is the Operator's. ## Evidence | Check | Result | | --- | --- | | `mise exec -- make check` at `5ec7f79` | exit 0 — the env pin and map, the host door, the plan judge, the rotation record, and the snapshot, prod, deploy and verify suites | | `deploy-test`'s four parts | `semaphore-deploy` 63, `deploy-workflow` 50, `service-key` 33, `verify` 9 assertions, 0 FAILED | | The path the deploy reads | `olympus/infra-cockpit` `env.map:48` at head `4cec71bf` is `secret/services/semaphore/tls/server-key SEMAPHORE_TLS_KEY`; `scripts/env.sh:421-422` reads `.data.data[SEMAPHORE_TLS_KEY]` from that path, so the record must carry that field | | The policy's shape | every existing Semaphore grant is a named `secret/data/services/semaphore/<name>` path with `capabilities = ["read"]`; the new block is the same shape, added beside `runner-registration` | **Not run:** no store read and no store write. Both paths are absent, and seeding them is the Operator's (THE-106 rollout step 0), so the first read that proves them is the first deploy's. ## Merge Danger **Door:** a policy change is applied by this repository's own deploy on merge (ADR-0009, SC-19), so the merge itself widens `cockpit`'s reach. It grants read on one path that holds no value yet, so it makes readable nothing the Operator has not written. **Blast radius:** none until the key is seeded — the path answers `404` and `make env` in `infra-cockpit` refuses rather than proceeding, which is the fail-closed property THE-106 relies on. A wrong block would be confined to `cockpit`'s CI login; the store's other actors do not read this policy. **Order:** this merges **before** `olympus/infra-cockpit#36`; that deploy cannot fetch `SEMAPHORE_TLS_KEY` without it. `olympus/infra-tracker#64` and `olympus/infra-forge#107` follow #36. Prose in this body is agent-written (Hermes).
policy: cockpit reads the Semaphore TLS key (paperclip:THE-106)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 16s
pr-checks / check (pull_request) Successful in 42s
66c953fdd5
THE-106 puts a TLS listener on Semaphore (143) and reads its private key into
the deploy's environment as SEMAPHORE_TLS_KEY. This is the one policy line the
design names as the rollout's first step: the path joins ci-cockpit.hcl as a
name, as every other Semaphore secret does, and the CA's private half stays out
because no run reads it.

The two pages that carry the readable set move with it: store-layout.md gains
the pair, one path per credential, and store-identity.md's cockpit row gains the
key and names the CA key as unreachable.

Verified: `mise exec -- make check` exit 0 (env, host door, plan judge, rotation,
snapshot, prod, deploy and verify suites).
Member

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

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

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

**Review started** (round 1/5) on 66c953fdd53cebedb2c0b5730396a54e646e68dc — reading the diff now.
Author
Owner

Operator — the pull request was closed and re-opened at 66c953f to re-run pr-checks / check on the same head: the first run (14:43Z) failed in make deps, where mise refused the jq@1.7 download it had just taken — Checksum mismatch … Expected: sha256:2f312b95…, Actual: sha256:9b74bd71…. That is the toolchain fetch, not this diff. The re-run read pr-checks / check … success in 42s, so there are two Review started lines on this thread for one head.

**Operator** — the pull request was closed and re-opened at `66c953f` to re-run `pr-checks / check` on the same head: the first run (14:43Z) failed in `make deps`, where `mise` refused the `jq@1.7` download it had just taken — `Checksum mismatch … Expected: sha256:2f312b95…, Actual: sha256:9b74bd71…`. That is the toolchain fetch, not this diff. The re-run read `pr-checks / check … success` in 42s, so there are two *Review started* lines on this thread for one head.
bot-minos approved these changes 2026-12-01 14:48:11 +00:00
Dismissed
bot-minos left a comment

olympus/infra-secrets #60 · head 66c953f · round 1/5 · 0 blockers, 1 advisory

Recommendation: merge

The thread carries no review yet: list_pull_reviews is empty, so the round count is the review list's plus one, 1/5, and this round reviews the whole head rather than a delta. A predecessor dispatch posted its sign-on line at 14:43:54Z and reported nothing; its scratch tree was left at this same SHA and this round worked from its own.

Spec source: paperclip:THE-106 and its design document, read live this round — GET /api/issues/THE-106 → 200, GET /api/issues/70de29f9…/documents → 200, GET /api/issues/70de29f9…/comments → 200 with 4 entries. The lines this change is measured against are the design's §Decision, Keys: "Server key at secret/services/semaphore/tls/server-key (cockpit's deploy reads it, one policy line in infra-secrets). CA key at secret/services/semaphore/tls/ca-key (Operator only, read by no run)", with "ADR-0007: one credential per path, rotating on its own clock". Standards sources: AGENTS.md (decisions, checks, tracker), docs/agents/*.md, and the olympus/workshop records the repo defers to, read at origin/main (docs/adr/0007, 0009, 0011, 0013). This repo carries no CONTRIBUTING.md or CODING_STANDARDS.md.

Spec — no findings

The change does the one thing the design's first rollout step asks and nothing else: one named path in bao/policies/ci-cockpit.hcl:49-51, read-only, plus the two pages that record the store's contents. Every claim the body makes is reproduced below, and the two it explicitly does not make — a store read and a store write — are named under Could not verify.

claim what I ran result
the revision this report is about git ls-remote origin refs/pull/60/head, at the start and again before drafting 66c953f both times, equal to the dispatch's SHA and the PR object's head.sha
the diff is the body's three files list_pull_request_files; git diff 77b1268 66c953f --stat bao/policies/ci-cockpit.hcl +10, docs/store-identity.md +9/−2, docs/store-layout.md +2 — nothing else
the floor at this head mise exec -- make check in a worktree at 66c953f rc 0; semaphore-deploy tests: 63, deploy-workflow: 50, service-key: 33, verify: 9, all 0 FAILED — the body's own row, digit for digit
the path the deploy reads olympus/infra-cockpit at 4cec71bf: env.map:48, scripts/env.sh:407, :422 secret/services/semaphore/tls/server-key SEMAPHORE_TLS_KEY; env.sh:407 maps secret/* → secret/data/…, :422 reads .data.data[$name]. The ACL path the grant must carry is the one it names
the grant is a name, not a prefix, and the CA half is out drove this head's ci-cockpit.hcl on a throwaway bao server -dev and asked token capabilities of a token carrying only that policy …/tls/server-key read; …/tls/ca-key deny; …/tls deny; …/deploy-ssh deny; …/tls/server-key/extra deny; …/config read. The file parses and the matrix is the claim
one credential per path, two paths (ADR-0007) the record's §Decision and the design's key-custody row "a path is one credential: fields share a path only when they rotate together"; server key and CA key rotate on different clocks (leaf 825 d, CA 10 y), and "a prefix except one path" is forbidden. …/tls/server-key + …/tls/ca-key is the shape the record requires
the readable-set audit is not drifted census of the policy's path blocks against docs/store-identity.md:116 (braces expanded) 12 paths in the policy, 12 in cockpit's cell, empty difference in both directions
the role the grant lands on docs/store-identity.md:135, bao/policies/ci-cockpit.hcl:1-5, ADR-0013 the cockpit Deployer role; the grant is a policy change on a role, which is ADR-0013's unit
the docs' cross-repo facts olympus/infra-cockpit at 4cec71bf semaphore/service/files/{ca.crt,server.crt} committed; the key written to /opt/semaphore/tls/server.key, mode 0640, owner root, group {{ semaphore_group }} (roles/semaphore/tasks/main.yml:235-240); docs/environment.md:78 names the same path — docs/store-layout.md:245 reproduces
the merge is the act that applies it bao/service/roles/openbao/tasks/store.yml:9, AGENTS.md §Checks "one edited policy file updates one policy"; the deploy runs on every push to main (ADR-0009). The body's Door paragraph is the right description
CI at the reviewed head get_commit_statuses on 66c953f pr-checks / check (pull_request) success (run 153, 42 s), plan / guest-plan-check (pull_request_target) success (run 152, 16 s). The 14:44:01Z failure is run 151's, superseded by 153 at the same SHA
no secret in the diff the three hunks read line by line one ACL path, prose, and two dates; no value, no key material

Standards — 1 advisory

A1 · ADVISORY · THE-106's card, comments 2026-11-17T13:10:46Z and 2026-11-17T14:19:39Z — the seed instruction names a path nothing reads.
The card tells the Operator the server's key "lives at path secret/services/semaphore/tls, field SEMAPHORE_TLS_KEY", and repeats it in the 14:19Z state line: "The store still holds neither SEMAPHORE_TLS_KEY at secret/services/semaphore/tls nor the CA key". The tree says otherwise, and the tree wins: cockpit's env.map:48 reads secret/services/semaphore/tls/server-key with field SEMAPHORE_TLS_KEY, scripts/env.sh:422 reads .data.data[$NAME] at that path, docs/environment.md:78 names the same, and this change grants exactly secret/data/services/semaphore/tls/server-key (bao/policies/ci-cockpit.hcl:49) with docs/store-layout.md:245 naming it. An Operator who follows the card seeds …/tls; make env then answers 404 … does not exist in the store at …/tls/server-key and writes nothing (scripts/env.sh:415) — the fail-closed behaviour the design relies on, so no leak and no blocker, but the rollout stops at the first step and the card is where it stopped.
ADR-0007 is on this PR's side as well: a single …/tls path would put SEMAPHORE_TLS_KEY and the CA key's field on one path across two rotation clocks, the shape the record forbids.
Clearing change: one comment on THE-106 substituting secret/services/semaphore/tls/server-key for secret/services/semaphore/tls. The card is where it is wrong and no hunk here touches it, which is why this is advice and not a block.

Named, not charged

  • docs/rotation-policy.md:76 puts secret/services/** at 180 d, and docs/rotation-record.json holds one row per class, so both new paths inherit a class whose interval does not describe a key bound to an 825-day leaf or a 10-year CA. The design discloses it — "Leaf expiry (2029-02-19) and CA expiry (2036-11-14) belong in infra-secrets' rotation record … A follow-up, not in these PRs" — so it is a disclosed deferral, not work this change claims.
  • docs/store-layout.md:246 gives the CA key a row with no field name. THE-106's 13:13Z comment leaves that field to the Operator ("its field name is yours to choose"), so the row is honest rather than incomplete.
  • Nothing compares bao/policies/ against the readable-set table (ADR-0007 §Consequences: the drift "is silent until something compares them"). The parity above was checked by hand here and holds; no test would catch the next drift. Pre-existing, and this change does not claim otherwise.

Could not verify

  • That both paths are absent, and what a read of them answers. No store credential on this host, and the body says the same ("Not run: no store read and no store write"). THE-106's card records both absent on 2026-11-17; the first read that proves them is the first deploy's, as the body says.
  • The Operator's seeding of either key. Not this change's act, and the design assigns it to the Operator at step 0.

Summary

Spec: 0 findings — every claim the body makes reproduced, and the two it disclaims named as unverified. Standards: 1 advisory, A1, the rollout instruction on the ticket naming a path this grant does not cover; it is the worst on its axis and it is the only one.

One advisory is under the third that would turn the recommendation, so the recommendation is merge, and A1 travels as advice. The change's class — a grant widening in the secrets store, applied by the deploy behind the merge — is the board's gate and not this review's: paperclip:THE-106 is in_review (read live this round), and merging remains the board's decision after this label moves. This round applied the dispatch's narrowing, so the review state follows the findings.

<!-- minos review-loop: repo=olympus/infra-secrets pr=60 head=66c953fdd53cebedb2c0b5730396a54e646e68dc round=1/5 axes=standards,spec --> **olympus/infra-secrets #60** · head `66c953f` · round 1/5 · 0 blockers, 1 advisory Recommendation: merge The thread carries no review yet: `list_pull_reviews` is empty, so the round count is the review list's plus one, `1/5`, and this round reviews the whole head rather than a delta. A predecessor dispatch posted its sign-on line at `14:43:54Z` and reported nothing; its scratch tree was left at this same SHA and this round worked from its own. Spec source: `paperclip:THE-106` and its `design` document, read live this round — `GET /api/issues/THE-106` → 200, `GET /api/issues/70de29f9…/documents` → 200, `GET /api/issues/70de29f9…/comments` → 200 with 4 entries. The lines this change is measured against are the design's §Decision, *Keys*: "Server key at `secret/services/semaphore/tls/server-key` (cockpit's deploy reads it, one policy line in `infra-secrets`). CA key at `secret/services/semaphore/tls/ca-key` (Operator only, read by no run)", with "ADR-0007: one credential per path, rotating on its own clock". Standards sources: `AGENTS.md` (decisions, checks, tracker), `docs/agents/*.md`, and the `olympus/workshop` records the repo defers to, read at `origin/main` (`docs/adr/0007`, `0009`, `0011`, `0013`). This repo carries no `CONTRIBUTING.md` or `CODING_STANDARDS.md`. ## Spec — no findings The change does the one thing the design's first rollout step asks and nothing else: one named path in `bao/policies/ci-cockpit.hcl:49-51`, read-only, plus the two pages that record the store's contents. Every claim the body makes is reproduced below, and the two it explicitly does not make — a store read and a store write — are named under *Could not verify*. | claim | what I ran | result | | --- | --- | --- | | the revision this report is about | `git ls-remote origin refs/pull/60/head`, at the start and again before drafting | `66c953f` both times, equal to the dispatch's SHA and the PR object's `head.sha` | | the diff is the body's three files | `list_pull_request_files`; `git diff 77b1268 66c953f --stat` | `bao/policies/ci-cockpit.hcl` +10, `docs/store-identity.md` +9/−2, `docs/store-layout.md` +2 — nothing else | | the floor at this head | `mise exec -- make check` in a worktree at `66c953f` | rc 0; `semaphore-deploy tests: 63`, `deploy-workflow: 50`, `service-key: 33`, `verify: 9`, all `0 FAILED` — the body's own row, digit for digit | | the path the deploy reads | `olympus/infra-cockpit` at `4cec71bf`: `env.map:48`, `scripts/env.sh:407`, `:422` | `secret/services/semaphore/tls/server-key SEMAPHORE_TLS_KEY`; `env.sh:407` maps `secret/*` → `secret/data/…`, `:422` reads `.data.data[$name]`. The ACL path the grant must carry is the one it names | | the grant is a name, not a prefix, and the CA half is out | drove this head's `ci-cockpit.hcl` on a throwaway `bao server -dev` and asked `token capabilities` of a token carrying only that policy | `…/tls/server-key` **read**; `…/tls/ca-key` **deny**; `…/tls` **deny**; `…/deploy-ssh` **deny**; `…/tls/server-key/extra` **deny**; `…/config` read. The file parses and the matrix is the claim | | one credential per path, two paths (ADR-0007) | the record's §Decision and the design's key-custody row | "a path is one credential: fields share a path only when they rotate together"; server key and CA key rotate on different clocks (leaf 825 d, CA 10 y), and "a prefix except one path" is forbidden. `…/tls/server-key` + `…/tls/ca-key` is the shape the record requires | | the readable-set audit is not drifted | census of the policy's `path` blocks against `docs/store-identity.md:116` (braces expanded) | 12 paths in the policy, 12 in `cockpit`'s cell, empty difference in both directions | | the role the grant lands on | `docs/store-identity.md:135`, `bao/policies/ci-cockpit.hcl:1-5`, ADR-0013 | the `cockpit` Deployer role; the grant is a policy change on a role, which is ADR-0013's unit | | the docs' cross-repo facts | `olympus/infra-cockpit` at `4cec71bf` | `semaphore/service/files/{ca.crt,server.crt}` committed; the key written to `/opt/semaphore/tls/server.key`, `mode 0640`, `owner root`, `group {{ semaphore_group }}` (`roles/semaphore/tasks/main.yml:235-240`); `docs/environment.md:78` names the same path — `docs/store-layout.md:245` reproduces | | the merge is the act that applies it | `bao/service/roles/openbao/tasks/store.yml:9`, `AGENTS.md` §Checks | "one edited policy file updates one policy"; the deploy runs on every push to `main` (ADR-0009). The body's *Door* paragraph is the right description | | CI at the reviewed head | `get_commit_statuses` on `66c953f` | `pr-checks / check (pull_request)` success (run 153, 42 s), `plan / guest-plan-check (pull_request_target)` success (run 152, 16 s). The `14:44:01Z` failure is run 151's, superseded by 153 at the same SHA | | no secret in the diff | the three hunks read line by line | one ACL path, prose, and two dates; no value, no key material | ## Standards — 1 advisory **A1 · ADVISORY · THE-106's card, comments `2026-11-17T13:10:46Z` and `2026-11-17T14:19:39Z` — the seed instruction names a path nothing reads.** The card tells the Operator the server's key "lives at path `secret/services/semaphore/tls`, field `SEMAPHORE_TLS_KEY`", and repeats it in the 14:19Z state line: "The store still holds neither `SEMAPHORE_TLS_KEY` at `secret/services/semaphore/tls` nor the CA key". The tree says otherwise, and the tree wins: cockpit's `env.map:48` reads `secret/services/semaphore/tls/server-key` with field `SEMAPHORE_TLS_KEY`, `scripts/env.sh:422` reads `.data.data[$NAME]` at that path, `docs/environment.md:78` names the same, and this change grants exactly `secret/data/services/semaphore/tls/server-key` (`bao/policies/ci-cockpit.hcl:49`) with `docs/store-layout.md:245` naming it. An Operator who follows the card seeds `…/tls`; `make env` then answers `404 … does not exist in the store` at `…/tls/server-key` and writes nothing (`scripts/env.sh:415`) — the fail-closed behaviour the design relies on, so no leak and no blocker, but the rollout stops at the first step and the card is where it stopped. ADR-0007 is on this PR's side as well: a single `…/tls` path would put `SEMAPHORE_TLS_KEY` and the CA key's field on one path across two rotation clocks, the shape the record forbids. Clearing change: one comment on THE-106 substituting `secret/services/semaphore/tls/server-key` for `secret/services/semaphore/tls`. The card is where it is wrong and no hunk here touches it, which is why this is advice and not a block. ## Named, not charged - `docs/rotation-policy.md:76` puts `secret/services/**` at 180 d, and `docs/rotation-record.json` holds one row per class, so both new paths inherit a class whose interval does not describe a key bound to an 825-day leaf or a 10-year CA. The design discloses it — "Leaf expiry (2029-02-19) and CA expiry (2036-11-14) belong in `infra-secrets`' rotation record … A follow-up, not in these PRs" — so it is a disclosed deferral, not work this change claims. - `docs/store-layout.md:246` gives the CA key a row with no field name. THE-106's 13:13Z comment leaves that field to the Operator ("its field name is yours to choose"), so the row is honest rather than incomplete. - Nothing compares `bao/policies/` against the readable-set table (ADR-0007 §Consequences: the drift "is silent until something compares them"). The parity above was checked by hand here and holds; no test would catch the next drift. Pre-existing, and this change does not claim otherwise. ## Could not verify - **That both paths are absent, and what a read of them answers.** No store credential on this host, and the body says the same ("Not run: no store read and no store write"). THE-106's card records both absent on 2026-11-17; the first read that proves them is the first deploy's, as the body says. - **The Operator's seeding of either key.** Not this change's act, and the design assigns it to the Operator at step 0. ## Summary Spec: **0 findings** — every claim the body makes reproduced, and the two it disclaims named as unverified. Standards: **1 advisory**, A1, the rollout instruction on the ticket naming a path this grant does not cover; it is the worst on its axis and it is the only one. One advisory is under the third that would turn the recommendation, so the recommendation is **merge**, and A1 travels as advice. The change's class — a grant widening in the secrets store, applied by the deploy behind the merge — is the board's gate and not this review's: `paperclip:THE-106` is `in_review` (read live this round), and merging remains the board's decision after this label moves. This round applied the dispatch's narrowing, so the review state follows the findings.
bot-minos requested changes 2026-12-01 14:49:32 +00:00
Dismissed
bot-minos left a comment

olympus/infra-secrets #60 · head 66c953f · round 1/5 · 1 blocker, 2 advisories

Recommendation: fix

Spec source: paperclip:THE-106 and its design document, read live this round (GET /api/issues/THE-106 → 200, GET /api/issues/70de29f9…/documents → 200, GET /api/issues/70de29f9…/comments → 200, 4 entries, read in full). The line the change is measured against is the design's §Decision Keys: "Server key at secret/services/semaphore/tls/server-key (cockpit's deploy reads it, one policy line in infra-secrets). CA key at secret/services/semaphore/tls/ca-key (Operator only, read by no run)". Standards sources: AGENTS.md, docs/agents/*.md, and the olympus/workshop records this repo defers to, read at origin/main (6cc25e6, docs/adr/0007, 0009, 0011, 0013); this repo carries no CONTRIBUTING.md or CODING_STANDARDS.md.

Standards — 2 findings

B1 · BLOCKER · the two counts these pages maintain for exactly this change are left stale.
docs/store-identity.md:393 still reads read on "the eleven named paths in the identities table". At this head bao/policies/ci-cockpit.hcl carries twelve path blocks (grep -cE '^path "': 11 at the base 77b1268, 12 at 66c953f), and the identities row the sentence points at — docs/store-identity.md:116, which this change edited — lists all twelve by name: the six Semaphore paths in the braces, …/tls/server-key, the three state keys, the two secret/ci/cockpit/ credentials. The page now contradicts itself and the file in the same hunk family.
docs/store-layout.md:554 closes the page's own path ledger at "the layout declares 82 paths"; this change adds two rows to the table that ledger counts (:245 …/tls/server-key, :246 …/tls/ca-key), and no ledger paragraph accounts for them. The page's practice is explicit and mechanical: every path-adding change appends one paragraph in its own shape and states the new total — :498 "With the 55, the layout declares 62 paths", :512 "…count 70 paths", :523 "change adds its row, and the layout declares 71 paths", :530, :534, :538, :542, :550.
This is not my reading of the page; it is what the last change of this exact shape did. Commit 0037d85 ("ci-cockpit reaches the Semaphore projects Stack's two records (SC-23)") added two paths to the same policy and moved the same table row nine → eleven (git show 0037d85 -- docs/store-identity.md: -…the nine named paths… / +…the eleven named paths…) while appending +…count 73 paths and +…the layout declares 74 paths to the ledger. The control row is still exact at this head — automation-runner is 40 path blocks and :394 says "forty" — so the table is maintained, and this change is the one that stopped.
Why this blocks rather than advises: ADR-0007 §Consequences makes the readable-set table the audit ("the readable-set table is the audit and nothing enforces it"), and docs/store-identity.md:376 — "The policy text" — is this repo's inventory of bao/policies/, one row per file. A record that states a path count its own policy file contradicts is the drift that page exists to prevent, and no check in make check compares them (make check exit 0 at this head; nothing greps bao/policies/ against these pages).
Clearing change, two edits: eleven → twelve at docs/store-identity.md:393; one ledger paragraph in the page's own shape at docs/store-layout.md (82 → 84, stating that neither new path is written yet and that the card recorded both absent on 2026-11-17, as :245-246 already say).

A1 · ADVISORY · docs/store-identity.md:177 and docs/store-layout.md:245 state the certificate and CA are committed in olympus/infra-cockpit; at that repository's origin/main they are not.
olympus/infra-cockpit origin/main 459eca79 carries no semaphore/service/files/ at all (git ls-tree -r --name-only origin/main | grep semaphore/service — nothing); ca.crt and server.crt exist only on #36's branch, head 4cec71bf. The claim is true at that head, and the ordering is the design's (this merges before #36), but the page states it in the present tense and a reader cannot tell it rests on an unmerged branch. One clause naming the pull request — or moving the sentence after #36 merges — clears it.

Spec — 1 finding

A2 · ADVISORY · the ticket's step-0 seeding instruction names a path this grant does not cover, so the rollout's first act would seed a path nothing reads.
THE-106's comments say, at 2026-11-17T13:13:35Z, "the field is SEMAPHORE_TLS_KEY, not server-key … So the server's key lives at path secret/services/semaphore/tls, field SEMAPHORE_TLS_KEY", and repeat it in the state line at 14:19:39Z: "The store still holds neither SEMAPHORE_TLS_KEY at secret/services/semaphore/tls nor the CA key". The tree and the design agree against the card, and they win: cockpit's env.map:48 at 4cec71bf is secret/services/semaphore/tls/server-key SEMAPHORE_TLS_KEY, scripts/env.sh:422 reads .data.data[$name] at that path, this grant is secret/data/services/semaphore/tls/server-key (bao/policies/ci-cockpit.hcl:49), and docs/store-layout.md:245 names the same. An Operator following the card seeds …/tls; make env then finds the field empty at …/tls/server-key and refuses the whole run — fail-closed, no leak, but the rollout stops at step 0 and the card is where it stopped. ADR-0007 is on this change's side: a single …/tls path would put the server key and the CA key's field on one path across two rotation clocks (825-day leaf, 10-year CA), the shape the record forbids. Clearing change: one comment on THE-106 substituting the design's path — the card is wrong, no hunk here is, which is why this is advice and not a block.

Verified at 66c953f

claim what I ran result
the revision under review git ls-remote origin refs/pull/60/head, at the start and again before drafting 66c953f both times — the dispatch's SHA, the PR object's head.sha, and refs/pull/60/head alike; base 77b1268
the diff is the body's three files git diff 77b1268...66c953f --stat ci-cockpit.hcl +10, store-identity.md +11/−2, store-layout.md +2 — nothing else
the floor at this head mise exec -- make check in a worktree at 66c953f exit 0; semaphore-deploy 63, deploy-workflow 50, service-key 33, verify 9 assertions, 0 FAILED — the body's row, digit for digit
the policy parses and is unchanged by the formatter bao policy fmt on a copy rc 0, file byte-identical; working tree clean (git status --porcelain empty)
the path the deploy reads, and the field inside it olympus/infra-cockpit at 4cec71bf: env.map:48, scripts/env.sh:422 …/tls/server-key SEMAPHORE_TLS_KEY; .data.data[$name]. The ACL path this grant carries is the one the consumer fetches
the grant is a name, not a prefix grep -n 'semaphore/tls' bao/policies/*.hcl one hit, ci-cockpit.hcl:49; no other policy reaches …/tls/, so the CA key is unreachable by any run and only the Operator's secret/data/* covers it
the role that holds it docs/store-identity.md:116, ci-cockpit.hcl:1-5, ADR-0013 cockpit, infra-cockpit's push-to-main Deployer; a policy change on a role is ADR-0013's unit
the merge is the act that applies it bao/service/roles/openbao/tasks/store.yml:9 §7c, AGENTS.md §Checks "one edited policy file updates one policy", read-back guarded and applied by the store's own role on every push to main; the body's Door paragraph is right
the role's copy of the key cockpit semaphore/service/roles/semaphore/tasks/main.yml:235-240 dest: {{ semaphore_tls_dir }}/server.key, owner: root, group = the semaphore group, mode: "0640" — docs/store-layout.md:245 reproduces it exactly
the secret/hermes/tls comparison at docs/store-layout.md:246 olympus/infra-agents at origin/main 928fe6e, and docs/store-layout.md:266 the pair is present on 135 and asserted by roles/hermes/tasks/refusals.yml, read from no store path (env.map has no hermes/tls row). The analogy holds
CI at the reviewed head get_commit_statuses on 66c953f newest per context: pr-checks / check (pull_request) success (run 153, 14:45:45Z), plan / guest-plan-check (pull_request_target) success (run 152, 14:45:19Z). Run 151's red at 14:44:01Z was a mise install flake (jq checksum mismatch in deps), superseded at the same SHA — not charged
no secret in the diff the three hunks read line by line one ACL path, prose, two dates; no value, no key material

Could not verify

  • That both paths are absent, and what a read of them answers. No store credential on this host; the body says the same ("Not run: no store read and no store write"). THE-106's card records both absent on 2026-11-17 and the first read that proves them is the first deploy's.
  • The Operator's seeding of either key. Not this change's act; the design puts it at step 0.

Named, not charged

  • docs/rotation-policy.md's interval and docs/rotation-record.json's row for the two new paths: the design discloses the deferral ("Leaf expiry (2029-02-19) and CA expiry (2036-11-14) belong in infra-secrets' rotation record … A follow-up, not in these PRs").
  • docs/store-layout.md:246 gives the CA key no field name. THE-106's 13:13Z comment leaves that field to the Operator ("its field name is yours to choose"), so the row is honest, not incomplete.
  • Nothing compares bao/policies/ against the readable-set table (ADR-0007 §Consequences). The parity was checked by hand here and holds; the next drift would be silent. Pre-existing, and this change does not claim otherwise.

Summary

Standards: 2 findings — 1 blocker (B1) and 1 advisory; the blocker is the worst on its axis. Spec: 1 finding, an advisory (A2); no spec defect — the change does what the design's first rollout step asks, in the shape ADR-0007 requires. One blocker decides the recommendation: the recommendation is fix.

The class — a grant widening in the secrets store, applied by the deploy behind the merge — is the board's gate and not this review's, and the dispatch binds the state to the findings. Escalated: THE-110 (todo, the board's agent), read back after creation; merging remains the board's decision once this round's label moves. A sibling dispatch's review at this same head (id 757, 14:48:11Z, APPROVED) found A2 and recommended merge; it did not charge B1, and this round posts as the official review at 66c953f.

<!-- minos review-loop: repo=olympus/infra-secrets pr=60 head=66c953fdd53cebedb2c0b5730396a54e646e68dc round=1/5 axes=standards,spec --> **olympus/infra-secrets #60** · head `66c953f` · round 1/5 · **1 blocker, 2 advisories** Recommendation: fix Spec source: `paperclip:THE-106` and its `design` document, read live this round (`GET /api/issues/THE-106` → 200, `GET /api/issues/70de29f9…/documents` → 200, `GET /api/issues/70de29f9…/comments` → 200, 4 entries, read in full). The line the change is measured against is the design's §Decision *Keys*: "Server key at `secret/services/semaphore/tls/server-key` (cockpit's deploy reads it, one policy line in `infra-secrets`). CA key at `secret/services/semaphore/tls/ca-key` (Operator only, read by no run)". Standards sources: `AGENTS.md`, `docs/agents/*.md`, and the `olympus/workshop` records this repo defers to, read at `origin/main` (`6cc25e6`, `docs/adr/0007`, `0009`, `0011`, `0013`); this repo carries no `CONTRIBUTING.md` or `CODING_STANDARDS.md`. ## Standards — 2 findings **B1 · BLOCKER · the two counts these pages maintain for exactly this change are left stale.** `docs/store-identity.md:393` still reads `read` on "the **eleven** named paths in the identities table". At this head `bao/policies/ci-cockpit.hcl` carries **twelve** `path` blocks (`grep -cE '^path "'`: 11 at the base `77b1268`, 12 at `66c953f`), and the identities row the sentence points at — `docs/store-identity.md:116`, which this change edited — lists all twelve by name: the six Semaphore paths in the braces, `…/tls/server-key`, the three state keys, the two `secret/ci/cockpit/` credentials. The page now contradicts itself and the file in the same hunk family. `docs/store-layout.md:554` closes the page's own path ledger at "the layout declares **82** paths"; this change adds two rows to the table that ledger counts (`:245` `…/tls/server-key`, `:246` `…/tls/ca-key`), and no ledger paragraph accounts for them. The page's practice is explicit and mechanical: every path-adding change appends one paragraph in its own shape and states the new total — `:498` "With the 55, the layout declares 62 paths", `:512` "…count 70 paths", `:523` "change adds its row, and the layout declares 71 paths", `:530`, `:534`, `:538`, `:542`, `:550`. This is not my reading of the page; it is what the last change of this exact shape did. Commit `0037d85` ("ci-cockpit reaches the Semaphore projects Stack's two records (SC-23)") added two paths to the same policy and moved the same table row `nine` → `eleven` (`git show 0037d85 -- docs/store-identity.md`: `-…the nine named paths…` / `+…the eleven named paths…`) while appending `+…count 73 paths` and `+…the layout declares 74 paths` to the ledger. The control row is still exact at this head — `automation-runner` is 40 `path` blocks and `:394` says "forty" — so the table is maintained, and this change is the one that stopped. Why this blocks rather than advises: ADR-0007 §Consequences makes the readable-set table *the audit* ("the readable-set table is the audit and nothing enforces it"), and `docs/store-identity.md:376` — "The policy text" — is this repo's inventory of `bao/policies/`, one row per file. A record that states a path count its own policy file contradicts is the drift that page exists to prevent, and no check in `make check` compares them (`make check` exit 0 at this head; nothing greps `bao/policies/` against these pages). Clearing change, two edits: `eleven` → `twelve` at `docs/store-identity.md:393`; one ledger paragraph in the page's own shape at `docs/store-layout.md` (82 → 84, stating that neither new path is written yet and that the card recorded both absent on 2026-11-17, as `:245-246` already say). **A1 · ADVISORY · `docs/store-identity.md:177` and `docs/store-layout.md:245` state the certificate and CA are committed in `olympus/infra-cockpit`; at that repository's `origin/main` they are not.** `olympus/infra-cockpit` `origin/main` `459eca79` carries no `semaphore/service/files/` at all (`git ls-tree -r --name-only origin/main | grep semaphore/service` — nothing); `ca.crt` and `server.crt` exist only on `#36`'s branch, head `4cec71bf`. The claim is true at that head, and the ordering is the design's (this merges before `#36`), but the page states it in the present tense and a reader cannot tell it rests on an unmerged branch. One clause naming the pull request — or moving the sentence after `#36` merges — clears it. ## Spec — 1 finding **A2 · ADVISORY · the ticket's step-0 seeding instruction names a path this grant does not cover, so the rollout's first act would seed a path nothing reads.** THE-106's comments say, at `2026-11-17T13:13:35Z`, "the field is `SEMAPHORE_TLS_KEY`, not `server-key` … So the server's key lives at path `secret/services/semaphore/tls`, field `SEMAPHORE_TLS_KEY`", and repeat it in the state line at `14:19:39Z`: "The store still holds neither `SEMAPHORE_TLS_KEY` at `secret/services/semaphore/tls` nor the CA key". The tree and the design agree against the card, and they win: cockpit's `env.map:48` at `4cec71bf` is `secret/services/semaphore/tls/server-key SEMAPHORE_TLS_KEY`, `scripts/env.sh:422` reads `.data.data[$name]` at that path, this grant is `secret/data/services/semaphore/tls/server-key` (`bao/policies/ci-cockpit.hcl:49`), and `docs/store-layout.md:245` names the same. An Operator following the card seeds `…/tls`; `make env` then finds the field empty at `…/tls/server-key` and refuses the whole run — fail-closed, no leak, but the rollout stops at step 0 and the card is where it stopped. ADR-0007 is on this change's side: a single `…/tls` path would put the server key and the CA key's field on one path across two rotation clocks (825-day leaf, 10-year CA), the shape the record forbids. Clearing change: one comment on THE-106 substituting the design's path — the card is wrong, no hunk here is, which is why this is advice and not a block. ## Verified at `66c953f` | claim | what I ran | result | | --- | --- | --- | | the revision under review | `git ls-remote origin refs/pull/60/head`, at the start and again before drafting | `66c953f` both times — the dispatch's SHA, the PR object's `head.sha`, and `refs/pull/60/head` alike; base `77b1268` | | the diff is the body's three files | `git diff 77b1268...66c953f --stat` | `ci-cockpit.hcl` +10, `store-identity.md` +11/−2, `store-layout.md` +2 — nothing else | | the floor at this head | `mise exec -- make check` in a worktree at `66c953f` | exit 0; `semaphore-deploy 63`, `deploy-workflow 50`, `service-key 33`, `verify 9` assertions, 0 FAILED — the body's row, digit for digit | | the policy parses and is unchanged by the formatter | `bao policy fmt` on a copy | rc 0, file byte-identical; working tree clean (`git status --porcelain` empty) | | the path the deploy reads, and the field inside it | `olympus/infra-cockpit` at `4cec71bf`: `env.map:48`, `scripts/env.sh:422` | `…/tls/server-key SEMAPHORE_TLS_KEY`; `.data.data[$name]`. The ACL path this grant carries is the one the consumer fetches | | the grant is a name, not a prefix | `grep -n 'semaphore/tls' bao/policies/*.hcl` | one hit, `ci-cockpit.hcl:49`; no other policy reaches `…/tls/`, so the CA key is unreachable by any run and only the Operator's `secret/data/*` covers it | | the role that holds it | `docs/store-identity.md:116`, `ci-cockpit.hcl:1-5`, ADR-0013 | `cockpit`, infra-cockpit's push-to-main Deployer; a policy change on a role is ADR-0013's unit | | the merge is the act that applies it | `bao/service/roles/openbao/tasks/store.yml:9` §7c, `AGENTS.md` §Checks | "one edited policy file updates one policy", read-back guarded and applied by the store's own role on every push to `main`; the body's *Door* paragraph is right | | the role's copy of the key | cockpit `semaphore/service/roles/semaphore/tasks/main.yml:235-240` | `dest: {{ semaphore_tls_dir }}/server.key`, `owner: root`, `group` = the semaphore group, `mode: "0640"` — `docs/store-layout.md:245` reproduces it exactly | | the `secret/hermes/tls` comparison at `docs/store-layout.md:246` | `olympus/infra-agents` at `origin/main` `928fe6e`, and `docs/store-layout.md:266` | the pair is present on 135 and asserted by `roles/hermes/tasks/refusals.yml`, read from no store path (`env.map` has no `hermes/tls` row). The analogy holds | | CI at the reviewed head | `get_commit_statuses` on `66c953f` | newest per context: `pr-checks / check (pull_request)` success (run 153, 14:45:45Z), `plan / guest-plan-check (pull_request_target)` success (run 152, 14:45:19Z). Run 151's red at 14:44:01Z was a mise install flake (`jq` checksum mismatch in `deps`), superseded at the same SHA — not charged | | no secret in the diff | the three hunks read line by line | one ACL path, prose, two dates; no value, no key material | ## Could not verify - **That both paths are absent, and what a read of them answers.** No store credential on this host; the body says the same ("Not run: no store read and no store write"). THE-106's card records both absent on 2026-11-17 and the first read that proves them is the first deploy's. - **The Operator's seeding of either key.** Not this change's act; the design puts it at step 0. ## Named, not charged - `docs/rotation-policy.md`'s interval and `docs/rotation-record.json`'s row for the two new paths: the design discloses the deferral ("Leaf expiry (2029-02-19) and CA expiry (2036-11-14) belong in `infra-secrets`' rotation record … A follow-up, not in these PRs"). - `docs/store-layout.md:246` gives the CA key no field name. THE-106's 13:13Z comment leaves that field to the Operator ("its field name is yours to choose"), so the row is honest, not incomplete. - Nothing compares `bao/policies/` against the readable-set table (ADR-0007 §Consequences). The parity was checked by hand here and holds; the next drift would be silent. Pre-existing, and this change does not claim otherwise. ## Summary Standards: **2 findings — 1 blocker (B1)** and 1 advisory; the blocker is the worst on its axis. Spec: **1 finding, an advisory (A2)**; no spec defect — the change does what the design's first rollout step asks, in the shape ADR-0007 requires. One blocker decides the recommendation: the recommendation is **fix**. The class — a grant widening in the secrets store, applied by the deploy behind the merge — is the board's gate and not this review's, and the dispatch binds the state to the findings. Escalated: **THE-110** (`todo`, the board's agent), read back after creation; merging remains the board's decision once this round's label moves. A sibling dispatch's review at this same head (id 757, `14:48:11Z`, APPROVED) found A2 and recommended merge; it did not charge B1, and this round posts as the official review at `66c953f`.
Member

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

**Acknowledged** (round 0/5) — fixing now; what changed and how I verified it follows.
docs: the counts follow the two TLS paths, and the certificate's home is #36 (paperclip:THE-106)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 17s
pr-checks / check (pull_request) Successful in 41s
5ec7f79b55
Two tallies the policy edit moved were left behind. The identity page's
policy table still said `ci-cockpit` reads eleven named paths;
`bao/policies/ci-cockpit.hcl` carries twelve `path` blocks at the reviewed
head, and the identities row it points at already listed the new one. The
layout's ledger stopped at 82 paths after the npm/api retirement, while the
`secret/services/…` table gained two rows, so it gains a rung at 84 and says
neither is written yet.

Three sentences this change wrote — the policy comment, the identity page's
reach paragraph and the layout's `…/tls/server-key` row — called the
certificate and the CA "committed in olympus/infra-cockpit". They are, on
#36's branch at 4cec71bf; `origin/main` at 459eca79 carries no
`semaphore/service/files/` at all. Each now names the pull request and the
branch state, so a reader cannot take an unmerged branch for the tree.

No store read and no store write: both paths are the Operator's to seed.
Member

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

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

olympus/infra-secrets #60 · 5ec7f79 on hermes/the106-grant-semaphore-tls-key · answering the round 1/5 report (review 758, REQUEST_CHANGES, 1 blocker + 2 advisories)

The dispatch counter read 0/5; the newest official review reads round=1/5 and is the one worked here. The APPROVED sibling at the same head (id 757, 14:48:11Z) found only A2, did not charge B1, and the official copy superseded it at 14:49:32Z.

Findings

finding grade state change
B1 — the two counts these pages maintain for exactly this change are stale BLOCKER resolved 5ec7f79
A1 — store-identity.md:177 and store-layout.md:245 state the certificate and CA are committed in olympus/infra-cockpit; at its origin/main they are not ADVISORY resolved 5ec7f79
A2 — THE-106's card names secret/services/semaphore/tls, a path nothing reads ADVISORY (spec) left alone, another tracker's file —

B1 — the two edits the finding prescribed. docs/store-identity.md:394 now reads twelve named paths: grep -cE '^path "' bao/policies/ci-cockpit.hcl is 11 at the base 77b1268 and 12 at this head, and the identities row at :116 already listed all twelve by name. docs/store-layout.md gains one ledger rung after the npm/api retirement, in the page's own shape — "Two more are declared for the TLS listener (paperclip:THE-106) … With them the layout declares 84 paths" — saying that neither path is written yet and that the card recorded both absent on 2026-11-17. The other restatements of the counts (the Counts paragraph, the appendix tally) are appendix-derived and do not move; the checker below confirms both.

A1 — three sites, not the two the finding named. The same present-tense claim also sits in the policy file's own new comment (bao/policies/ci-cockpit.hcl:43-44), which is bytes this diff writes, so it moved with them; that third edit is mine and is disclosed here. All three now name olympus/infra-cockpit#36 and say main does not carry the pair yet. Re-derived: git ls-tree -r --name-only origin/main in workspace/infra-cockpit (main at 459eca79) returns no semaphore/service/files/ at all, while 4cec71bf — #36's head — carries semaphore/service/files/{ca.crt,server.crt}. #36 is open, head 4cec71bf, base 459eca79.

Commands, and what they printed

command output
git archive 5ec7f79 | tar -x -C <fresh dir>; mise exec -- make check in that copy rc 0 — env-check: the pin and the map agree, env fetch: every case passed, mcp-env tests: all cases pass, plan tests: every case passed, rotation tests: all passed, snapshot-test: every assertion holds, prod-test: 8 assertions, 0 FAILED, semaphore-deploy tests: 63, deploy-workflow tests: 50, service-key tests: 33, verify tests: 9 — 0 FAILED in each
python3 scripts/layout-counts.py docs/store-layout.md (the repo-skill re-derivation of every restated figure) ladder rungs: [62, 67, 70, 71, 77, 78, 79, 80, 83, 82, 84], all ok; counts close: 69 rows · 56 path cells · 45 distinct · 8 alternations · 53 resolved · 55 live; layout counts: OK (rc 0)
mise exec -- bao policy fmt on a copy, then diff -u against the file Success! Formatted policy: … and an empty diff — the comment edit is formatter-neutral
served read-back: GET /api/v1/repos/olympus/infra-secrets/raw/<path>?ref=5ec7f79… all three files byte-identical to the tree that was checked; the served copies carry twelve named paths, declares 84 paths, and `olympus/infra-cockpit` by #36

The make check was run on the archived commit, not on the working tree, so the tree it judged is the tree the branch holds.

Self-review: code-review's two axes were run by me, in sequence, in this context — no sub-agent was spawned, because a child without the tracker decision and the reviewer's grade reports against a diff it cannot judge. Standards: widths match the files (74–81), the rung follows the page's existing shape, and the diff carries no value or key material. Spec: the grant itself is untouched — one named path, read only, CA key out — and the fix only makes the record describe it.

Left alone

A2 (advisory, spec) — the card is wrong, not the tree, and the card is not here. The clearing change the finding names is one comment on THE-106 in paperclip; no hunk in this repository can carry it. The tree agrees with the design against the card: env.map:48 at 4cec71bf is secret/services/semaphore/tls/server-key SEMAPHORE_TLS_KEY, scripts/env.sh:422 reads .data.data[$name] at that path, and the grant is that path. I could not re-read the card from this identity — GET https://paperclip.thepit.space/api/issues/THE-106 answers 404 {"error":"Issue not found"} and /api/companies answers 403 — so the two quotes stay the review's. Substituting secret/services/semaphore/tls/server-key in that card's 13:13Z comment clears it.

CI at this head — red, and not this change

pr-checks / check (pull_request) on 5ec7f79 failed after 3 s (run 155), and the run's own step list says where: Set up job ok → actions/checkout@v5 ok → Install the toolchain failure (1 s) → Put mise on PATH and check skipped. That step is make deps, which reads mise.toml and mise.lock — untouched by this diff — and the plan / guest-plan-check run at the same commit passed in 13 s.

To separate the flake from the tree I dispatched the same workflow on this branch: run 823 finished green in 38 s at 5ec7f79, i.e. make deps and then mise exec -- make check on exactly these bytes. The red is the toolchain fetch, the same class the Operator diagnosed on run 151 at 66c953f, not this change.

What I cannot do from here: that dispatched run posts no commit status, so pr-checks / check (pull_request) still reads failure at this head, and this instance (Forgejo 15.0.9) exposes no re-run route — POST …/actions/runs/155/rerun and …/actions/jobs/1741/logs both answer 404 page not found, and the run page ships an empty step log. Only a synchronize or reopened event refreshes the context. That is why the state label is review/needs-operator: one act is left, and it is not a fix — re-run pr-checks on this head (close and re-open, as this thread did at 66c953f, or the Actions Re-run button), then move the label back to review/needs-review.

Notes

  • PR body: the committed fix moved its own figures, so the summary block and the make check row were brought to this head (+11 / +9 / +11 −3, check at 5ec7f79), the body PATCHed and read back byte-identical. No other sentence in it was touched.
  • Named, not charged, and not mine: the repo-skill's docs-check.py . reports one pre-existing problem, docs/proxmox-credentials.md:49 — [THE-5](/THE/issues/THE-5), a paperclip reference with no host, so it 404s from the forge. It is present at the base 77b1268, untouched by this diff, and wants a ticket of its own rather than a widening of this round.
<!-- fix-meta repo=olympus/infra-secrets pr=60 head=5ec7f79b5587141f8a4aad1066043671510fdcc7 round=1/5 disposition=fixed-escalated --> **olympus/infra-secrets #60** · `5ec7f79` on `hermes/the106-grant-semaphore-tls-key` · answering the round `1/5` report (review 758, `REQUEST_CHANGES`, 1 blocker + 2 advisories) The dispatch counter read `0/5`; the newest **official** review reads `round=1/5` and is the one worked here. The APPROVED sibling at the same head (id 757, `14:48:11Z`) found only A2, did not charge B1, and the official copy superseded it at `14:49:32Z`. ## Findings | finding | grade | state | change | | --- | --- | --- | --- | | **B1** — the two counts these pages maintain for exactly this change are stale | BLOCKER | resolved | `5ec7f79` | | **A1** — `store-identity.md:177` and `store-layout.md:245` state the certificate and CA are committed in `olympus/infra-cockpit`; at its `origin/main` they are not | ADVISORY | resolved | `5ec7f79` | | **A2** — THE-106's card names `secret/services/semaphore/tls`, a path nothing reads | ADVISORY (spec) | left alone, another tracker's file | — | **B1 — the two edits the finding prescribed.** `docs/store-identity.md:394` now reads *twelve* named paths: `grep -cE '^path "' bao/policies/ci-cockpit.hcl` is 11 at the base `77b1268` and 12 at this head, and the identities row at `:116` already listed all twelve by name. `docs/store-layout.md` gains one ledger rung after the npm/api retirement, in the page's own shape — *"Two more are declared for the TLS listener (paperclip:THE-106) … With them the layout declares 84 paths"* — saying that neither path is written yet and that the card recorded both absent on 2026-11-17. The other restatements of the counts (the Counts paragraph, the appendix tally) are appendix-derived and do not move; the checker below confirms both. **A1 — three sites, not the two the finding named.** The same present-tense claim also sits in the policy file's own new comment (`bao/policies/ci-cockpit.hcl:43-44`), which is bytes this diff writes, so it moved with them; that third edit is mine and is disclosed here. All three now name `olympus/infra-cockpit#36` and say `main` does not carry the pair yet. Re-derived: `git ls-tree -r --name-only origin/main` in `workspace/infra-cockpit` (main at `459eca79`) returns no `semaphore/service/files/` at all, while `4cec71bf` — #36's head — carries `semaphore/service/files/{ca.crt,server.crt}`. `#36` is open, head `4cec71bf`, base `459eca79`. ## Commands, and what they printed | command | output | | --- | --- | | `git archive 5ec7f79 \| tar -x -C <fresh dir>`; `mise exec -- make check` in that copy | **rc 0** — `env-check: the pin and the map agree`, `env fetch: every case passed`, `mcp-env tests: all cases pass`, `plan tests: every case passed`, `rotation tests: all passed`, `snapshot-test: every assertion holds`, `prod-test: 8 assertions, 0 FAILED`, `semaphore-deploy tests: 63`, `deploy-workflow tests: 50`, `service-key tests: 33`, `verify tests: 9` — `0 FAILED` in each | | `python3 scripts/layout-counts.py docs/store-layout.md` (the repo-skill re-derivation of every restated figure) | `ladder rungs: [62, 67, 70, 71, 77, 78, 79, 80, 83, 82, 84]`, all `ok`; `counts close: 69 rows · 56 path cells · 45 distinct · 8 alternations · 53 resolved · 55 live`; `layout counts: OK` (rc 0) | | `mise exec -- bao policy fmt` on a copy, then `diff -u` against the file | `Success! Formatted policy: …` and an empty diff — the comment edit is formatter-neutral | | served read-back: `GET /api/v1/repos/olympus/infra-secrets/raw/<path>?ref=5ec7f79…` | all three files byte-identical to the tree that was checked; the served copies carry `twelve named paths`, `declares 84 paths`, and `` `olympus/infra-cockpit` by #36 `` | The `make check` was run on the archived commit, not on the working tree, so the tree it judged is the tree the branch holds. Self-review: `code-review`'s two axes were run **by me, in sequence, in this context** — no sub-agent was spawned, because a child without the tracker decision and the reviewer's grade reports against a diff it cannot judge. Standards: widths match the files (74–81), the rung follows the page's existing shape, and the diff carries no value or key material. Spec: the grant itself is untouched — one named path, `read` only, CA key out — and the fix only makes the record describe it. ## Left alone **A2 (advisory, spec) — the card is wrong, not the tree, and the card is not here.** The clearing change the finding names is one comment on THE-106 in paperclip; no hunk in this repository can carry it. The tree agrees with the design against the card: `env.map:48` at `4cec71bf` is `secret/services/semaphore/tls/server-key SEMAPHORE_TLS_KEY`, `scripts/env.sh:422` reads `.data.data[$name]` at that path, and the grant is that path. I could not re-read the card from this identity — `GET https://paperclip.thepit.space/api/issues/THE-106` answers `404 {"error":"Issue not found"}` and `/api/companies` answers `403` — so the two quotes stay the review's. Substituting `secret/services/semaphore/tls/server-key` in that card's 13:13Z comment clears it. ## CI at this head — red, and not this change `pr-checks / check (pull_request)` on `5ec7f79` failed after **3 s** (run 155), and the run's own step list says where: `Set up job` ok → `actions/checkout@v5` ok → **`Install the toolchain` failure (1 s)** → `Put mise on PATH` and `check` **skipped**. That step is `make deps`, which reads `mise.toml` and `mise.lock` — untouched by this diff — and the `plan / guest-plan-check` run at the same commit passed in 13 s. To separate the flake from the tree I dispatched the same workflow on this branch: **run 823 finished green in 38 s at `5ec7f79`**, i.e. `make deps` and then `mise exec -- make check` on exactly these bytes. The red is the toolchain fetch, the same class the Operator diagnosed on run 151 at `66c953f`, not this change. What I cannot do from here: that dispatched run posts no commit status, so `pr-checks / check (pull_request)` still reads **failure** at this head, and this instance (Forgejo 15.0.9) exposes no re-run route — `POST …/actions/runs/155/rerun` and `…/actions/jobs/1741/logs` both answer `404 page not found`, and the run page ships an empty step log. Only a `synchronize` or `reopened` event refreshes the context. That is why the state label is `review/needs-operator`: **one act is left, and it is not a fix** — re-run `pr-checks` on this head (close and re-open, as this thread did at `66c953f`, or the Actions *Re-run* button), then move the label back to `review/needs-review`. ## Notes - **PR body:** the committed fix moved its own figures, so the summary block and the `make check` row were brought to this head (`+11` / `+9` / `+11 −3`, check at `5ec7f79`), the body `PATCH`ed and read back byte-identical. No other sentence in it was touched. - **Named, not charged, and not mine:** the repo-skill's `docs-check.py .` reports one pre-existing problem, `docs/proxmox-credentials.md:49` — `[THE-5](/THE/issues/THE-5)`, a paperclip reference with no host, so it 404s from the forge. It is present at the base `77b1268`, untouched by this diff, and wants a ticket of its own rather than a widening of this round.
Author
Owner

Operator — taking over: bot-efesto handed it over — read its newest comment on the PR.

**Operator** — taking over: bot-efesto handed it over — read its newest comment on the PR.
bot-minos approved these changes 2026-12-01 14:57:55 +00:00
Dismissed
bot-minos left a comment

olympus/infra-secrets #60 · head 5ec7f79 · round 2/5 · 0 blockers, 2 advisories

Recommendation: merge

Round number: the dispatch numbered this 1/5 and the sign-on comment carries that number, posted before the review list was read. The thread already carries one round — two review objects at 66c953f (id 757 APPROVED, id 758 REQUEST_CHANGES, official), both with round=1/5 and the same commit_id, so they collapse to one — and this is the second.

Spec source: paperclip:THE-106 and its design document, read live this round (fetch-paperclip-issue.sh THE-106 design: GET /api/issues/THE-106 → 200, GET /api/issues/70de29f9…/documents → 200, 8771 bytes; comments read separately → 200, 4 entries). The line the change is measured against is the design's §Decision Keys: "Server key at secret/services/semaphore/tls/server-key (cockpit's deploy reads it, one policy line in infra-secrets). CA key at secret/services/semaphore/tls/ca-key (Operator only, read by no run)", with "ADR-0007: one credential per path, rotating on its own clock". Standards sources: AGENTS.md, docs/agents/*.md, and the olympus/workshop records this repo defers to, read at origin/main 6cc25e6 (docs/adr/0007, 0009, 0011, 0013); this repo carries no CONTRIBUTING.md or CODING_STANDARDS.md.

Round 1's findings, re-driven at this head

B1 (blocker, round 1) — the two counts these pages maintain were stale: cleared by 5ec7f79. docs/store-identity.md:394 now reads "the twelve named paths"; grep -cE '^path "' on bao/policies/ci-cockpit.hcl answers 12 at 5ec7f79 against 11 at the base 77b1268, and the identities row the sentence points at (docs/store-identity.md:116, edited by this change) lists twelve by name. The parity is measured, not eyeballed: bao-policy-table-census.py . cockpit prints policy path blocks: 12 (unique 12) table row 'cockpit' entries: 12 (unique 12) … same set: True, empty in both directions. The ledger docs/store-layout.md:554 still closes at 82, and the new paragraph at :556-561 adds the two rows and states 84; the ladder closes arithmetically at every step — 55→62→67→70→71→77→78→79→80→83→(retirement 82)→84.

A1 (advisory, round 1) — the certificate stated as committed in infra-cockpit in the present tense: cleared at all three sites, and the corrected claim is true. bao/policies/ci-cockpit.hcl:44-46, docs/store-identity.md:177-178 and docs/store-layout.md:245 now say "on #36's branch / since main carries neither yet". Verified against the sibling: olympus/infra-cockpit origin/main 459eca79 carries 0 files under semaphore/service/files/; #36's head 4cec71bf carries semaphore/service/files/{ca.crt,server.crt}.

Standards — 1 finding

A1 · ADVISORY · the required check is red at the reviewed head — a merge-gate fact, not a defect in this tree.
get_commit_statuses at 5ec7f79 answers pr-checks / check (pull_request) failure, run 155, "Failing after 3s" (14:53:22Z), while plan / guest-plan-check is success (run 154, 13s). The job log (attempt 1, 10833 bytes) puts the cause in the toolchain install, not the diff: curl: (22) The requested URL returned error: 618, then mise: no checksum found for mise-v2026.10.8-linux-x64.tar.gz, refusing to install it unverified, then make: *** [Makefile:316: deps] Error 1. That is the same class as run 151's jq checksum mismatch at 66c953f, which the Operator cleared by re-running, and it is not this tree's: in a worktree at this head mise exec -- make check is rc 0 — semaphore-deploy tests: 63, deploy-workflow: 50, service-key: 33, verify: 9, all 0 FAILED.
Cost: main refuses to merge while that context is red, so the merge is gated on it. Clearing change: re-run pr-checks / check at this head (the close-and-re-open route that cleared run 151 works; so does a re-dispatch).

Spec — 1 finding

A2 · ADVISORY (carried from round 1) · the ticket's step-0 seeding instruction still names a path this grant does not cover.
THE-106's comment at 2026-11-17T13:13:35Z reads, in full, "Correction to the store instruction above: the field is SEMAPHORE_TLS_KEY, not server-key. scripts/env.sh reads a path with .data.data[$name], where $name is the environment variable from env.map (scripts/env.sh:422). So the server's key lives at path secret/services/semaphore/tls, field SEMAPHORE_TLS_KEY." The design, this grant and the consumer all disagree with the card's path: the design's §Decision says …/tls/server-key, bao/policies/ci-cockpit.hcl:50 grants secret/data/services/semaphore/tls/server-key, docs/store-layout.md:245 names the same, and infra-cockpit at 4cec71bf has env.map:48 = secret/services/semaphore/tls/server-key SEMAPHORE_TLS_KEY with scripts/env.sh:422 reading .data.data[$k] there. An Operator who follows the card seeds …/tls; make env then answers 404 … does not exist in the store (404); nothing written. (scripts/env.sh:415) at …/tls/server-key — fail-closed, no leak, but the rollout stops at step 0 and the card is where it stopped. ADR-0007 is on this change's side: one …/tls path would put the server key and the CA key's field on one path across two rotation clocks (825-day leaf, 10-year CA), the shape the record forbids. Clearing change: one comment on THE-106 substituting the design's path. The card, not any hunk here, is wrong — which is why it is advice and not a block, and why it is unchanged since round 1.

Verified at 5ec7f79

claim what I ran result
the revision under review git ls-remote origin refs/pull/60/head, at the start and again after the last probe 5ec7f79 both times — the dispatch's SHA, the PR object's head.sha, and refs/pull/60/head alike; base 77b1268
the round is stacked, and its delta git merge-base --is-ancestor 66c953f HEAD; git diff 66c953f 5ec7f79 --stat true; ci-cockpit.hcl +4/−3, store-identity.md +5/−4, store-layout.md +8/−1 — every hunk maps to B1 or to the branch clause of A1, nothing else
the floor at this head mise exec -- make check in a worktree at 5ec7f79, run twice rc 0; semaphore-deploy 63, deploy-workflow 50, service-key 33, verify 9, 0 FAILED. The first run tripped the suite's own known race — deploy-workflow.sh:51: printf: write error: Broken pipe, one FAIL — and make deploy-test then ran four consecutive times green (63/50/33/9, 0 FAILED each). Named, not charged below
the policy parses and the formatter is a no-op bao policy fmt on a copy rc 0, file byte-identical
the grant is a name, not a prefix this head's policy on a throwaway bao dev server, token capabilities for a token carrying only it …/tls/server-key read; …/tls/ca-key deny; …/tls deny; …/deploy-ssh deny; …/tls/server-key/extra deny; secret/metadata/services/semaphore/tls deny
the CA half is reachable by no policy grep -n 'semaphore/tls' bao/policies/*.hcl one hit, ci-cockpit.hcl:50, the server key; no policy carries …/tls/ca-key
the readable-set table is still the policy bao-policy-table-census.py . cockpit 12 and 12, same set: True, both difference lists empty
the path and the field the deploy reads olympus/infra-cockpit at 4cec71bf: env.map:48, scripts/env.sh:415, :422 secret/services/semaphore/tls/server-key SEMAPHORE_TLS_KEY; .data.data[$k] at that path; a 404 refuses and writes nothing
the role's own copy of the key semaphore/service/roles/semaphore/tasks/main.yml:235-238 dest: {{ semaphore_tls_dir }}/server.key, owner: root, group: {{ semaphore_group }}, mode: "0640" — docs/store-layout.md:245 reproduces it
the two docs files I read are the head's git cat-file -p <head>:<path> | sha256sum beside sha256sum <path> 644e64ea0c60… both, git status --porcelain empty
no secret in the diff all three hunks read line by line one ACL path, prose, two dates; no value, no key material
the escalation the class owes exists search-paperclip-issues.py THE-110 THE-110 in_progress, "Escalate: olympus/infra-secrets#60 … (tier-1)", id f1aa4f09…, updated 2026-12-01T14:49:07Z

Could not verify

  • That both paths are absent, and what a read of them answers. No store credential on this host, and the body says the same ("Not run: no store read and no store write"). THE-106's card records both absent on 2026-11-17; the first read that proves them is the first deploy's.
  • The Operator's seeding of either key. Not this change's act; the design puts it at step 0.

Named, not charged

  • docs/store-layout.md:558-559's "Neither is written yet" is dated to the card's 2026-11-17 record, as every row on that page dates its written-state. It goes stale when the Operator seeds at the design's step 0, which is before this merges; that is a one-phrase update at the time, not a defect in this change.
  • The rotation record's interval for the two new paths (docs/rotation-policy.md, docs/rotation-record.json): the design discloses the deferral — "Leaf expiry (2029-02-19) and CA expiry (2036-11-14) belong in infra-secrets' rotation record … A follow-up, not in these PRs".
  • Nothing compares bao/policies/ against the readable-set table (ADR-0007 §Consequences: the drift "is silent until something compares them"). The parity was checked by hand above and holds; no test would catch the next drift. Pre-existing, and this change does not claim otherwise.
  • Run 155's red, and the local deploy-workflow.sh race on my first floor run: both are the runner and the suite, not the tree.

Summary

Standards: 1 finding, an advisory (A1) — the required pr-checks / check red at this head, a merge-gate fact about the runner's toolchain fetch; it is the worst on its axis. Spec: 1 finding, an advisory (A2, carried) — the ticket card's step-0 path, which this diff does not touch; it is the worst on its axis and no spec defect stands against the change. Round 1's blocker B1 and advisory A1 are both cleared, each re-driven above.

Two advisories are under the third that would turn the recommendation, so the recommendation is merge, and both travel as advice; zero blockers, so the state follows them. The change's class — a grant widening in the secrets store, applied by the deploy behind the merge — is the board's gate and not this review's: THE-110 reads in_progress (read live this round), and the dispatch puts that hold on the card rather than on the state. Merging remains the board's decision after this label moves.

<!-- minos review-loop: repo=olympus/infra-secrets pr=60 head=5ec7f79b5587141f8a4aad1066043671510fdcc7 round=2/5 axes=standards,spec --> **olympus/infra-secrets #60** · head `5ec7f79` · round 2/5 · 0 blockers, 2 advisories Recommendation: merge Round number: the dispatch numbered this 1/5 and the sign-on comment carries that number, posted before the review list was read. The thread already carries one round — two review objects at `66c953f` (id 757 `APPROVED`, id 758 `REQUEST_CHANGES`, official), both with `round=1/5` and the same `commit_id`, so they collapse to one — and this is the second. Spec source: `paperclip:THE-106` and its `design` document, read live this round (`fetch-paperclip-issue.sh THE-106 design`: `GET /api/issues/THE-106` → 200, `GET /api/issues/70de29f9…/documents` → 200, 8771 bytes; comments read separately → 200, 4 entries). The line the change is measured against is the design's §Decision *Keys*: "Server key at `secret/services/semaphore/tls/server-key` (cockpit's deploy reads it, one policy line in `infra-secrets`). CA key at `secret/services/semaphore/tls/ca-key` (Operator only, read by no run)", with "ADR-0007: one credential per path, rotating on its own clock". Standards sources: `AGENTS.md`, `docs/agents/*.md`, and the `olympus/workshop` records this repo defers to, read at `origin/main` `6cc25e6` (`docs/adr/0007`, `0009`, `0011`, `0013`); this repo carries no `CONTRIBUTING.md` or `CODING_STANDARDS.md`. ## Round 1's findings, re-driven at this head **B1 (blocker, round 1) — the two counts these pages maintain were stale: cleared by `5ec7f79`.** `docs/store-identity.md:394` now reads "the **twelve** named paths"; `grep -cE '^path "'` on `bao/policies/ci-cockpit.hcl` answers **12** at `5ec7f79` against **11** at the base `77b1268`, and the identities row the sentence points at (`docs/store-identity.md:116`, edited by this change) lists twelve by name. The parity is measured, not eyeballed: `bao-policy-table-census.py . cockpit` prints `policy path blocks: 12 (unique 12) table row 'cockpit' entries: 12 (unique 12) … same set: True`, empty in both directions. The ledger `docs/store-layout.md:554` still closes at 82, and the new paragraph at `:556-561` adds the two rows and states 84; the ladder closes arithmetically at every step — 55→62→67→70→71→77→78→79→80→83→(retirement 82)→**84**. **A1 (advisory, round 1) — the certificate stated as committed in `infra-cockpit` in the present tense: cleared at all three sites, and the corrected claim is true.** `bao/policies/ci-cockpit.hcl:44-46`, `docs/store-identity.md:177-178` and `docs/store-layout.md:245` now say "on #36's branch / since `main` carries neither yet". Verified against the sibling: `olympus/infra-cockpit` `origin/main` `459eca79` carries **0** files under `semaphore/service/files/`; `#36`'s head `4cec71bf` carries `semaphore/service/files/{ca.crt,server.crt}`. ## Standards — 1 finding **A1 · ADVISORY · the required check is red at the reviewed head — a merge-gate fact, not a defect in this tree.** `get_commit_statuses` at `5ec7f79` answers `pr-checks / check (pull_request)` **failure**, run 155, "Failing after 3s" (14:53:22Z), while `plan / guest-plan-check` is success (run 154, 13s). The job log (attempt 1, 10833 bytes) puts the cause in the toolchain install, not the diff: `curl: (22) The requested URL returned error: 618`, then `mise: no checksum found for mise-v2026.10.8-linux-x64.tar.gz, refusing to install it unverified`, then `make: *** [Makefile:316: deps] Error 1`. That is the same class as run 151's `jq` checksum mismatch at `66c953f`, which the Operator cleared by re-running, and it is not this tree's: in a worktree at this head `mise exec -- make check` is **rc 0** — `semaphore-deploy tests: 63`, `deploy-workflow: 50`, `service-key: 33`, `verify: 9`, all `0 FAILED`. Cost: `main` refuses to merge while that context is red, so the merge is gated on it. Clearing change: re-run `pr-checks / check` at this head (the close-and-re-open route that cleared run 151 works; so does a re-dispatch). ## Spec — 1 finding **A2 · ADVISORY (carried from round 1) · the ticket's step-0 seeding instruction still names a path this grant does not cover.** THE-106's comment at `2026-11-17T13:13:35Z` reads, in full, "Correction to the store instruction above: the field is `SEMAPHORE_TLS_KEY`, not `server-key`. `scripts/env.sh` reads a path with `.data.data[$name]`, where `$name` is the environment variable from `env.map` (`scripts/env.sh:422`). So the server's key lives at path `secret/services/semaphore/tls`, field `SEMAPHORE_TLS_KEY`." The design, this grant and the consumer all disagree with the card's path: the design's §Decision says `…/tls/server-key`, `bao/policies/ci-cockpit.hcl:50` grants `secret/data/services/semaphore/tls/server-key`, `docs/store-layout.md:245` names the same, and `infra-cockpit` at `4cec71bf` has `env.map:48` = `secret/services/semaphore/tls/server-key SEMAPHORE_TLS_KEY` with `scripts/env.sh:422` reading `.data.data[$k]` there. An Operator who follows the card seeds `…/tls`; `make env` then answers `404 … does not exist in the store (404); nothing written.` (`scripts/env.sh:415`) at `…/tls/server-key` — fail-closed, no leak, but the rollout stops at step 0 and the card is where it stopped. ADR-0007 is on this change's side: one `…/tls` path would put the server key and the CA key's field on one path across two rotation clocks (825-day leaf, 10-year CA), the shape the record forbids. Clearing change: one comment on THE-106 substituting the design's path. The card, not any hunk here, is wrong — which is why it is advice and not a block, and why it is unchanged since round 1. ## Verified at `5ec7f79` | claim | what I ran | result | | --- | --- | --- | | the revision under review | `git ls-remote origin refs/pull/60/head`, at the start and again after the last probe | `5ec7f79` both times — the dispatch's SHA, the PR object's `head.sha`, and `refs/pull/60/head` alike; base `77b1268` | | the round is stacked, and its delta | `git merge-base --is-ancestor 66c953f HEAD`; `git diff 66c953f 5ec7f79 --stat` | true; `ci-cockpit.hcl` +4/−3, `store-identity.md` +5/−4, `store-layout.md` +8/−1 — every hunk maps to B1 or to the branch clause of A1, nothing else | | the floor at this head | `mise exec -- make check` in a worktree at `5ec7f79`, run twice | **rc 0**; `semaphore-deploy 63`, `deploy-workflow 50`, `service-key 33`, `verify 9`, 0 FAILED. The first run tripped the suite's own known race — `deploy-workflow.sh:51: printf: write error: Broken pipe`, one FAIL — and `make deploy-test` then ran four consecutive times green (63/50/33/9, 0 FAILED each). Named, not charged below | | the policy parses and the formatter is a no-op | `bao policy fmt` on a copy | rc 0, file byte-identical | | the grant is a name, not a prefix | this head's policy on a throwaway `bao` dev server, `token capabilities` for a token carrying only it | `…/tls/server-key` **read**; `…/tls/ca-key` **deny**; `…/tls` **deny**; `…/deploy-ssh` **deny**; `…/tls/server-key/extra` **deny**; `secret/metadata/services/semaphore/tls` **deny** | | the CA half is reachable by no policy | `grep -n 'semaphore/tls' bao/policies/*.hcl` | one hit, `ci-cockpit.hcl:50`, the server key; no policy carries `…/tls/ca-key` | | the readable-set table is still the policy | `bao-policy-table-census.py . cockpit` | 12 and 12, `same set: True`, both difference lists empty | | the path and the field the deploy reads | `olympus/infra-cockpit` at `4cec71bf`: `env.map:48`, `scripts/env.sh:415`, `:422` | `secret/services/semaphore/tls/server-key SEMAPHORE_TLS_KEY`; `.data.data[$k]` at that path; a 404 refuses and writes nothing | | the role's own copy of the key | `semaphore/service/roles/semaphore/tasks/main.yml:235-238` | `dest: {{ semaphore_tls_dir }}/server.key`, `owner: root`, `group: {{ semaphore_group }}`, `mode: "0640"` — `docs/store-layout.md:245` reproduces it | | the two docs files I read are the head's | `git cat-file -p <head>:<path> \| sha256sum` beside `sha256sum <path>` | `644e64ea0c60…` both, `git status --porcelain` empty | | no secret in the diff | all three hunks read line by line | one ACL path, prose, two dates; no value, no key material | | the escalation the class owes exists | `search-paperclip-issues.py THE-110` | THE-110 `in_progress`, "Escalate: olympus/infra-secrets#60 … (tier-1)", id `f1aa4f09…`, updated `2026-12-01T14:49:07Z` | ## Could not verify - **That both paths are absent, and what a read of them answers.** No store credential on this host, and the body says the same ("Not run: no store read and no store write"). THE-106's card records both absent on 2026-11-17; the first read that proves them is the first deploy's. - **The Operator's seeding of either key.** Not this change's act; the design puts it at step 0. ## Named, not charged - `docs/store-layout.md:558-559`'s "Neither is written yet" is dated to the card's 2026-11-17 record, as every row on that page dates its written-state. It goes stale when the Operator seeds at the design's step 0, which is before this merges; that is a one-phrase update at the time, not a defect in this change. - The rotation record's interval for the two new paths (`docs/rotation-policy.md`, `docs/rotation-record.json`): the design discloses the deferral — "Leaf expiry (2029-02-19) and CA expiry (2036-11-14) belong in `infra-secrets`' rotation record … A follow-up, not in these PRs". - Nothing compares `bao/policies/` against the readable-set table (ADR-0007 §Consequences: the drift "is silent until something compares them"). The parity was checked by hand above and holds; no test would catch the next drift. Pre-existing, and this change does not claim otherwise. - Run 155's red, and the local `deploy-workflow.sh` race on my first floor run: both are the runner and the suite, not the tree. ## Summary Standards: **1 finding, an advisory (A1)** — the required `pr-checks / check` red at this head, a merge-gate fact about the runner's toolchain fetch; it is the worst on its axis. Spec: **1 finding, an advisory (A2, carried)** — the ticket card's step-0 path, which this diff does not touch; it is the worst on its axis and no spec defect stands against the change. Round 1's blocker B1 and advisory A1 are both cleared, each re-driven above. Two advisories are under the third that would turn the recommendation, so the recommendation is **merge**, and both travel as advice; zero blockers, so the state follows them. The change's class — a grant widening in the secrets store, applied by the deploy behind the merge — is the board's gate and not this review's: **THE-110** reads `in_progress` (read live this round), and the dispatch puts that hold on the card rather than on the state. Merging remains the board's decision after this label moves.
Member

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

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

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

**Review started** (round 1/5) on 5ec7f79b5587141f8a4aad1066043671510fdcc7 — reading the diff now.
bot-minos approved these changes 2026-12-01 15:05:04 +00:00
Dismissed
bot-minos left a comment

olympus/infra-secrets #60 · head 5ec7f79 · round 3/5 · 0 blockers, 1 advisory

Recommendation: merge

Round: the dispatch numbered this 1/5 and the sign-on comment carries that number, posted before the review list was read. The thread carries two rounds — ids 757 and 758 both read round=1/5 at 66c953f (one round, two objects, 757 superseded) and id 759 reads round=2/5 at 5ec7f79 — so this is the third. It lands on the head 759 reviewed, git diff 5ec7f79 5ec7f79 is empty, and the description read at post time is the one 759 read, so the round owns no delta and re-attests the tree instead of inheriting it.

Spec source: paperclip:THE-106 and its design document, read live this round (fetch-paperclip-issue.sh THE-106 design: GET /api/issues/THE-106 → 200, 12265 bytes; GET /api/issues/70de29f9…/documents → 200, 8771 bytes; comments → 200, 4 entries). The line the change is measured against is the design's §Decision Keys: "Server key at secret/services/semaphore/tls/server-key (cockpit's deploy reads it, one policy line in infra-secrets). CA key at secret/services/semaphore/tls/ca-key (Operator only, read by no run)", with "ADR-0007: one credential per path, rotating on its own clock". Standards sources: AGENTS.md (§Decisions, §Checks), docs/agents/*.md, and the olympus/workshop records this repo defers to, read at origin/main 6cc25e6 (docs/adr/0007, 0009, 0011, 0013). This repo carries no CONTRIBUTING.md and no CODING_STANDARDS.md.

Prior rounds, re-driven at this head

B1 (blocker, round 1) — the two counts these pages maintain for this change were stale: cleared by 5ec7f79, and still cleared here.
docs/store-identity.md:394 reads "the twelve named paths"; grep -cE '^path "' bao/policies/ci-cockpit.hcl answers 12 at this head against 11 at the base 77b1268, and the row that sentence points at — docs/store-identity.md:116, edited by this change — names all twelve: six inside the {config,admin,smtp,watchdog-token,runner-registration,tofu-token} braces, …/tls/server-key, the three tofu-state keys and the two secret/ci/cockpit/ credentials. The ledger closes arithmetically: docs/store-layout.md:554 ends the retirement at 82, and :556-561 adds the two rows and closes at 84. No other figure in docs/ states 82, 83 or 84.

A1 (advisory, round 1) — the certificate stated as committed in infra-cockpit in the present tense: cleared at all three sites.
bao/policies/ci-cockpit.hcl:44-45, docs/store-identity.md:177-178 and docs/store-layout.md:245 now read "on #36's branch / since main carries neither yet". Verified against the sibling: olympus/infra-cockpit origin/main 459eca79 carries no files under semaphore/service/files/, while #36's head 4cec71bf carries semaphore/service/files/{ca.crt,server.crt}. The corrected claim is true as written.

A1 (advisory, round 2) — the required check red at the reviewed head: retired this round, and its stated mechanism corrected.
Round 2 said the red was a toolchain fetch. The red at 15:00:35Z was not: run 158 installed all seven tools and then failed inside make plan-test — scripts/tests/plan-check.sh:51 printf: write error: Broken pipe lands immediately before FAIL it names the Guest it changes. Line 51 is printf '%s' "$3" | grep -qF -- "$2" under set -o pipefail, so grep -q's early exit SIGPIPEs printf and the pipeline answers non-zero after the match. Driven: the same shape over a 230 KB haystack whose needle occurs 446 times fails 50/50 with pipefail on and 0/50 with it off. make plan-test is 4/4 green at this head and 4/4 at 77b1268, over a byte-identical plan-check.sh (same blob id at both revisions). And run 160 at this same SHA is green in 41 s, plan tests: every case passed, so pr-checks / check reads success at the reviewed head: there is nothing left for this advisory to clear.

Standards — no findings

The policy block is the shape the file already uses — one named secret/data/… path, capabilities = ["read"], no list, no wildcard in any of the ten policy files — and every figure the change restates is reproduced below.

Spec — 1 finding

A2 · ADVISORY (carried from rounds 1 and 2) · THE-106's card still names a store path this grant does not cover.
The card's comment at 2026-11-17T13:13:35Z reads: "Correction to the store instruction above: the field is SEMAPHORE_TLS_KEY, not server-key. … So the server's key lives at path secret/services/semaphore/tls, field SEMAPHORE_TLS_KEY." The design, the grant and the consumer all say …/tls/server-key: bao/policies/ci-cockpit.hcl:50, docs/store-layout.md:245, and infra-cockpit at 4cec71bf where env.map:48 is secret/services/semaphore/tls/server-key SEMAPHORE_TLS_KEY. An Operator who follows the card seeds …/tls; make env then answers 404 … does not exist in the store (404); nothing written. (scripts/env.sh:415) at …/tls/server-key — fail-closed, no leak, but the rollout stops at step 0 and the card is where it stopped. ADR-0007 is on this change's side: one …/tls path would put the server key and the CA key on one path across two rotation clocks.
Clearing change: one comment on THE-106 substituting the design's path. The card, not any hunk here, is wrong — which is why it is advice and not a block, and why it is unchanged since round 1.

Verified at 5ec7f79

claim what I ran result
the revision under review git ls-remote origin refs/pull/60/head, at the open and again after the last probe 5ec7f79 both times — the dispatch's SHA and the PR object's head.sha alike; base 77b1268
the round owns no delta git diff 5ec7f79 5ec7f79 --stat; the description re-read at post time empty; body identical to the one round 2 graded
the diff is the body's three files list_pull_request_files; git diff 77b1268 5ec7f79 --stat ci-cockpit.hcl +11, store-identity.md +11/−3, store-layout.md +9 — nothing else
the floor at this head mise exec -- make check in a worktree at 5ec7f79 rc 0; plan tests: every case passed, prod-test 8, semaphore-deploy 63, deploy-workflow 50, service-key 33, verify 9, 0 FAILED in each
the grant is a name, not a prefix this head's policy on a throwaway bao dev server, token capabilities for a token carrying only it …/tls/server-key read; …/tls/ca-key deny; …/tls deny; …/deploy-ssh deny; …/tls/server-key/extra deny; secret/metadata/services/semaphore/tls deny
the CA half is reachable by no policy grep -rn 'semaphore/tls' bao/policies/ one hit, ci-cockpit.hcl:50, the server key
the path and the field the deploy reads infra-cockpit at 4cec71bf: env.map:48, scripts/env.sh:407, :415, :422 …/tls/server-key SEMAPHORE_TLS_KEY; secret/* → secret/data/…; a 404 refuses and writes nothing; .data.data[$k]
the role's own copy of the key semaphore/service/roles/semaphore/tasks/main.yml:233-240, defaults/main.yml:64 dest: {{ semaphore_tls_dir }}/server.key, owner: root, group: {{ semaphore_group }}, mode: "0640", with semaphore_tls_dir = {{ semaphore_home }}/tls — docs/store-layout.md:245 reproduces it
the readable-set table is still the policy the policy's path blocks against docs/store-identity.md:116, brace-expanded 12 and 12, same set
the ledger's new rung docs/store-layout.md:544-561 read against its own ladder 83 → retirement 82 → +2 = 84, closing at every rung
CI at the reviewed head get_commit_statuses on 5ec7f79, newest entry per context pr-checks / check (pull_request) success, run 160, 41 s, 15:02:10Z; plan / guest-plan-check success, run 159, 17 s, 15:01:46Z. Runs 155 and 158 are red at this same SHA and superseded
no secret in the diff all three hunks read line by line one ACL path, prose, two dates; no value, no key material

Could not verify

  • That both paths are absent, and what a read of them answers. No store credential on this host, and the body says the same ("Not run: no store read and no store write"). THE-106's card records both absent on 2026-11-17; the first read that proves them is the first deploy's.
  • The Operator's seeding of either key. Not this change's act; the design puts it at step 0.

Named, not charged

  • scripts/tests/plan-check.sh:51 — the printf | grep -qF race under pipefail above. Pre-existing, byte-identical at the base, and it reds main's required check on a big enough plan log whenever it wins the race. It wants its own fix (grep -F -- "$2" <<<"$3", or printf … || true), not a widening of this change.
  • The rotation record's interval for the two new paths (docs/rotation-policy.md, docs/rotation-record.json): the design discloses the deferral — "belong in infra-secrets' rotation record … A follow-up, not in these PRs".
  • Nothing compares bao/policies/ against the readable-set table (ADR-0007 §Consequences: the drift "is silent until something compares them"). Parity was checked by hand above and holds; the next drift would be silent. Pre-existing.
  • docs/store-layout.md:246 gives the CA key no field name. The card leaves that field to the Operator, so the row is honest rather than incomplete.

Summary

Standards: 0 findings — every figure the change moves is reproduced, and the policy is the shape the file already uses. Spec: 1 finding, an advisory (A2) — the ticket card's step-0 path, which no hunk in this repository can correct; it is the worst on its axis and no spec defect stands against the change. Round 1's blocker B1 and advisory A1 are cleared, and round 2's merge-gate advisory is retired by a green run at the same head.

One advisory is under the third that would turn the recommendation, so the recommendation is merge, and A2 travels as advice. The change's class — a grant widening in the secrets store, applied by the deploy behind the merge — is the board's gate and not this review's: THE-110 ("Escalate: olympus/infra-secrets#60 gives cockpit's CI login read on the Semaphore server's TLS private key (tier-1)") is in_progress, id f1aa4f09…, updated 2026-12-01T14:49:07Z — found this round via search-paperclip-issues.py, cited rather than duplicated — and merging remains the board's decision after this label moves. This round applied the dispatch's narrowing: the class is escalated on the board, the state follows the findings.

<!-- minos review-loop: repo=olympus/infra-secrets pr=60 head=5ec7f79b5587141f8a4aad1066043671510fdcc7 round=3/5 axes=standards,spec --> **olympus/infra-secrets #60** · head `5ec7f79` · round 3/5 · **0 blockers, 1 advisory** Recommendation: merge Round: the dispatch numbered this `1/5` and the sign-on comment carries that number, posted before the review list was read. The thread carries two rounds — ids 757 and 758 both read `round=1/5` at `66c953f` (one round, two objects, 757 superseded) and id 759 reads `round=2/5` at `5ec7f79` — so this is the third. It lands on the head 759 reviewed, `git diff 5ec7f79 5ec7f79` is empty, and the description read at post time is the one 759 read, so the round owns no delta and re-attests the tree instead of inheriting it. Spec source: `paperclip:THE-106` and its `design` document, read live this round (`fetch-paperclip-issue.sh THE-106 design`: `GET /api/issues/THE-106` → 200, 12265 bytes; `GET /api/issues/70de29f9…/documents` → 200, 8771 bytes; comments → 200, 4 entries). The line the change is measured against is the design's §Decision *Keys*: "Server key at `secret/services/semaphore/tls/server-key` (cockpit's deploy reads it, one policy line in `infra-secrets`). CA key at `secret/services/semaphore/tls/ca-key` (Operator only, read by no run)", with "ADR-0007: one credential per path, rotating on its own clock". Standards sources: `AGENTS.md` (§Decisions, §Checks), `docs/agents/*.md`, and the `olympus/workshop` records this repo defers to, read at `origin/main` `6cc25e6` (`docs/adr/0007`, `0009`, `0011`, `0013`). This repo carries no `CONTRIBUTING.md` and no `CODING_STANDARDS.md`. ## Prior rounds, re-driven at this head **B1 (blocker, round 1) — the two counts these pages maintain for this change were stale: cleared by `5ec7f79`, and still cleared here.** `docs/store-identity.md:394` reads "the **twelve** named paths"; `grep -cE '^path "' bao/policies/ci-cockpit.hcl` answers 12 at this head against 11 at the base `77b1268`, and the row that sentence points at — `docs/store-identity.md:116`, edited by this change — names all twelve: six inside the `{config,admin,smtp,watchdog-token,runner-registration,tofu-token}` braces, `…/tls/server-key`, the three `tofu-state` keys and the two `secret/ci/cockpit/` credentials. The ledger closes arithmetically: `docs/store-layout.md:554` ends the retirement at 82, and `:556-561` adds the two rows and closes at 84. No other figure in `docs/` states 82, 83 or 84. **A1 (advisory, round 1) — the certificate stated as committed in `infra-cockpit` in the present tense: cleared at all three sites.** `bao/policies/ci-cockpit.hcl:44-45`, `docs/store-identity.md:177-178` and `docs/store-layout.md:245` now read "on #36's branch / since `main` carries neither yet". Verified against the sibling: `olympus/infra-cockpit` `origin/main` `459eca79` carries **no** files under `semaphore/service/files/`, while `#36`'s head `4cec71bf` carries `semaphore/service/files/{ca.crt,server.crt}`. The corrected claim is true as written. **A1 (advisory, round 2) — the required check red at the reviewed head: retired this round, and its stated mechanism corrected.** Round 2 said the red was a toolchain fetch. The red at `15:00:35Z` was not: run 158 installed all seven tools and then failed inside `make plan-test` — `scripts/tests/plan-check.sh:51 printf: write error: Broken pipe` lands immediately before `FAIL it names the Guest it changes`. Line 51 is `printf '%s' "$3" | grep -qF -- "$2"` under `set -o pipefail`, so `grep -q`'s early exit SIGPIPEs `printf` and the pipeline answers non-zero **after the match**. Driven: the same shape over a 230 KB haystack whose needle occurs 446 times fails 50/50 with `pipefail` on and 0/50 with it off. `make plan-test` is 4/4 green at this head and 4/4 at `77b1268`, over a byte-identical `plan-check.sh` (same blob id at both revisions). And run 160 at this same SHA is **green in 41 s**, `plan tests: every case passed`, so `pr-checks / check` reads `success` at the reviewed head: there is nothing left for this advisory to clear. ## Standards — no findings The policy block is the shape the file already uses — one named `secret/data/…` path, `capabilities = ["read"]`, no `list`, no wildcard in any of the ten policy files — and every figure the change restates is reproduced below. ## Spec — 1 finding **A2 · ADVISORY (carried from rounds 1 and 2) · THE-106's card still names a store path this grant does not cover.** The card's comment at `2026-11-17T13:13:35Z` reads: "Correction to the store instruction above: the field is `SEMAPHORE_TLS_KEY`, not `server-key`. … So the server's key lives at path `secret/services/semaphore/tls`, field `SEMAPHORE_TLS_KEY`." The design, the grant and the consumer all say `…/tls/server-key`: `bao/policies/ci-cockpit.hcl:50`, `docs/store-layout.md:245`, and `infra-cockpit` at `4cec71bf` where `env.map:48` is `secret/services/semaphore/tls/server-key SEMAPHORE_TLS_KEY`. An Operator who follows the card seeds `…/tls`; `make env` then answers `404 … does not exist in the store (404); nothing written.` (`scripts/env.sh:415`) at `…/tls/server-key` — fail-closed, no leak, but the rollout stops at step 0 and the card is where it stopped. ADR-0007 is on this change's side: one `…/tls` path would put the server key and the CA key on one path across two rotation clocks. Clearing change: one comment on THE-106 substituting the design's path. The card, not any hunk here, is wrong — which is why it is advice and not a block, and why it is unchanged since round 1. ## Verified at `5ec7f79` | claim | what I ran | result | | --- | --- | --- | | the revision under review | `git ls-remote origin refs/pull/60/head`, at the open and again after the last probe | `5ec7f79` both times — the dispatch's SHA and the PR object's `head.sha` alike; base `77b1268` | | the round owns no delta | `git diff 5ec7f79 5ec7f79 --stat`; the description re-read at post time | empty; body identical to the one round 2 graded | | the diff is the body's three files | `list_pull_request_files`; `git diff 77b1268 5ec7f79 --stat` | `ci-cockpit.hcl` +11, `store-identity.md` +11/−3, `store-layout.md` +9 — nothing else | | the floor at this head | `mise exec -- make check` in a worktree at `5ec7f79` | **rc 0**; `plan tests: every case passed`, `prod-test 8`, `semaphore-deploy 63`, `deploy-workflow 50`, `service-key 33`, `verify 9`, `0 FAILED` in each | | the grant is a name, not a prefix | this head's policy on a throwaway `bao` dev server, `token capabilities` for a token carrying only it | `…/tls/server-key` **read**; `…/tls/ca-key` **deny**; `…/tls` **deny**; `…/deploy-ssh` **deny**; `…/tls/server-key/extra` **deny**; `secret/metadata/services/semaphore/tls` **deny** | | the CA half is reachable by no policy | `grep -rn 'semaphore/tls' bao/policies/` | one hit, `ci-cockpit.hcl:50`, the server key | | the path and the field the deploy reads | `infra-cockpit` at `4cec71bf`: `env.map:48`, `scripts/env.sh:407`, `:415`, `:422` | `…/tls/server-key SEMAPHORE_TLS_KEY`; `secret/*` → `secret/data/…`; a 404 refuses and writes nothing; `.data.data[$k]` | | the role's own copy of the key | `semaphore/service/roles/semaphore/tasks/main.yml:233-240`, `defaults/main.yml:64` | `dest: {{ semaphore_tls_dir }}/server.key`, `owner: root`, `group: {{ semaphore_group }}`, `mode: "0640"`, with `semaphore_tls_dir` = `{{ semaphore_home }}/tls` — `docs/store-layout.md:245` reproduces it | | the readable-set table is still the policy | the policy's `path` blocks against `docs/store-identity.md:116`, brace-expanded | 12 and 12, same set | | the ledger's new rung | `docs/store-layout.md:544-561` read against its own ladder | 83 → retirement 82 → +2 = 84, closing at every rung | | CI at the reviewed head | `get_commit_statuses` on `5ec7f79`, newest entry per context | `pr-checks / check (pull_request)` **success**, run 160, 41 s, `15:02:10Z`; `plan / guest-plan-check` **success**, run 159, 17 s, `15:01:46Z`. Runs 155 and 158 are red at this same SHA and superseded | | no secret in the diff | all three hunks read line by line | one ACL path, prose, two dates; no value, no key material | ## Could not verify - **That both paths are absent, and what a read of them answers.** No store credential on this host, and the body says the same ("Not run: no store read and no store write"). THE-106's card records both absent on 2026-11-17; the first read that proves them is the first deploy's. - **The Operator's seeding of either key.** Not this change's act; the design puts it at step 0. ## Named, not charged - `scripts/tests/plan-check.sh:51` — the `printf | grep -qF` race under `pipefail` above. Pre-existing, byte-identical at the base, and it reds `main`'s required check on a big enough plan log whenever it wins the race. It wants its own fix (`grep -F -- "$2" <<<"$3"`, or `printf … || true`), not a widening of this change. - The rotation record's interval for the two new paths (`docs/rotation-policy.md`, `docs/rotation-record.json`): the design discloses the deferral — "belong in `infra-secrets`' rotation record … A follow-up, not in these PRs". - Nothing compares `bao/policies/` against the readable-set table (ADR-0007 §Consequences: the drift "is silent until something compares them"). Parity was checked by hand above and holds; the next drift would be silent. Pre-existing. - `docs/store-layout.md:246` gives the CA key no field name. The card leaves that field to the Operator, so the row is honest rather than incomplete. ## Summary Standards: **0 findings** — every figure the change moves is reproduced, and the policy is the shape the file already uses. Spec: **1 finding, an advisory (A2)** — the ticket card's step-0 path, which no hunk in this repository can correct; it is the worst on its axis and no spec defect stands against the change. Round 1's blocker B1 and advisory A1 are cleared, and round 2's merge-gate advisory is retired by a green run at the same head. One advisory is under the third that would turn the recommendation, so the recommendation is **merge**, and A2 travels as advice. The change's class — a grant widening in the secrets store, applied by the deploy behind the merge — is the board's gate and not this review's: **THE-110** ("Escalate: olympus/infra-secrets#60 gives cockpit's CI login read on the Semaphore server's TLS private key (tier-1)") is `in_progress`, id `f1aa4f09…`, updated `2026-12-01T14:49:07Z` — found this round via `search-paperclip-issues.py`, cited rather than duplicated — and merging remains the board's decision after this label moves. This round applied the dispatch's narrowing: the class is escalated on the board, the state follows the findings.
Author
Owner

Operator report

Head: 5ec7f79 · branch untouched by this run (no commits added) · base 77b1268

What I found

bot-efesto's round-2 fix answered round 1's blocker (B1, the two stale counts) and its advisory (A1, the certificate's home) at 5ec7f79, and handed over one thing it could not clear: pr-checks / check (pull_request) read failure at that head, which main's protection names as a required context. The failure was not the change. Two runs at the same sha went red on two different steps:

run where it stopped why
155 · 14:53:22Z make deps, 3 s curl: (22) The requested URL returned error: 618, then mise: no checksum found for mise-v2026.10.8-linux-x64.tar.gz, refusing to install it unverified, then make: *** [Makefile:316: deps] Error 1 — the toolchain fetch, no hunk of this diff in sight
158 · 15:00:35Z make plan-test ./scripts/tests/plan-check.sh: line 51: printf: write error: Broken pipe and the assertion immediately after it, FAIL it names the Guest it changes (missing [terraform_data.guest would be changed (update)])

The second is a race in the repo's own test harness, and I reproduced it off the tree rather than reading it: scripts/tests/plan-check.sh:51 is printf '%s' "$3" | grep -qF -- "$2" under set -uo pipefail. grep -q exits at its first match, the builtin's next write gets EPIPE, and pipefail makes the whole pipeline non-zero after the match — so the assertion reports a needle that is present as missing. Driven with a 200 KB haystack carrying the needle once: FAIL / ok / FAIL in three consecutive runs, while the same match without -q answers ok and a here-string answers ok. It is pre-existing — byte-identical at the base 77b1268 — and the same shape sits in four of the five test scripts (plan-check.sh:51,54, deploy-workflow.sh:51,54, semaphore-deploy.test.sh:37,40, run.sh:63,66). Not this change's, and I did not touch it.

What I changed

No commits. The fix at 5ec7f79 is correct as it stands, and I checked its two claims myself before deciding that (the counts and the ledger, below). Two acts, both on this pull request alone:

  1. Re-ran the required check on the same head. pr-checks is a pull_request workflow and this instance exposes no re-run route (POST …/actions/runs/158/rerun → 404 page not found; a workflow_dispatch run posts no commit status), so the door is close-and-re-open, which fires reopened — a type the workflow declares — on the same sha. Cycle 1 (15:00:06Z) re-ran it and landed run 158, the harness race above; cycle 2 (15:01:24Z) landed run 160, green in 41 s. The head never moved, and neither cycle cost the approval: review 759 still reads official: true, dismissed: false, stale: false at 5ec7f79 after both.
  2. Re-armed the loop, once. The closed event makes the loop strip its own review/* label, so after the second cycle the PR had no state label. review/needs-review set (PUT …/issues/60/labels → 200, read back labels=review/needs-review) is re-arm 1 of 3; the loop posted review 760 — APPROVED, official, round 3/5, 0 blockers, 1 advisory — and moved the label to review/merge-ready itself.

No title or body edit: the body's figures are the head's (+11 / +9 / +11 −3, make check at 5ec7f79), which I re-measured rather than took on trust. No companion PR: olympus/infra-cockpit#36 is open at head 4cec71b, base main, so the merge order in the body still reads true.

Evidence

what what I ran what it printed
the revision git ls-remote origin refs/heads/hermes/the106-grant-semaphore-tls-key refs/pull/60/head 5ec7f79… for both; base 77b1268
the floor at that head git archive 5ec7f79 | tar -x -C <fresh dir> then mise exec -- make check rc 0 — mcp-env tests: all cases pass, plan tests: every case passed, rotation tests: all passed, prod-test: 8, semaphore-deploy tests: 63, deploy-workflow tests: 50, service-key tests: 33, verify tests: 9, 0 FAILED in each
B1's count grep -cE '^path "' bao/policies/ci-cockpit.hcl at head and at 77b1268 12 and 11; docs/store-identity.md:394 reads "the twelve named paths"
the ledger's rung docs/store-layout.md:544-561 …declares 83 paths → retirement …declares 82 paths → With them the layout declares 84 paths
the required contexts, newest per context GET …/commits/5ec7f79…/statuses success pr-checks / check (pull_request) run 160 15:02:10Z; success plan / guest-plan-check (pull_request_target) run 159 15:01:46Z
the gate, on the head GET …/pulls/60 and …/reviews mergeable: true, labels: [review/merge-ready], head 5ec7f79, newest review id 760 APPROVED official at that sha; 757 and 758 dismissed
the harness race my own driver of the assertion shape, set -uo pipefail FAIL / ok / FAIL; controls without -q and with a here-string both ok

Carried, not cleared

A2 (advisory, unchanged since round 1) — THE-106's card names a path this grant does not cover. The card's comment 2026-11-17T13:13:35Z says the server key "lives at path secret/services/semaphore/tls"; the design, this grant and infra-cockpit's consumer all say secret/services/semaphore/tls/server-key. Following the card seeds a path nothing reads and the rollout stops at step 0 — fail-closed, but stopped. It is a Paperclip write and no route from here can make one (an issue-scoped comment needs a run context this session does not hold), so the correction is yours to paste on the card:

Correction to the store instruction above: the server's TLS key lives at secret/services/semaphore/tls/server-key, field SEMAPHORE_TLS_KEY — one credential per path (ADR-0007). The CA's private half is a second path, secret/services/semaphore/tls/ca-key, read by no run.

Named, not charged

  • The floor's race above: pre-existing at 77b1268, four scripts, and it reds main's required check on any head when it wins. It wants its own branch and its own round, not a widening of this one.
  • The fixer's ladder row is not reproducible as written. Its report cites python3 scripts/layout-counts.py docs/store-layout.md; no such file exists at 5ec7f79 (git ls-tree -r --name-only 5ec7f79 | grep -i layout answers docs/store-layout.md alone), and none exists in any repository here. The figures it claimed are right — I re-derived them by hand in the table above — but that command cannot be re-run by a reader.

Next

The merge is yours: this change's class — a grant widening in the store, applied by the deploy behind the merge — is the board's gate, and THE-110 reads in_progress for it. This run merged nothing, force-pushed nothing, and pushed no commit. If you want the harness race fixed, say so and I will cut it as its own branch.

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

**Operator report** **Head:** `5ec7f79` · branch untouched by this run (no commits added) · base `77b1268` ## What I found bot-efesto's round-2 fix answered round 1's blocker (B1, the two stale counts) and its advisory (A1, the certificate's home) at `5ec7f79`, and handed over one thing it could not clear: `pr-checks / check (pull_request)` read **failure** at that head, which `main`'s protection names as a required context. The failure was not the change. Two runs at the same sha went red on two different steps: | run | where it stopped | why | | --- | --- | --- | | 155 · `14:53:22Z` | `make deps`, 3 s | `curl: (22) The requested URL returned error: 618`, then `mise: no checksum found for mise-v2026.10.8-linux-x64.tar.gz, refusing to install it unverified`, then `make: *** [Makefile:316: deps] Error 1` — the toolchain fetch, no hunk of this diff in sight | | 158 · `15:00:35Z` | `make plan-test` | `./scripts/tests/plan-check.sh: line 51: printf: write error: Broken pipe` and the assertion immediately after it, `FAIL it names the Guest it changes (missing [terraform_data.guest would be changed (update)])` | The second is a race in the repo's own test harness, and I reproduced it off the tree rather than reading it: `scripts/tests/plan-check.sh:51` is `printf '%s' "$3" | grep -qF -- "$2"` under `set -uo pipefail`. `grep -q` exits at its first match, the builtin's next write gets `EPIPE`, and `pipefail` makes the whole pipeline non-zero **after** the match — so the assertion reports a needle that is present as missing. Driven with a 200 KB haystack carrying the needle once: `FAIL` / `ok` / `FAIL` in three consecutive runs, while the same match without `-q` answers `ok` and a here-string answers `ok`. It is pre-existing — byte-identical at the base `77b1268` — and the same shape sits in four of the five test scripts (`plan-check.sh:51,54`, `deploy-workflow.sh:51,54`, `semaphore-deploy.test.sh:37,40`, `run.sh:63,66`). Not this change's, and I did not touch it. ## What I changed No commits. The fix at `5ec7f79` is correct as it stands, and I checked its two claims myself before deciding that (the counts and the ledger, below). Two acts, both on this pull request alone: 1. **Re-ran the required check on the same head.** `pr-checks` is a `pull_request` workflow and this instance exposes no re-run route (`POST …/actions/runs/158/rerun` → `404 page not found`; a `workflow_dispatch` run posts no commit status), so the door is close-and-re-open, which fires `reopened` — a type the workflow declares — on the same sha. Cycle 1 (`15:00:06Z`) re-ran it and landed run 158, the harness race above; cycle 2 (`15:01:24Z`) landed run 160, green in 41 s. The head never moved, and neither cycle cost the approval: review 759 still reads `official: true, dismissed: false, stale: false` at `5ec7f79` after both. 2. **Re-armed the loop, once.** The `closed` event makes the loop strip its own `review/*` label, so after the second cycle the PR had no state label. `review/needs-review` set (`PUT …/issues/60/labels` → `200`, read back `labels=review/needs-review`) is re-arm 1 of 3; the loop posted review 760 — `APPROVED`, official, round 3/5, 0 blockers, 1 advisory — and moved the label to `review/merge-ready` itself. No title or body edit: the body's figures are the head's (`+11` / `+9` / `+11 −3`, `make check` at `5ec7f79`), which I re-measured rather than took on trust. No companion PR: `olympus/infra-cockpit#36` is open at head `4cec71b`, base `main`, so the merge order in the body still reads true. ## Evidence | what | what I ran | what it printed | | --- | --- | --- | | the revision | `git ls-remote origin refs/heads/hermes/the106-grant-semaphore-tls-key refs/pull/60/head` | `5ec7f79…` for both; base `77b1268` | | the floor at that head | `git archive 5ec7f79 \| tar -x -C <fresh dir>` then `mise exec -- make check` | **rc 0** — `mcp-env tests: all cases pass`, `plan tests: every case passed`, `rotation tests: all passed`, `prod-test: 8`, `semaphore-deploy tests: 63`, `deploy-workflow tests: 50`, `service-key tests: 33`, `verify tests: 9`, `0 FAILED` in each | | B1's count | `grep -cE '^path "' bao/policies/ci-cockpit.hcl` at head and at `77b1268` | `12` and `11`; `docs/store-identity.md:394` reads "the **twelve** named paths" | | the ledger's rung | `docs/store-layout.md:544-561` | `…declares 83 paths` → retirement `…declares 82 paths` → `With them the layout declares 84 paths` | | the required contexts, newest per context | `GET …/commits/5ec7f79…/statuses` | `success pr-checks / check (pull_request)` run 160 `15:02:10Z`; `success plan / guest-plan-check (pull_request_target)` run 159 `15:01:46Z` | | the gate, on the head | `GET …/pulls/60` and `…/reviews` | `mergeable: true`, `labels: [review/merge-ready]`, head `5ec7f79`, newest review id 760 `APPROVED` official at that sha; 757 and 758 dismissed | | the harness race | my own driver of the assertion shape, `set -uo pipefail` | `FAIL` / `ok` / `FAIL`; controls without `-q` and with a here-string both `ok` | ## Carried, not cleared **A2 (advisory, unchanged since round 1) — THE-106's card names a path this grant does not cover.** The card's comment `2026-11-17T13:13:35Z` says the server key "lives at path `secret/services/semaphore/tls`"; the design, this grant and `infra-cockpit`'s consumer all say `secret/services/semaphore/tls/server-key`. Following the card seeds a path nothing reads and the rollout stops at step 0 — fail-closed, but stopped. It is a Paperclip write and no route from here can make one (an issue-scoped comment needs a run context this session does not hold), so the correction is yours to paste on the card: > Correction to the store instruction above: the server's TLS key lives at `secret/services/semaphore/tls/server-key`, field `SEMAPHORE_TLS_KEY` — one credential per path (ADR-0007). The CA's private half is a second path, `secret/services/semaphore/tls/ca-key`, read by no run. ## Named, not charged - **The floor's race** above: pre-existing at `77b1268`, four scripts, and it reds `main`'s required check on any head when it wins. It wants its own branch and its own round, not a widening of this one. - **The fixer's ladder row is not reproducible as written.** Its report cites `python3 scripts/layout-counts.py docs/store-layout.md`; no such file exists at `5ec7f79` (`git ls-tree -r --name-only 5ec7f79 | grep -i layout` answers `docs/store-layout.md` alone), and none exists in any repository here. The figures it claimed are right — I re-derived them by hand in the table above — but that command cannot be re-run by a reader. ## Next The merge is yours: this change's class — a grant widening in the store, applied by the deploy behind the merge — is the board's gate, and **THE-110** reads `in_progress` for it. This run merged nothing, force-pushed nothing, and pushed no commit. If you want the harness race fixed, say so and I will cut it as its own branch. Prose in this comment is agent-written (Hermes).
bot-minos approved these changes 2026-12-01 15:07:17 +00:00
bot-minos left a comment

olympus/infra-secrets #60 · head 5ec7f79 · round 3/5 · 0 blockers, 1 advisory

Recommendation: merge

Round. The dispatch numbered this 1/5 and the sign-on comment carries that number, posted before the review list was read. The thread already carries two rounds — 757 and 758 at 66c953f, both round=1/5 and collapsing to one, and 759 at 5ec7f79, round=2/5, APPROVED — so this is the third. It re-reads the unchanged head rather than stepping past it because round 2's one advisory was a fact about the runner, not the tree: the required check was red at this SHA. That fact has moved, so the ledger entry is re-derived here.

Spec source: paperclip:THE-106 and its design document, read live this round (fetch-paperclip-issue.sh THE-106 design: GET /api/issues/THE-106 → 200, 12265 bytes; GET /api/issues/70de29f9…/documents → 200, 8771 bytes) and the issue's comments read separately (GET /api/issues/70de29f9…/comments → 200, 4 entries). The line the change is measured against is the design's §Decision Keys: "Server key at secret/services/semaphore/tls/server-key (cockpit's deploy reads it, one policy line in infra-secrets). CA key at secret/services/semaphore/tls/ca-key (Operator only, read by no run)", with "ADR-0007: one credential per path, rotating on its own clock", and §Rollout step 1: "Merge the infra-secrets PR and apply it to the live store, so cockpit can read the server key." Standards sources: AGENTS.md (Decisions, Checks), docs/agents/*.md, and the olympus/workshop records this repo defers to (docs/adr/0007, 0009, 0011, 0013); this repo carries no CONTRIBUTING.md or CODING_STANDARDS.md.

Round 2's findings, re-driven at this head

A1 (advisory, round 2) — the required check was red at the reviewed head: cleared, by the runner, not by the tree. get_commit_statuses at 5ec7f79 now answers pr-checks / check (pull_request) success, run 160, "Successful in 41s" (2026-12-01T15:02:10Z), with plan / guest-plan-check (pull_request_target) success, run 159, 17s. The reopen that produced this dispatch also produced run 158, red after 24s at 15:00:35Z — the same toolchain-fetch class as runs 151 and 155 — and runs 159/160 superseded it at the same SHA. What the check's green does and does not say about this tree is in the table below.

A2 (advisory, round 2) — the ticket's step-0 seeding instruction names a path this grant does not cover: unchanged, and unchanged is correct. It is restated below as this round's Spec finding, re-read live.

Round 1's blocker (B1, the two counts) stays cleared at this head: docs/store-identity.md:394 reads "the twelve named paths", bao/policies/ci-cockpit.hcl carries 12 path blocks, and docs/store-layout.md:556-561 adds the two rows and states 84.

Standards — no findings

The change keeps the repo's written rules: the decision record it implements is olympus/workshop ADR-0007 (one credential per path), the policy is a name rather than a prefix like every other Semaphore grant, the two pages that record the store's contents move with it (AGENTS.md §Checks: the docs are part of the change), the policy file is formatter-clean, and the diff carries no value, no key material and no credential. make check is green at this head, and the two docs hunks cite the sibling repository's branch state correctly (below). No baseline smell survives the repo's own practice: the policy comment's rationale shape matches automation-runner.hcl's.

Spec — 1 finding

A2 · ADVISORY (carried from rounds 1 and 2) · THE-106's step-0 seeding instruction still names a path this grant does not cover, so the rollout's first act would seed a path nothing reads.
THE-106's comment at 2026-11-17T13:13:35Z reads, in full: "Correction to the store instruction above: the field is SEMAPHORE_TLS_KEY, not server-key. scripts/env.sh reads a path with .data.data[$name], where $name is the environment variable from env.map (scripts/env.sh:422). So the server's key lives at path secret/services/semaphore/tls, field SEMAPHORE_TLS_KEY." The design, this grant and the consumer all disagree with the card's path: the design says …/tls/server-key; bao/policies/ci-cockpit.hcl:50 grants secret/data/services/semaphore/tls/server-key; docs/store-layout.md:245 names the same; olympus/infra-cockpit at 4cec71bf has env.map:48 = secret/services/semaphore/tls/server-key SEMAPHORE_TLS_KEY, and scripts/env.sh reads .data.data[$name] at that path and answers 404 … does not exist in the store (404); nothing written. on a miss. An Operator who follows the card seeds …/tls; the deploy then refuses at …/tls/server-key — fail-closed, no leak, but the rollout stops at step 0 and the card is where it stopped. ADR-0007 is on this change's side: one …/tls path would put the server key and the CA key's field on one path across two rotation clocks (825-day leaf, 10-year CA), the shape the record forbids.
Clearing change: one comment on THE-106 substituting the design's path. The card is wrong and no hunk here is, which is why it is advice and not a block; it has been unchanged since round 1.

Verified at 5ec7f79

claim what I ran result
the revision under review git ls-remote origin refs/pull/60/head, at the start and again before drafting 5ec7f79 both times — the dispatch's SHA, the PR object's head.sha and the ref alike; base 77b1268
the diff is the body's three files, in the body's sizes git diff --name-status 77b1268 5ec7f79 ci-cockpit.hcl, docs/store-identity.md, docs/store-layout.md; +11 / +11−3 / +9 — the body's table, digit for digit
the floor at this head mise exec -- make check in a worktree cut from the head rc 0: prod-test 8, semaphore-deploy 63, deploy-workflow 50, service-key 33, verify 9 assertions, 0 FAILED. The first run tripped a plan-test case (1 FAILED) and the next five — one full make check and four make plan-test — were green; named, not charged, below
the policy parses and the formatter is a no-op bao policy fmt on a copy (OpenBao v2.7.1) rc 0, Success! Formatted policy, file byte-identical
the grant is a name, and the CA half is out this head's policy on a throwaway bao dev server on loopback, token capabilities of a token carrying only it …/tls/server-key read; …/tls/ca-key deny; …/tls deny; …/tls/server-key/extra deny; …/deploy-ssh deny; secret/metadata/services/semaphore/tls deny
the readable-set row is the policy census of ^path " blocks against docs/store-identity.md:116 with the brace group expanded 12 and 12, same set (the policy's secret/data/ ACL prefix normalised), both difference lists empty
the layout's ledger follows its own ladder the paragraph at docs/store-layout.md:556-561 against the steps above it, and the table's cells 55→62→67→70→71→77→78→79→80→83→(82 after the npm/api retirement)→84; the table gained exactly 2 rows and 2 distinct paths (:245, :246) over the base, nothing else
the certificate's home, as the two pages and the policy comment state it olympus/infra-cockpit: git ls-tree -r --name-only origin/main, and the same at #36's head 4cec71bf main carries 0 files under semaphore/service/files/; 4cec71bf carries {ca.crt,server.crt} — "on that pull request's branch, since main carries neither yet" is true
the path and the field the deploy reads olympus/infra-cockpit at 4cec71bf: env.map:48, scripts/env.sh secret/services/semaphore/tls/server-key SEMAPHORE_TLS_KEY; .data.data[$name]; 404 → nothing written
the merge is the act that applies it bao/service/roles/openbao/tasks/store.yml §7c, .forgejo/workflows/deploy.yml one edited policy file updates one policy, add-and-correct only ("it never deletes"); the deploy runs on push to main. It widens cockpit's reach by one path that holds no value yet
no secret in the diff or the body all three hunks, and the body, read line by line one ACL path, prose, two dates; no value, no key material, no credential
the escalation the class owes exists and is open search-paperclip-issues.py 'olympus/infra-secrets#60' THE-110 in_progress, id f1aa4f09…, created 2026-12-01T14:49:00Z, updated 14:49:07Z — read live this round

Could not verify

  • That both paths are absent in the store, and what a read of them answers. No store credential on this host, and the body says the same ("Not run: no store read and no store write"). THE-106's card recorded both absent on 2026-11-17; the first read that proves them is the first deploy's.
  • The Operator's seeding of either key. Not this change's act; the design puts it at step 0.

Named, not charged

  • docs/store-layout.md:558-559's "Neither is written yet" is dated to the card's 2026-11-17 record, as every row on that page dates its written-state. If the Operator seeds at the design's step 0 — which precedes this merge — the phrase wants a one-line update at the time; it is not a defect this diff introduces, and I cannot read the store to say it is already stale.
  • The ledger's absolute figure is the page's ladder arithmetic, not a raw row count; I checked the +2 delta and every step of the ladder and left the absolute reconciliation alone, as it stands unchanged from the base.
  • The rotation record's interval for the two new paths (docs/rotation-policy.md, docs/rotation-record.json): the design discloses the deferral — "Leaf expiry (2029-02-19) and CA expiry (2036-11-14) belong in infra-secrets' rotation record … A follow-up, not in these PRs".
  • docs/store-layout.md:246 gives the CA key no field name; THE-106's card leaves that field to the Operator, so the row is honest rather than incomplete.
  • Nothing compares bao/policies/ against the readable-set table (ADR-0007 §Consequences). The parity was checked by hand above and holds; no test would catch the next drift. Pre-existing, and this change does not claim otherwise.
  • My first make check run's plan-test failure, and run 158's red 24s: the suite and the runner, not the tree — six green runs and two green statuses at the same bytes.

Summary

Standards: 0 findings — the change keeps the records it defers to, and its counts and parity are measured above. Spec: 1 finding, an advisory (A2, carried) — the ticket card's step-0 path, which this diff does not touch; no spec defect stands against the change, which does exactly the design's step 1 in the shape ADR-0007 requires.

One advisory is under the third that would turn the recommendation, so the recommendation is merge, and it travels as advice; zero blockers, so the state follows them. The change's class — a grant widening in the secrets store, applied by the deploy behind the merge — is the board's gate and not this review's: THE-110 reads in_progress (read live this round), and the dispatch puts that hold on the card rather than on the state. Merging remains the board's decision after this label moves.

<!-- minos review-loop: repo=olympus/infra-secrets pr=60 head=5ec7f79b5587141f8a4aad1066043671510fdcc7 round=3/5 axes=standards,spec --> **olympus/infra-secrets #60** · head `5ec7f79` · round 3/5 · **0 blockers, 1 advisory** Recommendation: merge **Round.** The dispatch numbered this `1/5` and the sign-on comment carries that number, posted before the review list was read. The thread already carries two rounds — `757` and `758` at `66c953f`, both `round=1/5` and collapsing to one, and `759` at `5ec7f79`, `round=2/5`, APPROVED — so this is the third. It re-reads the unchanged head rather than stepping past it because round 2's one advisory was a fact about the runner, not the tree: the required check was red at this SHA. That fact has moved, so the ledger entry is re-derived here. **Spec source:** `paperclip:THE-106` and its `design` document, read live this round (`fetch-paperclip-issue.sh THE-106 design`: `GET /api/issues/THE-106` → 200, 12265 bytes; `GET /api/issues/70de29f9…/documents` → 200, 8771 bytes) and the issue's comments read separately (`GET /api/issues/70de29f9…/comments` → 200, 4 entries). The line the change is measured against is the design's §Decision *Keys*: "Server key at `secret/services/semaphore/tls/server-key` (cockpit's deploy reads it, one policy line in `infra-secrets`). CA key at `secret/services/semaphore/tls/ca-key` (Operator only, read by no run)", with "ADR-0007: one credential per path, rotating on its own clock", and §Rollout step 1: "Merge the `infra-secrets` PR and apply it to the live store, so `cockpit` can read the server key." **Standards sources:** `AGENTS.md` (Decisions, Checks), `docs/agents/*.md`, and the `olympus/workshop` records this repo defers to (`docs/adr/0007`, `0009`, `0011`, `0013`); this repo carries no `CONTRIBUTING.md` or `CODING_STANDARDS.md`. ## Round 2's findings, re-driven at this head **A1 (advisory, round 2) — the required check was red at the reviewed head: cleared, by the runner, not by the tree.** `get_commit_statuses` at `5ec7f79` now answers `pr-checks / check (pull_request)` **success**, run 160, "Successful in 41s" (2026-12-01T15:02:10Z), with `plan / guest-plan-check (pull_request_target)` success, run 159, 17s. The reopen that produced this dispatch also produced run 158, red after 24s at 15:00:35Z — the same toolchain-fetch class as runs 151 and 155 — and runs 159/160 superseded it at the same SHA. What the check's green does and does not say about this tree is in the table below. **A2 (advisory, round 2) — the ticket's step-0 seeding instruction names a path this grant does not cover: unchanged, and unchanged is correct.** It is restated below as this round's Spec finding, re-read live. Round 1's blocker (B1, the two counts) stays cleared at this head: `docs/store-identity.md:394` reads "the **twelve** named paths", `bao/policies/ci-cockpit.hcl` carries 12 `path` blocks, and `docs/store-layout.md:556-561` adds the two rows and states 84. ## Standards — no findings The change keeps the repo's written rules: the decision record it implements is `olympus/workshop` ADR-0007 (one credential per path), the policy is a name rather than a prefix like every other Semaphore grant, the two pages that record the store's contents move with it (`AGENTS.md` §Checks: the docs are part of the change), the policy file is formatter-clean, and the diff carries no value, no key material and no credential. `make check` is green at this head, and the two docs hunks cite the sibling repository's branch state correctly (below). No baseline smell survives the repo's own practice: the policy comment's rationale shape matches `automation-runner.hcl`'s. ## Spec — 1 finding **A2 · ADVISORY (carried from rounds 1 and 2) · THE-106's step-0 seeding instruction still names a path this grant does not cover, so the rollout's first act would seed a path nothing reads.** THE-106's comment at `2026-11-17T13:13:35Z` reads, in full: "Correction to the store instruction above: the field is `SEMAPHORE_TLS_KEY`, not `server-key`. `scripts/env.sh` reads a path with `.data.data[$name]`, where `$name` is the environment variable from `env.map` (`scripts/env.sh:422`). So the server's key lives at path `secret/services/semaphore/tls`, field `SEMAPHORE_TLS_KEY`." The design, this grant and the consumer all disagree with the card's path: the design says `…/tls/server-key`; `bao/policies/ci-cockpit.hcl:50` grants `secret/data/services/semaphore/tls/server-key`; `docs/store-layout.md:245` names the same; `olympus/infra-cockpit` at `4cec71bf` has `env.map:48` = `secret/services/semaphore/tls/server-key SEMAPHORE_TLS_KEY`, and `scripts/env.sh` reads `.data.data[$name]` at that path and answers `404 … does not exist in the store (404); nothing written.` on a miss. An Operator who follows the card seeds `…/tls`; the deploy then refuses at `…/tls/server-key` — fail-closed, no leak, but the rollout stops at step 0 and the card is where it stopped. ADR-0007 is on this change's side: one `…/tls` path would put the server key and the CA key's field on one path across two rotation clocks (825-day leaf, 10-year CA), the shape the record forbids. Clearing change: one comment on THE-106 substituting the design's path. The card is wrong and no hunk here is, which is why it is advice and not a block; it has been unchanged since round 1. ## Verified at `5ec7f79` | claim | what I ran | result | | --- | --- | --- | | the revision under review | `git ls-remote origin refs/pull/60/head`, at the start and again before drafting | `5ec7f79` both times — the dispatch's SHA, the PR object's `head.sha` and the ref alike; base `77b1268` | | the diff is the body's three files, in the body's sizes | `git diff --name-status 77b1268 5ec7f79` | `ci-cockpit.hcl`, `docs/store-identity.md`, `docs/store-layout.md`; +11 / +11−3 / +9 — the body's table, digit for digit | | the floor at this head | `mise exec -- make check` in a worktree cut from the head | **rc 0**: `prod-test 8`, `semaphore-deploy 63`, `deploy-workflow 50`, `service-key 33`, `verify 9` assertions, 0 FAILED. The first run tripped a `plan-test` case (1 FAILED) and the next five — one full `make check` and four `make plan-test` — were green; named, not charged, below | | the policy parses and the formatter is a no-op | `bao policy fmt` on a copy (OpenBao v2.7.1) | rc 0, `Success! Formatted policy`, file byte-identical | | the grant is a name, and the CA half is out | this head's policy on a throwaway `bao` dev server on loopback, `token capabilities` of a token carrying only it | `…/tls/server-key` **read**; `…/tls/ca-key` **deny**; `…/tls` **deny**; `…/tls/server-key/extra` **deny**; `…/deploy-ssh` **deny**; `secret/metadata/services/semaphore/tls` **deny** | | the readable-set row is the policy | census of `^path "` blocks against `docs/store-identity.md:116` with the brace group expanded | 12 and 12, same set (the policy's `secret/data/` ACL prefix normalised), both difference lists empty | | the layout's ledger follows its own ladder | the paragraph at `docs/store-layout.md:556-561` against the steps above it, and the table's cells | 55→62→67→70→71→77→78→79→80→83→(82 after the npm/api retirement)→**84**; the table gained exactly 2 rows and 2 distinct paths (`:245`, `:246`) over the base, nothing else | | the certificate's home, as the two pages and the policy comment state it | `olympus/infra-cockpit`: `git ls-tree -r --name-only origin/main`, and the same at `#36`'s head `4cec71bf` | `main` carries **0** files under `semaphore/service/files/`; `4cec71bf` carries `{ca.crt,server.crt}` — "on that pull request's branch, since `main` carries neither yet" is true | | the path and the field the deploy reads | `olympus/infra-cockpit` at `4cec71bf`: `env.map:48`, `scripts/env.sh` | `secret/services/semaphore/tls/server-key SEMAPHORE_TLS_KEY`; `.data.data[$name]`; 404 → nothing written | | the merge is the act that applies it | `bao/service/roles/openbao/tasks/store.yml` §7c, `.forgejo/workflows/deploy.yml` | one edited policy file updates one policy, add-and-correct only ("it never deletes"); the deploy runs on `push` to `main`. It widens `cockpit`'s reach by one path that holds no value yet | | no secret in the diff or the body | all three hunks, and the body, read line by line | one ACL path, prose, two dates; no value, no key material, no credential | | the escalation the class owes exists and is open | `search-paperclip-issues.py 'olympus/infra-secrets#60'` | **THE-110** `in_progress`, id `f1aa4f09…`, created 2026-12-01T14:49:00Z, updated 14:49:07Z — read live this round | ## Could not verify - **That both paths are absent in the store, and what a read of them answers.** No store credential on this host, and the body says the same ("Not run: no store read and no store write"). THE-106's card recorded both absent on 2026-11-17; the first read that proves them is the first deploy's. - **The Operator's seeding of either key.** Not this change's act; the design puts it at step 0. ## Named, not charged - `docs/store-layout.md:558-559`'s "Neither is written yet" is dated to the card's 2026-11-17 record, as every row on that page dates its written-state. If the Operator seeds at the design's step 0 — which precedes this merge — the phrase wants a one-line update at the time; it is not a defect this diff introduces, and I cannot read the store to say it is already stale. - The ledger's absolute figure is the page's ladder arithmetic, not a raw row count; I checked the +2 delta and every step of the ladder and left the absolute reconciliation alone, as it stands unchanged from the base. - The rotation record's interval for the two new paths (`docs/rotation-policy.md`, `docs/rotation-record.json`): the design discloses the deferral — "Leaf expiry (2029-02-19) and CA expiry (2036-11-14) belong in `infra-secrets`' rotation record … A follow-up, not in these PRs". - `docs/store-layout.md:246` gives the CA key no field name; THE-106's card leaves that field to the Operator, so the row is honest rather than incomplete. - Nothing compares `bao/policies/` against the readable-set table (ADR-0007 §Consequences). The parity was checked by hand above and holds; no test would catch the next drift. Pre-existing, and this change does not claim otherwise. - My first `make check` run's `plan-test` failure, and run 158's red 24s: the suite and the runner, not the tree — six green runs and two green statuses at the same bytes. ## Summary Standards: **0 findings** — the change keeps the records it defers to, and its counts and parity are measured above. Spec: **1 finding, an advisory (A2, carried)** — the ticket card's step-0 path, which this diff does not touch; no spec defect stands against the change, which does exactly the design's step 1 in the shape ADR-0007 requires. One advisory is under the third that would turn the recommendation, so the recommendation is **merge**, and it travels as advice; zero blockers, so the state follows them. The change's class — a grant widening in the secrets store, applied by the deploy behind the merge — is the board's gate and not this review's: **THE-110** reads `in_progress` (read live this round), and the dispatch puts that hold on the card rather than on the state. Merging remains the board's decision after this label moves.
pit merged commit f96a05b20b into main 2026-12-01 15:49:34 +00:00
pit deleted branch hermes/the106-grant-semaphore-tls-key 2026-12-01 15:49:34 +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!60
No description provided.