The rotation policy per secret class, and the plan tokens folded into the Planner role #56
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!56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/THE-39-rotation-policy"
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?
Closes the second half of THE-39 and WR-44 — Decide how often a secret is rotated's two criteria; the plan tokens' role is ADR-0013's.
Summary
A rotation policy per credential class, and a mechanical signal that a class is due. WR-44 asked the one question the shared-secrets map left open: who rotates each kind of credential, how often, and what tells anyone it has gone stale. The answer lands as
docs/rotation-policy.md— 14 classes, each with a holder role, a rotator role, an interval, the read its date comes from, and what a rotation breaks — anddocs/rotation-record.json, whose dates were measured on 2026-11-12 rather than assumed.make rotation-dueprints due and overdue;make checktests the reader, never the record, so a policy alarm cannot red every pull request.The plan tokens are folded into one
plannerrole on the cluster, applied and proved. The six tokens that plan — the shared!planand the five per-repository ones — heldPVEAuditoron a pool or named Guests andTofuDatastoreAuditon the storages: six copies of one idea, written nowhere as a role. They now holdplanneron the same paths, applied fromhermes@pve!operatoras a logged break-glass change (the cluster's access objects are not in code until W4a) and recorded beside the credentials.One thing the policy forced into the open: the AppRole
hermesholdsoperatorin the live store, and the repository saidadmin-agentonly. That is A1's grant (THE-5), applied by hand with the board's approval; the next service run would have written it away, leaving the rotation policy naming a demoted rotator. This change back-ports it, and the grants page records it.pveum user token permissions, six plan tokens, before → after!plan:144/config,/pools/prod, both storages,/vms/100/vms/100→ samepvesh get /access/aclafterplanner; noPVEAuditororTofuDatastoreAuditrow left on a plan tokenmake rotation-dueci-jwtno rotation, nothing due within 30 daysmise exec -- make checkansible-playbook --syntax-checkand thetoken_policiesexpressiontoken_policies=admin-agent,operatorandtoken_policies=regular-agentReview. The loop has had three rounds on this branch: one blocker and six advisories at
b2b54c2, three advisories at0de575f, and an approval at9d9408fwith two carried advisories and no blocker. The fixer's three commits are on the head and both required checks are green there. The substantive catch isprivsep: this page had carried "the user is the ceiling" since WR-29, and the node's ownPVE::AccessControl::rolessays aprivseptoken is not filtered by its user's roles — the section is rewritten to the mechanism, with the listing as its proof.The record's dates are reads, not guesses:
secret/services/forgejo/secret-keyat2026-10-28T11:37Z,secret/tofu-state/semaphore/deployat2026-11-04T17:24Z,secret/ci/tracker/test-vault-passwordat2026-10-27T16:18Z,secret/mcp/forgejo/hermesat2026-10-29T11:01Z,~/.ssh/id_ed25519_proxmoxat2026-10-21, and the init files on 144 at2026-11-11T15:25Z. Fifteen paths the layout declares answer404; the policy names them instead of scheduling a rotation for a value that is not there.Not in this change
!plan. The first real plan run after the merge is each repository's next pull request.Sys.Audit,Mapping.AuditandVM.GuestAgent.Auditare candidates for a measured narrowing, which the role now makes a one-text change.infra-ci@pve; a grant through a group needs one user per holder, because a group holds users and not tokens. That is E6's, and the cluster page says so.automation-runner,ci-<repository>). Renaming them to role names moves the text, the file and each role'stoken_policiestogether, beside the job that proves the login — not ahead of it.olympus/workshop'sdocs/agents/make-targets.mdgains the rows forrotation-due,rotation-testand the three targets secrets' floor already carried without one, in workshop#52. The page's rule puts a target's row in the pull request that adds it; across two repositories the pair is the closest form, and the two merge together.Merge Danger
Door: the merge, and behind it this repository's deploy (
make service, run by the Semaphore runner), which applies the AppRoletoken_policieschange to the live store.Blast Radius: contained.
hermes'stoken_policiesbecomingadmin-agent,operator— the same grant already in force, so the login keeps the reach it has today. Reverting the PR returns the run toadmin-agentonly, which demotes the Agent role; that is the reason the back-port is in this change rather than a follow-up.plannerrows undocumented rather than wrong, andpvesh get /access/aclis the read that shows them.Agent-written prose; the change is Pedro's to merge.
Review started (round 1/5) on
cc6363d38f— reading the diff now.olympus/infra-secrets #56 · head
b2b54c2· round 1/5 · 1 blocker, 6 advisoriesRecommendation: fix
The head moved while this round read it: the dispatch named
cc6363d, andb2b54c2("The cluster's credential count includes the Operator's own identity") landed mid-round — one docs commit (docs/proxmox-credentials.md, +4/−3) plus a body edit. Everything below is judged atb2b54c2, and every probe was re-run there.Spec source: the PR body.
WR-44(/tasks/163) is unreachable from this host — the tracker answers401 {"code":11,"message":"missing, malformed, expired or otherwise invalid token provided"}on both/api/v1/projectsand/api/v1/tasks/163with the profile key, while/api/v1/infoanswers 200, so the instance is up and the token is refused.paperclip:THE-39reads live:in_review, 0 comments.Spec
BLOCKER —
scripts/rotation-due.py:92-97: a futureadopteddate is accepted, against the file's own refusal contract.rotation-due.py:20promises "a missing date, a date that does not parse or one in the future refuses the run with exit 2". The future check at:94sits inside thelast_rotatedbranch, and theadoptedbranch at:97parses without ever comparing to today."adopted": "2030-01-01",interval_days: 365printsx 365 d 2030-01-01 2031-01-01 OK, 1511 daysand exits 0.last_rotatedexits 2:rotation-due: x: last_rotated 2030-01-01 is in the future.scripts/tests/rotation-due.sh:90, "a date in the future" — builds onlylast_rotated, so it stays green over the gap.This is the reader's whole product: the file says a record whose dates are wrong is worse than no check, because it looks like one. Two of the fourteen rows use
adoptedtoday, and a mistyped year silently moves a class's cycle.Smallest clearing change: compare the date actually chosen (
start) againsttodayafter the branch, name the field in the message, and add one case that puts a future date inadopted.Standards
ADVISORY —
AGENTS.md:11-13: the floor's own description did not move withcheck. The sentence enumeratesmake check's members — "the env pin and map, the env fetch's own tests … the host door's own check and fetch tests, and the plan judge's tests" — andMakefile:349now runs a sixth. The repo's practice is to move it in the same commit:65eb4a3addedplan-testtocheckand rewrote this sentence ("and the plan judge's tests against a throwaway local Stack") in that one change. Clear: append "and the rotation reader's tests".ADVISORY — two new targets with no row on workshop's floor page.
olympus/workshopdocs/agents/make-targets.md(atorigin/main, ebebe5e) is the page these fivecheckcomments name, and its rule is explicit: "A target added or removed in any of the five: its row changes here … so the two move together" (:191), and "a new target is a row here in the same pull request that adds it".make helpnow printsrotation-dueandrotation-test; the page's per-target table (:84) has neither, so both read as targets with no class. The change cannot fix it from its own tree — the clearing change is a companion PR toworkshop, shipped with or immediately after this one.ADVISORY — three places say
checknever reads the record; the suite reads it.Makefile:330("Whatcheckruns is the reader's own tests, never the record"),docs/rotation-policy.md:194("make checkruns its own tests, not the record") and the PR body all say it.scripts/tests/rotation-due.sh:121runs the reader againstdocs/rotation-record.jsonat the pinnedTODAY(:16), so an edit to the record can redmake check. The guarantee that matters — no time-based flake — still holds; the sentence as written does not. One clause: "never the record's dates as they stand today".ADVISORY —
docs/rotation-policy.md:198-200: the console block is not the tool's output. The page's sample row readsproxmox-write-tokens 90 d 2026-10-28 2027-01-26 OK (75 days); the reader printsproxmox-write-tokens 90 d 2026-10-28 2027-01-26 OK, 75 days— a comma, not parentheses, and a different interval column (%-30s %8s %-10s %-10s %s,rotation-due.py:149). The single row plus...is a fair sample; the spacing and the punctuation are not what a reader who runs the command will see. Paste the real two lines, or drop to the header alone.ADVISORY —
scripts/tests/rotation-due.sh:73: the assertion named for a property cannot test it.assert_absent "an OK class is not in the due summary" "soon, "uses a needle with a trailing comma, andsoonis the due class and the last entry of1 class(es) due within 30 days: soon— the needle can never appear, whatever the reader does. The property is covered elsewhere (the "due-includes-ok" mutant reds "nothing due says so"), so this is a redundant case rather than an uncovered one; clear it by asserting on an OK class (young) against the summary line.ADVISORY —
docs/proxmox-credentials.md:776-777and:44:privsepis stated as an intersection, and it is a separation. "a token's effective privileges are the intersection of its own ACL and its user's" (:776-777, the line this round'sb2b54c2rewrote the subject of), and "the user'sPVEAuditoron/pool/prodis the ceiling these two rows are intersected with" (:44). The node's own source, at the version it runs (pve-manager/9.2.21), settles it:/usr/share/perl5/PVE/AccessControl.pm:1814returns the user's roles only when!$token_info->{privsep}, and the NOTE above it says "for privsep tokens, this does not filter roles by those that the corresponding user has" (:1792). Every token here carriesprivsep: 1, so a token's reach is its own rows and nothing else — the mechanism is the opposite of the one the page states, and it is load-bearing for the page's own "per Guest, not per pool" argument. One clause: "a token's privileges are the ones its own rows carry; its user's rows are not added". The:44wording is the base's, carried through this change's rewrite of that row.Verified
git ls-remote refs/pull/56/head, re-read at the endb2b54c2; delta fromcc6363disdocs/proxmox-credentials.mdonlymake checkgreenmise exec -- make checkatb2b54c2make rotation-dueb2b54c2, today 2026-11-12OK,ci-jwt"no rotation", nothing due within 30 days — the body's row, exactlylast_rotatedin the future, no classes, not-JSON, missing file all exit 2;adoptedin the future exits 0 (the blocker)rotation-due.pyagainst its own suiterotation tests: 2 failed,3 failed) — the suite is not a decorationpvesh get /access/roles,/access/acl,/access/users/<u>/token,pveum user token permissionsplannerexists with exactlyPVEAuditor's seven reads (special: 0); the six plan tokens holdplanneron the pool-or-named-Guest and both storages,!forge-planatpropagate 0on /vms/141,146; zeroPVEAuditor/TofuDatastoreAuditrows left on a plan token — the body'spveshrow, reproduced/access/acl(group rows),/access/groups,/access/users/hermes@pveoperator(memberhermes@pve) and tokenhermes@pve!operatoreach holdPVEAdminon /pool/prod andOperatorAccesson /access — the row is accurateprivsep: 1,expire: 0—b2b54c2's correction is rightbao read auth/approle/role/hermeson 144 (viapct exec)token_policies: ["operator","admin-agent"]— the live grant this change back-portsbao kv metadata geton each cited path2026-10-28T11:37:00Z, vikunja/prod/db…:37:02Z, tofu-state/semaphore/deploy2026-11-04T17:24:49Z, ci/tracker/test-vault-password2026-10-27T16:18:34Z, ci/tracker/proxmox-token2026-10-28T11:35:53Z, mcp/forgejo/hermes2026-10-29T11:01:52Z, npm/{forge,tracker}/manage2026-11-11T19:08:29/31Z, silo/{root,provisioner,service-account}2026-10-28T11:36:59Z: every cited date reproduces.staton 144 shows both init files at2026-11-11T15:25:42Zsecret/ssh/ansible-control-labansible-playbook --syntax-check; the role's own expression renderedtoken_policies=admin-agent,operatorandtoken_policies=regular-agentread-merge-gate.pyonb2b54c2pr-checks / check (pull_request),plan / guest-plan-check (pull_request_target)Could not verify
401, quoted above). The PR body is the spec, and the claims above are the table that stands in for it.200 / 200 / 200 / 200,403on/vms/100). The values are not on this host, so the calls were not driven; the privilege map above decides those codes (the read privileges are present, and no row names/vms/100), but that is the map, not the call.~/.ssh/id_ed25519_proxmoxmtime (2026-10-21in the record): not on this host, not in root's.sshon burns, and 144 refuses this host's key — it is the Operator's file.Named, not charged
Makefile:271—.PHONYdoes not declarerotation-dueorrotation-test. The base line already omitshost-env-check/host-env-test, and no file of either name exists, so nothing changes today.bao/service/roles/openbao/tasks/store.yml:203-205— the idempotency comparison sorts the store's list but not the composed[policy] + extra_policies, so it is order-sensitive on one side.hermesis safe (admin-agent<operator); a role whose extra policy sorted first would rewrite on every run.docs/rotation-record.jsonforgejo-tokens— the row adopts2026-11-12while its own evidence names a live member written2026-11-07. The policy's adoption rule covers a class whose dates are not recorded, and this one's partly are; the row says which reading it took.bao/policies/still carries class and actor names. Disclosed in "Not in this change" and on the page with a reason, but no ticket is named for the rename that owes it.Summary
Spec: 1 finding — the blocker above,
adoptedfuture dates accepted; worst on the axis. Standards: 6 advisories, worst the two new targets missing from workshop's floor page, because it is the page an agent reads before running a target in any of the five repos.The recommendation is fix on the blocker, and on six counted advisories beside it — none of them touches the policy's substance, which reproduced end to end against the live cluster and the live store.
This change's class — a tier-1 change to the secrets store's AppRole, applied by the deploy behind the merge — is held by the board, not by this review, as the dispatch puts it:
paperclip:THE-39is that card (in_review, 0 comments, read live), and merging remains the board's gate.Acknowledged (round 0/5) — fixing now; what changed and how I verified it follows.
Round 1/5, fixed at
0de575f. The acknowledgement'sround 0/5is the dispatch's own counter and the report numbers this same round1/5: one round, two counters, and the head movedb2b54c2→0de575finside it.The report carried 1 BLOCKER and 6 ADVISORY findings with
Recommendation: fix, so the round is worked in full rather than on the blocker alone. All of it is one commit,0de575f, so the round diffs in one read.0de575frotation-due.py:92-97: a futureadoptedaccepted against the file's own refusal contractschedule()now compares the date it actually chose againsttodayafter the branch and names the field:rotation-due: x: adopted 2030-01-01 is in the future, exit 2.scripts/tests/rotation-due.shbuilds the record with a futureadoptedand asserts the refusal, and a second assertion pins the message naming the field.AGENTS.md:11-13: the floor's description did not move withcheckworkshop's floor pagedocs/agents/make-targets.mdis another repository's file. Measured atolympus/workshoporigin/mainebebe5e:git show origin/main:docs/agents/make-targets.md | grep rotationprints nothing, so the gap is real and still open. The PR body's Not in this change now carries the bullet naming the row as a companion change inolympus/workshop, owed with or immediately after this merge.checknever reads the recordMakefile:330,docs/rotation-policy.md:194and the PR body all read "never the record's dates as they stand today". The census found a fourth site the finding did not name —docs/rotation-record.json's own$comment("make checktests the reader, not the dates") — and it moved in the same commit. The policy page also says which case does read the record, and at which date.rotation-policy.md:198-200: the console block was not the tool's outputproxmox-write-tokens 90 d 2026-10-28 2027-01-26 OK, 75 days. A check extracted that line from the page and compared it withrotation-due.py --today 2026-11-12:identical: True len=76.rotation-due.sh:73: the assertion named for a property could not test itSUMMARY; one assertion requires the due class (soon) to be in it — so an empty summary cannot pass the next line — and the next requires the OK class to be absent. The OK class used isadopted, the one that record carries, notyoungfrom the neighbouring record. Both directions are driven (mutants below).proxmox-credentials.md:776-777and:44:privsepstated as an intersection:774-780and its heading,:44,:40, the "ceiling" clauses on!cockpit-plan(:42),!tracker-plan(:43) and at:365, both mint-block comments (:161,:232) and the PRE token's exclusion argument (:770-772). The census ran over the term, not the quoted line.Evidence
The blocker, driven against the same record at both readers —
{"id": "x", "interval_days": 365, "last_rotated": null, "adopted": "2030-01-01"},--today 2026-11-12:The new case reds against the pre-fix reader (
git show b2b54c2:scripts/rotation-due.pyrestored in place, suite re-run, then restored):The #73 assertion now fails in both directions — letting OK rows into the due summary prints
FAIL an OK class is not in the due summary (found [adopted]); renaming the summary line printsFAIL the due summary names the class that is due (no [soon] in the output).The
privsepmechanism, measured rather than asserted:ssh burns→pveversionanswerspve-manager/9.2.21/4f6e0ac86f9e8c7f;AccessControl.pm:1792carries the note "for privsep tokens, this does not filter roles by those that the corresponding user has", and:1814isreturn $user_roles if !$token_info->{privsep};.pveum user token permissions infra-ci@pve forge-planlists/storage/fast-storage,/storage/synology,/vms/141,/vms/146— and no/pool/prodrow, althoughinfra-ci@pveholdsPVEAuditorthere. That is the separation, on the live cluster.:365sentence's other half is a different act, so it moved separately: disabling the user does stop every token of it (AccessControl.pm:503callscheck_user_enabledin the token-auth path), while narrowing the user's roles reaches noprivseptoken.The repo's floor, at the pushed head:
Docs:
render_check.pyover both edited pages —failures: 0, and the tables are not ragged (5 tables, header-derived cell counts,ragged 0).docs-check.py . docs/*.mdanswersMISSING FILE proxmox-credentials.md: /THE/issues/THE-5, which is pre-existing: the same string counts1atb2b54c2, and it is a root-absolute cross-repo link the file checker reads as a path.Left alone, and why
.PHONYatMakefile:271, thestore.ymlcomparison's one-sided sort,forgejo-tokens'adopteddate, ADR-0013's class-named policies and the missing rename ticket) are untouched: they were not charged, and each is a ticket of its own rather than part of this round.Nothing in the report was disagreed with; finding 6's clearing text named
young, and the record under test carriesadoptedas its OK class, so the assertion uses the class that is actually there.Review started (round 1/5) on
0de575facc— reading the diff now.CI at
0de575f, after the report above: both required contexts are green —pr-checks / check (pull_request)success (26s, run 124) andplan / guest-plan-check (pull_request_target)success (16s, run 123). Thependingrows the statuses route also returns are the supersededWaiting to run/Has started runningentries of those same runs.olympus/infra-secrets #56 · head
0de575f· round 1/5 · 0 blockers, 3 advisoriesRecommendation: fix
The blocker this change carried at
b2b54c2is gone, and all six advisories beside it are worked. What holds it at fix is the count, not the weight: three advisories remain, and my rule turns the recommendation at three. None of them is a defect I would block on alone, and each has a clearing change of a line or two. This is not a blocker report dressed as a count — it is the count.Spec source: the PR body, the only reachable statement of the change's contract.
paperclip:THE-39answersBoard access requiredon this profile's key, andhttps://vikunja.thepit.space/api/v1/tasks/163(WR-44) answers401 {"code":11,"message":"missing, malformed, expired or otherwise invalid token provided"}while/api/v1/infoanswers 200 — both instances are up, both keys are refused. Read this round, not carried from the last.The previous round's blocker, re-driven
scripts/rotation-due.py:92-97— a futureadoptedaccepted. Resolved.{"id":"x","interval_days":365,"last_rotated":null,"adopted":"2030-01-01"}with--today 2026-11-12:rotation-due: x: adopted 2030-01-01 is in the future, rc 2. The same date inlast_rotatedstill exits 2 and names that field.last_rotatedbranch (if start > today and field == "last_rotated":) in a copy of this tree, the suite reds exactly the three adopted-future assertions —rotation tests: 3 failed— and nothing else.scripts/tests/rotation-due.sh:94-97carries the future-adoptedrefusal and the assertion that names the field.The six advisories from that round, one by one
AGENTS.md:11-13did not move withcheckmake checkat this head runs itorigin/mainebebe5edocs/agents/make-targets.mdcarries norotation-dueorrotation-testrowchecknever reads the recordMakefile:330,rotation-policy.md:194and the record's$commentall read "never the record's dates as they stand today";rotation-policy.md:195-197names the one case that does read it and the date it reads it atrotation-policy.md:198-200console block was not the tool's output--today 2026-11-12: header identical, row identical (proxmox-write-tokens … 90 d 2026-10-28 2027-01-26 OK, 75 days)rotation-due.sh:73assertion could not failSUMMARY; renaming the summary redsthe due summary names the class that is due; letting OK rows into it redsan OK class is not in the due summary (found [adopted])— driven both waysprivsepstated as an intersectionintersection/ceilingmechanism text left underdocs/; the page's own proof reproduces on the cluster:infra-ci@pveholdsPVEAuditoron/pool/prodand no plan token doesSpec — no findings
The PR body's claims, each reproduced below or named in Could not verify: 14 classes in
docs/rotation-policy.md, the same 14 rows indocs/rotation-record.json; the record's dates are reads (six re-taken at the source this round);make rotation-dueprints due and overdue and exits non-zero on overdue;make checktests the reader and not the day; the six plan tokens holdplanneron the paths the page names, with noPVEAuditor/TofuDatastoreAuditrow left; the AppRolehermescarriesoperatorin the live store and this change back-ports it without changing it; the playbook parses and the role's expression renderstoken_policies=admin-agent,operator. The scope matches the body, including what it says it does not do.Standards — 3 advisories
ADVISORY —
bao/service/roles/openbao/tasks/store.yml:203-204: the class comparison sorts one side and not the other. The store'stoken_policiesis| sorted; the composed list is[policy] + extra_policiesin written order. Rendering that expression against a store answer of["a-extra","regular-agent"]withextra_policies: [a-extra]givesdiffers=True— a role whose extra policy sorts before its class policy would be rewritten and reported changed on every run, which is whatchanged_when: trueat:218then says forever. This change is the one that puts extra policies into that comparison.hermesitself is safe: livetoken_policiesis['operator','admin-agent'], sorted['admin-agent','operator'], and the same expression rendersdiffers=False, so the next deploy writes nothing.:212-213has the same asymmetry from the other direction — notoken_policiesargument at all whenpolicyis empty, while:204compares the store's list against[]. Clears with| sorton the composed list in both places.ADVISORY —
scripts/rotation-due.py:122: a bad--todayis a traceback, not a refusal.parse_date(args.today, "--today")sits outside thetry, so--today garbageraisesRecordErroruncaught: a Python traceback and rc 1, where every other refusal in this reader is therotation-due: …line and rc 2. The record's own contract at:20is honoured; this is the flag beside it. Clears by moving the parse inside thetry.ADVISORY —
docs/agents/make-targets.md(workshop,origin/mainebebe5e): the two new targets have no row. The page's rule is:157— "a new target is a row here in the same pull request that adds it" — and:198— "A target inhelpwith no row here is a hole in this page".make helpnow printsrotation-dueandrotation-test; the floor table has neither. It cannot be cleared from this tree, the file being another repository's, and the PR body's Not in this change names the companion PR that owes it. Carried, not re-litigated.Verified
git fetch origin refs/pull/56/head,rev-parse0de575f; three commits over30c8c35:cc6363d,b2b54c2,0de575fmise exec -- make checkin a worktree at0de575fadoptedfuture rc 2 naming the field;last_rotatedfuture rc 2; unknown field, duplicate id, both dates, neither date, unparseable, no classes, not-JSON, missing file all rc 2rotation-due.pyagainst its own suite3 failed,1 failed,1 failedbao kv metadata get -mount=secreton 144 as the root token, six cited pathsservices/forgejo/secret-key2026-10-28T11:37:00Z,ci/tracker/test-vault-password2026-10-27T16:18:34Z,tofu-state/semaphore/deploy2026-11-04T17:24:49Z,mcp/forgejo/hermes2026-10-29T11:01:52Z,homelab/npm/forge/manage2026-11-11T19:08:29Z,silo/root2026-10-28T11:36:59Z— every one reproduces;ssh/ansible-control-labandhomelab/npm/apianswer no value, as the page says of the declared-unwritten pathspveum role list,pvesh get /access/aclon burnsplannerwith the seven reads andspecial 0; 19 rows over the six plan tokens, every oneplanner;/vms/141,/vms/146atpropagate 0for!forge-plan; zeroPVEAuditor/TofuDatastoreAuditrows on a plan token/access/acl(group and token rows),/access/groups/operatoroperator(memberhermes@pve):PVEAdminon/pool/prod,OperatorAccesson/access;hermes@pve!operatorthe same two rows — the table's first row, reproducedbao read auth/approle/role/hermesin 144; the role's own expression rendered throughansible-playbooktoken_policies ['operator','admin-agent'], ttl 3600 / max 28800; renderstoken_policies=admin-agent,operatoranddiffers=False— the deploy behind the merge changes nothingansible-playbook --syntax-check bao/service/site.ymlbaohost pattern is ignored)get_commit_statuseson0de575fpr-checks / check (pull_request)andplan / guest-plan-check (pull_request_target)bothsuccessCould not verify
200 / 200 / 200 / 200,403on/vms/100). Their values are not on this host, so the calls were not driven; the ACL map I read is what decides those codes.~/.ssh/id_ed25519_proxmoxat2026-10-21and the~/.secrets/age/*.keymtimes. Neither file is on this host; both rest on the pages the record cites.Summary
Spec: 0 findings — every claim the body makes reproduced or named as unverified. Standards: 3 advisories; the widest is A3, the two missing rows on the page every agent in the five repos reads before running a target, and the one in this repository's own code is A2, an idempotency comparison that can rewrite an AppRole on every run once a second policy sorts early.
The recommendation is fix on those three advisories and on nothing else: the blocker is cleared, the substance reproduces end to end against the live cluster and the live store, and the three clearing changes are a
| sort, atry, and a row in another repository.The change's class — a tier-1 write to the secrets store's AppRole behind the deploy — is the board's gate and not this review's;
paperclip:THE-39could not be read from this host, and merging remains the board's decision after this label moves.Acknowledged (round 1/5) — fixing now; what changed and how I verified it follows.
Round 1/5, fixed at
9d9408f. The report carried 0 blockers, 3 advisories withRecommendation: fix; the round is worked in full on the volume rule, and two commits carry it —07ae09cand9d9408fon top of0de575f.Numbering: the dispatch's counter and this report both say round 1/5, the report before it also said 1/5 — the head sha is the pin a reader can check, and the shas are above.
store.yml:203-204: the class comparison sorts one side and not the other[policy] + extra_policiestoo, and the write renders the same list `rotation-due.py:122: a bad--todayis a traceback, not a refusaltry, so--today garbageprintsrotation-due: --today: 'garbage' is not an ISO date (YYYY-MM-DD)and exits 2.scripts/tests/rotation-due.shcarries the case beside the record's own refusals, and asserts the traceback is gone as well as the status.07ae09cworkshop's floor pagedocs/agents/make-targets.mdis another repository's file and this dispatch forbids a second PR. Measured at the sibling's tip,origin/mainebebe5e:git show origin/main:docs/agents/make-targets.md | grep rotationmatches nothing. The PR body's Not in this change names the row as a companion change inolympus/workshop, owed with or immediately after this merge.Evidence
The reader's flag, red before the fix and green after — the new case against
0de575f'srotation-due.py:then at
07ae09c:The AppRole comparison, rendered from the file's own expression — a throwaway playbook whose
when:andargv:text is read out ofstore.ymlby a script (never retyped), each case a syntheticreadanswer plus the role spec, driven undermise exec -- ansible-playbook:0de575f9d9408fhermes["operator","admin-agent"]/admin-agent+[operator]token_policies=admin-agent,operator["a-extra","regular-agent"]/regular-agent+[a-extra]token_policies=a-extra,regular-agent["regular-agent"]/regular-agent+[a-extra][]/policy: null["stray"]/policy: nullextra_policiesis carried by exactly one role in this repo (bao/service/roles/openbao/defaults/main.yml:82,hermes), so the live deploy behind the merge is the first row: no difference, and the value written is the set the store already holds (['operator','admin-agent']per the last round'sbao read auth/approle/role/hermes).The repo's floor, at the pushed head:
The playbook parses:
mise exec -- ansible-playbook -i inventories/prod/hosts --syntax-check site.yml—playbook: site.yml, rc 0, with the pre-existing[WARNING]: Found both group and host with same name: bao.CI at
9d9408f:pr-checks / check (pull_request)success (22s, run 126) andplan / guest-plan-check (pull_request_target)success (16s, run 125). Thependingrows the statuses route also returns are those same runs' earlierWaiting to run/Has started runningstates.Left alone, and why
[policy] + extra_policiesexpression now carries| sortat two sites instore.yml, and both must move together. The duplication predates this change; folding it into one variable is a refactor of the role, not this finding, so it is named here rather than done.Nothing in the report is disagreed with.
Review started (round 2/5) on
9d9408f997— reading the diff now.olympus/infra-secrets #56 · head
9d9408f· round 3/5 · 0 blockers, 2 advisoriesRecommendation: merge
The dispatch numbered this round 2/5; the thread already carries two reviews — both headed
round=1/5, atb2b54c2and at0de575f— so the ledger's count, two reviews posted plus one, makes this 3/5. The sign-on comment carries the dispatch's number, as it must, because it is posted before the review list is read.The round's delta is the two clearing commits,
0de575f..9d9408f:07ae09c(the--todayrefusal) and9d9408f(the AppRole comparison). Three files, +14/−3. Both are proved below as red/green pairs, and both hold at the head.The last review carried 0 blockers and 3 advisories. Two are resolved; the third is another repository's file and stays open, carried. This round finds one new advisory, in this repository's own reader, and it does not block: it is a residual the diff moved but did not write.
The previous round's findings, re-driven
9d9408fstore.yml:203-204: the class comparison sorts one side and not the other| sort, and the write renders the same set:a-extra,regular-agentandadmin-agent,operator; the store-answer["a-extra","regular-agent"]againstregular-agent + [a-extra]readsdiffers=False, where0de575freadTruerotation-due.py:122: a bad--todayis a traceback, not a refusalrotation-due: --today: 'the fourth' is not an ISO date (YYYY-MM-DD), rc 2;0de575fanswers rc 1 withRecordError:on the last line of a tracebackworkshop's floor pageolympus/workshoporigin/mainebebe5e:git show origin/main:docs/agents/make-targets.md | grep rotationmatches nothingThe blocker this thread has carried — a future
adoptedaccepted — was cleared at0de575fand still holds: deleting the guard at this head reds five assertions across both date branches.Spec — no findings
The spec is the PR body again: WR-44 (
/tasks/163) answershttp=401on the profile key andno MCP_VIKUNJA_API_KEY answered 200 in either .env, andpaperclip:THE-39reads live but is a delivery note, not a criteria list. Every claim the body makes reproduced this round or is named under Could not verify: the record's fourteen classes and its dates,make rotation-due's 13 OK rows plusci-jwtno rotation,make check's four suites, the AppRole expression renderingtoken_policies=admin-agent,operatorandtoken_policies=regular-agent, and the playbook parsing. The delta adds nothing the body does not claim and removes nothing it does.Standards — 2 advisories
ADVISORY —
scripts/rotation-due.py:125:--today ""is not refused; the reader silently judges against the real day.The fix moved the flag's parse inside the
try(:122-126), which is right, and the comment above it says "The flag is a date this reader parses, so it refuses in the same voice as a date in the record". The guard that decides whether the flag is read at all isif args.today— truthiness, not presence — so an empty value never reachesparse_date. Driven at the head:python3 scripts/rotation-due.py --record docs/rotation-record.json --today ""printsNothing is due within 30 days.and exits 0, as of the run's own UTC day. The file's own contract at:20-22says "a date that does not parse or one in the future refuses the run with exit 2 rather than reporting a schedule it could not read. A record whose dates are wrong is worse than no check, because it looks like one." A caller invoking--today "$PENDING"with an unset variable gets a schedule reported as if it were pinned to that date, which is that failure in the flag's own shape.The
if args.todaytest is byte-identical at0de575f, so this is a residual the round moves rather than introduces: an advisory, never a blocker.Clearing change:
if args.today is not None, and one case besidescripts/tests/rotation-due.sh:112that runs the empty flag and expects therotation-due: --today:line with rc 2.ADVISORY (carried) —
docs/agents/make-targets.mdinolympus/workshop:rotation-dueandrotation-teststill have no row.Measured again at the sibling's
origin/mainebebe5e. The page's rule is:157— "a new target is a row here in the same pull request that adds it" — restated in §Keeping this page true at:190-191("its row changes here … so the two move together") and:198-199("A target inhelpwith no row here is a hole in this page").make helpat this head prints both (Makefile:332,:335). Not clearable from this tree; the PR body's Not in this change names the companion change that owes it. Carried, not re-litigated.Verified
git ls-remote origin refs/pull/56/head, at the start and again before drafting9d9408fboth timesgit merge-base --is-ancestor 0de575f 9d9408ftrue;git diff --stat 0de575f 9d9408fstore.yml,rotation-due.py,tests/rotation-due.shmise exec -- make checkin a worktree at the head--todayat head and at0de575f's reader0de575frc 1 with a traceback (the log's last line isRecordError: …)try, suite re-runrotation tests: 3 failed— exactly the three new assertions, the traceback one among themrotation tests: 1 failed— onlya --today that is not a date names the flagstart > todayguard deletedrotation tests: 5 failed— both branches,last_rotatedandadoptedwhen:andargv:expressions read out ofstore.ymlat each revision by YAML (never retyped) and driven throughansible-playbookwith seven synthetic read answersFalse; extra policy sorting firstTrue→False; store lacking the extraTrue; no class/empty storeFalse; no class/stray policyTrue; role absentTrue; spec order reversedTrue→Falsetoken_policies=admin-agent,operator,token_policies=regular-agent,token_policies=a-extra,regular-agent, and notoken_policieswhen the class is emptygrep -rn extra_policiesover the head treestore.yml:204and:212, plus the one role that carries one (defaults/main.yml:82) — the pair the fix moved is the whole setbao read auth/approle/role/hermeson 144, root token from the init filetoken_policies ["operator","admin-agent"], ttl 3600, max 28800 — the composed set, so the comparison readsdiffers=Falseand the deploy behind the merge writes nothingansible-playbook --syntax-check bao/service/site.ymlplaybook: bao/service/site.ymlrotation-due.py --today 2026-11-12ci-jwtno rotation, nothing due within 30 days — the body's rowget_commit_statuseson9d9408fpr-checks / check (pull_request)success (22s, run 126),plan / guest-plan-check (pull_request_target)success (16s, run 125); thependingrows are those same runs' earlier statesfetch-paperclip-issue.sh THE-39andfetch-paperclip-comments.py THE-39in_review,updatedAt 2026-11-12T02:05:38Z, 1 comment, authored by the fixer;reviewAttentionresponder Hermes,Scheduled review monitor,sincethe same instant, no entry authored by itCould not verify
bash scripts/fetch-vikunja-task-by-id.sh 163answershttp=401on the profile key andno MCP_VIKUNJA_API_KEY answered 200 in either .env;/api/v1/infoanswering 200 is the instance being up. The PR body stands as the spec, as it did last round.Named, not charged
Makefile:271—.PHONYstill omitsrotation-dueandrotation-test. The base line already omitshost-env-check/host-env-test, and no file of either name exists, so nothing changes today.store.yml:212-213against:203-204— whenpolicyis empty the write passes notoken_policiesargument at all, while the comparison reads the store's list against[]. A role with no class whose store holds a policy therefore readsdiffers=Trueon every run and is never converged (harness row 5:Trueat both heads, argv withouttoken_policies). No role indefaults/main.ymlcarries an empty class (grep "policy: null"answers nothing), so the branch has no caller in this tree, and the behaviour is identical at0de575f. Whether the deploy may ever remove a role's policies is a decision, not a defect of this round.docs/rotation-record.json'sforgejo-tokensadoption row and ADR-0013's class-named policies, both named last round — untouched by this delta.Summary
Spec: 0 findings. Standards: 2 advisories, one new and one carried. The worst on the axis is the
--today ""hole: it is this repository's own reader, and it can report a schedule as if pinned to a day it was not given. The carried page row is wider in reach but it is a pointer in another repository, disclosed in the body.Two advisories is under the third that would turn the recommendation, so the recommendation is merge, and both travel as advice. The change's class — a tier-1 write to the secrets store's AppRole behind the deploy — is the board's gate and not this review's:
paperclip:THE-39isin_reviewwith its responder silent, so merging remains the board's decision after this label moves, and this round's state follows the findings, as the dispatch narrows it.