Repository navigation
Closed
Labels
ready-for-agentFully specified; an agent can take it once its blockers have merged
Milestone
Description
Parent
Ticket ER9 of spec #786 (0.0.17).
What to build
The web view's Setup and First-hour pages, and the setup API, stop showing or reporting an engine step, so setup has no engine choice (user story 2). A target picture of the changed pages comes first, per the image skill.
Owned paths
crates/server/src/setup.rs(shared: the engine component)crates/store/src/setup.rs(shared: the engine component)contracts/setup.v1.md(shared: the engine component)apps/web/src/setup.ts(shared: the engine step)apps/web/src/components/Setup.tsx(shared: the engine step)apps/web/src/components/FirstHour.tsx(shared with 0.0.16 0.0.16 T6: join install setup init and onboard once #636: the engine step only)apps/web/test/(shared: only the setup and first-hour engine-step cases)tests/web-api/(shared: only the setup engine-component cases)changes/<this ticket>.md
Relies on: contracts/engine-retirement.v1.md, contracts/setup.v1.md
Links
- 0.0.17 ER1: map what the web view, the kept CLI and loops need, first #795 real: the map's list of engine-step reads and routes to remove
Acceptance criteria
- A target picture at phone and desktop width is on the ticket before the build
- Setup and First-hour show no engine step, and
/api/v1/setupreports no engine component; the other components are unchanged - The page and API tests change red first, and the kept setup cases pass unchanged
- One changelog line
- Test rule (The test rule: what earns a test, and what never does #687): every new test protects a supported behaviour, a contract others rely on or a safety invariant, and the pull request says per test
catches: <the bug>, orno new test: <why>. No mock-returns-stub, source mirroring, compiler re-checks, quota tests or unreachable cases; a bug gets a failing test first. - Every test the pull request deletes names its keeper (a test that still catches its bug) or says the behaviour it protected is gone.
Proof
E2: page and API tests, red first, and screenshots against the target.
Metadata
Metadata
Assignees
Labels
ready-for-agentFully specified; an agent can take it once its blockers have merged
Activity
jparker2006 commentedon Nov 16, 2026
launch-fleet: start checked, branch room/873-setup-no-engine
jparker2006 commentedon Nov 16, 2026
Builder question: five path gaps, and one contract choice, before I build #873.
What I found (at
main72374af). Dropping theenginecomponent fromGET /api/v1/setupbreaks readers outside the owned paths, because each one demands exactly seven components and an engine forready:apps/web/src/api.ts(parseSetupText,SetupComponentId)ready: truewithengine: "unselected". The Setup and First-hour pages would show "unreadable"engine; dropenginefromSetupComponentId;readyneeds every non-remote_accesscomponent verified, no engine checkcontracts/setup.v1.schema.jsonminItems/maxItems: 7, acontains engineclause, andready: truerequiresengineincloud/localplus anenginecomponent verifiedenginefrom the id enum and bothcontains engineclauses, drop the ready-needs-engine rulecontracts/fixtures/setup-onboard/cases.json(setup_views, 12 views)tools/install/tests/setup-onboard-contract/test_contract.py; every view carries anenginecomponentenginecomponent object from each view; each view keeps itsvalidvalue and its own reasonapps/web/pages/setup.tsx(the Setup page itself)main). Setup cannot "show no engine step" without itsetup-enginepanel; footer "No agents have been started."; aside label "Next step". The general cost panel (SetupCost, owned) staystools/install/test_setup_api.mjsreadSetup'engine'from its id listThe contract choice. The top-level
engineandcostfields stay (cost feeds First hour's Spending line; the saved selection belongs to ER8's runtimes), butengineno longer gatesready.crates/storekeeps reading an old state file'sengineobservation unchanged, so old files still load; the server just stops reporting it.operationName('activate_engine')stays so an old recorded operation still shows truthfully.Options:
enginerow. Onlyapi.ts,pages/setup.tsxand the schema change, but it keeps dead compatibility code for a producer that no longer exists.Answer in a word: A, B or C. I am making the target picture meanwhile and editing nothing outside the owned paths until this is answered.
jparker2006 commentedon Nov 16, 2026
launch-fleet: asked the orchestrator
#873: red: the setup report still has an engine component
#873: the setup report has no engine component
#873: changelog line
jparker2006 commentedon Nov 16, 2026
Orchestrator ruling: the five path gaps are real and are granted for building, on option A (the clean six-component form):
apps/web/src/api.ts(setup reader only),contracts/setup.v1.schema.json,contracts/fixtures/setup-onboard/cases.json,apps/web/pages/setup.tsx(the engine panel and footer only) andtools/install/test_setup_api.mjs. Removing a component from a contract's schema is an interface change, so the merge waits for the owner's answer (about 05:00Z); build and open the pull request on option A now, target picture first as the ticket says. Two cautions: #633 (0.0.16 T2) is editing the same setup reader inapi.tsfor the identity object, so keep your edit to the component list and the ready rule and expect to mergemainin; and the top-levelengineandcostfields stay as you describe.#873: target pictures for Setup and First hour without the engine step
jparker2006 commentedon Nov 16, 2026
Target picture for #873 (before the build), at commit
a7c636e. Small change: rows, panels and wording removed, no new screen or flow.State: the synthetic setup report with every connection verified and phone access unknown, the state where the engine step used to show. Intended viewports 1440 and 390 CSS px. Brief, content packet, prompts and the
mainreference screenshots:docs/evidence/873/target/.What changes: Setup lists six components (no Engine row), drops the Engine panel, says "Connections verified. Next, give one small idea to the OpenWiz onboarding skill. Nothing starts without your approval." and the footer says "No agents have been started." First hour's "Connect your accounts" is done and never says "Choose where the engine runs next". Everything else stays as on
main.Setup, desktop

Setup, phone

First hour, desktop

First hour, phone

Limits: generated targets (Codex image tool,
mainscreenshots as references), not screenshots; raster sizes differ from the CSS widths. The First-hour targets keep the reference's failed fleet read ("Unknown" panel), which this ticket does not change.#873: evidence prompts name the committed references
#873: red: the setup reader and schema refuse a report without an eng…
#873: Setup and First hour show no engine step; the reader and schema…
#873: real-page screenshots against the target
#873: tidy the setup reader's ready rule
#873: green: scoped checks at dc77b7b
#873: merge main (keep both evidence rows in paths.json)
#873: green: scoped checks after merging main, at b7be6c6
#873: merge main (keep #633's identity and skipped-App rule with the …
#873: green: scoped checks after merging main with #633, at 89cfa80
jparker2006 commentedon Nov 16, 2026
CI failure on #919 at
f75a7ad(run 43825313543, jobrust-export (4)): not caused by this branch. The likely cause is a race in the test itself, so no new head is needed.init::init_help_is_source_free_and_listed_in_agent_discoverypanicked attests/cli-agent/init.rs:73:14withOs { code: 26, kind: ExecutableFileBusy, message: "Text file busy" }. Line 73 is the.unwrap()onCommand::new(root.join("openwiz"))...output(). The program could not even start; no assertion about help, the catalogue or setup ran.Installed::newcopies the builtopenwizbinary withfs::copy, then runs it. In a parallel test binary, another thread that forks a child at that moment can briefly hold the just-written file open. Running it then fails with ETXTBSY. This is a race in #635: 0.0.16 T5: make visibility-aware openwiz init real #875's test, not a behaviour bug.crates/cli,tests/cli-agent,tools/install/setupor the agent catalogue (git diff --name-only origin/main...f75a7ad).f75a7ad,cargo test -p openwiz-tests --test cli-agent init::passed 3/3, and the wholecli-agentbinary (61 tests, run in parallel) passed 3/3.e11_plan_bounds::e11_plan_deadline_retains_its_slot_until_the_source_really_finishes.ExecutableFileBusy.jparker2006 commentedon Nov 16, 2026
launch-fleet: archived
#791: merge main (keep #873's paths.json row beside ours)