members: removal-ui — the P6-S6 removal confirm and S6x removal-incomplete #103

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

Parent

Feature spec: #19 (members). Follow-up UI slice filed by design-verify 2026-07-25: #81 closed seam-only; this slice ships the owed screen(s) P6-S6/S6x per swarm prompt rule 2b (the wireframe is the binding UI contract).

What to build

The removal journey's screens: S6's confirm with the honest per-service fate list (reassign/archive per port, v1 never deletes), and S6x removal-incomplete — named failed fates, retryable, never silent. Build to the two wireframes.

Acceptance criteria

  • Given S4, when I choose Remove, then S6 lists each service's declared fate honestly before I confirm (fields per wireframe).
  • Given a failed fate verb, when removal partially completes, then S6x names what completed and what did not, with retry.
  • Given retry succeeds, when the fates all land, then the flow returns to S1 with the member removed.

Blocked by

  • #81 members:removal-fates — the seam.
  • #102 — S4→S6 navigation.

Task manifest

task: members:removal-ui
implements_flow: p6-members
implements_edge: "S4→S6, S6→S1, S6→S6x, S6x→S1"
wireframe: [p6-s6-remove-member.html, p6-s6x-removal-incomplete.html] (docs/ux/wireframes/p6-members/)
interface: "the S6/S6x screens over the member seam's removal 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: [members:removal-fates, members:member-detail-ui]
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: #19 (members). Follow-up UI slice filed by design-verify 2026-07-25: #81 closed seam-only; this slice ships the owed screen(s) P6-S6/S6x per swarm prompt rule 2b (the wireframe is the binding UI contract). ## What to build The removal journey's screens: S6's confirm with the honest per-service fate list (reassign/archive per port, v1 never deletes), and S6x removal-incomplete — named failed fates, retryable, never silent. Build to the two wireframes. ## Acceptance criteria - [ ] Given S4, when I choose Remove, then S6 lists each service's declared fate honestly before I confirm (fields per wireframe). - [ ] Given a failed fate verb, when removal partially completes, then S6x names what completed and what did not, with retry. - [ ] Given retry succeeds, when the fates all land, then the flow returns to S1 with the member removed. ## Blocked by - #81 members:removal-fates — the seam. - #102 — S4→S6 navigation. ## Task manifest ```yaml task: members:removal-ui implements_flow: p6-members implements_edge: "S4→S6, S6→S1, S6→S6x, S6x→S1" wireframe: [p6-s6-remove-member.html, p6-s6x-removal-incomplete.html] (docs/ux/wireframes/p6-members/) interface: "the S6/S6x screens over the member seam's removal 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: [members:removal-fates, members:member-detail-ui] 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 — the P6-S6 removal confirm and P6-S6x removal-incomplete now render over the closed removal seam (#81), commit a2f896e (sandcastle: members:removal-ui #103).

What shipped

  • dashboard/src/lib/removal.ts — the browser-side contract mirroring the seam's RemovalPlan/RemovalView/FateOutcome JSON shapes (internal/member/removal.go), plus FakeRemovalClient mirroring the Go orchestrator's observable behaviour (recipients validated before any access move, the ADR 0074 move-set first, per-service fail/heal hooks for the ADR 0061 partial-failure paths).
  • dashboard/src/components/members/RemovalScreen.vue — S6: the honest per-service fate list (ADR 0075) with the seam's fate labels verbatim, an active-candidates-only reassign picker, the never-delete + access-ends-first notes as seam copy, and the advice-not-veto share-holder warning only when the seam sends one; S6x: done/failed per service with the failure named in the seam's own words, retry rerunning only the not-yet-done verbs, a failed service's logs door forwarding out to monitoring.
  • MembersSurface composes the journey behind an optional removal client: edges S4→S6 (the detail's Remove intent), cancel→S4, S6→S1 and S6x→S1 with a list re-read — the member gone is the seam's next answer.

Acceptance

  1. S4 → Remove → S6 lists each service's declared fate honestly before confirm, fields per wireframe ✔ (tests: the S6 confirm block)
  2. A failed fate verb → S6x names what completed and what did not, with retry ✔ (tests: S6 → S6x block)
  3. Retry succeeds → the flow returns to S1 with the member removed ✔ (tests: S6x → S1 block, incl. the whole composed S1→S4→S6→S6x→retry→S1 journey)

Evidence: 16 component tests in dashboard/tests/unit/removal.test.ts against the two wireframes' data-field/data-action/data-status contract; vue-tsc + eslint clean. STATUS.md updated in the same commit.

Done — the P6-S6 removal confirm and P6-S6x removal-incomplete now render over the closed removal seam (#81), commit `a2f896e` (`sandcastle: members:removal-ui #103`). **What shipped** - `dashboard/src/lib/removal.ts` — the browser-side contract mirroring the seam's `RemovalPlan`/`RemovalView`/`FateOutcome` JSON shapes (`internal/member/removal.go`), plus `FakeRemovalClient` mirroring the Go orchestrator's observable behaviour (recipients validated before any access move, the ADR 0074 move-set first, per-service fail/heal hooks for the ADR 0061 partial-failure paths). - `dashboard/src/components/members/RemovalScreen.vue` — S6: the honest per-service fate list (ADR 0075) with the seam's fate labels verbatim, an active-candidates-only reassign picker, the never-delete + access-ends-first notes as seam copy, and the advice-not-veto share-holder warning only when the seam sends one; S6x: done/failed per service with the failure named in the seam's own words, retry rerunning only the not-yet-done verbs, a failed service's logs door forwarding out to monitoring. - `MembersSurface` composes the journey behind an optional removal client: edges S4→S6 (the detail's Remove intent), cancel→S4, S6→S1 and S6x→S1 with a list re-read — the member gone is the seam's next answer. **Acceptance** 1. S4 → Remove → S6 lists each service's declared fate honestly before confirm, fields per wireframe ✔ (tests: the S6 confirm block) 2. A failed fate verb → S6x names what completed and what did not, with retry ✔ (tests: S6 → S6x block) 3. Retry succeeds → the flow returns to S1 with the member removed ✔ (tests: S6x → S1 block, incl. the whole composed S1→S4→S6→S6x→retry→S1 journey) **Evidence**: 16 component tests in `dashboard/tests/unit/removal.test.ts` against the two wireframes' data-field/data-action/data-status contract; vue-tsc + eslint clean. STATUS.md updated in the same commit.
ben closed this issue 2026-07-25 15:04:43 +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#103
No description provided.