app: mount-built-surfaces — the navigator stops routing built journeys to nowhere #212

Closed
opened 2026-07-30 23:20:37 +00:00 by ben · 1 comment
Owner

Parent

Shell spec #22 (+ rescue #21 and device-add #13 own the mounted journeys). Gap audit 2026-07-30 (post #191–#195 sweep). Not on #183's journey — hardening filed alongside the blocker set, confirmed by Ben.

What's true today

  • The app navigator routes logs, rescue, device-add join, enrollment codes and mint to a pending stand-in the shell renders as resting — the operator clicks and nothing happens.
  • Built and unreachable behind it: the entire break-glass ceremony chain (situation → actions → tier-3 ceremony → recovered/failed), the join journey screens, the logs viewer, the codes screen and the notification screen. The break-glass client is even constructed over the real helper at boot — and consumed by nothing.

What to build

Route the built surfaces per their existing flows and wireframes (the design contract already answers where each goes) — each mounting over its real client where one exists, and failing loud where a transport genuinely doesn't (no new transports in scope; mounting only).

Acceptance criteria

  • Given the packaged app, When the operator opens each routed destination, Then the built surface mounts — no pending stand-in on a built journey
  • Given the break-glass entry, Then the ceremony chain mounts over the already-constructed real client
  • Given a surface whose transport is genuinely unbuilt, Then it fails loud on act (ADR 0100), never a fake

Task manifest

task: app:mount-built-surfaces
implements_seam: "the app navigator's routes to the built surfaces (spec #22; flows/wireframes are the contract)"
interface: "the operator app's journeys are reachable"
seam: "shell navigation tests: each route mounts its surface over its real client"
acceptance:
  - given: the packaged app; when: each destination opens; then: the built surface, live or honestly fail-loud — never the pending stand-in
depends_on: []
out_of_scope: [new transports, new screens, the seat source (its own ticket)]
needs_human_decision: []

Blocks

None of #183's legs directly (B·2 is CLI-driven) — Phase A's walk gets its real depth.

## Parent Shell spec #22 (+ rescue #21 and device-add #13 own the mounted journeys). Gap audit 2026-07-30 (post #191–#195 sweep). Not on #183's journey — hardening filed alongside the blocker set, confirmed by Ben. ## What's true today - The app navigator routes logs, rescue, device-add join, enrollment codes and mint to a pending stand-in the shell renders as resting — the operator clicks and nothing happens. - Built and unreachable behind it: the entire break-glass ceremony chain (situation → actions → tier-3 ceremony → recovered/failed), the join journey screens, the logs viewer, the codes screen and the notification screen. The break-glass client is even constructed over the real helper at boot — and consumed by nothing. ## What to build Route the built surfaces per their existing flows and wireframes (the design contract already answers where each goes) — each mounting over its real client where one exists, and failing loud where a transport genuinely doesn't (no new transports in scope; mounting only). ## Acceptance criteria - [ ] Given the packaged app, When the operator opens each routed destination, Then the built surface mounts — no pending stand-in on a built journey - [ ] Given the break-glass entry, Then the ceremony chain mounts over the already-constructed real client - [ ] Given a surface whose transport is genuinely unbuilt, Then it fails loud on act (ADR 0100), never a fake ## Task manifest ```yaml task: app:mount-built-surfaces implements_seam: "the app navigator's routes to the built surfaces (spec #22; flows/wireframes are the contract)" interface: "the operator app's journeys are reachable" seam: "shell navigation tests: each route mounts its surface over its real client" acceptance: - given: the packaged app; when: each destination opens; then: the built surface, live or honestly fail-loud — never the pending stand-in depends_on: [] out_of_scope: [new transports, new screens, the seat source (its own ticket)] needs_human_decision: [] ``` ## Blocks None of #183's legs directly (B·2 is CLI-driven) — Phase A's walk gets its real depth.
Author
Owner

Landed in be4d3c1 on main.

The navigator no longer routes its built journeys to a pending stand-in the shell rested silently behind:

  • Break-glass ceremony chain mounts as one journey (app/src/components/rescue/RescueJourney.vue) over the breakglass client the bootstrap already constructs at boot (#131) — P8-S3x precondition → P8-S3 Situation → P8-S4 curated actions (embedding P8-S5 Recovered / P8-S4x Failed) → P8-S8 Tier-3, terminal moves returning home. Shell runs no orchestration (ADR 0097): the chain is rescue's own component, mounted by AppShell (mirrors FoundingWizard). AC2 met — the chain mounts over the already-constructed real client.
  • Transport-genuinely-unbuilt destinations (device-add join, logs, enrollment codes, mint) land on a new honest fail-loud surface (app/src/components/shell/UnwiredSurface.vue) that names the destination and states its transport is not wired in this build (ADR 0100), never a silent rest, never a fake. The operator app's helper exposes only the found and breakglass bridges; those other transports are other seams this composition does not construct, and wiring them is out of scope (no new transports). AC1 (no pending stand-in on a routed destination) and AC3 (fail loud on act) met.
  • Navigator: pending retired for a rescue route (real client) and an unwired route (fail-loud). AppShell gains the breakglassClient prop threaded from clients.breakglass.

Evidence: shell navigation seam test (app/tests/unit/appShell.test.ts — rescue mounts over the injected client and drives material→probe; each unwired destination mounts its named fail-loud surface), plus rescueJourney.test.ts (chain transitions + fail-loud) and unwiredSurface.test.ts; appNavigator.test.ts updated. vue-tsc + eslint + prettier clean, vitest green. The go-gated boot seam test (boot.test.ts) needs the Go toolchain the Sandcastle sandbox still lacks (#198) — unrelated to this change.

Note: rescue's peripheral onward-links (Open log → A5, request remote support → dashboard) point at surfaces that are themselves unwired here; they are not part of the ceremony chain and are left for the slice that wires their transport. Advances #183 Phase A (rescue reachable).

Landed in `be4d3c1` on `main`. The navigator no longer routes its built journeys to a `pending` stand-in the shell rested silently behind: - **Break-glass ceremony chain** mounts as one journey (`app/src/components/rescue/RescueJourney.vue`) over the `breakglass` client the bootstrap already constructs at boot (#131) — P8-S3x precondition → P8-S3 Situation → P8-S4 curated actions (embedding P8-S5 Recovered / P8-S4x Failed) → P8-S8 Tier-3, terminal moves returning home. Shell runs no orchestration (ADR 0097): the chain is rescue's own component, mounted by `AppShell` (mirrors `FoundingWizard`). **AC2** met — the chain mounts over the already-constructed real client. - **Transport-genuinely-unbuilt destinations** (device-add join, logs, enrollment codes, mint) land on a new honest fail-loud surface (`app/src/components/shell/UnwiredSurface.vue`) that names the destination and states its transport is not wired in this build (ADR 0100), never a silent rest, never a fake. The operator app's helper exposes only the `found` and `breakglass` bridges; those other transports are other seams this composition does not construct, and wiring them is out of scope (no new transports). **AC1** (no pending stand-in on a routed destination) and **AC3** (fail loud on act) met. - Navigator: `pending` retired for a `rescue` route (real client) and an `unwired` route (fail-loud). `AppShell` gains the `breakglassClient` prop threaded from `clients.breakglass`. Evidence: shell navigation seam test (`app/tests/unit/appShell.test.ts` — rescue mounts over the injected client and drives `material`→`probe`; each unwired destination mounts its named fail-loud surface), plus `rescueJourney.test.ts` (chain transitions + fail-loud) and `unwiredSurface.test.ts`; `appNavigator.test.ts` updated. `vue-tsc` + eslint + prettier clean, vitest green. The go-gated boot seam test (`boot.test.ts`) needs the Go toolchain the Sandcastle sandbox still lacks (#198) — unrelated to this change. Note: rescue's peripheral onward-links (Open log → A5, request remote support → dashboard) point at surfaces that are themselves unwired here; they are not part of the ceremony chain and are left for the slice that wires their transport. Advances #183 Phase A (rescue reachable).
ben closed this issue 2026-07-30 23:36:35 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#212
No description provided.