founding e2e: the founding page's UI CONTRACT drive — the whole walk on the preview harness against the fake, by leg list #1449
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#1449
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?
What it proves
The v2 process's UI CONTRACT — every
data-action/data-field/data-statusthe Gotickets build against — driven on
founding.html(pnpm e2e:preview,playwright.preview.config.ts, :5199) with apageerror/console.errorlistener(GOTCHAS #225: a blank harness is a thrown render). Recorded by LEG LIST
(
fixtures/legs.tsrunRecordedLeg,legs.json), never by one green. Scenarios aresteered through
window.__founding.client(cgnat,rentFailure,deployFails,ownVPSConnectRefused, and T1'sdeviceFails).Legs (each a named record; a skip is a NAMED skip)
start—[data-action="start"]→[data-status="founding-journey"],[data-field="section"]= Community info.identity— details, brand, sign-in, address: the four sections advance;[data-status="subdomain-taken"]on a taken slug (takenSlugs).services—[data-action="pick-service"]×2; memory line updates; Continue.access-rent-choice—[data-action="option:rented"],[data-action="preset:<slug>"],[data-action="region"],[data-action="rent"]; the list row forconnectreads"Arrives ready — rented when you build it" and the Connect section is NOT shown
(
sectionApplies). Variant:[data-action="option:private"]→ same skip, row "Thiscomputer", address row "Not used — private community".
connect-dial-out— own-VPS walk:[data-action="use-own-vps"]with203.0.113.9→
[data-status="connect-device"],[data-field="dial-out"],[data-action="device-address"]prefilled,
[data-action="device-user"]= root →[data-status="connected"],[data-field="device-facts"],[data-field="device-memory"]= 8 GB,[data-field="host-key"].connect-refused-offers-dial-in— address192.168.1.50→[data-field="connect-error"]with the remedy,
[data-action="use-dial-in"]present; click →[data-field="dial-in"],[data-field="install-command"]contains the code in[data-field="enrollment-code"],[data-action="copy-command"];[data-action="use-dial-out"]returns to the first door.Assert the draft recorded nothing (
client.draftState.access.factsundefined).dial-in-waits-then-connects— self-hosted walk:[data-status="waiting-for-device"]for ≥2 polls, then
[data-status="connected"]with the dial-in facts (16 GB).checks-on-device—[data-field="device-checks"],[data-check="reachable|visitors|memory|disk"]each
[data-status="pass"],[data-status="checks-passed"],[data-action="continue"]enabled.cgnat-blocks-continue—client.cgnat = true→[data-check="visitors"][data-status="fail"],[data-status="checks-failed"],[data-action="continue"]DISABLED; Back works.facts-reach-the-bench— after leg 5/8: the list row reads "root@… — checks passed";[data-field="device-card"] [data-field="device-memory"]has nodata-status="unmeasured"and shows the measured 8 GB, not the offer's preset.bench-tap-and-return— click[data-field="bench"] [data-service="files"]→ itlands on the next device with room; click
[data-action="unplace-service"]→ backin the pool;
[data-field="no-room"]on an over-ceiling tap.add-device-rented—[data-action="add-a-device"]→[data-field="device-place"][data-action="option:rented"]→[data-field="device-rent"][data-action="device-name"],[data-action="preset:<slug>"],[data-action="add-device"]→ a second[data-field="device-card"]with the preset's size.add-device-own-vps-connects—option:own-vps→[data-field="device-own-vps"]device-name/device-address→[data-action="connect-next"]→ the embedded connect(leg 5 selectors,
continueLabel"Add to plan") → the card joins MEASURED.add-device-self-hosted-dials-in—option:self-hosted→device-location→connect-next → dial-in (leg 7) → card joins.
placement-saved— Continue →client.opslast issave-placement;client.draftState.placement.devices.length= 3,wherehas every chosen slug.confirm-reads-back—[data-status="founding-confirm"],[data-field="confirm-identity"],one
[data-field="confirm-device"]per machine with its services;[data-field="confirm-unplaced"]absent.build-it—[data-action="build"]→[data-status="founding-deploy"]; the rail carriesdevice:<id>:reach|enrol|deployrows for each extra machine BEFOREfinish.deploy-fails-honestly—client.deployFails = true→ the failed row + recovery.hand-off-fleet—[data-status="hand-off"],[data-field="alive"]says "… digitalsovereignty stack is now live",
[data-action="open-your-dashboard"],[data-action="open-members-portal"][disabled],[data-field="fleet-device"]×3,[data-field="service-card"]under the right device,[data-field="product-site"]href = catalogue
productUrl,[data-action="open-service"]. After T1:client.deviceFails = '<name>'→ that card[data-status]failed, no RUNNING pills.resume-lands-where-it-left— reload (harness mirrors the draft) mid-walk → samesection; the reached high-water mark is not lowered by a look-back.
Failure branches it MUST exercise
dial-out refused → dial-in offered on the same screen (6); pre-check red blocks
Continue (9); an extra machine's rows red without redding the gateway's (T1 knob, 19);
rent refused stays on the card (
rentFailure,[data-status="rent-error"]).Legs added by the review fixes (2026-09-12)
dial-in-expires— steerclient.awaitDialInto answer{state:'expired'}→[data-status="dial-in-expired"], the poll STOPS (no furtherawait-dial-inops),[data-action="new-code"]mints a fresh code.recheck—client.cgnat = true→[data-status="checks-failed"]; set false,[data-action="recheck"]→[data-status="checks-passed"]without leaving the screen.added-vps-dial-in-lands-on-itself— add an own-VPS device with192.168.1.50, fall back to dial-in: after the call-inclient.draftState.access.factsis still undefined (the gateway record is untouched).takeover-named-at-selection—[data-field="takeover-note"]on S4d and in the dialog's own-VPS form;[data-field="takeover"]on the Confirm card of an added VPS.device-fails-gateway-stands—client.deviceFailsAt = 'dev-1'before Build it →device:dev-1:deployred with its fault,connect/control-planedone,finishtodo; the hand-off (after T1) shows the card WAITING with no doors.s6a-gates-build— on the IDIP path Build it raises[data-status="recovery-phrase"]andcreate-communityhas NOT fired; the three-word confirm unlocks it.boot-resume-on-created— reload with acreateddraft →[data-status="founding-deploy"], no[data-action="start"].Ruled by agent under ADR 0174 — veto anytime
Routing:
ready-for-session→needs-design. This drive cannot be authored yet — the v2 walk it asserts a contract over is unbuilt, and its own upstream features are stillneeds-design.What I checked (the proof)
This ticket is the UI-CONTRACT drive for the whole v2 founding walk. Its
data-*vocabulary is a proposed target contract, not the one the page renders today. Greppingapp/src/for the ticket's distinctive selectors:founding-journey,connect-device,use-dial-in,founding-confirm,founding-deploy,device-checks,data-check,fleet-device,checks-passed,checks-failed,dial-in-expired.[data-status="founding-v2-journey"](notfounding-journey) and a[data-action]that isstart/builddynamically (FoundingV2Page.vue:403).[data-field="section"]is the only leg-1 selector that exists (FoundingV2Journey.vue:65).What the v2 page actually is today (per STATUS 2026-09-11): a landing page that draws the stack, walks the Identity layer's five sections on v1's forms + the Services catalogue + device placement, treats the stack list as the review, and Builds. The walk this ticket drives — Access/rent choice, connect (dial-out/dial-in), device pre-checks, the bench, add-a-device, confirm read-back, the deploy rail with per-device rows, and the hand-off fleet — has no rendered UI.
Why this is
needs-design, not a two-way-door I can just doThe features whose selectors this drive asserts are themselves not designed yet:
connect-device,device-checks; legs 5–9, 13–14) — needs-designfacts-reach-the-bench; leg 10) — needs-designadd-device-own-vps/self-hosted; legs 13–14) — needs-designsave-placement; leg 15) — needs-designPer the triage-labels doc,
needs-designis exactly "the design tier hasn't produced (or the human gate hasn't confirmed) the contract the agent would build against." That is this ticket: the confirmeddata-*contract is a design output of #1413–#1417, which are stillneeds-design.I did not author a 27-leg skip-only drive against the missing UI: a journey that "passes" by silently skipping every leg is the exact failure mode the driver contract (
docs/agents/e2e-driver-contract.mdclause 2) makes unrepresentable, and building the whole walk to green is a multi-feature product effort, not this ticket's scope (which presumes the contract exists) nor a single standing session's two-way-door work.What proves the ruling / how to revert
Revertible: a label change. Proven by the grep above (contract absent) and the tracker state of #1413–#1417 (upstream un-designed). Recorded
depends_onblocking edges to the walk's building blocks so the blockage is machine-visible. When #1413–#1417 + #1448 land and the confirmed contract is in the page, dropneeds-designand re-addready-for-session— the leg list here is ready to drive at that point.