provisioning: updates-see-state-ui — the P4b-U1/U1x Updates surface at the Settings mount #106

Closed
opened 2026-07-25 12:58:31 +00:00 by ben · 1 comment
Owner

Parent

Feature spec: #17 (provisioning). Follow-up UI slice filed by design-verify 2026-07-25: #52 closed seam-only; this slice ships the owed screen(s) P4b-U1/U1x per swarm prompt rule 2b (the wireframe is the binding UI contract).

What to build

The Updates screen rendered at Settings' declared updates-mount: pending / applying / quarantined / current with channel and last-checked (U1), and the up-to-date resting state (U1x). Reads only the update seam's state API. Build to the two wireframes.

Acceptance criteria

  • Given Settings, when I open Updates, then U1 renders at the declared mount showing pending/applying/quarantined/current, the channel, and last-checked (fields per wireframe).
  • Given nothing pending, when Updates opens, then U1x renders the honest resting state.
  • Given the screen, when it renders, then all state comes from the update seam — no component-held truth.

Blocked by

  • #52 provisioning:updates-see-state — the seam.
  • #37 shell:settings — the mount.

Task manifest

task: provisioning:updates-see-state-ui
implements_flow: p4b-updates
implements_edge: "U1x→U1, U1→U1x (at the DS mount)"
wireframe: [p4b-u1-updates.html, p4b-u1x-up-to-date.html] (docs/ux/wireframes/p4b-updates/)
interface: "the Updates surface component at Settings' updates-mount over the update seam's state API"
seam: "component tests against the wireframe's data-field/data-action/data-status contract (dashboard); reads only through the closed seam's API — no local truth"
acceptance: "the UI-facing Given/When/Then clauses of the parent seam ticket, verified against the rendered screen (see Acceptance criteria above)"
depends_on: [provisioning:updates-see-state, shell:settings]
out_of_scope: [the seam behaviour itself (closed in the parent seam ticket) — this slice renders it, never reimplements it]
needs_human_decision: []
## Parent Feature spec: #17 (provisioning). Follow-up UI slice filed by design-verify 2026-07-25: #52 closed seam-only; this slice ships the owed screen(s) P4b-U1/U1x per swarm prompt rule 2b (the wireframe is the binding UI contract). ## What to build The Updates screen rendered at Settings' declared `updates-mount`: pending / applying / quarantined / current with channel and last-checked (U1), and the up-to-date resting state (U1x). Reads only the `update` seam's state API. Build to the two wireframes. ## Acceptance criteria - [ ] Given Settings, when I open Updates, then U1 renders at the declared mount showing pending/applying/quarantined/current, the channel, and last-checked (fields per wireframe). - [ ] Given nothing pending, when Updates opens, then U1x renders the honest resting state. - [ ] Given the screen, when it renders, then all state comes from the update seam — no component-held truth. ## Blocked by - #52 provisioning:updates-see-state — the seam. - #37 shell:settings — the mount. ## Task manifest ```yaml task: provisioning:updates-see-state-ui implements_flow: p4b-updates implements_edge: "U1x→U1, U1→U1x (at the DS mount)" wireframe: [p4b-u1-updates.html, p4b-u1x-up-to-date.html] (docs/ux/wireframes/p4b-updates/) interface: "the Updates surface component at Settings' updates-mount over the update seam's state API" seam: "component tests against the wireframe's data-field/data-action/data-status contract (dashboard); reads only through the closed seam's API — no local truth" acceptance: "the UI-facing Given/When/Then clauses of the parent seam ticket, verified against the rendered screen (see Acceptance criteria above)" depends_on: [provisioning:updates-see-state, shell:settings] out_of_scope: [the seam behaviour itself (closed in the parent seam ticket) — this slice renders it, never reimplements it] needs_human_decision: [] ```
Author
Owner

Done in 8cc9ea8.

Built the P4b-U1 / P4b-U1x Updates surface at Settings' declared updates-mount, rendering the one composed surface the update seam's state API returns (#52, Orchestrator.State()). Reads only through the seam — no component-held truth.

  • dashboard/src/lib/updates.ts — mirrors the seam's Surface JSON shape + the narrow UpdateStateSource port, a recording FakeUpdateStateSource, and busy/resting surface builders.
  • UpdatesSurface.vue picks U1 vs U1x from the seam's own resting verdict. UpdatesScreen.vue (U1): pending / applying-automatically (window + auto-security-on pill) / quarantined (node, check, attempts, logs, retry) / current revision + convergence (all-N vs honest N-of-M). UpToDateScreen.vue (U1x): the resting claim naming channel + revision + last-checked, then the three "what happens without you" points (DDR 0095).
  • Affordances (review-update, open-policy, open-logs, retry-quarantined, drill-in-history) emit out to their own P4b slices — this slice renders the state, never runs those journeys.

Acceptance: (1) U1 renders every section with channel + last-checked; (2) U1x renders the honest resting state when nothing pending + fleet converged; (3) all state reads through the seam. Evidence: 13 component tests in dashboard/tests/unit/updates.test.ts over FakeUpdateStateSource (busy / resting / partial-convergence / auto-security-off / foreign-fleet / every emitted affordance), against the wireframes' data-field/data-action/data-status ids; vue-tsc clean.

Exported from dashboard/src/index.ts. STATUS.md header + milestone log updated in the same commit.

Done in `8cc9ea8`. Built the P4b-U1 / P4b-U1x **Updates surface** at Settings' declared `updates-mount`, rendering the one composed surface the `update` seam's state API returns (#52, `Orchestrator.State()`). Reads only through the seam — no component-held truth. - **`dashboard/src/lib/updates.ts`** — mirrors the seam's `Surface` JSON shape + the narrow `UpdateStateSource` port, a recording `FakeUpdateStateSource`, and busy/resting surface builders. - **`UpdatesSurface.vue`** picks U1 vs U1x from the seam's own `resting` verdict. **`UpdatesScreen.vue`** (U1): pending / applying-automatically (window + `auto-security-on` pill) / quarantined (node, check, attempts, logs, retry) / current revision + convergence (all-N vs honest N-of-M). **`UpToDateScreen.vue`** (U1x): the resting claim naming channel + revision + last-checked, then the three "what happens without you" points (DDR 0095). - Affordances (review-update, open-policy, open-logs, retry-quarantined, drill-in-history) emit out to their own P4b slices — this slice renders the state, never runs those journeys. **Acceptance:** (1) U1 renders every section with channel + last-checked; (2) U1x renders the honest resting state when nothing pending + fleet converged; (3) all state reads through the seam. Evidence: **13 component tests** in `dashboard/tests/unit/updates.test.ts` over `FakeUpdateStateSource` (busy / resting / partial-convergence / auto-security-off / foreign-fleet / every emitted affordance), against the wireframes' data-field/data-action/data-status ids; vue-tsc clean. Exported from `dashboard/src/index.ts`. STATUS.md header + milestone log updated in the same commit.
ben closed this issue 2026-07-25 13:08:33 +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#106
No description provided.