docs: the mcp paths name the host file each replaces (SC-3) #17
No reviewers
Labels
No labels
ready-for-agent
review
merge-ready
review
needs-fix
review
needs-human
review
needs-review
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/infra-secrets!17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/sc3-mcp-tokens"
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?
Summary
The layout page and the store disagreed in both directions: it named
secret/mcp/forgejo/hermesandsecret/mcp/n8n/hermes, which answered 404, andsecret/mcp/vikunja/hermes, whose stored value answered 401 to the tracker. The store now holds all three with the values the agent host uses, and the page says what each one is:Evidence
secret/data/mcp/forgejo/hermes404,secret/data/mcp/n8n/hermes404,secret/data/mcp/vikunja/hermes200 whose token answered401toGET /api/v1/user.v1, n8nv1, vikunjav3, each field present and each value's sha256 equal to the correspondingMCP_*_API_KEYin the host's~/.hermes/.env(no value in any output).hermesAppRole login (admin-agent+default,meta.role_name: hermes, ttl 3600) → three reads200, sha256 equal to the host's values; token revoked (204) and the same token then answered403.GET /repos/olympus/workshop/branch_protections/main→200; n8n MCPinitialize→200; VikunjaGET /api/v1/user→200.create/updateon the three paths at 11:01:52–53Z, entityf006cc93, policyoperator.make check→ exit 0. No value appears in the diff, a commit message or any command output.Merge Danger
Door: two-way
Docs only. The store already carries the values; this PR makes the page agree. The store side is reversible by writing the previous value back —
secret/mcp/vikunja/hermeskeeps ten versions, and the replaced v2 value is still readable by number.Blast Radius: one page.
olympus/infra-secretspr-17 · headcd62432d2e4adc475d15d51e2107f9831ddc2323· round 1/5 · verdict: mergeSpec
Spec source: the PR description (no linked issue; tasks 172/174 fetched from the tracker and both exist with the titles the doc cites).
No findings. The three asks are all there and all check out:
store-layout.md:155-159) maps each hermes path to theMCP_*_API_KEYline it replaces; all three names exist in~/.hermes/.envon this very host.store-layout.md:151-152) — task 172 exists, its body describes exactly those three paths written to the store and the host copies that are the values in force.~/.hermes/.envcopy is the one in force" + the task 174 pointer (store-layout.md:161-166) — task 174 exists with the title quoted verbatim; both facts are the PR description's own claims dropped into the page that should carry them.Standards
standards:
AGENTS.md(issue tracker + domain docs by pointer),docs/env-fetch.md,docs/store-backup.md,docs/agents/issue-tracker.md,docs/agents/domain.md. Nodocs/adr/, noCODING_STANDARDS.md, noCONTRIBUTING.md; general good practice fills the gap.docs/store-layout.md:18-19— "/v1/sys/mountsreports it to a token that holds its read" names the endpoint but never the actor that did the read. The page's own new convention (a claim carries its proof) is honoured everywhere else; this one line's proof lives in the PR description's evidence cell instead of the page. Naming the actor (pit,operatorpolicy) lets a later operator reproduce the read instead of rediscovering which token class to use.docs/store-layout.md:162-163— "a rotation is two writes: the path, then the file" now coexists with the normative "rotate a value" row instore-identity.md. Two docs describing rotation ordering is the shape that drifts; worth folding one into the other when task 174 changes it, not worth blocking.Verified by my own hand
make checkon the PR head → exit 0 (credential-free gate: env pin,env.mapvs.env.example, fetch tests all green).10.12.0.135): logged in as thehermesAppRole, read all three paths, each read's value sha256-equal to the correspondingMCP_*_API_KEYline in~/.hermes/.env— forgejo v1, n8n v1, vikunja v3, matching the PR's "After" revisions exactly.Not verified
f004…, policyoperator") — the audit log is on the store guest and I did not read it. The sha-equality check I made is independent of it and confirms the same fact.Summary
store-layout.md:18-19: a claim on the page whose provenance lives in the PR description, not the pageNo BLOCKER. Recommendation: merge.
review body placeholder (superseded by the review comment above)
Fix advisories
Both of the review's advisories, in the page they were charged against. The mounts sentence said a token "holds its read" without saying which, so a later operator had to rediscover the class. The audit log has the read: `root` from 127.0.0.1 on the Guest at 2026-10-29T11:05Z, the token in the init file. A census of the store's policies (`bao policy list`, one `bao policy read` each) finds `admin-agent` the only one carrying `sys/mounts` read; `operator` carries none, and `userpass-pit` under it is in the same audit log as `permission denied` — so naming that class, as the review's parenthetical did, would send a reader to a 403. The rotation paragraph defined the order itself ("two writes: the path, then the file") beside store-identity.md's normative rotate-a-value row. It now takes the row as the order and keeps only what the duplicate adds: while the `.env` copy is in force, either write alone leaves the two disagreeing. The other half of the review's advice — folding the two together for good — is task 174's, when the duplicate stops existing; this removes the second definition without pre-empting that edit.New commits pushed, approval review dismissed automatically according to repository settings
What this round answers, and at what grade
The ask was inferred:
pitmovedreview/merge-ready→review/needs-fixat 11:23:21Z andcommented "Fix advisories" 12 s earlier. The standing review is
bot-minos' round 1/5 —APPROVED, blockers: 0, advisories: 2 — so the specification is those two advisories at their own
grade. This is not a blocker round; the dispatch prompt's "blocking findings" is generated from the
label event.
One new commit,
6b2f338, on top ofcd62432. Docs only: 13 insertions / 4 deletions(
git diff --numstat --histogram cd62432..HEAD), whole PR now 36/10.Finding by finding
store-layout.md:18-19— the mounts read is named by endpoint, never by the actor that made it6b2f338store-layout.md:162-163— rotation ordering is defined here and instore-identity.md's normative rotate-a-value row6b2f338Finding 1. The sentence now names the read:
rooton the Guest, the token in/etc/openbao/openbao-init.json, and the audit record it leaves — asys/mountsread from127.0.0.1at2026-10-29T11:05Z. It also names the class that can reproduce it without the roottoken:
admin-agent, measured as the only one of the store's policies carryingsys/mountsread.A correction of the finding's evidence, not a dispute with it. The advisory's parenthetical
"(pit, operator policy)" would send a later operator to a 403 — the
operatorpolicy cannot readsys/mounts, and the audit log has the refusal:So I took the substance (name the actor) and wrote the class that can actually make the read. The
same census is what makes the word "only" in the page safe.
Finding 2. I took the lighter branch the review left open. The paragraph no longer defines the
order — it takes
store-identity.md's rotate-a-value row as the order (linked at#seeds-revocation-and-rotation, the section that holds it) and keeps only what the duplicate adds:while the
~/.hermes/.envcopy is in force, either write alone leaves the two disagreeing. Thereview's other half — "fold one into the other when task 174 changes it" — belongs to task 174's own
edit, when the duplicate stops existing; this removes the second normative definition now without
pre-empting that one.
Nothing in either advisory is left alone, and no other finding was raised.
Commands, and what they printed
mise exec -- make checkoklines;env fetch: every case passed.mise exec -- make depsSkipping install, no requirements foundmise exec -- make validateSuccess! The configuration is valid.mise exec -- tofu fmt -check -recursive -diffansible-playbook -i inventories/prod/hosts --syntax-check site.yml(inbao/service)[WARNING]: Found both group and host with same name: baoRender and read-back, since this is prose:
POST /api/v1/markdownover both pages: 9 tables, 0 mismatched cell counts; the five newphrases present in the render, the two replaced ones absent.
raw/docs/store-layout.md?ref=6b2f338isbyte-identical to the clone (24555 bytes, sha256
660b40fa…); the servedstore-identity.mdpage emits
id="user-content-seeds-revocation-and-rotation"and the layout page's href carries thefragment.
index.js?v=15.0.9~gitea-1.22.0) — a barefragment is mapped to the
user-content-id and scrolled to (Ke), and authored prefixed ones arerewritten to bare. The bare form is the supported one and is what
store-audit.mdalready uses.Also closed from the review's Not verified
The review could not read the audit log.
ssh burns→pct exec 144reaches it, and it confirms thePR description's claim:
createonsecret/data/mcp/{forgejo,n8n,vikunja}/hermesat2026-10-29T11:01:52-53Z,userpass-pit, entityf006cc93-31b4-e8c2-6d05-46f258a3ee6e, policies[default, operator], no error on any of them.What I did not do
cd62432, no new branch or PR; the branch gained one commit.code-reviewskill wants parallel sub-agents, and noclaude/codex/agentCLI exists in this environment — both passes (Standards, Spec) were mine, run in sequence.
## Summaryclaims in the PR body still hold(one page, no value anywhere).
@bodyfile:/home/hermes/.hermes/profiles/minos/cache/scratch/review_body_r2.md