The forge Guest refuses replacement (FO-55) #93
No reviewers
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
wontfix
needs-info
needs-triage
ready-for-agent
ready-for-human
review
merge-ready
review
needs-fix
review
needs-human
review
needs-operator
review
needs-review
review
waiting
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/infra-forge!93
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/FO-55-the-forge-guest-refuses-replacement"
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 FO-55
Summary
The PROD Guest's container now refuses a plan that would destroy or replace it — the guard the runner's Guest already carries on
main(146). The PRE Guest, in the same Stack, is left alone: it is created and destroyed on purpose.Three doc passages follow the artifact:
docs/architecture.mdstates the guard beside the identity it protects (the page already stated it for 146); the deploy runbook says a replacement of the declared container is refused by the plan, that a branch which renames or removes the block is planned and judged by the check instead, and that a guard's refusal is not one of the losses aPlan-acknowledged:line decides; andrunner-and-workflowssays the same of the route in general.Evidence
The guard is on the resource, so the refusal is OpenTofu's own and it lands at plan time. One configuration, twice, over the same forced replacement —
triggers_replacestands in for the attribute that would replace 141, because the real plan needs PROD's state and the plan key:# terraform_data.forgejo must be replaced/Plan: 1 to add, 0 to change, 1 to destroy.0Error: Resource instance cannot be destroyed … Resource instance terraform_data.forgejo has prevent_destroy set, but the plan calls for it to be destroyed.1The plan stops, and it names what it would have replaced before it does — the resource carries the guard,
forgejo/guest/container.tf:65.The PRE Guest's plan is unchanged:
git diff origin/main -- forgejo/guest/pre.tfis empty, and no variable the PRE resource reads moved — the diff isforgejo/guest/container.tfand two docs pages.Not run here: the PROD plan itself.
make guest-plan-checkreads PROD's state withsecret/tofu-state/forge-guest/plan, which a checkout does not carry — it refuses by design. The pull request's ownplan / guest-plan-checkjob is that read, and it is the check that says this branch plans a no-op against PROD.Merge Danger
Door: two-way — reverting the commit lifts the guard, and nothing on the running Guest changes; the merge only decides what a future plan may propose.
Blast Radius: the PROD Guest's plan path. A change that would replace or destroy 141 now fails its plan instead of proposing it, so the Operator resolves such a conflict by hand — which is the point. A deliberate teardown of 141 lifts this line first, in the change that says so.
Review started (round 1/5) on
b96917d342— reading the diff now.olympus/infra-forge #93 · head
b96917d· round 1/5 · axes: Standards, SpecRound 1 of 5 — the dispatch's number and the thread agree (
list_pull_reviewsis empty; this is the first review on this head). Spec: FO-55, read live from the tracker. Standards:AGENTS.mdat the head worktree, the repo's ADRs at the head, and the org records (olympus/workshopdocs/adr/0010,0011) read atmain.Recommendation: fix
Standards
BLOCKER — the runbook's route for deciding a loss no longer reaches the Guest, and the page still says it does.
docs/runbooks/0001-deploy-and-rollback.md:148-172teaches that a plan's loss is turned into a decision by naming the address in the pull request body — and the example it prints at:154isPlan-acknowledged: proxmox_virtual_environment_container.forgejo, the resource this change guards. The table directly above it (:133) still promises that a plan which would destroy or replace a resource isFAIL, naming its address. After this change there is no such plan to judge:tofu planexits 1 with the guard's refusal, soMakefile:414-420takes the else branch and hands the log toscripts/guest-plan-check.py --plan-failure(:107-108), which returnsplan_check.explain_failure—scripts/plan_check.py:47-48returns 1 for any non-lock failure, beforeacknowledged()is ever called. Driven in scratch against the judge:PLAN_ACKNOWLEDGED=terraform_data.guest python3 scripts/guest-plan-check.py --plan-failure <refusal log> forgejo/guest→ rc 1, acknowledgement set and all.docs/actions/runner-and-workflows.md:130-145states the same promise for any loss ("thePlan-acknowledged:line is the recorded way through"), and the diff's new sentence at:201-203says the plan stops earlier without reconciling either page.The missing clause is one the author already wrote in this PR's Merge Danger and in the guard's own comment (
forgejo/guest/container.tf:63-64): a replacement the guard refuses is not a plan to acknowledge — the Operator's change liftsprevent_destroyfirst, "in a change that says so". Clearing change: one sentence in §The plan check saying that, and the:154example either labelled as the in-place loss it still covers or retired. This is a documentation blocker, not a code defect: the guard itself I verified green (below). Rule:AGENTS.md:48-54 §Docs— each section carries when it is to be updated — and the page's own table at:131-136.ADVISORY — "would replace the Guest is refused" is true of a replacement tofu resolves for the declared resource, not of an address leaving the configuration. Take the block, keep its
lifecycle, rename it:tofu plan -target=<old address>(the shape ofGUEST_TARGETS,Makefile:48) exits 0 and prints# … will be destroyed/Plan: 0 to add, 0 to change, 1 to destroy— noprevent_destroyrefusal, because the guard travelled with the block into the new address. Deleting the block whole behaves the same. So a branch that replaces the Guest by renaming or removing its declaration is planned and only judged, which is the one path on which the page's acknowledgement still bites. Sites, one finding:docs/runbooks/0001-deploy-and-rollback.md:201-203("refused the same way, and earlier"),docs/architecture.md:43-44("stops with the resource named"),forgejo/guest/container.tf:63-64("it may not take it away"). Advisory rather than blocker because the route predates the guard — the diff narrows an existing hazard, and the judge still reds such a plan. Clearing change: narrow the sentence to what the guard does (a replacement tofu resolves for the declared resource stops at plan; a branch that removes or renames the block leaves the guard behind and is caught by the check).Spec
Spec source: FO-55 (Vikunja project 4, index 55, global id 311), fetched live through the tracker script. No spec-axis findings.
prevent_destroyon theforgejoGuest's container; the PRE Guest left aloneforgejo/guest/container.tf:62-72;git diff 19e3563..b96917d -- forgejo/guest/pre.tfis empty, andpre.tfcarries alifecyclewithignore_changesonlymise exec:# terraform_data.guest must be replaced…Error: Resource instance cannot be destroyed/Resource instance terraform_data.guest has prevent_destroy set, but the plan calls for it to be destroyed., rc 1; the same fixture without the guard plans rc 0mise exec -- make checkexits 0env-checkagrees,fmt-checksilent,docs-check: all 5 assertions holdpre.tfuntouched and no variable it reads moved; the sibling shape driven — a targeted destroy of an unguarded resource in the same configuration and state → rc 0,Destroy complete! Resources: 1 destroyed, the guarded sibling untouched in state. Somake pre-down(Makefile:671) still works with the guard beside itScope: three files, every hunk in service of the ticket. No scope creep.
What I verified, and how
b96917d, resolved fromrefs/pull/93/headfirst and again before this was written: unmoved, equal to the dispatch's SHA.make check(rc 0) andmake validate(rc 0, all three Stacks) in a worktree at the head.terraform_datastand-in at the repo's pinned OpenTofu: no-change control clean; forced replacement refused at rc 1 with the replace row printed first; a targeted destroy of an unguarded sibling in the same config and state still succeeds; a renamed block planned at rc 0 (the advisory above).PLAN_ACKNOWLEDGEDset, which returns 1 before reading the list (the blocker above).pr-checks / env-check, fmt-check, validate, docs-check, syntax-checkandplan / guest-plan-check,plan / edge-plan-checkallsuccess— so the branch plans nothing against PROD's recorded state and the guard perturbs no live plan.olympus/workshopmain(0011 is the rule this guard implements, and its resolution route for a conflict is the Operator acting by hand — the clause finding 1 asks the page to state).What I could not verify, and why
plan / guest-plan-checkgreen at this head is the read that says the branch proposes nothing; I did not read that job's console output (the run-jobs route answers 404 from here).forgejo_pre.Named, not charged
forgejo/guest/container.tf:63-64duplicatesrunner/guest/container.tf:55-57word for word, which is howmainalready states it.AGENTS.md:36-40 §Code commentsis met by the repo's own practice; I am not charging it.docs/architecture.md:44runs to 81 characters, but that page already carries 12 lines over 80 at the base (and the runbook 87): no width convention is kept there, so it is not a defect this change introduced.workshopdocs/adr/0011-a-deploy-never-destroys-or-replaces.mdis the record, and a local one would duplicate it.Summary
Plan-acknowledgedroute for the Guest no longer reaches a plan, and two pages still teach it), 1 ADVISORY (the "refused, not planned" claim does not cover a renamed or removed declaration).The code is sound and I would merge it alone; the blocker is a documentation contradiction the same change created, and one clause clears it.
Acknowledged (round 1/5) — fixing now; what changed and how I verified it follows.
Round 1 fix — commit
e7b8ecd, pushed as a fast-forward onhermes/FO-55-the-forge-guest-refuses-replacement(b96917d..e7b8ecd).The review I was sent is the live one (
id 526,REQUEST_CHANGES,commit_id b96917d,stale: false): Standards 1 BLOCKER + 1 ADVISORY, Spec 0. One commit clears both. I disagreed with nothing and left no finding open.Plan-acknowledged:route no longer reaches the Guest, and two pages still teach ite7b8ecde7b8ecdFinding 1 — a guard's refusal is not a loss to acknowledge
The mechanism I was pointed at reproduces exactly as reported, driven at the guard's own refusal with the address acknowledged:
(the log carries
Error: Resource instance cannot be destroyed … has prevent_destroy set;plan_check.explain_failurereturns 1 for any failure that is not a lock, beforeacknowledged()is reached).Four edits, in
e7b8ecd:docs/runbooks/0001-deploy-and-rollback.md§The plan check — a paragraph after the example: the acknowledged line covers the losses the Guest still reaches the judge with, a plan that would replace the container never reaches the judge becauseprevent_destroystops it and the check reports the refusal acknowledged or not, and a replacement is a change the Operator makes rather than a decision recorded in the body. Every clause matches the probe below.destroy or replace a resourcerow now names the Guest's container as the exception, since after this change no such plan exists for it to judge.docs/actions/runner-and-workflows.md— the route "reaches a plan the judge was handed, and not one that never ran", with the refusal said to fail the plan step itself and the guard's lifting named as the Operator's change (org ADR 0011's resolution, not a bypass).:154example is labelled, not retired, as you offered: it is the in-place loss the Guest still reaches the judge with.Finding 2 — a renamed or removed block is planned, then judged
Measured before changing any prose: OpenTofu v1.12.6, one
prevent_destroy-guarded state copied three ways, each planned and then handed to the repository's own judge (scripts/guest-plan-check.pyover the plan JSON).tofu plan# … must be replaced,Plan: 1 to add, 0 to change, 1 to destroy., thenError: Resource instance cannot be destroyed … prevent_destroy set--plan-failure→ rc 1, acknowledgement and all# terraform_data.guest will be destroyed,Plan: 1 to add, 0 to change, 1 to destroy.FAIL terraform_data.guest would be destroyed→ rc 1;PLAN_ACKNOWLEDGED→ rc 0# … will be destroyed,Plan: 0 to add, 0 to change, 1 to destroy.-target=<old address>behaves as you measured: rc 0,Plan: 0 to add, 0 to change, 1 to destroy— the target resolves against the state.Narrowed to that: the runbook's paragraph at the end of §The plan check,
docs/architecture.md, and the guard's comment inforgejo/guest/container.tf. Two things travel with it, both named rather than slipped in:docs/actions/runner-and-workflows.md:100, the job table'sguest-plan-checkrow, which still read "reds a plan that would destroy or replace the Guest, or move its address". Narrowed in the same commit.b96917d, and the table above contradicts it. Leaving it would have left the narrowed sentence contradicting its own neighbour, so it is corrected in the same commit: the rename is planned, and the check is what reds it.What I ran, and what it printed
Every read-only Target the repository defines, at
e7b8ecd:Prose, because this change is prose:
The only added lines over 80 characters are the two table rows, and both pages already carry rows of 154–483 at the base — no width convention is kept there, as you noted.
Rendered through the instance, both directions in one pass (
scripts/render_check.py) — the new sentences PRESENT and the retired one ABSENT on all three pages,failures: 0; and the served pages at the pushed commit are the bytes in the branch:CI at
e7b8ecd— all seven contexts, latest row per context, all three runs of the headsuccess(#412,#413,#414; the body edit re-ranplan, which is why the statuses carry each context twice):The Guest plan is the check that could not be made in a checkout, so I read its job log rather than its status alone (
actions/runs/105/jobs/0):and the Edge's (
jobs/1):edge-plan-check: the plan unpublishes nothing.PR body — no commit
Two passages of the body were made false by this round: the fenced diff still quoted the pre-fix comment on the guard, and the doc paragraph said the runbook treats a replacement as "refused by the plan rather than judged by the check — the class the runbook already described for a renamed resource", which is now backwards. Edited in place with one
PATCHand read back: sent 3822 characters, stored 3822, equal, both old passages gone.What I could not do
code-reviewaxes were not delegated.claude -pansweredYou've hit your 5-hour limit · resets 1:40am (Europe/Madrid)on both calls, which is not a review. I ran both axes myself overgit diff b96917d— Standards againstAGENTS.mdand the pages it edits, Spec against your findings — and they are what produced this round's two refinements: the attribute enumeration in the new paragraph was dropped (I can measure which attributes the judge reds, not which ones tofu may move in place, so naming them would have been an unverified claim), andrunner-and-workflowsnow says the guard is lifted by the Operator rather than by "the change that pull request makes".runner/guest/container.tf:55still carries the old wording ("may not take it away"). It is onmain, it is not in this diff, and the review did not charge it; correcting it is a change of its own.plan / guest-plan-checkgreen at this head is the read that says the branch proposes nothing.Review started (round 2/5) on
e7b8ecd3b8— reading the diff now.olympus/infra-forge #93 · head
e7b8ecd· round 2/5 · axes: Standards, Spec · verdict APPROVERecommendation: merge
Round 2 reviewed the delta
b96917d..e7b8ecd(4 files, +31/−13) inside the full19e3563..e7b8ecddiff. Spec: FO-55, read live (Vikunja task 311,updated 2026-11-10T22:49:26Z,done=false). Standards:AGENTS.mdat the head (§Rules, §Docs at:48),docs/index.md,docs/adr/, and the org record this implements —olympus/workshopdocs/adr/0011-a-deploy-never-destroys-or-replaces.md, read at34c2ca6.Round 1 — both findings closed
e7b8ecdPlan-acknowledged:route was taught as reaching the Guest although a guard refusal never gives the judge a plandocs/runbooks/0001-deploy-and-rollback.md:158-164states it in one paragraph, and the:154example is labelled as the in-place loss it still covers; the table row at:133no longer promises a judged verdict for the container;docs/actions/runner-and-workflows.md:143-149says the same for the route in general. Mechanism re-driven by me:PLAN_ACKNOWLEDGED=terraform_data.guest python3 scripts/guest-plan-check.py --plan-failure <refusal log> forgejo/guest→ rc 1 (plan_check.explain_failurereturns 1 for any non-lock failure, beforeacknowledged();scripts/plan_check.py:47-48).docs/runbooks/0001-deploy-and-rollback.md:206-214,docs/actions/runner-and-workflows.md:100,docs/architecture.md:43-48,forgejo/guest/container.tf:63-65. Measured by me through the CI shape (-target=<old address>,Makefile:414,GUEST_TARGETSMakefile:48): block renamed → plan rc 0,# terraform_data.guest will be destroyed,Plan: 0 to add, 0 to change, 1 to destroy, judgeFAIL … would be destroyedrc 1, and rc 0 with the old address acknowledged. Block removed whole → identical. Every clause of the new paragraph holds.Standards
1 finding — 0 BLOCKER, 1 ADVISORY.
ADVISORY — the verdict table's exception is drawn for replace but written over destroy, which the same page says is judged.
docs/runbooks/0001-deploy-and-rollback.md:133now reads:destroy or replace a resource→`FAIL`, naming its address — except the Guest's container, whose guard refuses the plan before the check is handed one. The exception is true for a replacement, and false for a destroy: a branch that removes or renames the block plans that destroy (rc 0,# proxmox_virtual_environment_container.forgejo will be destroyed) and the check is handed that plan and FAILs it — which:206-214of the same page states correctly, 75 lines later. Driven at the pin, OpenTofu v1.12.6, CI shape-target=terraform_data.guest:Same finding, second site:
:158-159glosses the acknowledged example as "a resource that stays where it is, moving an attribute under it", which reads as exhaustive;:210says the identical address can carry the removal's loss as acknowledged. One clause reconciles both.Clearing change: restrict the cell to
except a replacement of the Guest's container, whose guard refuses that plan before the check is handed one, leaving the destroy-by-removal case underFAIL; and let:158name the removal loss beside the attribute one. Advisory, not a blocker: no code is wrong, the page's own prose gives the correct split, and the judge's FAIL line names the acknowledgement route at the point of use.Smell baseline (Fowler, ch.3) applied to the four files: nothing to charge. The three-line comment at
container.tf:63-65duplicatesrunner/guest/container.tf:55-57word for word, which is howmainalready states it — named, not charged in round 1 either.Files, each passed:
forgejo/guest/container.tf(guard added,ignore_changescomment moved inside so both reasons sit beside their settings —tofu fmt -checkclean,validaterc 0);docs/architecture.md;docs/runbooks/0001-deploy-and-rollback.md;docs/actions/runner-and-workflows.md(all three insidemake check'sdocs-check, 5/5). No file the change should have touched is missing: ADR 0008'signore_changesreasoning is unchanged and still true, and no new page is added, sodocs/index.mdneeds no row.Spec
Spec source: FO-55 (Vikunja project 4, global id 311). 0 findings.
prevent_destroyon theforgejoGuest's container; the PRE Guest left aloneforgejo/guest/container.tf:62-66;pre.tfcarrieslifecycle { ignore_changes }at:63-64and no guard;git diff 19e3563..HEAD -- forgejo/guest/pre.tfemptytriggers_replaceforced: plan rc 1,# terraform_data.guest must be replaced/Plan: 1 to add, 0 to change, 1 to destroy.printed first, thenError: Resource instance cannot be destroyed…has prevent_destroy set, but the plan calls for it to be destroyed.Control with no change: rc 0,No changes. The plan of 141 itself is not runnable from a checkout — see below.mise exec -- make checkexits 0env-checkagrees,docs-check: all 5 assertions hold(links 51/21 docs, fragments 20, adr-index 9 rows = 9 records, section-index, wiki 21)tofu destroy -target=<sibling>→Destroy complete! Resources: 1 destroyed, guarded sibling still in state.make pre-down(Makefile:671) still resolves.Scope: four files, every hunk in service of the ticket plus
AGENTS.md:48 §Docs(the pages that state the artifact's behaviour follow it). No scope creep.What I verified, and how
e7b8ecdin a fresh worktree; diff re-read fromrefs/remotes/originand equal to the dispatch SHA; worktree clean afterwards.mise exec -- make checkrc 0 andmise exec -- make validaterc 0 (all three Stacks, threeSuccess!) at the head, by my hand — not read from the PR body.terraform_datastand-ins at OpenTofu v1.12.6 through the repo's ownmisepin, driven throughscripts/guest-plan-check.py.e7b8ecdfrom the commit statuses: latest row per context issuccessfor all seven —plan / guest-plan-check(run 107),plan / edge-plan-check(107),pr-checks / env-check, fmt-check, validate, syntax-check, docs-check(106). So the branch proposes nothing against PROD's recorded state.34c2ca6: "the Operator resolves it by hand, outside the deploy" — the runbook's "the Operator's change lifts the guard first, and says so" and the guard's comment are that record, not a local invention.What I could not verify, and why
make guest-plan-checkrefuses there by design. The probe proves the mechanism at the pinned version, not the live plan.plan / guest-plan-checkconsole.actions/runs/107/jobsanswers 404 from here, so I have its status (success), not itsguest-plan-check: the plan loses nothing.line. The author's quotation of that line is not independently checked.Named, not charged
runner/guest/container.tf:55still carries the older wording; it is onmain, not in this diff, and correcting it is a change of its own.docs/adr/0007:157("re-addressing or rebuilding PROD is a three-part change") and0008:59("revoking one means rebuilding the Guest") now sit behind a guard that a rebuild must lift. Both remain true as written — the guard's own comment and the runbook name the lift — so neither is charged here.Summary
:133exception is written overdestroywhere onlyreplaceis guarded).Both round-1 findings are closed, no blocker stands, and the advisory is advice that travels with the merge — one finding is below the three that would turn the recommendation. The verdict follows the blockers alone: merge.
New commits pushed, approval review dismissed automatically according to repository settings
Review started (round 1/5) on
35acffb070— reading the diff now.olympus/infra-forge #93 · head
35acffb· round 1/5 · axes: Standards, Spec · verdict APPROVERecommendation: merge
Round bookkeeping, before the findings
The dispatch numbers this round 1/5; the thread does not agree — two reviews already stand on this pull request (#526
REQUEST_CHANGESatb96917d, 2026-11-10T22:53Z; #528APPROVEDate7b8ecd, 2026-11-10T23:14Z). Both were read. The head is a merge, not a rewrite:35acffbhas parentse7b8ecd(the branch) anddd2a3f1(main), andgit diff dd2a3f1...35acffbis still the branch's four files, +39/−11. The merge brought in main's own commits and resolved the two shared doc pages without touching a line the branch added —git diff dd2a3f1:docs/architecture.md 35acffb:docs/architecture.mdis exactly the branch's six added lines, and the same holds for the runbook. A test merge onto today'smain(8b5892e) is clean (git merge-tree --write-tree, rc 0).35acffbPlan-acknowledged:was taught as reaching the Guest although a guard refusal never hands the judge a plandocs/runbooks/0001-deploy-and-rollback.md:158-164, the:133row,docs/actions/runner-and-workflows.md:144-148. Re-measured by me —PLAN_ACKNOWLEDGEDset and unset both give rc 1 on a refusal log.:206-214, anddocs/architecture.md:43-46with it. Measured below.:133exception is drawn for replace and written over destroyStandards
1 finding — 0 BLOCKER, 1 ADVISORY.
ADVISORY — the verdict table's exception covers a destroy that the same page says the check judges.
docs/runbooks/0001-deploy-and-rollback.md:133readsdestroy or replace a resource→`FAIL`, naming its address — except the Guest's container, whose guard refuses the plan before the check is handed one. That exception is true for a replacement and false for the destroy a branch causes by removing or renaming the block: measured at the pin, that plan is rc 0, it names# … will be destroyed, and the check is handed the plan and FAILs it. The same page states the correct split 75 lines later (:206-214), so the table contradicts its own page. Second site, same defect::158-159glosses the acknowledged example as "a resource that stays where it is, moving an attribute under it", which reads exhaustive, while:210-211says the same address carries the removal's loss as acknowledged — which is what I measured.Clearing change: restrict the cell to
except a replacement of the Guest's container, whose guard refuses that plan before the check is handed one, leaving the destroy-by-removal underFAIL; and let:158name the removal loss beside the attribute one.Advisory, not a blocker: no code is wrong, the page's own prose gives the right split, and the judge's FAIL line names the acknowledgement route at the point of use. One finding is below the three that would turn the recommendation.
Smell baseline (Fowler ch.3) over the four files: nothing to charge. The three-line comment at
forgejo/guest/container.tf:63-65duplicatesrunner/guest/container.tf:54-56word for word — which is howmainalready states this guard, so the repo's own practice suppresses the Duplicated Code smell.Every file, passed or named:
forgejo/guest/container.tfprevent_destroyat:66, inside the existinglifecycle;ignore_changesuntouched; ADR 0008's reasoning unchanged and still true;tofu fmt -checkandvalidatecleandocs/architecture.md:43-47; the claims match the measurement, and it names ADR 0004 for why PRE carries nonedocs/runbooks/0001-deploy-and-rollback.md:133,:158-159); the rest verifieddocs/actions/runner-and-workflows.md:100and:144-148are the two claims the probe confirms, and:100carries the target-set caveat in four words ("where the plan reaches it")Nothing the change should have touched is missing: no new page, so
docs/index.mdneeds no row;forgejo/guest/pre.tfis correctly absent from the diff.Spec
0 findings.
Spec source: FO-55 (
https://vikunja.thepit.space/tasks/311). The ticket could not be read live — this profile's Vikunja token answers401 {"code":11}on/api/v1/tasks/311and on theapi/v2/mcpendpoint (2026-11-11, ~11:53Z). The spec is therefore the pull request's own description, which states the contract in its Summary, plus the two earlier reviews' quotations of the ticket (cached artifacts: #526 2026-11-10T22:53Z, #528 2026-11-10T23:14Z). No requirement is invented beyond those.container.tf:66; forced replacement → plan rc 1,# … must be replacedprinted first, thenError: Resource instance cannot be destroyed … has prevent_destroy set; no-change control rc 0No changes;tofu plan -destroyalso rc 1pre.tfabsent from the diff; itslifecycleat:63-65carriesignore_changesonly; an unguarded sibling beside a guarded one destroys cleanly (Destroy complete! Resources: 1 destroyed) and the guarded one stays in staterunner/guest/container.tf:57— same setting, same comment shapePlan-acknowledged:line decidesscripts/guest-plan-check.py:107-108→scripts/plan_check.py:47-48: any non-lock failure returns 1 beforeacknowledged()at:114; driven: rc 1 with the address acknowledgeddocs-check5/5Scope: four files, every hunk in service of the ticket. No scope creep.
What I verified, and how
35acffbin a worktree; the diff re-read againstdd2a3f1and equal to the dispatch's SHA;git diff e7b8ecd..35acffbread to establish that the merge adds main's commits and nothing of the branch's.mise exec -- make checkat the head: rc 0 —snapshot tests: every case passed,docs-check: all 5 assertions hold.make validate: rc 0, all three StacksSuccess!.make fmt-check: rc 0, silent.terraform_datastand-ins at the repo's pin (OpenTofu v1.12.6 throughmise exec), then judged by the repo's ownscripts/guest-plan-check.py:PLAN_ACKNOWLEDGED=terraform_data.guest; rename and removal plans → rc 1FAIL … would be destroyed, and rc 0(acknowledged)once the address is named. That is what:206-214says, and what:133gets wrong.success(plan / guest-plan-checkandplan / edge-plan-checkrun 110,pr-checks / *run 111). So the branch plans nothing against PROD's recorded state and the guard perturbs no live plan.What I could not verify, and why
401, code 11) from here. Unread live this round; the spec table rests on the pull request's description, not the ticket.make guest-plan-checkrefuses in a checkout by design. The probe proves the mechanism at the pinned version, not the live plan.plan / guest-plan-checkconsole —actions/runs/110/jobsanswers 404 from here (the Actions API is not exposed on this instance), so I have the statussuccess, not itsguest-plan-check: the plan loses nothing.line. The author's quotation of that line is not independently checked.Named, not charged
runner/guest/container.tf:54-56still says "may not take it away" where this change says "replace or destroy". Onmain, not in this diff, a change of its own — as round 2 also said.docs/adr/0007:157and0008:59describe a rebuild as available to an Operator; a guard now stands in front of it. Both stay true as written — each names the lift, and ADR 0011 is the org record for it (olympus/workshopdocs/adr/0011, read atorigin/main).GLOSSARY.mdentry, thoughdocs/index.md:14says the glossary is updated when a term is coined. Each page resolves it toprevent_destroywithin a paragraph, and the runbook's table uses it three lines before its gloss at:163— thin, not worth a round on its own.GUEST_TARGETSwith it is not judged: the plan shows a create and nothing destroyed. Named in the runbook at:206("cannot see a resource that leaves the target set"); it is the targeted-plan machinery onmain, not this change, and the apply that would follow fails onvm_id141 rather than destroying anything.Summary
:133exception is written over destroy where only replace is guarded, and:158reads exhaustive).No blocker stands: the guard does what it claims, breaks nothing the checks can see, and takes no one-way door that was not already the Operator's; both round-1 findings are closed. One advisory is below the three that would turn the recommendation — merge, and let the advisory travel as advice.
New commits pushed, approval review dismissed automatically according to repository settings
Acknowledged (round 0/5) — fixing now; what changed and how I verified it follows.
Round 0 fix — pushed as a fast-forward on
hermes/FO-55-the-forge-guest-refuses-replacement(01b6006..c731ae3), two commits:09233cd(the finding) andc731ae3(a merge ofmain).The tally I found, not the one the label implies: the newest review is
538(APPROVED, pinned at35acffb, dismissed by the later push to01b6006): 0 blockers, 1 advisory. The label went toreview/needs-fixafterwards (pit, 12:47Z) with no comment, so I took the open advisory as the ask, and themergeable: falsethe PR carried as the second thing in the way.:133) is drawn for replace but written over destroy;:158-159reads exhaustive09233cdmergeable: false—mainmoved (FO-63,bfedcdb) and conflicted indocs/architecture.mdc731ae3Finding 1 — the exception covers a replacement only
Both clearing changes the review named, in
docs/runbooks/0001-deploy-and-rollback.md::133now reads`FAIL`, naming its address — except a replacement of the Guest's container, whose guard refuses that plan before the check is handed one. The destroy-by-removal case is back underFAIL, which is what:206-214of the same page already said.:158-163: the firstPlan-acknowledged:line now covers an attribute moving under a container that stays where it is, and the container's removal from the configuration or move to another address, which plans as a destroy. The replacement sentence after it is unchanged.The paragraph is re-wrapped at 80 (the width the paragraph already held); the table row is a table row, and that page keeps no width for them. No other page needed a change:
grepoverdocs/,README.mdandcontainer.tffor the destroy/replace/refuse vocabulary found no other site that draws the exception over a destroy.The merge —
c731ae3One conflict,
docs/architecture.md:43-55: this branch's guard paragraph besidemain's rewording of the key-set sentence (The Operator keys … are→The key set … is). Resolved as the union: the guard paragraph, thenmain's sentence verbatim. Check that nothing else moved:git diff origin/main -- docs/architecture.mdis exactly the six guard lines, andgit diff --numstat --histogram origin/main...HEADis the four files the PR already carried (+7/−3,+6/−0,+18/−4,+9/−4).git merge-tree --write-tree HEAD origin/main→ rc 0, and the PR readsmergeable: true.What I ran, at
c731ae3Those are the five jobs
pr-checks.ymlnames. CI atc731ae3, latest row per context (runs122and123):plan / guest-plan-check,plan / edge-plan-check,pr-checks / env-check,fmt-check,validate,syntax-check,docs-check— all sevensuccess. I read statuses, not the plan job's console.Not done, and what I could not verify
538(runner/guest/container.tfwording onmain, ADR 0007/0008 sentences, noGLOSSARY.mdentry for "guard") were not charged and are outside this ticket; I did not touch them.code-review: no delegation tool in this session, so I ran both axes myself over the diff — Standards (AGENTS.md§Docs, the page's own register, the smell baseline) and Spec (the one advisory's two clearing changes). Nothing to charge.will be destroyed; a replacement is refused) rest on538's own drive at OpenTofu v1.12.6 and round 1's table; this round changed prose to match them, not the guard. 141's live plan is still CI's read, not a checkout's.Review started (round 1/5) on
c731ae343c— reading the diff now.olympus/infra-forge #93 · head
c731ae3· round 4/5 · axes: Standards, Spec · verdict APPROVERound bookkeeping: the dispatch numbered this round 1/5; the thread carries three reviews (#526
REQUEST_CHANGESatb96917d, #528APPROVEDate7b8ecd, #538APPROVEDat35acffb), so this is round 4/5. The head stacks on the last reviewed revision:35acffb→01b6006(merge of main, FO-66) →09233cd(the fix) →c731ae3(merge of main, FO-63). The delta this round reviews isgit diff 35acffb c731ae3; the branch's own change in it is09233cdplus thedocs/architecture.mdconflict resolution. Spec: FO-55, read live from the tracker this round — the round-3 token refusal is retired, the fetch script's second key answered200(task id 311,done=false). Standards:AGENTS.mdat the head worktree, the repo's ADRs at the head, and the org recordolympus/workshopdocs/adr/0011read atmain.Recommendation: merge
Round 3 — the open finding closed
c731ae309233cd, exactly the clearing change round 3 dictated:docs/runbooks/0001-deploy-and-rollback.md:133now reads "except a replacement of the Guest's container, whose guard refuses that plan before the check is handed one" — destroy-by-removal is back underFAIL— and the paragraph at:158-164names the removal loss beside the attribute one: "the container's removal from the configuration or move to another address, which plans as a destroy" (:160-161).The dictated sentences are claims of my own round, so I verified them rather than read them: the mechanism re-driven at this head, OpenTofu v1.12.6 through the repo's
misepin, on the round-3 fixtures re-planned fresh — forced replacement without the guard rc 0 (# terraform_data.guest must be replaced,Plan: 1 to add, 0 to change, 1 to destroy.); with the guard rc 1 (same row, thenError: Resource instance cannot be destroyed); no-change control rc 0; block renamed and block removed rc 0 with the destroy row, and the repo's own judge on that plan FAILs rc 1, rc 0 with the address acknowledged; the refusal log handed toscripts/guest-plan-check.py --plan-failurereturns rc 1 with and withoutPLAN_ACKNOWLEDGED. Every clause of the new prose holds.Standards
0 findings. The census over
docs/,README.md,GLOSSARY.mdand bothcontainer.tffiles at head finds no site left that draws the guard's exception over a destroy; the split is stated consistently atdocs/runbooks/0001-deploy-and-rollback.md:133,:158-164and:206-215,docs/actions/runner-and-workflows.md:104and:146-151,docs/architecture.md:43-47. Both merges brought in only commits already onmain(FO-668b5892e, FO-63bfedcdb): the added- and removed-line set comparison against each merge's pre-merge tree shows nothing the branch wrote was dropped, andgit diff bfedcdb c731ae3 -- docs/architecture.mdis exactly the branch's six guard lines beside main's reworded key-set sentence — the union the fixer claimed. The forge-computed PR diff (against basebfedcdb) is the four FO-55 files, so the merges inflate nothing. Smell baseline over the delta: nothing to charge.Spec
0 findings. Spec source: FO-55 (Vikunja project 4, global id 311), fetched live.
prevent_destroyon theforgejoGuest's container; the PRE Guest left aloneforgejo/guest/container.tf:66, unchanged by this delta;git diff bfedcdb c731ae3 -- forgejo/guest/pre.tfis emptymise exec -- make checkexits 0; the PRE Guest's plan unchangedc731ae3:make checkrc 0 (snapshot tests: every case passed,docs-check: all 5 assertions hold),make validaterc 0, three StacksSuccess!mainrunner/guest/container.tf:57No scope creep: every hunk of
09233cdserves the finding. The PR body read again before this was posted — unchanged from my first fetch.What I verified, and how
refs/pull/93/headbefore and after the waves:c731ae3, equal to the dispatch SHA.make checkrc 0 andmake validaterc 0 (3×Success!) in a worktree at the head, by my hand.success—plan / guest-plan-checkandplan / edge-plan-check(run 122),pr-checks / *(run 123). The branch plans nothing against PROD's recorded state.workshopmain: "The Operator resolves it by hand, outside the deploy" — the prose this fix lands is that record's route, not an invention.semaphore-runner.pub, from main's FO-63); no secret in the branch's change.What I could not verify, and why
plan / guest-plan-checkis the read that says this branch proposes nothing. I did not read that job's console (the jobs route answers 404 from here, as in rounds 2-3).pre.tfis unchanged and no variable it reads moved, which is the structural proof the criterion asks for.Named, not charged
runner/guest/container.tf:55still carries the older wording ("may not take it away") — onmain, not in this diff.docs/adr/0007:157and0008:59now sit behind the guard; both name the lift and stay true as written.GLOSSARY.mdentry — thin, as round 3 said.Summary
No blocker and no advisory stands; every finding from rounds 1-3 is closed. Merge.