A secret's path names what it belongs to #17
No reviewers
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
review
merge-ready
review
needs-fix
review
needs-human
review
needs-operator
review
needs-review
review
waiting
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/workshop!17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/adr-0007-store-layout"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
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-secretsPR #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
GET /v1/sys/health,/v1/sys/seal-statusagainst 10.12.0.144:8200.envs, never by reading valuesPROXMOX_VE_API_TOKENidentical in all four; the NPM trio identical in twoPROXMOX_VE_API_TOKENMerge 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.
repo:
olympus/workshop· pr: 17 · reviewed head:f9c88a2c03fa84b652e233f6f4b7768d24b95d42· round 1/5 · verdict: fixRecommendation: fix
What I reviewed. The diff at
f9c88a2:docs/adr/0007-a-secrets-path-names-what-it-belongs-to.md(74 new lines) anddocs/adr/index.md(+2).refs/pull/17/headre-resolved at compose time and stillf9c88a2; basemainf61d49c; merge baseb037bee.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-secretsPR #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
:19links0006-a-stacks-state-is-read-with-a-key-of-its-own.md. That file is not in this change and not onmain:git cat-file -e HEAD:docs/adr/0006-…→does not exist in 'HEAD', and the file view answers 404 at the reviewed commit where the0007-…mdtarget 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.mdthere,+1), so whichever of the two merges second gains a duplicate line, and #17 alone publishes a dead link. The body's change map saysindex.md + one row; the diff is+2.docs/adr/index.md:22states 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 -con 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;mainhas since taken90210b1,dd7b36d,f61d49c, andgit diff --stat HEAD mainis 16 files includingAGENTS.mdanddocs/agents/*— the repo's own rules for where records and their index live.docs/adr/0002-…:50-51requires that "the change has to be current withmainimmediately before the merge, and a change behindmaincannot 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
mainin (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
:9is "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-…:29against:35-36— the environment segment has no stated position.:29fixes the running order: "segments run from owner to detail — the stack, the service, the actor a credential is minted for".:35then admits an environment segment "only where the value itself differs, from a fixed vocabulary", without saying where it sits — and the enumeration at:29does not contain it. The concrete doc places it third (secret/services/vikunja/prod/db,infra-secretsPR #4docs/store-layout.md); from the record alone a reader cannot tell whethersecret/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-secretsPR #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 saysScope: no docs (deliberately deferred); its 25 files carry nodocs/. The layout document is PR #4,docs/store-layout.mdat7b69f0a. 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 whenas 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.Proposedin a table ofAcceptedrows —:5states it, the body states its blast radius, and the index orders nothing by status.: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 baseb037bee= 2 files, +76, both accounted for.f9c88a2fordocs/adr/0006-…md, 200 for0007-…mdon the same commit — the control that makes the first a result rather than a guess.docs/adr/index.mdthrough 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;0007renders 5 headings, no table and no links.${#line}in a bash loop, notawk'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).GET https://10.12.0.144:8200/v1/sys/health→ 200,version: 2.7.1,initialized: true,sealed: false.Could not verify
GET /v1/sys/mountsanswers 403 without the root credential, which this review did not take.docs/store-layout.md's own rows gives 50 live KV paths, 1 reserved and 2 age files, plus 4 transitionalansible/vault-passwordpaths; 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.decide.test.js,scan.test.pyandrender.test.pyread 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, labelreview/needs-fix.Read at
round=1/5, verdict fix: 1 blocker, 4 advisories. Two commits onhermes/adr-0007-store-layout; no force-push, no rewritten history, nothing onmain.docs/adr/index.md:19links a record the tree does not carry (0006, PR #16's)43d21760007:74ends without a newline43d2176mainorigin/main(f61d49c) merged inb2052d20007:48-50— "the store refuses non-secrets" unscoped43d21760007:29against:35-36— environment segment has no stated positionsecret/services/vikunja/prod/db43d2176infra-secretsPR #1The blocker.
docs/adr/index.mdadded 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-secretsPR #4 at:15—GET /pulls/17atf9c88a2and again at43d2176, byte-identical, andupdated_atis the label write at12:33:50Z, so it has not been edited since the PR opened. The review quotesPR #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 HEADcopy of43d2176(the tree that was pushed, not the working tree):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 6NNNN-*.mdfiles; every row's target exists and every file has a row; every row parses to 4 cells. ThroughPOST /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 withlen()in a script, notawk's byte count); no0006reference left anywhere underdocs/adr/.git diff --numstat --histogram origin/main...HEAD), matching the body's change map again: one new record, one row.Self-review. The
code-reviewskill's two passes were run by me in sequence, not as parallel sub-agents — noclaude,codexoragentCLI exists on this host'sPATH.Left alone. Nothing is left unfixed. A2 is a snapshot: if
mainmoves 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.repo:
olympus/workshop· pr: 17 · reviewed head:43d2176· round 2/5 · verdict: mergeRecommendation: merge
What I reviewed. Round 2, on the head the dispatch named:
43d2176, re-resolved on the host before composing —refs/pull/17/headstill43d2176, PRhead.shathe 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 themmain's own history (the NAS disk report,docs/agents/*,AGENTS.md, the loop config);git diff --stat f61d49c b2052d2shows 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
f61d49cis 2 files, +79/−0 (git diff --numstat f61d49c...43d2176), matching the body's change map: one new record, one row.Round 1, closed
43d2176docs/adr/index.md:19linked0006-…md, a record the tree does not carry43d2176deletes the row0006-…mdanswers 404 — the control that makes the first a result rather than a guess0007:74ended without a newline43d2176od -An -con the last byte reads\n; all five siblings end the same waymainb2052d2merge_baseis nowf61d49c,main's tip, and the PR readsmergeable: true. This is a snapshot: ifmainmoves again before the merge, ADR-0002's currency clause re-opens and the merge has to take it up0007:48-50— the refusal of non-secrets was unscoped against ADR-000343d2176, now0007:50-54secret/tofu-state/<record>/{apply,plan}— credentials, not objects. The clause is right, and better than the one round 1 offered0007:29against:35-36— the environment segment had no stated position43d2176, now0007:35-37secret/services/vikunja/prod/dbas the example. That is exactly where the concrete half puts it: the layout doc's only environment-bearing paths aresecret/services/vikunja/{prod,test}/{db,app,smtp,accounts/pit}(infra-secretsPR #4,docs/store-layout.mdat7b69f0a)infra-secretsPR #143d2176names 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 itStandards
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-30states 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 by43d2176, 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:
0007:28-330007:35-40(position now stated)0007:39-40,0007:59-610007:380007:42-460007:65-67The 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 whenlist 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 whenas 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.Proposedin a table ofAcceptedrows (:5,index.md:19). Deliberate, stated in the body, and the index orders nothing by status.0005, then0007, while0006lives in PR #16.index.md:5says the numbering is an address, not a ranking; the row removed was the defect, not the number.Update whenbullet (: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 store it describes—itresolves 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.NNNN-*.mdfiles; the 0007 row's target 200,0006-…md404, both at43d2176.index.mdthrough 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.0007and on all five siblings (od -An -con the last byte).${#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).docs/store-layout.mdat7b69f0a, and the refusal's scope matches that document's split between the KV engine's paths and the state objects.GET /projects/5/tasks→ 200 (36 rows), task id 141 matched byindex == 27and by title, thenGET /tasks/141→ 200 andGET /tasks/141/comments→ 200 with its resolution comment.Could not verify
research/tr46-secret-inventory.mdat02aeb18is 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 transitionalansible/vault-passwordpaths — 54 only if those four count as live, and the document's count line and itsretired at cutoverheading disagree about them. Unchanged by this delta; I state the enumeration rather than confirm or charge the number.GET /v1/sys/mountsanswers 403 without the root credential, which this review did not take. The body's claim that it is empty is not re-driven here..forgejo/workflows/, anddecide.test.js,scan.test.pyandrender.test.pyread 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, labelreview/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.