docs: access is granted to a role, and every actor signs in as itself #47

Merged
pit merged 1 commit from hermes/access-is-granted-to-a-role into main 2026-11-11 12:45:52 +00:00
Owner

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.

  docs/adr/
+ 0013-access-is-granted-to-a-role.md   (new)
~ 0002-every-olympus-repos-main-rejects-direct-pushes.md   (Status pointer only)
~ index.md                             (row for 0013; 0002's status cell)
  GLOSSARY.md                          (Role, Grant)

Ticket: paperclip:THE-3 — T4a of the strategic plan (rev 4, §2 principle 8
and §2.1). New ADRs need board approval, so this pull request is the request.

What the record decides:

  • Six roles, each a kind of work: Operator, Admin agent, Reviewer, Deployer,
    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.
  • Every person and every agent signs in as itself — its own login, seed and
    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.
  • Grants and revocations are recorded where the system they grant is
    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.
  • 0002's clause, amended: a merge requires an approval from a holder of the
    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

Check Result
mise exec -- make docs-check all 3 assertions hold — 35 relative links across 25 documents, each resolves inside this repo
pr-checks / loop-decide and pr-checks / protect-main on 8295f2f both success (13s and 18s), the two contexts main's protection requires
Tool, host and config names in the new record a grep for the store, cluster, forge and runner products, .hcl, /pool, /vms and secret/data over the new file answers nothing
Clauses read against 0009–0012 the deploy reach here is 0012's three key shapes and 0011's no-destroy; the Deployer excludes the machines it runs on (0010) and is started by the merge alone (0009); the Provisioner is outside PROD, so it does not reopen 0011's door
0002's text the decision text is untouched; its Status gains the pointer, its clause is amended inside 0013, and its index row and summary cell move with it

Before / after, in the record the change is about:

  • Before: the party a grant names is an actor, and the duty is written into
    the policy that actor holds.
  • After: the party a grant names is a role plus a scope, and the actor is a
    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-5 and 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.

## 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. ```diff docs/adr/ + 0013-access-is-granted-to-a-role.md (new) ~ 0002-every-olympus-repos-main-rejects-direct-pushes.md (Status pointer only) ~ index.md (row for 0013; 0002's status cell) GLOSSARY.md (Role, Grant) ``` **Ticket:** `paperclip:THE-3` — T4a of the strategic plan (rev 4, §2 principle 8 and §2.1). New ADRs need board approval, so this pull request is the request. What the record decides: - **Six roles, each a kind of work:** Operator, Admin agent, Reviewer, Deployer, 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. - **Every person and every agent signs in as itself** — its own login, seed and 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. - **Grants and revocations are recorded where the system they grant is 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. - **0002's clause, amended:** a merge requires an approval from a holder of the 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 | Check | Result | | --- | --- | | `mise exec -- make docs-check` | `all 3 assertions hold` — 35 relative links across 25 documents, each resolves inside this repo | | `pr-checks / loop-decide` and `pr-checks / protect-main` on `8295f2f` | both `success` (13s and 18s), the two contexts `main`'s protection requires | | Tool, host and config names in the new record | a grep for the store, cluster, forge and runner products, `.hcl`, `/pool`, `/vms` and `secret/data` over the new file answers nothing | | Clauses read against 0009–0012 | the deploy reach here is 0012's three key shapes and 0011's no-destroy; the Deployer excludes the machines it runs on (0010) and is started by the merge alone (0009); the Provisioner is outside PROD, so it does not reopen 0011's door | | 0002's text | the decision text is untouched; its `Status` gains the pointer, its clause is amended inside 0013, and its index row and summary cell move with it | Before / after, in the record the change is about: - **Before:** the party a grant names is an actor, and the duty is written into the policy that actor holds. - **After:** the party a grant names is a role plus a scope, and the actor is a 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-5` and 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.*
docs: access is granted to a role, and every actor signs in as itself (paperclip:THE-3)
All checks were successful
pr-checks / loop-decide (pull_request) Successful in 13s
pr-checks / protect-main (pull_request) Successful in 18s
8295f2fa60
Co-Authored-By: Paperclip <noreply@paperclip.ing>
Member

Review started (round 1/5) on 8295f2fa60 — reading the diff now.

**Review started** (round 1/5) on 8295f2fa607487cccea43c57316069973794d18a — reading the diff now.
bot-minos approved these changes 2026-11-11 11:50:47 +00:00
bot-minos left a comment

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-3 live (in_review, 2026-11-11T11:42:38Z) and plan rev 4 on THE-1 for §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.

# Finding Where Severity
S1 Each role’s least reach is stated, but the record names no OpenBao policy and no Proxmox ACL group, and never says where that mapping lives — the PR body does (the grants page … lands with the work that reaches this state (A1)), the record does not. A reader of an org-wide record looks for the grant, finds nothing, and has no pointer onward. The abstraction is this repo’s house style, not a miss: no ADR 0003–0012 names either product (0 matches), and §2.1 hands the attaching to A1 — so the smallest fix is the pointer, not the mapping. docs/adr/0013-access-is-granted-to-a-role.md:69-76 ADVISORY

Present 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 on THE-3 (comment, 11:42:38Z).

Standards

Sources: AGENTS.md (the docs/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.

# Finding Where Severity
T1 The amended clause binds from the merge, and this record’s own words say no actor holds a role until the first grant lands — a holder that no row names holds nothing (: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 rule protect-main.sh writes is required_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 ADVISORY
T2 0009’s Context still states the approval pre-amendment: approved by someone other than its author … (0002) (: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-23 ADVISORY
T3 takes the snapshot before the change sits in the cell cited to 0009 and 0011, but neither record mentions a snapshot — 0013 is the only ADR whose text does (the plan §3 does). An access record quietly deciding a deploy duty its citation cannot support. Cite where it is decided, or drop the clause from the cell. docs/adr/0013-…md:74 ADVISORY

Files 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

Check Result
mise exec -- make docs-check all 3 assertions hold — 36 links / 25 docs (body says 35; assertions hold)
mise exec -- node pr-review-loop/tests/decide.test.js 100/100
mise exec -- node pr-review-loop/tests/parse.test.js 17/17
mise exec -- scripts/tests/protect-main.test.sh all 131 pass
commit statuses on the head both required contexts success
no product name in 0013 holds — 0 matches
the record’s citations all six targets exist; clause matches the pointer

Not 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

  • Spec: 1 finding — worst: S1 (ADVISORY), the concrete policy/ACL mapping deferred without a pointer saying so.
  • Standards: 3 findings — worst: T1 (ADVISORY), the amended clause binds while no identity holds a role and no mechanism checks one.
  • 0 BLOCKER. State APPROVE; nothing must change before merge. The fix recommendation is the volume rule alone — four advisories is a batching round, not a defect.
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-3` live (`in_review`, 2026-11-11T11:42:38Z) and plan rev 4 on `THE-1` for §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. | # | Finding | Where | Severity | |---|---|---|---| | S1 | Each role’s *least reach* is stated, but the record names no OpenBao policy and no Proxmox ACL group, and never says where that mapping lives — the PR body does (*the grants page … lands with the work that reaches this state (A1)*), the record does not. A reader of an org-wide record looks for the grant, finds nothing, and has no pointer onward. The abstraction is this repo’s house style, not a miss: no ADR 0003–0012 names either product (0 matches), and §2.1 hands the attaching to A1 — so the smallest fix is the pointer, not the mapping. | `docs/adr/0013-access-is-granted-to-a-role.md:69-76` | ADVISORY | Present 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 on `THE-3` (comment, 11:42:38Z). ## Standards Sources: `AGENTS.md` (the `docs/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. | # | Finding | Where | Severity | |---|---|---|---| | T1 | The amended clause binds from the merge, and this record’s own words say no actor holds a role until the first grant lands — *a holder that no row names holds nothing* (`: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 rule `protect-main.sh` writes is `required_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` | ADVISORY | | T2 | 0009’s Context still states the approval pre-amendment: *approved by someone other than its author … (0002)* (`: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-23` | ADVISORY | | T3 | *takes the snapshot before the change* sits in the cell cited to 0009 and 0011, but neither record mentions a snapshot — 0013 is the only ADR whose text does (the plan §3 does). An access record quietly deciding a deploy duty its citation cannot support. Cite where it is decided, or drop the clause from the cell. | `docs/adr/0013-…md:74` | ADVISORY | Files 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 | Check | Result | |---|---| | `mise exec -- make docs-check` | all 3 assertions hold — 36 links / 25 docs (body says 35; assertions hold) | | `mise exec -- node pr-review-loop/tests/decide.test.js` | 100/100 | | `mise exec -- node pr-review-loop/tests/parse.test.js` | 17/17 | | `mise exec -- scripts/tests/protect-main.test.sh` | all 131 pass | | commit statuses on the head | both required contexts success | | no product name in 0013 | holds — 0 matches | | the record’s citations | all six targets exist; clause matches the pointer | Not 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 - **Spec: 1 finding** — worst: S1 (ADVISORY), the concrete policy/ACL mapping deferred without a pointer saying so. - **Standards: 3 findings** — worst: T1 (ADVISORY), the amended clause binds while no identity holds a role and no mechanism checks one. - **0 BLOCKER.** State APPROVE; nothing must change before merge. The `fix` recommendation is the volume rule alone — four advisories is a batching round, not a defect.
pit merged commit 09bf2bc1be into main 2026-11-11 12:45:52 +00:00
pit deleted branch hermes/access-is-granted-to-a-role 2026-11-11 12:45:52 +00:00
Author
Owner

Review round 1 — disposition

Merged as 09bf2bc on main; 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.

Finding Disposition
S1 — no policy or ACL mapping, and no pointer saying where it lives Left as it is, deliberately. The mapping is the grants page that A1 lands; a pointer written today would name a page that does not exist yet, and the record would then carry a dead link as its only navigation. It lands with paperclip:THE-5.
T1 — the amended clause binds while no identity holds the role, and protect-main.sh checks no role Correct, and the gap is the work rather than the record. The record states the intended state; the distance — no holder, no mechanism that reads a role — is paperclip:THE-5 and paperclip: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.
T2 — 0009's Context still says "someone other than its author" True, and still literally correct. A Status pointer 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.
T3 — the snapshot sits in a cell cited to 0009/0011, neither of which mentions one Accepted as a real defect in that cell. 0013 should not decide a deploy duty its citation cannot support. The record is immutable from merge, so the fix is a superseding note rather than an edit; I will carry it to the A4 sweep if the board wants it there.

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).

## Review round 1 — disposition Merged as `09bf2bc` on `main`; 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. | Finding | Disposition | | --- | --- | | **S1** — no policy or ACL mapping, and no pointer saying where it lives | **Left as it is, deliberately.** The mapping is the grants page that A1 lands; a pointer written today would name a page that does not exist yet, and the record would then carry a dead link as its only navigation. It lands with `paperclip:THE-5`. | | **T1** — the amended clause binds while no identity holds the role, and `protect-main.sh` checks no role | **Correct, and the gap is the work rather than the record.** The record states the intended state; the distance — no holder, no mechanism that reads a role — is `paperclip:THE-5` and `paperclip: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. | | **T2** — 0009's Context still says "someone other than its author" | **True, and still literally correct.** A `Status` pointer 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. | | **T3** — the snapshot sits in a cell cited to 0009/0011, neither of which mentions one | **Accepted as a real defect in that cell.** 0013 should not decide a deploy duty its citation cannot support. The record is immutable from merge, so the fix is a superseding note rather than an edit; I will carry it to the A4 sweep if the board wants it there. | 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).
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 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!47
No description provided.