deploy-takeover: #1099's relay sources the gateway from standing facts.json, which is EMPTY on every re-found drive — the relay never dials; and files-door's mesh-route assertion has never run (silent skip + stdout read off a refused dial) #1105
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1105
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
20260901T052209Z— the first carrying #1099's gateway relay — red atdeploy-takeover, 26/27 green, with the relay never dialling once:Diagnosis — the relay hop is sourced from a file that is empty on exactly the drives that reach the takeover
journey.device.spec.tsresolved the relay's gateway asreadStandingFacts()?.ip. That reader's own doc comment states the constraint:The carrier persists
facts.jsonafter the drive; during a re-found run the file is empty. Confirmed on the host:Every red drive re-founds (the standing world is stale/absent → teardown → re-found through the phase-4 legs, ADR 0208). So the relay was unresolvable on precisely the drives that get far enough to need it. The IP was in memory the whole time — the re-found branch holds
prefix.dropletIPand writes it toartifacts/standing-founded.json— it simply was not carried to the leg.The same leg's sibling assertion could not fail, twice over
While fixing the source I found
files-door(leg 11) carrying the identical defect plus a second one:127.0.0.1:8084) has never run on a re-found drive.authorized_keys(#885, GOTCHAS #101), so the dial is refused,stdoutis empty, the regex does not match, and the leg passes. That is reading stdout off a refused dial — the very lesson #1099 was filed for, in the leg next door.So even had the IP resolved, this check would have reported success without testing anything.
Fix
gatewayIpthe standing leg sets in both branches (prefix.dropletIPwhen re-founding, the facts'.ipwhen adopting), withOC_E2E_DROPLET_IPas last resort.deploy-takeoverandfiles-doorboth use it.files-door: no IP now fails loud instead of skipping; the dial carries the rent-operator identity; a non-zero ssh exit fails loud naming the exit and stderr; an empty route listing fails loud ("the route is absent, not merely wrong") — all ADR 0100, no masked success.app/tests/e2e/fixtures237/237 green, eslint and vue-tsc clean on the spec.Filed and fixed in one motion by the watching session under ADR 0174 (harness-only change, revertible, no product surface touched) — the executor was mid-arc and each cycle costs a ~60-minute gateway-image rebuild before it would re-hit the same line.
Note the shape of this one: #1099's fix was correct in mechanism and landed with tests, and still could not run, because it drew one input from a store that is empty in the common case. Same family as #740 (a filter that never matched), #871 (a gate that could not fail) and #1096/#1100 (a key that never differs) — the fourth this arc. Worth a GOTCHAS-level habit: when a check gains a new input, ask what that input holds on the failure path, not just the happy one.
grep -r, so a gateway routing correctly over the mesh reds as "the files route is absent" #1118