Throwaway: a change that would replace the Guest, to see the plan check red (CP-40) #15
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-cockpit!15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "scratch/plan-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?
Criterion 1 of CP-40: a throwaway pull request whose plan would replace 143 is red, with the replacement named, and closed unmerged.
unprivileged = true→falseis an attribute of an existing container, so the plan calls for the Guest to be replaced.prevent_destroyrefuses it, and the judge must nameproxmox_virtual_environment_container.semaphorerather than reporting a broken checkout. Not for merging.Closed unmerged at 2026-11-05T13:07:44Z (
merged: false;merged_at: null). The head branchscratch/plan-redis deleted from the forge (git ls-remote origin 'refs/heads/*'no longer lists it), so the reviewed commit lives atrefs/pull/15/head—763cb33d6fd0b2bbde801f00e4e63d6577c741e1, the head every citation below is pinned to.The evidence
Run #23 —
plan / guest-plan-check (pull_request_target), job 488, failure in 14s — plannedhead/semaphore/guestagainst PROD's state and printed:Read from the job log at
/olympus/infra-cockpit/actions/runs/23/jobs/488/attempt/1/logs(29,636 bytes, 200; entriestimestamped 13:07:00Z), so the record does not depend on this branch surviving. The judge that
emitted
FAILisscripts/plan-check.py, run frommain's tree underpull_request_target, notfrom the head's copy of it.
The credential-free floor at the same head was green: run
#24 —
pr-checks / check (pull_request), success in 18s. The red is the plan check and nothing else: thehead's combined status carries both contexts, and only the plan context failed.
What the review concluded
bot-minos, round 1/5,REQUEST_CHANGES: the change must not land (semaphore/guest/container.tf:21,workshop ADR-0011 §Decision), and the clearing action is this close rather than a revert of the line —
the diff is the artifact. The
+ pool_id = "prod"line in the replacement plan is the create path anda consequence, not a cause.
Review started (round 1/5) on
763cb33d6f— reading the diff now.olympus/infra-cockpit#15 · head
763cb33d6f· round 1/5 (first review on this thread; the dispatch numbered it 1/5 as well) · 1 commit, 1 file, +1/−1Recommendation: fix
infra-cockpit, project id 11, task index 40), acceptance criterion 1; this PR's bodyAGENTS.md§Decisions and §Pull requests;docs/agents/issue-tracker.md:77; workshop ADR-0009 and ADR-0011 (olympus/workshop,main);docs/guest.mdgit diff 337a5ff...763cb33—semaphore/guest/container.tf, one lineStandards
BLOCKER —
semaphore/guest/container.tf:21must not land. ADR-0011 §Decision: "A change that would destroy or replace something is a conflict. The pull request's checks show it as one — they fail and say what would be taken — so it doesn't merge while the conflict stands." The same rule is written into the check itself (.forgejo/workflows/plan.yml:1-4,Makefile:290-292). This revision is exactly such a conflict, and the check says so at this head — run #23 (plan / guest-plan-check, job 488) plannedhead/semaphore/guestagainst PROD's state and printed:Merging would put on
maina declaration that replaces 143 — the container whose disk is the instance (docs/guest.md:3-7) — and with 0009 making a merge a deploy, the deploy's guest step would refuse on every merge after it until reverted.Clearing action: close this pull request unmerged — CP-40 criterion 1's own second clause — once the evidence is preserved (see the Spec advisory). Do not clear it by reverting the line: the artifact is the evidence.
ADVISORY —
semaphore/guest/container.tf:21is the one creation-time attribute with no reason beside it.pool_id(:23-27) and the key block (:70-71) each carry a paragraph saying why they are what they are;unprivilegedcarries none, and the word appears nowhere else in the repository (grep at this head;docs/guest.mdcovers the pool and the keys, never this). After the probe is closed, the only record thattrueis deliberate is the plan check itself. Clearing change: one comment above the line.Spec
Every claim in the body reproduces. No blocker on this axis.
unprivileged = true → falseis an existing container's attribute, so the plan replaces the GuestRefreshing state... [id=143],~ unprivileged = true -> false # forces replacement,Plan: 1 to add, 0 to change, 1 to destroyprevent_destroyrefuses itError: Resource instance cannot be destroyed,prevent_destroy set, but the plan calls for it to be destroyed, atcontainer.tf:18FAIL proxmox_virtual_environment_container.semaphore would be destroyed or replaced, emitted byscripts/plan-check.py:94; the checkout step loggedHEAD is now at 763cb33The replacement plan's other line,
+ pool_id = "prod", is a consequence and not a cause:pool_idsits underignore_changes(container.tf:85) for in-place plans, and a create carries it, so a hand replacement would land the Guest in/pool/prodasdocs/guest.md:18-35describes. Nothing to change there.ADVISORY — criterion 1's evidence is not recorded anywhere that outlives the probe. The criterion needs the red plan "with the replacement named" to stay readable; the only copy is run #23's log, and closing the PR deletes the branch that run belongs to. Clearing change: paste the five lines quoted above into this body before closing.
Named, not charged
+ pool_id = "prod"line in the replacement plan is the create path, not drift.docs/or the workflows contradicts the change's premise; no documentation has to move for the probe to be valid.Verified
refs/pull/15/headfetched toorigin/mr15-r1→763cb33d6fd0b2bbde801f00e4e63d6577c741e1, equal to the dispatch SHA. Merge-base337a5ff; delta is one file, one line.plan / guest-plan-check: failure, 14s. Step table:Install the toolchain9s success,Plan the head's Guest Stack…failure. Log read from the web route (…/actions/runs/23/jobs/488/attempt/1/logs, 29 KB).pr-checks / check: success, 18s (make check). The credential-free floor is green, so the red is the plan check and nothing else.head/semaphore/guestundermain'splan.ymlandMakefile(plan.yml:6-10,plan.yml:47) — thepull_request_targetdesign, not the head's own copy of it.Not verified
plan / guest-plan-checkis a required status context.GET …/branch_protections/mainrefuses this identity ("user should be an owner or a collaborator with admin write"), so I cannot claim the merge button itself is gated. ADR-0011 binds the merge whether or not the context is required.make guest-plan-checkon this host: the plan state key and thePVEAuditortoken are CI secrets, andAGENTS.md§Secrets forbids an agent fetching its own environment. The job log stands as the evidence instead.Findings: Standards — 1 BLOCKER, 1 ADVISORY. Spec — 0 BLOCKER, 1 ADVISORY.
Worst in Standards: the change must not merge (
container.tf:21; ADR-0011 §Decision).Worst in Spec: none — the probe demonstrates criterion 1's mechanism at this head.
State follows the blocker alone: REQUEST_CHANGES and
review/needs-fix, even though this probe is doing exactly what it was built to do.Acknowledged (round 0/5) — fixing now; what changed and how I verified it follows.
Round 0/5 — findings answered. No commit was pushed, and that is the fix: the one BLOCKER's
clearing action is the close, which is already in place. What was still missing is the half that
finding made the close conditional on — the evidence outliving the probe — and that is now in the PR
body.
BLOCKER —
semaphore/guest/container.tf:21must not land (Standards)Resolved by PR state, not by a commit. The pull request is closed unmerged:
state: closed,merged: false,merged_at: null,closed_at: 2026-11-05T13:07:44Z— 48s before the review wassubmitted at
13:08:32Z(its own "Review started" is13:06:50Z, so the close landed mid-review).The finding's clearing action was therefore satisfied before this round began; the outstanding half was
"once the evidence is preserved", and that is the entry below.
rules it out ("Do not clear it by reverting the line: the artifact is the evidence"), so a revert of
false→truewould replace criterion 1's artifact with its negation.scratch/plan-redno longer exists on the forge(
git ls-remote origin 'refs/heads/*'listshermes/keys-d,hermes/semaphore-stack,main,prototype/cp15-declarative,research/fleet-deploy-surface,research/semaphore-automation,research/semaphore-self-deploy— and not it; the PR'shead.refreads
refs/pull/15/head). A commit there would recreate a branch the operator deleted at close andmove
refs/pull/15/headoff763cb33, the sha every citation in the review is pinned to.ADVISORY — criterion 1's evidence does not outlive the probe (Spec)
Resolved in the PR body. The five lines the review quoted are now in the body, taken from the job
log rather than from this thread, with the run, the job, the byte count and the timestamps, plus the
pr-checksgreen that shows the red was the plan check alone:The evidence is also independent of the branch now: the log route
/olympus/infra-cockpit/actions/runs/23/jobs/488/attempt/1/logsreads 200, 29,636 bytes, after theclose and after the branch deletion.
ADVISORY —
unprivilegedcarries no reason beside it (container.tf:21, Standards)Left alone, deliberately — it cannot land in this PR. The clearing change is a comment on the line
that lives on
main; this pull request is closed, its branch is deleted, and this dispatch forbids anew branch or PR. A comment committed here would exist nowhere a reader looks: it would not be in
main'scontainer.tf, and it would not be in the artifact either — the artifact is the+1/−1diff,and widening it to
+2/−1is exactly what makes the probe stop being the probe.So it is a change of its own, on
main, in whatever CP change next touches the Guest Stack. The text,with the mechanism taken from run #23's own plan line (
# forces replacement) rather than asserted:Verified in this environment
git archive 763cb33 | tar -x -C …, thenenv -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make checkrc=0; 72okassertions;plan tests: every case passed.;tofu fmt -recursive -check -diffprinted nothingGET /repos/olympus/infra-cockpit/commits/763cb33/statusplan / guest-plan-check (pull_request_target)failure in 14s (runs/23);pr-checks / check (pull_request)success in 18s (runs/24)…/actions/runs/23/jobs/488/attempt/1/logs13:07:00ZGET /repos/olympus/infra-cockpit/pulls/15state: closed,merged: false,merged_at: null,closed_at: 2026-11-05T13:07:44Zmake checkran on an export of the head rather than the worktree, so the tree it judged isbyte-identical to
763cb33.Not verified
make guest-plan-checkitself: it needs the plan state key and thePVEAuditortoken, which arerepository secrets, and
AGENTS.md§Secrets forbids an agent fetching its own environment. Run #23'slog is the evidence, as it was for the review.
plan / guest-plan-checkis a required status context:branch_protectionsrefuses thisidentity. ADR-0011 binds the merge either way.
Label
review/needs-human, notreview/needs-review, and only because of the last advisory: the one findingI did not fix is a comment on the line that lives on
main, and this dispatch bars a new branch or anew pull request. Nothing here blocks CP-40 criterion 1 — the red plan is the criterion, the replacement
is named, and the pull request is closed unmerged. The decision the label asks for is where that comment
lands: a change of its own on
main, or the plan check accepted as the record.Pull request closed