The silo's plan token is minted and recorded (SC-34) #42
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/infra-secrets!42
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/SC-34-the-silo-s-plan-token-is-minted-and-reco"
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?
Implements SC-34
Summary
A Proxmox token of its own for infra-silo's pull-request plan check, minted on the cluster and recorded on the page that owns the credential census.
The value is printed once by
token addand this ticket does not hold it:PROXMOX_VE_PLAN_API_TOKENonolympus/infra-silois SL-30's act, so that ticket re-mints under the same id to capture one. The page carries that rotation, rows first — the measured lesson thattoken removeleaves ACL rows behind.Evidence
Before:
pvesh get /access/users/infra-ci@pve/tokenlisted four tokens —pre,plan,cockpit-plan,tracker-plan— and nosilo-plan.After:
Revoking it is the
acl deletelines thentoken remove, both on the page; the silo's deploy rows belong toinfra-runner@pve!deployon another user, so the deploy keeps running.Merge Danger
Door: two-way. The page reverts; the token outlives a revert, and revoking it is the four commands the page records.
Blast Radius: narrow — documentation only, plus one read-only token on one Guest that no job reads yet. SC-33 (the forge's plan token) edits the same census lines in this file, so whichever lands second rebases the count and the
!plan-shaped rows.Review started (round 1/5) on
6ec20998e8— reading the diff now.Review — olympus/infra-secrets#42 · head
6ec20998e8cb9a5aafd6b8b85239b44e62a15150· round 1/5 (no earlier review on the thread; the dispatch said 1/5 too) · verdict: mergeRecommendation: merge
Spec source: SC-34 (Vikunja project 8, task 334), read live — its three acceptance criteria are the contract. Standards source:
AGENTS.md§Checks (make checkis the floor andmainrefuses to merge while it is red) and the org ADRs inolympus/workshopdocs/adr/atmain(0001–0012, read from the forge). The repo has no documentation-style rules of its own, so link and count hygiene is judged by general good practice, and I say so where it matters.Delta: this is round 1, so the delta is the whole change:
git diff 65eb4a3 HEAD(merge-base = base head), one commit, two files —docs/proxmox-credentials.md(+106 −3) anddocs/store-layout.md(+1 −1). No code, no workflow, no script.Spec
Every acceptance criterion reproduced against the live cluster over ssh (
burns,pve-manager/9.2.21), read-only.PVEAuditortoken on 150 withTofuDatastoreAuditon both storagespvesh get /access/users/infra-ci@pve/tokenlistssilo-plan,privsep 1,expire 0, commentSC-34: infra-silo pull-request plan check.pvesh get /access/acl:/vms/150 PVEAuditor,/storage/fast-storageand/storage/synologyTofuDatastoreAudit, alltoken, allpropagate 1— the doc's "all three rows carrypropagate: 1" is true.pveum user token permissionsshows 150 and no other Guestpveum user token permissions infra-ci@pve silo-planprinted exactly three paths: the two storages (Datastore.Audit (*)) and/vms/150(the seven*.Auditprivileges). The body's "After" block and the page's listing match it in content, including the doc's remark that(*)marks the storage rows and not/vms/150.docs/proxmox-credentials.md:44), credentials-table row (:70), new section## infra-silo's plan token(:404). Revocation block uses the samepveum acl delete … --roles … --tokenssignature as the cockpit/tracker sections./vms/150deploy rows belong toinfra-runner@pveandinfra-runner@pve!deploy(TofuGuestInPlaceNoPower), a different user. The page says plainly this is stated by the ACLs until the consumer exists.Claims checked beyond the criteria:
olympus/infra-siloorigin/main(502539c) the only workflow is.forgejo/workflows/pr-checks.yml, andgit grep PROXMOX_VE_PLAN_API_TOKENover that tree answers nothing. True.silo/guestdeclarespool_idunderlifecycle.ignore_changes" —silo/guest/container.tf:92at that same commit. True.*.Auditset is in the listing" — true; no write privilege anywhere.make check— exit 0 here, endingplan tests: every case passed.; CIpr-checks / check (pull_request)issuccessat this SHA.=<token>, key blocks): empty. The page records the mint and says the value was not kept — no credential in the diff.Findings (Spec axis)
docs/proxmox-credentials.md:417-418: "A grant on the pool would have reached four more Guests for nothing." The poolprodholds seven members today (pvesh get /pools/prod: 141, 142, 143, 144, 145, 146, 150), so a pool grant would have reached six more Guests; the page's own tracker section says the same member set at:375-376("141, 142, 143, 144, 145, 146 and 150 (145 and 146 joined after the pools table was written)"). The "four" is the stale five-guest framing at:48and the pools table. Nothing procedural depends on it — the narrowing is right, and the understated count only weakens the argument for it. Clearing change: "six", or drop the number.Standards
Standards source as above.
AGENTS.md§Checks is met (green locally and in CI). No ADR is engaged: no store path is added (ADR-0007 is not touched — the sibling plan tokens are likewise repository secrets with no path), nothing here deploys or destroys (0009/0011), and the Door is declared in the body as two-way with the revocation recorded. Smell baseline: the new section deliberately mirrors the cockpit and tracker sections in shape; that is the page's own convention, not a Duplicated Code finding.Findings (Standards axis)
docs/proxmox-credentials.md:70([below](#infra-silos-plan-token)) and:595([above](#infra-silos-plan-token)). Forgejo's render turns the apostrophe in## infra-silo's plan token(:404) into a hyphen, so the served page carriesid="user-content-infra-silo-s-plan-token"and nouser-content-infra-silos-plan-token(checked against the page served at this SHA, not a local slugger; the sibling headings areinfra-cockpit-s-plan-tokenandinfra-tracker-s-plan-token, and the page's one existing apostrophe link,:30, already uses the hyphen form#the-semaphore-runner-s-deploy-token). Both links are the ones a reader follows to reach the mint and rotation steps, and both dead-end. Clearing change:#infra-silo-s-plan-tokenin both places. No repo rule covers links (infra-silo'sAGENTS.mdhas one; this repo's does not), so this is judged by general good practice and graded advisory — the heading is named in the sentence, so a reader is not stranded.Named, not charged
forge-planis live and unrecorded. The cluster already carriesinfra-ci@pve!forge-plan(SC-33, ACL rows on 141/146 and both storages); its record is the open PR #43, which is not onmain. The page's "Eight credentials — eight tokens on four users" (:34,:565) counts what this PR's table lists and will read one short ofpveshuntil #43 lands. The body discloses that #43 edits the same census lines and that whichever lands second rebases the count; that is a merge-order matter, not a defect in this change./pools/prod→ 403) was not reproduced. The token's value was deliberately not kept, so I could not send it. It is determined by the measured privilege map (no/vms/142,/vms/144or/pool/prodrow on the token,Pool.Auditonly inside/vms/150), but it is the author's dated measurement, not mine.silo/guest's plan needs anything beyond these rows is the page's own## Openentry, which says it widens by a reviewed change.:48("reaches the five guests in it") and the pools table are pre-existing and untouched.Counts
:417-418.#infra-silos-plan-tokenanchors at:70and:595.No blocker stands, so the review state is APPROVE. Two advisories is under the three that turn the recommendation: merge. Both advisories are a one-token fix each and can ride along with the rebase onto #43.