shell: overview-first-run — the guided first-run Overview (DOx) #46

Closed
opened 2026-07-25 04:55:42 +00:00 by ben · 1 comment
Owner

Parent

Feature spec: #22 (shell).

What to build

The state Overview rests in the moment founding hands off — the fleet is the gateway alone, nothing provisioned, nobody invited. Rather than an empty screen, Overview renders DOx (docs/ux/wireframes/shell/shell-dox-overview-first-run.html): a first-class guided state showing the gateway standing (name, GATEWAY role, healthy — founding's hand-off ruling, ticket #9) and three guided next steps — add a device, choose services, invite members (DDR 0095). Choosing a next step begins the owning feature's journey: add a device (DOx → P2-S1), provision a service (DOx → P4-S1), invite a member (DOx → P6-S1).

Overview leaves first-run once the community actually starts: when the fleet gains a second node or a provisioned service (whichever comes first), it exits DOx and rests at the steady DO composition, so the guided state doesn't linger after the operator has begun.

Note: founding's hand-off lands here as a runtime seed, not a build edge (slice-map 2026-07-25) — this slice is buildable against faked fleet/provisioning state.

Acceptance criteria

  • (story 17) Given the fleet is the gateway alone with nothing provisioned and nobody invited (founding's hand-off, P1's exit), When Overview renders, Then it is DOx: a first-class guided state showing the gateway standing (name, GATEWAY role, healthy) and three guided next steps — add a device, choose services, invite members — not an empty screen.
  • (story 17) Given DOx, When I choose a next step, Then the owning feature's journey begins (edge DOx → P2-S1 add device / DOx → P4-S1 provision a service / DOx → P6-S1 invite a member).
  • (story 18) Given DOx, When the fleet gains a second node or a provisioned service (whichever comes first), Then Overview leaves first-run and rests at the steady DO composition.

Blocked by

  • #34 — first-run is a state of Overview

Task manifest

task: shell:overview-first-run
implements_flow: shell
implements_edge: DO→DOx, DOx→P2-S1, DOx→P4-S1, DOx→P6-S1
wireframe: docs/ux/wireframes/shell/shell-dox-overview-first-run.html
interface: the DOx first-run guided state on Overview — the gateway standing plus three guided next steps (add device / choose services / invite members) routing into their owners, and the exit condition (fleet gains a second node OR a provisioned service, whichever first)
seam: Overview first-run component tests — faked fleet/provisioning state; asserts the guided state (never empty), guided-step routing, and the exit-to-DO condition
acceptance:
  - given: the fleet is the gateway alone, nothing provisioned, nobody invited
    when: Overview renders
    then: DOx shows the gateway standing (name, GATEWAY role, healthy) and three guided next steps, not an empty screen
  - given: DOx
    when: I choose a next step
    then: the owning feature's journey begins (add device → P2-S1, service → P4-S1, member → P6-S1)
  - given: DOx
    when: the fleet gains a second node or a provisioned service (whichever first)
    then: Overview leaves first-run and rests at the steady DO composition
depends_on: [overview-composition]
out_of_scope: [the steady-state DO composition itself (overview-composition's), the journeys DOx routes into (device-add/provisioning/members own them), founding's hand-off mechanics (founding's)]
needs_human_decision: []
## Parent Feature spec: #22 (shell). ## What to build The state Overview rests in the moment founding hands off — the fleet is the gateway alone, nothing provisioned, nobody invited. Rather than an empty screen, Overview renders **DOx** (`docs/ux/wireframes/shell/shell-dox-overview-first-run.html`): a first-class guided state showing the gateway standing (name, GATEWAY role, healthy — founding's hand-off ruling, ticket #9) and three guided next steps — add a device, choose services, invite members (DDR 0095). Choosing a next step begins the owning feature's journey: add a device (DOx → P2-S1), provision a service (DOx → P4-S1), invite a member (DOx → P6-S1). Overview leaves first-run once the community actually starts: when the fleet gains a second node **or** a provisioned service (whichever comes first), it exits DOx and rests at the steady DO composition, so the guided state doesn't linger after the operator has begun. Note: founding's hand-off lands here as a runtime seed, not a build edge (slice-map 2026-07-25) — this slice is buildable against faked fleet/provisioning state. ## Acceptance criteria - [ ] (story 17) Given the fleet is the gateway alone with nothing provisioned and nobody invited (founding's hand-off, P1's exit), When Overview renders, Then it is DOx: a first-class guided state showing the gateway standing (name, GATEWAY role, healthy) and three guided next steps — add a device, choose services, invite members — not an empty screen. - [ ] (story 17) Given DOx, When I choose a next step, Then the owning feature's journey begins (edge DOx → P2-S1 add device / DOx → P4-S1 provision a service / DOx → P6-S1 invite a member). - [ ] (story 18) Given DOx, When the fleet gains a second node **or** a provisioned service (whichever comes first), Then Overview leaves first-run and rests at the steady DO composition. ## Blocked by - #34 — first-run is a state of Overview ## Task manifest ```yaml task: shell:overview-first-run implements_flow: shell implements_edge: DO→DOx, DOx→P2-S1, DOx→P4-S1, DOx→P6-S1 wireframe: docs/ux/wireframes/shell/shell-dox-overview-first-run.html interface: the DOx first-run guided state on Overview — the gateway standing plus three guided next steps (add device / choose services / invite members) routing into their owners, and the exit condition (fleet gains a second node OR a provisioned service, whichever first) seam: Overview first-run component tests — faked fleet/provisioning state; asserts the guided state (never empty), guided-step routing, and the exit-to-DO condition acceptance: - given: the fleet is the gateway alone, nothing provisioned, nobody invited when: Overview renders then: DOx shows the gateway standing (name, GATEWAY role, healthy) and three guided next steps, not an empty screen - given: DOx when: I choose a next step then: the owning feature's journey begins (add device → P2-S1, service → P4-S1, member → P6-S1) - given: DOx when: the fleet gains a second node or a provisioned service (whichever first) then: Overview leaves first-run and rests at the steady DO composition depends_on: [overview-composition] out_of_scope: [the steady-state DO composition itself (overview-composition's), the journeys DOx routes into (device-add/provisioning/members own them), founding's hand-off mechanics (founding's)] needs_human_decision: [] ```
Author
Owner

DONE in commit 4eca3b8 (sandcastle: shell:overview-first-run #46).

Overview now rests in one of two states of the same page: DOx while founding's hand-off state stands (the fleet is the gateway alone, nothing provisioned), else the steady DO composition (#34). DOx is a first-class guided state, never an empty screen (DDR 0095).

What shipped (dashboard/src/components/shell/):

  • New OverviewFirstRunScreen.vue (DOx) — the gateway standing as row one (name karaka, GATEWAY chip, monitoring's ● healthy verbatim — founding's hand-off ruling, ticket #9) plus three guided next steps, each leaving shell for its owner via the chrome's DrillInIntent shape (shell runs no journey): add a device → device-add (edge DOx → P2-S1), choose services → provisioning (DOx → P4-S1), invite members → members (DOx → P6-S1). Faithful to the wireframe's data-field/data-action/data-status element-ID contract.
  • New FirstRunSource + FakeFirstRunSource in src/lib/overview.ts carrying faked fleet/provisioning state (founding's hand-off is a runtime seed, not a build edge — slice-map 2026-07-25). isFirstRun is true only while the fleet is the gateway alone and nothing is provisioned, so a second node OR a provisioned service (whichever first) exits DOx to DO; inviting members alone never does (members join the gateway, no new node).
  • OverviewSurface.vue branches DOx/DO; the firstRun prop is optional (absent → rests at DO), so #34's steady-state tests are unchanged.

Acceptance — all three clauses covered by 9 new component tests in tests/unit/overviewFirstRun.test.ts: the never-empty guided state (gateway standing + three steps, DO glance absent); the three guided-step routes into their owners; and the exit-to-DO condition on second-node / provisioned-service incl. the members-alone-stays-DOx boundary.

Verify: 56 dashboard tests pass (9 new), vue-tsc + eslint clean.

Out of scope (their own slices): the steady DO composition itself, the journeys DOx routes into, and founding's hand-off mechanics.

DONE in commit `4eca3b8` (`sandcastle: shell:overview-first-run #46`). Overview now rests in **one of two states of the same page**: **DOx** while founding's hand-off state stands (the fleet is the gateway alone, nothing provisioned), else the steady **DO** composition (#34). DOx is a first-class guided state, never an empty screen (DDR 0095). **What shipped** (`dashboard/src/components/shell/`): - New `OverviewFirstRunScreen.vue` (DOx) — the **gateway standing** as row one (name `karaka`, `GATEWAY` chip, monitoring's `● healthy` verbatim — founding's hand-off ruling, ticket #9) plus **three guided next steps**, each leaving shell for its owner via the chrome's `DrillInIntent` shape (shell runs no journey): add a device → device-add (edge DOx → P2-S1), choose services → provisioning (DOx → P4-S1), invite members → members (DOx → P6-S1). Faithful to the wireframe's `data-field`/`data-action`/`data-status` element-ID contract. - New `FirstRunSource` + `FakeFirstRunSource` in `src/lib/overview.ts` carrying **faked fleet/provisioning state** (founding's hand-off is a runtime seed, not a build edge — slice-map 2026-07-25). `isFirstRun` is true only while the fleet is the gateway alone **and** nothing is provisioned, so a **second node OR a provisioned service (whichever first)** exits DOx to DO; inviting members alone never does (members join the gateway, no new node). - `OverviewSurface.vue` branches DOx/DO; the `firstRun` prop is optional (absent → rests at DO), so #34's steady-state tests are unchanged. **Acceptance** — all three clauses covered by 9 new component tests in `tests/unit/overviewFirstRun.test.ts`: the never-empty guided state (gateway standing + three steps, DO glance absent); the three guided-step routes into their owners; and the exit-to-DO condition on second-node / provisioned-service incl. the members-alone-stays-DOx boundary. **Verify:** 56 dashboard tests pass (9 new), `vue-tsc` + `eslint` clean. Out of scope (their own slices): the steady DO composition itself, the journeys DOx routes into, and founding's hand-off mechanics.
ben closed this issue 2026-07-25 09:53:41 +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.

Reference
Matou/idss#46
No description provided.