The orphaned standing home at app/test-results/standing-rented holds the only key to a live rehearsal-c reservation the next drive will re-claim #887
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.
Blocks
Reference
Matou/idss#887
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
20260827T035855Zred at leg 1 because the standing home had two addresses (healed ind2a7113e). That bug left a real orphan behind, and the fix does not clean it up — nothing will ever read that directory again.Evidence
test-results/drive-device/20260827T035855Z/logs/founding-state.log— harvested byevidence.tsguestCollectors(cat <live.stateDir>/founding-state.json) — records a community that reached S5 and S4a rent:draft.details.slug=rehearsal-c,draft.details.name=Rehearsal Cdraft.access={kind: rented, ip: 168.144.170.129}— a real DigitalOcean syd1 gateway was renteddraft.address={kind: subdomain, host: rehearsal-c.idss.nz, secret: <present>}— the subdomain is reserved and the claim secret is in that file<root>/app/test-results/standing-rented/state/(alsoclan-config/,rent-operator/,sops/), written 03:40–03:43 by the drive before this one.<root>/test-results/standing-rented— the directory the bash half owns — does not exist.scripts/lib/rehearsal-standing-lib.shoc_standing_facts_read,oc_standing_secret,oc_standing_renewandoc_standing_teardownall address that path, so none of them can see this community.Why the next drive re-fires
journey.device.spec.ts:191picks the slug asfacts?.slug ?? process.env.REHEARSAL_SLUG ?? 'standing-5'.facts.jsonwas absent, and'standing-5'does not fold toRehearsal C—communityNameForSlug(app/tests/e2e/fixtures/rented.ts:149) mapsrehearsal-c→Rehearsal C, which is exactly the name in the founding state. So the executor exportsREHEARSAL_SLUG=rehearsal-c, and the next device drive will walk S5 and claimrehearsal-c.idss.nzagain — a reservation that is already held, whose secret the fresh state dir will not carry. That is the#626shape (S5 re-claiming a reservation as if it were someone else's), and it costs a full stand-up plus a member droplet to rediscover.Suspected layer
Harness state, not product code. There is no defect left in the scripts —
d2a7113emakes both halves agree from here on. What is missing is a one-time sweep of the home orphaned before that commit, plus the#757failsafe that never fired for it (oc_slug_secret_rememberis only called fromoc_standing_teardown, which never saw this directory, sotest-results/slug-claimshas no record of therehearsal-ckey either).What plugging it needs
<root>/app/test-results/standing-rented/state/founding-state.json(draft.address.secret) — do not copy it into this issue.oc_slug_secret_remember rehearsal-c <secret>,scripts/lib/rehearsal-droplet.sh), then spend it, inoc_standing_teardown's order:POST $IDSS_BROKER_URL/v1/gateways/release {"host":"rehearsal-c.idss.nz"}beforePOST /v1/subdomains/offboard— offboard drops the reservation the release route authenticates against.168.144.170.129(doctl compute droplet list --format PublicIPv4 --no-header). The rental's lease is unrenewed, so ADR 0208 ruling 5's TTL reaper is the failsafe for the box; the subdomain reservation has no such timer and is the part that actually strands the slug.rm -rf <root>/app/test-results/standing-rentedonce the secret is spent or remembered.drive
20260827T035855Zred atstanding:page.click: Timeout 30000ms exceeded. Call log: - waiting for locator('[data-action="create-a-community"]')evidence:
/home/swarm/swarm/Matou/idss/test-results/drive-device/20260827T035855Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedBlocked — host-side operational sweep, not a sandbox-runnable slice
Confirmed from the Sandcastle sandbox (
057b2668059c):IDSS_BROKER_URLis unset — the release (POST /v1/gateways/release) and offboard (POST /v1/subdomains/offboard) calls this needs cannot be made from here.matou-workstationdoes not resolve — the orphaned home<root>/app/test-results/standing-rented/state/founding-state.json, which holds the only copy of therehearsal-cclaim secret, lives on that executor. It is not in the worktree (test-results are runtime artifacts) and there is no path to it from the sandbox.test-results/slug-claimshas norehearsal-crecord here either, so the#757failsafe cannot be replayed from the sandbox.The issue itself rules the scripts already correct (
d2a7113ereconciled both halves; "There is no defect left in the scripts"). What remains is a one-time host-side sweep whose every step is a one-way door — spending a live claim secret, releasing a live gateway rental, offboarding a live subdomain reservation (drops it — data destruction), andrm -rfof the state that holds the only key. Under ADR 0174 those are one-way-door / data-destruction / non-routine-live-infra actions — not an autonomous agent's to rule, and not reachable from here.Why human
An operator on matou-workstation (live
$IDSS_BROKER_URL,doctl) must run the sweep, inoc_standing_teardown's order — remember, then release, then offboard, then rm — because offboard drops the reservation the release route authenticates against:draft.address.secretfrom<root>/app/test-results/standing-rented/state/founding-state.json(slugrehearsal-c, hostrehearsal-c.idss.nz).oc_slug_secret_remember rehearsal-c <secret>(scripts/lib/rehearsal-droplet.sh) — first, so the name is freeable even if offboard fails.POST $IDSS_BROKER_URL/v1/gateways/release {"host":"rehearsal-c.idss.nz"}(204 = released/idempotent) — before step 4.POST $IDSS_BROKER_URL/v1/subdomains/offboard {"host":"rehearsal-c.idss.nz"}.168.144.170.129(doctl compute droplet list --format PublicIPv4 --no-header); the unrenewed lease's box is caught by ADR 0208 ruling 5's TTL reaper, but the subdomain reservation has no timer and is the part that strands the slug.rm -rf <root>/app/test-results/standing-rentedonce the secret is remembered/spent.Urgency: until this runs, the next device drive re-fires —
journey.device.spec.ts:191folds the absentfacts.jsontoREHEARSAL_SLUG=rehearsal-c(viacommunityNameForSlug→Rehearsal C) and re-claimsrehearsal-c.idss.nz, a reservation already held whose secret the fresh state dir won't carry (the#626shape). That costs a full stand-up plus a member droplet to rediscover.Hardening worth its own ticket (per the issue's step 5): the broker's
/v1/subdomains/offboardreservation has no TTL failsafe, unlike the gateway lease (ADR 0208 ruling 5). A stranded reservation blocks its slug indefinitely — which is exactly what makes an orphaned home more expensive than ruling 5 assumes. A session could file this as a follow-up broker feature.Swept by agent under ADR 0174, on Ben's explicit go-ahead — closing.
The orphan is gone and the community it stranded is fully released.
Sequence run on
elitebook-03, inoc_standing_teardown's own order (release FIRST, while the claim secret still authorises the host — offboard drops the reservation the release route authenticates against):app/test-results/standing-rented/state/founding-state.jsonis now intest-results/slug-claims/rehearsal-c.secrets, so nothing was destroyed while it existed in only one place.POST /v1/gateways/release→ 204.POST /v1/subdomains/offboard→ 204.app/test-results/standing-rented(the real one) and$root/test-results/standing-rented(already absent).Verified after the fact rather than trusted:
idss-gatewaytag returns an empty list;595495831/168.144.170.129is gone.rehearsal-c.idss.nz,*.rehearsal-c, and_acme-challenge.rehearsal-call still resolve to143.198.134.168— but so doestotally-nonexistent-zzz9.idss.nz, and so does the apex. There is a zone-level wildcard*.idss.nzpointing at the product front door, so every name under the zone answers with it whether or not it exists.dig CNAMEat those names returns empty andANYis refused (RFC8482), so name-resolution alone cannot distinguish "record deleted" from "record present" in this zone. The offboard did its job;Issuer.Offboard→CloudflareZone.DeleteRecordsdeletes the full probe set unconditionally and would have returned an error rather than 204 had it failed. Do not read a resolving<slug>.idss.nzas evidence that an offboard failed.The live broker is current, incidentally — deployed today 03:17 UTC, and its binary carries
DeleteRecordsForIP(#758). Its unit Description still readsbuild 86d5ef7, which16c29d78has since established is hand-placed text that outlived four deploys — not a version. Do not trust that string.#854is unblocked and the device drive re-fires on the next tick; with no standing home the carrier will setOC_STANDING_REFOUND=1and found a fresh community on the freedrehearsal-cname.