app: bootstrap — a launchable operator app over the helper #131
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
Depends on
Reference
Matou/idss#131
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
Feature spec: #22 (shell) / #23 (ui-kit contract). Filed from Ben's rulings 2026-07-26 after the review sweep of
6596977..9e946b7: integration-last was deliberate seam-first sequencing — now build the integration layer; and pay all standards debt now.What to build
The operator app becomes a real desktop app: a shell that launches, renders the resting frame, and routes its navigation intents through a production navigator; the helper process is spawned and the existing Bridge clients (founding, break-glass, join) are finally instantiated over its stdio — no fake in the production path once real helper adapters exist. Includes the launch-and-24h update-check scheduler owed from #30.
Acceptance criteria
Blocked by
Task manifest
Done in
d6ebca4(onmain). The operator app is now a launchable shell over the real helper.What shipped
app/src/bootstrap.ts—bootstrapAppcomposition root: spawns the bundled Go helper and instantiates the productionBridgeFoundingClient+BridgeBreakglassClientover its live stdio (no fake in the production path).app/src/lib/stdioBridge.ts—StdioBridge: spawns a helper subcommand and frames its NDJSON stdio (the Gointernal/stdiobridgecontract, ADRs 0051/0052), pairing responses FIFO; rejects in-flight/later requests once the child dies or on close.app/src/lib/appNavigator.ts— productionAppNavigator(reactive route) replacing the recordingFakeNavigator; every resting-screen intent routes for real (founding/AU) or fires a leave-the-app effect (dashboard/local VM). Drill-in and other-feature edges route to apendingstate; those surfaces land with their own slices.app/src/lib/updateScheduler.ts—UpdateScheduler: the launch-and-24h silent update check owed from #30 (ADR 0098); a failed check is swallowed so the current version keeps working.app/src/components/AppShell.vue— mounts the welcome resting frame (shell-w-welcome) + drives the founding journey over the live helper; the app-update strip rides the resting frame once a verified release is ready.Acceptance
appShell.test.ts,appNavigator.test.ts, boot test).BridgeFoundingClient(boot.test.tsbuilds and drives the real Go helper:offered → begin → start).updateScheduler.test.ts, fake timers).Evidence:
app/tests/unit/boot.test.ts(the manifest seam, builds + drives the real helper), plus unit suites for the transport (real spawned process), navigator, scheduler and shell. 28 new tests; full app suite 337 green;vue-tsctypecheck +eslintclean.Out of scope (untouched): the real broker/DNS/clan helper adapters (still
fakes:testing-seam) and Electron packaging/signing.Follow-up noted (pre-existing, not this slice): after #126 the Go founding bridge emits
access_options/pre_checkbutBridgeFoundingClientstill readsresp.accessOptions/resp.preCheck— a latent camelCase↔snake_case mismatch on those two access-and-address response keys. The founding-step keys exercised here (draft,offered) are single-word and unaffected.