spec: IDIP Members credentials — the credential surface, approval presets, standing, and the steward set (#1061/#1062/#1064/#1065, DDR 0217) #1074

Closed
opened 2026-08-31 17:27:43 +00:00 by ben · 2 comments
Owner

Parent

Program map: #725 (IDIP as a core identity alternative — closed, decisions inherited). Source tickets: #1061 (credentials, not komiti), #1062 (approval issues a preset), #1064 (standing surface), #1065 (steward surface). Design contract: DDR 0217 (all nine rulings), flow docs/ux/flows/p6-members-idip.mermaid, wireframes docs/ux/wireframes/p6-members-idip/ (12 screens, Ben-confirmed 2026-08-31). Research grounding: docs/research/2026-08-31-idip-credential-attributes.md.

Problem Statement

On an IDIP community the Members tab can today only mint an invite and approve a waiting member. A steward cannot create or issue committee credentials, cannot suspend, remove or re-admit anyone, and cannot add a second steward — a live IDIP community is permanently 1-of-1, which ADR 0197 names community-ending if the founder loses phrase and device. Worse, the surface that does exist borrows kanidm's komiti/group vocabulary, hiding the actual model — independently issuable, independently revocable credentials — that self-sovereign identity is for.

Solution

The IDIP Members tab speaks credentials (DDR 0217): Membership is itself a credential; a steward creates credential definitions, issues them at approval via invite presets or singly from member/credential detail, revokes them singly, and manages standing (suspend/re-admit/remove) and the steward set (majority rotation) — every signing act a twelve-words ceremony in the steward's own browser, unlocked once per dashboard session, with the control plane recording outcomes post-receipt and signing nothing. The kanidm path is untouched.

User Stories

Roles: steward (operator on the IDIP path), member, visitor (invite holder). Screens (S*) and states reference p6-members-idip flow/wireframes.

Credentials — definitions (#1061)

  1. As a steward, I want to create a credential (name, description, optional criteria), so that my community can attest belonging and duties in its own words.
    • Given S8i, When I create "Finance", Then it appears in S1i's credentials section and S7i shows it with no holders (empty state) and its slug preview was shown before I confirmed.
    • Given a credential that has been issued at least once, When I rename it, Then only the display name changes — no held credential is re-issued and the underlying claim label is unchanged (ruling 2).
  2. As a steward, I want the credentials section to list every definition as a card — Membership first, built-in — so that what the community can issue is visible at a glance.
    • Given S1i, Then Membership shows "built-in" and offers no rename/delete; a retired credential's card reads "retired · N still holds it" (ruling 3).
  3. As a steward, I want a credential detail (S7i) with holders, per-holder revoke, issue-to-member, and the service-access matrix, so that one screen answers "who holds this and what does it open".
    • Given S7i for Finance, When I issue it to an active member, Then a signing ceremony runs and the member's row gains Finance only after the witness receipt.
    • Given a member holding Finance, When I revoke it there or on S4i, Then membership stands and the restricted door closes at their next request/refresh.
  4. As a steward, I want deleting a credential to force the choice — revoke-from-all (count named, one ceremony) or retire — so that held credentials are never silently invalidated (ruling 3).
    • Given Finance with 2 holders, When I choose revoke-all, Then both revocations run receipt-gated in one ceremony; a failure leaves the definition alive with un-revoked holders listed, retryable.
    • Given I choose retire, Then no new issuance is possible, both held credentials keep working, S7i shows the retired state with "revoke all remaining", and the definition vanishes when the last is revoked.
  5. As a steward, I want credential definitions limited to name/description/criteria with no custom fields, so that every member agent can verify against the one community schema (ruling 1; the research note's schema-SAID finding).

Invites and approval (#1062)

  1. As a steward, I want minting an invite to pick a credential preset (Membership fixed, operator never offered), so that a hui QR is one decision at mint (ruling 4).
    • Given S2i, When I mint multi-use with preset Membership+Finance, Then the link/QR is shown exactly once and S1i's invites box lists the preset.
  2. As a steward, I want the pending-approvals section grouped by invite with one merged approve form per member — the credential picker (preset pre-ticked, editable), the signing control, and Decline beside Sign-and-approve — so that approving is one act, not three rows.
    • Given Hana waiting from invite x7q2, When I open her block, Then Membership is fixed-checked, Finance pre-ticked from the preset, other definitions unticked, and a since-retired preset entry is named as dropped.
  3. As a steward, I want approve-all to sign once for everyone an invite admitted, each issued its preset as minted, so that a 40-person hui is one ceremony (ruling 4; no per-row edits in bulk).
  4. As a steward, I want approval to issue Membership first and each further credential receipt-gated, with partial failure honest — active member, missing credential named and retryable on S4i — so that standing is never blocked by a preset failure (ruling 5).
  5. As a steward, I want declining to consume the invite and archive the roster entry with no reason shown to the visitor, so that the audit log, not the member's screen, holds the why (DDR 0073).

Joining (member side)

  1. As a visitor with a live invite, I want the join page to show my twelve words in the numbered word-box grid with a regenerate option and to make me prove three of them before joining, so that my identity is safe before anything is minted (S3i; the p1-s6a ceremony).
  2. As a visitor, I want the join page to say plainly that the community never sees my words and cannot restore them, so that custody is honest from the first screen.
  3. As a visitor whose join hits a witness outage, I want the page to say the community can't witness new identities right now and that nothing was used up, so that I can simply retry (witness-down degrades JOIN, not sign-in — ADR 0198).
  4. As a visitor with a dead invite, I want one branded screen that never says whether it expired, was revoked, or was used up (S3x; DDR 0073).
  5. As a waiting member, I want S5 to show my identity as created and mine (AID short-form) with status "waiting for approval", so that I know exactly what exists and what doesn't.
  6. As a declined member, I want S5x to say I wasn't approved, that my identity is still mine, and that this community simply issued no membership credential — no reason, no retry (DDR 0073).

Standing (#1064)

  1. As a steward, I want member detail (S4i) to list credentials held with issue/revoke per credential, so that what a member is, is what they hold.
  2. As a steward, I want suspending to revoke Membership only — sessions killed at the gate, other credentials shown "held, inactive while suspended" — so that suspension is reversible pressure (ruling 6).
  • Given suspended Mere holding Finance, Then her roster row shows suspended with Finance dormant, and her live public-path session dies on its next gate check and cannot refresh.
  1. As a steward, I want re-admission to be a fresh Membership issuance (new SAID) after which dormant credentials wake whole, so that one ceremony restores full standing (ruling 6; TELs never un-revoke).
  2. As a steward, I want removal to revoke every credential in one ceremony, then walk the per-service fate list, then archive the roster entry — with the honest note that the member's identity and history persist (S6i; ADR 0075 + ADR 0198).
  3. As a steward, I want an incomplete removal to name each un-receipted revocation and each failed fate verb separately and retryably (S6x), so that nothing advances silently and standing never lies ahead of a receipt.
  4. As a steward, I want removing a steward-member refused until they are rotated out of the steward set (S6i guard), so that one steward's ceremony can never remove a controller of the community.

Stewards (#1065)

  1. As a steward, I want "Make a steward" on member detail to start a majority rotation (S9i), so that adding an operator is the deliberate, co-signed act ADR 0197 rules.
  • Given a 1-of-1 community, When the founder promotes Hana, Then the rotation lands on the founder's single signature and Hana's Membership is re-issued role: operator, the old one revoked after — never in neither group.
  1. As a co-signing steward, I want a Members-tab strip naming any pending rotation with a review-and-sign path, so that I can co-sign from my own signed-in dashboard (ruling 7).
  • Given 2 stewards and a pending add, When the second signs, Then the rotation lands, operators tracks the new set, and the new steward can approve members thereafter.
  1. As a steward, I want a pending rotation cancellable by any steward, never auto-expiring, and strictly one at a time — with the promoted member seeing nothing until it lands (ruling 7).
  2. As a steward, I want removing a steward to be the reverse rotation (re-issue role: member), refused when it would leave zero stewards.
  3. As a solo founder, I want the S1i nudge — the honest why and an add-a-steward affordance — shown while 1-of-1 and gone at two, so that the community-ending risk is never silent (ADR 0197).
  4. As a newly promoted steward, I want a standing operator key minted via rescue's ledger like the kanidm path (ADR 0089) — and while rescue's engine adapters remain unwired, I want the surface to say the key mint is pending rather than claim one exists.

Signing (cross-cutting; ruling 9)

  1. As a steward, I want the twelve words asked once per dashboard session at my first signing act ("unlock signing"), held in tab memory only, so that a hui evening is one phrase entry, not a dozen.
  • Given an unlocked session, When I open any later ceremony, Then the unlocked chip with a lock affordance shows in place of the input; Given tab close or lock, Then the next act asks again.
  1. As a community, I want every signing act to run in the steward's browser with the control plane recording AIDs/SAIDs post-receipt only (ADR 0197/0198), so that group keys never exist server-side.
  2. As a steward, I want every ceremony to name exactly what is being signed (issue X to Y, revoke Z, rotation adding W), so that unlock-once never becomes sign-blind.

Seam-truth and claims

  1. As a member holding a committee credential, I want the bridge's groups claim to gain/lose exactly committee:<slug> on issue/revoke, so that services and the auth-gate matrix keep working unchanged (ADR 0196; ruling 2).
  2. As an operator on the kanidm path, I want my Members tab byte-identical to today — komiti wording, kanidm flows, kaitiaki designation — so that this feature is IDIP-only (v1 fence).

Implementation Decisions

  • Vocabulary is DDR 0217's: credential (one word, definition and instance), Membership built-in; CONTEXT.md already carries the nouns. Wire labels (committee, committee:<slug>) are stable while copy says credential.
  • Credential definitions are roster-side unsigned runtime data on the gateway (name, immutable slug, description, criteria, retired flag), stored beside the roster in the control-plane state directory — never in the config repo, never re-rendered from Nix (ADR 0105 discipline). The signed attribute block stays exactly the shipped committee-schema shape; one schema SAID serves every definition (ruling 1).
  • The keria adapter grows: a definitions store (create/rename/retire/delete, holder counts derived from the registry); per-credential registry state alongside membership (issue/revoke receipt gates identical to membership's escrow states); the standing verbs already shipped (#785) gain their control-API routes; the dormancy projection (suspended member ⇒ held non-membership credentials read dormant on the operator surface while IsIssued stays truthful).
  • Renderer signing drivers (operator-app library, reused by the dashboard through the member-browser bundle): the shipped approve driver extended to multi-issue (Membership first, then each selected, each awaiting group-anchor witness receipt); the shipped per-committee issue/revoke driver wired; a new revocation-composition driver for suspend/remove/re-admit; the shipped add-steward rotation driver wired, plus its reverse (remove steward) honouring majority thresholds and the last-steward refusal.
  • The member-browser bundle exposes to the dashboard, beside approve: credential issue/revoke, suspend/remove/re-admit, steward add/remove/co-sign/cancel — all behind the session signing unlock (ruling 9): passcode derived once per dashboard session, tab memory only, explicit lock, no persistence of any kind.
  • Control-API gains: definitions CRUD + retire; invite preset on mint/list (preset never includes operator); anchor verbs generalised to any credential SAID; standing routes (suspend/remove/readmit) over the shipped adapter verbs; rotation state routes (pending rotation, co-signs collected, cancel) recording only AIDs/SAIDs.
  • Dashboard Members tab (IDIP branch) is rebuilt to the wireframe set: four titled sections (S1i), merged per-member approve form, invite mint with preset (S2i), member detail with credentials-held/partial/dormant states (S4i), credential cards + detail with delete-choice and retired states (S7i/S8i), removal + incomplete (S6i/S6x), pending rotation (S9i), pending-rotation strip and solo nudge. The kanidm komiti components are untouched; the branch keys on the roster answering (the shipped 404-means-kanidm probe).
  • Join page (gateway-served) gains the word-box grid, regenerate, and three-word verification before its existing boot/submit; witness-down keeps its honest degradation.
  • Invite preset semantics: preset stored on the invite; approval pre-ticks it; retired-at-approve entries dropped with a note; approve-all issues the preset as minted for the whole cohort in one unlock (per-member issuance sequencing preserved underneath).
  • Operator-key mint on promotion calls rescue's GrantOperator exactly as the kanidm path does; while the rescue engine adapters rest unwired the surface reports the pending mint honestly (fail-loud, ADR 0100 — never a fabricated key).
  • ADR 0196's bridge mapping is untouched: fixed schema SAID + slug → groups claim; role attribute → operators; membership existence → members.

Testing Decisions

Seams (confirmed at the grill's Q9 gate — reuse the three established IDIP seams, no new ones):

  1. Renderer driver seam: each driver state machine driven against a fake KERI client + fake anchor/definition ports — multi-issue ordering (Membership first), receipt gating per credential, partial-failure surfacing, rotation majority arithmetic and last-steward refusal, unlock-once behaviour (fake credential store; assert no persistence calls). Prior art: the shipped steward-approve and add-rotate unit tests.
  2. keria adapter seam (Go): definitions store lifecycle (create → issue → retire → last-revoke vanishes; rename never touches the registry), per-credential escrow states mirroring membership's (pending-issue/issued/pending-revoke/revoked; IsIssued truthful throughout), dormancy projection, standing verbs composing gate-kill + archive. Prior art: the registry escrow tests and standing tests.
  3. Control-API contract tests: routes thin over the adapter; unauthenticated/wrong-token refusals; preset round-trip on invites; rotation state recording. Prior art: the roster/anchor route tests.

Good tests assert external behaviour at these seams (states, claims, refusals, receipts) — never driver internals. Live proof is the standing IDIP community's drive growing legs: create credential → mint preset invite → join (3-word verify) → approve issues preset → files door carries committee:<slug> → revoke closes it → suspend/re-admit → add steward co-sign → remove with fate list. Green is judged by the leg list.

Out of Scope

  • Credential-gated presentation at service doors — #1063's research rules it; the matrix keeps riding the bridge's groups claim.
  • Custom/typed extra fields on credentials (ruling 1's revisit criterion), expiry, icons.
  • Any kanidm-path change; kaitiaki anywhere on IDIP (ruling 8 — the steward set is the rescue pool); the shell chrome indicator for rotations; a member-side "my credentials" view; mail (ADR 0199); wiring rescue's engine adapters (its own arc).

Further Notes

Vocabulary per CONTEXT.md (Credential, Invite, Steward entries). The wireframe set is the literal element-ID contract (data-field/data-action/data-status); design-verify checks against it. DDR 0217 records the nine rulings; ADR 0199 carries the kaitiaki row. Tickets #1061/#1062/#1064/#1065 hold the gap analysis and ruling comments; this spec supersedes their "Shape" sections where they differ.

## Parent Program map: #725 (IDIP as a core identity alternative — closed, decisions inherited). Source tickets: #1061 (credentials, not komiti), #1062 (approval issues a preset), #1064 (standing surface), #1065 (steward surface). Design contract: **DDR 0217** (all nine rulings), flow `docs/ux/flows/p6-members-idip.mermaid`, wireframes `docs/ux/wireframes/p6-members-idip/` (12 screens, Ben-confirmed 2026-08-31). Research grounding: `docs/research/2026-08-31-idip-credential-attributes.md`. ## Problem Statement On an IDIP community the Members tab can today only mint an invite and approve a waiting member. A steward cannot create or issue committee credentials, cannot suspend, remove or re-admit anyone, and cannot add a second steward — a live IDIP community is permanently 1-of-1, which ADR 0197 names community-ending if the founder loses phrase and device. Worse, the surface that does exist borrows kanidm's komiti/group vocabulary, hiding the actual model — independently issuable, independently revocable credentials — that self-sovereign identity is for. ## Solution The IDIP Members tab speaks **credentials** (DDR 0217): Membership is itself a credential; a steward creates credential definitions, issues them at approval via invite presets or singly from member/credential detail, revokes them singly, and manages standing (suspend/re-admit/remove) and the steward set (majority rotation) — every signing act a twelve-words ceremony in the steward's own browser, unlocked once per dashboard session, with the control plane recording outcomes post-receipt and signing nothing. The kanidm path is untouched. ## User Stories Roles: **steward** (operator on the IDIP path), **member**, **visitor** (invite holder). Screens (S*) and states reference `p6-members-idip` flow/wireframes. ### Credentials — definitions (#1061) 1. As a steward, I want to create a credential (name, description, optional criteria), so that my community can attest belonging and duties in its own words. - Given S8i, When I create "Finance", Then it appears in S1i's credentials section and S7i shows it with no holders (empty state) and its slug preview was shown before I confirmed. - Given a credential that has been issued at least once, When I rename it, Then only the display name changes — no held credential is re-issued and the underlying claim label is unchanged (ruling 2). 2. As a steward, I want the credentials section to list every definition as a card — Membership first, built-in — so that what the community can issue is visible at a glance. - Given S1i, Then Membership shows "built-in" and offers no rename/delete; a retired credential's card reads "retired · N still holds it" (ruling 3). 3. As a steward, I want a credential detail (S7i) with holders, per-holder revoke, issue-to-member, and the service-access matrix, so that one screen answers "who holds this and what does it open". - Given S7i for Finance, When I issue it to an active member, Then a signing ceremony runs and the member's row gains Finance only after the witness receipt. - Given a member holding Finance, When I revoke it there or on S4i, Then membership stands and the restricted door closes at their next request/refresh. 4. As a steward, I want deleting a credential to force the choice — revoke-from-all (count named, one ceremony) or retire — so that held credentials are never silently invalidated (ruling 3). - Given Finance with 2 holders, When I choose revoke-all, Then both revocations run receipt-gated in one ceremony; a failure leaves the definition alive with un-revoked holders listed, retryable. - Given I choose retire, Then no new issuance is possible, both held credentials keep working, S7i shows the retired state with "revoke all remaining", and the definition vanishes when the last is revoked. 5. As a steward, I want credential definitions limited to name/description/criteria with no custom fields, so that every member agent can verify against the one community schema (ruling 1; the research note's schema-SAID finding). ### Invites and approval (#1062) 6. As a steward, I want minting an invite to pick a credential preset (Membership fixed, operator never offered), so that a hui QR is one decision at mint (ruling 4). - Given S2i, When I mint multi-use with preset Membership+Finance, Then the link/QR is shown exactly once and S1i's invites box lists the preset. 7. As a steward, I want the pending-approvals section grouped by invite with one merged approve form per member — the credential picker (preset pre-ticked, editable), the signing control, and Decline beside Sign-and-approve — so that approving is one act, not three rows. - Given Hana waiting from invite x7q2, When I open her block, Then Membership is fixed-checked, Finance pre-ticked from the preset, other definitions unticked, and a since-retired preset entry is named as dropped. 8. As a steward, I want approve-all to sign once for everyone an invite admitted, each issued its preset as minted, so that a 40-person hui is one ceremony (ruling 4; no per-row edits in bulk). 9. As a steward, I want approval to issue Membership first and each further credential receipt-gated, with partial failure honest — active member, missing credential named and retryable on S4i — so that standing is never blocked by a preset failure (ruling 5). 10. As a steward, I want declining to consume the invite and archive the roster entry with no reason shown to the visitor, so that the audit log, not the member's screen, holds the why (DDR 0073). ### Joining (member side) 11. As a visitor with a live invite, I want the join page to show my twelve words in the numbered word-box grid with a regenerate option and to make me prove three of them before joining, so that my identity is safe before anything is minted (S3i; the p1-s6a ceremony). 12. As a visitor, I want the join page to say plainly that the community never sees my words and cannot restore them, so that custody is honest from the first screen. 13. As a visitor whose join hits a witness outage, I want the page to say the community can't witness new identities right now and that nothing was used up, so that I can simply retry (witness-down degrades JOIN, not sign-in — ADR 0198). 14. As a visitor with a dead invite, I want one branded screen that never says whether it expired, was revoked, or was used up (S3x; DDR 0073). 15. As a waiting member, I want S5 to show my identity as created and mine (AID short-form) with status "waiting for approval", so that I know exactly what exists and what doesn't. 16. As a declined member, I want S5x to say I wasn't approved, that my identity is still mine, and that this community simply issued no membership credential — no reason, no retry (DDR 0073). ### Standing (#1064) 17. As a steward, I want member detail (S4i) to list credentials held with issue/revoke per credential, so that what a member is, is what they hold. 18. As a steward, I want suspending to revoke Membership only — sessions killed at the gate, other credentials shown "held, inactive while suspended" — so that suspension is reversible pressure (ruling 6). - Given suspended Mere holding Finance, Then her roster row shows suspended with Finance dormant, and her live public-path session dies on its next gate check and cannot refresh. 19. As a steward, I want re-admission to be a fresh Membership issuance (new SAID) after which dormant credentials wake whole, so that one ceremony restores full standing (ruling 6; TELs never un-revoke). 20. As a steward, I want removal to revoke every credential in one ceremony, then walk the per-service fate list, then archive the roster entry — with the honest note that the member's identity and history persist (S6i; ADR 0075 + ADR 0198). 21. As a steward, I want an incomplete removal to name each un-receipted revocation and each failed fate verb separately and retryably (S6x), so that nothing advances silently and standing never lies ahead of a receipt. 22. As a steward, I want removing a steward-member refused until they are rotated out of the steward set (S6i guard), so that one steward's ceremony can never remove a controller of the community. ### Stewards (#1065) 23. As a steward, I want "Make a steward" on member detail to start a majority rotation (S9i), so that adding an operator is the deliberate, co-signed act ADR 0197 rules. - Given a 1-of-1 community, When the founder promotes Hana, Then the rotation lands on the founder's single signature and Hana's Membership is re-issued role: operator, the old one revoked after — never in neither group. 24. As a co-signing steward, I want a Members-tab strip naming any pending rotation with a review-and-sign path, so that I can co-sign from my own signed-in dashboard (ruling 7). - Given 2 stewards and a pending add, When the second signs, Then the rotation lands, operators tracks the new set, and the new steward can approve members thereafter. 25. As a steward, I want a pending rotation cancellable by any steward, never auto-expiring, and strictly one at a time — with the promoted member seeing nothing until it lands (ruling 7). 26. As a steward, I want removing a steward to be the reverse rotation (re-issue role: member), refused when it would leave zero stewards. 27. As a solo founder, I want the S1i nudge — the honest why and an add-a-steward affordance — shown while 1-of-1 and gone at two, so that the community-ending risk is never silent (ADR 0197). 28. As a newly promoted steward, I want a standing operator key minted via rescue's ledger like the kanidm path (ADR 0089) — and while rescue's engine adapters remain unwired, I want the surface to say the key mint is pending rather than claim one exists. ### Signing (cross-cutting; ruling 9) 29. As a steward, I want the twelve words asked once per dashboard session at my first signing act ("unlock signing"), held in tab memory only, so that a hui evening is one phrase entry, not a dozen. - Given an unlocked session, When I open any later ceremony, Then the unlocked chip with a lock affordance shows in place of the input; Given tab close or lock, Then the next act asks again. 30. As a community, I want every signing act to run in the steward's browser with the control plane recording AIDs/SAIDs post-receipt only (ADR 0197/0198), so that group keys never exist server-side. 31. As a steward, I want every ceremony to name exactly what is being signed (issue X to Y, revoke Z, rotation adding W), so that unlock-once never becomes sign-blind. ### Seam-truth and claims 32. As a member holding a committee credential, I want the bridge's groups claim to gain/lose exactly `committee:<slug>` on issue/revoke, so that services and the auth-gate matrix keep working unchanged (ADR 0196; ruling 2). 33. As an operator on the kanidm path, I want my Members tab byte-identical to today — komiti wording, kanidm flows, kaitiaki designation — so that this feature is IDIP-only (v1 fence). ## Implementation Decisions - **Vocabulary** is DDR 0217's: credential (one word, definition and instance), Membership built-in; CONTEXT.md already carries the nouns. Wire labels (`committee`, `committee:<slug>`) are stable while copy says credential. - **Credential definitions** are roster-side unsigned runtime data on the gateway (name, immutable slug, description, criteria, retired flag), stored beside the roster in the control-plane state directory — never in the config repo, never re-rendered from Nix (ADR 0105 discipline). The signed attribute block stays exactly the shipped committee-schema shape; one schema SAID serves every definition (ruling 1). - **The keria adapter** grows: a definitions store (create/rename/retire/delete, holder counts derived from the registry); per-credential registry state alongside membership (issue/revoke receipt gates identical to membership's escrow states); the standing verbs already shipped (#785) gain their control-API routes; the dormancy projection (suspended member ⇒ held non-membership credentials read dormant on the operator surface while `IsIssued` stays truthful). - **Renderer signing drivers** (operator-app library, reused by the dashboard through the member-browser bundle): the shipped approve driver extended to multi-issue (Membership first, then each selected, each awaiting group-anchor witness receipt); the shipped per-committee issue/revoke driver wired; a new revocation-composition driver for suspend/remove/re-admit; the shipped add-steward rotation driver wired, plus its reverse (remove steward) honouring majority thresholds and the last-steward refusal. - **The member-browser bundle** exposes to the dashboard, beside approve: credential issue/revoke, suspend/remove/re-admit, steward add/remove/co-sign/cancel — all behind the **session signing unlock** (ruling 9): passcode derived once per dashboard session, tab memory only, explicit lock, no persistence of any kind. - **Control-API** gains: definitions CRUD + retire; invite preset on mint/list (preset never includes operator); anchor verbs generalised to any credential SAID; standing routes (suspend/remove/readmit) over the shipped adapter verbs; rotation state routes (pending rotation, co-signs collected, cancel) recording only AIDs/SAIDs. - **Dashboard Members tab (IDIP branch)** is rebuilt to the wireframe set: four titled sections (S1i), merged per-member approve form, invite mint with preset (S2i), member detail with credentials-held/partial/dormant states (S4i), credential cards + detail with delete-choice and retired states (S7i/S8i), removal + incomplete (S6i/S6x), pending rotation (S9i), pending-rotation strip and solo nudge. The kanidm komiti components are untouched; the branch keys on the roster answering (the shipped 404-means-kanidm probe). - **Join page** (gateway-served) gains the word-box grid, regenerate, and three-word verification before its existing boot/submit; witness-down keeps its honest degradation. - **Invite preset semantics**: preset stored on the invite; approval pre-ticks it; retired-at-approve entries dropped with a note; approve-all issues the preset as minted for the whole cohort in one unlock (per-member issuance sequencing preserved underneath). - **Operator-key mint on promotion** calls rescue's GrantOperator exactly as the kanidm path does; while the rescue engine adapters rest unwired the surface reports the pending mint honestly (fail-loud, ADR 0100 — never a fabricated key). - **ADR 0196's bridge mapping is untouched**: fixed schema SAID + slug → groups claim; role attribute → operators; membership existence → members. ## Testing Decisions Seams (confirmed at the grill's Q9 gate — reuse the three established IDIP seams, no new ones): 1. **Renderer driver seam**: each driver state machine driven against a fake KERI client + fake anchor/definition ports — multi-issue ordering (Membership first), receipt gating per credential, partial-failure surfacing, rotation majority arithmetic and last-steward refusal, unlock-once behaviour (fake credential store; assert no persistence calls). Prior art: the shipped steward-approve and add-rotate unit tests. 2. **keria adapter seam** (Go): definitions store lifecycle (create → issue → retire → last-revoke vanishes; rename never touches the registry), per-credential escrow states mirroring membership's (pending-issue/issued/pending-revoke/revoked; IsIssued truthful throughout), dormancy projection, standing verbs composing gate-kill + archive. Prior art: the registry escrow tests and standing tests. 3. **Control-API contract tests**: routes thin over the adapter; unauthenticated/wrong-token refusals; preset round-trip on invites; rotation state recording. Prior art: the roster/anchor route tests. Good tests assert external behaviour at these seams (states, claims, refusals, receipts) — never driver internals. **Live proof** is the standing IDIP community's drive growing legs: create credential → mint preset invite → join (3-word verify) → approve issues preset → files door carries `committee:<slug>` → revoke closes it → suspend/re-admit → add steward co-sign → remove with fate list. Green is judged by the leg list. ## Out of Scope - Credential-gated **presentation** at service doors — #1063's research rules it; the matrix keeps riding the bridge's groups claim. - Custom/typed extra fields on credentials (ruling 1's revisit criterion), expiry, icons. - Any kanidm-path change; kaitiaki anywhere on IDIP (ruling 8 — the steward set is the rescue pool); the shell chrome indicator for rotations; a member-side "my credentials" view; mail (ADR 0199); wiring rescue's engine adapters (its own arc). ## Further Notes Vocabulary per CONTEXT.md (Credential, Invite, Steward entries). The wireframe set is the literal element-ID contract (`data-field`/`data-action`/`data-status`); design-verify checks against it. DDR 0217 records the nine rulings; ADR 0199 carries the kaitiaki row. Tickets #1061/#1062/#1064/#1065 hold the gap analysis and ruling comments; this spec supersedes their "Shape" sections where they differ.
Author
Owner

/to-tickets emitted (Ben approved the breakdown 2026-08-31):

  • T1 #1078 — credential definitions: store, cards, create (S8i), detail skeleton (S7i)
  • T2 #1079 — issue & revoke one credential + the session signing unlock (S7i/S4i) (blocked by #1078)
  • T3 #1080 — invite preset + merged approve form + multi-issue (S2i, S1i) (blocked by #1078, #1079)
  • T4 #1081 — join ceremony upgrade: word-box grid + three-word verify (S3i)
  • T5 #1082 — standing I: suspend / re-admit with dormant credentials (S4i) (blocked by #1079)
  • T6 #1083 — standing II: remove + removal-incomplete + steward guard (S6i/S6x) (blocked by #1082)
  • T7 #1084 — delete choice: revoke-from-all or retire (S7i states) (blocked by #1078, #1079)
  • T8 #1085 — add a steward: majority rotation, co-sign strip, solo nudge (S9i) (blocked by #1079)
  • T9 #1086 — remove a steward: reverse rotation + last-steward refusal (blocked by #1085)
  • T10 #1087 — live drive legs on the standing IDIP community (blocked by #1080, #1081, #1083, #1084, #1086)

All ready-for-agent except T10 (ready-for-session, workstation-pinned). Native dependencies carry the DAG; manifests inline per ticket.

**/to-tickets emitted (Ben approved the breakdown 2026-08-31):** - T1 #1078 — credential definitions: store, cards, create (S8i), detail skeleton (S7i) - T2 #1079 — issue & revoke one credential + the session signing unlock (S7i/S4i) (blocked by #1078) - T3 #1080 — invite preset + merged approve form + multi-issue (S2i, S1i) (blocked by #1078, #1079) - T4 #1081 — join ceremony upgrade: word-box grid + three-word verify (S3i) - T5 #1082 — standing I: suspend / re-admit with dormant credentials (S4i) (blocked by #1079) - T6 #1083 — standing II: remove + removal-incomplete + steward guard (S6i/S6x) (blocked by #1082) - T7 #1084 — delete choice: revoke-from-all or retire (S7i states) (blocked by #1078, #1079) - T8 #1085 — add a steward: majority rotation, co-sign strip, solo nudge (S9i) (blocked by #1079) - T9 #1086 — remove a steward: reverse rotation + last-steward refusal (blocked by #1085) - T10 #1087 — live drive legs on the standing IDIP community (blocked by #1080, #1081, #1083, #1084, #1086) All `ready-for-agent` except T10 (`ready-for-session`, workstation-pinned). Native dependencies carry the DAG; manifests inline per ticket.
Author
Owner

Spec drained — closing (specs never auto-close after /to-tickets). All tickets #1078–#1088 closed, drive #1087 GREEN, and the deferred service-access question resolved: #1063 → ADR 0222 → #1155/#1104/#1156 all landed. The IDIP Members credentials feature is complete end to end.

Spec drained — closing (specs never auto-close after /to-tickets). All tickets #1078–#1088 closed, drive #1087 GREEN, and the deferred service-access question resolved: #1063 → ADR 0222 → #1155/#1104/#1156 all landed. The IDIP Members credentials feature is complete end to end.
ben closed this issue 2026-09-03 03:52:42 +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.

Dependencies

No dependencies set.

Reference
Matou/idss#1074
No description provided.