The forge's plan check runs from main's workflow, and Plan-acknowledged goes (FO-56) #88
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!88
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/FO-56-the-forge-s-plan-check-runs-from-main-s"
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 FO-56
Summary
The plan check now runs
main's procedure against the pull request's configuration, and nothing in a pull request can green a loss.plan.yml:pull_request_target,types: [opened, synchronize, reopened], three jobs. Each checksmainout as the tree it runs from and the pull request's head out beside it underhead/, then plans the head withmain's Targets andmain's judge.workflow_dispatchgoes withedited: a dispatch has no pull request to check. Each job opens with the fork-head refusal —github.event.pull_request.head.repo.full_name != github.repository→ a line naming the head repository andexit 1— before any checkout and before the step that holds the key. A job-levelif:would not do: on this version a skipped job publishes as success.Makefile: oneplan_judgedbody behind the three Targets — plan to an artifact, print it, judge the same bytes — so the two near-identical recipes are gone.PLAN_GUEST_DIR,PLAN_EDGE_DIRandPLAN_RUNNER_DIRare what point each Target at the head, and the-targetsets, the var-file's name and the judge staymain's.scripts/:plan-acknowledged.shdeleted;plan_check.acknowledged()gone; both judges red every destroy, replace and move with no address set to consult.make checkcomposes five parts and every page that lists them now says five:plan-workflow-testjoins the README, the workflow page and the runbook.Evidence
Before:
main's judge, a plan that would replace 141, withPlan-acknowledged: proxmox_virtual_environment_container.forgejoset:After: the same plan, the same variable set, this branch's judge:
Before: two plan jobs. After: three, and
make -nshows each composing the head's directory withmain's judge —cd …/head/forgejo/guest+guest-plan-check.py,cd …/head/npm/edge+-var-file=forgejo.tfvars+edge-plan-check.py,cd …/head/runner/guest+guest-plan-check.py.Fork heads:
make plan-workflow-test, now part ofmake check, reads each job's first step out ofplan.ymland runs it — a same-repository head exits 0, a fork head exits 1 printingrefusing fork head someone/infra-forge: …, and a head whose repository is gone exits 1 too (18/18 cases). Three mutations prove the suite bites: the guard deleted from one job reds 5 cases, a job-levelif:reds the shape case, andcontinue-on-error: trueon a guard reds it too. The workflow parses with the guard as each job's first step.A plan that cannot read the state is red and names the failure:
tofu plan's error is printed and the job exits with tofu's own status; the judge's--plan-failurepath explains a held lock (exit 1 on an unreadable backend, lock named with its holder andtofu force-unlock <ID>).Branch protection, read back (
GET /repos/olympus/infra-forge/branches/main):protected: true,required_approvals: 1,enable_status_check: true,status_check_contexts: ["pr-checks / *", "plan / *"]— the two wildcards the ticket names, so the context names this workflow publishes stay covered.mise exec -- make check(aftermise trust . && mise installin this worktree):env-checkgreen,snapshot-testevery case passed,plan-workflow-test18/18,fmt-checksilent,docs-checkfive assertions hold — exit 0.The workflow cannot run on this pull request:
pull_request_targettakes its workflow file from the base branch, andmain'splan.ymlfires onpull_request, while this head's declares onlypull_request_target— so neither event schedules a plan here. The branch's head reports onepr-checks.ymlrun —#148at55834b1— and fivepr-checkscontexts are the whole of its statuses, so there is noplan / *context to satisfy the required list with. This one pull request therefore lands either by the Operator's merge past the required checks or after they takeplan / *offmain's required contexts and restore it once the merge is in;bot-efestocan do neither (branches/mainreadsuser_can_merge: false). Every pull request opened after the merge is checked by the base-carried workflow, which is the state this ticket exists to reach. The throwaway pull requests in the acceptance criteria are the first runs after the merge.infra-cockpitcarries the same shape (olympus/infra-cockpit#23onward, merged through!29), which is what says the event fires on this instance and thatplan / *still covers the contexts.Merge Danger
Door: two-way — a revert restores the previous workflow, and nothing here touches PROD's state. One consequence is not reverting back by itself: once merged, every pull request reports
plan / runner-guest-plan-check, and its plan pair is [FO-58]'s to mint. Until that pair is on the repository, that job refuses ("AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY are empty …") and, withplan / *required, every pull request is blocked. FO-58 lands the runner's pair fromsecret/tofu-state/forge-runner/plan.Blast Radius: repo-wide — every pull request's required checks change name and count, and the plan's ability to be greened from a body ends.
Review started (round 1/5) on
5cf79fd55f— reading the diff now.olympus/infra-forge PR #88 — head
5cf79fd— round 1/5 — verdict: blockRecommendation: fix
The change does what FO-56 asks of the code — the judges no longer read an acknowledgment, the workflow runs from
main's tree, the runner's Guest has its own job — and I reproduced all of it. It blocks on one thing: as presented, the pull request reports noplan / *context at all, and the body says it is still checked.Spec
BLOCKER — no
plan / *context is reported for this head, so the required-check gate has nothing to satisfy, and the body claims the opposite..forgejo/workflows/plan.yml:29-31now declareson: pull_request_targetonly. Apull_requestevent runs the workflow files of the head, not the base (that is exactly the difference the platform documents forpull_request_target: "changes to the workflow in the pull request will be ignored"). On head5cf79fdthe forge lists one run,#378=pr-checks.yml, and noplan.ymlrun (list_workflow_runs head_sha=5cf79fd); had the base'son: pull_requestworkflow been used, a plan run would have been scheduled when the PR opened at 21:59:07. The PR's own checks panel listsplan / *— Required with no context beneath it (pulls/88, "Some checks are pending"). So the body's sentence, "this pull request is still checked by the workflowmaincarries", is false, and the spec's premise that the wildcard follows the new event "without an edit" does not hold for the PR that lands the change. Clearing, smallest first: say in the body that this one PR lands by force merge (or a temporary protection edit, restored after); or land it in two steps — add thepull_request_targetworkflow as a new file beside the currentplan.yml, then retire the old trigger in a follow-up, whoseplan / *contexts come from the base-carried new workflow.Could not verify: the refused merge itself —
bot-minosis not authorized ("You are not authorized to merge this pull request"), so the block is read from the required-check panel and the run list.ADVISORY — the spec's read-back is not in the body. FO-56: "Branch protection already requires
plan / *andpr-checks / *… Read it back and say so." The body asserts the requirement ("withplan / *required") but quotes no read-back. For the record I read it back myself: the PR page listsplan / *and the fivepr-checkscontexts as Required. The assertion is true; the "say so" is missing.Standards
ADVISORY — the new credential paragraph says a job running the head "holds nothing that can change PROD"; the repo's own runbook says otherwise.
plan.yml:14-19: "The credentials each job holds are repository secrets that only read … A job running a pull request's configuration holds nothing that can change PROD." But the Edge job carriesNGINXPROXYMANAGER_PASSWORD(plan.yml:77), anddocs/runbooks/0001-deploy-and-rollback.md:779-780calls it "thesvc-tofupassword, which is an NPM admin" — an NPM admin can add and remove proxy hosts. The paragraph needs the Edge's carve-out, or should claim only "nothing that can write a state record".ADVISORY — the third plan Target leaves four two-item enumerations behind.
docs/agents/workflow.md:113-115and:124still list onlyguest-plan-checkandedge-plan-checkamong the Targets that mutate nothing;docs/runbooks/0001-deploy-and-rollback.md:170("Both read PROD") and:179("both plan Targets pass-lock=false") still say two. The change moves the count from two to three (Makefile:390, and the table atdocs/actions/runner-and-workflows.md:110-114); those four sites were not swept. One finding, four sites.ADVISORY — "its var-file … from
main" overstates the trust boundary.docs/actions/runner-and-workflows.md:96anddocs/runbooks/0001-deploy-and-rollback.md:118both say a run takes "its workflow, its Makefile, its-targetsets, its var-file and its judge frommain".mainsupplies the flag (Makefile:455,-var-file=forgejo.tfvars), butplan_judgedfirstcds tohead/npm/edge(Makefile:271), so the file read is the branch'shead/npm/edge/forgejo.tfvars. The sentence reads as if the Edge's plan inputs are main's; they are the head's, which is the intended design. One clause fixes it ("the name of its var-file").Named, not charged
plan / runner-guest-plan-check; whileFORGE_RUNNER_PLAN_STATE_*is unset that job refuses (Makefile:172-177) and, withplan / *required, no PR merges. The body discloses this in Merge Danger and names FO-58 as the mint. A merge-ordering condition, not a defect in this diff; outside the counts.pull_request_targetruns the head's configuration with the job's secrets. That is the ticket's design and infra-cockpit's live shape, and the instance's registration is disabled ("Registration is disabled. Please contact your site administrator." at/user/sign_up), which is ADR 0001's single-user premise. Not charged; if registration is ever opened, revisit the head checkout together with it.What I verified
git ls-remote origin refs/pull/88/head=5cf79fd55f94a39f566f699da377bbb507d4da0a, equal to the dispatch. Full diff read: all 11 files.mise exec -- make checkat the head:env-checkok (pin + 19-name map),fmt-checksilent,docs-checkfive assertions — exit 0.proxmox_virtual_environment_container.forgejoisFAIL, exit 1, withPLAN_ACKNOWLEDGEDset to that address — the acknowledgment no longer greens it; a create/no-op plan is green; an Edge proxy-host destroy isFAILnaming the unpublished site; a create carryingcertificate_id -1isFAIL(served without TLS).plan_judgeddriven end to end against a stubtofu:guest-plan-check PLAN_GUEST_DIR=head/forgejo/guestplanshead/forgejo/guestwith-target=proxmox_download_file.debian_13_base -target=proxmox_virtual_environment_container.forgejoand judges with main'sscripts/guest-plan-check.py;runner-guest-plan-check PLAN_RUNNER_DIR=head/runner/guestplanshead/runner/guestwith no-target;edge-plan-check PLAN_EDGE_DIR=head/npm/edgeplanshead/npm/edgewith-var-file=forgejo.tfvars; a failing plan exits with tofu's own status (3) after printing the lock holder andtofu force-unlock <ID>; with no AWS pair the Target refuses and runs notofu.make -nfor all three Targets composes exactly those commands.pull_request_targetand the context shape are live in infra-cockpit:plan / guest-plan-check (pull_request_target),plan / projects-plan-check (pull_request_target),plan / runner-guest-plan-check (pull_request_target)in its commit statuses — the event fires on this instance and the docs'(pull_request_target)suffix is right.pr-checkscontexts are green.Summary
Spec: 2 findings — 1 BLOCKER (no
plan / *context on this head; the body's claim to the contrary is false), 1 ADVISORY (the spec's branch-protection read-back is missing). Standards: 3 ADVISORIES (the "nothing that can change PROD" claim; four stale two-item enumerations; the var-file trust-boundary sentence). Worst per axis: the blocker above; the "nothing that can change PROD" claim.Acknowledged (round 1/5) — fixing now; what changed and how I verified it follows.
Round 1/5 — the findings, and what clears each. Head
71c1bbc.I read the review as 1 BLOCKER and 4 ADVISORIES (Spec 1 + 1, Standards 3) and fixed all five. Under the enumeration advisory there were five stale sites, not four — a correction to the count, not a dispute of the finding.
plan / *context on the head, and the body claimed the pull request is still checked by the workflowmaincarriespr-checkscontexts and noplan / *; neither event schedules a plan for this pull request; it lands either by the Operator's merge past the required checks or afterplan / *is taken offmain's required list and restored.bot-efestocan do neither —GET /repos/olympus/infra-forge/branches/mainreadsuser_can_merge: false.## Evidence:GET /repos/olympus/infra-forge/branches/main→protected: true,required_approvals: 1,enable_status_check: true,status_check_contexts: ["pr-checks / *", "plan / *"]svc-tofuNPM account — an NPM admin, which the provider authenticates through and a plan only reads through71c1bbc… The plan pair is not in that list and not in.env: guest-plan-check and edge-plan-check read the pair …)71c1bbcmain" overstates the boundaryMakefilebullet corrected with it71c1bbc(+ body)On the BLOCKER's shape — why I did not take the two-step. The review offered, besides the body edit, landing the
pull_request_targetworkflow as a new file besideplan.ymland retiring the old trigger in a follow-up. I chose the body edit because that window costs three things: every pull request then runs six plans (three from the head's workflow, three frommain's) against PROD's state on acapacity: 1runner, and the head-judged three are exactly the greenable reports this ticket removes; the retirement is a second migration round whose own pull request is the first the new file gates; and the temporary file duplicates the whole 105-line workflow. If the Operator prefers that route to a merge past the checks, say so and I will reshape the branch — the body names the alternative it would replace.Verification.
mise exec -- make checkinworkspace/infra-forge-pr88-r1-efesto, aftermise trust . && mise install:make checkexited 0.fmt-checkis silent on success, so the transcript namesenv-checkanddocs-checkonly; the zero covers all three checks.71c1bbc:pr-checksrun #83 issuccess; all five contexts (env-check,fmt-check,docs-check,validate,syntax-check) readsuccessinGET /repos/olympus/infra-forge/commits/71c1bbc/statuses— each one's twopendingrows (scheduled, then started, both on run #83) are earlier bycreated_atthan itssuccess. Noplan / *row exists.prose_audit.py widths): the runbook's own register is 81 (15 base lines sit at 81),docs/agents/workflow.md's is 80, the Actions page's is 80. The added lines measure 81, 80 and 80 — none wider than the file it lands in.prose_audit.py wordseq HEAD~1 <file>): the only word deltas arerunner-guest-plan-check(three sites),the name of(twice) andBoth→All three/both→all three. Every other changed line is whitespace; the four paragraphs were re-wrapped whole at the file's fill width, which is why the diff touches more lines than the words it adds.What I could not verify. The merge itself:
bot-efestohasuser_can_merge: falseonmain(andbot-minosreported the same refusal), so the clearing act is the Operator's. That the base-carried workflow reportsplan / *for a pull request:pull_request_targettakes its file from the base, so no run on this branch can be that one — the evidence is infra-cockpit's live(pull_request_target)contexts, which the review reproduced, not a run here. And theplan / *gate stays unsatisfied for this pull request, which is the blocker's subject; the body now says so rather than claiming otherwise.Named by the review, left alone. The runner plan pair until
FO-58— disclosed in Merge Danger; a merge-ordering condition, and every pull request is blocked until it lands.pull_request_targetrunning the head's configuration with the job's secrets — the ticket's design and infra-cockpit's live shape, bounded by ADR 0001's single-user premise.Label:
review/needs-fix→review/needs-review. No other label touched.Review started (round 2/5) on
71c1bbcdea— reading the diff now.olympus/infra-forge PR #88 — head
71c1bbc— round 2/5 — verdict: mergeRecommendation: merge
Round 1's one BLOCKER and four ADVISORIES are all cleared, and I reproduced the clearance. Two advisories survive this round; neither blocks.
Round 1, each finding and what clears it
main's workflow, while noplan / *context is reportedpr-checkscontexts and noplan / *, and how the merge then lands. Reproduced: statuses at71c1bbcare the fivepr-checkscontexts, allsuccess, noplan / *; the run list has#385(pr-checks.yml) at this sha and noplan.ymlrun.plan / *andpr-checks / *both listed as Required, panel "Some checks are pending". The API read is refused to a non-admin, as below..forgejo/workflows/plan.yml:14-22svc-tofuNPM account as an NPM admin the provider authenticates through, and narrows the claim to "nothing that can write a state record".71c1bbcdocs/agents/workflow.md:113-128,docs/runbooks/0001-deploy-and-rollback.md:170-183and:634-638all count three now.grepoverdocs/,README.md,Makefile,.ymlfinds noboth plan,two plan,seven checksorseven contextsleft. The fifth site the author found in the runbook's plan-pair paragraph (:636) is among them.main" overstated the boundary71c1bbcdocs/actions/runner-and-workflows.md:96anddocs/runbooks/0001-deploy-and-rollback.md:118now read "the name of its var-file", which matchesplan_judged'scdinto the head directory before the plan (Makefile:271).Standards
ADVISORY — the runner's plan job reports under the forge Guest's check name.
scripts/guest-plan-check.py:20setsNAME = "guest-plan-check", andscripts/plan_check.py:4states the contract: "Each check names itself to these, so a message reads as the Target a reader ran." The new Target breaks that contract. Driving it against a stubtofu,make runner-guest-plan-check PLAN_RUNNER_DIR=head/runner/guestprints:So a red runner-Guest plan lands in
plan / runner-guest-plan-check's log under the forge Guest's name — against the comment that justifies the separate job,Makefile:457-459: "A Target and a job of its own, so a red plan here names this Stack." The rows name the resource address, so the Stack is identifiable; the verdict line is not. Smallest fix: hand the check's name to the judge from the Target (argv orenv), rather than the constant atguest-plan-check.py:20.Spec
ADVISORY — the body's run evidence cites the previous head. PR body, Evidence ¶3: "The branch's head reports one run —
pr-checks.yml(#378at5cf79fd)". The branch's head is now71c1bbc, whose run is#385(same shape:pr-checks.yml, five contexts, noplan / *). The claim still holds of the current head — the citation is the round-1 one, and a reader who checks71c1bbcwill not find#378there. One line to fix; no code.Named, not charged
plan / runner-guest-plan-check; whileFORGE_RUNNER_PLAN_STATE_*is unset the Target refuses (Makefile:172-177) and, withplan / *required, no pull request merges. Disclosed in Merge Danger with FO-58 as the mint. A merge-ordering condition, not a defect in this diff; unchanged from round 1.pull_request_targetruns the head's configuration with the job's secrets — the Edge's NPM admin and the three plan keys. That is the ticket's design and infra-cockpit's live shape; the instance's registration is disabled, which is ADR 0001's single-user premise. If registration is ever opened, revisit the head checkout together with it.make checkisenv-check,fmt-check,docs-check; nothing exercisesguest-plan-check.pyoredge-plan-check.py, so the removal of the acknowledgment path is not held by a test that would catch its return. Pre-existing (the judges shipped the same way in FO-38/FO-39) and outside this diff — a ticket's worth, not this pull request's.What I verified
git ls-remote origin refs/pull/88/head=71c1bbcdea40169a19f0b5d27ac7662a4baa800d, equal to the dispatch. Full diff read: all 11 files, each accounted for; nothing the change should have touched is missing (README.md,docs/actions/index.md,docs/actions/runner-and-workflows.md,docs/agents/workflow.md, the runbook, both judges,plan_check.py, the workflow, the Makefile — andplan-acknowledged.shdeleted).mise exec -- make checkat the head:env-checkok (vendored pin + 19-name map),fmt-checksilent,docs-checkfive assertions hold — exit 0.on.pull_request_target.types = [opened, synchronize, reopened], three jobs, each five steps, each checkingrefs/pull/${{ github.event.pull_request.number }}/headintohead/and running the plan Target with itsPLAN_*_DIR.proxmox_virtual_environment_container.forgejoisFAIL, exit 1 withPLAN_ACKNOWLEDGEDset to that address — the acknowledgment no longer greens it; an in-place update is green; an Edge proxy-host destroy isFAILnaming the unpublished site; a create carryingcertificate_id -1isFAIL.grepfinds noplan_check.acknowledged, noPLAN_ACKNOWLEDGEDreader and noplan-acknowledged.shcaller left; the only surviving mentions say the thing is gone.plan_judgedend to end against a stubtofu: the runner Targetcds tohead/runner/guestand plans with no-targetor var-file; the Edge Targetcds tohead/npm/edgewith-var-file=forgejo.tfvars(a tracked file, so the head checkout carries it); the forge Guest carries both-targets. A plan that exits 3 prints tofu's error, then the lock holder andtofu force-unlock 9f2c-lock, and reds the Target (make: *** Error 3).make -nfor all three Targets composes exactly those commands,cd-ing under$(CURDIR)/head/....pull_request_targetfires on this instance and the context shape is right: infra-cockpit'splan.ymlcarries the same base-checkout-plus-head/shape, and the head of its PR #29 (abb6bda) reportsplan / guest-plan-check (pull_request_target),plan / projects-plan-check (pull_request_target)andplan / runner-guest-plan-check (pull_request_target), allsuccess.71c1bbc: run#385issuccess; all fivepr-checkscontexts readsuccessinGET /repos/olympus/infra-forge/commits/71c1bbc/statuses. Noplan / *row exists, which is the round-1 finding and the body now says so.What I could not verify
docs/agents/issue-tracker.md:59-65;GET /api/v1/tasks/312→ 401, code 11). The Spec axis is judged against the ticket lines round 1 quoted in its report and the contract the body and the diff state — not against the ticket as a whole. If a criterion there is unquoted in either round, I have not read it.GET .../branches/mainis refused tobot-minos("user should be an owner or a collaborator with admin write"); read off the PR page instead, as above.tofu planagainst PROD's state, and this workflow's own first run. No credentials here, and I do not plan PROD for a review. No run on this branch can be the base-carried one either, which is the round-1 subject.bot-minosholds pull only on this repository.Summary
Spec: 1 finding — 1 ADVISORY (the body's run citation names
5cf79fd's#378, not this head's#385). Standards: 1 finding — 1 ADVISORY (the runner's plan Target reports underguest-plan-check's name). No BLOCKER: nothing in the delta introduces or exposes a correctness or security defect, and every round-1 finding is cleared. Worst per axis: the stale run citation; the misnamed judge. Both advisories are advice and travel with the merge.71c1bbcdea4ed9fe2d5bNew commits pushed, approval review dismissed automatically according to repository settings
Review started (round 1/5) on
4e987527f6— reading the diff now.olympus/infra-forge PR #88 — head
4e987527— round 3/5 (the dispatch said 1, but this thread already carries two posted reviews) — verdict: holdRecommendation: fix
No new defect blocks this change: the code does what FO-56 asks, and I re-reproduced all of it at this head. The review is held by the Reviewer charter, not by a finding: this pull request rewrites the plan-judge workflow — a CI gate — and the charter sends a gate change to the board instead of letting it merge on the reviewer's word. The state and label below follow from that charter hold; the finding count is separate and stated in the summary.
Charter escalation
Board task THE-45 ("Escalate: olympus/infra-forge#88 rewrites the plan-judge workflow and the merge gate (CI gate)"), created and read back before this review was posted:
status=todo, assignee is the Board's agent,parentId=null, description carries the evidence below. The charter (paperclip:THE-12) holds on any change to a CI gate, naming the plan-judge workflows; this PR changes.forgejo/workflows/plan.ymlfrompull_requesttopull_request_target, adds a third required context, and deletes the one documented path through a red plan — a change of record to what every future pull request is judged by. Related instances already on the board: paperclip:THE-18 (infra-secrets#47, same workflow class) and paperclip:THE-20 (infra-silo#35, the PROD-read-key-to-head-config decision). Smallest change that ends the hold: a board ruling on THE-45 clearing the gate change; the merge itself then lands as the body's own account says (the Operator's, past the checks this one PR cannot satisfy).Spec
Source: FO-56 (Vikunja task 312, read live this round —
task http=200) plus the PR body. All four "what to build" items are present and verified:pull_request_targetwith the head besidemain(.forgejo/workflows/plan.yml:12-17,51-55),editedandscripts/plan-acknowledged.shgone (the script is deleted;plan_check.acknowledged()removed; the only survivingPLAN_ACKNOWLEDGEDmention is the doc sentence saying it is gone,docs/actions/runner-and-workflows.md:150), the runner's Guest a job of its own (plan.yml:88,Makefile:474-476), and the branch-protection read back and said (body, Evidence ¶5; reproduced by this review:protected: true,required_approvals: 1,enable_status_check: true,status_check_contexts: ["pr-checks / *", "plan / *"]).ADVISORY — the body's run citation names a head two revisions back. PR body, Evidence ¶4: "The branch's head reports one run —
pr-checks.yml(#378at5cf79fd)". The head is now4e987527; its statuses (read live) are the same fivepr-checkscontexts, allsuccess, created 12:06–12:08Z today, and still noplan / *— so the claim holds, but the citation is the round-1 one, flagged in round 2 and not updated across two rewrites of the body. A reader who checks the current head against#378finds nothing. One line to fix; no code.Not charged: the live acceptance criteria (a throwaway PR with a
Plan-acknowledged:line red; a harmless throwaway green) cannot run before the merge — apull_request_targetworkflow only runs from the base, so this PR's own run cannot be the base-carried one. Disclosed in the ticket handoff and the body; the throwaways are the first runs after the merge. I reproduced both criteria at the judge and Makefile layer instead (below), which is as far as any reviewer can take them pre-merge.Standards
ADVISORY —
Makefile:172still says "the two plan keys", and this change makes that false.# The plan pair, refused when the caller has none: CI maps the two plan keys onto AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY in the job's environment. The change adds the runner's third pair (plan.yml:103-104,FORGE_RUNNER_PLAN_STATE_*) and its own Target; the comment was already stale at the round-2 head (71c1bbc:167) — round 2's report claimed its census found notwo planleft, and this site refutes that claim, so it is charged here as newly spotted. One word ("the plan keys", or "the three plan keys" once FO-58 mints the pair) clears it.ADVISORY (carried from round 2, unchanged) — the runner's plan job reports under the forge Guest's check name.
scripts/guest-plan-check.py:20setsNAME = "guest-plan-check", andscripts/plan_check.py:4states the contract: "Each check names itself to these, so a message reads as the Target a reader ran." The runner Target's own comment promises the opposite of what the constant delivers (Makefile:469-471: "A Target and a job of its own, so a red plan here names this Stack"); driving it, a clean runner plan printsguest-plan-check: the plan loses nothing.underplan / runner-guest-plan-check. The rows name resource addresses, so the Stack is identifiable; the verdict line is not. Smallest fix: hand the judge its name from the Target (argv or env) instead of the constant.Named, not charged
plan / runner-guest-plan-check; while the pair is unset the Target refuses and, withplan / *required, blocks every pull request. Disclosed in the body's Merge Danger with FO-58 as the mint — a merge-ordering condition, not a defect in this diff.pull_request_targetruns the head's configuration with the job's secrets. The ticket's design; ADR-0001's single-user premise bounds it (registration disabled on the instance); the board is already ruling on the pattern (paperclip:THE-20). If registration ever opens, revisit the head checkout with it.env-check,fmt-check,docs-check(the base's newsnapshot-testdoes not cover them); nothing would catch the acknowledgment path's return. Pre-existing — the judges shipped untested in FO-38/FO-39 — so it is a ticket's worth, not this pull request's.scripts/snapshot.sh+ its tests, the journal roles,GLOSSARY.md,mise.lock, the semaphore keys, the ADR-0007 edit) aremain's, reviewed in their own PRs. The four-read check this round ran says the merge dropped nothing of the branch's change: the added/removed line sets of the branch's own diff at the pre-merge head (4ed9fe2) and at this head are identical — 284 added, 262 removed, empty set-diffs both ways.What I verified
git ls-remote origin refs/pull/88/head=4e987527f60380aebebc7b97ae0426538b45d4b2, equal to the dispatch; re-read in the POST gate. The PR body re-read immediately before drafting: byte-identical to the fetch, so the spec stands as read.5cf79fdREQUEST_CHANGES,71c1bbcAPPROVED), and71c1bbcis not an ancestor of the head — the branch was rebased (91b8064/4ed9fe2) andmainmerged in. The delta is therefore the base merge; the branch's own change is intact per the line-set check above.mise exec -- make checkat the head worktree: exit 0 — env-check (vendored pin + 19-name map), the base's snapshot-test suite, docs-check five assertions (52 links, 9 ADR rows = 9 records).proxmox_virtual_environment_container.forgejoisFAIL, exit 1, withPLAN_ACKNOWLEDGEDset to that address — the acknowledgment no longer greens anything; a create/no-op plan is green; an Edge site destroy isFAILnaming the unpublished site; acertificate_id -1create isFAIL; a held-lock failure names the holder andtofu force-unlock <ID>.plan_judgedend to end against a stubtofu, all three Targets: eachcds tohead/<stack>with the right flags (-targetpair for the Guest,-var-file=forgejo.tfvarsfor the Edge, none for the runner) and pipes to the repo-root judge; a failing plan prints tofu's error, the judge's lock explanation, and exits with tofu's own status (make Error 3); with no plan pair the Target refuses and composes notofucall at all.make -nfor the three Targets composes exactly those commands.pull_request_targetwithtypes: [opened, synchronize, reopened], three jobs, five steps each, each checkingrefs/pull/<n>/headintohead/.sevenhits are ADR-0007's unrelated "seven copies"; the runbook's#the-plan-checkanchor holds via docs-check).pr-checkscontexts, allsuccess; noplan / *context — the body's account of why this PR cannot be checked is accurate.main(workshopdocs/adr/, fetched this round): ADR-0011 ("a deploy never destroys or replaces; the Operator resolves that by hand") is what the change implements — the acknowledgment's removal brings the gate in line with it; ADR-0006/0012's key-per-record shape is what the third plan pair (FO-58) extends.What I could not verify
pr-checksrun — the runs list endpoint returned no row carrying thishead_shaamong its first 122 entries, so the citation above rests on the commit-statuses endpoint (five contexts at the sha), which is the evidence the gate consumes.bot-minosholds pull only on this repository.Summary
Spec: 1 finding — 1 ADVISORY (the body's stale run citation). Standards: 2 findings — 2 ADVISORIES (the
Makefile:172"two plan keys" comment; the runner judge reporting underguest-plan-check's name). No BLOCKER: nothing in the delta introduces or exposes a correctness or security defect, and the round-1 blocker stays cleared. Worst per axis: the stale run citation (spec); the misnamed judge (standards). The three advisories together also cross the volume line, soRecommendation: fixwould stand even without the escalation — but the REQUEST_CHANGES andreview/needs-fixhere follow from the charter hold on THE-45, not from the count.Acknowledged (round 1/5) — fixing now; what changed and how I verified it follows.
Round 3/5 — the findings, and what clears each. Head
9cf03bb.The dispatch said round 1; the thread already carries three posted reviews, so this answers the newest one (
4e987527, its own round 3/5). It has no BLOCKER and 3 ADVISORIES (Spec 1, Standards 2). All three are fixed and verified. What still holds this pull request is the reviewer's charter escalation on board task THE-45, not a finding — see Left alone below.#378at5cf79fd)pr-checks.yml(#126at9cf03bb) — read back from the stored bodyMakefile:172still said "the two plan keys"git grep -nE 'two plan|both plan'over the tree now returns onlyscripts/plan_check.py:1("The parts both plan checks share"), which counts the two judge scripts, not the plan keys — no stale count of plan keys is left47af6e8scripts/guest-plan-check.pytakes its name fromPLAN_CHECK_NAME(falling back to its own), and each Guest Target exports its own name, so the runner's job printsrunner-guest-plan-check: …where the contract inplan_check.pyasks it to. The export on the forge Target is deliberate: reading the name from the ambient environment alone let an inheritedPLAN_CHECK_NAMErename the Guest's report, which is the same defect from the other side914f563,f09cd63,9cf03bb9cf03bbis the Standards pass over my own diff: it drops the comment in the judge that the Makefile's header already carries (AGENTS.md §Code comments), and words that header so it counts no Targets and cannot go stale at a fourth.Verification.
mise exec -- make checkat9cf03bb→ rc=0:env-check(the vendored pin and the 19-name map),snapshot tests: every case passed.,docs-check: all 5 assertions hold.—fmt-checkis silent on success, so the zero covers all three.The three Targets driven over two trees with a stub
tofu, before =git archive 4e987527, after = this head:The forge Guest's line is byte-identical before and after — the fix moves only the runner's report. The plan-failure path carries the name too: a stub plan failing on a held lock prints
runner-guest-plan-check: the state is locked by an unnamed holder (lock 9f2c-lock) …and`tofu force-unlock 9f2c-lock`,make: *** Error 3.CI at
9cf03bb: run #126 issuccess; its fivepr-checkscontexts are allsuccess; noplan / *row exists — the round-1 blocker's subject, unchanged and stated in the body.What I could not verify.
status=todois carried, not re-measured.tofu planagainst PROD's state, and this workflow's own first run:pull_request_targetreads the base's file, so no run on this branch can be that one. Every pull request opened after the merge is the first evidence.bot-efestoreadsuser_can_merge: falseonmain.One consequence of the fix worth naming: the plan jobs run
main's Makefile and judge, so the new report name reaches a pull request's CI after this merges — until then a red runner plan still prints the Guest's name.Left alone, not disputed. No finding was argued with. The review's Named, not charged items stand as they were: the runner's plan pair until FO-58 (disclosed in Merge Danger),
pull_request_targetrunning the head's configuration with the job's secrets (the ticket's design, bounded by ADR 0001), and the judges being untested — a ticket's worth, not this pull request's.Label:
review/needs-fix→review/needs-human, notreview/needs-review. The three advisories are done, but the review'sREQUEST_CHANGESfollows from the charter hold rather than from their count, and a re-review cannot clear it: the next round would find THE-45 still waiting and hold again. The branch is ready for a verdict the moment the board rules.Acknowledged (round 0/5) — fixing now; what changed and how I verified it follows.
Round 0/5 — the findings, and what clears each. Head
d4650b4(was9cf03bb).There is no review newer than round 3 (
4e987527,REQUEST_CHANGES): the thread carries three posted reviews and none at this branch's head. Round 3 raised no BLOCKER and three ADVISORIES (Spec 1, Standards 2); a previous fix closed all three at9cf03bb. I did not take that on trust — I re-measured each one at the head, and it holds. Two further lines the change itself left wrong are fixed in this round.#378at5cf79fd)#132atd4650b4GET /commits/d4650b4/statuses: one run, #132, the fivepr-checkscontexts allsuccess, noplan / *row — the shape the paragraph claimsMakefilestill said "the two plan keys"47af6e8Makefile:173reads "CI maps the plan keys onto"; a census overdocs/,README.md,Makefileand the workflows finds notwo plan/both plancount left. The onlyboth planhit isscripts/plan_check.py:1's "the parts both plan checks share", which counts the two judge scripts914f563,f09cd63tofu, below: each Target's verdict line names the Target that ran it, and an inheritedPLAN_CHECK_NAMEcannot rename either GuestThis round's own two. Both are lines the change rewrote, left wrong:
8fe478fGUEST_PLAN_CHECKstill said the judges are "one per Stack". Three plan Stacks now share two scripts — the sentence right after it says the runner's Guest is judged by the Guest's — so the clause contradicted itself. Same class as finding 2.d4650b4docs/actions/runner-and-workflows.mdpast its 82-column register (87).Verification.
mise exec -- make checkatd4650b4→ rc=0 (before the commit, on the same tree):fmt-checkis silent on success, so the zero covers all three checks. The three plan Targets driven overhead/<stack>directories with a stubtofuonPATH:The
make -nfor the runner Target composescd …/head/runner/guestthentofu init -input=falsethen the plan —main's Makefile, the head's configuration, as the ticket asks. Pushed as a fast-forward,9cf03bb..d4650b4; no force, no rewrite, nothing tomain.Left alone, not disputed. Nothing in the review was argued with. What still holds this pull request is not a finding: the round-3
REQUEST_CHANGESfollows the reviewer's charter escalation on board task THE-45 — a CI-gate change goes to the board rather than merging on the reviewer's word. Its own words: "the smallest change that ends the hold: a board ruling on THE-45". That is a product/governance decision, not a code fix, and a re-review cannot clear it — the next round would find THE-45 still waiting and hold again.What I could not verify.
status=todois carried, not re-measured.tofu planagainst PROD's state, and this workflow's own first run. No credentials here, andpull_request_targettakes its workflow file from the base, so no run on this branch can be that one. Every pull request opened after the merge is the first evidence.bot-efestoreadsuser_can_merge: falseonmain.Label:
review/needs-fix→review/needs-human, notreview/needs-review. Every finding on this thread is closed and verified; what remains is the board ruling on THE-45, which no fixer can make and no re-review can clear. The branch is ready for a verdict the moment that ruling lands.Merged
maininto the branch — the conflict is cleared.mergeablenow readstrue.mainmoved to10e5fee(FO-55, !93), which rewrote two passages this branch also rewrites: the Guest's verdict table and the plan-check section of the runbook. Resolution, per hunk:runner-and-workflows.md,guest-plan-checkrowrunner-and-workflows.md, thePlan-acknowledged:paragraphprevent_destroyrefuses the plan firstmise exec -- make docs-checkat the merge commit: 5 assertions hold (53 links / 21 documents, 21 fragments, ADR index 9/9, section index, wiki 21).No code changed, and the plan judge's behaviour is the one the body describes — the merge commit only carries FO-55's prose. The head is
05090cf; the body's line naming#132atd4650b4predates it.Still parked on THE-45: the fork-refusal question is the board's, not the branch's.
Agent-written.
THE-45's ruling, implemented at
f19eb73.Board item 1 — the fork-head refusal — is now the first step of all three plan jobs:
HEAD_REPO: ${{ github.event.pull_request.head.repo.full_name }}againstREPO: ${{ github.repository }}; a mismatch printsrefusing fork head <head>: …andexit 1, before any checkout and before the step that holds the key.if:, and none anywhere in the file — on this version a skipped job publishes as success.docs/actions/runner-and-workflows.mdsays the same in prose.The test case runs the guards rather than describing them:
scripts/tests/plan-workflow-test.py(18 cases, onmake check) reads each job's first step out ofplan.ymland executes it — a same-repository head exits 0, a fork head exits 1 naming the head repository, a missing head repository exits 1. Two mutations prove the suite bites: the guard deleted from one job reds 5 cases; turned into a job-levelif:it reds theif:case.The round-3 advisories at
4e98752are all cleared:#134atf19eb73, the run at this head (fivepr-checkscontexts, allsuccess, noplan / *).Makefile"two plan keys" —47af6e8reads "the plan keys".914f563readsPLAN_CHECK_NAMEfrom the Target's environment, so a clean runner plan printsrunner-guest-plan-check: …underplan / runner-guest-plan-check.mise exec -- make checkis green at this head:env-check,snapshot-test,plan-workflow-test18/18,fmt-checksilent,docs-checkfive assertions.— Hermes (agent-written)
Review started (round 1/5) on
f19eb73904— reading the diff now.olympus/infra-forge PR #88 — head
f19eb73— round 4/5 (the dispatch said round 1; the thread already carries three posted reviews —5cf79fd,71c1bbc,4e987527— so this is the fourth) — verdict: mergeRecommendation: merge
The board's ruling is in and implemented. Round 3 held this on the charter, not on a defect; THE-45 is
doneand THE-50 (in_progress) carries the ruling — the fork-head refusal as each job's first step, no job-levelif:, the header sentence, a test case, and the three advisories in the same push. All of it is at this head, and I reproduced it. Two advisories remain; neither blocks, and two is under the volume line.Round 3, each finding and what cleared it
#134atf19eb73.list_workflow_runs: run #134, SHAf19eb73,success.GET /commits/f19eb73/statuses: the fivepr-checkscontexts, allsuccess, noplan / *row.Makefilestill said "the two plan keys"47af6e8Makefile:173reads "the plan keys". Census over the tree: notwo plan/both planleft exceptscripts/plan_check.py:1("the parts both plan checks share"), which counts the two judge scripts.914f563,f09cd63tofu:runner-guest-plan-check: the plan loses nothing.and the held-lock path printsrunner-guest-plan-check: the state is locked by an unnamed holder …; the forge Target still printsguest-plan-check:.PLAN_CHECK_NAME=spoofedin the shell renames neither.Spec
Source: FO-56 (Vikunja task 312, read live this round —
task http=200) and THE-50's ruling (read live). No findings.Every item of the ruling is present and reproduced: the fork refusal is each job's first step, before any checkout (
plan.yml:43-51,:73-81,:112-120); there is noif:anywhere in the file (YAML parse:job_if=None,step-level if: []); the header carries the sentence (plan.yml:21-25) anddocs/actions/runner-and-workflows.md:109-113the prose;scripts/tests/plan-workflow-test.pyis onmake check(Makefile:444,:651) and drives the guards rather than describing them; the expression is the one the board named,github.event.pull_request.head.repo.full_name != github.repository(THE-49's wording verbatim). FO-56's four build items and the acknowledgment's removal are unchanged from round 3 and still reproduce.The live acceptance criteria (a throwaway with a
Plan-acknowledged:line red; a harmless throwaway green) still cannot run before the merge — apull_request_targetworkflow only runs from the base — and THE-50's sequence (human approval → green probe → red probe replacing 141) is what closes them. Not charged.Standards
ADVISORY — the floor's part-list is five in the Makefile and still four in three pages.
Makefile:444now composescheck: env-check snapshot-test plan-workflow-test fmt-check docs-check, andMakefile:651defines the new Target. The pages that name the floor's parts were not swept:README.md:98— "make check# env-check, snapshot-test, fmt-check and docs-check"docs/agents/workflow.md:116-118— "checkis the single credential-free command —env-check,snapshot-test,fmt-checkanddocs-check"docs/runbooks/0001-deploy-and-rollback.md:320— "The credential-free floor:env-check,snapshot-test,fmt-checkanddocs-check"docs/agents/workflow.md:113-116's safe-to-run list also does not name the new Target. One finding, four sites, the same class as round 3's finding 2. Clearing: addplan-workflow-testat each.ADVISORY — the suite pins
if:but not its siblingcontinue-on-error:.scripts/tests/plan-workflow-test.py:145-149reds on any line matching^\s+if:, on the stated ground that a skipped job publishes as success. The other way a job carries on after a failed step is a step-levelcontinue-on-error: true, and that one is unpinned: I put it on the guest guard (mutant M4) and the suite answered rc=0, 0 FAIL, while the job would go on to check outhead/and plan it with the plan key in the environment — exactly what the guard exists to prevent. Clearing, one line:r"^\s+(if|continue-on-error):"at:147.What I verified
git ls-remote origin refs/pull/88/head=f19eb7390491bee5bfb1d8bc755b1eb9b22f00cd, equal to the dispatch, re-read at the end of each wave and in the POST gate. Delta:git diff 4e987527 f19eb73— 9 files;4e987527is an ancestor, so the round is stacked and its own change is that diff.05090cf, four reads: the branch's added-line sets before and after the merge are equal (285/285). The two branch lines the resolution replaced are main's refinedguest-plan-checkrow, present at head as a superset (docs/actions/runner-and-workflows.md:118). The 13 line-differences are FO-55's acknowledgment paragraph, deleted by design — and FO-55'sprevent_destroyfact survives word-for-word atdocs/runbooks/0001-deploy-and-rollback.md:189-196(checked as words, not as line breaks: this resolution re-wrapped). Nothing ofmain's or the branch's was lost.mise exec -- make checkat the head worktree: rc=0, 36okrows, includingplan-workflow-test18/18.on: pull_request_target types: [opened, synchronize, reopened]; three jobs; each job's first step isRefuse a fork head, withrun:and nocontinue-on-error; noif:at job or step level.someone/infra-forge→ exit 1 naming it; empty head → exit 1refusing fork head <no head repository>.if:→ 6, including theif:case; guard moved after the checkout → 5; guard inverted → 3;exit 1removed → 3; head pinned togithub.repository→ 1. The suite bites.tofu: forge, runner and edge clean plans green; a runner replace and an edge destroy both red (rc=2); with no plan pair the Target refuses and composes 0tofucalls; a held lock prints the holder and exits with tofu's status.proxmox_virtual_environment_container.forgejowithPLAN_ACKNOWLEDGEDset isFAIL, exit 1 — the acknowledgment greens nothing.eight= fivepr-checks+ threeplancontexts (docs/actions/runner-and-workflows.md:54,:78,:161;docs/agents/workflow.md:191), and README/runbook are updated to the three-job truth.doneat 14:08Z (comments read live,http=200, 2); THE-50in_progress(0 comments) carries the ruling. Read before this review, not after.What I could not verify
list_branch_protectionsis refused tobot-minos: "user should be an owner or a collaborator with admin write of a repository". Read off the PR page instead:plan / *is listed Required with no context beneath it, and the panel reads "Some checks are pending" — which is the body's account, and the reason this PR lands by THE-50's sequence rather than by its own checks.tofu planagainst PROD's state, and this workflow's own first run. No credentials here, andpull_request_targettakes its workflow file from the base, so no run on this branch can be that one./user/sign_up: registration disabled), so the suite drives the guard's shell block, not the expression's resolution. The expression is the one THE-20/THE-49 name; its runtime value is proved by the first fork after the merge, if registration ever opens.bot-minosholds pull only on this repository.Named, not charged
plan / runner-guest-plan-check; untilFORGE_RUNNER_PLAN_STATE_*is minted that job refuses and, withplan / *required, blocks every pull request. Disclosed in Merge Danger, and THE-50's sequence is where it is closed. A merge-ordering condition, not a defect in this diff.pull_request_targetruns the head's configuration with the job's secrets. The ticket's design, bounded by ADR-0001's single-user premise — and this round narrows it further: a fork head now gets nothing.Summary
Spec: 0 findings. Standards: 2 findings — 2 ADVISORIES (the floor's part-list left at four in three pages; the suite pinning
if:but notcontinue-on-error:). No BLOCKER: nothing in this delta introduces or exposes a correctness or security defect, and every round-3 finding is cleared. Worst per axis — Spec: none; Standards: thecontinue-on-errorgap, the one mutation that leaves the suite green. Two advisories are under the volume line, so they are advice and travel with the merge; the recommendation is merge.New commits pushed, approval review dismissed automatically according to repository settings
Round 4's two advisories, cleared at
569add0.plan-workflow-testnow appears wherever the pages list whatmake checkcomposes:README.md:98,docs/agents/workflow.md(the safe-to-run list, thechecksentence, and the needs-no-secret list) anddocs/runbooks/0001-deploy-and-rollback.md:320.continue-on-error:— the suite's shape assertion is now^\s+(if|continue-on-error):, so the other way a job carries on after a red guard is pinned. Proven:continue-on-error: trueon the guest guard reds that case; the workflow itself is unchanged.mise exec -- make checkis green at this head, and the fivepr-checkscontexts at569add0aresuccess(run#135). The body's run citation follows the head.— Hermes (agent-written)
Review started (round 1/5) on
569add06db— reading the diff now.olympus/infra-forge PR #88 — head
569add0— round 5/5 (the dispatch said round 1; the thread already carries four posted reviews —5cf79fd,71c1bbc,4e98752,f19eb73— so this is the fifth) — verdict: mergeRecommendation: merge
Round 4's two ADVISORIES are cleared, and I reproduced both clearances. The delta since
f19eb73is one commit (569add0, 4 files) and introduces no defect. Two advisories stand, both newly spotted and both from earlier in this PR rather than from this delta; neither blocks, and two is under the volume line.Round 4, each finding and what cleared it
569add0README.md:98,docs/agents/workflow.md:113-119and:134-136, anddocs/runbooks/0001-deploy-and-rollback.md:320all nameplan-workflow-testnow. Census:grep -rn snapshot-testover the tree answers four files, and every non-Makefile one carries the five-part list — except the runbook line charged below.if:but notcontinue-on-error:569add0continue-on-error: trueinserted in the Guest guard's step: the head suite reds rc=1, 1 FAIL naming the assertion (scripts/tests/plan-workflow-test.py:147-151), the prior head's suite (f19eb73) answers rc=0, 0 FAIL on the same mutation. A job-levelcontinue-on-error: truereds too; theif:mutant still reds. The pin is new and bites both keys that let a job carry on.Spec
Source: FO-56 (Vikunja task 312) and the board's ruling — read live this round: THE-45
done(updatedAt14:08:00Z) with THE-50in_progress(updatedAt14:14:51Z) carrying the implementation. The hold is answered, so this round is finding-based, as round 4 was. No findings.The body's claims for this round reproduce. Evidence ¶3 cites
#135at569add0, andlist_workflow_runs head_sha=569add0answers exactly that: run#135,success; its fivepr-checkscontexts are allsuccessatGET /commits/569add0/statuses, and there is noplan / *row. The delta changes no gate —plan.ymlis untouched sincef19eb73— so the charter's question is the one round 4 already had ruled and this round did not re-open.Standards
ADVISORY —
plan-workflow-testis the one Target the Makefile does not declare.PHONY.Makefile:403lists every other Target —check,guest-plan-check,runner-guest-plan-check,snapshot-test, the lot — and the Target this PR adds atMakefile:651is absent. A census of targets defined minus.PHONYat three revisions answers:main(10e5fee) empty,f19eb73plan-workflow-test, this headplan-workflow-test. So the gap arrives with this Target, and it is the only one in the file. Nothing breaks today — no path of that name exists — but the failure it leaves open is the quiet one: a file or directory namedplan-workflow-testwould make the Target a no-op andcheckwould still pass. One word on line 403 clears it.ADVISORY — the runbook still describes the floor in four parts.
docs/runbooks/0001-deploy-and-rollback.md:36-37: "checkis the credential-free floor: the environment's pin and map, the prune's selection, every Stack's formatting, and the docs tree's shape." Read against the Makefile's own##line (Makefile:444— "the env pin and map, the prune's selection, the plan workflow's fork guard, every Stack's formatting, the docs tree's shape"), the description is short by the fork guard: the floor is five. This is a fifth site of round 4's finding 1, which named four. The line is untouched by this round's delta and has been stale since the Target joinedcheckearlier in this PR, so it is newly spotted and charged as an advisory, not a blocker. One clause clears it: ", the plan workflow's fork guard".Named, not charged
plan / runner-guest-plan-check; untilFORGE_RUNNER_PLAN_STATE_*is minted that job refuses and, withplan / *required, blocks every pull request. Disclosed in the body's Merge Danger, and THE-50's sequence is where it closes. A merge-ordering condition, not a defect in this diff.pull_request_targetruns the head's configuration with the job's secrets. The ticket's design, bounded by ADR-0001's single-user premise, and narrowed by this PR's fork-head refusal: a fork head now gets nothing.plan-workflow-testpins the workflow's guards, notguest-plan-check.pyoredge-plan-check.py, so the acknowledgment's return would not be caught. Unchanged from rounds 2-4 and pre-existing — a ticket's worth, not this pull request's.checkcomment points at is behind.Makefile:441-443namesworkshop'sdocs/agents/make-targets.mdas the page that fixes the floor for all five repos. That page's "The floor as one command" row forinfra-forgestill readsenv-check fmt-check docs-check, and its floor table has noplan-workflow-testrow, though the page's own rule is that a Target added is a row there. The page lives in another repository, so no commit here can carry it — and it was already behindmainbysnapshot-test, so this PR is not where the gap began. A companionworkshopPR is the fix; named so a later round does not rediscover it as this change's.What I verified
git ls-remote origin refs/pull/88/head=569add06db127f4e217fc4645a49df3871728ac1, equal to the dispatch, re-read at the end of the wave.git merge-base --is-ancestor f19eb73 569add0is true, so the round is stacked and its own change isgit diff f19eb73 569add0— 4 files, 14 insertions, 10 deletions, every hunk read:README.md:98,docs/agents/workflow.md:113-120and:134-136,docs/runbooks/0001-deploy-and-rollback.md:320, and the suite's docstring plus its shape assertion. Nothing the delta should have touched is missing from it.mise exec -- make checkat the head worktree: rc=0, 36okrows —env-check(vendored pin + 19-name map),snapshot-testevery case passed,plan-workflow-test18/18,fmt-checksilent,docs-checkfive assertions.continue-on-error:pin, as the red/green pair in the table above: red only at the head, green at the prior head on the identical mutant; job-level and step-level both red,if:still red..PHONYcensus atmain,f19eb73and the head, as quoted above.grep -rn snapshot-testanswers four files (README, Makefile, runbook, workflow page); the three prose pages carry five parts, except the runbook line charged above.#135,success; the fivepr-checkscontextssuccess; noplan / *context — the body's account of why this PR cannot satisfy the required list, unchanged and accurate.What I could not verify
GET .../branches/mainis refused tobot-minos("user should be an owner or a collaborator with admin write"); read off the PR page instead, as round 4 did.tofu planagainst PROD's state, and this workflow's own first run. No credentials here, andpull_request_targettakes its workflow file from the base, so no run on this branch can be that one.bot-minosholds pull only on this repository.Summary
Spec: 0 findings. Standards: 2 findings — 2 ADVISORIES (the Target missing from
.PHONY; the runbook's four-part description of the floor). No BLOCKER: the delta introduces no correctness or security defect, every round-4 finding is cleared, and the charter hold is answered. Worst per axis — Spec: none; Standards: the runbook's stale floor description, the one a reader would act on wrong. Two advisories are under the volume line, so they are advice and travel with the merge.Acknowledged (round 0/5) — fixing now; what changed and how I verified it follows.
New commits pushed, approval review dismissed automatically according to repository settings
Round 5/5 — the findings, and what clears each. Head
ab7d4f7(was569add0).The tally I found, before the work
The dispatch said "blocking findings". The newest review on the thread — id
587,bot-minos, pinned at569add0,official, not stale — reads verdict: merge,0 BLOCKER, 2 ADVISORY. The two advisories are the work, and the dispatch's wording is
the loop's, not the report's.
pitalso moved the state labelreview/merge-ready→review/needs-fixat 17:42:41Z with no comment, which is what put this round in my queue;the review itself had already cleared the PR to merge.
Each finding, its commit, and how it was driven
plan-workflow-testis the one Target the Makefile does not declare.PHONY8f789edplan-workflow-test. Before:make plan-workflow-testanswersmake: 'plan-workflow-test' is up to date.,rc=0, and the suite never runs. After: the suite runs —plan workflow: …/.forgejo/workflows/plan.yml, 18okrows,every case passed. Census: 31 Targets declared, 1 missing from.PHONYat569add0, 0 at this head.ab7d4f7docs/runbooks/0001-deploy-and-rollback.md:36-37now reads "the environment's pin and map, the prune's selection, the plan workflow's fork guard, every Stack's formatting, and the docs tree's shape" — the clause in the Makefile's own order (Makefile:444). A whitespace-insensitive word diff against569add0reports one run: five words inserted (the plan workflow's fork guard,), nothing else moved. The paragraph is re-wrapped to the file's 80 columns: widest line in it is 80, no line carries an odd number of backticks, and the two links in the span sit whole on their own lines.#135at569add0→#147atab7d4f7, the run index and head the body's CI paragraph cites. Read back after thePATCH:equal=True, anchor gone, replacement present.What I ran
mise exec -- make checkatab7d4f7in the worktree, whole output kept:rc=0, 36okrows —env-check(the vendored pin and the 19-name map),snapshot-testevery case passed,plan-workflow-test18/18,fmt-checksilent,docs-checkall five assertions (53 relative links, 21 fragments, 9 ADR rows, bothsection indexes, 21 documents in the manifest).
CI at the same head: run #147,
success;GET /commits/ab7d4f7/statusesgrouped bycontext gives
pr-checks / docs-check,env-check,fmt-check,syntax-check,validate— allsuccess, aggregatesuccessover 5 contexts, and noplan / *row, which is the state the body explains and this PR cannot change.
What I did not do, and what I could not verify
at
569add0before being fixed, and both are cleared above.claude -pansweredYou've hit your 5-hour limit · resets 7pmwithrc=1on both the Standards and theSpec prompt, so I ran both axes myself over
git diff 569add0 HEAD, in that order:Standards against
AGENTS.md,docs/agents/workflow.mdand the docs-check's ownassertions; Spec against the two findings. Between them they produced the census above
(every site that enumerates the floor —
README.md:98,docs/agents/workflow.md:116-118and
:135, the runbook's table row at:320— names the same five parts) and foundnothing further to change.
tofu plan, and this workflow's own first run, are still not reachable fromhere — unchanged from the review's own What I could not verify, and neither touches
these two commits.
Review started (round 1/5) on
ab7d4f71a0— reading the diff now.olympus/infra-forge PR #88 — head
ab7d4f7— round 1/5 — verdict: mergeRecommendation: merge
The two ADVISORIES the last review (id
587, at569add0) left are cleared, and I reproduced both clearances rather than reading them. The branch also moved while I was reading it —55834b1,mainmerged in and the runbook conflict resolved — so I verified that head as well; the approval below covers the branch as it stands. No BLOCKER; one ADVISORY, which is advice and not a round trip.The last review, each finding and what cleared it
plan-workflow-testis the one Target the Makefile did not declare.PHONY8f789edMakefile:403carries it. Census over targets defined minus.PHONY: this head 31 targets / 31 declared / 0 missing; at569add0, 31 / 30, the missing oneplan-workflow-test. The gap's failure was the quiet one — a directory of that name made the Target a no-op andcheckstill passed — and it is closed.ab7d4f7docs/runbooks/0001-deploy-and-rollback.md:36-38reads "the environment's pin and map, the prune's selection, the plan workflow's fork guard, every Stack's formatting, and the docs tree's shape" — five parts, in the Makefile's own order (Makefile:444).The head moved under the review
ab7d4f7was the head at dispatch. At 17:49Z the branch gained55834b1, merge main into the plan-check branch, and keep the five-part floor:mainhad moved tob215d4e(FO-62), andgit merge-treeon the dispatched head conflicted indocs/runbooks/0001-deploy-and-rollback.md. The merge clears it (mergeablenowtrue). I verified the merged head separately —plan.yml, the fourscripts/files andscripts/tests/plan-workflow-test.pyare byte-identical toab7d4f7,Makefilediffers only in FO-62'senv/env-checkprose, the runbook resolution keeps this branch's five-part floor beside main's actor rows, andmise exec -- make checkexits 0 there too.ab7d4f7stays the head named in this report because it is the one dispatched.Spec
Source: the PR description. The link is FO-56; the ticket itself I could not read —
GET /api/v1/tasks/312and/api/v1/projects/4/tasks/by-index/56both answer 401 ("missing, malformed, expired or otherwise invalid token") with this session's key, and no Vikunja MCP is served here. The contract under review is therefore the body's own, which is specific enough to falsify claim by claim.pull_request_target,types: [opened, synchronize, reopened];workflow_dispatchandeditedgoneplan.yml:34-36; YAML parsedplan.yml:43-51,73-81,112-120; each job's first step run by the suite, and by memainchecked out as the tree it runs from, the head beside it underhead/, planned withmain's Targets and judgetofu(below)plan_judgedbody behind three Targets;PLAN_GUEST_DIR/PLAN_EDGE_DIR/PLAN_RUNNER_DIRpoint each at the headMakefile:280-294,456-459,476-478plan-acknowledged.shandplan_check.acknowledged()gone; every destroy, replace and move is redPLAN_ACKNOWLEDGED=<address>set in the environment, same plan, stillexit 1ADVISORY — the body's run citation names the head before the merge commit. PR body, Evidence ¶4 (no commit): "The branch's head reports one
pr-checks.ymlrun —#147atab7d4f7— and fivepr-checkscontexts are the whole of its statuses, so there is noplan / *context to satisfy the required list with." That is exactly true ofab7d4f7, and the same shape holds at the head as it now stands (#148at55834b1, five contextssuccess, noplan / *row). What is stale is the pointer, not the claim. Smallest change that clears it:#147→#148andab7d4f7→55834b1.Standards
No findings. The repository's written rules are
AGENTS.md(secrets, state, privacy, code comments, toolchain, docs) anddocs/agents/workflow.md. On this diff:.PHONYis complete (census above), andmake checkcomposes five parts (Makefile:444) — every page that lists them names the same five:README.md:98,docs/agents/workflow.md:113-118and:135-137,docs/runbooks/0001-deploy-and-rollback.md:36-38and:320.grep -rn "two plan\|both plan\|two jobs\|two of the Stacks"overREADME.md,docs/andMakefileanswers nothing;Plan-acknowledged/PLAN_ACKNOWLEDGEDappear only in the one sentence that says there is none (docs/actions/runner-and-workflows.md:154); the onlysevenleft is ADR-0007's, about identity copies.AGENTS.md§Code comments: the duplicated comment the earlier round charged is gone, and what remains is what a YAML workflow and a shell recipe have nowhere else to carry.What I verified
ab7d4f7(dispatch) and55834b1(current), read back through the API andgit ls-remote;refs/pull/88/head=55834b1.mise exec -- make checkin a worktree at each head: rc=0, 36okrows —env-check,snapshot-testevery case passed,plan-workflow-test18/18,fmt-checksilent,docs-checkfive assertions.head/…with a stubtofuthat logs the directory it was called in. Every one plans in the head's directory withmain's judge:head/forgejo/guest+guest-plan-check.py(+ both-targets),head/npm/edge+-var-file=forgejo.tfvars+edge-plan-check.py,head/runner/guest+guest-plan-check.pyand no-targetset. A replacement plan reds all three by their own names —guest-plan-check,edge-plan-check,runner-guest-plan-check—exit 1; the same run withPLAN_ACKNOWLEDGEDnaming the address changes nothing. The failure path prints tofu's own error, then`tofu force-unlock <ID>`in the head's stack directory, named for the Target that ran.if:and nocontinue-on-error:anywhere — the two ways a job carries on after a red step.infra-cockpitcarries the same first step on the same event, and its probe pull requests answer the question the shell-block test cannot: same-repository headdca9344(!31) → all threeplan / *contextssuccess; fork headc756ff3(!32) → all threefailureafter 2s whilepr-checkspassed. Sogithub.event.pull_request.head.repo.full_nameresolves here, and a fork reds rather than skips.ab7d4f7: run#147, fivepr-checkscontextssuccess, noplan / *.55834b1: run#148, five contextssuccess, noplan / *.git merge-tree origin/main 55834b1is clean; the API readsmergeable: true.What I could not verify
GET /repos/olympus/infra-forge/branches/mainis refused to this account, so the body's read-back (status_check_contexts: ["pr-checks / *", "plan / *"]) is carried, not re-measured.tofu planagainst PROD's state, and this workflow's own first run. No credentials here, andpull_request_targettakes its workflow file from the base — no run on this branch can be that one.Named, not charged
plan / runner-guest-plan-check; untilFORGE_RUNNER_PLAN_STATE_*is minted that job refuses and,plan / *being required, every pull request is blocked. Disclosed in the body's Merge Danger and indocs/actions/runner-and-workflows.md:133-135. A merge-ordering condition, not a defect in this diff.pull_request_targetplans the head's configuration with the job's credentials. The ticket's design, forks refused by each job's first step, bounded by ADR-0001's single-user premise. Ruled on in earlier rounds; not re-opened here.plan-workflow-testpins the workflow's guards, notguest-plan-check.pyoredge-plan-check.py. Pre-existing and untouched by this diff — a ticket's worth.Summary
Spec: 1 finding — 1 ADVISORY (the body's run citation is one head behind). Standards: 0 findings. No BLOCKER: every claim reproduces, both of the last round's advisories are cleared, and the delta introduces no defect. Worst per axis — Spec: the stale citation; Standards: none. One advisory is under the volume line, so it travels as advice with the merge.
Follow-up: review
625arrived at the head, and its one advisory is cleared.Two things happened after my report above, and neither needed a commit.
The branch merged
main.mainmoved onto FO-62 (b215d4e) while this round wasverifying, and
git merge-treeatab7d4f7already conflicted indocs/runbooks/0001-deploy-and-rollback.md. Commit55834b1is that merge:main's twoactor-axis rows for
envandenv-checkverbatim, this branch's five-partcheckrowkept — a union, not a side.
mergeablenow reads true,merge_baseb215d4e. Thewhole set re-ran on the merged tree:
mise exec -- make checkrc=0, 36okrows,plan-workflow-test18/18,docs-checkfive assertions.Review
625is at55834b1— verdict merge, 0 BLOCKER, 1 ADVISORY: the body'srun citation named the head before the merge. That advisory is cleared in the body, no
commit:
#147atab7d4f7→#148at55834b1, read backequal=True, anchor gone.The claim it carries is unchanged and still true at the head — run
#148success, fivepr-checkscontextssuccess, aggregatesuccessover 5, and noplan / *row.Label. The round's
review/needs-reviewmove was consumed by the loop, which reviewedthe merge head and set
review/merge-readyat 17:51:46Z; live labels read['review/merge-ready'](org id 24) and I have left the reviewer's own verdict where itput it rather than re-arming a review of an unchanged head.