idip-credentials: T5 — standing I: suspend / re-admit with dormant credentials (S4i) #1082

Closed
opened 2026-08-31 18:33:41 +00:00 by ben · 2 comments
Owner

Parent

Spec #1074 (IDIP Members credentials; DDR 0217). Source ticket #1064.

What to build

Suspend revokes Membership only — sessions die at the gate now, other held credentials show 'held, inactive while suspended' and open nothing; re-admit is a fresh Membership issuance (new SAID) after which dormant credentials wake whole (DDR 0217 ruling 6). The shipped adapter standing verbs gain their control-API routes and a membership-revocation signing driver; the roster row shows suspended + dormant chips.

Acceptance criteria

  • Suspend: one ceremony revokes Membership (receipt-gated); gate deny projection fires; the bridge refuses new tokens and refreshes
  • S4i suspended variant: dormant chips on held credentials; re-admit replaces suspend; copy states fresh-issuance mechanics (TELs never un-revoke)
  • Re-admit: fresh SAID; previously held credentials immediately effective again (claim reappears) with no re-issuance of them
  • Dormancy is a projection — the registry state of non-membership credentials is untouched by suspend (adapter seam)
  • Roster row: suspended pill + dormant chip (S1i contract)

Blocked by

Task manifest

task: idip-credentials-suspend-readmit
implements_flow: p6-members-idip
implements_edge: "S4i suspend / re-admit self-edges"
wireframe: docs/ux/wireframes/p6-members-idip/p6-s4i-member-detail.html (suspended-variant)
seam: revocation driver seam + adapter standing/dormancy projection tests + standing routes contract tests
depends_on: [idip-credentials:T2]
out_of_scope: [credential-gated presentation (#1063), custom fields, kanidm-path changes, rescue engine adapters]
needs_human_decision: []
## Parent Spec #1074 (IDIP Members credentials; DDR 0217). Source ticket #1064. ## What to build Suspend revokes Membership only — sessions die at the gate now, other held credentials show 'held, inactive while suspended' and open nothing; re-admit is a fresh Membership issuance (new SAID) after which dormant credentials wake whole (DDR 0217 ruling 6). The shipped adapter standing verbs gain their control-API routes and a membership-revocation signing driver; the roster row shows suspended + dormant chips. ## Acceptance criteria - [ ] Suspend: one ceremony revokes Membership (receipt-gated); gate deny projection fires; the bridge refuses new tokens and refreshes - [ ] S4i suspended variant: dormant chips on held credentials; re-admit replaces suspend; copy states fresh-issuance mechanics (TELs never un-revoke) - [ ] Re-admit: fresh SAID; previously held credentials immediately effective again (claim reappears) with no re-issuance of them - [ ] Dormancy is a projection — the registry state of non-membership credentials is untouched by suspend (adapter seam) - [ ] Roster row: suspended pill + dormant chip (S1i contract) ## Blocked by - #1079 (T2) ## Task manifest ```yaml task: idip-credentials-suspend-readmit implements_flow: p6-members-idip implements_edge: "S4i suspend / re-admit self-edges" wireframe: docs/ux/wireframes/p6-members-idip/p6-s4i-member-detail.html (suspended-variant) seam: revocation driver seam + adapter standing/dormancy projection tests + standing routes contract tests depends_on: [idip-credentials:T2] out_of_scope: [credential-gated presentation (#1063), custom fields, kanidm-path changes, rescue engine adapters] needs_human_decision: [] ```

swarm-claim host=matou-dev-server-01 run=15321
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=15321 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #1082 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1082,
  "status": "success",
  "commits": [
    "f51ab233"
  ],
  "changed_files": [
    "STATUS.md",
    "app/src/keriweb/main.ts",
    "app/src/lib/membershipStanding.ts",
    "app/tests/unit/membershipStanding.test.ts",
    "control-plane/cmd/control-plane/main.go",
    "dashboard/src/components/members/IdipMemberCredentials.vue",
    "dashboard/src/components/members/IdipRosterPanel.vue",
    "dashboard/src/lib/api/generated.ts",
    "dashboard/src/lib/api/idipCredentialsClient.ts",
    "dashboard/src/lib/idip.ts",
    "dashboard/src/lib/idipCredentials.ts",
    "dashboard/tests/unit/credentialsSurface.test.ts",
    "dashboard/tests/unit/idipMemberCredentials.test.ts",
    "dashboard/tests/unit/idipRosterPanel.test.ts",
    "internal/controlapi/idip_standing.go",
    "internal/controlapi/idip_standing_test.go",
    "internal/keria/adapter.go",
    "internal/keria/dormancy_test.go",
    "internal/keria/standing.go",
    "internal/keria/view.go",
    "internal/keriawire/wire.go",
    "packages/openapi-spec/openapi.yaml"
  ],
  "tests": [
    {
      "command": "nix develop .#go-ci -c go test ./internal/keria/ ./internal/controlapi/ ./internal/idp/ ./internal/keriawire/",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci -c go build ./...",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci -c go vet ./internal/keria/ ./internal/controlapi/ ./internal/keriawire/ ./control-plane/...",
      "exit_code": 0
    },
    {
      "command": "CI=true node packages/openapi-spec/scripts/generate-client.mjs --check",
      "exit_code": 0
    },
    {
      "command": "app: npx vue-tsc -p tsconfig.json",
      "exit_code": 0
    },
    {
      "command": "dashboard: npx vue-tsc -p tsconfig.json",
      "exit_code": 0
    },
    {
      "command": "app: CI=true npx vitest run tests/unit/membershipStanding.test.ts",
      "exit_code": 0
    },
    {
      "command": "dashboard: CI=true npx vitest run (full, 1326 tests)",
      "exit_code": 0
    },
    {
      "command": "npx eslint (touched TS/Vue files)",
      "exit_code": 0
    }
  ],
  "criteria": {
    "Suspend: one ceremony revokes Membership (receipt-gated); gate deny projection fires; the bridge refuses new tokens and refreshes": "keria.Standing.Suspend (internal/keria/standing.go) fires gate.Deny then AnchorRevocation+ConfirmReceipt of the membership SAID so IsIssued reads false; POST /idip/members/{aid}/suspend records it (internal/controlapi/idip_standing.go); the browser signing is MembershipRevokeDriver (app/src/lib/membershipStanding.ts, membershipStanding.test.ts) revoking EXACTLY the membership ACDC witness-receipt-gated; production keria.MemoryGate wired at composition root (control-plane main.go)",
    "S4i suspended variant: dormant chips on held credentials; re-admit replaces suspend; copy states fresh-issuance mechanics (TELs never un-revoke)": "IdipMemberCredentials.vue suspended-variant block (data-status=suspended-variant, credentials-dormant chips, readmit-note stating 'fresh Membership ... revoked forever', data-action=readmit); the suspend card only shows for active, re-admit only for suspended; proven by idipMemberCredentials.test.ts",
    "Re-admit: fresh SAID; previously held credentials immediately effective again (claim reappears) with no re-issuance of them": "keria.Standing.Readmit anchors a NEW membership SAID (old stays revoked) and TestDormancy_ReadmitWakesCredentialsWholeNoReissue proves the held credential wakes with the SAME SAID, still issued, dormant cleared; POST /idip/members/{aid}/readmit {said}; the browser reuses the approve issuance driver (app/src/keriweb/main.ts idssKeriStewardReadmit)",
    "Dormancy is a projection — the registry state of non-membership credentials is untouched by suspend (adapter seam)": "DefinitionAdapter.Held (internal/keria/adapter.go) sets HeldCredentialView.Dormant from the member's suspended standing while State stays issued; TestDormancy_SuspendProjectsDormantLeavesRegistryUntouched asserts reg.HeldCredentials is byte-for-byte unchanged after suspend",
    "Roster row: suspended pill + dormant chip (S1i contract)": "MemberView.Dormant (internal/keria/view.go hasDormantCredentials) true when suspended + holding >= 1 live credential; IdipRosterPanel.vue renders the suspended pill (data-field=idip-member-status) + credentials-dormant chip; proven by idipRosterPanel.test.ts"
  },
  "summary": "IDIP member suspend revokes Membership alone (held credentials projected dormant, registry untouched) and re-admit issues a fresh Membership that wakes them whole, shipped end-to-end across the revocation driver, adapter dormancy projection, standing routes, and the S4i/S1i screens.",
  "blockers": []
}
**close-report** for #1082 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1082, "status": "success", "commits": [ "f51ab233" ], "changed_files": [ "STATUS.md", "app/src/keriweb/main.ts", "app/src/lib/membershipStanding.ts", "app/tests/unit/membershipStanding.test.ts", "control-plane/cmd/control-plane/main.go", "dashboard/src/components/members/IdipMemberCredentials.vue", "dashboard/src/components/members/IdipRosterPanel.vue", "dashboard/src/lib/api/generated.ts", "dashboard/src/lib/api/idipCredentialsClient.ts", "dashboard/src/lib/idip.ts", "dashboard/src/lib/idipCredentials.ts", "dashboard/tests/unit/credentialsSurface.test.ts", "dashboard/tests/unit/idipMemberCredentials.test.ts", "dashboard/tests/unit/idipRosterPanel.test.ts", "internal/controlapi/idip_standing.go", "internal/controlapi/idip_standing_test.go", "internal/keria/adapter.go", "internal/keria/dormancy_test.go", "internal/keria/standing.go", "internal/keria/view.go", "internal/keriawire/wire.go", "packages/openapi-spec/openapi.yaml" ], "tests": [ { "command": "nix develop .#go-ci -c go test ./internal/keria/ ./internal/controlapi/ ./internal/idp/ ./internal/keriawire/", "exit_code": 0 }, { "command": "nix develop .#go-ci -c go build ./...", "exit_code": 0 }, { "command": "nix develop .#go-ci -c go vet ./internal/keria/ ./internal/controlapi/ ./internal/keriawire/ ./control-plane/...", "exit_code": 0 }, { "command": "CI=true node packages/openapi-spec/scripts/generate-client.mjs --check", "exit_code": 0 }, { "command": "app: npx vue-tsc -p tsconfig.json", "exit_code": 0 }, { "command": "dashboard: npx vue-tsc -p tsconfig.json", "exit_code": 0 }, { "command": "app: CI=true npx vitest run tests/unit/membershipStanding.test.ts", "exit_code": 0 }, { "command": "dashboard: CI=true npx vitest run (full, 1326 tests)", "exit_code": 0 }, { "command": "npx eslint (touched TS/Vue files)", "exit_code": 0 } ], "criteria": { "Suspend: one ceremony revokes Membership (receipt-gated); gate deny projection fires; the bridge refuses new tokens and refreshes": "keria.Standing.Suspend (internal/keria/standing.go) fires gate.Deny then AnchorRevocation+ConfirmReceipt of the membership SAID so IsIssued reads false; POST /idip/members/{aid}/suspend records it (internal/controlapi/idip_standing.go); the browser signing is MembershipRevokeDriver (app/src/lib/membershipStanding.ts, membershipStanding.test.ts) revoking EXACTLY the membership ACDC witness-receipt-gated; production keria.MemoryGate wired at composition root (control-plane main.go)", "S4i suspended variant: dormant chips on held credentials; re-admit replaces suspend; copy states fresh-issuance mechanics (TELs never un-revoke)": "IdipMemberCredentials.vue suspended-variant block (data-status=suspended-variant, credentials-dormant chips, readmit-note stating 'fresh Membership ... revoked forever', data-action=readmit); the suspend card only shows for active, re-admit only for suspended; proven by idipMemberCredentials.test.ts", "Re-admit: fresh SAID; previously held credentials immediately effective again (claim reappears) with no re-issuance of them": "keria.Standing.Readmit anchors a NEW membership SAID (old stays revoked) and TestDormancy_ReadmitWakesCredentialsWholeNoReissue proves the held credential wakes with the SAME SAID, still issued, dormant cleared; POST /idip/members/{aid}/readmit {said}; the browser reuses the approve issuance driver (app/src/keriweb/main.ts idssKeriStewardReadmit)", "Dormancy is a projection — the registry state of non-membership credentials is untouched by suspend (adapter seam)": "DefinitionAdapter.Held (internal/keria/adapter.go) sets HeldCredentialView.Dormant from the member's suspended standing while State stays issued; TestDormancy_SuspendProjectsDormantLeavesRegistryUntouched asserts reg.HeldCredentials is byte-for-byte unchanged after suspend", "Roster row: suspended pill + dormant chip (S1i contract)": "MemberView.Dormant (internal/keria/view.go hasDormantCredentials) true when suspended + holding >= 1 live credential; IdipRosterPanel.vue renders the suspended pill (data-field=idip-member-status) + credentials-dormant chip; proven by idipRosterPanel.test.ts" }, "summary": "IDIP member suspend revokes Membership alone (held credentials projected dormant, registry untouched) and re-admit issues a fresh Membership that wakes them whole, shipped end-to-end across the revocation driver, adapter dormancy projection, standing routes, and the S4i/S1i screens.", "blockers": [] } ``` </details>
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#1082
No description provided.