idip: the approval ceremony selects which credentials to issue #1062

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

What

On the IDIP path, when a steward approves a waiting member, the approve ceremony lets them select which credentials to issue — membership always, plus any of the community's defined credentials (#1061) — and issues them all in the one signing ceremony (one twelve-words entry), each as its own ACDC from the group AID, each gated on its witness receipt.

Ruled by Ben, 2026-08-31 (this session).

Why

  • Today IdipRosterPanel.vue Approve issues exactly the membership ACDC (StewardApproveDriver, spec #767 story 21). At a hui the steward knows on the spot that this person is on the finance komiti; making them come back to member detail for a second ceremony (and second phrase entry) is the friction DDR 0073 was built to avoid.
  • Each credential stays its own ACDC (ADR 0196) — selecting three at approval is three issuances behind one confirm, not one fat credential.

Shape (for the grill)

  1. Approve row → ceremony form gains a credential picker: membership (fixed, always on), then a checklist of the community's defined credentials with their descriptions. Empty community (no credentials defined yet) = today's form, unchanged.
  2. One phrase entry, N issuances. The driver runs membership first (the member must exist before holding anything else), then each selected credential, each awaitGroupAnchorWitnessed-gated, each recorded via the anchor/confirm verbs. Partial failure is honest: membership landed + credential X failed reads as active member, credential X not issued — retry from member detail; never a half-recorded credential (the pending-issue escrow rule, internal/keria/registry.go).
  3. Operator role is NOT selectable here. Becoming a steward is a majority rotation (ADR 0197, stewardAddRotate.ts), never an approval-time tick — the same rule as the kanidm invite never granting operator (DDR 0073). The form says nothing about operator.
  4. Approve-all (DDR 0073's hui affordance) applies the same selection to every member in the invite group, or none — no per-row picking inside a bulk approve (grill it).
  5. Roster row shows what was issued; the waiting screen (member_join_idip.go) needs no change.

What exists

  • dashboard/src/components/members/IdipRosterPanel.vue — Approve + phrase ceremony form.
  • app/src/keriweb/main.ts idssKeriStewardApprove → app/src/lib/stewardApprove.ts.
  • app/src/lib/komitiCredentials.ts (#784) — the per-credential issue driver to chain after membership.
  • internal/controlapi/idip_roster.go — anchor / confirm verbs (one SAID each; N credentials = N calls, or a batched verb — decide in the grill).

Acceptance (sharpened by /to-spec)

  • IDIP approve ceremony offers the community's defined credentials; selected ones are issued in the same ceremony with one phrase entry.
  • After approval the member's OIDC token carries committee:<slug> for each issued credential (bridge groups claim, ADR 0196) — provable at the files door (DDR 0173 landing shows the Nextcloud groups).
  • Partial failure surfaces per credential; membership standing is never blocked by a credential failure.
  • Operator/steward is not offered at approval.
  • Wireframe: P6-S4/roster approve-ceremony state (IDIP variant), a DDR.

Process

Design tier with #1061 (same grill session is fine — one interview, two tickets), then /to-spec → /to-tickets. Blocked by #1061: needs credential definitions to exist.

  • #1061 (credentials vocabulary + create-credential UX) — blocks this.
  • #1063 (research: services requiring credential presentation).
  • ADRs 0073, 0196, 0197, 0198, 0212; spec #767 story 21.
## What On the **IDIP path**, when a steward approves a waiting member, the approve ceremony lets them **select which credentials to issue** — membership always, plus any of the community's defined credentials (#1061) — and issues them all in the **one signing ceremony** (one twelve-words entry), each as its own ACDC from the group AID, each gated on its witness receipt. Ruled by Ben, 2026-08-31 (this session). ## Why - Today `IdipRosterPanel.vue` Approve issues exactly the membership ACDC (`StewardApproveDriver`, spec #767 story 21). At a hui the steward knows on the spot that this person is on the finance komiti; making them come back to member detail for a second ceremony (and second phrase entry) is the friction DDR 0073 was built to avoid. - Each credential stays its own ACDC (ADR 0196) — selecting three at approval is three issuances behind one confirm, not one fat credential. ## Shape (for the grill) 1. **Approve row → ceremony form gains a credential picker**: membership (fixed, always on), then a checklist of the community's defined credentials with their descriptions. Empty community (no credentials defined yet) = today's form, unchanged. 2. **One phrase entry, N issuances.** The driver runs membership first (the member must exist before holding anything else), then each selected credential, each `awaitGroupAnchorWitnessed`-gated, each recorded via the anchor/confirm verbs. Partial failure is honest: membership landed + credential X failed reads as *active member, credential X not issued — retry from member detail*; never a half-recorded credential (the `pending-issue` escrow rule, `internal/keria/registry.go`). 3. **Operator role is NOT selectable here.** Becoming a steward is a majority rotation (ADR 0197, `stewardAddRotate.ts`), never an approval-time tick — the same rule as the kanidm invite never granting operator (DDR 0073). The form says nothing about operator. 4. **Approve-all (DDR 0073's hui affordance)** applies the same selection to every member in the invite group, or none — no per-row picking inside a bulk approve (grill it). 5. Roster row shows what was issued; the waiting screen (`member_join_idip.go`) needs no change. ## What exists - `dashboard/src/components/members/IdipRosterPanel.vue` — Approve + phrase ceremony form. - `app/src/keriweb/main.ts` `idssKeriStewardApprove` → `app/src/lib/stewardApprove.ts`. - `app/src/lib/komitiCredentials.ts` (#784) — the per-credential issue driver to chain after membership. - `internal/controlapi/idip_roster.go` — anchor / confirm verbs (one SAID each; N credentials = N calls, or a batched verb — decide in the grill). ## Acceptance (sharpened by /to-spec) - IDIP approve ceremony offers the community's defined credentials; selected ones are issued in the same ceremony with one phrase entry. - After approval the member's OIDC token carries `committee:<slug>` for each issued credential (bridge `groups` claim, ADR 0196) — provable at the files door (DDR 0173 landing shows the Nextcloud groups). - Partial failure surfaces per credential; membership standing is never blocked by a credential failure. - Operator/steward is not offered at approval. - Wireframe: P6-S4/roster approve-ceremony state (IDIP variant), a DDR. ## Process Design tier with #1061 (same grill session is fine — one interview, two tickets), then `/to-spec` → `/to-tickets`. Blocked by #1061: needs credential definitions to exist. ## Related - #1061 (credentials vocabulary + create-credential UX) — **blocks this**. - #1063 (research: services requiring credential presentation). - ADRs 0073, 0196, 0197, 0198, 0212; spec #767 story 21.
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: the invite carries a credential preset (join-as parity) picked at mint; the approval ceremony shows it pre-ticked, editable per member; approve-all issues the preset as minted (no per-row edits in bulk); a since-retired preset entry is dropped at approve with a note; operator never offered. One ceremony, N issuances: Membership first, each receipt-gated; partial failure = active member + missing credential named, retryable from member detail. 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: **the invite carries a credential preset** (join-as parity) picked at mint; the approval ceremony shows it **pre-ticked, editable per member**; **approve-all issues the preset as minted** (no per-row edits in bulk); a since-retired preset entry is dropped at approve with a note; **operator never offered**. One ceremony, N issuances: Membership first, each receipt-gated; partial failure = active member + missing credential named, retryable from member detail. 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.
Author
Owner

Drained — closing. Invite preset + merged approve form with pre-ticked editable credentials (#1080), join ceremony upgrade (#1081), partial-issuance per DDR 0217 — driven green (#1087). Nothing left open under this parent.

Drained — closing. Invite preset + merged approve form with pre-ticked editable credentials (#1080), join ceremony upgrade (#1081), partial-issuance per DDR 0217 — driven green (#1087). Nothing left open under this parent.
ben closed this issue 2026-09-03 03:52:31 +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.

Reference
Matou/idss#1062
No description provided.