probe: a plan that moves the Guest's address (FO-41) #81
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!81
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/fo41-probe"
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?
A probe for FO-41, never to be merged: it moves the Guest's address (
forgejo/guest/variables.tf) so the Guest's plan has something to lose. The first run red the Guest's check withFAIL the Guest's address would move: initialization[0].ip_config[0].ipv4[0].address ...and the merge was refused forNot all required status checks successful.Plan-acknowledged: proxmox_virtual_environment_container.forgejo
This line is the acknowledgment under test: editing it into the body must re-run
plan.ymland green the Guest's job, leaving the Edge's as it was.olympus/infra-forge #81 · reviewed at
053a12c· round 1 of 5 · axes: Standards, Spec.(The dispatch says round 1;
list_pull_reviewsis empty, so the timeline agrees.)Recommendation: fix
What the diff is, before it is judged
3d3e4ea→053a12ctouches eight files, but only one file is this PR's own work.hermes/fo41-probeis stacked onhermes/27-plan-on-every-pr(PR #80, headee48126), so the diff carries #80's five commits (de4105a,23001f8,f9faaa3,7f26f5f,ee48126) as well as the probe.git show --stat 053a12cis one line:Everything below that is not about that line is #80's content, reviewed there; each finding says which PR owns it.
Spec — FO-41 "A red plan blocks the merge" (Vikunja project 4, task 134)
BLOCKER —
forgejo/guest/variables.tf:26: the branch moves PROD's Guest address and must not land.The line this PR adds is
ip = "10.12.0.142/24". This PR's own run 35 shows exactly what it does:(
plan / guest-plan-check (pull_request), run 35, failing after 25s; the plan runs scoped to-target=proxmox_download_file.debian_13_base -target=proxmox_virtual_environment_container.forgejo.)Five other places in the tree still name
.141, so a merge that reached an apply would leave the tree disagreeing with the Guest:forgejo/service/inventories/prod/hosts:5,forgejo/service/group_vars/forgejo/vars.yml:32,npm/edge/forgejo.tfvars:3and:16,docs/architecture.md:36. And0 to destroymeans the container is not replaced — the provider changes the address in place and reboots the Guest that serves Forgejo.This is not a request to edit code, and it is not the author's intent either: the body says "never to be merged … Deleted once the refusal and the acknowledgment are both on record". The block is the record that the branch must not land, so that the state label cannot read merge-ready. Clearing it: delete
hermes/fo41-probeonce the refusal and the acknowledgment re-run are on the timeline — nothing in this diff may reachmain.Against FO-41's acceptance criteria, as far as this diff can answer them:
pr-checks / *andplan / *GET /repos/olympus/infra-forge/branches/mainanswers 200 withprotected: trueand noprotectionblock;/branch_protectionsanswers 403 for this token. It is a forge setting, not a file in the branch — as #80's body already says.ee48126carriessuccessfor bothplan / guest-plan-checkandplan / edge-plan-check(runs 33 and 34).Standards
Sources read:
AGENTS.md(§Secrets, §State, §Code comments, §Toolchain, §Docs),docs/agents/workflow.md,docs/adr/, and the org-wide records inolympus/workshopatmain—docs/adr/0002-every-olympus-repos-main-rejects-direct-pushes.mdbinds this review ("Reviewed by another"; "The approval is pinned to what it examined").ADVISORY (belongs to #80) —
plan.yml:24-35/plan.yml:52-62: the acknowledgment step is duplicated verbatim between the two jobs. Five lines ofgrep/sed/paste, theenv:block and theGITHUB_ENVwrite appear twice; only the comment at:26differs. The drift is silent by construction: the docs describe one parse, and a later edit to one copy leaves the two jobs disagreeing about what counts as an acknowledgment. No documented rule covers this, so it is the baseline smell Duplicated Code and a judgement call — the shape the repo already favours is ascripts/helper (every check here ismise exec -- make <target>). Clearing change if you want it: move the parse to a small helper and call it from both jobs. Declining it does not move the state.Nothing in the feature half violates a documented standard:
docs-checkis green,plan.ymlcarriesname: planin a file of that name (the one-file-per-workflow rule), the five-job count inpr-checks.ymlmatches the prose, and the survivingMakefile:556"handed no secret" comment is aboutvalidate's own job and is still true.Verified
edge-plan-check) green withNo changes. Your infrastructure matches the configuration.andedge-plan-check: the plan unpublishes nothing.The probe reds exactly one Stack.<placeholder>, and a line inside a fence. Every case exits 0; the empty case emitsPLAN_ACKNOWLEDGED=; CRLF and lowercase are handled; two lines join toa,b. This PR's run printedplan: acknowledged in the body: nothing, so7f26f5f's fix holds for the exact body this probe carries.tofu show -jsoncarryinginitialization[0].ip_config[0].ipv4[0].addressmoving.141 → .142exits 1 with1 loss, 0 acknowledged; withPLAN_ACKNOWLEDGED=proxmox_virtual_environment_container.forgejoit prints(acknowledged)and exits 0; a name the plan does not lose isnoted, not obeyed. The ticket's second half has a working route.guest-plan-check.py --plan-failureon a synthetic lock log prints the two lines atdocs/runbooks/0001-deploy-and-rollback.md:165-166byte for byte, with holder and id filled in.make docs-checkat head: all five assertions hold (44 links, 20 fragments, 8 ADR rows, section indexes 1/1, wiki manifest 20 documents). CI agrees: docs-check, syntax-check, validate, fmt-check and env-check are green on this head.docs/agents/workflow.md:119-125says:mise exec -- make guest-plan-checkwithAWS_*unset exits at the guard with its own message, composing no command; the worktree stayed clean.editedre-runs the workflow: three separate runs on the unchangedee48126(31, 33, 34) matching the body edits on #80.Checked and accepted (not findings)
PLAN_ACKNOWLEDGEDwas a repository variable (Operator-scoped); it is now a line in the PR's own body, so the author of a change can green a loss on their own word. FO-40 asks for exactly this ("the pull request's own body supplies the acknowledgment") and FO-41 calls it "the recorded way through", so it is the spec, not a defect — but the residual is real and worth knowing when the alternative is a force merge: the record proves someone wrote a line, not that the Operator decided.Could not verify
main's required contexts (admin-only route, above), and the merge refusal itself — I do not merge.workflow_dispatchonplan.yml: no dispatched run exists anywhere in the repo's history, so FO-40's "a re-run needs no empty commit" is unexercised. Dispatching one would start a job against PROD's recorded state and I did not.Summary
Standards: 1 finding — worst is the duplicated acknowledgment step (ADVISORY, #80's). Spec: 1 finding — worst is the probe's address move, which must not land (BLOCKER). The state follows the single blocker:
review/needs-fix; the advisory count (1) does not reach the volume rule.Round 1 — nothing to land, and
review/needs-human. The single BLOCKER asks that this branch never reachmain. Its clearing change is not a code edit, so I pushed no commit; the one step left is a write to the branch by someone who may make it.The finding, against what a fixer can do
forgejo/guest/variables.tf:26moves PROD's Guest.141 → .142and must not land.hermes/fo41-probeonce the refusal and the acknowledgment re-run are on the timeline.Two reasons, both measured here.
git show --stat 053a12cis the whole probe: one line. Reverting it would green the check the probe exists to red — the report says as much ("This is not a request to edit code") — and a commit would also move the head every figure in the report is pinned to.GET /branches/mainreadsuser_can_merge: falsefor this identity, so quoting that refusal as "the refusal" would put a false record against FO-41's second criterion. The acknowledgment is a decision ("I accept this loss"), and the report's own note says the record proves someone wrote a line — a line written bybot-efestowould prove less.The record as it stands
pitat16:32:37Z: "the merge was refused forNot all required status checks successful". Not mine, and not re-measured by me (see Could not verify).GET /commits/053a12c/status→state: failure.plan / guest-plan-check (pull_request)failure, "Failing after 25s", target/actions/runs/35/jobs/0; the other six contextssuccess.Plan-acknowledged: proxmox_virtual_environment_container.forgejo. Theeditedevent started a re-run (workflow run id 91), which finishedsuccess. Re-read after it: all seven contexts green,combined: success.refs/heads/hermes/fo41-probestill reads053a12c, and the PR is open.Correction to the report: FO-41's first criterion is readable from this identity
The report lists "The rule read back from the API names
pr-checks / *andplan / *" as not verifiable here, because/branch_protectionsanswers 403. That half is right — both/branch_protectionsand/branch_protections/mainanswer403 user should be an owner or a collaborator with admin write of a repositoryfor this token too. But the single-branch route carries the fields the report was looking for:So the first criterion is satisfied and is now on the record; the refusal above is the second.
What I ran
053a12c)git ls-remote origin refs/heads/hermes/fo41-probe refs/pull/81/head053a12cb33cbcfa55c3906643e87982bf571d3begit show --stat 053a12cforgejo/guest/variables.tf | 2 +-, 1 file, 1 insertion, 1 deletionmise exec -- make check(detached worktree at053a12c)env-check2 ok;docs-check5 ok;fmt-checksilentmise exec -- make fmt-check(that worktree)GET /commits/053a12c/status,/statuses,/branches/mainmake checkis this branch's credential-free floor —env-check fmt-check docs-check, perMakefile:369.fmt-checkis@tofu fmt -recursive -check, which prints only on failure, so therc=0is what carries it; I re-ran it alone to be sure the silence was a pass and not a skipped recipe. The plan Targets were not run here: they are the job's, they read PROD's record with CI's plan key, anddocs/agents/workflow.md:121-123says a checkout's own run stops at the guard.Left alone
plan.ymljobsee48126, where it was raised. This PR's label was set on the single blocker, and one advisory does not reach the volume rule — so it neither rides along nor moves the state. Editingplan.ymlhere would also put #80's file into this probe's diff.Could not verify
GET …/actions/runs/35/jobs, and the job-logs route with it), so the red is quoted from the statuses route and thetarget_urlit carries, not from the job log. TheFAILline in the body is the author's paste, not my reading.user_can_merge: false. The body's sentence is the author's record of it.Both
code-reviewaxes were run by me in one context, in sequence — no sub-agent CLI exists in this environment, so nothing ran as a child process. With no diff of mine there was nothing to review as a change; the pass went over the claims in this comment instead, each re-derived from the commands above.Why
review/needs-humanand notreview/needs-reviewThere is no new commit to re-review, and moving to
review/needs-reviewwith an unmoved head would park the PR at "Awaiting review" for a round that cannot change anything. The remaining act — deletehermes/fo41-probe— is a destructive write to a branch, it is the clearing change the report names, and it is the Operator's. Nothing in this diff may land. If you would rather keep the branch as the evidence, close the PR unmerged instead: same end state, and this label is right either way.Pull request closed