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.
Blocks
Reference
Matou/idss#896
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?
Drive
20260827T073657Z(--target device) red at leg 1standing, sig25304f657c24, 482660ms intos4aRent'sexpect(locator('[data-status="address"]')).toBeVisible({ timeout: 8*60_000 })(app/tests/e2e/fixtures/wizard.ts:212).The locator is a symptom. The page snapshot in
artifacts/journey.device-device-add--809eb-e-standing-rented-community/error-context.md:42shows the wizard still standing on S4a with an in-place, retriable rent error:S5 was never reached, so
[data-status="address"]correctly does not exist.logs/founding-state.logconfirms the draft stalled atstep: "access",founded: false, slugrehearsal-c.The prior heal (
5c8f4c6, the standing-home directory split) worked — this drive launched cold on Welcome and walked the wizard, which is exactly what that commit intended. The signature is unchanged only because both faults end at the sameaddresslocator.Why the name is taken
The previous device drive,
test-results/drive-device/20260827T065053Z, rented and claimedrehearsal-c, reachedpoint, and then red atenroll-activateon the #893 cloud-initIsADirectoryError(artifacts/legs.json, legstanding). Itslogs/founding-state.logcarries the reservation:address.host = rehearsal-c.idss.nz,address.secret = qNeo7vv8lyWUkzsKdBZZJH6iNEtzZHxUbw80kfVnv3s.Because it reached
point, the reservation is REDEEMED and never lapses (#278; GOTCHAS #80 amendment). Proven from outside, per that amendment's owndigtest — the records are the slug's own, not the apex wildcard:Defect 1 — the standing teardown drops the secret and skips the offboard whenever the re-found drive red before
facts.jsonscripts/lib/rehearsal-standing-lib.sh:158-197.hostandslugcome only fromfacts.json(lines 160-161), butfacts.jsonis written only on a drive that re-founded green (scripts/smoke-private-path.sh:632, guarded onartifacts/standing-founded.json). The 06:50 drive red atenroll-activate, so no facts were ever written — while itsstate/founding-state.jsonheld the live secret. On the 07:36 tick:oc_standing_secret(line 162) did mineqNeo7vv8…out of the state dir;slug, andoc_slug_secret_rememberno-ops immediately on an empty slug (scripts/lib/rehearsal-droplet.sh:777-778) — the secret was silently discarded;-n "$host" && -n "$secret", so it took the line 191-193 "never reached S5" branch — which is factually wrong here: the community reachedpoint;rm -rf "$OC_STANDING_DIR"then deleted the only copy.Confirmed on disk:
test-results/slug-claims/rehearsal-c.secretsholds 7 secrets, last appended 04:39, andqNeo7vv8…is not among them.test-results/standing-rented/now holdsstate/only, nofacts.json.This is the #757 wedge reopened through a path #757 did not cover — the comment at
rehearsal-standing-lib.sh:26-28claims the secret is "REMEMBERED before it is spent", and on this path it is not.Defect 2 — the device preflight has no pre-rent sweep at all
scripts/lib/rehearsal-droplet.sh:693-702—oc_rented_preflightcloses both halves of this hatch before--target rentedrents:oc_rented_release_stale_slug(#748), thenoc_slug_secrets_harvest+oc_rented_offboard_stale_slug(#757).The device branch runs none of them.
scripts/smoke-private-path.sh:373-379does only a read-only offer GET, with the comment at line 376 stating the intent outright: "a read-only GET, so it stays dry-run-safe (no stale-slug sweeps here)". But a device re-found rents the same fixed slug (REHEARSAL_SLUG,scripts/lib/swarm-identity.sh:41) through the samerunRentedPrefix, so it inherits the identical wedge with none of the guard. Dry-run safety is a real constraint — the sweeps are destructive and the existing re-found teardown already solves it by sitting past the dry-run gate atscripts/smoke-private-path.sh:565-569.Secondary:
oc_slug_secrets_harvest(rehearsal-droplet.sh:807-818) walks<results_root>/<run>/state, but a device run dir'sstate/is empty — the state lives in the standing home. The secret survives only aslogs/founding-state.log, which the harvest does not read.Suspected layer
Harness lifecycle wiring only (
scripts/). No product code is implicated: the broker's refusal is correct and the wizard reported it honestly, in place, with aRetryand the stage named — DDR 0190 decision 3 behaving exactly as specified.What plugging it needs
rehearsal-coperationally first — no code change frees a redeemed reservation. The key still exists attest-results/drive-device/20260827T065053Z/logs/founding-state.log(address.secret); spend it before retention prunes that run dir:POST /v1/gateways/releasethenPOST /v1/subdomains/offboardforrehearsal-c.idss.nz, bearing that secret. If it is gone, rotateREHEARSAL_SLUG(GOTCHAS #32) — every drive stays red until one or the other happens.rehearsal-standing-lib.sh— deriveslug/hostfromstate/founding-state.jsonwhenfacts.jsonis absent (the state already carriesdetails.slugandaddress.host), remember the secret unconditionally before therm -rfat line 195, and attempt release + offboard whenever a secret exists rather than only when facts do. Correct the line 191-193 note, which mis-reports a post-pointcommunity as one that never reached S5.smoke-private-path.sh— whenOC_STANDING_REFOUND=1, run the same pre-rent sweepsoc_rented_preflightruns, placed past the dry-run gate beside the existingoc_standing_teardowncall at line 568, so--dry-run --target devicestays side-effect-free.oc_slug_secrets_harvest— decide whether it should also mine harvestedlogs/founding-state.log, so a drive whose home was wiped can still be recovered from its own evidence. This is the one design call in the ticket.scripts/tests/rehearsal-standing-test.shshould pin the facts-absent teardown path (secret remembered, offboard attempted, note honest);scripts/tests/rehearsal-device-target-test.shshould pin the sweep's presence and its position relative to the dry-run gate and==> driving, in the shape of its existing check 12.Evidence absent from this run, for the record
state/in the run directory is empty — nostate/clan-configflake was captured (the app's state lives in the standing home on this target).logs/broker-journal.txtis a harvest failure, not a log:dev@100.98.48.68: Permission denied (publickey)— the executor is off the admin mesh, by design (#681, ADR 0208); it would have shown the broker's own view of the 409.artifacts/journey.jsonis{rows: null, fault: null}— the journey bar never started, consistent with a red before stand-up.logs/device-journal.txt/device-stall.txt/device-do-forensics.txtare the member device (droplet 595534017,clan-lab-rehearsal-d47f6f57, plain Ubuntu 24.04, up 8 min, nothing deployed) — correct for a drive that red at leg 1, and not evidence about the gateway, which was never rented.Advances #854.
drive
20260827T073657Zred atstanding:expect(locator).toBeVisible() failed Locator: locator('[data-status="address"]') Expected: visible Timeout: 480000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 480000msevidence:
/home/swarm/swarm/Matou/idss/test-results/drive-device/20260827T073657Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedswarm-claim host=elitebook-distributed-server-03 run=12664
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #896 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope