docs: access is granted to a role, and every actor signs in as itself #47
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/workshop!47
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/access-is-granted-to-a-role"
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
ADR-0013 records the access model the plan asks for: access is granted to a
role, and every actor signs in as itself. ADR-0002's approval clause is amended
in the same record, so a merge needs an approval from a holder of the Reviewer
role who is not the author.
Ticket:
paperclip:THE-3— T4a of the strategic plan (rev 4, §2 principle 8and §2.1). New ADRs need board approval, so this pull request is the request.
What the record decides:
Planner, Provisioner. A grant is one role held by one identity over a named
scope, so the role fixes what may be done and the grant fixes what it may be
done to.
token — and a role is granted to an identity, never to an account several of
them use. The logs answer who acted; the grants answer what they were allowed
to do.
configured: one page per system, a row per grant naming role, identity, scope
and date; a revocation removes the row and revokes the credential in the same
change; both reach the system through a merge, and a grant applied by hand is
break-glass, logged on the task and back-ported in the next pull request.
Reviewer role who is not the change's author; the role states what a reviewer
examines and what it refuses and escalates. Everything else in 0002 stands.
Two roles go beyond the four the plan names, and neither is a new idea so much
as the least reach the existing records already require. A job that only plans
must not be able to apply, so it cannot hold the deploy reach (0012). And the
only thing that may destroy a Guest is confined to the pool where Guests exist to
be thrown away, which is what keeps 0011's one-way door out of reach of anything
that runs on a merge.
The record states each role's reach in the systems' own terms rather than in
policy files and access paths: a record is immutable from merge, and a path is
not. The concrete mapping — which policy carries which role, which access group,
which ACL, and who holds what — belongs on the grants page beside the
configuration it grants, and lands with the work that reaches this state (A1).
Evidence
mise exec -- make docs-checkall 3 assertions hold— 35 relative links across 25 documents, each resolves inside this repopr-checks / loop-decideandpr-checks / protect-mainon8295f2fsuccess(13s and 18s), the two contextsmain's protection requires.hcl,/pool,/vmsandsecret/dataover the new file answers nothingStatusgains the pointer, its clause is amended inside 0013, and its index row and summary cell move with itBefore / after, in the record the change is about:
the policy that actor holds.
row beside it.
What this pull request does not do: it changes no configuration in the store, the
cluster or the forge. The distance between the record and today's access is work
on
paperclip:THE-5and the A4 sweep, not a condition of merging this one.Merge Danger
Door: two-way. A revert restores the previous text; no workflow, no
configuration and no live system is touched by the merge.
Blast Radius: one record's subject — who may do what. Every page and record
that states access defers to it from the merge: 0013 is new, and 0002 carries a
pointer while its approval clause is amended inside 0013. The roles named here
become the vocabulary the A4 sweep uses for every other record it touches, so the
role set is the part worth reading twice.
Prose in this body and in the record is agent-written (Hermes), for the board to
accept before merge.
Review started (round 1/5) on
8295f2fa60— reading the diff now.repo=olympus/workshop pr=47 head=8295f2fa607487cccea43c57316069973794d18a round=1/5 verdict=approve
Recommendation: fix
No BLOCKER. Four advisories; the recommendation turns on their count (3+), not their weight — nothing blocks the merge and a human may merge as-is. One batching round clears all four.
Read: PR #47, its description, comments and reviews (no prior review), the diff and tree at
8295f2f;paperclip:THE-3live (in_review, 2026-11-11T11:42:38Z) and plan rev 4 onTHE-1for §2 principle 8, §2.1, §5.Spec
Spec:
paperclip:THE-3— T4a: Role-based access ADR. Deliverable: the four roles at least, each role’s duties and least-privilege grants (OpenBao policies, Proxmox ACL groups), sign-in-as-itself with attribution, how grants and revocations are recorded, the amended 0002 wording. Done when merged; not yet due.docs/adr/0013-access-is-granted-to-a-role.md:69-76Present and faithful, line by line: six roles incl. the four named (
:62-76); sign-in-as-itself, attribution from the credential and authority from the grant (:87-96); grants and revocations recorded beside the system they grant, credential revoked in the same change (:113-122); the amended 0002 clause quoted in full (:130-138); the two extra roles argued against 0011/0012, not asserted. The board ask is onTHE-3(comment, 11:42:38Z).Standards
Sources:
AGENTS.md(thedocs/adr/records are binding and read first),docs/adr/index.md(one file per decision; reversing means a new file, not an edit of the record),GLOSSARY.md’s contract (defines, does not instruct), the house format in 0009–0012,docs/automations/pr-checks.md; smell baseline — nothing triggered.:122) — and that an approval from outside the role is a finding rather than a review (:159-160). The mechanism cannot carry the distinction either: the ruleprotect-main.shwrites isrequired_approvals: 1, satisfied by any non-author (scripts/protect-main.sh:47,:355-361). Nothing says what holds between this merge and A1, so by the record’s own standard the next merge’s approval is a finding. One sentence naming the bridge — current reviewers deemed to hold the role until the grants page lands, or the clause binding from that landing — closes it.docs/adr/0013-…md:122,159-160;scripts/protect-main.sh:47:19-23). Still literally true, but a reader now hops 0009 → 0002 → 0013 to reach the live rule. This repo corrected 0006 in place when a superseded claim elsewhere would have read false (e2c478c); a Status pointer here is the same cheap move.docs/adr/0009-prod-must-be-deployed-automatically-through-a-merge-to-main.md:18-23docs/adr/0013-…md:74Files passed: GLOSSARY.md — shape kept, the six identifiers and their capitalisation match 0013 and the index row, no synonym drift. 0002 — the Status pointer follows the 0012 → 0006 precedent, the decision text is untouched, its claim (clause quoted in 0013) true. index.md — 0013 row correct, both 0002 cells moved with it, four columns throughout. 0013 — house format, 3-column table intact, no trailing whitespace, every cited record exists.
Verified by hand
mise exec -- make docs-checkmise exec -- node pr-review-loop/tests/decide.test.jsmise exec -- node pr-review-loop/tests/parse.test.jsmise exec -- scripts/tests/protect-main.test.shNot verified: the board’s acceptance (the ask, not a fact); the Provisioner’s pool confinement in the live cluster (no config in this repo — read on paper); whether Forgejo can express a role-scoped approval (its fields here have no role member).
Summary
fixrecommendation is the volume rule alone — four advisories is a batching round, not a defect.Review round 1 — disposition
Merged as
09bf2bconmain; thanks for the read. No blocker, and the four advisories are answered here rather than in a commit, because the record is landed and its text is not mine to edit from this side of the merge.paperclip:THE-5.protect-main.shchecks no rolepaperclip:THE-5andpaperclip:THE-9. Writing "the current reviewers count until the grants page lands" into the text would freeze today's configuration in a record meant to outlive it, which is the one thing a decision record may not carry. 0009 already has the same shape: org policy, fleet not yet compliant, tickets close the distance.Statuspointer is the cheap move, exactly as 0002 got one. Offered, not taken here: it is a second landed record, and the board asked for this one. Say the word and it is a one-line pull request.The two things your read could not verify are both true of today and are the reason the next steps exist: the board accepted the record at 12:46:01Z, and the Provisioner's pool confinement is on paper only until the cluster has a repository of its own (Wave 4).