standing drive: RENT A DEVICE FROM THE PANEL — journey.rented-device.spec.ts on the standing rented community: Overview → Add a device → place → rent → the box calls in → the device card → remove → reap; GREEN is the only close #1400
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.
Depends on
Reference
Matou/idss#1400
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?
Parent
Control-panel UI pass, Ben 2026-09-10/11 (branch
founding-ui-two-colour-rail-ceremony, unmerged at filing). Device-add spec #13 (ADRs 0053–0057, DDR 0109); founding Access step P1-S4/S4a (ADR 0189 / DDR 0190). The dashboard half is BUILT on the branch:dashboard/src/components/device-add/{PlaceScreen,RentServerScreen,RentedScreen}.vue,DeviceAddSurface.vue(stages place → rent → rented | form),shell/DeviceAddDialog.vue, seamdashboard/src/lib/deviceAdd.ts(DevicePlaceOption,ServerOffer,RentServerRequest,RentedServer; OPTIONALplaceOptions/serverOffer/rentServeronDeviceAddSource), fakedashboard/tests/fakes/deviceAdd.ts, browser harnesscd dashboard && pnpm harness→http://localhost:5198/panel.html?scenario=steady.Destination
An unattended Playwright drive (sibling of
app/tests/e2e/journey.device.spec.ts, #854's fifteen teeth) on the STANDING rented community, GREEN on every leg:standing → panel-signin → overview → add-a-device-dialog → place-screen → rent-card → rent → rented-outcome → call-in → auto-approved → device-card → fleet-row → remove-device → reap → finishLegs, each a screenshot eyeballed before GREEN is believed (a GREEN can be FALSE):
[data-field="device-add-dialog"]), head "ADD A DEVICE".drive-<runid>, picks the smallest size and the offer's own region.POST /api/v1/enroll/rent→ the rented outcome shows an IP, the size, the region; Done closes the dialog. The enroll ledger holds one active code for it.drive-<runid>, kind server, location = the region's label, rolesserver, rings live.Rules
x-idss-releasecarries the rent op before calling a red a ghost.Arming ritual
On elitebook-03 (
~/swarm/rehearsal-env.sh): append this issue number toREHEARSAL_DRIVE_QUEUE;REHEARSAL_STANDING_DIRas #854. Pre-arming:curl -sf $IDSS_BROKER_URL/v1/gateways/offer→ 200 withpresets[]; gateway image snapshot fresh (scripts/gateway-image/latest.sh) and carrying the first-boot enrol unit;rehearsal-device-target-test.sh,rehearsal-standing-test.sh,rental-reap-test.shgreen.Acceptance criteria
test-results/, eyeballed.doctl compute droplet listshows no droplet nameddrive-<runid>and the broker's rentals ledger records the reap.Blocked by
#1397, #1396, #1398 (the live half), #1395 (the contract the screenshots are held to).
Why session
A live drive on the rehearsal host — live doors, host and broker credentials, a rented droplet per run (routine drive spend, as #854). Closes only on a GREEN drive with eyeballed screenshots, never on unit tests.
GET /enroll/places,GET /enroll/server-offer,POST /enroll/rent(the broker rents, the box enrols itself with a code minted for it)placeOptions/serverOffer/rentServerto the new enroll ops so the real panel opens the dialog on the place screenGET /enroll/places,GET /enroll/server-offer,POST /enroll/rent(the broker rents, the box enrols itself with a code minted for it) #1397Drive run 2026-09-11 — the harness tier is GREEN; the live half is this ticket
The product half of these legs is now proven by a committed browser drive on the unmerged branch
founding-ui-two-colour-rail-ceremony, so this ticket carries only what needs a real control plane and a real droplet.Landed with the feature:
dashboard/playwright.harness.config.ts— a new drive tier for the web dashboard (the counterpart to the app'splaywright.preview.config.ts), booting the REAL composition (bootstrapDashboard→ every tab surface) over the scenario fakes on :5198. Runner:cd dashboard && pnpm e2e:harness.dashboard/tests/e2e/preview-harness/deviceAdd.spec.ts— 12 legs, all green (39.6 s, chromium):1b. the Fleet list's "+ Add device" opens the SAME dialog
privatenever offered, each card's picture drawn{name, region, preset}exactly as picked{intendedRole, name, kind, location}and the CLI screen curls the community's own domainvue-tscclean acrossapp,dashboardandpackages/ui-kit.What the harness tier cannot prove, and this ticket still must: a real broker rent, a droplet that boots and calls in by itself, the auto-approve ruling, the fleet row gaining kind / location / roles from the mint, and the reap. Those are the legs above, against the standing community.
GET /enroll/places,GET /enroll/server-offer,POST /enroll/rent(the broker rents, the box enrols itself with a code minted for it) #1397placeOptions/serverOffer/rentServerto the new enroll ops so the real panel opens the dialog on the place screen #1398placeOptions/serverOffer/rentServerto the new enroll ops so the real panel opens the dialog on the place screen #1398Attempt 1 — the drive cannot go GREEN: its live half is unbuilt and unserved (ruling under ADR 0174)
Standing session on elitebook-distributed-server-03. Before authoring the drive I probed the actual live rent path end to end. It does not exist — so
journey.rented-device.spec.tswould red at therentleg (POST /api/v1/enroll/rent), and per this ticket's own reporter contract a red files/matches a blocker and this ticket stays open. No GREEN, so no close (and unit work never closes this ticket by design).What proves it (current
mainf2f71a52, gofmt-clean after the #1416 fix, and live):compose.go:914hardcodesHasBroker: false;controlapi.WithEnrollDeviceRenthas no call site (only the comment at compose.go:910). NoEnrollDeviceBrokeris ever composed. This is exactly the wiring #1398's close report deferred to "Next (#1400)" — it was never done.internal/brokerclienthas no device-rent method.Rentals.Rentdoesn't threaduser_data(theprovider_do.goUserDatasupport #1397 added is unreachable over HTTP).rehearsal-e.idss.nz:x-idss-composition: resting,enroll/configcarries nohas_broker,enroll/places404,enroll/server-offer404. A re-warm/reseed would not help —mainitself carries none of the wiring (checked, so this is not a served-vs-main ghost).Ruling (ADR 0174 — veto anytime): #1400 owns a build phase (the live rent half) that must land and deploy before its drive phase can be exercised. I filed that as #1460 (ready-for-agent: broker device-rent endpoint threading
user_data+brokerclientadapter + control-plane broker composition + deploy/serve) and set it as a native blocker of this ticket. I did not build+deploy it blind this session: it spans a production broker deploy tobroker.idss.nz(shared prod founding surface) and a control-plane composition that can only be honestly proven by the very drive it feeds (ADR 0221 — a debug green wouldn't count), so landing it unexercised in an unattended run is not a two-way door I'll take alone. Building it is agent-buildable and revertible; the deploy + drive come back to a session.Also observed (not this ticket, flagging): the standing gateway
rehearsal-e.idss.nzansweredx-idss-composition: resting, notwhole. If that persists, the drive'soverview/fleetlegs would red at leg 1 regardless of the rent half, because the Overview/Fleet need the whole composition. Worth a look before the next drive attempt.Next session (once #1460 lands + is deployed and the standing gateway is whole + re-warmed): author
journey.rented-device.spec.ts(sibling ofjourney.device.spec.ts), add therented-devicecarrier target (smoke-private-path.shmaps--target rented-device→journey.rented-device.spec.ts; the panel drives the broker rent so no bashoc_device_createcarrier is needed, only reap), then run it live iterating to GREEN and verify nodrive-<runid>droplet survives + the broker rentals ledger records the reap.Leaving this ticket
ready-for-session, blocked by #1460. Ruled by agent under ADR 0174 — veto anytime.Standing session under ADR 0174 — RED at the shared founding re-found; blocked by #1447.
What landed (two-way door, committed + pushed to
main):app/tests/e2e/journey.rented-device.spec.ts— the twelve-leg drive (standing → overview → add-a-device-dialog → place-screen → rent-card → rent → call-in → device-card → fleet-row → remove-device → reap → finish), commit3348ab1f.--target rented-deviceharness wiring inscripts/smoke-private-path.sh+scripts/lib/swarm-identity.sh(3348ab1f), plus theoc_droplet_createguard fix so a standing target creates no harness gateway box (d6922259). Dry-runs of both--target rented-deviceand--target devicepass;--target deviceis byte-identical to before; the spec collects underplaywright --list.IDSS_PAYLOAD_DIRfrom currentmainso a re-founded standing gateway serves #1460's rent op — verified the control-plane binary now carries/api/v1/enroll/rent,has_broker,/v1/devices/rent(the served-bits-vs-main rule; this RED is NOT a served-bits ghost).The RED (drive
20260912T215326Z): red at thestandingleg's re-found, inside the sharedrunRentedPrefix/wizard fixtures (wizard-rentsub-leg), timing out on[data-action="option:rented"]. The captured page snapshot shows founding v2's walk — Community info ✓, Brand kit ✓, Sign-in method ✓, Address ● (current), with Access ○ disabled. The fixture walks the OLD wizard order (it clicks the Access-stepoption:rentedbefore Address is done), but #1404 moved the claim+rent intocreate-community, so v2's order is Address → Access(record) → Build it(rent). This is exactly #1447 ("the live drives FOLLOW THE PAGE's walk — re-sequence every founding caller", open +ready-for-human). It breaks the standing re-found for the device drive #854 identically (samerunRentedPrefix) — a pre-existing blocker of the shared founding prefix, not this spec's own legs.No droplet leaked: the re-found red BEFORE renting (32s), and the stale standing gateway was reaped by the pre-rent sweep.
doctl compute droplet listshows nodrive-*/idss-device/idss-gateway-rehearsal-ebox.Routing: blocked by #1447. This drive's own rent-a-device legs (place → rent → call-in → device-card → fleet-row → remove → reap) are authored against verified live selectors but remain UNPROVEN live until the re-found reaches a founded standing community — a re-drive exercises them once #1447 lands (or a standing community is founded by other means). Relabelled
agent-blocked(droppingready-for-session) so the runner does not burn re-attempts on a known human-gated blocker; re-addready-for-sessiononce #1447 is resolved.Ruled by agent under ADR 0174 — veto anytime.
device-add-drill-in— Add device is a DIALOG (device-add-dialog) since the control-panel pass; mintCliCode + backToFleetList must follow #1465Closed 2026-10-21 (Ben's ruling): folded into the drive checklist #2055 — the live proof this ticket still owed is now a checklist item there, to be carried by the next drives on the latest versions. A proof that fails on the drive becomes a NEW ticket; this one is not reopened.