standing: the stray walk-off demands a remove-and-deploy confirm the review honestly refuses — a stray holding no placement offers Deploy (or Erase & deploy), so the baseline restore reds leg 1 #1112
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1112
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Failure
Drive
20260901T083610Zred at leg 1 (standing) — the first time the arc has red beforemint:This is not a regression. It is the first drive that ever had a stray to walk off: drive
20260901T064809Zwas the first to land a member device and then red (atdeploy-takeover, afterjoin/approve/assess/select-filesall went green), leaving the orphaned fleet node #1044 describes.assertFleetGatewayOnlyfound it, tried to walk it off, and could not.Diagnosis — the walk-off demands a confirm the review honestly refuses to offer
walkOffNode(app/tests/e2e/journey.device.spec.ts) always finishes withconfirmRemoveDeploy(page, { requireFiles: false }), which waits on[data-action="remove-and-deploy"].That id is rendered only when the impact resolves to
Remove & deploy(ReviewImpactScreen.vue:89-96), and the seam decides that ininternal/provision/impact.go:168-175:The stray from drive 11 holds no assignments — it red at
deploy-takeover, which is where the placement deploy happens, so nothing was ever placed on it. An empty selection against no current assignments removes nothing, soLosesis empty and the honest action isDeploy. (And ifd.Install.TakeoverReadyis still set on that node, the honest action isErase & deploy— the earlier branch. Either way: neverRemove & deploy.)So the review is behaving correctly and the harness is asking for the one confirm it cannot offer. The walk-off's own comment anticipated the neighbouring case but not this one:
It handled "the LOSES rows are empty" but not "there is no LOSES trigger at all, so the action id differs".
Fix
walkOffNodeis a baseline restore, not a product-contract assertion (leg 13 owns the LOSES-names-Files contract). It should accept whichever confirm the review honestly offers —remove-and-deploy,erase-and-deploy, ordeploy— and fail only if the review offers none of them. The existingrequireFiles:falseleniency is the same idea one notch further.Suggested shape: a
confirmAnyDeploy(page)(or alenientAction: trueoption onconfirmRemoveDeploy) that waits for the first of the three ids to become visible and clicks it, logging which one it took, so the evidence line says how the stray was walked off.Worth deciding explicitly (product semantics, not harness): a takeover-ready stray whose box is already destroyed will offer Erase & deploy. Clicking it is a gateway-side empty-selection deploy that never reaches the dead box — the same convergence #1044 relies on — so it is safe, but the wording is about erasing a machine that no longer exists. If that reads badly, the alternative is to clear
TakeoverReadywhen a node's host is gone, which is a seam change rather than a harness one.Also worth fixing while here: two comments in this file contradict each other
journey.device.spec.ts:423-427— "then the leg is still green (the baseline is restored, not asserted pristine)"journey.device.spec.ts:1014-1017— "a restore that cannot complete reds honestly rather than adopting a dirty fleet"The code implements the second, and the second is the right rule (#1043's false read came from silently adopting a dirty fleet). The first should go, so the next reader does not conclude a red here is impossible.
Acceptance
remove-and-deploy+ files assertion — the product contract is unchanged.Filed by the watching session from the #854 arc (ADR 0174). Diagnosis only, no code change from me: the erase-vs-remove wording choice above has a product-semantics half that should be ruled rather than assumed.
swarm-claim host=matou-dev-server-01 run=15747
(automated multi-host claim — lowest live claim id works this ticket)
Ruled by agent under ADR 0174 — veto anytime.
Ruling: the baseline walk-off takes the harness path the ticket recommends —
confirmAnyDeployclicks whichever ofremove-and-deploy/erase-and-deploy/deploythe review honestly offers — and does not change the seam to clearTakeoverReadywhen a node's host is gone. A takeover-ready stray whose box is already destroyed will therefore be walked off through Erase & deploy.Why this is a two-way door:
app/tests/e2e/fixtures/deviceProvision.ts+journey.device.spec.ts); no product code (impact.go,ReviewImpactScreen.vue) is touched, so nothing an operator sees in a normal flow changes.TakeoverReadyon a gone host — a seam change) stays open.standing) reaches green through whichever confirm, or reds honestly naming that the review offered none of the three.The "erasing a machine that no longer exists" wording only ever appears in the drive's own baseline restore of a prior drive's orphan, not in an operator's normal removal flow — so the wording concern does not block this. If a human wants the tidier semantics, the seam change (clear
TakeoverReadywhen the host is gone) is the follow-up, and this harness change does not foreclose it.close-report for #1112 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
standingreds forever #1114RemoveNodeleavesmachines/<node>/files.nixin the config repo, so a re-used node id re-adopts a removed device's placement and S2 loses itstoggle-filesrow #1217