The forge's plan token is minted and recorded (SC-33) #43
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!43
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/SC-33-the-forge-s-plan-token-is-minted-and-rec"
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-33
Summary
The page that owns the Proxmox credential census records the token
infra-forge's pull-request plan check will hold:infra-ci@pve!forge-plan, minted on the cluster on 2026-11-10.The reach is per Guest, not per pool, because
infra-forgeplans exactly twoStacks —
forgejo/guest(141) andrunner/guest(146) — and its Edge takes noProxmox credential at all. That is narrower than
!plan's/pool/prodreadrather than a copy of it.
The value
token addprinted is held nowhere: settingPROXMOX_VE_PLAN_API_TOKENonolympus/infra-forgeis the forge's plan-checkticket's act (FO-58), so that ticket re-mints under the same id and sets the
value it prints. The page says so, and says that until then revoking this token
stops nothing that runs.
The census also carries
!silo-plan(SC-34, PR #42) and!secrets-plan(SC-35, PR #44), both minted on the cluster and not yet on
main: the count sayswhat exists on the cluster, and those rows say whose change records them. All
three PRs edit these lines, so the last to land keeps one row per token and the
count at whatever the cluster then lists.
Evidence
Before:
pvesh get /access/users/infra-ci@pve/tokenlistedpre,plan,cockpit-plan,tracker-plan— and noforge-plan.After:
docs-check.pyoverdocs/*.md→docs check: OK: every table row's pipecount, every
#fragmentagainst its own file's headings, every relative link.Not run: the Forgejo plan job itself. It reads
PROXMOX_VE_PLAN_API_TOKEN,which still holds the
!planvalue until FO-58 sets this one, so the live runis that ticket's evidence — the plan above is the same step, driven by hand.
Merge Danger
Door: two-way. The page reverts; the token outlives a revert, and revoking it
is the six commands the page now carries.
Blast Radius: documentation only, plus one read-only token on two Guests that
no job reads yet. PR #42 (SC-34) landed while this round was open, and the branch
now merges it, so that reconciliation is done: the silo rows are SC-34's own text.
PR #44 (SC-35) still edits the same census lines, so of the two remaining
whichever lands second keeps one row per token and the count at whatever the
cluster then lists.
Review started (round 1/5) on
55859e49f6— reading the diff now.Review — repo
olympus/infra-secrets· PR #43 · head55859e49f6757841650a7b953861ac6e0056b966· round 1/5 (no earlier review on the thread; the dispatch also said 1/5) · verdict: no blocker, three advisoriesRecommendation: fix
The recommendation turns on the count, not on the weight. There is no BLOCKER. Three ADVISORY findings tripped the rule that three or more advisories recommend one batched polishing round over a merge. Review state stays APPROVED (state follows blockers only); the label is
review/needs-fixbecause of the count. Any one of the three alone would have been advice.Spec source: SC-33 (Vikunja project 8, index 33, fetched live), read as the contract. The PR body cites it and no closing keyword is required by this repo's convention. Standards source:
AGENTS.mdanddocs/agents/*.mdcarry no documentation rule, andolympus/workshopdocs/adr/(0001–0012,main) has no record on plan tokens. Sostandards: no repo conventions foundfor this page. The Standards axis is judged by general practice plus the repo's own precedent:b175afa(SC-32) andf41e15a(CP-40), the two earlier plan-token commits, which touched the same two files.Fixed point: base
65eb4a3is an ancestor of head, and the head is one commit (55859e4) on top of it.refs/pull/43/headon the host equals the dispatched SHA, before and after the review.Spec — 1 finding (0 BLOCKER, 1 ADVISORY)
SC-33 criteria, each against what I reproduced:
pveum user token permissionsshows 141 and 146, no other Guestssh burns, PVE 9.2.21) the listing is/vms/141,/vms/146,/storage/fast-storage,/storage/synologyand nothing else.pvesh get /access/aclshowsPVEAuditorpropagate 0 on both Guests andTofuDatastoreAuditpropagate 1 on both storages, and no/pool/prodrow for the token. The token isprivsep 1,expire 0, commentSC-33: infra-forge pull-request plan check, as the page says.docs/proxmox-credentials.md:44), credentials-table row (:71), new section (:406). The revoke block lists the rows first and then the token, the order the page's own Rotation section requires.infra-forgeorigin/main@19e3563plan.ymlstill readsPROXMOX_VE_PLAN_API_TOKEN, and FO-58 ("replace the shared plan token with this repository's own") is what swaps it. The page says exactly that (:431–437). SC-33's own text puts the repository secrets in "the forge ticket's act", and FO-58's criterion 2 (PVEAuditoron 141 and 146) matches the reach minted here.ADVISORY 1 — the census count is already one short of the cluster it cites (
docs/proxmox-credentials.md:34–35).The page says "Nine credentials — nine tokens on four users … (
pvesh get /access/users/<user>/token)", and the body says "the count says what exists on the cluster". Read back at review time, that command lists ten:infra-ci@pvealso carriessecrets-plan(commentSC-35: infra-secrets pull-request plan check), which neither the count nor any row records. SC-35 posted its "Started" comment at 20:30:14Z and this PR opened at 20:30:22Z, so this is not a miss the author could have seen. It is the cost of making the page's count track the live cluster while three sibling tickets (SC-33, SC-34, SC-35) mint concurrently. The nine does match the nine rows of the table it introduces (:39–47), so the page is consistent with itself, not withpvesh. Clearing change, either one: state the count as what this page records and name the tokens minted but not yet recorded (!silo-planby SC-34,!secrets-planby SC-35), or bring it to ten and let SC-35's own change carry the row.Standards — 2 findings (0 BLOCKER, 2 ADVISORY)
ADVISORY 2 — a count the diff left behind in "The ceiling" (
docs/proxmox-credentials.md:548).:34moves "Seven" to "Nine";:548still reads "All seven credentials carryprivsep: 1". At base both sentences said seven (git show origin/main:docs/proxmox-credentials.md, lines 34 and 474), so the page now contradicts itself, and this edit is what created that. The repo's own precedent bumps both:b175afachanged "All six" to "All seven" andf41e15achanged "All five" to "All six", on this same line. The substance holds, since all ten tokens on the cluster read backprivsep 1, so I grade the stale numeral ADVISORY rather than BLOCKER: it is a figure in a record sentence, and no action a reader takes depends on it. Clearing change: "All seven" becomes "All nine" (or whatever count the first advisory settles on).ADVISORY 3 — two pages disagree about whether
!forge-planis held as a repository secret (docs/store-layout.md:479againstdocs/proxmox-credentials.md:71and:431–437).The inventory row now says the pull-request plan tokens of "cockpit, tracker, silo and forge (
!cockpit-plan,!tracker-plan,!silo-plan,!forge-plan) carry a different name,PROXMOX_VE_PLAN_API_TOKEN, as repository secrets". For cockpit and tracker that was true at base. For!forge-planthe credentials page says in two places that its value is "not set from this token yet" and "went into no secret and no file" — the secret onolympus/infra-forgeholds the!planvalue until FO-58.!silo-planis in the same state by its own PR's account (#42: SL-30's act). The sentence the diff added states as present fact what the same diff's other page records as pending. Clearing change: one clause, for example "…carry a different name,PROXMOX_VE_PLAN_API_TOKEN— as repository secrets for cockpit and tracker, and once their plan-check tickets set them for silo and forge".Verified, and how
git ls-remote origin refs/pull/43/head=55859e4…= the dispatched SHA; worktree at that SHA,git status --porcelainempty.ssh burns): token list (privsep,expire, comments),pveum user token permissionsforforge-planandsilo-plan,pvesh get /access/aclrows for both, the user's own rows (PVEAuditoron/pool/prod, so the token's per-Guest rows intersect correctly underprivsep). All of it matches the PR body'sAfterblock for!forge-planand the page's!silo-planrow (/vms/150plus both storages; the page does not name its propagate flag, so nothing there to refute).mise exec -- make checkexit 0 (env-check, env-test, plan-test: "plan tests: every case passed") and CIpr-checks / check (pull_request)success on this SHA. That floor never opens the changed pages, so it proves the floor is intact and nothing about the diff.#rotation) resolves to a heading. Reproduced with my own script, because the body'sdocs-check.pyis not in this repository (scripts/holdsenv.sh,plan-check.py,tests) — that is the author's tooling, not a check the repo runs.infra-forgeat freshorigin/main@19e3563: the Edge Stack (npm/edge) has only thenginxproxymanagerprovider and no Proxmox reference, which confirms "its Edge Stack takes no Proxmox credential at all".docs/actions/runner-and-workflows.mdandplan.ymlconfirm the forge's jobs readPROXMOX_VE_PLAN_API_TOKENtoday.git merge-treeof the two heads conflicts in both files, as the body says it will.AccessControl.pmon the node (check_token_exist, theignore invalid acl tokenwarning at line 1551) matches the strings the page quotes.Not verified
tofu planruns reporting "No changes" and the throwaway-twin 200→401 run: they need PROD's state and a token value, and I do not hold either. They are the author's evidence only. The cluster shows no leftover twin rows (grep -n 'twin\|throwaway' /etc/pve/user.cfgempty), which is consistent with the claim but does not prove it.Named, not charged
!silo-planrows in this PR (docs/proxmox-credentials.md:45,:72). Disclosed in the body, and SC-34's change is not onmain. Their content is right against the cluster. They guarantee a textual conflict with #42 on the same lines, and:72points at SC-34's section that does not exist onmainyet. The body names the reconciliation (second to land keeps one row per token). With!secrets-plannow on the cluster, that reconciliation involves three changes, not two.docs/proxmox-credentials.md:294–295, "stops" becomes "would have stopped"). Harmless and not listed in the body's file diagram.PROXMOX_VE_PLAN_API_TOKEN(plan.yml,edge-plan-check). Harmless, since the Stack never calls Proxmox; after FO-58 it will hold!forge-planas well, which does not change the isolation claim.Summary
docs/proxmox-credentials.md:548: a numeral the diff left stale, contradicting:34docs/proxmox-credentials.md:34: "nine" against ten tokens on the live clusterThe criteria are met and every cluster fact I could read back matches. What remains is three one-line corrections in the docs: a count to settle, a count to bring current, and one clause in the store-layout row.
Acknowledged (round 1/5) — fixing now; what changed and how I verified it follows.
New commits pushed, approval review dismissed automatically according to repository settings
Fix round —
olympus/infra-secretsPR #43, round 1/5What the report carried:
No BLOCKER on either axis. Three ADVISORY findingsandRecommendation: fix— the recommendation turns on the count, not the weight. The dispatch's "blocking findings" is the loop's fixed text; this report raised none, and the round is worked in full because of the volume rule. All three are cleared in354f7be.docs/proxmox-credentials.md:34— the census says nine, the cluster lists ten354f7bedocs/proxmox-credentials.md:548— "All seven credentials carryprivsep: 1" left stale by this diff354f7beprivsep: 1"docs/store-layout.md:479— states as present fact what the same diff records as pending354f7beWhy ten and not nine. The reviewer offered two clearings; I took the one that makes the page true to the cluster and to itself, which is also this repo's precedent for a third sibling change: the count is the cluster's, and every live token gets exactly one row.
!secrets-plan(SC-35) is live on the hypervisor and was in neither table, so it now has a row in both — its text is SC-35's own fromorigin/hermes/SC-35-…, verbatim for the census row, so the two branches union to one line instead of competing. The silo row keeps this branch's wording; SC-34's PR #42 owns that token's section, and with three PRs editing these lines the last to land reconciles the count as the body now says.PR body, not a commit. Two sentences in the description carried the same count and described the reconciliation as two PRs. Both are corrected in place on the PR, with
patch_pr_body.py:PATCH rc=201, read-backequal=True, the old text left0occurrences in each of two writes (4411 → 4410 → 4490 chars). Nothing in the body is left claiming nine or a two-way merge.Verification, run at
354f7be:CI on the pushed heads:
pr-checks / check (pull_request)—successin 24s on354f7beandsuccessin 19s on the merged head3b36ecf(GET /commits/<sha>/status,state: success).The cluster, read-only (
ssh burns,pvesh/pveum, metadata only):Ten tokens on four users, all
privsep 1andexpire 0.pveum user token permissions infra-ci@pve secrets-plananswers/vms/144,/storage/fast-storage,/storage/synologyand nothing else, and/access/aclcarriesPVEAuditorpropagate 1 on/vms/144with no/pool/prodrow for it — which is what the new row says. A parse of the page against its own tables closes the arithmetic: 10 credentials = 10 rows = 10 token ids, and the second table's 11 rows are those ten plusroot@pam.Left alone, deliberately:
!silo-planrow's wording. SC-35's branch phrases it differently; SC-34's PR #42 owns the token. In the first commit the row kept this branch's placeholder wording; the merge below replaces it with SC-34's own text now that it has landed, so there is one phrasing per token in the tree.PROXMOX_VE_PLAN_API_TOKEN. Untouched; both are harmless by the report's own account.!forge-plan's evidence block (the 200/403 table, bothtofu planruns, the throwaway-twin revocation). Unchanged — this round changed counts and one tense, not the mint.Not verified: the live Forgejo plan job, same as before —
PROXMOX_VE_PLAN_API_TOKENonolympus/infra-forgestill holds the!planvalue until FO-58 sets this token's. Nothing in this round depends on it.The base moved during the round, and
mainis now merged in (3b36ecf).PR #42 (SC-34) landed at
a22d59fseven minutes after the first commit, which left the branch conflicting in both files — exactly what the report predicted.git merge --no-ff origin/main,MERGE_HEADverified equal toorigin/mainbefore resolving:main's text, which is the minted token's own record and has landed. This branch's placeholder ("that ticket's own change carries the section that records it") goes; the "nine → ten" count does not, because the union is main's eight rows plus!forge-planand!secrets-plan.#infra-silos-plan-token; the heading rendersuser-content-infra-silo-s-plan-token— the apostrophe keeps its own hyphen in the slug, measured against/api/v1/markdownrather than assumed. Both occurrences are fixed because they sit on lines this merge already rewrites, and they were the only two redsdocs-check.pyreported on the merged tree. That is one edit outside the round's findings; it is in the merge commit and named in its message.Re-run on the merged tree:
mise exec -- make checkrc=0 ("env-check: the pin and the map agree.", "plan tests: every case passed."),docs-check.py→docs check: OK, the render check →failures: 0on both pages with no ragged rows, and the census parse → 10 credentials = 10 rows = 10 token ids.mergeablenow readstruewithmerge_base == base.sha == a22d59f.Head:
3b36ecf0fabae880ccd1c9c2561e3a690b9fc0d7— one fix commit (354f7be) and one merge commit on55859e4, no force-push, nothing onmaintouched.Review started (round 2/5) on
354f7be3b0— reading the diff now.a22d59f, SC-34 / !42) into the forge's plan-token branchReview — repo
olympus/infra-secrets· PR #43 · head3b36ecf0fabae880ccd1c9c2561e3a690b9fc0d7· round 2/5 (one earlier review on the thread, so this is its second) · verdict: no finding on either axisRecommendation: merge
The head moved while I read. The dispatch named
354f7be3b06e0a17f3ffc4fbbe8cc201bce9458c; the author then pushed3b36ecf, a merge ofmain(a22d59f, SC-34 / !42) into the branch, and the forge pinned my first post of this round to it while its body described354f7be. I deleted that post (delete_pull_review, review 493) and re-drove everything below at3b36ecf; this is the round's only review. Nothing in it rests on a read of the old head except where it says so.All three round-1 advisories are cleared, the merge that answers the branch's conflict with
mainis faithful, and nothing new was found. Review state is APPROVED (state follows blockers only; none stands); labelreview/merge-ready.Spec source: SC-33 (Vikunja project 8, index 33, fetched live this round). Standards source:
AGENTS.mdanddocs/agents/*.mdcarry no documentation rule, and the org ADRs hold no record on plan tokens (unchanged from round 1), sostandards: no repo conventions found; the axis is judged by general practice and the repo's own precedent (b175afa,f41e15a). One reviewer held both axes; the sections below are kept apart.Fixed point:
git merge-base --is-ancestor 354f7be 3b36ecfis true: the head stacks on the commit I first examined. Two deltas, named apart:git diff 55859e4 354f7be—docs/proxmox-credentials.md(+4/-2),docs/store-layout.md(+1/-1);3b36ecf(parents354f7be,a22d59f):git diff 354f7be 3b36ecfisdocs/proxmox-credentials.md+103/-2,docs/store-layout.mdunchanged (blobb6b8b7don both sides). Its files are SC-34's to answer for; the PR's own change overmainisgit diff a22d59f 3b36ecf: two files, 81 insertions, 7 deletions.Round 1's findings, re-driven
3b36ecf354f7be, kept by the mergedocs/proxmox-credentials.md:34reads "Ten credentials — ten tokens on four users". Live read-back (ssh burns,pvesh get /access/users/<user>/token, all four token-holding users):infra-tofu@pve1,infra-ci@pve7 (secrets-plan,cockpit-plan,tracker-plan,pre,forge-plan,silo-plan,plan),infra-actions@pve1,infra-runner@pve1 = 10. Table 1 has 10 rows against 7 at the original merge-base and 8 onmain; its rows carry 10 token ids (!preshares a row with the user).354f7be, kept by the mergedocs/proxmox-credentials.md:639reads "All ten credentials carryprivsep: 1" (mainsays "All eight"; the head's is right). A numeral census over both pages finds no other credential count left behind.docs/store-layout.md:479stated as present what the page records as pending354f7be, kept by the mergePROXMOX_VE_PLAN_API_TOKEN"as repository secrets for cockpit and tracker, and, once their plan-check tickets re-mint them and set them, for silo, forge and secrets". The file's blob is identical before and after the merge, somain's competing wording (silo among the already-set) did not win; the head's clause agrees with SC-34's own section onmain(the repository secret is SL-30's act).The base merge, checked as a merge
A head that is a merge commit owes a lost-edit check, so:
git merge-tree --write-tree 3b36ecf origin/mainexits 0 (the PR object now readsmergeable: true; it readfalseat354f7be, which I measured as 6 conflicted hunks indocs/proxmox-credentials.mdand 1 indocs/store-layout.md).main's content survives:## infra-silo's plan tokenis atdocs/proxmox-credentials.md:478, beside## infra-forge's plan tokenat:408; the removed lines ofgit diff a22d59f 3b36ecfare exactly six, and each is one the branch legitimately rewrites (count 8→10, "All eight"→"All ten", the cockpit paragraph's tense, and the two anchors below). Nothing of SC-34's is deleted.main's wording where both sides wrote the same row: the!silo-planrows (:45,:73) are SC-34's text; this branch's placeholder ("that ticket's own change carries the section that records it") is gone, as the merge message says.main's eight rows plus!forge-plan(:44,:72) and!secrets-plan(:46,:74) = ten, matching the live listing above. The!secrets-plancensus row (:46) is byte-identical to SC-35's branch (origin/hermes/SC-35-…, line 46).main's anchors (docs/proxmox-credentials.md:73and:669:#infra-silos-plan-token→#infra-silo-s-plan-token), and says so in its message. Verified against the served page: atmain@a22d59fthe old id has 0 matches and the heading rendersuser-content-infra-silo-s-plan-token; at the head, every](#…)fragment on the page resolves (4 distinct, allok) and noinfra-silos-plan-tokenremains in the tree. The edit is correct and disclosed; it is a repair ofmain, so it is named here and not charged.Spec — 0 findings
SC-33 criteria, re-read at the head:
pveum user token permissionsshows 141 and 146, no other Guestpveum user token permissions infra-ci@pve forge-planlists/vms/141,/vms/146,/storage/fast-storage,/storage/synologyand nothing else;/access/aclhasPVEAuditorpropagate 0 on both Guests andTofuDatastoreAuditpropagate 1 on both storages, and no/pool/prodrow for the token.:44, credentials-table row:72, section:408.!secrets-plan(:46,:74) against the cluster:pveum user token permissions infra-ci@pve secrets-planlists/vms/144and both storages only; ACL rows arePVEAuditoron/vms/144andTofuDatastoreAuditon both storages, none on/pool/prod— what the row says.Standards — 0 findings
make checkat3b36ecfin a clean worktree: exit 0 (env-check, env-test, plan-test: "plan tests: every case passed"). CI by SHA:pr-checks / check (pull_request)success(19s, run 67). That floor never opens the changed pages; the page checks are mine, above.docs/store-layout.md:14→#appendix-a-the-inventory-row-by-row(heading at:464carries an em dash), is on a line the diff never touched and my reimplemented slugger is not the forge's render, so it is the probe, not a finding.Named, not charged
!secrets-planrows and section on the same lines; whichever of #43 and #44 lands second keeps one row per token and the count at whatever the cluster lists (ten today). The body says so.Edgejob also receivesPROXMOX_VE_PLAN_API_TOKEN, and the cockpit paragraph's tense edit (:297) — both named in round 1, both untouched since, both harmless.Verified, and how
git ls-remote origin refs/pull/43/head=3b36ecf…at the wave and again at the POST; worktree at that SHA,git status --porcelainempty.ssh burns: token lists for all four users,pveum user token permissionsforforge-planandsecrets-plan, ACL rows forforge-plan,silo-plan,secrets-plan— all match the page.git diff a22d59f 3b36ecf,git diff 354f7be 3b36ecf), parents and blobs compared, markers searched, merge-tree exit, rows and headings censused; the served page fetched atmain@a22d59fand at the head for the anchor claim.make checkrc 0; CI success by SHA; SC-33 fetched live this round.Not verified
tofu planruns and the throwaway-twin 200→401 run in the PR body: they need a token value or PROD's state, which I do not hold, and no value exists anywhere by design. They are the author's evidence, and the!forge-plantext they back is unchanged since round 1.Summary
The three round-1 advisories are resolved, the ten-token count matches the cluster, and the base merge keeps SC-34's section and rows whole. The branch now merges cleanly into
main.