The forge's plan check runs from main's workflow, and Plan-acknowledged goes (FO-56) #88

Merged
pit merged 15 commits from hermes/FO-56-the-forge-s-plan-check-runs-from-main-s into main 2026-11-11 18:52:52 +00:00
Member

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
-  on: pull_request              # workflow, Makefile and judge are all the branch's
+  on: pull_request_target       # ... and now all three are main's, with the head beside them
+  step: refuse a fork head     # HEAD_REPO != REPO -> exit 1, first in all three jobs
   jobs:
     guest-plan-check            # head/forgejo/guest, judged by guest-plan-check.py
     edge-plan-check             # head/npm/edge,      judged by edge-plan-check.py
+    runner-guest-plan-check     # head/runner/guest,  judged by guest-plan-check.py
-  PR_BODY -> plan-acknowledged.sh -> PLAN_ACKNOWLEDGED -> judge says (acknowledged)
+  (deleted: a destroy or a replace is red, and the Operator takes it by hand)
  • plan.yml: pull_request_target, types: [opened, synchronize, reopened], three jobs. Each checks main out as the tree it runs from and the pull request's head out beside it under head/, then plans the head with main's Targets and main's judge. workflow_dispatch goes with edited: 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 and exit 1 — before any checkout and before the step that holds the key. A job-level if: would not do: on this version a skipped job publishes as success.
  • Makefile: one plan_judged body 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_DIR and PLAN_RUNNER_DIR are what point each Target at the head, and the -target sets, the var-file's name and the judge stay main's.
  • scripts/: plan-acknowledged.sh deleted; plan_check.acknowledged() gone; both judges red every destroy, replace and move with no address set to consult.
  • docs: the Actions page, the workflow page, the runbook and the README say eight contexts instead of seven and describe the head checkout, the wildcard's reach across the new event, and the Operator's by-hand resolution instead of the acknowledgment. The five sites that still counted two plan Targets now count three — the four the review names, and the runbook's plan-pair paragraph beside them — and the workflow's credential paragraph claims only that no job can write a state record, naming the Edge's NPM account as the one credential that is more than a reader. make check composes five parts and every page that lists them now says five: plan-workflow-test joins the README, the workflow page and the runbook.

Evidence

  • Before: main's judge, a plan that would replace 141, with Plan-acknowledged: proxmox_virtual_environment_container.forgejo set:

      ok    proxmox_virtual_environment_container.forgejo would be replaced: destroyed, then created again  (acknowledged)
    
    guest-plan-check: 1 loss, every one acknowledged.
    exit=0
    

    After: the same plan, the same variable set, this branch's judge:

      FAIL  proxmox_virtual_environment_container.forgejo would be replaced: destroyed, then created again
    
    guest-plan-check: 1 loss; a Guest is destroyed or replaced by the Operator's hand and never by a merge, so this check is red until the plan carries neither.
    exit=1
    
  • Before: two plan jobs. After: three, and make -n shows each composing the head's directory with main'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 of make check, reads each job's first step out of plan.yml and runs it — a same-repository head exits 0, a fork head exits 1 printing refusing 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-level if: reds the shape case, and continue-on-error: true on 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-failure path explains a held lock (exit 1 on an unreadable backend, lock named with its holder and tofu 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 (after mise trust . && mise install in this worktree): env-check green, snapshot-test every case passed, plan-workflow-test 18/18, fmt-check silent, docs-check five assertions hold — exit 0.

The workflow cannot run on this pull request: pull_request_target takes its workflow file from the base branch, and main's plan.yml fires on pull_request, while this head's declares only pull_request_target — so neither event schedules a plan here. The branch's head reports one pr-checks.yml run — #148 at 55834b1 — and five pr-checks contexts are the whole of its statuses, so there is no plan / * 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 take plan / * off main's required contexts and restore it once the merge is in; bot-efesto can do neither (branches/main reads user_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-cockpit carries the same shape (olympus/infra-cockpit#23 onward, merged through !29), which is what says the event fires on this instance and that plan / * 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, with plan / * required, every pull request is blocked. FO-58 lands the runner's pair from secret/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.

Implements [FO-56](https://vikunja.thepit.space/tasks/312) ## 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. ```diff plan.yml - on: pull_request # workflow, Makefile and judge are all the branch's + on: pull_request_target # ... and now all three are main's, with the head beside them + step: refuse a fork head # HEAD_REPO != REPO -> exit 1, first in all three jobs jobs: guest-plan-check # head/forgejo/guest, judged by guest-plan-check.py edge-plan-check # head/npm/edge, judged by edge-plan-check.py + runner-guest-plan-check # head/runner/guest, judged by guest-plan-check.py - PR_BODY -> plan-acknowledged.sh -> PLAN_ACKNOWLEDGED -> judge says (acknowledged) + (deleted: a destroy or a replace is red, and the Operator takes it by hand) ``` - `plan.yml`: `pull_request_target`, `types: [opened, synchronize, reopened]`, three jobs. Each checks `main` out as the tree it runs from and the pull request's head out beside it under `head/`, then plans the head with `main`'s Targets and `main`'s judge. `workflow_dispatch` goes with `edited`: 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 and `exit 1` — before any checkout and before the step that holds the key. A job-level `if:` would not do: on this version a skipped job publishes as success. - `Makefile`: one `plan_judged` body 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_DIR` and `PLAN_RUNNER_DIR` are what point each Target at the head, and the `-target` sets, the var-file's name and the judge stay `main`'s. - `scripts/`: `plan-acknowledged.sh` deleted; `plan_check.acknowledged()` gone; both judges red every destroy, replace and move with no address set to consult. - docs: the Actions page, the workflow page, the runbook and the README say eight contexts instead of seven and describe the head checkout, the wildcard's reach across the new event, and the Operator's by-hand resolution instead of the acknowledgment. The five sites that still counted two plan Targets now count three — the four the review names, and the runbook's plan-pair paragraph beside them — and the workflow's credential paragraph claims only that no job can write a state record, naming the Edge's NPM account as the one credential that is more than a reader. `make check` composes five parts and every page that lists them now says five: `plan-workflow-test` joins the README, the workflow page and the runbook. ## Evidence - **Before:** `main`'s judge, a plan that would replace 141, with `Plan-acknowledged: proxmox_virtual_environment_container.forgejo` set: ```text ok proxmox_virtual_environment_container.forgejo would be replaced: destroyed, then created again (acknowledged) guest-plan-check: 1 loss, every one acknowledged. exit=0 ``` **After:** the same plan, the same variable set, this branch's judge: ```text FAIL proxmox_virtual_environment_container.forgejo would be replaced: destroyed, then created again guest-plan-check: 1 loss; a Guest is destroyed or replaced by the Operator's hand and never by a merge, so this check is red until the plan carries neither. exit=1 ``` - **Before:** two plan jobs. **After:** three, and `make -n` shows each composing the head's directory with `main`'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 of `make check`, reads each job's first step out of `plan.yml` and runs it — a same-repository head exits 0, a fork head exits 1 printing `refusing 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-level `if:` reds the shape case, and `continue-on-error: true` on 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-failure` path explains a held lock (exit 1 on an unreadable backend, lock named with its holder and `tofu 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` (after `mise trust . && mise install` in this worktree): `env-check` green, `snapshot-test` every case passed, `plan-workflow-test` 18/18, `fmt-check` silent, `docs-check` five assertions hold — exit 0. The workflow cannot run on this pull request: `pull_request_target` takes its workflow file from the base branch, and `main`'s `plan.yml` fires on `pull_request`, while this head's declares only `pull_request_target` — so neither event schedules a plan here. The branch's head reports one `pr-checks.yml` run — `#148` at `55834b1` — and five `pr-checks` contexts are the whole of its statuses, so there is no `plan / *` 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 take `plan / *` off `main`'s required contexts and restore it once the merge is in; `bot-efesto` can do neither (`branches/main` reads `user_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-cockpit` carries the same shape (`olympus/infra-cockpit#23` onward, merged through `!29`), which is what says the event fires on this instance and that `plan / *` 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, with `plan / *` required, every pull request is blocked. FO-58 lands the runner's pair from `secret/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.
ticket-dispatch: the plan check runs from main's workflow, and Plan-acknowledged goes (FO-56)
All checks were successful
pr-checks / env-check (pull_request) Successful in 19s
pr-checks / fmt-check (pull_request) Successful in 17s
pr-checks / validate (pull_request) Successful in 23s
pr-checks / syntax-check (pull_request) Successful in 49s
pr-checks / docs-check (pull_request) Successful in 55s
5cf79fd55f
A pull request could edit the judge that decides it: `plan.yml` ran on
`pull_request`, so the workflow, the Makefile and the two judges were all the
branch's own. It moves to `pull_request_target`, which runs `main`'s workflow
from `main`'s tree, checks the pull request's head out beside it under `head/`,
and plans that head with `main`'s Targets — `PLAN_GUEST_DIR`, `PLAN_EDGE_DIR` and
`PLAN_RUNNER_DIR` are what point each of them at it. Only the configuration
planned is the branch's; the procedure that judges it is not.

The acknowledgment goes with it. `edited` was the trigger that re-ran the plan
when a `Plan-acknowledged:` line was added to a body, and `plan-acknowledged.sh`
read those lines into `PLAN_ACKNOWLEDGED` for the judges; both are deleted, and
the judges no longer have an address set to consult. A destroy or a replace is
now red with nothing in a pull request able to turn it green: the Operator takes
that one-way door by hand and the plan is green afterwards because the state
already carries it.

The runner's Guest gains a job of its own — `runner-guest-plan-check`, judged by
the Guest's judge — so the same rows decide 146 as 141, and its own state
pair reads its own record.
Member

Review started (round 1/5) on 5cf79fd55f — reading the diff now.

**Review started** (round 1/5) on 5cf79fd55f94a39f566f699da377bbb507d4da0a — reading the diff now.
bot-minos requested changes 2026-11-10 22:06:39 +00:00
Dismissed
bot-minos left a comment

olympus/infra-forge PR #88 — head 5cf79fd — round 1/5 — verdict: block

Recommendation: 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 no plan / * 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-31 now declares on: pull_request_target only. A pull_request event runs the workflow files of the head, not the base (that is exactly the difference the platform documents for pull_request_target: "changes to the workflow in the pull request will be ignored"). On head 5cf79fd the forge lists one run, #378 = pr-checks.yml, and no plan.yml run (list_workflow_runs head_sha=5cf79fd); had the base's on: pull_request workflow been used, a plan run would have been scheduled when the PR opened at 21:59:07. The PR's own checks panel lists plan / * — 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 workflow main carries", 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 the pull_request_target workflow as a new file beside the current plan.yml, then retire the old trigger in a follow-up, whose plan / * contexts come from the base-carried new workflow.
Could not verify: the refused merge itself — bot-minos is 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 / * and pr-checks / * … Read it back and say so." The body asserts the requirement ("with plan / * required") but quotes no read-back. For the record I read it back myself: the PR page lists plan / * and the five pr-checks contexts 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 carries NGINXPROXYMANAGER_PASSWORD (plan.yml:77), and docs/runbooks/0001-deploy-and-rollback.md:779-780 calls it "the svc-tofu password, 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-115 and :124 still list only guest-plan-check and edge-plan-check among 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 at docs/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:96 and docs/runbooks/0001-deploy-and-rollback.md:118 both say a run takes "its workflow, its Makefile, its -target sets, its var-file and its judge from main". main supplies the flag (Makefile:455, -var-file=forgejo.tfvars), but plan_judged first cds to head/npm/edge (Makefile:271), so the file read is the branch's head/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

  • The runner plan pair is absent until FO-58. Every PR will report plan / runner-guest-plan-check; while FORGE_RUNNER_PLAN_STATE_* is unset that job refuses (Makefile:172-177) and, with plan / * 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_target runs 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

  • Head: git ls-remote origin refs/pull/88/head = 5cf79fd55f94a39f566f699da377bbb507d4da0a, equal to the dispatch. Full diff read: all 11 files.
  • mise exec -- make check at the head: env-check ok (pin + 19-name map), fmt-check silent, docs-check five assertions — exit 0.
  • Judges driven directly with plan fixtures: a replace of proxmox_virtual_environment_container.forgejo is FAIL, exit 1, with PLAN_ACKNOWLEDGED set to that address — the acknowledgment no longer greens it; a create/no-op plan is green; an Edge proxy-host destroy is FAIL naming the unpublished site; a create carrying certificate_id -1 is FAIL (served without TLS).
  • plan_judged driven end to end against a stub tofu: guest-plan-check PLAN_GUEST_DIR=head/forgejo/guest plans head/forgejo/guest with -target=proxmox_download_file.debian_13_base -target=proxmox_virtual_environment_container.forgejo and judges with main's scripts/guest-plan-check.py; runner-guest-plan-check PLAN_RUNNER_DIR=head/runner/guest plans head/runner/guest with no -target; edge-plan-check PLAN_EDGE_DIR=head/npm/edge plans head/npm/edge with -var-file=forgejo.tfvars; a failing plan exits with tofu's own status (3) after printing the lock holder and tofu force-unlock <ID>; with no AWS pair the Target refuses and runs no tofu.
  • make -n for all three Targets composes exactly those commands.
  • pull_request_target and 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.
  • The head's five pr-checks contexts 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.

<!-- minos review-loop: repo=olympus/infra-forge pr=88 head=5cf79fd55f94a39f566f699da377bbb507d4da0a round=1/5 axes=standards,spec --> **olympus/infra-forge PR #88** — head `5cf79fd` — round 1/5 — verdict: **block** Recommendation: 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 no `plan / *` 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-31` now declares `on: pull_request_target` only. A `pull_request` event runs the workflow files of the head, not the base (that is exactly the difference the platform documents for `pull_request_target`: "changes to the workflow in the pull request will be ignored"). On head `5cf79fd` the forge lists one run, `#378` = `pr-checks.yml`, and no `plan.yml` run (`list_workflow_runs head_sha=5cf79fd`); had the base's `on: pull_request` workflow been used, a plan run would have been scheduled when the PR opened at 21:59:07. The PR's own checks panel lists **`plan / *` — 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 workflow `main` carries"*, 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 the `pull_request_target` workflow as a new file beside the current `plan.yml`, then retire the old trigger in a follow-up, whose `plan / *` contexts come from the base-carried new workflow. Could not verify: the refused merge itself — `bot-minos` is 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 / *` and `pr-checks / *` … Read it back and say so."* The body asserts the requirement ("with `plan / *` required") but quotes no read-back. For the record I read it back myself: the PR page lists `plan / *` and the five `pr-checks` contexts 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 carries `NGINXPROXYMANAGER_PASSWORD` (`plan.yml:77`), and `docs/runbooks/0001-deploy-and-rollback.md:779-780` calls it *"the `svc-tofu` password, 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-115` and `:124` still list only `guest-plan-check` and `edge-plan-check` among 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 at `docs/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:96` and `docs/runbooks/0001-deploy-and-rollback.md:118` both say a run takes *"its workflow, its Makefile, its `-target` sets, its var-file and its judge from `main`"*. `main` supplies the flag (`Makefile:455`, `-var-file=forgejo.tfvars`), but `plan_judged` first `cd`s to `head/npm/edge` (`Makefile:271`), so the file read is the branch's `head/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 - **The runner plan pair is absent until FO-58.** Every PR will report `plan / runner-guest-plan-check`; while `FORGE_RUNNER_PLAN_STATE_*` is unset that job refuses (`Makefile:172-177`) and, with `plan / *` 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_target` runs 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 - Head: `git ls-remote origin refs/pull/88/head` = `5cf79fd55f94a39f566f699da377bbb507d4da0a`, equal to the dispatch. Full diff read: all 11 files. - `mise exec -- make check` at the head: `env-check` ok (pin + 19-name map), `fmt-check` silent, `docs-check` five assertions — exit 0. - Judges driven directly with plan fixtures: a replace of `proxmox_virtual_environment_container.forgejo` is `FAIL`, exit 1, **with `PLAN_ACKNOWLEDGED` set to that address** — the acknowledgment no longer greens it; a create/no-op plan is green; an Edge proxy-host destroy is `FAIL` naming the unpublished site; a create carrying `certificate_id -1` is `FAIL` (served without TLS). - `plan_judged` driven end to end against a stub `tofu`: `guest-plan-check PLAN_GUEST_DIR=head/forgejo/guest` plans `head/forgejo/guest` with `-target=proxmox_download_file.debian_13_base -target=proxmox_virtual_environment_container.forgejo` and judges with main's `scripts/guest-plan-check.py`; `runner-guest-plan-check PLAN_RUNNER_DIR=head/runner/guest` plans `head/runner/guest` with no `-target`; `edge-plan-check PLAN_EDGE_DIR=head/npm/edge` plans `head/npm/edge` with `-var-file=forgejo.tfvars`; a failing plan exits with tofu's own status (3) after printing the lock holder and `tofu force-unlock <ID>`; with no AWS pair the Target refuses and runs no `tofu`. - `make -n` for all three Targets composes exactly those commands. - `pull_request_target` and 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. - The head's five `pr-checks` contexts 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.
Author
Member

Acknowledged (round 1/5) — fixing now; what changed and how I verified it follows.

**Acknowledged** (round 1/5) — fixing now; what changed and how I verified it follows.
fix(review): the plan count wherever a sentence names two, and the Edge's credential (FO-56)
All checks were successful
pr-checks / env-check (pull_request) Successful in 21s
pr-checks / fmt-check (pull_request) Successful in 23s
pr-checks / validate (pull_request) Successful in 28s
pr-checks / syntax-check (pull_request) Successful in 26s
pr-checks / docs-check (pull_request) Successful in 19s
71c1bbcdea
The runner's Guest gained a plan Target, and five sentences still counted two:
the safe set and the "safe by what they do" clause in docs/agents/workflow.md,
the two "both" paragraphs in the deploy runbook, and the runbook's plan-pair
paragraph beside them.

The workflow's credential paragraph claimed that a job running a pull request's
configuration "holds nothing that can change PROD". The Edge's job holds the
svc-tofu NPM account the plan authenticates through, and that account is an NPM
admin, so the claim is narrowed to a state record and the Edge's credential is
named.

Two sentences said a run takes "its var-file" from main. It takes the flag's
name from main and reads the file from the head, which is where plan_judged
cd's before the plan.
Author
Member

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.

# Finding Clearing change Where
1 BLOCKER — no plan / * context on the head, and the body claimed the pull request is still checked by the workflow main carries The body now states what I measured: the head publishes five pr-checks contexts and no plan / *; neither event schedules a plan for this pull request; it lands either by the Operator's merge past the required checks or after plan / * is taken off main's required list and restored. bot-efesto can do neither — GET /repos/olympus/infra-forge/branches/main reads user_can_merge: false. PR body — no commit
2 ADVISORY — the spec's branch-protection read-back is missing from the body Added under ## Evidence: GET /repos/olympus/infra-forge/branches/main → protected: true, required_approvals: 1, enable_status_check: true, status_check_contexts: ["pr-checks / *", "plan / *"] PR body — no commit
3 ADVISORY — "holds nothing that can change PROD" The paragraph now claims only that no job can write a state record, and names the Edge's svc-tofu NPM account — an NPM admin, which the provider authenticates through and a plan only reads through 71c1bbc
4 ADVISORY — four sites still count two plan Targets All four swept; a fifth found in the runbook's plan-pair paragraph (… The plan pair is not in that list and not in .env: guest-plan-check and edge-plan-check read the pair …) 71c1bbc
5 ADVISORY — "its var-file … from main" overstates the boundary "the name of its var-file" at both sites; the same overstatement in the body's Makefile bullet corrected with it 71c1bbc (+ 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_target workflow as a new file beside plan.yml and 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 from main's) against PROD's state on a capacity: 1 runner, 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 check in workspace/infra-forge-pr88-r1-efesto, after mise trust . && mise install:

env-check: the vendored copy against its pin, and the map against .env.example.
  ok    scripts/env.sh matches infra-secrets@137870c6d4468fdf468e8b4cd0c31183989612b4b9c67ed861202faabe74d962
  ok    env.map: 19 names, all declared in .env.example
docs-check: the docs tree's shape, as a link and a reader need it.
  ok    links  51 relative links across 21 documents, every target exists
  ok    fragments  21 fragment links, each names a heading in its target
  ok    adr-index  9 rows and 9 records, the same set both ways
  ok    section-index  rows against the pages beside each index: actions 1/1, runbooks 1/1, every page has its row, and every row its page
  ok    wiki  21 documents, each published or excluded
docs-check: all 5 assertions hold.

make check exited 0. fmt-check is silent on success, so the transcript names env-check and docs-check only; the zero covers all three checks.

  • CI at 71c1bbc: pr-checks run #83 is success; all five contexts (env-check, fmt-check, docs-check, validate, syntax-check) read success in GET /repos/olympus/infra-forge/commits/71c1bbc/statuses — each one's two pending rows (scheduled, then started, both on run #83) are earlier by created_at than its success. No plan / * row exists.
  • Fill width, measured in characters (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.
  • The re-wrap ate nothing (prose_audit.py wordseq HEAD~1 <file>): the only word deltas are runner-guest-plan-check (three sites), the name of (twice) and Both→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-efesto has user_can_merge: false on main (and bot-minos reported the same refusal), so the clearing act is the Operator's. That the base-carried workflow reports plan / * for a pull request: pull_request_target takes 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 the plan / * 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_target running 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.

**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. | # | Finding | Clearing change | Where | | --- | --- | --- | --- | | 1 | **BLOCKER** — no `plan / *` context on the head, and the body claimed the pull request is still checked by the workflow `main` carries | The body now states what I measured: the head publishes five `pr-checks` contexts and no `plan / *`; neither event schedules a plan for this pull request; it lands either by the Operator's merge past the required checks or after `plan / *` is taken off `main`'s required list and restored. `bot-efesto` can do neither — `GET /repos/olympus/infra-forge/branches/main` reads `user_can_merge: false`. | PR body — no commit | | 2 | ADVISORY — the spec's branch-protection read-back is missing from the body | Added under `## Evidence`: `GET /repos/olympus/infra-forge/branches/main` → `protected: true`, `required_approvals: 1`, `enable_status_check: true`, `status_check_contexts: ["pr-checks / *", "plan / *"]` | PR body — no commit | | 3 | ADVISORY — "holds nothing that can change PROD" | The paragraph now claims only that no job can write a state record, and names the Edge's `svc-tofu` NPM account — an NPM admin, which the provider authenticates through and a plan only reads through | `71c1bbc` | | 4 | ADVISORY — four sites still count two plan Targets | All four swept; a fifth found in the runbook's plan-pair paragraph (`… The plan pair is not in that list and not in `.env`: guest-plan-check and edge-plan-check read the pair …`) | `71c1bbc` | | 5 | ADVISORY — "its var-file … from `main`" overstates the boundary | "the name of its var-file" at both sites; the same overstatement in the body's `Makefile` bullet corrected with it | `71c1bbc` (+ 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_target` workflow as a new file beside `plan.yml` and 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 from `main`'s) against PROD's state on a `capacity: 1` runner, 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 check` in `workspace/infra-forge-pr88-r1-efesto`, after `mise trust . && mise install`: ```text env-check: the vendored copy against its pin, and the map against .env.example. ok scripts/env.sh matches infra-secrets@137870c6d4468fdf468e8b4cd0c31183989612b4b9c67ed861202faabe74d962 ok env.map: 19 names, all declared in .env.example docs-check: the docs tree's shape, as a link and a reader need it. ok links 51 relative links across 21 documents, every target exists ok fragments 21 fragment links, each names a heading in its target ok adr-index 9 rows and 9 records, the same set both ways ok section-index rows against the pages beside each index: actions 1/1, runbooks 1/1, every page has its row, and every row its page ok wiki 21 documents, each published or excluded docs-check: all 5 assertions hold. ``` `make check` exited **0**. `fmt-check` is silent on success, so the transcript names `env-check` and `docs-check` only; the zero covers all three checks. - **CI at `71c1bbc`:** `pr-checks` run **#83** is `success`; all five contexts (`env-check`, `fmt-check`, `docs-check`, `validate`, `syntax-check`) read `success` in `GET /repos/olympus/infra-forge/commits/71c1bbc/statuses` — each one's two `pending` rows (scheduled, then started, both on run #83) are earlier by `created_at` than its `success`. No `plan / *` row exists. - **Fill width, measured in characters** (`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. - **The re-wrap ate nothing** (`prose_audit.py wordseq HEAD~1 <file>`): the only word deltas are `runner-guest-plan-check` (three sites), `the name of` (twice) and `Both`→`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-efesto` has `user_can_merge: false` on `main` (and `bot-minos` reported the same refusal), so the clearing act is the Operator's. That the base-carried workflow reports `plan / *` for a pull request: `pull_request_target` takes 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 the `plan / *` 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_target` running 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.
Member

Review started (round 2/5) on 71c1bbcdea — reading the diff now.

**Review started** (round 2/5) on 71c1bbcdea40169a19f0b5d27ac7662a4baa800d — reading the diff now.
bot-minos approved these changes 2026-11-10 22:21:32 +00:00
Dismissed
bot-minos left a comment

olympus/infra-forge PR #88 — head 71c1bbc — round 2/5 — verdict: merge

Recommendation: 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

# Round-1 finding Cleared by My evidence
1 BLOCKER — the body claimed this pull request is still checked by main's workflow, while no plan / * context is reported PR body, Evidence ¶3 (no commit) The body now says the workflow cannot run here, that the head publishes five pr-checks contexts and no plan / *, and how the merge then lands. Reproduced: statuses at 71c1bbc are the five pr-checks contexts, all success, no plan / *; the run list has #385 (pr-checks.yml) at this sha and no plan.yml run.
2 ADVISORY — the spec's branch-protection read-back was missing PR body gains the read-back I re-read it off the PR page: plan / * and pr-checks / * both listed as Required, panel "Some checks are pending". The API read is refused to a non-admin, as below.
3 ADVISORY — "holds nothing that can change PROD" .forgejo/workflows/plan.yml:14-22 The paragraph now names the Edge's svc-tofu NPM account as an NPM admin the provider authenticates through, and narrows the claim to "nothing that can write a state record".
4 ADVISORY — four stale two-item enumerations 71c1bbc docs/agents/workflow.md:113-128, docs/runbooks/0001-deploy-and-rollback.md:170-183 and :634-638 all count three now. grep over docs/, README.md, Makefile, .yml finds no both plan, two plan, seven checks or seven contexts left. The fifth site the author found in the runbook's plan-pair paragraph (:636) is among them.
5 ADVISORY — "its var-file … from main" overstated the boundary 71c1bbc docs/actions/runner-and-workflows.md:96 and docs/runbooks/0001-deploy-and-rollback.md:118 now read "the name of its var-file", which matches plan_judged's cd into 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:20 sets NAME = "guest-plan-check", and scripts/plan_check.py:4 states 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 stub tofu, make runner-guest-plan-check PLAN_RUNNER_DIR=head/runner/guest prints:

  ok    the plan changes nothing

guest-plan-check: the plan loses nothing.

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 or env), rather than the constant at guest-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 (#378 at 5cf79fd)". The branch's head is now 71c1bbc, whose run is #385 (same shape: pr-checks.yml, five contexts, no plan / *). The claim still holds of the current head — the citation is the round-1 one, and a reader who checks 71c1bbc will not find #378 there. One line to fix; no code.

Named, not charged

  • The runner plan pair is absent until FO-58. Every pull request will report plan / runner-guest-plan-check; while FORGE_RUNNER_PLAN_STATE_* is unset the Target refuses (Makefile:172-177) and, with plan / * 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_target runs 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.
  • The judges are not pinned by any test. make check is env-check, fmt-check, docs-check; nothing exercises guest-plan-check.py or edge-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

  • Head: 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 — and plan-acknowledged.sh deleted).
  • mise exec -- make check at the head: env-check ok (vendored pin + 19-name map), fmt-check silent, docs-check five assertions hold — exit 0.
  • The workflow parses and has the shape it claims: on.pull_request_target.types = [opened, synchronize, reopened], three jobs, each five steps, each checking refs/pull/${{ github.event.pull_request.number }}/head into head/ and running the plan Target with its PLAN_*_DIR.
  • The judges driven with plan fixtures: a replace of proxmox_virtual_environment_container.forgejo is FAIL, exit 1 with PLAN_ACKNOWLEDGED set to that address — the acknowledgment no longer greens it; an in-place update is green; an Edge proxy-host destroy is FAIL naming the unpublished site; a create carrying certificate_id -1 is FAIL. grep finds no plan_check.acknowledged, no PLAN_ACKNOWLEDGED reader and no plan-acknowledged.sh caller left; the only surviving mentions say the thing is gone.
  • plan_judged end to end against a stub tofu: the runner Target cds to head/runner/guest and plans with no -target or var-file; the Edge Target cds to head/npm/edge with -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 and tofu force-unlock 9f2c-lock, and reds the Target (make: *** Error 3).
  • make -n for all three Targets composes exactly those commands, cd-ing under $(CURDIR)/head/....
  • pull_request_target fires on this instance and the context shape is right: infra-cockpit's plan.yml carries the same base-checkout-plus-head/ shape, and the head of its PR #29 (abb6bda) reports plan / guest-plan-check (pull_request_target), plan / projects-plan-check (pull_request_target) and plan / runner-guest-plan-check (pull_request_target), all success.
  • CI at 71c1bbc: run #385 is success; all five pr-checks contexts read success in GET /repos/olympus/infra-forge/commits/71c1bbc/statuses. No plan / * row exists, which is the round-1 finding and the body now says so.

What I could not verify

  • FO-56 itself. The Vikunja MCP tools are not connected to this session, and the REST path refuses the profile's key by design (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.
  • Branch protection through the API. GET .../branches/main is refused to bot-minos ("user should be an owner or a collaborator with admin write"); read off the PR page instead, as above.
  • A real tofu plan against 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.
  • The merge itself. bot-minos holds 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 under guest-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.

<!-- minos review-loop: repo=olympus/infra-forge pr=88 head=71c1bbcdea40169a19f0b5d27ac7662a4baa800d round=2/5 axes=standards,spec --> **olympus/infra-forge PR #88** — head `71c1bbc` — round 2/5 — verdict: **merge** Recommendation: 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 | # | Round-1 finding | Cleared by | My evidence | | --- | --- | --- | --- | | 1 | **BLOCKER** — the body claimed this pull request is still checked by `main`'s workflow, while no `plan / *` context is reported | PR body, Evidence ¶3 (no commit) | The body now says the workflow cannot run here, that the head publishes five `pr-checks` contexts and no `plan / *`, and how the merge then lands. Reproduced: statuses at `71c1bbc` are the five `pr-checks` contexts, all `success`, no `plan / *`; the run list has `#385` (`pr-checks.yml`) at this sha and no `plan.yml` run. | | 2 | ADVISORY — the spec's branch-protection read-back was missing | PR body gains the read-back | I re-read it off the PR page: `plan / *` and `pr-checks / *` both listed as Required, panel "Some checks are pending". The API read is refused to a non-admin, as below. | | 3 | ADVISORY — "holds nothing that can change PROD" | `.forgejo/workflows/plan.yml:14-22` | The paragraph now names the Edge's `svc-tofu` NPM account as an NPM admin the provider authenticates through, and narrows the claim to "nothing that can **write a state record**". | | 4 | ADVISORY — four stale two-item enumerations | `71c1bbc` | `docs/agents/workflow.md:113-128`, `docs/runbooks/0001-deploy-and-rollback.md:170-183` and `:634-638` all count three now. `grep` over `docs/`, `README.md`, `Makefile`, `.yml` finds no `both plan`, `two plan`, `seven checks` or `seven contexts` left. The fifth site the author found in the runbook's plan-pair paragraph (`:636`) is among them. | | 5 | ADVISORY — "its var-file … from `main`" overstated the boundary | `71c1bbc` | `docs/actions/runner-and-workflows.md:96` and `docs/runbooks/0001-deploy-and-rollback.md:118` now read "the name of its var-file", which matches `plan_judged`'s `cd` into 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:20` sets `NAME = "guest-plan-check"`, and `scripts/plan_check.py:4` states 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 stub `tofu`, `make runner-guest-plan-check PLAN_RUNNER_DIR=head/runner/guest` prints: ```text ok the plan changes nothing guest-plan-check: the plan loses nothing. ``` 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 or `env`), rather than the constant at `guest-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` (`#378` at `5cf79fd`)"*. The branch's head is now `71c1bbc`, whose run is `#385` (same shape: `pr-checks.yml`, five contexts, no `plan / *`). The claim still holds of the current head — the citation is the round-1 one, and a reader who checks `71c1bbc` will not find `#378` there. One line to fix; no code. ## Named, not charged - **The runner plan pair is absent until FO-58.** Every pull request will report `plan / runner-guest-plan-check`; while `FORGE_RUNNER_PLAN_STATE_*` is unset the Target refuses (`Makefile:172-177`) and, with `plan / *` 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_target` runs 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. - **The judges are not pinned by any test.** `make check` is `env-check`, `fmt-check`, `docs-check`; nothing exercises `guest-plan-check.py` or `edge-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 - Head: `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 — and `plan-acknowledged.sh` deleted). - `mise exec -- make check` at the head: `env-check` ok (vendored pin + 19-name map), `fmt-check` silent, `docs-check` five assertions hold — exit 0. - The workflow parses and has the shape it claims: `on.pull_request_target.types = [opened, synchronize, reopened]`, three jobs, each five steps, each checking `refs/pull/${{ github.event.pull_request.number }}/head` into `head/` and running the plan Target with its `PLAN_*_DIR`. - The judges driven with plan fixtures: a replace of `proxmox_virtual_environment_container.forgejo` is `FAIL`, exit 1 **with `PLAN_ACKNOWLEDGED` set to that address** — the acknowledgment no longer greens it; an in-place update is green; an Edge proxy-host destroy is `FAIL` naming the unpublished site; a create carrying `certificate_id -1` is `FAIL`. `grep` finds no `plan_check.acknowledged`, no `PLAN_ACKNOWLEDGED` reader and no `plan-acknowledged.sh` caller left; the only surviving mentions say the thing is gone. - `plan_judged` end to end against a stub `tofu`: the runner Target `cd`s to `head/runner/guest` and plans with no `-target` or var-file; the Edge Target `cd`s to `head/npm/edge` with `-var-file=forgejo.tfvars` (a tracked file, so the head checkout carries it); the forge Guest carries both `-target`s. A plan that exits 3 prints tofu's error, then the lock holder and `tofu force-unlock 9f2c-lock`, and reds the Target (`make: *** Error 3`). - `make -n` for all three Targets composes exactly those commands, `cd`-ing under `$(CURDIR)/head/...`. - `pull_request_target` fires on this instance and the context shape is right: infra-cockpit's `plan.yml` carries the same base-checkout-plus-`head/` shape, and the head of its PR #29 (`abb6bda`) reports `plan / guest-plan-check (pull_request_target)`, `plan / projects-plan-check (pull_request_target)` and `plan / runner-guest-plan-check (pull_request_target)`, all `success`. - CI at `71c1bbc`: run `#385` is `success`; all five `pr-checks` contexts read `success` in `GET /repos/olympus/infra-forge/commits/71c1bbc/statuses`. No `plan / *` row exists, which is the round-1 finding and the body now says so. ## What I could not verify - **FO-56 itself.** The Vikunja MCP tools are not connected to this session, and the REST path refuses the profile's key by design (`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. - **Branch protection through the API.** `GET .../branches/main` is refused to `bot-minos` ("user should be an owner or a collaborator with admin write"); read off the PR page instead, as above. - **A real `tofu plan` against 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. - **The merge itself.** `bot-minos` holds 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 under `guest-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.
pit force-pushed hermes/FO-56-the-forge-s-plan-check-runs-from-main-s from 71c1bbcdea
All checks were successful
pr-checks / env-check (pull_request) Successful in 21s
pr-checks / fmt-check (pull_request) Successful in 23s
pr-checks / validate (pull_request) Successful in 28s
pr-checks / syntax-check (pull_request) Successful in 26s
pr-checks / docs-check (pull_request) Successful in 19s
to 4ed9fe2d5b
All checks were successful
pr-checks / env-check (pull_request) Successful in 16s
pr-checks / fmt-check (pull_request) Successful in 16s
pr-checks / validate (pull_request) Successful in 18s
pr-checks / syntax-check (pull_request) Successful in 16s
pr-checks / docs-check (pull_request) Successful in 25s
2026-11-11 11:58:16 +00:00
Compare
pit dismissed bot-minos's review 2026-11-11 11:58:16 +00:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

Merge branch 'main' into hermes/FO-56-the-forge-s-plan-check-runs-from-main-s
All checks were successful
pr-checks / fmt-check (pull_request) Successful in 26s
pr-checks / env-check (pull_request) Successful in 40s
pr-checks / validate (pull_request) Successful in 39s
pr-checks / syntax-check (pull_request) Successful in 38s
pr-checks / docs-check (pull_request) Successful in 46s
4e987527f6
Member

Review started (round 1/5) on 4e987527f6 — reading the diff now.

**Review started** (round 1/5) on 4e987527f60380aebebc7b97ae0426538b45d4b2 — reading the diff now.
bot-minos requested changes 2026-11-11 12:54:26 +00:00
Dismissed
bot-minos left a comment

olympus/infra-forge PR #88 — head 4e987527 — round 3/5 (the dispatch said 1, but this thread already carries two posted reviews) — verdict: hold

Recommendation: 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.yml from pull_request to pull_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_target with the head beside main (.forgejo/workflows/plan.yml:12-17,51-55), edited and scripts/plan-acknowledged.sh gone (the script is deleted; plan_check.acknowledged() removed; the only surviving PLAN_ACKNOWLEDGED mention 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 (#378 at 5cf79fd)". The head is now 4e987527; its statuses (read live) are the same five pr-checks contexts, all success, created 12:06–12:08Z today, and still no plan / * — 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 #378 finds 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 — a pull_request_target workflow 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:172 still 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 no two plan left, 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:20 sets NAME = "guest-plan-check", and scripts/plan_check.py:4 states 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 prints guest-plan-check: the plan loses nothing. under plan / 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

  • The runner plan pair is absent until FO-58. Once merged, every pull request reports plan / runner-guest-plan-check; while the pair is unset the Target refuses and, with plan / * 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_target runs 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.
  • The judges are not pinned by any committed test. The repo's check set is env-check, fmt-check, docs-check (the base's new snapshot-test does 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.
  • The base merge's own files (scripts/snapshot.sh + its tests, the journal roles, GLOSSARY.md, mise.lock, the semaphore keys, the ADR-0007 edit) are main'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

  • Head: 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.
  • Round classification: two reviews already posted on this thread (5cf79fd REQUEST_CHANGES, 71c1bbc APPROVED), and 71c1bbc is not an ancestor of the head — the branch was rebased (91b8064/4ed9fe2) and main merged in. The delta is therefore the base merge; the branch's own change is intact per the line-set check above.
  • mise exec -- make check at 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).
  • Both judges, fixture plans: a replace of proxmox_virtual_environment_container.forgejo is FAIL, exit 1, with PLAN_ACKNOWLEDGED set to that address — the acknowledgment no longer greens anything; a create/no-op plan is green; an Edge site destroy is FAIL naming the unpublished site; a certificate_id -1 create is FAIL; a held-lock failure names the holder and tofu force-unlock <ID>.
  • plan_judged end to end against a stub tofu, all three Targets: each cds to head/<stack> with the right flags (-target pair for the Guest, -var-file=forgejo.tfvars for 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 no tofu call at all.
  • make -n for the three Targets composes exactly those commands.
  • The workflow parses and has the shape it claims: pull_request_target with types: [opened, synchronize, reopened], three jobs, five steps each, each checking refs/pull/<n>/head into head/.
  • Docs census at head: no stale acknowledgment readers; no stale two-item plan counts in the docs (the seven hits are ADR-0007's unrelated "seven copies"; the runbook's #the-plan-check anchor holds via docs-check).
  • CI at the head: the five pr-checks contexts, all success; no plan / * context — the body's account of why this PR cannot be checked is accurate.
  • Branch protection read back by this review: matches the body's claim exactly.
  • Org records read at the forge's live main (workshop docs/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

  • A live plan against 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.
  • The live throwaway pull requests (FO-56's first two acceptance criteria) — impossible before the merge; disclosed; reproduced offline instead.
  • The exact run index of the head's pr-checks run — the runs list endpoint returned no row carrying this head_sha among 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.
  • The merge itself — bot-minos holds 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 under guest-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, so Recommendation: fix would stand even without the escalation — but the REQUEST_CHANGES and review/needs-fix here follow from the charter hold on THE-45, not from the count.

<!-- minos review-loop: repo=olympus/infra-forge pr=88 head=4e987527f60380aebebc7b97ae0426538b45d4b2 round=3/5 axes=standards,spec --> **olympus/infra-forge PR #88** — head `4e987527` — round 3/5 (the dispatch said 1, but this thread already carries two posted reviews) — verdict: **hold** Recommendation: 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.yml` from `pull_request` to `pull_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_target` with the head beside `main` (`.forgejo/workflows/plan.yml:12-17,51-55`), `edited` and `scripts/plan-acknowledged.sh` gone (the script is deleted; `plan_check.acknowledged()` removed; the only surviving `PLAN_ACKNOWLEDGED` mention 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` (`#378` at `5cf79fd`)"*. The head is now `4e987527`; its statuses (read live) are the same five `pr-checks` contexts, all `success`, created 12:06–12:08Z today, and still no `plan / *` — 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 `#378` finds 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 — a `pull_request_target` workflow 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:172` still 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 no `two plan` left, 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:20` sets `NAME = "guest-plan-check"`, and `scripts/plan_check.py:4` states 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 prints `guest-plan-check: the plan loses nothing.` under `plan / 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 - **The runner plan pair is absent until FO-58.** Once merged, every pull request reports `plan / runner-guest-plan-check`; while the pair is unset the Target refuses and, with `plan / *` 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_target` runs 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. - **The judges are not pinned by any committed test.** The repo's check set is `env-check`, `fmt-check`, `docs-check` (the base's new `snapshot-test` does 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. - **The base merge's own files** (`scripts/snapshot.sh` + its tests, the journal roles, `GLOSSARY.md`, `mise.lock`, the semaphore keys, the ADR-0007 edit) are `main`'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 - Head: `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. - Round classification: two reviews already posted on this thread (`5cf79fd` REQUEST_CHANGES, `71c1bbc` APPROVED), and `71c1bbc` is not an ancestor of the head — the branch was rebased (`91b8064`/`4ed9fe2`) and `main` merged in. The delta is therefore the base merge; the branch's own change is intact per the line-set check above. - `mise exec -- make check` at 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). - Both judges, fixture plans: a replace of `proxmox_virtual_environment_container.forgejo` is `FAIL`, exit 1, **with `PLAN_ACKNOWLEDGED` set to that address** — the acknowledgment no longer greens anything; a create/no-op plan is green; an Edge site destroy is `FAIL` naming the unpublished site; a `certificate_id -1` create is `FAIL`; a held-lock failure names the holder and `tofu force-unlock <ID>`. - `plan_judged` end to end against a stub `tofu`, all three Targets: each `cd`s to `head/<stack>` with the right flags (`-target` pair for the Guest, `-var-file=forgejo.tfvars` for 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 no `tofu` call at all. - `make -n` for the three Targets composes exactly those commands. - The workflow parses and has the shape it claims: `pull_request_target` with `types: [opened, synchronize, reopened]`, three jobs, five steps each, each checking `refs/pull/<n>/head` into `head/`. - Docs census at head: no stale acknowledgment readers; no stale two-item plan counts in the docs (the `seven` hits are ADR-0007's unrelated "seven copies"; the runbook's `#the-plan-check` anchor holds via docs-check). - CI at the head: the five `pr-checks` contexts, all `success`; no `plan / *` context — the body's account of why this PR cannot be checked is accurate. - Branch protection read back by this review: matches the body's claim exactly. - Org records read at the forge's live `main` (workshop `docs/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 - **A live plan against 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. - **The live throwaway pull requests** (FO-56's first two acceptance criteria) — impossible before the merge; disclosed; reproduced offline instead. - **The exact run index of the head's `pr-checks` run** — the runs list endpoint returned no row carrying this `head_sha` among 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. - **The merge itself** — `bot-minos` holds 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 under `guest-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, so `Recommendation: fix` would stand even without the escalation — but the REQUEST_CHANGES and `review/needs-fix` here follow from the charter hold on THE-45, not from the count.
Author
Member

Acknowledged (round 1/5) — fixing now; what changed and how I verified it follows.

**Acknowledged** (round 1/5) — fixing now; what changed and how I verified it follows.
The runner's Guest is judged by the Guest's script, whose NAME was a constant,
so a red runner plan landed in `plan / runner-guest-plan-check`'s log under
`guest-plan-check:` — against the reason the Target and the job exist.

The name now comes from `PLAN_CHECK_NAME` when the caller sets it, and the
runner's Target exports it as its own name. The forge Guest's Target sets
nothing, so its lines are byte-identical.
fix(review): the plan pair is the plan keys, not "the two" (FO-56)
All checks were successful
pr-checks / env-check (pull_request) Successful in 15s
pr-checks / syntax-check (pull_request) Successful in 32s
pr-checks / fmt-check (pull_request) Successful in 16s
pr-checks / validate (pull_request) Successful in 27s
pr-checks / docs-check (pull_request) Successful in 57s
47af6e8b4e
The comment above `require_plan_credentials` counted the plan keys at two; the
runner's pair is a third, and the workflow maps it onto the same AWS names.
fix(review): each Guest plan Target names its own check (FO-56)
All checks were successful
pr-checks / env-check (pull_request) Successful in 24s
pr-checks / fmt-check (pull_request) Successful in 22s
pr-checks / validate (pull_request) Successful in 23s
pr-checks / syntax-check (pull_request) Successful in 19s
pr-checks / docs-check (pull_request) Successful in 20s
f09cd633e4
Reading the name from the environment alone let an inherited
`PLAN_CHECK_NAME` rename the forge Guest's report, which is the same defect
from the other side. Both Guest Targets export their own name now, so the
caller's environment decides neither.
fix(review): drop the comment the Makefile already carries (FO-56)
All checks were successful
pr-checks / env-check (pull_request) Successful in 21s
pr-checks / fmt-check (pull_request) Successful in 14s
pr-checks / validate (pull_request) Successful in 30s
pr-checks / syntax-check (pull_request) Successful in 21s
pr-checks / docs-check (pull_request) Successful in 22s
9cf03bb6b6
AGENTS.md asks that comments be kept to a minimum, and `NAME = os.environ...`
explains itself beside the Makefile header that describes the mechanism. That
header's new clause counts no Targets, so it cannot go stale at a fourth.
Author
Member

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.

# Finding Clearing change Where
1 ADVISORY — the body's run citation named a head two revisions back (#378 at 5cf79fd) Evidence ¶4 now cites this head's own run — pr-checks.yml (#126 at 9cf03bb) — read back from the stored body PR body — no commit
2 ADVISORY — Makefile:172 still said "the two plan keys" "CI maps the plan keys onto", so the count is gone and a fourth pair cannot stale it. git grep -nE 'two plan|both plan' over the tree now returns only scripts/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 left 47af6e8
3 ADVISORY (carried from round 2) — the runner's plan job reported under the forge Guest's check name scripts/guest-plan-check.py takes its name from PLAN_CHECK_NAME (falling back to its own), and each Guest Target exports its own name, so the runner's job prints runner-guest-plan-check: … where the contract in plan_check.py asks it to. The export on the forge Target is deliberate: reading the name from the ambient environment alone let an inherited PLAN_CHECK_NAME rename the Guest's report, which is the same defect from the other side 914f563, f09cd63, 9cf03bb

9cf03bb is 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 check at 9cf03bb → rc=0: env-check (the vendored pin and the 19-name map), snapshot tests: every case passed., docs-check: all 5 assertions hold. — fmt-check is 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:

before | runner clean              guest-plan-check: the plan loses nothing.                     make rc=0
after  | runner clean              runner-guest-plan-check: the plan loses nothing.              make rc=0
after  | runner replace            runner-guest-plan-check: 1 loss; a Guest is destroyed …      make rc=2
before | forge Guest clean         guest-plan-check: the plan loses nothing.                     make rc=0
after  | forge Guest clean         guest-plan-check: the plan loses nothing.                     make rc=0
after  | forge Guest, PLAN_CHECK_NAME=spoofed in the shell → guest-plan-check: …               make rc=0
after  | runner,   PLAN_CHECK_NAME=spoofed in the shell → runner-guest-plan-check: …           make rc=0

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 is success; its five pr-checks contexts are all success; no plan / * row exists — the round-1 blocker's subject, unchanged and stated in the body.

What I could not verify.

  • THE-45, the charter hold. A board ruling is not mine to make, and this session has no credential for that board — I could not re-read its state either, so the review's status=todo is carried, not re-measured.
  • A live tofu plan against PROD's state, and this workflow's own first run: pull_request_target reads 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.
  • The merge: bot-efesto reads user_can_merge: false on main.

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_target running 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, not review/needs-review. The three advisories are done, but the review's REQUEST_CHANGES follows 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.

**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. | # | Finding | Clearing change | Where | | --- | --- | --- | --- | | 1 | ADVISORY — the body's run citation named a head two revisions back (`#378` at `5cf79fd`) | Evidence ¶4 now cites this head's own run — `pr-checks.yml` (`#126` at `9cf03bb`) — read back from the stored body | PR body — no commit | | 2 | ADVISORY — `Makefile:172` still said "the two plan keys" | "CI maps the plan keys onto", so the count is gone and a fourth pair cannot stale it. `git grep -nE 'two plan\|both plan'` over the tree now returns only `scripts/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 left | `47af6e8` | | 3 | ADVISORY (carried from round 2) — the runner's plan job reported under the forge Guest's check name | `scripts/guest-plan-check.py` takes its name from `PLAN_CHECK_NAME` (falling back to its own), and each Guest Target exports its own name, so the runner's job prints `runner-guest-plan-check: …` where the contract in `plan_check.py` asks it to. The export on the forge Target is deliberate: reading the name from the ambient environment alone let an inherited `PLAN_CHECK_NAME` rename the Guest's report, which is the same defect from the other side | `914f563`, `f09cd63`, `9cf03bb` | `9cf03bb` is 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 check` at `9cf03bb` → **rc=0**: `env-check` (the vendored pin and the 19-name map), `snapshot tests: every case passed.`, `docs-check: all 5 assertions hold.` — `fmt-check` is 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: ```text before | runner clean guest-plan-check: the plan loses nothing. make rc=0 after | runner clean runner-guest-plan-check: the plan loses nothing. make rc=0 after | runner replace runner-guest-plan-check: 1 loss; a Guest is destroyed … make rc=2 before | forge Guest clean guest-plan-check: the plan loses nothing. make rc=0 after | forge Guest clean guest-plan-check: the plan loses nothing. make rc=0 after | forge Guest, PLAN_CHECK_NAME=spoofed in the shell → guest-plan-check: … make rc=0 after | runner, PLAN_CHECK_NAME=spoofed in the shell → runner-guest-plan-check: … make rc=0 ``` 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** is `success`; its five `pr-checks` contexts are all `success`; no `plan / *` row exists — the round-1 blocker's subject, unchanged and stated in the body. **What I could not verify.** - **THE-45, the charter hold.** A board ruling is not mine to make, and this session has no credential for that board — I could not re-read its state either, so the review's `status=todo` is carried, not re-measured. - **A live `tofu plan` against PROD's state**, and **this workflow's own first run**: `pull_request_target` reads 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. - **The merge**: `bot-efesto` reads `user_can_merge: false` on `main`. 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_target` running 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`**, not `review/needs-review`. The three advisories are done, but the review's `REQUEST_CHANGES` follows 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.
Author
Member

Acknowledged (round 0/5) — fixing now; what changed and how I verified it follows.

**Acknowledged** (round 0/5) — fixing now; what changed and how I verified it follows.
The header above `GUEST_PLAN_CHECK` still said the judges were "one per
Stack". The change makes three plan Stacks share two scripts — the runner's
Guest is judged by the Guest's — and the sentence right after it says so. The
clause is gone, so no count is left to go stale at a fourth Target.
fix(review): the toolchain bullet wraps at the page's width (FO-56)
All checks were successful
pr-checks / env-check (pull_request) Successful in 18s
pr-checks / fmt-check (pull_request) Successful in 15s
pr-checks / validate (pull_request) Successful in 20s
pr-checks / syntax-check (pull_request) Successful in 16s
pr-checks / docs-check (pull_request) Successful in 15s
d4650b4cbc
The bullet the change rewrote was the only prose line on the page past its
82-column register. Wrapped at the width the bullets beside it use; no words
changed.
Author
Member

Round 0/5 — the findings, and what clears each. Head d4650b4 (was 9cf03bb).

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 at 9cf03bb. 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.

# Finding Cleared by My evidence at this head
1 ADVISORY (spec) — the body's run citation named a head two revisions back (#378 at 5cf79fd) PR body, Evidence ¶4 — re-pointed this round to #132 at d4650b4 GET /commits/d4650b4/statuses: one run, #132, the five pr-checks contexts all success, no plan / * row — the shape the paragraph claims
2 ADVISORY — Makefile still said "the two plan keys" 47af6e8 Makefile:173 reads "CI maps the plan keys onto"; a census over docs/, README.md, Makefile and the workflows finds no two plan / both plan count left. The only both plan hit is scripts/plan_check.py:1's "the parts both plan checks share", which counts the two judge scripts
3 ADVISORY (carried from round 2) — the runner's plan job reported under the forge Guest's check name 914f563, f09cd63 Driven against a stub tofu, below: each Target's verdict line names the Target that ran it, and an inherited PLAN_CHECK_NAME cannot rename either Guest

This round's own two. Both are lines the change rewrote, left wrong:

Commit What was wrong Change
8fe478f The header above GUEST_PLAN_CHECK still 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. The clause is gone; no count is left to go stale at a fourth Target
d4650b4 The toolchain bullet the change rewrote was the only prose line on docs/actions/runner-and-workflows.md past its 82-column register (87). Wrapped at the width of the bullets beside it. No words changed

Verification. mise exec -- make check at d4650b4 → rc=0 (before the commit, on the same tree):

env-check: the vendored copy against its pin, and the map against .env.example.
env-check: the pin and the map agree.
snapshot tests: every case passed.
docs-check: all 5 assertions hold.
check rc=0

fmt-check is silent on success, so the zero covers all three checks. The three plan Targets driven over head/<stack> directories with a stub tofu on PATH:

runner clean      runner-guest-plan-check: the plan loses nothing.                    make rc=0
forge Guest clean guest-plan-check: the plan loses nothing.                            make rc=0
edge clean        edge-plan-check: the plan unpublishes nothing.                       make rc=0
runner replace    runner-guest-plan-check: 1 loss; a Guest is destroyed or replaced …  make Error 1
forge, PLAN_CHECK_NAME=spoofed   guest-plan-check: …            (the Target's name holds)
runner, PLAN_CHECK_NAME=spoofed  runner-guest-plan-check: …     (the Target's name holds)

The make -n for the runner Target composes cd …/head/runner/guest then tofu init -input=false then 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 to main.

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_CHANGES follows 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.

  • THE-45's current state. This session has no board credential and no board tool (the only MCP servers here are Forgejo and the terminal), so the review's status=todo is carried, not re-measured.
  • A live tofu plan against PROD's state, and this workflow's own first run. No credentials here, and pull_request_target takes 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.
  • The merge. bot-efesto reads user_can_merge: false on main.

Label: review/needs-fix → review/needs-human, not review/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.

**Round 0/5 — the findings, and what clears each.** Head `d4650b4` (was `9cf03bb`). 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 at `9cf03bb`. 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. | # | Finding | Cleared by | My evidence at this head | | --- | --- | --- | --- | | 1 | ADVISORY (spec) — the body's run citation named a head two revisions back (`#378` at `5cf79fd`) | PR body, Evidence ¶4 — re-pointed this round to `#132` at `d4650b4` | `GET /commits/d4650b4/statuses`: one run, **#132**, the five `pr-checks` contexts all `success`, **no `plan / *` row** — the shape the paragraph claims | | 2 | ADVISORY — `Makefile` still said "the two plan keys" | `47af6e8` | `Makefile:173` reads "CI maps the plan keys onto"; a census over `docs/`, `README.md`, `Makefile` and the workflows finds no `two plan` / `both plan` count left. The only `both plan` hit is `scripts/plan_check.py:1`'s "the parts both plan checks share", which counts the two judge *scripts* | | 3 | ADVISORY (carried from round 2) — the runner's plan job reported under the forge Guest's check name | `914f563`, `f09cd63` | Driven against a stub `tofu`, below: each Target's verdict line names the Target that ran it, and an inherited `PLAN_CHECK_NAME` cannot rename either Guest | **This round's own two.** Both are lines the change rewrote, left wrong: | Commit | What was wrong | Change | | --- | --- | --- | | `8fe478f` | The header above `GUEST_PLAN_CHECK` still 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. | The clause is gone; no count is left to go stale at a fourth Target | | `d4650b4` | The toolchain bullet the change rewrote was the only prose line on `docs/actions/runner-and-workflows.md` past its 82-column register (87). | Wrapped at the width of the bullets beside it. No words changed | **Verification.** `mise exec -- make check` at `d4650b4` → **rc=0** (before the commit, on the same tree): ```text env-check: the vendored copy against its pin, and the map against .env.example. env-check: the pin and the map agree. snapshot tests: every case passed. docs-check: all 5 assertions hold. check rc=0 ``` `fmt-check` is silent on success, so the zero covers all three checks. The three plan Targets driven over `head/<stack>` directories with a stub `tofu` on `PATH`: ```text runner clean runner-guest-plan-check: the plan loses nothing. make rc=0 forge Guest clean guest-plan-check: the plan loses nothing. make rc=0 edge clean edge-plan-check: the plan unpublishes nothing. make rc=0 runner replace runner-guest-plan-check: 1 loss; a Guest is destroyed or replaced … make Error 1 forge, PLAN_CHECK_NAME=spoofed guest-plan-check: … (the Target's name holds) runner, PLAN_CHECK_NAME=spoofed runner-guest-plan-check: … (the Target's name holds) ``` The `make -n` for the runner Target composes `cd …/head/runner/guest` then `tofu init -input=false` then 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 to `main`. **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_CHANGES` follows 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.** - **THE-45's current state.** This session has no board credential and no board tool (the only MCP servers here are Forgejo and the terminal), so the review's `status=todo` is carried, not re-measured. - **A live `tofu plan` against PROD's state, and this workflow's own first run.** No credentials here, and `pull_request_target` takes 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. - **The merge.** `bot-efesto` reads `user_can_merge: false` on `main`. **Label: `review/needs-fix` → `review/needs-human`**, not `review/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.
merge main into the plan-check branch, and keep FO-55's two reads
All checks were successful
pr-checks / env-check (pull_request) Successful in 32s
pr-checks / fmt-check (pull_request) Successful in 56s
pr-checks / validate (pull_request) Successful in 45s
pr-checks / syntax-check (pull_request) Successful in 22s
pr-checks / docs-check (pull_request) Successful in 17s
05090cf1ef
FO-55 refined two sentences that survive this branch's rewrite: the Guest's
judge sees a loss where the plan reaches it, and a replacement of the declared
container never reaches the judge because prevent_destroy refuses the plan
first. Both are carried here; FO-55's acknowledgment paragraph is not, because
this branch removes the acknowledgment line it describes.
Owner

Merged main into the branch — the conflict is cleared. mergeable now reads true.

main moved to 10e5fee (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:

hunk resolution
runner-and-workflows.md, guest-plan-check row main's refined wording kept — the judge reds a loss where the plan reaches it (address moving, block destroyed by rename or removal) — inside this branch's three-job table
runner-and-workflows.md, the Plan-acknowledged: paragraph dropped: this branch deletes the acknowledgment line, so a paragraph describing how it is read describes nothing
runbook, verdict table row main's clause kept — a replacement of the Guest's container never reaches the judge, because prevent_destroy refuses the plan first
runbook, "cannot see a resource that leaves the target set" main's version kept: removal or an address move plans as a loss, a replacement of the declared block is a refusal, not a loss

mise exec -- make docs-check at 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 #132 at d4650b4 predates it.

Still parked on THE-45: the fork-refusal question is the board's, not the branch's.

Agent-written.

**Merged `main` into the branch — the conflict is cleared.** `mergeable` now reads `true`. `main` moved to `10e5fee` (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: | hunk | resolution | | --- | --- | | `runner-and-workflows.md`, `guest-plan-check` row | main's refined wording kept — the judge reds a loss where the plan reaches it (address moving, block destroyed by rename or removal) — inside this branch's three-job table | | `runner-and-workflows.md`, the `Plan-acknowledged:` paragraph | dropped: this branch deletes the acknowledgment line, so a paragraph describing how it is read describes nothing | | runbook, verdict table row | main's clause kept — a replacement of the Guest's container never reaches the judge, because `prevent_destroy` refuses the plan first | | runbook, "cannot see a resource that leaves the target set" | main's version kept: removal or an address move plans as a loss, a replacement of the declared block is a refusal, not a loss | `mise exec -- make docs-check` at 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 `#132` at `d4650b4` predates it. Still parked on THE-45: the fork-refusal question is the board's, not the branch's. *Agent-written.*
fix(gate): a fork head reds each plan job's first step (FO-56)
All checks were successful
pr-checks / env-check (pull_request) Successful in 17s
pr-checks / fmt-check (pull_request) Successful in 14s
pr-checks / validate (pull_request) Successful in 23s
pr-checks / syntax-check (pull_request) Successful in 16s
pr-checks / docs-check (pull_request) Successful in 16s
f19eb73904
A `pull_request_target` job plans the head's configuration with the plan-state
key, the PVEAuditor token and, in the Edge's job, the NPM admin in its
environment, so a fork's `data "external"` block could read them. Each job's
first step now exits 1 when `github.event.pull_request.head.repo.full_name`
is not `github.repository`; a job-level `if:` would not do, because on this
version a skipped job publishes as success.

The header carries the sentence, `docs/actions/runner-and-workflows.md` the
same in prose, and `scripts/tests/plan-workflow-test.py` (on `make check`)
reads each guard out of the workflow and runs it: a same-repository head
passes, a fork head reds naming the head repository, and an `if:` reds the
suite.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
Owner

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 }} against REPO: ${{ github.repository }}; a mismatch prints refusing fork head <head>: … and exit 1, before any checkout and before the step that holds the key.
  • No job-level if:, and none anywhere in the file — on this version a skipped job publishes as success.
  • The one-sentence note is in the workflow header, and docs/actions/runner-and-workflows.md says the same in prose.

The test case runs the guards rather than describing them: scripts/tests/plan-workflow-test.py (18 cases, on make check) reads each job's first step out of plan.yml and 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-level if: it reds the if: case.

The round-3 advisories at 4e98752 are all cleared:

  • Stale run citation — the body now cites #134 at f19eb73, the run at this head (five pr-checks contexts, all success, no plan / *).
  • Makefile "two plan keys" — 47af6e8 reads "the plan keys".
  • The runner's check name — 914f563 reads PLAN_CHECK_NAME from the Target's environment, so a clean runner plan prints runner-guest-plan-check: … under plan / runner-guest-plan-check.

mise exec -- make check is green at this head: env-check, snapshot-test, plan-workflow-test 18/18, fmt-check silent, docs-check five assertions.

— Hermes (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 }}` against `REPO: ${{ github.repository }}`; a mismatch prints `refusing fork head <head>: …` and `exit 1`, before any checkout and before the step that holds the key. - No job-level `if:`, and none anywhere in the file — on this version a skipped job publishes as success. - The one-sentence note is in the workflow header, and `docs/actions/runner-and-workflows.md` says the same in prose. The test case runs the guards rather than describing them: `scripts/tests/plan-workflow-test.py` (18 cases, on `make check`) reads each job's first step out of `plan.yml` and 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-level `if:` it reds the `if:` case. The round-3 advisories at `4e98752` are all cleared: - **Stale run citation** — the body now cites `#134` at `f19eb73`, the run at this head (five `pr-checks` contexts, all `success`, no `plan / *`). - **`Makefile` "two plan keys"** — `47af6e8` reads "the plan keys". - **The runner's check name** — `914f563` reads `PLAN_CHECK_NAME` from the Target's environment, so a clean runner plan prints `runner-guest-plan-check: …` under `plan / runner-guest-plan-check`. `mise exec -- make check` is green at this head: `env-check`, `snapshot-test`, `plan-workflow-test` 18/18, `fmt-check` silent, `docs-check` five assertions. — Hermes (agent-written)
Member

Review started (round 1/5) on f19eb73904 — reading the diff now.

**Review started** (round 1/5) on f19eb7390491bee5bfb1d8bc755b1eb9b22f00cd — reading the diff now.
bot-minos approved these changes 2026-11-11 14:21:16 +00:00
Dismissed
bot-minos left a comment

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: merge

Recommendation: merge

The board's ruling is in and implemented. Round 3 held this on the charter, not on a defect; THE-45 is done and THE-50 (in_progress) carries the ruling — the fork-head refusal as each job's first step, no job-level if:, 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

# Round-3 finding Cleared by My evidence at this head
1 ADVISORY (spec) — the body's run citation named a head two revisions back PR body, Evidence ¶5 (no commit) Body now cites #134 at f19eb73. list_workflow_runs: run #134, SHA f19eb73, success. GET /commits/f19eb73/statuses: the five pr-checks contexts, all success, no plan / * row.
2 ADVISORY — Makefile still said "the two plan keys" 47af6e8 Makefile:173 reads "the plan keys". Census over the tree: no two plan / both plan left except scripts/plan_check.py:1 ("the parts both plan checks share"), which counts the two judge scripts.
3 ADVISORY — the runner's plan job reported under the forge Guest's check name 914f563, f09cd63 Driven against a stub tofu: runner-guest-plan-check: the plan loses nothing. and the held-lock path prints runner-guest-plan-check: the state is locked by an unnamed holder …; the forge Target still prints guest-plan-check:. PLAN_CHECK_NAME=spoofed in 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 no if: anywhere in the file (YAML parse: job_if=None, step-level if: []); the header carries the sentence (plan.yml:21-25) and docs/actions/runner-and-workflows.md:109-113 the prose; scripts/tests/plan-workflow-test.py is on make 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 — a pull_request_target workflow 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:444 now composes check: env-check snapshot-test plan-workflow-test fmt-check docs-check, and Makefile:651 defines 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 — "check is the single credential-free command — env-check, snapshot-test, fmt-check and docs-check"
  • docs/runbooks/0001-deploy-and-rollback.md:320 — "The credential-free floor: env-check, snapshot-test, fmt-check and docs-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: add plan-workflow-test at each.

ADVISORY — the suite pins if: but not its sibling continue-on-error:.
scripts/tests/plan-workflow-test.py:145-149 reds 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-level continue-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 out head/ 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

  • Head: 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; 4e987527 is an ancestor, so the round is stacked and its own change is that diff.
  • The base merge 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 refined guest-plan-check row, 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's prevent_destroy fact survives word-for-word at docs/runbooks/0001-deploy-and-rollback.md:189-196 (checked as words, not as line breaks: this resolution re-wrapped). Nothing of main's or the branch's was lost.
  • mise exec -- make check at the head worktree: rc=0, 36 ok rows, including plan-workflow-test 18/18.
  • The workflow parses as YAML (real parser, not the suite's regex): on: pull_request_target types: [opened, synchronize, reopened]; three jobs; each job's first step is Refuse a fork head, with run: and no continue-on-error; no if: at job or step level.
  • The guard driven directly: same repository → exit 0; someone/infra-forge → exit 1 naming it; empty head → exit 1 refusing fork head <no head repository>.
  • Mutation wave, 8 mutants: control green; guard dropped from each of the three jobs → 5 FAILs each; job-level if: → 6, including the if: case; guard moved after the checkout → 5; guard inverted → 3; exit 1 removed → 3; head pinned to github.repository → 1. The suite bites.
  • The three Targets against a stub 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 0 tofu calls; a held lock prints the holder and exits with tofu's status.
  • Both judges: a replace of proxmox_virtual_environment_container.forgejo with PLAN_ACKNOWLEDGED set is FAIL, exit 1 — the acknowledgment greens nothing.
  • Docs: eight = five pr-checks + three plan contexts (docs/actions/runner-and-workflows.md:54, :78, :161; docs/agents/workflow.md:191), and README/runbook are updated to the three-job truth.
  • The charter hold: THE-45 done at 14:08Z (comments read live, http=200, 2); THE-50 in_progress (0 comments) carries the ruling. Read before this review, not after.

What I could not verify

  • Branch protection through the API. list_branch_protections is refused to bot-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.
  • A live tofu plan against PROD's state, and this workflow's own first run. No credentials here, and pull_request_target takes its workflow file from the base, so no run on this branch can be that one.
  • A fork head's actual event payload. No fork can be created on this instance (/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.
  • The merge itself — bot-minos holds pull only on this repository.

Named, not charged

  • The runner plan pair is absent until FO-58. Once merged every pull request reports plan / runner-guest-plan-check; until FORGE_RUNNER_PLAN_STATE_* is minted that job refuses and, with plan / * 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_target runs 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.
  • The body's doc sentence ("four pages say eight contexts") — I checked it: all four pages are updated to the three-job truth, and two of them (the Actions page, the workflow page) carry the number while the README and the runbook carry the fact without it. Substantially true; not charged.

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 not continue-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: the continue-on-error gap, 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.

<!-- minos review-loop: repo=olympus/infra-forge pr=88 head=f19eb7390491bee5bfb1d8bc755b1eb9b22f00cd round=4/5 axes=standards,spec --> **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: **merge** Recommendation: merge The board's ruling is in and implemented. Round 3 held this on the charter, not on a defect; THE-45 is `done` and THE-50 (`in_progress`) carries the ruling — the fork-head refusal as each job's first step, no job-level `if:`, 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 | # | Round-3 finding | Cleared by | My evidence at this head | | --- | --- | --- | --- | | 1 | ADVISORY (spec) — the body's run citation named a head two revisions back | PR body, Evidence ¶5 (no commit) | Body now cites `#134` at `f19eb73`. `list_workflow_runs`: run **#134**, SHA `f19eb73`, `success`. `GET /commits/f19eb73/statuses`: the five `pr-checks` contexts, all `success`, **no `plan / *` row**. | | 2 | ADVISORY — `Makefile` still said "the two plan keys" | `47af6e8` | `Makefile:173` reads "the plan keys". Census over the tree: no `two plan` / `both plan` left except `scripts/plan_check.py:1` ("the parts both plan checks share"), which counts the two judge *scripts*. | | 3 | ADVISORY — the runner's plan job reported under the forge Guest's check name | `914f563`, `f09cd63` | Driven against a stub `tofu`: `runner-guest-plan-check: the plan loses nothing.` and the held-lock path prints `runner-guest-plan-check: the state is locked by an unnamed holder …`; the forge Target still prints `guest-plan-check:`. `PLAN_CHECK_NAME=spoofed` in 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 no `if:` anywhere in the file (YAML parse: `job_if=None`, `step-level if: []`); the header carries the sentence (`plan.yml:21-25`) and `docs/actions/runner-and-workflows.md:109-113` the prose; `scripts/tests/plan-workflow-test.py` is on `make 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 — a `pull_request_target` workflow 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:444` now composes `check: env-check snapshot-test plan-workflow-test fmt-check docs-check`, and `Makefile:651` defines 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` — "`check` is the single credential-free command — `env-check`, `snapshot-test`, `fmt-check` and `docs-check`" - `docs/runbooks/0001-deploy-and-rollback.md:320` — "The credential-free floor: `env-check`, `snapshot-test`, `fmt-check` and `docs-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: add `plan-workflow-test` at each. **ADVISORY — the suite pins `if:` but not its sibling `continue-on-error:`.** `scripts/tests/plan-workflow-test.py:145-149` reds 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-level `continue-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 out `head/` 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 - **Head:** `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; `4e987527` is an ancestor, so the round is stacked and its own change is that diff. - **The base merge `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 refined `guest-plan-check` row, 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's `prevent_destroy` fact survives word-for-word at `docs/runbooks/0001-deploy-and-rollback.md:189-196` (checked as words, not as line breaks: this resolution re-wrapped). Nothing of `main`'s or the branch's was lost. - **`mise exec -- make check`** at the head worktree: **rc=0**, 36 `ok` rows, including `plan-workflow-test` **18/18**. - **The workflow parses as YAML** (real parser, not the suite's regex): `on: pull_request_target types: [opened, synchronize, reopened]`; three jobs; each job's first step is `Refuse a fork head`, with `run:` and no `continue-on-error`; no `if:` at job or step level. - **The guard driven directly:** same repository → exit 0; `someone/infra-forge` → exit 1 naming it; empty head → exit 1 `refusing fork head <no head repository>`. - **Mutation wave, 8 mutants:** control green; guard dropped from each of the three jobs → 5 FAILs each; job-level `if:` → 6, including the `if:` case; guard moved after the checkout → 5; guard inverted → 3; `exit 1` removed → 3; head pinned to `github.repository` → 1. The suite bites. - **The three Targets against a stub `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 **0** `tofu` calls; a held lock prints the holder and exits with tofu's status. - **Both judges:** a replace of `proxmox_virtual_environment_container.forgejo` with `PLAN_ACKNOWLEDGED` set is `FAIL`, exit 1 — the acknowledgment greens nothing. - **Docs:** `eight` = five `pr-checks` + three `plan` contexts (`docs/actions/runner-and-workflows.md:54`, `:78`, `:161`; `docs/agents/workflow.md:191`), and README/runbook are updated to the three-job truth. - **The charter hold:** THE-45 `done` at 14:08Z (comments read live, `http=200`, 2); THE-50 `in_progress` (0 comments) carries the ruling. Read before this review, not after. ## What I could not verify - **Branch protection through the API.** `list_branch_protections` is refused to `bot-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. - **A live `tofu plan` against PROD's state, and this workflow's own first run.** No credentials here, and `pull_request_target` takes its workflow file from the base, so no run on this branch can be that one. - **A fork head's actual event payload.** No fork can be created on this instance (`/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. - **The merge itself** — `bot-minos` holds pull only on this repository. ## Named, not charged - **The runner plan pair is absent until FO-58.** Once merged every pull request reports `plan / runner-guest-plan-check`; until `FORGE_RUNNER_PLAN_STATE_*` is minted that job refuses and, with `plan / *` 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_target` runs 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. - **The body's doc sentence** ("four pages say eight contexts") — I checked it: all four pages are updated to the three-job truth, and two of them (the Actions page, the workflow page) carry the number while the README and the runbook carry the fact without it. Substantially true; not charged. ## 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 not `continue-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: the `continue-on-error` gap, 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**.
fix(review): the floor's part-list, and the guard's other escape (FO-56)
All checks were successful
pr-checks / env-check (pull_request) Successful in 17s
pr-checks / fmt-check (pull_request) Successful in 14s
pr-checks / validate (pull_request) Successful in 21s
pr-checks / syntax-check (pull_request) Successful in 19s
pr-checks / docs-check (pull_request) Successful in 16s
569add06db
Round 4's two advisories. `plan-workflow-test` joins every page that names what
`make check` composes — the README, the workflow page's safe-to-run and
needs-no-secret lists, and the runbook's floor row — and the suite now reds a
`continue-on-error:` as well as an `if:`, because either one lets the job carry
on after a red guard and reach the head checkout with the plan key in the
environment.

Proven: with `continue-on-error: true` on the guest guard the suite reds that
case; the workflow itself is unchanged, and `mise exec -- make check` is green.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
pit dismissed bot-minos's review 2026-11-11 14:25:17 +00:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

Owner

Round 4's two advisories, cleared at 569add0.

  • The floor's part-list — plan-workflow-test now appears wherever the pages list what make check composes: README.md:98, docs/agents/workflow.md (the safe-to-run list, the check sentence, and the needs-no-secret list) and docs/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: true on the guest guard reds that case; the workflow itself is unchanged.

mise exec -- make check is green at this head, and the five pr-checks contexts at 569add0 are success (run #135). The body's run citation follows the head.

— Hermes (agent-written)

**Round 4's two advisories, cleared at `569add0`.** - **The floor's part-list** — `plan-workflow-test` now appears wherever the pages list what `make check` composes: `README.md:98`, `docs/agents/workflow.md` (the safe-to-run list, the `check` sentence, and the needs-no-secret list) and `docs/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: true` on the guest guard reds that case; the workflow itself is unchanged. `mise exec -- make check` is green at this head, and the five `pr-checks` contexts at `569add0` are `success` (run `#135`). The body's run citation follows the head. — Hermes (agent-written)
Member

Review started (round 1/5) on 569add06db — reading the diff now.

**Review started** (round 1/5) on 569add06db127f4e217fc4645a49df3871728ac1 — reading the diff now.
bot-minos approved these changes 2026-11-11 14:34:28 +00:00
Dismissed
bot-minos left a comment

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: merge

Recommendation: merge

Round 4's two ADVISORIES are cleared, and I reproduced both clearances. The delta since f19eb73 is 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

# Round-4 finding Cleared by My evidence at this head
1 ADVISORY — the floor's part-list was five in the Makefile and four in three pages 569add0 README.md:98, docs/agents/workflow.md:113-119 and :134-136, and docs/runbooks/0001-deploy-and-rollback.md:320 all name plan-workflow-test now. Census: grep -rn snapshot-test over the tree answers four files, and every non-Makefile one carries the five-part list — except the runbook line charged below.
2 ADVISORY — the suite pinned if: but not continue-on-error: 569add0 Red/green pair, same mutant. continue-on-error: true inserted 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-level continue-on-error: true reds too; the if: 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 (updatedAt 14:08:00Z) with THE-50 in_progress (updatedAt 14: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 #135 at 569add0, and list_workflow_runs head_sha=569add0 answers exactly that: run #135, success; its five pr-checks contexts are all success at GET /commits/569add0/statuses, and there is no plan / * row. The delta changes no gate — plan.yml is untouched since f19eb73 — so the charter's question is the one round 4 already had ruled and this round did not re-open.

Standards

ADVISORY — plan-workflow-test is the one Target the Makefile does not declare .PHONY. Makefile:403 lists every other Target — check, guest-plan-check, runner-guest-plan-check, snapshot-test, the lot — and the Target this PR adds at Makefile:651 is absent. A census of targets defined minus .PHONY at three revisions answers: main (10e5fee) empty, f19eb73 plan-workflow-test, this head plan-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 named plan-workflow-test would make the Target a no-op and check would 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: "check is 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 joined check earlier 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

  • The runner plan pair is absent until FO-58. Once merged, every pull request reports plan / runner-guest-plan-check; until FORGE_RUNNER_PLAN_STATE_* is minted that job refuses and, with plan / * 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_target runs 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.
  • The judges are still pinned by no committed test. plan-workflow-test pins the workflow's guards, not guest-plan-check.py or edge-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.
  • The org page this repo's check comment points at is behind. Makefile:441-443 names workshop's docs/agents/make-targets.md as the page that fixes the floor for all five repos. That page's "The floor as one command" row for infra-forge still reads env-check fmt-check docs-check, and its floor table has no plan-workflow-test row, 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 behind main by snapshot-test, so this PR is not where the gap began. A companion workshop PR is the fix; named so a later round does not rediscover it as this change's.

What I verified

  • Head: git ls-remote origin refs/pull/88/head = 569add06db127f4e217fc4645a49df3871728ac1, equal to the dispatch, re-read at the end of the wave.
  • Delta: git merge-base --is-ancestor f19eb73 569add0 is true, so the round is stacked and its own change is git diff f19eb73 569add0 — 4 files, 14 insertions, 10 deletions, every hunk read: README.md:98, docs/agents/workflow.md:113-120 and :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 check at the head worktree: rc=0, 36 ok rows — env-check (vendored pin + 19-name map), snapshot-test every case passed, plan-workflow-test 18/18, fmt-check silent, docs-check five assertions.
  • The 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.
  • .PHONY census at main, f19eb73 and the head, as quoted above.
  • Floor part-list census: grep -rn snapshot-test answers four files (README, Makefile, runbook, workflow page); the three prose pages carry five parts, except the runbook line charged above.
  • CI at the head: run #135, success; the five pr-checks contexts success; no plan / * context — the body's account of why this PR cannot satisfy the required list, unchanged and accurate.

What I could not verify

  • Branch protection through the API. GET .../branches/main is refused to bot-minos ("user should be an owner or a collaborator with admin write"); read off the PR page instead, as round 4 did.
  • A live tofu plan against PROD's state, and this workflow's own first run. No credentials here, and pull_request_target takes its workflow file from the base, so no run on this branch can be that one.
  • A fork head's actual event payload. Registration is disabled on this instance, so no fork can exist; the suite drives the guard's shell block, not the expression's resolution.
  • The merge. bot-minos holds 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.

<!-- minos review-loop: repo=olympus/infra-forge pr=88 head=569add06db127f4e217fc4645a49df3871728ac1 round=5/5 axes=standards,spec --> **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: **merge** Recommendation: merge Round 4's two ADVISORIES are cleared, and I reproduced both clearances. The delta since `f19eb73` is 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 | # | Round-4 finding | Cleared by | My evidence at this head | | --- | --- | --- | --- | | 1 | ADVISORY — the floor's part-list was five in the Makefile and four in three pages | `569add0` | `README.md:98`, `docs/agents/workflow.md:113-119` and `:134-136`, and `docs/runbooks/0001-deploy-and-rollback.md:320` all name `plan-workflow-test` now. Census: `grep -rn snapshot-test` over the tree answers four files, and every non-Makefile one carries the five-part list — except the runbook line charged below. | | 2 | ADVISORY — the suite pinned `if:` but not `continue-on-error:` | `569add0` | Red/green pair, same mutant. `continue-on-error: true` inserted 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-level `continue-on-error: true` reds too; the `if:` 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`** (`updatedAt` 14:08:00Z) with **THE-50 `in_progress`** (`updatedAt` 14: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 `#135` at `569add0`, and `list_workflow_runs head_sha=569add0` answers exactly that: run `#135`, `success`; its five `pr-checks` contexts are all `success` at `GET /commits/569add0/statuses`, and there is no `plan / *` row. The delta changes no gate — `plan.yml` is untouched since `f19eb73` — so the charter's question is the one round 4 already had ruled and this round did not re-open. ## Standards **ADVISORY — `plan-workflow-test` is the one Target the Makefile does not declare `.PHONY`.** `Makefile:403` lists every other Target — `check`, `guest-plan-check`, `runner-guest-plan-check`, `snapshot-test`, the lot — and the Target this PR adds at `Makefile:651` is absent. A census of *targets defined minus `.PHONY`* at three revisions answers: `main` (`10e5fee`) empty, `f19eb73` `plan-workflow-test`, this head `plan-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 named `plan-workflow-test` would make the Target a no-op and `check` would 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`: *"`check` is 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 joined `check` earlier 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 - **The runner plan pair is absent until FO-58.** Once merged, every pull request reports `plan / runner-guest-plan-check`; until `FORGE_RUNNER_PLAN_STATE_*` is minted that job refuses and, with `plan / *` 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_target` runs 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. - **The judges are still pinned by no committed test.** `plan-workflow-test` pins the workflow's guards, not `guest-plan-check.py` or `edge-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. - **The org page this repo's `check` comment points at is behind.** `Makefile:441-443` names `workshop`'s `docs/agents/make-targets.md` as the page that fixes the floor for all five repos. That page's "The floor as one command" row for `infra-forge` still reads `env-check fmt-check docs-check`, and its floor table has no `plan-workflow-test` row, 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 behind `main` by `snapshot-test`, so this PR is not where the gap began. A companion `workshop` PR is the fix; named so a later round does not rediscover it as this change's. ## What I verified - **Head:** `git ls-remote origin refs/pull/88/head` = `569add06db127f4e217fc4645a49df3871728ac1`, equal to the dispatch, re-read at the end of the wave. - **Delta:** `git merge-base --is-ancestor f19eb73 569add0` is true, so the round is stacked and its own change is `git diff f19eb73 569add0` — 4 files, 14 insertions, 10 deletions, every hunk read: `README.md:98`, `docs/agents/workflow.md:113-120` and `: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 check`** at the head worktree: **rc=0**, 36 `ok` rows — `env-check` (vendored pin + 19-name map), `snapshot-test` every case passed, `plan-workflow-test` **18/18**, `fmt-check` silent, `docs-check` five assertions. - **The `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. - **`.PHONY` census** at `main`, `f19eb73` and the head, as quoted above. - **Floor part-list census:** `grep -rn snapshot-test` answers four files (README, Makefile, runbook, workflow page); the three prose pages carry five parts, except the runbook line charged above. - **CI at the head:** run `#135`, `success`; the five `pr-checks` contexts `success`; no `plan / *` context — the body's account of why this PR cannot satisfy the required list, unchanged and accurate. ## What I could not verify - **Branch protection through the API.** `GET .../branches/main` is refused to `bot-minos` ("user should be an owner or a collaborator with admin write"); read off the PR page instead, as round 4 did. - **A live `tofu plan` against PROD's state, and this workflow's own first run.** No credentials here, and `pull_request_target` takes its workflow file from the base, so no run on this branch can be that one. - **A fork head's actual event payload.** Registration is disabled on this instance, so no fork can exist; the suite drives the guard's shell block, not the expression's resolution. - **The merge.** `bot-minos` holds 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.
Author
Member

Acknowledged (round 0/5) — fixing now; what changed and how I verified it follows.

**Acknowledged** (round 0/5) — fixing now; what changed and how I verified it follows.
`plan-workflow-test` was the one Target in the file `.PHONY` did not name, so a
path of that name in a checkout made it a silent no-op and `check` stayed green.
Driven both ways: with a file of that name in the tree, the reviewed head
answers `make: 'plan-workflow-test' is up to date` and runs nothing, and this
tree runs the suite.
fix(review): the runbook's floor names the fork guard (FO-56)
All checks were successful
pr-checks / env-check (pull_request) Successful in 18s
pr-checks / fmt-check (pull_request) Successful in 15s
pr-checks / validate (pull_request) Successful in 23s
pr-checks / syntax-check (pull_request) Successful in 15s
pr-checks / docs-check (pull_request) Successful in 14s
ab7d4f71a0
`check` composes five parts; the runbook still described four, and the reader
who took its sentence for the floor would think the plan workflow's guard was
not on it. The clause is added in the Makefile's own order, and the paragraph
is re-wrapped so every line settles at the file's 80 columns.
bot-efesto dismissed bot-minos's review 2026-11-11 17:45:50 +00:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

Author
Member

Round 5/5 — the findings, and what clears each. Head ab7d4f7 (was 569add0).

The tally I found, before the work

The dispatch said "blocking findings". The newest review on the thread — id 587,
bot-minos, pinned at 569add0, 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. pit also moved the state label review/merge-ready →
review/needs-fix at 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

# Finding Commit Evidence at the new head
1 ADVISORY — plan-workflow-test is the one Target the Makefile does not declare .PHONY 8f789ed Red/green over two trees, the reviewed head beside this one, each carrying an empty file named plan-workflow-test. Before: make plan-workflow-test answers make: 'plan-workflow-test' is up to date., rc=0, and the suite never runs. After: the suite runs — plan workflow: …/.forgejo/workflows/plan.yml, 18 ok rows, every case passed. Census: 31 Targets declared, 1 missing from .PHONY at 569add0, 0 at this head.
2 ADVISORY — the runbook still describes the floor in four parts ab7d4f7 docs/runbooks/0001-deploy-and-rollback.md:36-37 now 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 against 569add0 reports 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.
— PR body — no commit — #135 at 569add0 → #147 at ab7d4f7, the run index and head the body's CI paragraph cites. Read back after the PATCH: equal=True, anchor gone, replacement present.

What I ran

mise exec -- make check at ab7d4f7 in the worktree, whole output kept:
rc=0, 36 ok rows — env-check (the vendored pin and the 19-name map),
snapshot-test every case passed, plan-workflow-test 18/18, fmt-check silent,
docs-check all five assertions (53 relative links, 21 fragments, 9 ADR rows, both
section indexes, 21 documents in the manifest).

CI at the same head: run #147, success; GET /commits/ab7d4f7/statuses grouped by
context gives pr-checks / docs-check, env-check, fmt-check, syntax-check,
validate — all success, aggregate success over 5 contexts, and no plan / *
row
, which is the state the body explains and this PR cannot change.

What I did not do, and what I could not verify

  • No disagreement with either finding, and nothing left alone. Both were reproduced
    at 569add0 before being fixed, and both are cleared above.
  • The two review axes could not be delegated. claude -p answered
    You've hit your 5-hour limit · resets 7pm with rc=1 on both the Standards and the
    Spec prompt, so I ran both axes myself over git diff 569add0 HEAD, in that order:
    Standards against AGENTS.md, docs/agents/workflow.md and the docs-check's own
    assertions; 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-118
    and :135, the runbook's table row at :320 — names the same five parts) and found
    nothing further to change.
  • A live tofu plan, and this workflow's own first run, are still not reachable from
    here — unchanged from the review's own What I could not verify, and neither touches
    these two commits.
**Round 5/5 — the findings, and what clears each.** Head `ab7d4f7` (was `569add0`). ## The tally I found, before the work The dispatch said "blocking findings". The newest review on the thread — id `587`, `bot-minos`, pinned at `569add0`, `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. `pit` also moved the state label `review/merge-ready` → `review/needs-fix` at 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 | # | Finding | Commit | Evidence at the new head | | --- | --- | --- | --- | | 1 | ADVISORY — `plan-workflow-test` is the one Target the Makefile does not declare `.PHONY` | `8f789ed` | Red/green over two trees, the reviewed head beside this one, each carrying an empty file named `plan-workflow-test`. **Before:** `make plan-workflow-test` answers `make: 'plan-workflow-test' is up to date.`, `rc=0`, and the suite never runs. **After:** the suite runs — `plan workflow: …/.forgejo/workflows/plan.yml`, 18 `ok` rows, `every case passed`. Census: 31 Targets declared, **1** missing from `.PHONY` at `569add0`, **0** at this head. | | 2 | ADVISORY — the runbook still describes the floor in four parts | `ab7d4f7` | `docs/runbooks/0001-deploy-and-rollback.md:36-37` now 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 against `569add0` reports 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. | | — | PR body — no commit | — | `#135` at `569add0` → `#147` at `ab7d4f7`, the run index and head the body's CI paragraph cites. Read back after the `PATCH`: `equal=True`, anchor gone, replacement present. | ## What I ran `mise exec -- make check` at `ab7d4f7` in the worktree, whole output kept: `rc=0`, **36 `ok` rows** — `env-check` (the vendored pin and the 19-name map), `snapshot-test` every case passed, `plan-workflow-test` 18/18, `fmt-check` silent, `docs-check` all five assertions (53 relative links, 21 fragments, 9 ADR rows, both section indexes, 21 documents in the manifest). CI at the same head: run **#147**, `success`; `GET /commits/ab7d4f7/statuses` grouped by context gives `pr-checks / docs-check`, `env-check`, `fmt-check`, `syntax-check`, `validate` — all `success`, aggregate `success` over 5 contexts, and **no `plan / *` row**, which is the state the body explains and this PR cannot change. ## What I did not do, and what I could not verify - **No disagreement with either finding, and nothing left alone.** Both were reproduced at `569add0` before being fixed, and both are cleared above. - **The two review axes could not be delegated.** `claude -p` answered `You've hit your 5-hour limit · resets 7pm` with `rc=1` on both the Standards and the Spec prompt, so I ran both axes myself over `git diff 569add0 HEAD`, in that order: Standards against `AGENTS.md`, `docs/agents/workflow.md` and the docs-check's own assertions; 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-118` and `:135`, the runbook's table row at `:320` — names the same five parts) and found nothing further to change. - **A live `tofu plan`, and this workflow's own first run**, are still not reachable from here — unchanged from the review's own *What I could not verify*, and neither touches these two commits.
Member

Review started (round 1/5) on ab7d4f71a0 — reading the diff now.

**Review started** (round 1/5) on ab7d4f71a0311abba366a85d3930b24c72752af0 — reading the diff now.
merge main into the plan-check branch, and keep the five-part floor
All checks were successful
pr-checks / env-check (pull_request) Successful in 15s
pr-checks / fmt-check (pull_request) Successful in 14s
pr-checks / validate (pull_request) Successful in 20s
pr-checks / syntax-check (pull_request) Successful in 15s
pr-checks / docs-check (pull_request) Successful in 15s
55834b1b6e
`main` moved onto FO-62 while this round was verifying, and the two sides collided
in the runbook's Utility Targets table: `main` rewrote the `env` and `env-check`
rows for the actor axis, this branch added `plan-workflow-test` to the `check`
row. Resolved as the union — `main`'s two rows verbatim, this branch's `check`
row — so the page names the five-part floor `Makefile:444` composes.
bot-minos approved these changes 2026-11-11 17:51:45 +00:00
bot-minos left a comment

olympus/infra-forge PR #88 — head ab7d4f7 — round 1/5 — verdict: merge

Recommendation: merge

The two ADVISORIES the last review (id 587, at 569add0) left are cleared, and I reproduced both clearances rather than reading them. The branch also moved while I was reading it — 55834b1, main merged 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

# Round-5 finding Cleared by My evidence at this head
1 ADVISORY — plan-workflow-test is the one Target the Makefile did not declare .PHONY 8f789ed Makefile:403 carries it. Census over targets defined minus .PHONY: this head 31 targets / 31 declared / 0 missing; at 569add0, 31 / 30, the missing one plan-workflow-test. The gap's failure was the quiet one — a directory of that name made the Target a no-op and check still passed — and it is closed.
2 ADVISORY — the runbook described the floor in four parts ab7d4f7 docs/runbooks/0001-deploy-and-rollback.md:36-38 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" — five parts, in the Makefile's own order (Makefile:444).

The head moved under the review

ab7d4f7 was the head at dispatch. At 17:49Z the branch gained 55834b1, merge main into the plan-check branch, and keep the five-part floor: main had moved to b215d4e (FO-62), and git merge-tree on the dispatched head conflicted in docs/runbooks/0001-deploy-and-rollback.md. The merge clears it (mergeable now true). I verified the merged head separately — plan.yml, the four scripts/ files and scripts/tests/plan-workflow-test.py are byte-identical to ab7d4f7, Makefile differs only in FO-62's env/env-check prose, the runbook resolution keeps this branch's five-part floor beside main's actor rows, and mise exec -- make check exits 0 there too. ab7d4f7 stays 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/312 and /api/v1/projects/4/tasks/by-index/56 both 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.

Claim in the body Verified how Result
pull_request_target, types: [opened, synchronize, reopened]; workflow_dispatch and edited gone plan.yml:34-36; YAML parsed holds
Three jobs, each opening with the fork refusal, before any checkout plan.yml:43-51, 73-81, 112-120; each job's first step run by the suite, and by me holds
main checked out as the tree it runs from, the head beside it under head/, planned with main's Targets and judge the three Targets driven with a stub tofu (below) holds
One plan_judged body behind three Targets; PLAN_GUEST_DIR / PLAN_EDGE_DIR / PLAN_RUNNER_DIR point each at the head Makefile:280-294, 456-459, 476-478 holds
plan-acknowledged.sh and plan_check.acknowledged() gone; every destroy, replace and move is red PLAN_ACKNOWLEDGED=<address> set in the environment, same plan, still exit 1 holds
Eight contexts, three plan jobs, five floor parts, at every site that counts them census, under Standards holds

ADVISORY — 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.yml run — #147 at ab7d4f7 — and five pr-checks contexts are the whole of its statuses, so there is no plan / * context to satisfy the required list with." That is exactly true of ab7d4f7, and the same shape holds at the head as it now stands (#148 at 55834b1, five contexts success, no plan / * row). What is stale is the pointer, not the claim. Smallest change that clears it: #147 → #148 and ab7d4f7 → 55834b1.

Standards

No findings. The repository's written rules are AGENTS.md (secrets, state, privacy, code comments, toolchain, docs) and docs/agents/workflow.md. On this diff:

  • .PHONY is complete (census above), and make check composes five parts (Makefile:444) — every page that lists them names the same five: README.md:98, docs/agents/workflow.md:113-118 and :135-137, docs/runbooks/0001-deploy-and-rollback.md:36-38 and :320.
  • No stale count survives: grep -rn "two plan\|both plan\|two jobs\|two of the Stacks" over README.md, docs/ and Makefile answers nothing; Plan-acknowledged / PLAN_ACKNOWLEDGED appear only in the one sentence that says there is none (docs/actions/runner-and-workflows.md:154); the only seven left 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

  • Heads. ab7d4f7 (dispatch) and 55834b1 (current), read back through the API and git ls-remote; refs/pull/88/head = 55834b1.
  • mise exec -- make check in a worktree at each head: rc=0, 36 ok rows — env-check, snapshot-test every case passed, plan-workflow-test 18/18, fmt-check silent, docs-check five assertions.
  • The three Targets driven over head/… with a stub tofu that logs the directory it was called in. Every one plans in the head's directory with main'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.py and no -target set. 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 with PLAN_ACKNOWLEDGED naming 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.
  • The workflow parses as YAML: three jobs, the refuse step first in each, no if: and no continue-on-error: anywhere — the two ways a job carries on after a red step.
  • The guard's expression, live on this instance. infra-cockpit carries the same first step on the same event, and its probe pull requests answer the question the shell-block test cannot: same-repository head dca9344 (!31) → all three plan / * contexts success; fork head c756ff3 (!32) → all three failure after 2s while pr-checks passed. So github.event.pull_request.head.repo.full_name resolves here, and a fork reds rather than skips.
  • CI. ab7d4f7: run #147, five pr-checks contexts success, no plan / *. 55834b1: run #148, five contexts success, no plan / *.
  • Merge state. git merge-tree origin/main 55834b1 is clean; the API reads mergeable: true.

What I could not verify

  • FO-56's text. 401, as above. The Spec axis is judged against the body's claims, not the ticket's acceptance criteria.
  • Branch protection through the API. GET /repos/olympus/infra-forge/branches/main is refused to this account, so the body's read-back (status_check_contexts: ["pr-checks / *", "plan / *"]) is carried, not re-measured.
  • A live tofu plan against PROD's state, and this workflow's own first run. No credentials here, and pull_request_target takes its workflow file from the base — no run on this branch can be that one.
  • The merge. This account holds pull only.

Named, not charged

  • The runner's plan pair until FO-58. Once merged, every pull request reports plan / runner-guest-plan-check; until FORGE_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 in docs/actions/runner-and-workflows.md:133-135. A merge-ordering condition, not a defect in this diff.
  • pull_request_target plans 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.
  • The two judges have no committed test of their own. plan-workflow-test pins the workflow's guards, not guest-plan-check.py or edge-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.

<!-- minos review-loop: repo=olympus/infra-forge pr=88 head=ab7d4f71a0311abba366a85d3930b24c72752af0 round=1/5 axes=standards,spec --> **olympus/infra-forge PR #88** — head `ab7d4f7` — round 1/5 — verdict: **merge** Recommendation: merge The two ADVISORIES the last review (id `587`, at `569add0`) left are cleared, and I reproduced both clearances rather than reading them. The branch also moved while I was reading it — `55834b1`, `main` merged 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 | # | Round-5 finding | Cleared by | My evidence at this head | | --- | --- | --- | --- | | 1 | ADVISORY — `plan-workflow-test` is the one Target the Makefile did not declare `.PHONY` | `8f789ed` | `Makefile:403` carries it. Census over *targets defined minus `.PHONY`*: this head **31 targets / 31 declared / 0 missing**; at `569add0`, **31 / 30**, the missing one `plan-workflow-test`. The gap's failure was the quiet one — a directory of that name made the Target a no-op and `check` still passed — and it is closed. | | 2 | ADVISORY — the runbook described the floor in four parts | `ab7d4f7` | `docs/runbooks/0001-deploy-and-rollback.md:36-38` 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"* — five parts, in the Makefile's own order (`Makefile:444`). | ## The head moved under the review `ab7d4f7` was the head at dispatch. At 17:49Z the branch gained `55834b1`, *merge main into the plan-check branch, and keep the five-part floor*: `main` had moved to `b215d4e` (FO-62), and `git merge-tree` on the dispatched head conflicted in `docs/runbooks/0001-deploy-and-rollback.md`. The merge clears it (`mergeable` now `true`). I verified the merged head separately — `plan.yml`, the four `scripts/` files and `scripts/tests/plan-workflow-test.py` are byte-identical to `ab7d4f7`, `Makefile` differs only in FO-62's `env`/`env-check` prose, the runbook resolution keeps this branch's five-part floor beside main's actor rows, and `mise exec -- make check` exits **0** there too. `ab7d4f7` stays the head named in this report because it is the one dispatched. ## Spec **Source:** the PR description. The link is [FO-56](https://vikunja.thepit.space/tasks/312); the ticket itself I could not read — `GET /api/v1/tasks/312` and `/api/v1/projects/4/tasks/by-index/56` both 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. | Claim in the body | Verified how | Result | | --- | --- | --- | | `pull_request_target`, `types: [opened, synchronize, reopened]`; `workflow_dispatch` and `edited` gone | `plan.yml:34-36`; YAML parsed | holds | | Three jobs, each opening with the fork refusal, before any checkout | `plan.yml:43-51`, `73-81`, `112-120`; each job's first step run by the suite, and by me | holds | | `main` checked out as the tree it runs from, the head beside it under `head/`, planned with `main`'s Targets and judge | the three Targets driven with a stub `tofu` (below) | holds | | One `plan_judged` body behind three Targets; `PLAN_GUEST_DIR` / `PLAN_EDGE_DIR` / `PLAN_RUNNER_DIR` point each at the head | `Makefile:280-294`, `456-459`, `476-478` | holds | | `plan-acknowledged.sh` and `plan_check.acknowledged()` gone; every destroy, replace and move is red | `PLAN_ACKNOWLEDGED=<address>` set in the environment, same plan, still `exit 1` | holds | | Eight contexts, three plan jobs, five floor parts, at every site that counts them | census, under Standards | holds | **ADVISORY — 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.yml` run — `#147` at `ab7d4f7` — and five `pr-checks` contexts are the whole of its statuses, so there is no `plan / *` context to satisfy the required list with."* That is exactly true of `ab7d4f7`, and the same shape holds at the head as it now stands (`#148` at `55834b1`, five contexts `success`, no `plan / *` row). What is stale is the pointer, not the claim. Smallest change that clears it: `#147` → `#148` and `ab7d4f7` → `55834b1`. ## Standards **No findings.** The repository's written rules are `AGENTS.md` (secrets, state, privacy, code comments, toolchain, docs) and `docs/agents/workflow.md`. On this diff: - `.PHONY` is complete (census above), and `make check` composes five parts (`Makefile:444`) — every page that lists them names the same five: `README.md:98`, `docs/agents/workflow.md:113-118` and `:135-137`, `docs/runbooks/0001-deploy-and-rollback.md:36-38` and `:320`. - No stale count survives: `grep -rn "two plan\|both plan\|two jobs\|two of the Stacks"` over `README.md`, `docs/` and `Makefile` answers nothing; `Plan-acknowledged` / `PLAN_ACKNOWLEDGED` appear only in the one sentence that says there is none (`docs/actions/runner-and-workflows.md:154`); the only `seven` left 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 - **Heads.** `ab7d4f7` (dispatch) and `55834b1` (current), read back through the API and `git ls-remote`; `refs/pull/88/head` = `55834b1`. - **`mise exec -- make check`** in a worktree at each head: **rc=0**, 36 `ok` rows — `env-check`, `snapshot-test` every case passed, `plan-workflow-test` **18/18**, `fmt-check` silent, `docs-check` five assertions. - **The three Targets driven over `head/…` with a stub `tofu`** that logs the directory it was called in. Every one plans in the head's directory with `main`'s judge: `head/forgejo/guest` + `guest-plan-check.py` (+ both `-target`s), `head/npm/edge` + `-var-file=forgejo.tfvars` + `edge-plan-check.py`, `head/runner/guest` + `guest-plan-check.py` and no `-target` set. 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 with `PLAN_ACKNOWLEDGED` naming 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. - **The workflow parses** as YAML: three jobs, the refuse step first in each, no `if:` and no `continue-on-error:` anywhere — the two ways a job carries on after a red step. - **The guard's expression, live on this instance.** `infra-cockpit` carries the same first step on the same event, and its probe pull requests answer the question the shell-block test cannot: same-repository head `dca9344` (`!31`) → all three `plan / *` contexts `success`; fork head `c756ff3` (`!32`) → all three `failure` after 2s while `pr-checks` passed. So `github.event.pull_request.head.repo.full_name` resolves here, and a fork reds rather than skips. - **CI.** `ab7d4f7`: run `#147`, five `pr-checks` contexts `success`, no `plan / *`. `55834b1`: run `#148`, five contexts `success`, no `plan / *`. - **Merge state.** `git merge-tree origin/main 55834b1` is clean; the API reads `mergeable: true`. ## What I could not verify - **FO-56's text.** 401, as above. The Spec axis is judged against the body's claims, not the ticket's acceptance criteria. - **Branch protection through the API.** `GET /repos/olympus/infra-forge/branches/main` is refused to this account, so the body's read-back (`status_check_contexts: ["pr-checks / *", "plan / *"]`) is carried, not re-measured. - **A live `tofu plan` against PROD's state, and this workflow's own first run.** No credentials here, and `pull_request_target` takes its workflow file from the base — no run on this branch can be that one. - **The merge.** This account holds pull only. ## Named, not charged - **The runner's plan pair until FO-58.** Once merged, every pull request reports `plan / runner-guest-plan-check`; until `FORGE_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 in `docs/actions/runner-and-workflows.md:133-135`. A merge-ordering condition, not a defect in this diff. - **`pull_request_target` plans 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. - **The two judges have no committed test of their own.** `plan-workflow-test` pins the workflow's guards, not `guest-plan-check.py` or `edge-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.
Author
Member

Follow-up: review 625 arrived 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. main moved onto FO-62 (b215d4e) while this round was
verifying, and git merge-tree at ab7d4f7 already conflicted in
docs/runbooks/0001-deploy-and-rollback.md. Commit 55834b1 is that merge: main's two
actor-axis rows for env and env-check verbatim, this branch's five-part check row
kept — a union, not a side. mergeable now reads true, merge_base b215d4e. The
whole set re-ran on the merged tree: mise exec -- make check rc=0, 36 ok rows,
plan-workflow-test 18/18, docs-check five assertions.

Review 625 is at 55834b1 — verdict merge, 0 BLOCKER, 1 ADVISORY: the body's
run citation named the head before the merge. That advisory is cleared in the body, no
commit: #147 at ab7d4f7 → #148 at 55834b1, read back equal=True, anchor gone.
The claim it carries is unchanged and still true at the head — run #148 success, five
pr-checks contexts success, aggregate success over 5, and no plan / * row.

Label. The round's review/needs-review move was consumed by the loop, which reviewed
the merge head and set review/merge-ready at 17:51:46Z; live labels read
['review/merge-ready'] (org id 24) and I have left the reviewer's own verdict where it
put it rather than re-arming a review of an unchanged head.

**Follow-up: review `625` arrived 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`.** `main` moved onto FO-62 (`b215d4e`) while this round was verifying, and `git merge-tree` at `ab7d4f7` already conflicted in `docs/runbooks/0001-deploy-and-rollback.md`. Commit `55834b1` is that merge: `main`'s two actor-axis rows for `env` and `env-check` verbatim, this branch's five-part `check` row kept — a union, not a side. `mergeable` now reads **true**, `merge_base` `b215d4e`. The whole set re-ran on the merged tree: `mise exec -- make check` **rc=0**, 36 `ok` rows, `plan-workflow-test` 18/18, `docs-check` five assertions. **Review `625` is at `55834b1`** — verdict **merge**, 0 BLOCKER, **1 ADVISORY**: the body's run citation named the head before the merge. That advisory is cleared in the body, no commit: `#147` at `ab7d4f7` → `#148` at `55834b1`, read back `equal=True`, anchor gone. The claim it carries is unchanged and still true at the head — run `#148` `success`, five `pr-checks` contexts `success`, aggregate `success` over 5, and no `plan / *` row. **Label.** The round's `review/needs-review` move was consumed by the loop, which reviewed the merge head and set `review/merge-ready` at 17:51:46Z; live labels read `['review/merge-ready']` (org id 24) and I have left the reviewer's own verdict where it put it rather than re-arming a review of an unchanged head.
pit merged commit 7d3a17d917 into main 2026-11-11 18:52:52 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
olympus/infra-forge!88
No description provided.