idip: suspend / remove / re-admit + revoke-a-credential surface on the control panel (#785 shipped the control-plane half only) #1064

Closed
opened 2026-08-31 06:14:05 +00:00 by ben · 5 comments
Owner

What

On the IDIP path, give the control panel the three standing acts a steward performs on a member — suspend, remove, re-admit — as signed ceremonies from the Members tab, and (with #1061) revoke a single credential without touching membership.

Ruled by Ben, 2026-08-31 (this session): file the surface.

The gap

#785 (standing-suspend-remove, closed) shipped the control-plane half only: internal/keria/standing.go — Suspend / Remove / Readmit record the outcome post-receipt and fire the auth-gate deny projection. But:

  • No signing driver app-side: app/src/lib/ has stewardApprove.ts, komitiCredentials.ts, stewardAddRotate.ts — nothing that runs the membership-ACDC revocation in the steward's signify session (the keri/client.ts rails carry revoke, but no driver composes it + anchor + receipt + Standing record).
  • No control-API routes: internal/controlapi/ has no IDIP suspend / remove / readmit endpoints (idip_roster.go carries anchor / confirm / register / invites only).
  • No dashboard surface: IdipRosterPanel.vue has Mint invite + Approve; the kanidm member-detail suspend/remove (P6-S4) has no IDIP branch.

So on a live IDIP community today a steward cannot suspend or remove anyone from any UI.

Shape

  • Suspend = revoke the membership ACDC (signed in-browser, receipt-gated) → Standing.Suspend (gate kill + bridge refuses refresh). Row reads suspended.
  • Remove = same revocation + roster archive (Standing.Remove), with the honest copy that the AID and its KELs persist (RemovalPersistenceCopy) — a removal un-members, it cannot erase that the identity existed. Per-service fates (ADR 0075) as the kanidm path.
  • Re-admit = a fresh issuance with a new SAID (Standing.Readmit); TELs never un-revoke. Re-uses the approve ceremony — and with #1062, the credential picker (previously-held credentials are also fresh issuances).
  • Revoke one credential (needs #1061): revoke that committee ACDC only; membership stands; committee:<slug> leaves the groups claim at next refresh.
  • Every act: the twelve-words ceremony form the roster panel already uses; the control plane signs nothing (ADR 0198).
  • Un-suspend on IDIP is re-admit (there is no un-revoke) — the copy must say so; the kanidm "un-suspend first, then reset" rule (CONTEXT.md reset link) has no counterpart.

Acceptance

  • Suspend / remove / re-admit reachable from the IDIP roster (row actions or member detail); each a signed ceremony; the roster reflects the projected MemberStatus after receipt.
  • A suspended member's live files session dies on its next gate check and cannot refresh (ADR 0196/0074) — drive-provable on the standing IDIP community.
  • Removal shows the persistence copy; re-admission yields a new membershipSaid on the row.
  • With #1061: per-credential revoke from member detail.
  • Wireframe: P6-S4 IDIP variant (ceremony states for the three acts + revoke-credential); DDR if any ruling above is contested.

Process

Same design session as #1061/#1062 (one interview covers the IDIP Members tab as a whole), then /to-spec → /to-tickets. Implementation = app-side revocation driver + keriweb exposure + three control-API routes over keria.Standing + dashboard actions.

## What On the **IDIP path**, give the control panel the three standing acts a steward performs on a member — **suspend**, **remove**, **re-admit** — as signed ceremonies from the Members tab, and (with #1061) **revoke a single credential** without touching membership. Ruled by Ben, 2026-08-31 (this session): file the surface. ## The gap #785 (`standing-suspend-remove`, closed) shipped the **control-plane half only**: `internal/keria/standing.go` — `Suspend` / `Remove` / `Readmit` record the outcome post-receipt and fire the auth-gate deny projection. But: - **No signing driver app-side**: `app/src/lib/` has `stewardApprove.ts`, `komitiCredentials.ts`, `stewardAddRotate.ts` — nothing that runs the membership-ACDC **revocation** in the steward's signify session (the `keri/client.ts` rails carry revoke, but no driver composes it + anchor + receipt + `Standing` record). - **No control-API routes**: `internal/controlapi/` has no IDIP suspend / remove / readmit endpoints (`idip_roster.go` carries anchor / confirm / register / invites only). - **No dashboard surface**: `IdipRosterPanel.vue` has Mint invite + Approve; the kanidm member-detail suspend/remove (P6-S4) has no IDIP branch. So on a live IDIP community today a steward **cannot suspend or remove anyone** from any UI. ## Shape - **Suspend** = revoke the membership ACDC (signed in-browser, receipt-gated) → `Standing.Suspend` (gate kill + bridge refuses refresh). Row reads *suspended*. - **Remove** = same revocation + roster archive (`Standing.Remove`), with the honest copy that the AID and its KELs persist (`RemovalPersistenceCopy`) — a removal un-members, it cannot erase that the identity existed. Per-service fates (ADR 0075) as the kanidm path. - **Re-admit** = a **fresh issuance with a new SAID** (`Standing.Readmit`); TELs never un-revoke. Re-uses the approve ceremony — and with #1062, the credential picker (previously-held credentials are also fresh issuances). - **Revoke one credential** (needs #1061): revoke that committee ACDC only; membership stands; `committee:<slug>` leaves the `groups` claim at next refresh. - Every act: the twelve-words ceremony form the roster panel already uses; the control plane signs nothing (ADR 0198). - Un-suspend on IDIP **is** re-admit (there is no un-revoke) — the copy must say so; the kanidm "un-suspend first, then reset" rule (CONTEXT.md reset link) has no counterpart. ## Acceptance - Suspend / remove / re-admit reachable from the IDIP roster (row actions or member detail); each a signed ceremony; the roster reflects the projected `MemberStatus` after receipt. - A suspended member's live files session dies on its next gate check and cannot refresh (ADR 0196/0074) — drive-provable on the standing IDIP community. - Removal shows the persistence copy; re-admission yields a new `membershipSaid` on the row. - With #1061: per-credential revoke from member detail. - Wireframe: P6-S4 IDIP variant (ceremony states for the three acts + revoke-credential); DDR if any ruling above is contested. ## Process Same design session as #1061/#1062 (one interview covers the IDIP Members tab as a whole), then `/to-spec` → `/to-tickets`. Implementation = app-side revocation driver + `keriweb` exposure + three control-API routes over `keria.Standing` + dashboard actions. ## Related - #785 (control-plane half), #1061, #1062, #1065; ADRs 0074, 0075, 0196, 0198, 0212.
Author
Owner

Design tier grilled — DDR 0217 landed (66b4ac1a), both gates confirmed by Ben 2026-08-31.

Flow: docs/ux/flows/p6-members-idip.mermaid · glossary: CONTEXT.md Credential entry · research: docs/research/2026-08-31-idip-credential-attributes.md · ADR 0199 gains the kaitiaki row.

Rulings binding this ticket: suspend revokes Membership only — held credentials go dormant and wake whole on re-admit (fresh SAID, TELs never un-revoke); remove revokes every credential before archiving (removal-incomplete state lists un-revoked ones, retryable); per-credential revoke from member detail closes exactly that door at next refresh. All member-directed acts live on P6-S4i member detail; the roster keeps Approve + Mint invite. Stays needs-design; wireframed with #1061's set.

**Design tier grilled — DDR 0217 landed (`66b4ac1a`), both gates confirmed by Ben 2026-08-31.** Flow: `docs/ux/flows/p6-members-idip.mermaid` · glossary: CONTEXT.md **Credential** entry · research: `docs/research/2026-08-31-idip-credential-attributes.md` · ADR 0199 gains the kaitiaki row. Rulings binding this ticket: **suspend revokes Membership only — held credentials go dormant** and wake whole on re-admit (fresh SAID, TELs never un-revoke); **remove revokes every credential** before archiving (removal-incomplete state lists un-revoked ones, retryable); per-credential revoke from member detail closes exactly that door at next refresh. All member-directed acts live on **P6-S4i member detail**; the roster keeps Approve + Mint invite. Stays `needs-design`; wireframed with #1061's set.
Author
Owner

Wireframe set landed and Ben-confirmed (2cd3cb78) — docs/ux/wireframes/p6-members-idip/ (12 screens, README inventory updated). Review rounds applied: S1i four titled sections with the merged per-member approve form (credential picker IS the approval; Decline beside Sign-and-approve; approve-all names the invite cohort); invites tinted, credentials as cards; S3i wears the matou-app phrase ceremony (word-box grid + 3-word verify); S4i actions inside their cards; new DDR 0217 ruling 9: signing unlocks once per dashboard session (twelve words asked at the first signing act, tab memory only, explicit lock) — every ceremony draws signing-locked/signing-unlocked. needs-design dropped. Next: /to-spec over #1061/#1062/#1064/#1065 against this set.

**Wireframe set landed and Ben-confirmed (`2cd3cb78`)** — `docs/ux/wireframes/p6-members-idip/` (12 screens, README inventory updated). Review rounds applied: S1i four titled sections with the merged per-member approve form (credential picker IS the approval; Decline beside Sign-and-approve; approve-all names the invite cohort); invites tinted, credentials as cards; S3i wears the matou-app phrase ceremony (word-box grid + 3-word verify); S4i actions inside their cards; **new DDR 0217 ruling 9: signing unlocks once per dashboard session** (twelve words asked at the first signing act, tab memory only, explicit lock) — every ceremony draws signing-locked/signing-unlocked. `needs-design` dropped. Next: `/to-spec` over #1061/#1062/#1064/#1065 against this set.

This was generated by AI during triage.

Ruled by agent under ADR 0174 — veto anytime.

State: ready-for-session (category enhancement unchanged).

The call. This feature ticket has finished the design tier — DDR 0217 (66b4ac1a) and the Ben-confirmed p6-members-idip wireframe set + flow (2cd3cb78), needs-design already dropped by the filer. But it is not ready-for-agent: it is a feature-level parent whose own Acceptance says "sharpened by /to-spec", and no task manifest exists yet. The next action (stated in the ticket's own last comment) is /to-spec → slice-map → /to-tickets — the design-pipeline tail. The swarm queue (.sandcastle/list-ready-tasks.sh) reads only ready-for-agent and implements code against an existing spec via TDD; it cannot run these pipeline meta-skills. So this is session work, not swarm work and not Ben.

Why it is a two-way door. /to-spec routes one gate to the human — "you confirm the seams" (PROCESS.md Phase 2, step 4). ADR 0174 rule 1 names design-tier accepts (DDRs/wireframes/seams, the #514/#388 auto-accept precedent) as delegable two-way doors: a session may adopt and act, Ben vetoes async. Routing to ready-for-session (not ready-for-human) is itself revertible — a later relabel or the seam confirmation moves it on with no state destroyed.

What proves it. The wireframe contract now exists and is confirmed; design-verify (the pipeline's loop-closer) checks the built UI's acceptance criteria against that contract and the seam tests, so any spec/seam the session confirms is provable after the fact. Nothing here touches the one-way-door list (no credentials, no security widening, no member-facing trust accept, no data destruction, no spend).

Applying ready-for-session. Dependency edges (this arc: #1062 blocked-by #1061; #1065 soft-dep on #1064) are for slice-map/to-tickets to encode as native blockers — not a triage-state gate.

> *This was generated by AI during triage.* **Ruled by agent under ADR 0174 — veto anytime.** **State: `ready-for-session`** (category `enhancement` unchanged). **The call.** This feature ticket has finished the design tier — DDR 0217 (`66b4ac1a`) and the Ben-confirmed `p6-members-idip` wireframe set + flow (`2cd3cb78`), `needs-design` already dropped by the filer. But it is **not** `ready-for-agent`: it is a feature-level parent whose own Acceptance says "sharpened by `/to-spec`", and no task manifest exists yet. The next action (stated in the ticket's own last comment) is `/to-spec` → `slice-map` → `/to-tickets` — the design-pipeline tail. The swarm queue (`.sandcastle/list-ready-tasks.sh`) reads only `ready-for-agent` and implements code against an existing spec via TDD; it cannot run these pipeline meta-skills. So this is session work, not swarm work and not Ben. **Why it is a two-way door.** `/to-spec` routes one gate to the human — "you confirm the seams" (PROCESS.md Phase 2, step 4). ADR 0174 rule 1 names **design-tier accepts** (DDRs/wireframes/seams, the #514/#388 auto-accept precedent) as delegable two-way doors: a session may adopt and act, Ben vetoes async. Routing to `ready-for-session` (not `ready-for-human`) is itself revertible — a later relabel or the seam confirmation moves it on with no state destroyed. **What proves it.** The wireframe contract now exists and is confirmed; `design-verify` (the pipeline's loop-closer) checks the built UI's acceptance criteria against that contract and the seam tests, so any spec/seam the session confirms is provable after the fact. Nothing here touches the one-way-door list (no credentials, no security widening, no member-facing trust accept, no data destruction, no spend). Applying `ready-for-session`. Dependency edges (this arc: #1062 blocked-by #1061; #1065 soft-dep on #1064) are for `slice-map`/`to-tickets` to encode as native blockers — not a triage-state gate.

Ruled by agent under ADR 0174 — veto anytime. (session-runner on matou-workstation, 2026-08-31)

Close-report: the design-pipeline tail for this feature is complete — routing to no-triage

This ticket was queued ready-for-session for the design-pipeline tail (/to-spec → slice-map → /to-tickets). Working it, I found both steps already landed and no remaining step scoped to #1064 alone — its whole standing/revoke surface now lives in the emitted child tickets.

What is done (proof)

  • Design tier — landed & Ben-confirmed: DDR 0217 (all nine rulings, 66b4ac1a), flow docs/ux/flows/p6-members-idip.mermaid, wireframe set docs/ux/wireframes/p6-members-idip/ (12 screens incl. the P6-S4i member-detail ceremony states this ticket asked for, 2cd3cb78). needs-design already dropped by the filer. Wireframe acceptance ("P6-S4 IDIP variant") satisfied.
  • /to-spec — landed: spec #1074 (Ben, 2026-08-31) is the consolidated feature spec over #1061/#1062/#1064/#1065. It carries this ticket's standing rulings verbatim — suspend revokes Membership only (held credentials go dormant, wake whole on re-admit with a fresh SAID; TELs never un-revoke); remove revokes every credential then archives, with the removal-incomplete retry state; per-credential revoke closes exactly that door at next refresh — each as flow-sourced acceptance criteria.
  • slice-map + /to-tickets — landed: the arc is emitted as tickets #1078–#1087 with the DAG appended to docs/slices/idip.yaml (commit e18b405c), Ben-approved breakdown.

Where #1064's Acceptance now lives (traceability)

#1064 acceptance Emitted child
Suspend / re-admit — signed ceremony, roster reflects projected MemberStatus; re-admit yields a new membershipSaid #1082 (T5, credentials-suspend-readmit)
Remove — same revocation + roster archive + RemovalPersistenceCopy + removal-incomplete retry + steward guard #1083 (T6, credentials-remove-fates)
Revoke one credential from member detail (S4i), membership stands — the #1061 dependency #1079 (T2, credentials-issue-revoke-unlock)
Suspended member's live files session dies on next gate check / cannot refresh — drive-provable on the standing IDIP community #1087 (T10, credentials-drive-legs)

depends_on edges are native in idip.yaml (#1082→#1079, #1083→#1082, #1087→#1083). The three code tickets are ready-for-agent (swarm, TDD against #1074); #1087 is ready-for-session.

Why this is a two-way door

Re-running /to-spec or /to-tickets would only duplicate #1074 and #1078–#1087. Retiring this feature parent from the session queue is a revertible relabel — no state destroyed; the tracking parent stays open. This mirrors the ruling already applied to its sibling parent #1061 (same spec, same arc, routed no-triage 2026-08-31). Nothing here touches the one-way-door list.

Action

Dropping ready-for-session + agent-working, applying no-triage. Left open as the arc's tracking parent; its implementation is carried by #1079/#1082/#1083/#1084/#1087. No repo change and no STATUS.md delta — this is tracker mechanics only.

**Ruled by agent under ADR 0174 — veto anytime.** (session-runner on matou-workstation, 2026-08-31) ## Close-report: the design-pipeline tail for this feature is complete — routing to `no-triage` This ticket was queued `ready-for-session` for the design-pipeline tail (`/to-spec` → `slice-map` → `/to-tickets`). Working it, I found **both** steps already landed and **no remaining step scoped to #1064 alone** — its whole standing/revoke surface now lives in the emitted child tickets. ### What is done (proof) - **Design tier — landed & Ben-confirmed:** DDR 0217 (all nine rulings, `66b4ac1a`), flow `docs/ux/flows/p6-members-idip.mermaid`, wireframe set `docs/ux/wireframes/p6-members-idip/` (12 screens incl. the **P6-S4i member-detail** ceremony states this ticket asked for, `2cd3cb78`). `needs-design` already dropped by the filer. Wireframe acceptance ("P6-S4 IDIP variant") satisfied. - **`/to-spec` — landed:** **spec #1074** (Ben, 2026-08-31) is the consolidated feature spec over #1061/#1062/#1064/#1065. It carries this ticket's standing rulings verbatim — suspend revokes Membership only (held credentials go dormant, wake whole on re-admit with a fresh SAID; TELs never un-revoke); remove revokes every credential then archives, with the removal-incomplete retry state; per-credential revoke closes exactly that door at next refresh — each as flow-sourced acceptance criteria. - **`slice-map` + `/to-tickets` — landed:** the arc is emitted as tickets **#1078–#1087** with the DAG appended to `docs/slices/idip.yaml` (commit `e18b405c`), Ben-approved breakdown. ### Where #1064's Acceptance now lives (traceability) | #1064 acceptance | Emitted child | |---|---| | Suspend / re-admit — signed ceremony, roster reflects projected `MemberStatus`; re-admit yields a new `membershipSaid` | **#1082** (T5, `credentials-suspend-readmit`) | | Remove — same revocation + roster archive + `RemovalPersistenceCopy` + removal-incomplete retry + steward guard | **#1083** (T6, `credentials-remove-fates`) | | Revoke one credential from member detail (S4i), membership stands — the `#1061` dependency | **#1079** (T2, `credentials-issue-revoke-unlock`) | | Suspended member's live files session dies on next gate check / cannot refresh — **drive-provable on the standing IDIP community** | **#1087** (T10, `credentials-drive-legs`) | `depends_on` edges are native in `idip.yaml` (#1082→#1079, #1083→#1082, #1087→#1083). The three code tickets are `ready-for-agent` (swarm, TDD against #1074); #1087 is `ready-for-session`. ### Why this is a two-way door Re-running `/to-spec` or `/to-tickets` would only duplicate #1074 and #1078–#1087. Retiring this feature parent from the session queue is a revertible relabel — no state destroyed; the tracking parent stays **open**. This mirrors the ruling already applied to its sibling parent **#1061** (same spec, same arc, routed `no-triage` 2026-08-31). Nothing here touches the one-way-door list. ### Action Dropping `ready-for-session` + `agent-working`, applying `no-triage`. Left open as the arc's tracking parent; its implementation is carried by #1079/#1082/#1083/#1084/#1087. No repo change and no `STATUS.md` delta — this is tracker mechanics only.
Author
Owner

Drained — closing. Suspend/re-admit with dormant credentials (#1082), remove + removal-incomplete retry (#1083), revoke on member detail (#1079/#1084) — wireframed S4i/S6i, driven green (#1087). Revocation now bites per request at the front door via #1155 (ADR 0222).

Drained — closing. Suspend/re-admit with dormant credentials (#1082), remove + removal-incomplete retry (#1083), revoke on member detail (#1079/#1084) — wireframed S4i/S6i, driven green (#1087). Revocation now bites per request at the front door via #1155 (ADR 0222).
ben closed this issue 2026-09-03 03:52:36 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
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#1064
No description provided.