Probe: a plan that would replace 150 (paperclip:THE-16) #37
No reviewers
Labels
No labels
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-silo!37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/THE-16-probe-red"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A throwaway pull request for the post-merge proof THE-16 needs:
pve_nodemoved forces a replacement of the Guest, soplan / stack-plan-check (pull_request_target)must red and the merge must be refused by the required context. Closed unmerged.What run 56 measured
Appended at fix time (round 1/5): the record this branch cannot carry, since the head
branch is deleted and only the read-only
refs/pull/37/headremains.The red, read from the run's own log — run 56,
plan / stack-plan-check (pull_request_target), commit4fa639f, failed 14:34:58Zafter 15s — at
/olympus/infra-silo/actions/runs/56/jobs/0/attempt/1/logs(32771bytes):
GET /api/v1/repos/olympus/infra-silo/commits/4fa639f/statusescarriesplan / stack-plan-check (pull_request_target)=failureat 14:34:58Z besidepr-checks / check (pull_request)=successat 14:35:26Z.That the protection names the check — the read a non-admin reviewer token cannot
make.
GET /api/v1/repos/olympus/infra-silo/branches/mainanswersprotected: true,required_approvals: 1,enable_status_check: true,user_can_push: false,user_can_merge: false, and:Not observed: a refused merge. The pull request was closed by hand (
pit) at14:37:19Z, 2m38s after it opened and while the plan was red, so "refused" here is the
protection's condition, not a recorded refusal.
It did not land:
GET /pulls/37answersstate: closed,merged: false,merged_at: null,closed_at: 2026-11-11T14:37:19Z.git ls-remote origin 'refs/heads/*' 'refs/pull/37/*'listsrefs/pull/37/headonly, with the head branch
hermes/THE-16-probe-reddeleted;git merge-base --is-ancestor 4fa639f origin/mainexits 1.Review started (round 1/5) on
4fa639f79f— reading the diff now.repo: olympus/infra-silo | pr: #37 | reviewed head:
4fa639f79f| base:f145892a8a| round: 1/5 | verdict: blockRecommendation: fix
Summary in one line: the probe works and the diff must never be merged. It reds the plan check as claimed; what it would do to
mainif merged is declare a node move of the Guest that holds the store and its state.Verified before judging
git diff --stat f145892...4fa639fsilo/variables.tf | 2 +-— one commit, one filemise exec -- make checkin a worktree at4fa639fpve_nodemoved forces a replacement"migrate = truemakes a change tonode_namemigrate the container instead of destroying and recreating it";migrateis not set insilo/guest/container.tfcontainer.tf:4moves with itplan / stack-plan-checkreds"4fa639f:plan / stack-plan-check (pull_request_target)= failure (run 56, 14:34:58);pr-checks / check= success (run 57, 14:35:26)prevent_destroy→tofu planexits 1, "Resource instance … has prevent_destroy set, but the plan calls for it to be destroyed";scripts/plan-check.py --plan-failureon that log →FAIL … would be destroyed or replaced; prevent_destroy refused the plan, exit 1Spec
Spec source: the PR body (which states its own contract) + THE-16 (
B4: plan judge on silo and secrets, fetched from the Paperclip API — cached copy, read live this session). THE-16's done-when: "A pull request in silo and in secrets that would destroy or replace a resource is red before it can merge, and the protection names that check."1. BLOCKER —
silo/variables.tf:4: this must not reachmain.The line moves
pve_nodetoducku, and per the row above that plans a destroy-and-recreate ofproxmox_virtual_environment_container.silo(silo/guest/container.tf:12) — the Guest that holds the store, which holds this Stack's state (ADR-0003, ADR-0007). The only thing standing between the merge and the destruction isprevent_destroyatsilo/guest/container.tf:79, anddocs/runbooks/0001-deploy-and-teardown.md§5 makes lifting that guard the Operator's deliberate act — prescribed precisely for re-creates the provider cannot do in place (container.tf:24-31). A mergedduckudefault turns every latermake guest/make prodonmaininto a failing plan, and the first time the guard is lifted for a legitimate re-create, the replace happens.Smallest thing that clears it: do not merge — close unmerged. Nothing in the diff needs repair; that close already happened at 14:37:19.
2. ADVISORY —
silo/guest/container.tf:79+Makefile:106-117: the red proves the guard, not the judge.Because the plan is a replacement on a
prevent_destroyresource,tofu plan -outaborts before an artifact exists, so the path that reds isplan-check.py --plan-failure(scripts/plan-check.py:82-107). The judge's replace reader (scripts/plan-check.py:46-49,replace_paths) never sees a plan JSON in this probe. THE-16's "a plan saved with-out, thentofu show -jsonthrough the repo's own gate script" is therefore exercised bydeploy-test.sh's stub, not by this artifact. The gate reds either way — this is a gap in what the probe proves, not in what it does.3. ADVISORY — PR body, second claim: "the merge must be refused by the required context" is not evidenced.
No merge was attempted: the PR was closed by hand at 14:37:19, 2m38s after it opened, while the plan check was already red. And
docs/agents/workflow.md:171-172says the plan context joinsmain's required list only "once it has run green onmain", while.forgejo/workflows/plan.yml:31-33triggers only onpull_request_target— nothing in the workflow publishes that context on a commit ofmain. I cannot read the protection to settle it (see below). This is the half of THE-16 that can silently rot: red check, no refusal.Standards
Standards sources read:
AGENTS.md(repo root),docs/agents/workflow.md,docs/index.md. The change is one line of HCL; no smell from the baseline applies.AGENTS.md§Secrets — nothing secret in the repo.env, nothing plaintext in the diffAGENTS.md§Code comments — comments kept to a minimumAGENTS.md§Toolchain —make checkis the credential-free gateADVISORY — PR body / commit subject:
AGENTS.md§Pull requests requiresSL-<index>.The body and the commit name
THE-16(Paperclip), not anSL-index —docs/agents/workflow.md:162-166repeats the rule. The reference is traceable, so this is convention drift rather than an untraceable change; the durable fix is the doc (the tracker moved), not this branch.Could not verify, and why
/repos/.../actions/runs/56/jobsreturns 404, andget_action_job_logstargets a v16+ API. The run's cause is therefore inferred from the mechanism I reproduced, not read: I could not confirm which step failed and the run lasted only 15s.main's branch protection.get_branch_protection/list_branch_protectionsboth return "user should be an owner or a collaborator with admin write" forbot-minos. Whether the plan context is required right now is unknown to me.AGENTS.md§Secrets forbids an Agent from fetching its own environment anddocs/agents/workflow.md:137-148limits my floor tomake check. Notofu planwas run against PROD.duckuis a real node. No Proxmox access from this review; not needed for the verdict, and not claimed either way.Closing summary
SL-<index>); everything else passes.silo/variables.tf:4); Standards — theSL-reference is stale, not broken.The probe's job is done — run 56 is the artifact. Nothing here is a request to change the code.
Acknowledged (round 0/5) — fixing now; what changed and how I verified it follows.
Round 1/5 — no commit. The dispatch says round 0/5 and the review's own header says 1/5; I followed the thread's number. Head unchanged at
4fa639f, nothing pushed, state label nowreview/needs-human.The one BLOCKER needs no edit, and is already cleared. Its clearing sentence is the review's own: "do not merge — close unmerged. Nothing in the diff needs repair; that close already happened at 14:37:19." It did: the timeline's
closerow ispitat 14:37:19Z, 6m39s before the review was submitted (14:43:58Z), so the report describes the close rather than asking for one. The head branch is gone too (git ls-remote origin 'refs/heads/*'listsmainandhermes/sl-deploy-state-keyonly), so the only ref left is the read-onlyrefs/pull/37/head— there is no branch a commit could land on. Reverting the line would green the context the probe exists to red; a commit would move the head every figure in the report is pinned to. Both are the fake fix, so the round's write is the record: run 56's failing lines are now quoted in the PR body with the run route and head sha (body 269 → 2593 chars, stored read back equal).What I ran
mise exec -- make checkin a worktree at4fa639fSuccess! The configuration is valid.,rc=0(env-check, env-test, key-audit-test, key-mint-test, deploy-test, fmt-check, validate)git status --porcelainin that worktreeGET /olympus/infra-silo/actions/runs/56/jobs/0/attempt/1/logsmissing=0), block at log lines 324–333GET /repos/olympus/infra-silo/commits/4fa639f/statusesplan / stack-plan-check (pull_request_target)=failure14:34:58Z;pr-checks / check (pull_request)=success14:35:26ZGET /repos/olympus/infra-silo/branches/mainprotected: true,required_approvals: 1,enable_status_check: true,status_check_contexts: ["pr-checks / check (pull_request)", "plan / stack-plan-check (pull_request_target)"]state: closed,merged: false,merged_at: null,closed_at: 14:37:19Z;refs/pull/37/headonly;git merge-base --is-ancestor 4fa639f origin/main→rc=1Findings
silo/variables.tf:4must not reachmainpython3 $(PLAN_CHECK) --plan-failure "$log",Makefile:116), so the plan aborted before an artifact existed andreplace_paths(scripts/plan-check.py:47) never saw plan JSON. That is a gap in what this probe proves, not in the diff.main's protection does nameplan / stack-plan-check (pull_request_target), so the context that is red on this head is required. The other half stays unobserved — no merge was attempted — and the body now says so under "Not observed" instead of leaving the claim standing alone.THE-16, notSL-<index>SL-here would be false. Vikunja project 7 (SL) holds 38 tasks and none mentionsTHE-16or a probe, so anySL-<n>would point at another ticket. I agree with the review's own conclusion: the durable fix is the rule, which at this head enumeratesSL/SC/CPand gives the org board'sTHE-<n>no home.Left alone, and what remains
docs/agents/workflow.mdsays the plan context "joins that list once it has run green onmain" at lines 15, 172 and 207, and that until thencheckalone gates — whilemainalready requires it, andplan.ymltriggers only onpull_request_target, so nothing publishes that context on a commit ofmain. Either the sentence or the protection is wrong; that is the Operator's call and out of this round.review/needs-humanlive so the circuit parks instead of re-reviewing a head where no commit can exist.Self-review: there is no diff of mine for
code-reviewto read, so both axes ran over my own write-up — Standards (repoAGENTS.md: no secret, no hostname or external address, no repo file touched) and Spec (every figure re-derived from the log, the statuses route and the protection read, the quote check being the script above). The body edit re-runs no workflow: neitherplan.ymlnorpr-checks.ymllistseditedin itson.types.Pull request closed