A secret's path names what it belongs to #17

Merged
pit merged 3 commits from hermes/adr-0007-store-layout into main 2026-10-27 12:59:24 +00:00
Owner

A secret's path names what it belongs to

Summary

One org-wide record for how the store's paths are named, and what a readable set may look like.

docs/adr/
  0007-a-secrets-path-names-what-it-belongs-to.md   new
  index.md                                          + one row

The standard: a path's segments name what a secret belongs to — stack, service, actor minted for — never the repository consuming it. Environment appears only where the value itself varies, from a fixed vocabulary. One credential per path. And because access is written over paths, a readable set is whole grants — a prefix, or a named path — never a prefix with an exception.

It is filed Proposed: the merge is yours, and the store it describes is still empty (no mount, no policies) — the layout document naming its 54 paths is the concrete half, in infra-secrets PR #4.

Two corrections this record rides on, both from the WR-27 round: the Proxmox boundary is per-actor (regular agents hold no reach; the Admin agent does), overturning the map's earlier per-class reading; and bootstrap material (the host Proxmox token, the OpenBao init file) is age-file-only by structure — what builds and unseals the store cannot be one of its paths.

Evidence

Claim How Result
The store is alive, at HTTPS, unconfigured GET /v1/sys/health, /v1/sys/seal-status against 10.12.0.144:8200 OpenBao 2.7.1, initialised, unsealed, shamir 1-of-1
One value, four repositories (the copying this ends) sha256 across the four repos' .envs, never by reading values PROXMOX_VE_API_TOKEN identical in all four; the NPM trio identical in two
Two credentials, one name (the name cannot tell them apart) the inventory, §1 the operator's host token vs CI's scoped token, both PROXMOX_VE_API_TOKEN
Environment is a real axis, almost unused the inventory, §1 exactly the Vikunja twins and the vault passwords vary; everything else is environment-blind
The readable-set standard works on the live rows the layout doc, every inventory row mapped 54 paths, each class's set a short list of whole grants

Merge Danger

Door: two documents in workshop. Nothing is created in the store, no credential moves, nothing enforces the standard yet. Blast radius if merged and never acted on: an ADR beside five Accepted records, reading as binding before the mount exists. Blast radius if acted on: a KV v2 mount and 54 seeded paths — the cutover work, ticketed at the map's handoff.

Ticket: Vikunja WR-27 — Decide the store's path layout, closed on this decision; part of the map Wayfinder: shared secrets for every actor. Siblings: WR-35 — the state credentials (PR #16, the twelve state-key paths), WR-28 — the actor identities (the grants).

Prose in this body and in the files is agent-written (Hermes); the change is yours to review and merge.

# A secret's path names what it belongs to ## Summary One org-wide record for how the store's paths are named, and what a readable set may look like. ``` docs/adr/ 0007-a-secrets-path-names-what-it-belongs-to.md new index.md + one row ``` The standard: a path's segments name what a secret belongs to — stack, service, actor minted for — never the repository consuming it. Environment appears only where the value itself varies, from a fixed vocabulary. One credential per path. And because access is written over paths, a readable set is whole grants — a prefix, or a named path — never a prefix with an exception. It is filed **Proposed**: the merge is yours, and the store it describes is still empty (no mount, no policies) — the layout document naming its 54 paths is the concrete half, in `infra-secrets` PR #4. Two corrections this record rides on, both from the WR-27 round: the Proxmox boundary is **per-actor** (regular agents hold no reach; the Admin agent does), overturning the map's earlier per-class reading; and bootstrap material (the host Proxmox token, the OpenBao init file) is age-file-only by **structure** — what builds and unseals the store cannot be one of its paths. ## Evidence | Claim | How | Result | | --- | --- | --- | | The store is alive, at HTTPS, unconfigured | `GET /v1/sys/health`, `/v1/sys/seal-status` against 10.12.0.144:8200 | OpenBao 2.7.1, initialised, unsealed, shamir 1-of-1 | | One value, four repositories (the copying this ends) | sha256 across the four repos' `.env`s, never by reading values | `PROXMOX_VE_API_TOKEN` identical in all four; the NPM trio identical in two | | Two credentials, one name (the name cannot tell them apart) | the inventory, §1 | the operator's host token vs CI's scoped token, both `PROXMOX_VE_API_TOKEN` | | Environment is a real axis, almost unused | the inventory, §1 | exactly the Vikunja twins and the vault passwords vary; everything else is environment-blind | | The readable-set standard works on the live rows | the layout doc, every inventory row mapped | 54 paths, each class's set a short list of whole grants | ## Merge Danger Door: two documents in `workshop`. Nothing is created in the store, no credential moves, nothing enforces the standard yet. Blast radius if merged and never acted on: an ADR beside five Accepted records, reading as binding before the mount exists. Blast radius if acted on: a KV v2 mount and 54 seeded paths — the cutover work, ticketed at the map's handoff. **Ticket:** Vikunja [WR-27 — Decide the store's path layout](https://vikunja.thepit.space/tasks/141), closed on this decision; part of the map [Wayfinder: shared secrets for every actor](https://vikunja.thepit.space/tasks/137). Siblings: [WR-35 — the state credentials](https://vikunja.thepit.space/tasks/149) (PR #16, the twelve state-key paths), [WR-28 — the actor identities](https://vikunja.thepit.space/tasks/142) (the grants). Prose in this body and in the files is agent-written (Hermes); the change is yours to review and merge.
bot-minos requested changes 2026-10-27 12:33:43 +00:00
Dismissed
bot-minos left a comment

repo: olympus/workshop · pr: 17 · reviewed head: f9c88a2c03fa84b652e233f6f4b7768d24b95d42 · round 1/5 · verdict: fix

Recommendation: fix

What I reviewed. The diff at f9c88a2: docs/adr/0007-a-secrets-path-names-what-it-belongs-to.md (74 new lines) and docs/adr/index.md (+2). refs/pull/17/head re-resolved at compose time and still f9c88a2; base main f61d49c; merge base b037bee.

Spec. Vikunja WR-27 "Decide the store's path layout" (task 141), the ticket the body links, plus the body's own change map. This profile carries no Vikunja credential (unauthenticated /api/v1/tasks/141 → 401), so WR-27 is read from a task-141 payload cached on this host by an earlier session rather than from a live call; the body's pointer to the concrete half I read live (olympus/infra-secrets PR #4).

Why "fix". One blocker and four advisories — and the advisory count is over the volume line on its own, so the recommendation does not rest on the blocker alone.

Standards

BLOCKER — docs/adr/index.md:19 — the index gains a record the repository does not have.
The row added at :19 links 0006-a-stacks-state-is-read-with-a-key-of-its-own.md. That file is not in this change and not on main: git cat-file -e HEAD:docs/adr/0006-… → does not exist in 'HEAD', and the file view answers 404 at the reviewed commit where the 0007-…md target beside it answers 200. Rendered, the row absolutises to …/workshop/0006-a-stacks-state-is-read-with-a-key-of-its-own.md, so the click from the org's decisions page lands on nothing.

It is also not this record's row to add: it is byte-identical to the single row open PR #16 adds (docs/adr/index.md there, +1), so whichever of the two merges second gains a duplicate line, and #17 alone publishes a dead link. The body's change map says index.md + one row; the diff is +2.

docs/adr/index.md:22 states the rule the row breaks: "Add a decision by adding a file here and a row to that table." A row with no file is the half of that sentence the diff skipped.

Clears with: delete index.md:19. PR #16 carries its own row; once it lands, add only the 0007 row on top of it.

ADVISORY — docs/adr/0007-…:74 — the file ends without a newline.
The diff reports \ No newline at end of file; all five siblings end with one (od -An -c on 0001–0005 → \n). No rule states it — the family's shape is the reason.

Clears with: one trailing newline.

ADVISORY — merge-time — the branch is three commits behind main.
git merge-base origin/main refs/pull/17/head = b037bee; main has since taken 90210b1, dd7b36d, f61d49c, and git diff --stat HEAD main is 16 files including AGENTS.md and docs/agents/* — the repo's own rules for where records and their index live. docs/adr/0002-…:50-51 requires that "the change has to be current with main immediately before the merge, and a change behind main cannot merge." This is a merge-time gate, not a defect of the diff, and the approval is pinned to the reviewed SHA.

Clears with: merge main in (or rebase) before the merge. It does not retire the 0006 row, which is on no branch but PR #16's.

Spec

ADVISORY — docs/adr/0007-…:48-50 — "the store refuses non-secrets" is unscoped, against two Accepted records that put non-secrets in that store.
The consequence reads "The store refuses non-secrets. Addresses, endpoints and allow-lists are configuration, not credentials". Nothing here says secrets engine; the subject at :9 is "a store of secrets", which is not the object ADR-0003 describes — "every other Stack writes its state into the store, one object per Stack" (docs/adr/index.md:16) — nor the bucket-and-object place ADR-0005 fixes. Read literally, 0007 refuses what 0003 requires.

Clears with: one clause naming the scope — the KV secrets engine; the state objects ADR-0003 puts in the store are its other half.

ADVISORY — docs/adr/0007-…:29 against :35-36 — the environment segment has no stated position.
:29 fixes the running order: "segments run from owner to detail — the stack, the service, the actor a credential is minted for". :35 then admits an environment segment "only where the value itself differs, from a fixed vocabulary", without saying where it sits — and the enumeration at :29 does not contain it. The concrete doc places it third (secret/services/vikunja/prod/db, infra-secrets PR #4 docs/store-layout.md); from the record alone a reader cannot tell whether secret/prod/services/vikunja/db — the ticket's own alternative B — conforms, which is the drift a naming standard exists to prevent.

Clears with: a clause placing the segment after the service, where the layout uses it.

ADVISORY — PR body — the concrete half is cited at the wrong pull request.
The body says "the layout document naming its 54 paths is the concrete half, in infra-secrets PR #1". PR #1 there is "openbao: the guest stack, the service role and the repo's toolchain", merged 2026-10-18, and its own body says Scope: no docs (deliberately deferred); its 25 files carry no docs/. The layout document is PR #4, docs/store-layout.md at 7b69f0a. That pointer is the only route a reader has to the rows the standard is claimed to work on.

Clears with: point at PR #4.

Checked and accepted — not findings

  • ## Update when as a fifth section (:65) where all five siblings carry four. The index's fourth column already summarises it and the section expands it; family shape is house style, not a written rule, and one batched round should not turn it into a rule.
  • Proposed in a table of Accepted rows — :5 states it, the body states its blast radius, and the index orders nothing by status.
  • The numbering: 0007 is the next address once 0006 lands. The defect is the row, not the number.
  • "Two credentials shared a name" (:16-17) and "one value sat in seven places at once" (:17) — the inventory behind those figures (research/tr46-secret-inventory.md @ 02aeb18) is served by no olympus repository I can read, so I neither confirm nor charge them.

Verified

  • refs/pull/17/head = f9c88a2, unchanged between the first read and the one before this review; diff against merge base b037bee = 2 files, +76, both accounted for.
  • The 0006 link target: 404 at f9c88a2 for docs/adr/0006-…md, 200 for 0007-…md on the same commit — the control that makes the first a result rather than a guess.
  • docs/adr/index.md through the forge's own GFM renderer (POST /api/v1/markdown, mode=gfm): 8 rows × 4 cells, so the new 0007 row parses with no broken cell; 0007 renders 5 headings, no table and no links.
  • Wrap widths by character count (${#line} in a bash loop, not awk's byte count): 0007's longest line is 79, none over 80. Siblings' longest are 95 (0001:60), 81 (0002:62), 80 (0003:11, 0004:17, 0005:11).
  • Body's first evidence row reproduced: GET https://10.12.0.144:8200/v1/sys/health → 200, version: 2.7.1, initialized: true, sealed: false.

Could not verify

  • WR-27 live — no tracker credential in this profile (401); the ticket is read from the cached payload, as stated above.
  • The store being empty — GET /v1/sys/mounts answers 403 without the root credential, which this review did not take.
  • The 54-path figure. Enumerating docs/store-layout.md's own rows gives 50 live KV paths, 1 reserved and 2 age files, plus 4 transitional ansible/vault-password paths; 54 comes out only if those four are counted as live, and the document's count line and its "retired at cutover" heading disagree about them. I state the enumeration rather than confirm or charge the number.
  • No code gates apply to this diff: decide.test.js, scan.test.py and render.test.py read files this change does not touch, so I did not run them.

Summary. Standards: 3 findings — worst is docs/adr/index.md:19, an index row that links a record not in the tree (BLOCKER). Spec: 2 findings — worst is the unscoped "store refuses non-secrets" (0007:48-50) read against ADR-0003. 1 blocker, 4 advisories: REQUEST_CHANGES, label review/needs-fix.

<!-- minos review-loop: repo=olympus/workshop pr=17 head=f9c88a2c03fa84b652e233f6f4b7768d24b95d42 round=1/5 verdict=fix axes=standards,spec --> repo: `olympus/workshop` · pr: **17** · reviewed head: `f9c88a2c03fa84b652e233f6f4b7768d24b95d42` · round **1/5** · verdict: **fix** Recommendation: fix **What I reviewed.** The diff at `f9c88a2`: `docs/adr/0007-a-secrets-path-names-what-it-belongs-to.md` (74 new lines) and `docs/adr/index.md` (+2). `refs/pull/17/head` re-resolved at compose time and still `f9c88a2`; base `main` `f61d49c`; merge base `b037bee`. **Spec.** Vikunja **WR-27 "Decide the store's path layout"** (task 141), the ticket the body links, plus the body's own change map. This profile carries no Vikunja credential (unauthenticated `/api/v1/tasks/141` → **401**), so WR-27 is read from a task-141 payload cached on this host by an earlier session rather than from a live call; the body's pointer to the concrete half I read live (`olympus/infra-secrets` PR #4). **Why "fix".** One blocker and four advisories — and the advisory count is over the volume line on its own, so the recommendation does not rest on the blocker alone. ## Standards **BLOCKER — `docs/adr/index.md:19` — the index gains a record the repository does not have.** The row added at `:19` links `0006-a-stacks-state-is-read-with-a-key-of-its-own.md`. That file is not in this change and not on `main`: `git cat-file -e HEAD:docs/adr/0006-…` → `does not exist in 'HEAD'`, and the file view answers **404** at the reviewed commit where the `0007-…md` target beside it answers **200**. Rendered, the row absolutises to `…/workshop/0006-a-stacks-state-is-read-with-a-key-of-its-own.md`, so the click from the org's decisions page lands on nothing. It is also not this record's row to add: it is byte-identical to the single row open **PR #16** adds (`docs/adr/index.md` there, `+1`), so whichever of the two merges second gains a duplicate line, and #17 alone publishes a dead link. The body's change map says `index.md + one row`; the diff is `+2`. `docs/adr/index.md:22` states the rule the row breaks: "Add a decision by adding a file here and a row to that table." A row with no file is the half of that sentence the diff skipped. *Clears with:* delete `index.md:19`. PR #16 carries its own row; once it lands, add only the 0007 row on top of it. **ADVISORY — `docs/adr/0007-…:74` — the file ends without a newline.** The diff reports `\ No newline at end of file`; all five siblings end with one (`od -An -c` on 0001–0005 → `\n`). No rule states it — the family's shape is the reason. *Clears with:* one trailing newline. **ADVISORY — merge-time — the branch is three commits behind `main`.** `git merge-base origin/main refs/pull/17/head` = `b037bee`; `main` has since taken `90210b1`, `dd7b36d`, `f61d49c`, and `git diff --stat HEAD main` is 16 files including `AGENTS.md` and `docs/agents/*` — the repo's own rules for where records and their index live. `docs/adr/0002-…:50-51` requires that "the change has to be current with `main` immediately before the merge, and a change behind `main` cannot merge." This is a merge-time gate, not a defect of the diff, and the approval is pinned to the reviewed SHA. *Clears with:* merge `main` in (or rebase) before the merge. It does not retire the 0006 row, which is on no branch but PR #16's. ## Spec **ADVISORY — `docs/adr/0007-…:48-50` — "the store refuses non-secrets" is unscoped, against two Accepted records that put non-secrets in that store.** The consequence reads "**The store refuses non-secrets.** Addresses, endpoints and allow-lists are configuration, not credentials". Nothing here says *secrets engine*; the subject at `:9` is "a store of secrets", which is not the object ADR-0003 describes — "every other Stack writes its state into the store, one object per Stack" (`docs/adr/index.md:16`) — nor the bucket-and-object place ADR-0005 fixes. Read literally, 0007 refuses what 0003 requires. *Clears with:* one clause naming the scope — the KV secrets engine; the state objects ADR-0003 puts in the store are its other half. **ADVISORY — `docs/adr/0007-…:29` against `:35-36` — the environment segment has no stated position.** `:29` fixes the running order: "segments run from owner to detail — the stack, the service, the actor a credential is minted for". `:35` then admits an environment segment "only where the value itself differs, from a fixed vocabulary", without saying where it sits — and the enumeration at `:29` does not contain it. The concrete doc places it third (`secret/services/vikunja/prod/db`, `infra-secrets` PR #4 `docs/store-layout.md`); from the record alone a reader cannot tell whether `secret/prod/services/vikunja/db` — the ticket's own alternative B — conforms, which is the drift a naming standard exists to prevent. *Clears with:* a clause placing the segment after the service, where the layout uses it. **ADVISORY — PR body — the concrete half is cited at the wrong pull request.** The body says "the layout document naming its 54 paths is the concrete half, in `infra-secrets` PR #1". PR #1 there is "openbao: the guest stack, the service role and the repo's toolchain", merged 2026-10-18, and its own body says `Scope: no docs (deliberately deferred)`; its 25 files carry no `docs/`. The layout document is **PR #4**, `docs/store-layout.md` at `7b69f0a`. That pointer is the only route a reader has to the rows the standard is claimed to work on. *Clears with:* point at PR #4. ## Checked and accepted — not findings - `## Update when` as a fifth section (`:65`) where all five siblings carry four. The index's fourth column already summarises it and the section expands it; family shape is house style, not a written rule, and one batched round should not turn it into a rule. - `Proposed` in a table of `Accepted` rows — `:5` states it, the body states its blast radius, and the index orders nothing by status. - The numbering: 0007 is the next address once 0006 lands. The defect is the row, not the number. - "Two credentials shared a name" (`:16-17`) and "one value sat in seven places at once" (`:17`) — the inventory behind those figures (`research/tr46-secret-inventory.md` @ `02aeb18`) is served by no olympus repository I can read, so I neither confirm nor charge them. ## Verified - `refs/pull/17/head` = `f9c88a2`, unchanged between the first read and the one before this review; diff against merge base `b037bee` = 2 files, +76, both accounted for. - The 0006 link target: **404** at `f9c88a2` for `docs/adr/0006-…md`, **200** for `0007-…md` on the same commit — the control that makes the first a result rather than a guess. - `docs/adr/index.md` through the forge's own GFM renderer (`POST /api/v1/markdown`, `mode=gfm`): 8 rows × 4 cells, so the new 0007 row parses with no broken cell; `0007` renders 5 headings, no table and no links. - Wrap widths by character count (`${#line}` in a bash loop, not `awk`'s byte count): 0007's longest line is 79, none over 80. Siblings' longest are 95 (`0001:60`), 81 (`0002:62`), 80 (`0003:11`, `0004:17`, `0005:11`). - Body's first evidence row reproduced: `GET https://10.12.0.144:8200/v1/sys/health` → 200, `version: 2.7.1`, `initialized: true`, `sealed: false`. ## Could not verify - WR-27 live — no tracker credential in this profile (401); the ticket is read from the cached payload, as stated above. - The store being empty — `GET /v1/sys/mounts` answers **403** without the root credential, which this review did not take. - The 54-path figure. Enumerating `docs/store-layout.md`'s own rows gives 50 live KV paths, 1 reserved and 2 age files, plus 4 transitional `ansible/vault-password` paths; 54 comes out only if those four are counted as live, and the document's count line and its "retired at cutover" heading disagree about them. I state the enumeration rather than confirm or charge the number. - No code gates apply to this diff: `decide.test.js`, `scan.test.py` and `render.test.py` read files this change does not touch, so I did not run them. --- **Summary.** Standards: 3 findings — worst is `docs/adr/index.md:19`, an index row that links a record not in the tree (**BLOCKER**). Spec: 2 findings — worst is the unscoped "store refuses non-secrets" (`0007:48-50`) read against ADR-0003. 1 blocker, 4 advisories: **REQUEST_CHANGES**, label `review/needs-fix`.
The index carried a row for a record this branch does not have: 0006 lands
with PR #16, so the row belongs there and here only after it does. A row with
no file behind it is the half of the index's own rule the diff had skipped.

The record's first consequence said "the store" refuses non-secrets, where the
family's "the store" is the object store that carries state (0003, 0005) and
this record is about the KV secrets engine. Read literally it refused what the
state record requires, so the rule now names its scope and says the state
objects the other store carries are not refused here.

The environment segment was admitted without a position, so the ticket's own
alternative — `secret/prod/services/…` — read as conformant. It sits after the
service and before the actor, as the layout document uses it.

The file also ended without the newline its five siblings carry.
Member

Read at round=1/5, verdict fix: 1 blocker, 4 advisories. Two commits on hermes/adr-0007-store-layout; no force-push, no rewritten history, nothing on main.

# Finding Change Commit
B docs/adr/index.md:19 links a record the tree does not carry (0006, PR #16's) row deleted — the index now gains only the 0007 row 43d2176
A1 0007:74 ends without a newline trailing newline added, as its five siblings carry 43d2176
A2 branch three commits behind main origin/main (f61d49c) merged in b2052d2
A3 0007:48-50 — "the store refuses non-secrets" unscoped the rule now names the KV secrets engine, and says the state objects ADR-0003 puts in its store are not refused here 43d2176
A4 0007:29 against :35-36 — environment segment has no stated position a clause places it after the service and before the actor: secret/services/vikunja/prod/db 43d2176
A5 PR body cites the concrete half at infra-secrets PR #1 nothing changed — the stored body already names PR #4; see below —

The blocker. docs/adr/index.md added two rows where the body's change map says one, and the first of them was PR #16's 0006 row, byte-identical to what that PR adds. Deleting it leaves the 0007 row on its own; the numbering gap 0005→0007 is the state PR #16 is in, and is not this change's to close.

A3, and where I departed from the suggested clearing change. The scope is named as suggested. I did not write it as "the state objects ADR-0003 puts in the store are its other half": ADR-0003's store is the object store whose buckets ADR-0005 compares, and the state objects live there — what sits in the KV engine at secret/tofu-state/<record>/{apply,plan} is the S3 key pair, not the object. Written as offered, the sentence would have moved the state objects inside the secrets engine. The clause names the engine's paths as this record's subject and states that the other store's objects are not refused here, which is the scoping the finding asks for without the false half.

A5. The stored body names infra-secrets PR #4 at :15 — GET /pulls/17 at f9c88a2 and again at 43d2176, byte-identical, and updated_at is the label write at 12:33:50Z, so it has not been edited since the PR opened. The review quotes PR #1; that is not what the body holds at either revision, and there is nothing to correct. Recorded as a correction of the evidence, not of the ask.

Verification. Run unpiped, in a git archive HEAD copy of 43d2176 (the tree that was pushed, not the working tree):

mise exec -- python3 nas-disk-report/tests/scan.test.py     rc=0   24 passed, 0 failed
mise exec -- python3 nas-disk-report/tests/render.test.py   rc=0   141 passed, 0 failed
mise exec -- node pr-review-loop/tests/decide.test.js       rc=0   71/71 checks passed
mise exec -- scripts/tests/protect-main.test.sh             rc=0   all 63 checks pass
mise exec -- scripts/tests/onboard-repo.test.sh             rc=0   all 41 checks pass

The docs shape, from the tree that was pushed and read back over GET /repos/olympus/workshop/raw/<path>?ref=43d2176:

  • docs/adr/index.md: 6 rows against 6 NNNN-*.md files; every row's target exists and every file has a row; every row parses to 4 cells. Through POST /api/v1/markdown (mode=gfm) the table renders 7 <tr>, 4 <th> and 24 <td>.
  • docs/adr/0007-…md: ends with \n; longest line 79 characters, the same maximum as the reviewed revision (base histogram: 79 max, none over 80 — checked with len() in a script, not awk's byte count); no 0006 reference left anywhere under docs/adr/.
  • Diff at this head: 2 files, +79/−0 (git diff --numstat --histogram origin/main...HEAD), matching the body's change map again: one new record, one row.

Self-review. The code-review skill's two passes were run by me in sequence, not as parallel sub-agents — no claude, codex or agent CLI exists on this host's PATH.

Left alone. Nothing is left unfixed. A2 is a snapshot: if main moves again before the merge, ADR-0002's currency rule re-opens and the merge has to take it up again — that is the record's gate, not a defect this branch can close for good.

Post-push CI. None: this branch carries no .forgejo/workflows/, so there are no status contexts to wait for and this comment is the verification record.

<!-- fix-meta repo=olympus/workshop pr=17 head=43d217656e11e007451b8e44185aa490856ec36e round=1/5 disposition=fixed --> Read at `round=1/5`, verdict **fix**: 1 blocker, 4 advisories. Two commits on `hermes/adr-0007-store-layout`; no force-push, no rewritten history, nothing on `main`. | # | Finding | Change | Commit | | --- | --- | --- | --- | | B | `docs/adr/index.md:19` links a record the tree does not carry (0006, PR #16's) | row deleted — the index now gains only the 0007 row | `43d2176` | | A1 | `0007:74` ends without a newline | trailing newline added, as its five siblings carry | `43d2176` | | A2 | branch three commits behind `main` | `origin/main` (`f61d49c`) merged in | `b2052d2` | | A3 | `0007:48-50` — "the store refuses non-secrets" unscoped | the rule now names the KV secrets engine, and says the state objects ADR-0003 puts in *its* store are not refused here | `43d2176` | | A4 | `0007:29` against `:35-36` — environment segment has no stated position | a clause places it after the service and before the actor: `secret/services/vikunja/prod/db` | `43d2176` | | A5 | PR body cites the concrete half at `infra-secrets` PR #1 | nothing changed — the stored body already names PR #4; see below | — | **The blocker.** `docs/adr/index.md` added two rows where the body's change map says one, and the first of them was PR #16's 0006 row, byte-identical to what that PR adds. Deleting it leaves the 0007 row on its own; the numbering gap 0005→0007 is the state PR #16 is in, and is not this change's to close. **A3, and where I departed from the suggested clearing change.** The scope is named as suggested. I did not write it as *"the state objects ADR-0003 puts in the store are its other half"*: ADR-0003's store is the object store whose buckets ADR-0005 compares, and the state objects live there — what sits in the KV engine at `secret/tofu-state/<record>/{apply,plan}` is the S3 key *pair*, not the object. Written as offered, the sentence would have moved the state objects inside the secrets engine. The clause names the engine's paths as this record's subject and states that the other store's objects are not refused here, which is the scoping the finding asks for without the false half. **A5.** The stored body names `infra-secrets` PR #4 at `:15` — `GET /pulls/17` at `f9c88a2` and again at `43d2176`, byte-identical, and `updated_at` is the label write at `12:33:50Z`, so it has not been edited since the PR opened. The review quotes `PR #1`; that is not what the body holds at either revision, and there is nothing to correct. Recorded as a correction of the evidence, not of the ask. **Verification.** Run unpiped, in a `git archive HEAD` copy of `43d2176` (the tree that was pushed, not the working tree): ``` mise exec -- python3 nas-disk-report/tests/scan.test.py rc=0 24 passed, 0 failed mise exec -- python3 nas-disk-report/tests/render.test.py rc=0 141 passed, 0 failed mise exec -- node pr-review-loop/tests/decide.test.js rc=0 71/71 checks passed mise exec -- scripts/tests/protect-main.test.sh rc=0 all 63 checks pass mise exec -- scripts/tests/onboard-repo.test.sh rc=0 all 41 checks pass ``` The docs shape, from the tree that was pushed and read back over `GET /repos/olympus/workshop/raw/<path>?ref=43d2176`: - `docs/adr/index.md`: 6 rows against 6 `NNNN-*.md` files; every row's target exists and every file has a row; every row parses to 4 cells. Through `POST /api/v1/markdown` (`mode=gfm`) the table renders 7 `<tr>`, 4 `<th>` and 24 `<td>`. - `docs/adr/0007-…md`: ends with `\n`; longest line 79 characters, the same maximum as the reviewed revision (base histogram: 79 max, none over 80 — checked with `len()` in a script, not `awk`'s byte count); no `0006` reference left anywhere under `docs/adr/`. - Diff at this head: 2 files, +79/−0 (`git diff --numstat --histogram origin/main...HEAD`), matching the body's change map again: one new record, one row. **Self-review.** The `code-review` skill's two passes were run by me in sequence, not as parallel sub-agents — no `claude`, `codex` or `agent` CLI exists on this host's `PATH`. **Left alone.** Nothing is left unfixed. A2 is a snapshot: if `main` moves again before the merge, ADR-0002's currency rule re-opens and the merge has to take it up again — that is the record's gate, not a defect this branch can close for good. **Post-push CI.** None: this branch carries no `.forgejo/workflows/`, so there are no status contexts to wait for and this comment is the verification record.
bot-minos approved these changes 2026-10-27 12:39:40 +00:00
bot-minos left a comment

repo: olympus/workshop · pr: 17 · reviewed head: 43d2176 · round 2/5 · verdict: merge

Recommendation: merge

What I reviewed. Round 2, on the head the dispatch named: 43d2176, re-resolved on the host before composing — refs/pull/17/head still 43d2176, PR head.sha the same. The fixed point is round 1's header SHA, f9c88a2. The delta is two commits, and they are two different things:

  • b2052d2 — main (f61d49c) merged into the branch, which is what round 1's currency advisory asked for. It brings 16 files, all of them main's own history (the NAS disk report, docs/agents/*, AGENTS.md, the loop config); git diff --stat f61d49c b2052d2 shows only this branch's two files, so none of those 16 is this change's to answer for.
  • 43d2176 — the fix itself: 2 files, +12/−9.

The PR diff against merge base f61d49c is 2 files, +79/−0 (git diff --numstat f61d49c...43d2176), matching the body's change map: one new record, one row.

Round 1, closed

# Round-1 finding Status Evidence at 43d2176
B docs/adr/index.md:19 linked 0006-…md, a record the tree does not carry resolved — 43d2176 deletes the row index carries 6 rows against 6 records on disk; the 0007 target answers 200 at this commit while 0006-…md answers 404 — the control that makes the first a result rather than a guess
A1 0007:74 ended without a newline resolved — 43d2176 od -An -c on the last byte reads \n; all five siblings end the same way
A2 branch three commits behind main cleared — b2052d2 merge_base is now f61d49c, main's tip, and the PR reads mergeable: true. This is a snapshot: if main moves again before the merge, ADR-0002's currency clause re-opens and the merge has to take it up
A3 0007:48-50 — the refusal of non-secrets was unscoped against ADR-0003 resolved — 43d2176, now 0007:50-54 the bullet names the KV secrets engine and adds the scoping sentence. I checked the reading against ADR-0003: its store is the one a Stack creates and buckets states, and the keys this engine holds for it are secret/tofu-state/<record>/{apply,plan} — credentials, not objects. The clause is right, and better than the one round 1 offered
A4 0007:29 against :35-36 — the environment segment had no stated position resolved — 43d2176, now 0007:35-37 the segment sits after the service and before the actor, with secret/services/vikunja/prod/db as the example. That is exactly where the concrete half puts it: the layout doc's only environment-bearing paths are secret/services/vikunja/{prod,test}/{db,app,smtp,accounts/pit} (infra-secrets PR #4, docs/store-layout.md at 7b69f0a)
A5 body cited the concrete half at infra-secrets PR #1 retired — does not reproduce the stored body at 43d2176 names PR #4 (GET /pulls/17, body line 15). The earlier charge was wrong about the text it quoted, or the text has since moved; either way there is nothing here for the author to fix, and round 1 should not have charged it

Standards

ADVISORY — docs/adr/0007-a-secrets-path-names-what-it-belongs-to.md:28-37 — the rule names three segment kinds and its new example ends in a fourth.

:28-30 states a closed grammar: A path names what a secret belongs to, in segments, and nothing else. The segments run from owner to detail — the stack, the service, the actor a credential is minted for.

:37, added by 43d2176, is the first example in the record: secret/services/vikunja/prod/db. Its last segment, db, is the credential itself — the Vikunja database password in the layout doc's table — not a stack, not a service, not an actor. So the record says what a path holds is only the owner chain, and then shows a path holding one more thing it never names.

The gap bites a reader naming a new path, which is the whole job of the record. The concrete half ends paths two ways — the actor at the leaf (secret/mcp/<tool>/<actor>, secret/services/forgejo/accounts/pit) and the credential at the leaf (secret/services/vikunja/prod/db) — and nothing in the ADR says which leaf is which, or that both are allowed.

Clears with: one clause in the same paragraph — the last segment names the credential inside its owner, and an actor's name takes that place only where the credential is minted for that actor. The example then illustrates the rule instead of escaping it.

Spec

No findings. The spec is Vikunja WR-27 — Decide the store's path layout (task id 141, index 27), which the body links, and which I read live this round along with its one resolution comment. Round 1 could not reach it (the profile's key answered 401); this round the same key answers 200 on project 5 and on the task, so the spec is read from the tracker rather than from a cached payload.

The ticket's decision list, mapped to the record as it stands:

Ticket Record
Owner-first; segments name what a secret belongs to; never the consuming repo 0007:28-33
An environment segment only where the value varies, from a fixed vocabulary 0007:35-40 (position now stated)
One credential per path; fields share a path only when they rotate together 0007:39-40, 0007:59-61
One axis per segment; never environment and owner fused 0007:38
Readable sets are whole grants, never a prefix with an exception 0007:42-46
Bootstrap material outside the store by structure 0007:65-67

The per-actor Proxmox boundary the body says this record rides on is a grant question, and the ticket hands it to WR-28; the record not restating it is correct scoping, not an omission. Nothing in the diff is asked for by no clause of the ticket: the Update when list is the index's fourth column expanded, and the bootstrap bullet is one of the ticket's own decisions.

Checked and accepted — not findings

  • ## Update when as a fifth section (:69) where all five siblings carry four. Accepted in round 1 and unchanged; the index's fourth column already summarises it, family shape is house style, and no rule states it.
  • Proposed in a table of Accepted rows (:5, index.md:19). Deliberate, stated in the body, and the index orders nothing by status.
  • The numbering gap the blocker fix leaves behind — 0005, then 0007, while 0006 lives in PR #16. index.md:5 says the numbering is an address, not a ranking; the row removed was the defect, not the number.
  • The unscoped wording left in the record's own Update when bullet (:75) and in the index cell (index.md:19), beside the now-scoped consequence. In context both read as this record's subject, and the consequence is where the rule lives. I looked for a contradiction with ADR-0003 and there is none.
  • The scoping sentence's the store it describes — it resolves to ADR-0003, and the sentence survives that reading against the layout doc.

Verified

  • refs/pull/17/head = 43d2176, unchanged between the first read and the compose; merge_base = f61d49c; mergeable: true; 2 files changed.
  • Blocker fix, both halves: index 6 rows against 6 NNNN-*.md files; the 0007 row's target 200, 0006-…md 404, both at 43d2176.
  • index.md through the forge's own renderer (POST /api/v1/markdown, mode=gfm, context=olympus/workshop): 7 <tr> — header plus six — 4 cells on every row, one link each. No broken cell.
  • Trailing newline on 0007 and on all five siblings (od -An -c on the last byte).
  • Wrap widths by character count (${#line} in a bash loop): 0007's longest line is 79, none over 80. The siblings' longest are 95 (0001), 81 (0002), 80 (0003, 0004, 0005).
  • Both clauses the fix added, against the concrete half: the environment position matches every environment-bearing path in docs/store-layout.md at 7b69f0a, and the refusal's scope matches that document's split between the KV engine's paths and the state objects.
  • Spec: WR-27 read live — GET /projects/5/tasks → 200 (36 rows), task id 141 matched by index == 27 and by title, then GET /tasks/141 → 200 and GET /tasks/141/comments → 200 with its resolution comment.

Could not verify

  • The body's 54-path figure and its sha256 evidence row: research/tr46-secret-inventory.md at 02aeb18 is served by no olympus repository I can read from this host. Enumerating the layout doc's own rows gives 50 live KV paths, 1 reserved and 2 age files, plus 4 transitional ansible/vault-password paths — 54 only if those four count as live, and the document's count line and its retired at cutover heading disagree about them. Unchanged by this delta; I state the enumeration rather than confirm or charge the number.
  • The live store: GET /v1/sys/mounts answers 403 without the root credential, which this review did not take. The body's claim that it is empty is not re-driven here.
  • Branch protection and the approvals count: the endpoint wants admin. ADR-0002 binds whether or not the platform is read as enforcing it.
  • No code gates apply — this branch carries no .forgejo/workflows/, and decide.test.js, scan.test.py and render.test.py read files this change does not touch.

Summary. Standards: 1 finding, no blocker — worst (and only) is the unnamed leaf segment at 0007:28-37, an ADVISORY. Spec: 0 findings. That is 1 advisory, below the three-advisory volume line, so the state follows the blockers: APPROVE, label review/merge-ready. The one advisory is advice and does not hold the merge; if the author takes it, it fits in the same paragraph as the environment clause.

<!-- minos review-loop: repo=olympus/workshop pr=17 head=43d217656e11e007451b8e44185aa490856ec36e round=2/5 verdict=merge axes=standards,spec --> repo: `olympus/workshop` · pr: **17** · reviewed head: `43d2176` · round **2/5** · verdict: **merge** Recommendation: merge **What I reviewed.** Round 2, on the head the dispatch named: `43d2176`, re-resolved on the host before composing — `refs/pull/17/head` still `43d2176`, PR `head.sha` the same. The fixed point is round 1's header SHA, `f9c88a2`. The delta is two commits, and they are two different things: - `b2052d2` — `main` (`f61d49c`) merged into the branch, which is what round 1's currency advisory asked for. It brings 16 files, all of them `main`'s own history (the NAS disk report, `docs/agents/*`, `AGENTS.md`, the loop config); `git diff --stat f61d49c b2052d2` shows only this branch's two files, so none of those 16 is this change's to answer for. - `43d2176` — the fix itself: 2 files, +12/−9. The PR diff against merge base `f61d49c` is 2 files, +79/−0 (`git diff --numstat f61d49c...43d2176`), matching the body's change map: one new record, one row. ## Round 1, closed | # | Round-1 finding | Status | Evidence at `43d2176` | | --- | --- | --- | --- | | B | `docs/adr/index.md:19` linked `0006-…md`, a record the tree does not carry | **resolved** — `43d2176` deletes the row | index carries 6 rows against 6 records on disk; the 0007 target answers **200** at this commit while `0006-…md` answers **404** — the control that makes the first a result rather than a guess | | A1 | `0007:74` ended without a newline | **resolved** — `43d2176` | `od -An -c` on the last byte reads `\n`; all five siblings end the same way | | A2 | branch three commits behind `main` | **cleared** — `b2052d2` | `merge_base` is now `f61d49c`, `main`'s tip, and the PR reads `mergeable: true`. This is a snapshot: if `main` moves again before the merge, ADR-0002's currency clause re-opens and the merge has to take it up | | A3 | `0007:48-50` — the refusal of non-secrets was unscoped against ADR-0003 | **resolved** — `43d2176`, now `0007:50-54` | the bullet names the KV secrets engine and adds the scoping sentence. I checked the reading against ADR-0003: its store is the one a Stack creates and buckets states, and the keys this engine holds for it are `secret/tofu-state/<record>/{apply,plan}` — credentials, not objects. The clause is right, and better than the one round 1 offered | | A4 | `0007:29` against `:35-36` — the environment segment had no stated position | **resolved** — `43d2176`, now `0007:35-37` | the segment sits after the service and before the actor, with `secret/services/vikunja/prod/db` as the example. That is exactly where the concrete half puts it: the layout doc's only environment-bearing paths are `secret/services/vikunja/{prod,test}/{db,app,smtp,accounts/pit}` (`infra-secrets` PR #4, `docs/store-layout.md` at `7b69f0a`) | | A5 | body cited the concrete half at `infra-secrets` PR #1 | **retired** — does not reproduce | the stored body at `43d2176` names PR #4 (`GET /pulls/17`, body line 15). The earlier charge was wrong about the text it quoted, or the text has since moved; either way there is nothing here for the author to fix, and round 1 should not have charged it | ## Standards **ADVISORY — `docs/adr/0007-a-secrets-path-names-what-it-belongs-to.md:28-37` — the rule names three segment kinds and its new example ends in a fourth.** `:28-30` states a closed grammar: `A path names what a secret belongs to, in segments, and nothing else. The segments run from owner to detail — the stack, the service, the actor a credential is minted for`. `:37`, added by `43d2176`, is the first example in the record: `secret/services/vikunja/prod/db`. Its last segment, `db`, is the credential itself — the Vikunja database password in the layout doc's table — not a stack, not a service, not an actor. So the record says what a path holds is *only* the owner chain, and then shows a path holding one more thing it never names. The gap bites a reader naming a new path, which is the whole job of the record. The concrete half ends paths two ways — the actor at the leaf (`secret/mcp/<tool>/<actor>`, `secret/services/forgejo/accounts/pit`) and the credential at the leaf (`secret/services/vikunja/prod/db`) — and nothing in the ADR says which leaf is which, or that both are allowed. *Clears with:* one clause in the same paragraph — the last segment names the credential inside its owner, and an actor's name takes that place only where the credential is minted for that actor. The example then illustrates the rule instead of escaping it. ## Spec **No findings.** The spec is Vikunja **WR-27 — Decide the store's path layout** (task id 141, index 27), which the body links, and which I read live this round along with its one resolution comment. Round 1 could not reach it (the profile's key answered 401); this round the same key answers 200 on project 5 and on the task, so the spec is read from the tracker rather than from a cached payload. The ticket's decision list, mapped to the record as it stands: | Ticket | Record | | --- | --- | | Owner-first; segments name what a secret belongs to; never the consuming repo | `0007:28-33` | | An environment segment only where the value varies, from a fixed vocabulary | `0007:35-40` (position now stated) | | One credential per path; fields share a path only when they rotate together | `0007:39-40`, `0007:59-61` | | One axis per segment; never environment and owner fused | `0007:38` | | Readable sets are whole grants, never a prefix with an exception | `0007:42-46` | | Bootstrap material outside the store by structure | `0007:65-67` | The per-actor Proxmox boundary the body says this record rides on is a *grant* question, and the ticket hands it to WR-28; the record not restating it is correct scoping, not an omission. Nothing in the diff is asked for by no clause of the ticket: the `Update when` list is the index's fourth column expanded, and the bootstrap bullet is one of the ticket's own decisions. ## Checked and accepted — not findings - `## Update when` as a fifth section (`:69`) where all five siblings carry four. Accepted in round 1 and unchanged; the index's fourth column already summarises it, family shape is house style, and no rule states it. - `Proposed` in a table of `Accepted` rows (`:5`, `index.md:19`). Deliberate, stated in the body, and the index orders nothing by status. - The numbering gap the blocker fix leaves behind — `0005`, then `0007`, while `0006` lives in PR #16. `index.md:5` says the numbering is an address, not a ranking; the row removed was the defect, not the number. - The unscoped wording left in the record's own `Update when` bullet (`:75`) and in the index cell (`index.md:19`), beside the now-scoped consequence. In context both read as this record's subject, and the consequence is where the rule lives. I looked for a contradiction with ADR-0003 and there is none. - The scoping sentence's `the store it describes` — `it` resolves to ADR-0003, and the sentence survives that reading against the layout doc. ## Verified - `refs/pull/17/head` = `43d2176`, unchanged between the first read and the compose; `merge_base` = `f61d49c`; `mergeable: true`; 2 files changed. - Blocker fix, both halves: index 6 rows against 6 `NNNN-*.md` files; the 0007 row's target **200**, `0006-…md` **404**, both at `43d2176`. - `index.md` through the forge's own renderer (`POST /api/v1/markdown`, `mode=gfm`, `context=olympus/workshop`): 7 `<tr>` — header plus six — 4 cells on every row, one link each. No broken cell. - Trailing newline on `0007` and on all five siblings (`od -An -c` on the last byte). - Wrap widths by character count (`${#line}` in a bash loop): `0007`'s longest line is 79, none over 80. The siblings' longest are 95 (`0001`), 81 (`0002`), 80 (`0003`, `0004`, `0005`). - Both clauses the fix added, against the concrete half: the environment position matches every environment-bearing path in `docs/store-layout.md` at `7b69f0a`, and the refusal's scope matches that document's split between the KV engine's paths and the state objects. - Spec: WR-27 read live — `GET /projects/5/tasks` → 200 (36 rows), task id 141 matched by `index == 27` and by title, then `GET /tasks/141` → 200 and `GET /tasks/141/comments` → 200 with its resolution comment. ## Could not verify - The body's 54-path figure and its sha256 evidence row: `research/tr46-secret-inventory.md` at `02aeb18` is served by no olympus repository I can read from this host. Enumerating the layout doc's own rows gives 50 live KV paths, 1 reserved and 2 age files, plus 4 transitional `ansible/vault-password` paths — 54 only if those four count as live, and the document's count line and its `retired at cutover` heading disagree about them. Unchanged by this delta; I state the enumeration rather than confirm or charge the number. - The live store: `GET /v1/sys/mounts` answers **403** without the root credential, which this review did not take. The body's claim that it is empty is not re-driven here. - Branch protection and the approvals count: the endpoint wants admin. ADR-0002 binds whether or not the platform is read as enforcing it. - No code gates apply — this branch carries no `.forgejo/workflows/`, and `decide.test.js`, `scan.test.py` and `render.test.py` read files this change does not touch. --- **Summary.** Standards: 1 finding, no blocker — worst (and only) is the unnamed leaf segment at `0007:28-37`, an ADVISORY. Spec: 0 findings. That is 1 advisory, below the three-advisory volume line, so the state follows the blockers: **APPROVE**, label `review/merge-ready`. The one advisory is advice and does not hold the merge; if the author takes it, it fits in the same paragraph as the environment clause.
pit merged commit 807c9bf47c into main 2026-10-27 12:59:24 +00:00
pit deleted branch hermes/adr-0007-store-layout 2026-10-27 12:59:24 +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/workshop!17
No description provided.