phase-5 standing leg reds at once: runRentedPrefix starts at S4a but the device journey calls it on an app still at Welcome #884
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#884
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
First phase-5 device drive,
20260826T220705Zonelitebook-03: RED at the first leg, 32 seconds end to end, 0 green / 2 red.artifacts/legs/wizard-rent.pngshows why: the app is sitting on the Welcome screen — "Create a community / Join with a code". It never entered the founding wizard at all, so the S4 Access options never rendered andoption:rentedcould not exist.Root cause — the extracted prefix has an undeclared precondition
runRentedPrefix(app/tests/e2e/fixtures/rentedPrefix.ts:191) opens at "Leg 2: wizard-rent" and immediately callss4aRent(live), whose first act ispage.click('[data-action="option:rented"]'). It therefore requires the app to already stand on S4 Access. Nothing in its name, signature or doc comment says so.journey.rented.spec.tssatisfies that silently, because it walks the whole wizard before ever reaching the prefix:journey.device.spec.ts:298calls it cold, on an app launched moments earlier atjourney.device.spec.ts:278and still on Welcome:So #851's extraction was genuinely behaviour-preserving for its original caller, which kept its own leg 1 — but the contract that leg 1 was satisfying never travelled with the extracted function, and #852's new caller could not see it. The re-found branch has never run before today: every phase-4 drive entered the prefix through
journey.rented.spec.ts.Note both legs record the same error:
standingwraps the prefix, so the prefix'swizard-rentfailure surfaces twice. That is the recorded-legs design working (ruling 7), not a second defect.Fix — make the precondition impossible to get wrong
Preferred:
runRentedPrefixowns its own entry. Give it the wizard walk (welcomeToS1→s1ToS2→s2WithSlug(slug)→s3BrandKit→s3aIdentity) behind a flag or a smallenterFromparameter, so a caller that already stands on S4 Access passes'access'and a cold caller passes'welcome'. The device journey then cannot construct the broken call.Minimum: assert the precondition and fail loud (ADR 0100) — the prefix checks
[data-status="access"]is visible before its first click and throws a message naming what the caller must do, instead of decaying into a bare 30s locator timeout that reads like a UI regression. This is the same discipline #875 just applied tochatsvc.login(a front-door 200 is not the service's answer) and #802's fixture fix applied to the Fleet row.Both are cheap; do the first, and the second falls out of it.
Note on the standing community
test-results/standing-rented/does not exist yet, so the carrier correctly setOC_STANDING_REFOUND=1— the re-found branch is the right branch. Nothing is stale; this is simply the first time it has ever executed. No droplet was rented (the drive died beforewizard-rentcould reach the broker), so there is no leaked reservation from this run.Acceptance
standingleg re-founds the standing community from a cold app launch, walking the wizard to S4 Access before renting.runRentedPrefixon the wrong screen gets a named, loud failure rather than a locator timeout.journey.rented.spec.tskeeps its current behaviour byte-for-byte (its leg keys, budgets and assertions unchanged).Evidence
test-results/drive-device/20260826T220705Z/onelitebook-03—artifacts/verdict.json,artifacts/legs.json,artifacts/legs/wizard-rent.png(the Welcome screen),report/.Filed by the watch under ADR 0174 — the drive's own reporter could not file it (
cap/limit), so #854 was flippedready-for-humanat 22:08Z. Veto anytime.swarm-claim host=elitebook-distributed-server-03 run=12521
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #884 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
f979d57is not reachable from origin/main (not landed)envelope
close-report for #884 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope