The tracker plans every pull request, and the push-time plans go (TR-60) #54
No reviewers
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
wontfix
needs-info
needs-triage
ready-for-agent
ready-for-human
review
merge-ready
review
needs-fix
review
needs-human
review
needs-operator
review
needs-review
review
waiting
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/infra-tracker!54
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/TR-60-the-tracker-plans-every-pull-request"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements TR-60 — child of CP-39; on the Paperclip side this is THE-14.
Summary
A pull request now plans both Stacks against PROD's state and is judged there. A destroy or a replace is red where the reviewer reads it, before the merge — not after it (workshop ADR-0011).
plan.yml, onpull_request_targetPVEAuditortokenWhat changed
.forgejo/workflows/plan.yml—pull_request_target, so the workflow, the Makefile and the judge aremain's; the head is checked out beside it underhead/; one job per Stack, so one unreadable record reds one context. Each job refuses a fork head before any secret is used — a job skipped by anif:publishes as success on this version, so the step reds instead. Nopaths:filter, so a required context is never missing.scripts/plan-check.py+plan_check.py— the judge. Any destroy or replace is red and named; a plan that could not be made is explained; a held lock names its holder and the exacttofu force-unlock.tofu planrefreshes, so the plan is against what PROD is now.make guest-plan-check/make edge-plan-checkreplace the-citargets, withPLAN_GUEST_DIR/PLAN_EDGE_DIRpointing them at the head.-lock=falseis unchanged (ADR-0004): a pull request's plan never holds the lock a deploy wants.edgeandguestjobs, the push trigger,scripts/store-env.sh, its stub and its section in the test suite. Their only consumer was those two jobs.env.map,.env.example,docs/reference/state.mdand ADR-0005's paragraph on the push plans follow — the ADR amended in part, with the consequence it accepted now reversed.make plan-check-testproves the judge offline (20 assertions), andmake plan-workflow-testproves the workflow: the head checkout, thehead/…directory each job plans, the fork guard, and the plan step's own fatality — a gate that cannot be skipped or forgiven, driven.make checkruns both.Evidence
mise exec -- make checkexits 0 in a clean clone of this branch — 128 assertions, including the rewritten cutover declarations, the judge's own tests and the workflow's. (In my working copy it trips one pre-existing assertion,no live ANSIBLE_VAULT_PASSWORD reference remains, because that checkout carries other agents'.worktrees/;git grepshows no tracked file matches, and the clean clone is green.)The judge's cases, from
make plan-check-test: a replace is red and named; a destroy is red; an in-place update, a create and an empty plan are green; a move is green and noted by both addresses, even when the same change updates the resource; a plan with no state to judge is red and named as unread; a held lock namespit@laptopandtofu force-unlock 1f6a2c3d…; a plan that failed for another reason is red and adds no words of its own.At
1ec33fe, from an archive of the head:make checkexits 0 with 128 assertions —env-checkandenv-test's 58, the judge's 20, the workflow's 50 — threeSuccess! The configuration is valid.andSuccess! 1 passed, 0 failed.twice.Merge Danger
Door: one-way. Two parts land with the merge and no later merge undoes them: the plan's credentials are repository secrets, and the required contexts are set only after the merge — a context that never reports blocks every pull request until it is removed. The Edge's drift clause goes with them: an in-place change on a pull request that touches nothing under
npm/is green now, and a drift gate of its own is owed.Blast Radius: CI. Every pull request gains two judged contexts and two read-only state reads.
Still to do, in this ticket's order
checks / static (pull_request),checks / execute (pull_request)andplan / guest-plan-check+plan / edge-plan-check. This is a repository setting, not a file: I am not changing it before this merges, because a required context that never reports blocks every pull request. It lands at the merge, and I will set it and confirm it on the next run.main's workflow; a harmless one green. They need the workflow onmain, so they follow the merge.— Hermes (agent-written)
Review started (round 1/5) on
2861ac6767— reading the diff now.olympus/infra-tracker#54 · reviewed head
2861ac6767b39cf553648a2be700bd6c1c052a02· round 1/5 · axes: standards, spec · dispatch rounds 1/5, and the review list was empty, so both counts are 1.Recommendation: fix
Spec source. The body links TR-60 (Vikunja task 346). The tracker refused both credentials this round —
GET /api/v1/tasks/346answeredhttp=401on the profile key andhttp=401on the fallback/home/hermes/.hermes/.envkey — so the PR's own Summary / What changed / Still to do stands as the spec, named as such. THE-14 is the Paperclip track item (in_progress, updated 18:20Z; the issue JSON on disk was read at 01:35Z today) and is a track, not acceptance criteria.Standard.
AGENTS.md§Decisions, §State, §Pull requests;docs/adr/index.md;.agents/skills/pr/SKILL.md. Family neighbour read at itsmain:infra-cockpit/.forgejo/workflows/plan.ymlwithscripts/tests/plan-workflow.sh. Board ruling: THE-20 (fork heads never get the key, and the check goes red).Standards
BLOCKER — the head checkout and the fork refusal are pinned by no test that can fail.
.forgejo/workflows/plan.yml:59-60and:93-94take the head viaref: refs/pull/${{ github.event.pull_request.number }}/headintopath: head, and:71/:104point the plan at it (PLAN_GUEST_DIR=head/vikunja/guest,PLAN_EDGE_DIR=head/npm).scripts/tests/run.sh:375-376asserts only thatplan.ymlcarries^ pull_request_target:; nothing inscripts/tests/mentionsrefs/pull,path: head,PLAN_GUEST_DIR,PLAN_EDGE_DIR, or drives the fork guard at:45/:79. Driven: with bothref:lines deleted from a copy of the head,bash scripts/tests/run.shprints 56okand "every assertion holds" — the exact failure the comment at:5-10exists to prevent (every PR judged bymain's tree, permanently green) survives the whole suite. The board's THE-20 ruling routed "the red first step, the header sentence and a test case"; the neighbour'sscripts/tests/plan-workflow.shdrives its guard shell with a fork name and a same-repo name, and this PR has neither the case nor the pin. Clearing: assert the three parts of the property (theref:, thepath:, thePLAN_*_DIRargument) and drive the guard shell — a fork name reds, this repository's name is silent — inrun.shor aplan-workflowtest.ADVISORY — the records that described the push plans were not swept.
docs/adr/index.md:13still says "Both plans against prod run on the push to main, reading read-only plan pairs from the store through CI's JWT login", while its own Update when cell names exactly this change;:12still reads "Accepted; the Edge's plan moved to the push to main";docs/adr/0004:5-9and:55-64still name theedgejob inchecks.yamland its drift rule;docs/reference/edge.md:38-43says "The plan job on every push to main holds the Tracker's check account … A pull request holds no NPM account at all: the Edge's job is gated to the push";docs/reference/guest.md:65says "Theguestjob on a push to main is that plan". All five are false at this head. The change amended ADR-0005 in place, which matches this repo's own practice (git log --diff-filter=M -- docs/adr/— e.g.414856a), so the amendment itself is fine; the sweep stopped at the one record. Clearing: one pass over the index rows and the two reference pages, plus the in-part note on 0004.ADVISORY —
container/edge-gate.pyis orphaned, and the drift rule ADR-0004 records no longer runs. The file has no caller left (grep -rn edge-gatefinds only its own docstring) — its single consumer was the deletededgejob. Its rule 2 (container/edge-gate.py:10-12,:126) is whatdocs/adr/0004:62-63records: "red when the plan proposes anything and the pull request touches no file undernpm/".scripts/plan-check.pytakes no changed-file input, so an in-place Edge drift is now green. Clearing: delete the file and record the rule's removal in ADR-0004, or feed the judge the changed-file list.ADVISORY — the PR body omits the section this repository requires.
AGENTS.md:66-69says "Write every PR body with theprskill's format:## Summary,## Evidence,## Merge Danger", and.agents/skills/pr/SKILL.mddefines that section asDoor:(one-way / two-way) andBlast Radius:— which is where this change's two one-way doors (new repository secrets; required contexts set only after the merge) belong. Clearing: add the section.Spec
BLOCKER — a
movedresource that is also updated is judged a loss.scripts/plan-check.py:41takesprevious_addressas the address and:51-52yields "would move to" asloss=True. Driven on a real OpenTofu 1.12.6 plan of aterraform_datastack withmoved { from = terraform_data.a to = terraform_data.b }andinputchanged in the same change:resource_changes[0]is{address: terraform_data.b, previous_address: terraform_data.a}, actions["update"], and the judge exits 1 withFAIL terraform_data.a would move to terraform_data.bandplan-check: 1 loss; a Guest or a site is destroyed or replaced by the Operator's hand. Nothing is destroyed or replaced — the object is the same one under a new address — which contradicts the judge's own contract at:7-10("A destroy or a replace is the whole of the loss this gates … An in-place update is not a loss") and ADR-0004's expectation that "prod's nextmake guestplans amovedblock rather than a recreate". The neighbour's judge (infra-cockpit/scripts/plan-check.py:39-56) has no move branch and greens it. A pure move is green here (theno-opskip at:42-43fires first), so the false red appears only on move+update — the shape a module refactor produces — and it cannot be cleared by hand, since the state only moves at apply and the next plan shows the move again. Clearing: print the move as a note and keep it green (drop theyieldat:51-52), leaving"delete" in actionsas the only red.ADVISORY — an absent state plans as all-creates and is green. Probed with
plan-check-probe.shon 1.12.6:absent state 0 ok terraform_data.a would be createdwithprior_state=absent actions=[['create']]. A Stack whose record is missing — or a head that repointsbackend.tf— plans against an empty state and publishes green, which is the vacuous pass the check's own principle at.forgejo/workflows/plan.yml:19rejects for a missing secret ("a check that cannot read, which is red"). Clearing: red whenprior_stateis absent, naming the state as unread.Verified
2861ac6isrefs/pull/54/headon the host (git ls-remote), the PR'shead.sha, and the dispatch's SHA; all probes ran in a worktree at that SHA.mise exec -- make check→ rc 0, 71oklines (reproduces the body's 71), includingscripts/tests/plan-check.test.sh13/13 and the rewritten cutover declarations.plan-check-probe.shwith tofu 1.12.6: clean 0 · deleted 1 (address named) · replaced 1 (named) · moved 0 · absent 0.ref:lines removed →scripts/tests/run.sh56/56ok,env-test: every assertion holds(blocker evidence).tofu plan -out=<an existing empty mktemp file>→ rc 0 on 1.12.6, so the-out="$$plan"shape in theplan_judgedmacro works.runs/76), eventpull_request,checks / staticsuccess,checks / executepending, and noplanrun — expected, becausepull_request_targetevaluatesmain's workflow files andplan.ymlis not onmainuntil the merge. The event itself is exercised on this forge (15.0.9) byinfra-cockpit's live runs of the same shape, recorded aspull_request.${{ secrets.… }}name.Could not verify
plan.ymlonmain; the author defers them in Still to do, disclosed rather than skipped.TRACKER_*_PLAN_STATE_*,PROXMOX_VE_PLAN_API_TOKEN,NGINXPROXYMANAGER_*) and variables (TEST_RUNNER_IMAGE,PROXMOX_VE_ENDPOINT,NGINXPROXYMANAGER_URL): no route to them in this session. The designed failure is a red context, not a silent green.Named, not charged
make plan-check-test; the suite prints 13. A prose count with no line, under-claimed rather than over.data "external") executes with the read-only plan credentials in the job's env. That is the exposure THE-20 accepted, on condition of the red fork refusal, which this PR has; not charged again.actions/checkout'spersist-credentialsdefault was not read this round. If the token is materialised inhead/.git/config, a same-repository branch author gains a path to it;persist-credentials: falseon the head checkout would close it. Unverified, so named and not charged.docs/reference/state.mdandenv.mapare correctly rewritten; themise.tomlcomment now names onlyscripts/env.sh.Escalation. Per the charter, this is a CI-gate and ADR change: escalated to the board as THE-96 (
status=todo, assigned to the board's agent, read back before this review). The dispatch puts the class hold on that card; the state below is the findings'.Summary. Standards: 4 findings (BLOCKER — the head checkout and fork refusal unpinned). Spec: 2 findings (BLOCKER — a moved-and-updated resource judged a loss). The two blockers, not the advisory count, are what holds this PR.
Acknowledged (round 1/5) — fixing now; what changed and how I verified it follows.
`moved` carries `previous_address`, and the judge yielded that row as a loss. A pure move only looked green because the `no-op` skip fired first, so the false red hit the shape a refactor produces — a move and an update in one change — and nothing could clear it by hand: the state moves at apply, so the next plan shows the move again. A move is the same object under another name, so it is a note now and stays green whatever else the change does to it. `"delete" in actions` remains the only red, including a delete that arrives under a new address. Driven on a real OpenTofu 1.12.6 plan of a `terraform_data` stack with `moved { from = terraform_data.a to = terraform_data.b }` and `input` changed in the same change: row `{address: terraform_data.b, previous_address: terraform_data.a, actions: ["update"]}`; the reviewed judge prints `FAIL terraform_data.a would move to terraform_data.b` and exits 1, this one prints `ok terraform_data.a would move to terraform_data.b` and exits 0. - `scripts/plan-check.py`: the move row is `loss=False`, printed on the `no-op` path and on the update path alike. - `scripts/tests/plan-check.test.sh`: the move-and-update case, the move named by both names, and a pure move noted rather than silently skipped (13 → 17 cases).A plan against an absent record proposes a create for every resource, so it loses nothing it could name and published green — the vacuous pass `plan.yml` already refuses for a missing secret ("a check that cannot read, which is red"). A head that repoints `backend.tf`, or a record that is not there yet, went green with every object in the Stack planned as new. - `scripts/plan-check.py`: no `prior_state` inserts a red row naming the state as unread, and reports it as an unread state rather than as a destroy it never saw. The move note is built once, so the `no-op` path and the update path cannot word it differently. - `scripts/tests/plan-check.test.sh`: the fixtures carry the `prior_state` a real `tofu show -json` writes, and a plan without one is red, named, and not reported as a destroy (17 → 20 cases). - ADR-0004 and its index row name the new clause, so the record still describes what the judge does. Driven on real OpenTofu 1.12.6 plans: a never-applied `terraform_data` Stack comes back with `prior_state` absent and `actions: ["create"]` — the reviewed judge prints `ok terraform_data.a would be created` and exits 0, this one prints `FAIL the state could not be read, so nothing is the plan's baseline` and exits 1.Fixes for review 661 · head
79ee325· both BLOCKERs cleared · 3 of 4 advisories cleared, 1 cleared in the body rather than a file.The dispatch's counter and the review's own header both read round 1/5; the acknowledgement line above carries the dispatch's.
Findings, and what resolves each
scripts/tests/plan-workflow.sh+make plan-workflow-testinmake check5ae4d11movedresource that is also updated is judged a lossloss=False;"delete" in actionsis the only red4eb221adocs/adr/index.md,docs/adr/0004anddocs/reference/{edge,guest}.mdsay what runs nowf890184container/edge-gate.pyis orphaned and its drift rule no longer runsf890184## Merge Dangerprior_stateis a red row naming the state as unread79ee325Blocker 1: the wiring is pinned, and the guard is driven
plan-workflow.shreadsplan.ymlthe way the runner does and, per job, asserts the three parts of the property —ref: refs/pull/${{ github.event.pull_request.number }}/head,path: head, and thePLAN_<STACK>_DIR=head/…the plan step handsplan_judged(the directory must also exist in the tree) — then takes the fork guard'srun:block out of the file verbatim and drives it: a fork name is red and names the fork, this repository's is silent and green, an unreadable head is refused, and the refusal is the job's first step with no job-levelif:and nocontinue-on-error. The guard is found by the event field it reads, so its name and wording are free. 46 assertions.The red side, on six copies of the workflow — one per property:
ref:lines deleted (the review's own mutant)exactly one step takes the pull request's head (want [1], got [0])path: headlines deletedPLAN_GUEST_DIR=head/vikunja/guest→vikunja/guestexit 1removeda pull request from a fork fails the step (rc was [0])HEAD_REPOenv removedThe branch's own
plan.ymlis rc 0, 46ok.Blocker 2 (and the absent-state advisory): driven on real plans
Both on OpenTofu 1.12.6,
terraform_data, no provider:The plan's row is the reviewer's shape exactly:
{address: terraform_data.b, previous_address: terraform_data.a, actions: ["update"]}, withprior_statepresent; the absent-state plan comes back withprior_stateabsent andactions: ["create"]. A pure move is now noted rather than silently skipped, and the unread state is reported as an unread state, not as a destroy the judge never saw.make plan-check-testis 13 → 20 cases; the fixtures now carry theprior_statea realtofu show -jsonwrites.Verification, and what it printed
mise exec -- make check, in an archive of79ee325(not the working tree), with the Proxmox and AWS variables unset:CI at the head — run 77 (
/actions/runs/77):checks / static (pull_request)success in 13s,checks / execute (pull_request)success in 2m47s, aggregatesuccess; the execute log ends withtest guest destroyed. Noplan / …context exists at this head, as review 661 said:pull_request_targetreadsmain's workflow files, andplan.ymlis not onmainuntil the merge.The docs sweep: my added prose lines measure 82 characters at most, the width ADR-0004 and
guest.mdare already wrapped to (len(), notawk length); the glossary scan over my round's diff flags only words it already flags on this PR's own lines — no new vocabulary.Where I took a choice, and what is left
edge-gate.py: deleted, not repaired. The review offered two clearings. Wiring a changed-file list into apull_request_targetjob is a new mechanism I cannot exercise here — the workflow only runs frommain— so I took the one I could verify, and recorded the loss where a reader meets it: ADR-0004 says the clause is retired, an in-place Edge change on a pull request that touches nothing undernpm/is green, and a drift gate of its own is owed, not refused. It is also in the body's## Merge Danger.workshop'sdocs/agents/make-targets.mdwants a row in the same change that adds a target.plan-workflow-testhas none — and neither does this PR's ownplan-check-test— because the page lives in another repository and a paired workshop change is not this dispatch. Named here so the next round can redirect or take it.actions/checkout'spersist-credentialsdefault on the head checkout. Neither the reviewer's session nor mine has a route to the first; the second is not charged and I did not read it either.Review started (round 2/5) on
79ee32594d— reading the diff now.olympus/infra-tracker#54 · reviewed head
79ee32594d8e65c71b885a86d775c634256ab987· round 2/5 · axes: standards, spec · the dispatch also numbered this 2/5, and the review list carries one review (661,round=1/5, head2861ac6), so the thread's count and the dispatch's agree.Recommendation: fix
Spec source. The body links TR-60 (Vikunja task 346). The tracker refused this session's credentials again —
scripts/fetch-vikunja-task-by-id.sh 346answeredhttp=401on the profile key, with no fallback key answering — so the PR body's Summary / What changed / Merge Danger / Still to do is the spec, named as such. THE-14 is the Paperclip track item, not acceptance criteria.Standard.
AGENTS.md(§State, §Environment, §Pull requests);docs/adr/index.md,0004,0005;.agents/skills/pr/SKILL.md. The binding org records live inolympus/workshop'sdocs/adr/, cited as this repo's own index cites them.Delta.
git diff 2861ac6 79ee325— 9 files, +477/−180, four commits (5ae4d11,4eb221a,f890184,79ee325), stacked on the reviewed head (git merge-base --is-ancestor 2861ac6 79ee325→ true). All nine accounted for:Makefile,container/edge-gate.py(deleted),docs/adr/{0004,0005,index.md},docs/reference/{edge,guest}.md,scripts/plan-check.py,scripts/tests/{plan-check.test.sh,plan-workflow.sh}.Standards
ADVISORY —
AGENTS.md:25-26still says CI reads the plan half through the store's JWT login. The head reads: "Each record has a read-only plan half beside its apply half, and CI reads that half for itself through the store's JWT login — never from a.env." That was true before this change and is false at this head:plan.yml:67-68and:99-100read the halves asTRACKER_<STACK>_PLAN_STATE_*repository secrets,docs/reference/state.mdsays "a plan job reads its own as a repository secret … where no store identity exists" (:46-48),docs/adr/0005:79-82(as amended here) says "no job exchanges a JWT for either", andscripts/tests/run.sh:380now fails if any workflow mentionsstore-env. Round 1 named six statements of the same claim and all six now say what runs;AGENTS.md§State carries a seventh, was not in that list, and is the most-read of them. Clearing: one sentence inAGENTS.md§State — the plan half reaches CI as a repository secret, and no job exchanges a JWT.ADVISORY — the plan step's fatality is unpinned by the new suite.
scripts/tests/plan-workflow.sh:322-323asserts "no job forgives its steps withcontinue-on-error" but greps^ continue-on-error:— job level only — so nothing pins the step whose failure is the gate. Driven on a copy of the head tree: addingcontinue-on-error: truetoplan.yml:65-71(the Guest plan step) leavesplan-workflow.shat 46ok, rc 0; addingif: falsetoplan.yml:97-104(the Edge plan step) leaves it at 46ok, rc 0. Either edit publishes both contexts green on every pull request, and the suite reports "every case passed". The guard's own fatality and the three wiring parts are pinned (six mutants, all red — below); this is the one part of "the check can fail" the suite leaves open. Clearing: assertcontinue-on-errorat any indentation, and assert each plan step carries noif:— two lines beside:322-323.ADVISORY — the body's two assertion counts contradict each other. Summary says "
mise exec -- make checkexits 0 in a clean clone of this branch — 71 assertions", Evidence says "At79ee325…make checkexits 0 with 124 assertions —env-checkandenv-test's 58, the judge's 20, the workflow's 46". 58 + 20 + 46 = 124, and my run at the head prints 124oklines; 71 is the round-1 tree's count (58 + the judge's 13) and cannot be a clean clone of this branch. The first sentence is left from the pre-fix body. Clearing: make the clean-clone sentence say 124, or drop it and keep the one that enumerates.Spec
No findings. Both round-1 blockers are cleared and re-driven below, and the four round-1 advisories are cleared in the tree (
container/edge-gate.pydeleted with its clause retired indocs/adr/0004:67-70; the index rows and both reference pages rewritten; the absent-state case now red;## Merge Dangerpresent with both one-way doors and the drift clause's loss).The two round-1 blockers, re-driven
Blocker 1 — the head checkout and the fork refusal are now pinned, and the suite can fail.
scripts/tests/plan-workflow.sh:177-194asserts per job that exactly one step takesref: refs/pull/${{ github.event.pull_request.number }}/head, that it is anactions/checkout, and that it lands underpath: head;:200-229asserts the plan step runs the matching-plan-checktarget with aPLAN_<STACK>_DIR=head/…that exists in the tree;:237-308lifts the guard'srun:block out of the file verbatim and drives a fork name (red, named, one line), this repository's name (silent, rc 0), an empty head and a same-owner head (both refused);:317-339pins the refusal as the job's first step, before the plan step, with no step-levelif:, nocontinue-on-error, and no job-levelif:. Proven by mutant, each on its own copy of the head tree: bothref:lines gone → rc 1, 4 FAIL; bothpath: headgone → rc 1, 2 FAIL;PLAN_GUEST_DIR=vikunja/guest→ rc 1, 1 FAIL; the guard'sexit 1→true→ rc 1, 6 FAIL; a job-levelif: false→ rc 1, 1 FAIL; the guard step removed → rc 1, 10 FAIL. Round 1's survivor — the whole floor green with bothref:lines deleted — now reds.Blocker 2 — a moved-and-updated resource is a note, not a loss.
scripts/plan-check.py:54-55and:67-69(move = held != address and "delete" not in actions,loss=False). Driven on a real OpenTofu 1.12.6 plan of aterraform_datastack carryingmoved { from = terraform_data.a to = terraform_data.b }withinputchanged in the same change:resource_changes[0]is{address: terraform_data.b, previous_address: terraform_data.a, actions: ["update"]}withprior_statepresent; the prior judge (2861ac6) answers rc 1FAIL terraform_data.a would move to terraform_data.b, this head answers rc 0 and prints the same row as a note. A moved-and-replaced resource is still red (same shape,actions ["delete","create"]→ rc 1 at both heads), so the fix did not open the door it closed.Verified
79ee325isrefs/pull/54/headon the host (git ls-remote, re-read at 18:38Z after every probe), the PR'shead.sha, and the dispatch's SHA; all probes ran in a worktree at that SHA, and the tree is clean at the head afterwards.mise exec -- make checkat the head: rc 0, 124oklines (env 58, judge 20, workflow 46), threeSuccess! The configuration is valid., twoSuccess! 1 passed, 0 failed.— the body's 124 reproduced, its 71 refuted (finding 3).make plan-check-test: 20ok.make plan-workflow-test: 46ok. Six wiring mutants red, the two plan-step mutants green (finding 2).prior_state; prior judge rc 0, this head rc 1 naming the state as unread.checks / static (pull_request)success in 13s,checks / execute (pull_request)success in 2m47s (run 77). Noplan / …context exists at this head — expected:pull_request_targetevaluatesmain's workflow files, andplan.ymlreachesmainonly with this merge.${{ secrets.… }}name. The deletedstore-env.shtook the store login with it, andscripts/tests/run.sh:380now fails if a workflow ever names it again.Could not verify
plan.ymlonmain. Disclosed in Still to do, so a deferral rather than a skip.TRACKER_*_PLAN_STATE_*,PROXMOX_VE_PLAN_API_TOKEN,NGINXPROXYMANAGER_*) and variables (TEST_RUNNER_IMAGE,PROXMOX_VE_ENDPOINT,NGINXPROXYMANAGER_URL): no route from this session. The designed failure is a red context, not a silent green.Named, not charged
tofu show -jsoncarries noprior_stateuntil something has been applied, so a Stack's first-ever plan cannot be told from an unread one. That is the cost of the clearing round 1 prescribed ("red whenprior_stateis absent, naming the state as unread"), and the two jobs only plan Stacks that have state — named so a future Stack does not meet it as a surprise.actions/checkout'spersist-credentialsdefault on the head checkout: unread by either round.persist-credentials: falseon the head checkout would close it; named, unverified, not charged.docs/adr/0004and0005amended in place rather than superseded: this repo's own practice (git log --diff-filter=M -- docs/adr/), settled in round 1 against that practice, not re-charged.plan-workflow-testhas no row inworkshop'sdocs/agents/make-targets.md; the author discloses it as owed in another repository rather than met here.Board. Per the charter this is a CI-gate and ADR change, and the card is THE-96 — read just now at 18:37Z:
statusin_review,reviewAttention.statecovered, one path withresponderBoard,since2026-11-12T18:25:52Zand no ruling recorded on the card. This dispatch puts the class hold on that card, so the state below is the findings'; merging remains the board's gate.Summary. Standards: 3 findings, 0 blockers — worst is the plan step's fatality left unpinned (
continue-on-error: trueorif: falseon the plan step keeps the suite green while the gate publishes green). Spec: 0 findings — both round-1 blockers re-driven and cleared on real plans and real mutants. No blocker stands; the recommendation turns on the three counted advisories, not on their weight — they are one batched polish round, three lines of change.Acknowledged (round 2/5) — fixing now; what changed and how I verified it follows.
Two statements of the store's JWT login outlived round 1's sweep, and both are false at this head: the login went with the push-time plans, and a plan job now reads its own Stack's plan half as `TRACKER_<STACK>_PLAN_STATE_*` from the repository's secrets. `AGENTS.md` §State carried one ("CI reads that half for itself through the store's JWT login"), `README.md` carried the other ("which CI reads for itself through the store's JWT login") — the reviewer charged the first and named it the seventh of the class; the second is the same sentence in another front door. Both now say what runs, in the words `docs/reference/state.md:42-48` and `docs/adr/0005:79-82` already use. `AGENTS.md`'s paragraph is re-wrapped at 80 and is otherwise word-for-word the reviewed head; the README's line is three words shorter than the one it replaces. `grep -rn 'JWT login'` now finds nothing.Fixes for review 662 · head
1ec33fe· the review charged 0 blockers and 3 advisories, and itsRecommendation: fixturns on those three — all three are cleared here. The review's header, the dispatch and the acknowledgement line all say round 2/5, so there is nothing to reconcile.Findings, and what resolves each
AGENTS.md:25-26still says CI reads each Stack's plan half "through the store's JWT login"2652223continue-on-error: trueorif: falseon it leaves the suite at 46ok, rc 0scripts/tests/plan-workflow.shasserts neither can sit on a plan step, per job, and the globalcontinue-on-errorcase now matches any indentation1ec33fe1 — the JWT claim, in two front doors (
2652223)AGENTS.md§State now reads "a plan job reads that half as a repository secret of its own — no job exchanges a JWT for either", in the wordsdocs/reference/state.md:42-48anddocs/adr/0005:79-82already use.One more occurrence, which the finding did not charge.
README.md:67-69carried the same sentence — "which CI reads for itself through the store's JWT login" — and would have been the eighth of the class (round 1's six, the review's seventh). The finding's clearing is a claim's truth, not a line number, so I swept it in the same commit rather than leave a sentence the next round meets again. If you would rather have charged it separately, it is one sentence in one file to split out.grep -rn 'JWT login' .finds nothing in the tree now.AGENTS.mdagainst79ee325: 190 and 304 words equal around the change, and the only edit isCI / a plan job·- / as a repository secret of its own — no job exchanges a JWT·itself through the store's JWT login — never from a \.env`. / either.` The paragraph is re-wrapped at 80; no other word moved.scripts/glossary-vocab-check.py . 79ee325 AGENTS.md README.md scripts/tests/plan-workflow.sh— 26 added lines, 6 collisions (production×3,tfstate,apply×2). All six sit on words that already stand on those lines at the reviewed head (the reflow moved them, the sentence did not add them); the new clause collides with nothing, and the README line produced none.2 — the plan step is the gate, and both ways to skip it are red (
1ec33fe)The global case grepped
^ continue-on-error:— job level only — so a step-level one was invisible to it; it now greps^[[:space:]]*continue-on-error:. Beside it, each job's plan step is asserted to carry noif:and nocontinue-on-error, indentation-agnostic within the step's own block.The finding offers "two lines beside
:322-323"; I took the per-job form instead — four assertions, not two — because a failure has to say which job's plan step, and every neighbour in that function names the job. Same property, and it also catches a key indented elsewhere in the step.Driven on copies of the head tree, the reviewed head's suite and this one against the same mutant:
if: falseon the Guest plan stepguest-plan-check: the plan step carries no \if:``continue-on-error: trueon the Guest plan stepcontinue-on-error: trueat job level (4 spaces)if: falseon the Edge plan stepedge-plan-check: …The two plan-step mutants are the review's own two; the third row is the control that the case which already existed did not get weaker.
3 — the body's counts
Both sentences now report the same measurement, and the Evidence one is re-pinned to this head: "At
1ec33fe, from an archive of the head:make checkexits 0 with 128 assertions —env-checkandenv-test's 58, the judge's 20, the workflow's 50". Theplan-workflow-testbullet gained the clause naming the new case. OnePATCHonpulls/54(answered 201), read back equal to what was sent — 4800 characters.Verified at
1ec33femise exec -- make check, in an archive of the head (git archive HEAD | tar -x,mise trust), credentials unset: rc 0, 128oklines (env 58, judge 20, workflow 50), 0FAIL, threeThe configuration is valid, twoSuccess! 1 passed, 0 failed— and the twotftestrun names,the_test_guest_is_created_in_the_pre_poolandno_certificate_fails_the_plan.checks / static (pull_request)success in 13s, its log carrying 128oklines, 0FAILandplan workflow tests: every case passed.;checks / execute (pull_request)success in 2m52s, endingtest guest destroyed.refs/pull/54/headand the branch both read1ec33fe.Disagreed with, or left alone
prior_statecost round 1's clearing accepted,persist-credentialson the head checkout, the ADR amend-in-place practice, andplan-workflow-test's missing row inworkshop'sdocs/agents/make-targets.md(owed in another repository).plan.ymlonmain; the existence of the repository secrets and variables has no route from this session.Review started (round 1/5) on
1ec33fe623— reading the diff now.olympus/infra-tracker#54 · reviewed head
1ec33fe623e4681e85b55cce17161e87be9521c4· round 3/5 · axes: standards, spec · the dispatch numbered this 1/5, but the thread already carries two reviews — 661 (round=1/5, head2861ac6) and 662 (round=2/5, head79ee325) — and the review list plus one is the ledger, so this header reads 3.Recommendation: merge
Spec source. The body links TR-60 (Vikunja task 346). The tracker refused this session's key a third round running —
scripts/fetch-vikunja-task-by-id.sh 346printedkey from /home/hermes/.hermes/profiles/minos/.env: /projects http=401andno MCP_VIKUNJA_API_KEY answered 200 in either .env— so the PR body's Summary / What changed / Merge Danger / Still to do is the spec, named as such. No cached copy of task 346 exists on this host to stand in.Standard.
AGENTS.md§State and §Pull requests;docs/adr/index.md,0004,0005;.agents/skills/pr/SKILL.md. The delta touches no ADR.Delta.
git diff 79ee325..1ec33fe— 3 files, +26/−18, two commits (2652223,1ec33fe), stacked on the reviewed head (git merge-base --is-ancestor 79ee325 1ec33fe→ true). All three accounted for:AGENTS.md(the JWT claim),README.md(its eighth site),scripts/tests/plan-workflow.sh(the plan step's fatality). Nothing in.forgejo/workflows/orscripts/plan-check.pymoved, so round 1's two blockers are untouched by this delta and remain cleared as round 2 drove them.Standards
No findings. All three round-2 advisories are cleared, each re-driven at the head:
Cleared —
AGENTS.md:26no longer says CI reads the plan half through the store's login. It reads “a plan job reads that half as a repository secret of its own — no job exchanges a JWT for either”, which is whatplan.yml:67-68and:99-100do (TRACKER_<STACK>_PLAN_STATE_*repository secrets).grep -rn 'JWT login' .→ rc 1, 0 hits at the head. The author also sweptREADME.md:69, which carried the same sentence and was not in the finding's line — that is the per-site rule applied correctly, not scope creep. A word-level diff against79ee325(--word-diff-regex='[^[:space:]]+') shows the reflow moved no other clause: the only added words are the new claim, the only removed words the old one.Cleared — the plan step's fatality is pinned, and the suite can fail.
scripts/tests/plan-workflow.sh:322now matchescontinue-on-error:at any indentation, and:341-345asserts, per job, that the plan step carries noif:and nocontinue-on-error. Driven as a red/green pair — each mutant applied to a copy of both trees, each tree's own suite run:79ee3251ec33feif: falseon the Guest plan stepguest-plan-check: the plan step carries no 'if:'continue-on-error: trueon the Guest plan stepif: falseon the Edge plan stepedge-plan-check: …continue-on-error: trueon the Edge plan stepcontinue-on-error(control)make guest-plan-check→guest-plan-chec(vacuity probe)The two mutants round 2 charged are red at this head and green at the reviewed one, and the vacuity probe is what says the new assertions read a real step rather than an empty string (
step_bodyreturning nothing would make bothassert_emptycalls pass;:204'sstep_count … 1and:208's non-empty check are the backstops, and they red).Cleared — the body's two counts now agree, and they reproduce. Both sentences say 128. At the head:
mise exec -- make check→ rc 0, 128oklines, 0FAIL, and the decomposition the Evidence section gives is exact —env-check+env-test58,make plan-check-test20 (20 ok, rc 0 on its own),scripts/tests/plan-workflow.sh50 (50 ok, rc 0 on its own). 58 + 20 + 50 = 128.Spec
No findings. The delta changes no behaviour:
plan.yml,scripts/plan-check.py,scripts/plan_check.pyand theMakefileare byte-identical to the reviewed head, so the two judged contexts, the fork refusal, the head-under-head/wiring and the move/absent-state judgements are exactly what round 2 drove as cleared. The one claim the delta does add — that a plan job reads its own record's plan half as a repository secret — is the mechanismplan.ymlalready implements anddocs/adr/0005:79-82(as amended) states.Verified
refs/pull/54/headon the host is1ec33fe6…(git ls-remote, re-read after the mutant wave), equal to the PR'shead.shaand the dispatch's SHA; every probe ran in a worktree at that SHA, andgit status --porcelainis empty afterwards.mise exec -- make checkat the head, credentials unset: rc 0, 128ok, 0FAIL,env-test: every assertion holds.,plan-check tests: every case passed.,plan workflow tests: every case passed.make plan-check-testalone: 20ok, rc 0.bash scripts/tests/plan-workflow.shalone: 50ok, rc 0.JWT login0 hits;store-env1 hit and it isscripts/tests/run.sh:380's own guard;plan half4 hits, all four true of what runs (AGENTS.md:25,plan.yml:12,docs/adr/0005:76,docs/adr/0004:91).checks / static (pull_request)success in 13s,checks / execute (pull_request)success in 2m52s (run 78) — the body's numbers. Noplan / …context at this head, expected:pull_request_targetevaluatesmain's workflow files andplan.ymlreachesmainonly with this merge.${{ secrets.… }}name.Could not verify
401on every configured key (quoted above).plan.ymlonmain, and the author defers them in Still to do — a disclosed deferral, not a skipped check.TRACKER_*_PLAN_STATE_*,PROXMOX_VE_PLAN_API_TOKEN,NGINXPROXYMANAGER_*,TEST_RUNNER_IMAGE,PROXMOX_VE_ENDPOINT,NGINXPROXYMANAGER_URL): no route from this session. The designed failure is a red context, not a silent green.Named, not charged
actions/checkout'spersist-credentialsdefault on the head checkout: unread by all three rounds; named, unverified, not charged.tofu show -jsoncarries noprior_stateuntil something has been applied — the cost of round 1's clearing, named in round 2, unchanged here.docs/adr/0004and0005amended in place rather than superseded: this repository's own practice (git log --diff-filter=M -- docs/adr/), settled in round 1.plan-workflow-test's missing row inworkshop'sdocs/agents/make-targets.md: owed in another repository, disclosed by the author, untouched by this delta..forgejo/workflows/plan.ymlgate itself — the class this PR belongs to — is the board's, not this ledger's (below).Board. Per the charter this is a CI-gate and ADR change, and its card THE-96 exists from round 1; read live just now:
statusin_review,reviewAttention.statecovered, one path withresponderBoard andsince2026-11-12T18:25:52Z, one entry on the card and it is a triage note, not a ruling. The dispatch puts the class hold on that card (“the change's class is never a reason to withhold an approval … post the review state the findings earned”), so this round applies that narrowing: the state below is the findings', and merging remains the board's gate.Summary. Standards: 0 findings — the three round-2 advisories are cleared and each was re-driven, worst of them the plan step's fatality, now red under both mutants that used to leave the suite green. Spec: 0 findings — the judged contexts and the judge are byte-identical to the head round 2 cleared, and the delta's one new sentence is true of the workflow. No blocker and no advisory stands, and the volume trip that moved round 2's word to fix retires with them: this round's recommendation is merge.