The update flow opens the pull requests that move a pinned version (THE-40) #110
No reviewers
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
wontfix
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-forge!110
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/THE-40-renovate"
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?
paperclip:THE-40
Summary
The update flow, on the repository that owns it. A scheduled workflow runs Renovate against this repository's pins and opens the pull request that moves one; it merges nothing. The account is the board-approved
bot-renovate, its token is in the store, and the store side landed as infra-secrets#64 after the Updater role joined ADR-0013..forgejo/workflows/renovate.ymlschedule(Mondays 04:17 UTC) andworkflow_dispatch; the job installs the toolchain, reads the token, runsrenovate@42.99.0renovate.jsonconfig:recommended, non-major updates grouped,automerge: false, the dependency dashboard off (an issue needs a right the bot does not hold),.mise/**ignored (the toolchain's generated pins have one home, inmise.toml), andmise'sopenbaodisabled (the store's client follows the server's release)scripts/renovate-token.shrenovatefor a schedule,renovate-dispatchfor a dispatch — and one path read; the token to stdout onlyscripts/tests/{renovate-token.test.sh,store-stub.py}scripts/tests/renovate-workflow.shrenovate.ymlitself: the OIDC door at the job level and nowhere else, and the mask preceding theRENOVATE_TOKENwrite — the wiring a run of the script never reachesMakefilerenovate-token-testandrenovate-workflow-test, oncheckforgejo/.../defaults,group_vars,env.map,.env.exampledocs/renovate.md,docs/index.md,docs/wiki-pages.ymlWhat it settles
secret/bot-renovate/forgejo; the two JWT roles are bound toolympus/infra-forge,refs/heads/mainand their event, so a push or a pull request of this repository matches neither.automergeis off; every update is a pull request that runs this repository's checks and the review loop, and a merge is the deploy.node:22-bookwormand the 44 line requires Node 24 — measured: 45.12.1 dies onRegExp.escape.forgejo_version,runner_version) are a role default, not a manifest; a manager for them needs a datasource this repository has not proven.docs/renovate.mdsays so rather than leaving a gap a reader would take for a bug. The same page now says why.mise/**is ignored: mise's generated lock environment repeats one of the toolchain's pins in apyproject.toml, so without it one pin has two update paths and one of them edits a file the toolchain owns.repo.issues: read, so the dependency dashboard is off rather than silently unreachable.forgejo_accountsgainsbot-renovate,vault_forgejo_account_passwordsgains its name, andenv.mapfetchessecret/services/forgejo/accounts/bot-renovate— which the runner may read (infra-secrets#64). On this deploy the account exists already, so the role reports no change; on a rebuilt forge it creates it, and the token is re-minted then.Evidence
mise exec -- make check, at0981715renovate-token14 passed,renovate-workflow9 assertions,deploy-workflow71,service-key55,verify-stream13 —fmt-check,docs-check(24 documents, every link resolves)0981715pr-checks / env-check,fmt-check,validate,syntax-check,docs-check, andplan / guest,edge,runner-guestrenovate-config-validator renovate.jsonmise7,terraform9,github-actions23 (4 workflow files),ansible-galaxy1,pep6212--platform=local --dry-run=lookupmise7,terraform9,github-actions23,ansible-galaxy1 — the twopep621entries and their.misefile are gone, so one pin has one update pathpush: trueon everyolympusrepository through theCollaboratorsteam; no admin, nomain(protected)infra-secrets#64merged 13:26Z, deploy green in 3m11s:ci-renovateapplied,renovateandrenovate-dispatchcreatedNot run, and who runs it
workflow_dispatchneeds the workflow on the default branch, so the first real run is mine, onmain, immediately after this merges — and the PR that proves the flow is the one Renovate opens. If the run is red, the log names the step: the store login, the token, or Renovate's own platform call.GITHUB_COM_TOKEN, Renovate's changelog lookups are rate-limited. The updates still resolve; the changelogs may be missing. A token is a later decision, not a gate.olympus/workshopkeeps (docs/agents/make-targets.md, one per Target plus each repo'scheckcomposition) is owed this round'srenovate-workflow-testand the author'srenovate-token-test: it is another repository's page, so it moves in its own pull request.Review started (round 1/5) on
0cbae3b642— reading the diff now.olympus/infra-forge#110 · head
0cbae3b· round 1/5 · axes: standards, spec · recommendation fix (4 advisories, 0 blockers)Recommendation: fix
Spec source.
paperclip:THE-40, read live this session from the control plane (GET /api/issues/THE-40→ 200, plus itsdesigndocument, updated 2026-12-02T12:59Z), with the PR body standing as its own acceptance list. Standards sources:AGENTS.md,docs/agents/workflow.md,docs/actions/runner-and-workflows.md, andolympus/workshopdocs/adr/atorigin/main(ADR-0002, ADR-0013).What the change claims. A scheduled Renovate run over this repository's pins that opens pull requests and merges nothing; its token fetched from the store by the run's own OIDC login rather than an Actions secret; the bot account back-ported into the forge role so a rebuilt forge gets it back.
Standards
ADVISORY —
checkgained a suite; the two pages that enumeratecheckstill list the old set.Makefile:525addsrenovate-token-testtocheckand the help text there was updated, butREADME.md:115still reads "env-check, snapshot-test, plan-workflow-test, deploy-test, fmt-check and docs-check", anddocs/agents/workflow.md:117-118still callscheck"env-check,snapshot-test,plan-workflow-test,fmt-checkanddocs-check".docs/agents/workflow.md:113lists the Targets that mutate nothing and does not name the new one.docs-checkreads none of these sentences. Clearing: addrenovate-token-testto the lists atREADME.md:115anddocs/agents/workflow.md:113,117-118.ADVISORY — the new workflow's own wiring is pinned by no test. The suite proves the script; nothing proves the step around it. I mutated the workflow at head and ran the full floor: deleting
enable-openid-connect: true(.forgejo/workflows/renovate.yml:33) leavesmake checkgreen, and deleting the::add-mask::line (:50) leaves it green too. Both are load-bearing — without the first,scripts/renovate-token.sh:31exits 2; without the second a token reaches the log — and this repository already pins exactly this wiring for the deploy workflow (scripts/tests/deploy-workflow.sh:172-174: "the OIDC door is at the job level", "and nowhere else in the file"). Clearing: one case asserting the job carriesenable-openid-connect: trueand that::add-mask::precedes theRENOVATE_TOKENwrite.Spec
ADVISORY — the dependency dashboard the flow documents cannot be created by the account it runs as.
renovate.json:3extends:dependencyDashboard;docs/renovate.md:35lists "a dependency dashboard" as policy anddocs/renovate.md:53says "The repository's dependency dashboard (an issue Renovate keeps) lists what is pending…". The bot's forge reach, read live this session (list_org_teams), is theCollaboratorsteam withrepo.code: write,repo.pulls: writeandrepo.issues: read. ADR-0013's Updater row (workshopdocs/adr/0013-access-is-granted-to-a-role.md:86) says "branches and pull requests … nevermain, never a merge, never a deploy, and no admin or organisation right", and THE-40's design document describes the grant the same way ("write on code and pull requests"). Creating and updating the dashboard issue needs issue write, so it will not exist; Renovate 42.99.0's giteaensureIssuecatches the refusal and downgrades it to a warning (dist/modules/platform/gitea/index.js:504), so the run stays green with the surface silently missing and the page describing something no reader will see. Clearing, either: the board widens the bot's grant to issue write, or set"dependencyDashboard": falseinrenovate.json(noteconfig:recommendedalready turns it on, so deleting the explicit:dependencyDashboarddoes not) and drop the two dashboard sentences atdocs/renovate.md:35,53. If the bot does hold issue write through a second team, name it and this retires.ADVISORY — the page's "what it moves" list omits a target the flow will act on. Renovate finds 13 files and 42 dependencies across five managers here, and one of the five is
pep621on.mise/locks/***/2.21.5/pyproject.toml— mise's generatedmise-pypi-tool-environment, whose whole content isansible-core==2.21.5. That is the same dependencymise.tomlpins ("pypi:ansible-core" = "2.21.5"), already covered by themisemanager's 7 deps, so the flow has two update paths for one pin and one of them edits a file the toolchain owns.docs/renovate.md:11-19lists four locations and neither this file nor the overlap, and the "What it does not move yet" paragraph (docs/renovate.md:20-26) reads as the complete exception list. Clearing:"ignorePaths": [".mise/**"]inrenovate.json, or a table row naming the file and why both paths are wanted.Verified, by my own hand
mise exec -- make checkat0cbae3bexits 0;renovate-token-testis 14 assertionsdocs-check24 documentsscripts/renovate-token.sh: the two role names swapped; unknown event no longer refused; store path changed; empty-lease refusal deletedrenovate@42.99.0 --platform=local --dry-run=lookupon the head treerenovate-config-validatoraccepts the configrenovate-config-validator@42.99.0 renovate.jsonengines^22.13.0 || ^24.11.0; 43.x, 44.x and 45.12.1 all^24.x— the pin is the newest that runs onnode:22-bookworm, and 42.99.0 is the last 42bot-renovate, id 7, created 2026-12-02T12:39:20Z, not adminrefs/heads/main, their eventorigin/main:bao/service/roles/openbao/defaults/main.yml:171-190renovate→schedule,renovate-dispatch→workflow_dispatch, one pathsecret/data/bot-renovate/forgejoenv.maprow is readable by its three actorsorigin/mainpoliciesrunnernamed inautomation-runner.hcl:159;pit(secret/data/*) andhermes(secret/*) cover itCould not verify
bot-renovatetoken; I drove Renovate in--platform=local, which proves discovery, not the forge API calls.secret/services/forgejo/accounts/bot-renovate. No store credential in this session;infra-secretsdocs/store-layout.md:238records it written by hand on 2026-12-02, andmake envrefuses all-or-nothing on a 404, so a rebuild's first deploy is where a gap would show.Named, not charged
forgejo_version,runner_version) are not moved yet — disclosed in the body, and THE-40's design leaves that to "where a datasource exists".renovate.ymlandrenovate-token.shagainstAGENTS.md's "comments to a minimum":deploy.ymlalready carries a header of the same shape, so the repo's practice reads that rule as not covering a workflow's rationale.paperclip:THE-40(in_progress) is the ticket that carries it.Summary
Standards — 2 findings (2 advisories). Worst: the workflow's OIDC and masking wiring is unpinned, so the one line that keeps the token out of the log can be deleted with the whole floor staying green.
Spec — 2 findings (2 advisories). Worst: the documented dependency dashboard cannot be created by the account the run acts as.
Zero blockers stand. The recommendation is fix on the count — four advisories — not on any finding's weight; and all four are one batched round: two doc lists, one test case, one config line.
Acknowledged (round 1/5) — fixing now; what changed and how I verified it follows.
Round 1/5 — the four advisories, addressed at
0981715(two commits onhermes/THE-40-renovate:8eb2edccarries the findings' clearing changes,0981715corrects one sentence of my own that the self-review caught). No blockers were raised, so nothing is left unfixed; the round's "fix" was on the count, and the count is now zero.checklist the old setrenovate-token-testadded toREADME.md:115and to both lists indocs/agents/workflow.md(safe Targets, andcheck's parts). The same stale set also sat indocs/runbooks/0001-deploy-and-rollback.md:355, which the finding had not reached — fixed too.deploy-testwas missing fromworkflow.md's two lists as well and is oncheck, so it is named now. All four lists now matchcheck:'s dependency line name for name.8eb2edcscripts/tests/renovate-workflow.sh, 9 assertions, plusrenovate-workflow-testoncheck: the OIDC door at the job level and nowhere else,::add-mask::$tokeninside the token step, the mask preceding theRENOVATE_TOKENwrite, and the token written to the environment file and nowhere else. Modelled ondeploy-workflow.sh,RENOVATE_WORKFLOW=override included so a mutant can be run.8eb2edc"dependencyDashboard": false,:dependencyDashboardout ofextends(config:recommendedturns it on, so the flag has to be explicit), and the two dashboard sentences replaced indocs/renovate.md— the policy row says why, and "Reading a run" names the pull requests as the whole of the state. WideningCollaboratorstorepo.issues: writeis an ADR-0013 / board decision and not a change this round can make; if the board takes it, the policy row is the line to reverse.8eb2edcpep621gives one pin two update paths"ignorePaths": [".mise/**"], and the "does not move yet" paragraph says why: mise's generated lock environment repeats one of the toolchain's pins, so the toolchain is moved once throughmise.toml.8eb2edc, sentence corrected in0981715Verification
42 over 5 managers before this round; the two
pep621dependencies and their.misefile are gone, and.miseappears nowhere in the run's log. At0981715the pull request's own contexts are green:pr-checks / env-check,fmt-check,validate,syntax-check,docs-check, andplan / guest,edge,runner-guest— the latest row per context, since every context carries a queued row beside its finished one.RED, by mutant
The suite pins behaviour that already holds, so I proved it can fail rather than reporting it as green: with
enable-openid-connect: truedeleted, 2 assertions red (rc=1); with the::add-mask::line moved after the write, 1 red (lines: 26 then 25); the unmutated copy, 9 assertions, 0 failed.Self-review, and what it caught
code-reviewover the round's diff: theclaude -pStandards and Spec sub-agents both answered the weekly-limit notice, producing no report, so I ran both axes by hand in the same order (Standards againstAGENTS.mdand the tree's own conventions, then Spec against the four findings). Standards: no documented-standard breach — the new suite followsdeploy-workflow.sh's shape, registers in.PHONY, composes intocheck, and every page that enumeratescheckmoved with it. Spec: one overstatement in my own prose — the lock environment'spyproject.tomlcarriesansible-core==2.21.5alone, so "repeats those pins" claimed more than a reader finds there;0981715says "one of those pins", andmake checkwas re-run at that head.Owed, and not made here
olympus/workshop'sdocs/agents/make-targets.mdrow. That page keeps a row per Target plus each repo'scheckcomposition, under its own rule that a new Target lands its row in the same pull request. Itsinfra-forgerow still readsenv-check snapshot-test plan-workflow-test deploy-test fmt-check docs-check— missingrenovate-workflow-testfrom this round andrenovate-token-testfrom the author's commit — and it is another repository's page, so a single-repo round names the debt instead of moving it.pr-checks.ymlruns one job per check (env-check,fmt-check,validate,syntax-check,docs-check), so composing intocheckgates everymise exec -- make checkand adds no pull-request context. Making it a sixth job publishes a new context and is a change of its own.Disagreed with, or left alone
None. The dashboard finding's other branch — widening the bot's grant — is the one thing I deliberately did not do: it needs a team ACL change in
infra-secretsand a decision above this repository, and I have said so in the finding's row rather than faking the surface.Not verified
That a live run creates no dashboard issue: I hold no
bot-renovatetoken this session, so the config line and the validator are the evidence, and the first dispatch after the merge is where a live run would show it. The first live run itself remains after the merge, as the body says.The PR body is updated where this round made it false (the
renovate.jsonrow, the suites, the dependency counts, the evidence table).Review started (round 2/5) on
8eb2edccf9— reading the diff now.olympus/infra-forge#110 · head
0981715· round 2/5 · axes: standards, spec · recommendation merge (2 advisories, 0 blockers)Recommendation: merge
Head note. The sign-on named
8eb2edc; the branch took one more commit while I read it —0981715, "The .mise paragraph names one pin, not the toolchain's set", stacked on8eb2edc, touchingdocs/renovate.mdalone (3 lines). This report is against0981715:make checkand both dependency dry runs were re-run there, and every other changed file is byte-identical to8eb2edc(git ls-treeblob ids equal forrenovate.yml,renovate.json,scripts/renovate-token.sh,scripts/tests/renovate-workflow.sh,mise.toml).Spec source.
paperclip:THE-40, read live this session (GET /api/issues/THE-40→ 200,in_progress, plus itsdesigndocument, updated 2026-12-02T13:43:58Z — it moved from the 12:59Z revision round 1 read; §"Renovate: the update flow" is the contract). The PR body stands as its own acceptance list.Standards sources.
AGENTS.md(§Secrets, §Code comments),docs/agents/workflow.md,docs/actions/runner-and-workflows.md, read at the head worktree. No finding this round rests on an ADR.Round 1
Round 1 posted no blocker; its four advisories are each resolved at this head.
checklist the old setREADME.md:115;docs/agents/workflow.md:116-117,:118-120,:137-138;docs/runbooks/0001-deploy-and-rollback.md:355. A census over the tree finds no other page enumeratingcheck's parts —docs/actions/runner-and-workflows.md:66-72,87listspr-checks' five jobs, a different set, unchanged and still right.checkscripts/tests/renovate-workflow.sh(147 lines, 9 assertions),Makefile:525and:733. Mutants at head: door deleted → 2 FAILED; mask moved after the write → 1 FAILED (lines: 26 then 25); mask deleted → 2 FAILED; unmutated 9/9.renovate.json:4;--print-configresolves"dependencyDashboard": false;--dry-run=fulllogsDRY-RUN: Would close Dependency Dashboard;docs/renovate.md:38,55-58rewritten.pep621gives one pin two update pathsrenovate.json:5; extract at head finds nopep621(40 deps / 4 managers) against 42 / 5 at0cbae3b. See Spec 2 for what the clearing cost.Standards
0 findings. The delta adds a
##line tocheckand to.PHONY(Makefile:484,525), a target with its help text (:733), three doc lists, tworenovate.jsonkeys and one executable test script (mode0755, followingdeploy-workflow.sh's shape).actions/checkout@v5matches the other four workflows. Nothing here breaks a rule this repo states, and I found no baseline smell worth a word.Spec
ADVISORY — the page's "what it moves" is not what the run moves.
docs/renovate.md:15saysmise.tomlmoves "the repository's toolchain — OpenTofu, ansible-core, Python, jq, age, uv";:18says the workflows' actions are moved;:26-29says "the toolchain is moved once, throughmise.toml"; and the PR body says "The updates still resolve; the changelogs may be missing". Measured at this head withrenovate@42.99.0 --platform=local --dry-run=extract: 40 dependencies extracted, 36 carry askipReasonand are never looked up —github-token-required20,invalid-version10,unspecified-version3,unsupported-datasource3. The four looked up arecommunity.postgresql(ansible-galaxy) andnginxproxymanager+proxmoxx2 (terraform). All 7misedeps are skipped (uv,opentofu,python,jqasgithub-token-required;age,openbao,pypi:ansible-coreasunsupported-datasource), and all 23github-actionsdeps are skipped (13github-token-required,actions/checkout@v5among them; 10invalid-versionon theruns-on: ubuntu-latestrows). Three of the page's four "Where the pin lives" rows therefore name something the configured run will not move. The identical counts hold at0cbae3b(36 skipped of 42), so this is pre-existing, and it carries the advisory severity the round-2 bar gives a newly-spotted defect rather than a statement about its size. Clearing: make lines 15-18 and 26-29 say what the run reaches without aGITHUB_COM_TOKEN, or configure what makes them true — a token for the 20 GitHub-backed deps, and a manager that resolves mise'spypi:backend.ADVISORY — this round's
ignorePathsremoved the only resolving path foransible-core.renovate.json:5. At0cbae3bthepep621manager resolved.mise/locks/***/2.21.5/pyproject.toml→ansible-core(datasourcepypi,==2.21.5, noskipReason) andpython(requires-python); at this head both are gone — 42 deps / 6 looked up falls to 40 / 4.mise.toml:9declares the same pin as"pypi:ansible-core", which Renovate 42.99.0 extracts asunsupported-datasourceat both heads, so that path never resolved either; with the.misepath ignored,ansible-corenow has no updating path at all, whiledocs/renovate.md:15still lists it and:26-29(as0981715rewords it) says one pin is repeated there without saying that pin is no longer moved. Round 1's offered clearing said the dep was "already covered by themisemanager's 7 deps" — that counted extraction, not lookup; correcting the mechanism was this round's, and here it is. Charged as an advisory, not a blocker, because the ignore was the clearing this loop prescribed. Clearing: one clause in "What it does not move yet" (docs/renovate.md:20-29) namingansible-core, and drop it from line 15 — or give thepypi:pin a path that resolves.Verified, by my own hand
mise exec -- make checkat0981715exits 0renovate-token14 passed;renovate-workflow9 assertions;deploy-workflow71;service-key55;verify-stream13;docs-check5 assertions over 24 documents (60 links)renovate.ymldriven throughRENOVATE_WORKFLOW=, at8eb2edc(the workflow blob is identical at0981715)renovate-config-validatoraccepts the configrenovate-config-validator@42.99.0 renovate.json--platform=local --print-config"dependencyDashboard": false,"ignorePaths": [".mise/**"],"automerge": false--platform=local --dry-run=fullDRY-RUN: Would close Dependency Dashboard; no issue steppep621file is read at head--platform=local --dry-run=lookupat0981715ansible-galaxy1,github-actions23,mise7,terraform9), 12 files; zeropep621, zero.mise--dry-run=extractat0981715and at0cbae3b, parsed from the tool's own JSONansible-coreandpythonfrom the.misepyprojectgit ls-remote origin refs/pull/110/head, and again gated into the POST0981715…, equal both timesCould not verify
workflow_dispatchneeds the workflow on the default branch, and I hold nobot-renovatetoken this session;--platform=localproves discovery, not the forge API calls. Unchanged from round 1.GITHUB_COM_TOKENmakes the 20 skipped GitHub-backed deps resolve. I did not run the tool with one (no token in this session). The skip reason is Renovate's own; the widening is unproven by me.secret/bot-renovate/forgejo. No store credential this session.make envrefuses all-or-nothing on a 404, so a rebuild's first deploy is where a gap would show. Unchanged from round 1.Named, not charged
docs/agents/workflow.md:113-117does not namedeploy-testeven though it is oncheck, which the list does name.env-checkis absent from that list too, so it reads as illustrative rather than as a census, and nothing in it is false. Named here so a later round does not read my silence as approval; not charged, not counted.forgejo_version,runner_version) are still not moved — disclosed in the body, and THE-40's design leaves them to "where a datasource exists".renovate.yml,renovate-token.shandrenovate-workflow.shagainstAGENTS.md's "comments to a minimum":deploy.ymlanddeploy-workflow.shcarry the same shape, so the repo's own practice reads that rule as not covering a workflow's or a suite's rationale.paperclip:THE-40(in_progress) carries the merge gate.Summary
Standards — 0 findings. Nothing on this axis.
Spec — 2 findings (2 advisories). Worst: the page's coverage is not the run's coverage — 36 of 40 dependencies are skipped and the page names three of its four "Where the pin lives" rows as moved.
Zero blockers stand. The recommendation is merge, and the two advisories are one page's worth of prose — they travel as advice, not as a second round.