idip: komiti-credentials — one revocable ACDC per committee #784

Closed
opened 2026-08-25 04:27:24 +00:00 by ben · 2 comments
Owner

Parent

Feature spec: #767 (idip; wayfinder map #725).

What to build

Committee membership under IDIP (ADRs 0196/0198): adding a member to a komiti issues a distinct committee ACDC from the community group AID (kt=1, via the exchange, receipt-gated — the approve slice's rails); revoking it removes exactly committee:<slug> from the member's groups at the bridge and nothing else — core membership untouched. The kanidm komiti surface (matrix, roles, claim maps) is the behavioural reference: the operator-facing komiti verbs behave identically across substrates.

Acceptance criteria

  • (story 24) Given an active member added to a committee, when the grant lands, then a distinct committee ACDC exists and their next token carries committee:.
  • (story 24) Given the committee credential revoked, when the member's groups refresh, then exactly committee: is gone — membership and other committees untouched.
  • Given the operator komiti surface, when driven on an IDIP community, then the verbs match the kanidm-tier behaviour (the seam's contract).

Blocked by

  • #782 — idip:steward-approve-issue
  • #776 — idip:idss-idp-bridge
  • members:komiti-matrix-roles (#94 arc) (done — satisfied)

Task manifest

task: idip:komiti-credentials
interface: 'komiti grant/revoke on the IDIP substrate: per-committee ACDC issuance/revocation riding the
  approve rails; bridge groups claim moves exactly committee:<slug>'
seam: member-port komiti contract against the keria binding + bridge claims assertion (grant adds, revoke
  removes exactly the one group) on the real packaged stack
acceptance:
- given: a member added to a komiti
  when: the grant lands
  then: distinct ACDC; committee:<slug> in the next token
- given: the committee ACDC revoked
  when: groups refresh
  then: exactly that group gone; membership intact
depends_on:
- steward-approve-issue
- idss-idp-bridge
- members:komiti-matrix-roles
out_of_scope:
- suspension/removal — standing-suspend-remove
- files claim-map plumbing (rides the seam unchanged, ADR 0199)
needs_human_decision: []
## Parent Feature spec: #767 (idip; wayfinder map #725). ## What to build Committee membership under IDIP (ADRs 0196/0198): adding a member to a komiti issues a distinct committee ACDC from the community group AID (kt=1, via the exchange, receipt-gated — the approve slice's rails); revoking it removes exactly `committee:<slug>` from the member's groups at the bridge and nothing else — core membership untouched. The kanidm komiti surface (matrix, roles, claim maps) is the behavioural reference: the operator-facing komiti verbs behave identically across substrates. ## Acceptance criteria - [ ] (story 24) Given an active member added to a committee, when the grant lands, then a distinct committee ACDC exists and their next token carries committee:<slug>. - [ ] (story 24) Given the committee credential revoked, when the member's groups refresh, then exactly committee:<slug> is gone — membership and other committees untouched. - [ ] Given the operator komiti surface, when driven on an IDIP community, then the verbs match the kanidm-tier behaviour (the seam's contract). ## Blocked by - #782 — idip:steward-approve-issue - #776 — idip:idss-idp-bridge - members:komiti-matrix-roles (#94 arc) (done — satisfied) ## Task manifest ```yaml task: idip:komiti-credentials interface: 'komiti grant/revoke on the IDIP substrate: per-committee ACDC issuance/revocation riding the approve rails; bridge groups claim moves exactly committee:<slug>' seam: member-port komiti contract against the keria binding + bridge claims assertion (grant adds, revoke removes exactly the one group) on the real packaged stack acceptance: - given: a member added to a komiti when: the grant lands then: distinct ACDC; committee:<slug> in the next token - given: the committee ACDC revoked when: groups refresh then: exactly that group gone; membership intact depends_on: - steward-approve-issue - idss-idp-bridge - members:komiti-matrix-roles out_of_scope: - suspension/removal — standing-suspend-remove - files claim-map plumbing (rides the seam unchanged, ADR 0199) needs_human_decision: [] ```

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

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

close-report for #784 — status success

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

envelope
{
  "issue": 784,
  "status": "success",
  "commits": [
    "46fe4a7febf9a08a2c647aabe67f0780fa1392cd"
  ],
  "changed_files": [
    "STATUS.md",
    "app/src/lib/komitiCredentials.ts",
    "app/tests/unit/komitiCredentials.test.ts",
    "internal/idp/verifier_committee_test.go"
  ],
  "tests": [
    {
      "command": "npx vitest run tests/unit/komitiCredentials.test.ts",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci -c go test ./internal/idp/ -run TestGroups_Komiti",
      "exit_code": 0
    }
  ],
  "criteria": {
    "(story 24) member added to a committee → grant lands → distinct committee ACDC exists and next token carries committee:<slug>": "komitiCredentials.ts grant() issues under credschema.Committee schema (distinct from membership) and records to the adapter's per-komiti port so Groups() derives committee:<slug>; komitiCredentials.test.ts 'issues a distinct committee ACDC ...' + verifier_committee_test.go TestGroups_KomitiGrantAddsExactlyCommitteeSlug",
    "(story 24) committee credential revoked → groups refresh → exactly committee:<slug> gone, membership + other committees untouched": "komitiCredentials.ts revoke() revokes exactly the slug's ACDC + anchorRevoke; komitiCredentials.test.ts 'revokes exactly the committee ACDC and drops exactly that group' + verifier_committee_test.go TestGroups_KomitiRevokeRemovesExactlyCommitteeSlug",
    "operator komiti surface verbs match kanidm-tier behaviour (the seam's contract)": "KomitiCredentialDriver grant/revoke are the IDIP counterparts of member.KomitiMembershipPort AddKomitiMember/RemoveKomitiMember — idempotent, one slug per call, membership untouched; komitiCredentials.test.ts 'idempotency — the verbs match the kanidm-tier KomitiMembershipPort' block"
  },
  "summary": "idip komiti-credentials: renderer KomitiCredentialDriver grants/revokes one committee ACDC per komiti on the approve rails; bridge derives committee:<slug> and revoke removes exactly it.",
  "blockers": []
}
**close-report** for #784 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 784, "status": "success", "commits": [ "46fe4a7febf9a08a2c647aabe67f0780fa1392cd" ], "changed_files": [ "STATUS.md", "app/src/lib/komitiCredentials.ts", "app/tests/unit/komitiCredentials.test.ts", "internal/idp/verifier_committee_test.go" ], "tests": [ { "command": "npx vitest run tests/unit/komitiCredentials.test.ts", "exit_code": 0 }, { "command": "nix develop .#go-ci -c go test ./internal/idp/ -run TestGroups_Komiti", "exit_code": 0 } ], "criteria": { "(story 24) member added to a committee → grant lands → distinct committee ACDC exists and next token carries committee:<slug>": "komitiCredentials.ts grant() issues under credschema.Committee schema (distinct from membership) and records to the adapter's per-komiti port so Groups() derives committee:<slug>; komitiCredentials.test.ts 'issues a distinct committee ACDC ...' + verifier_committee_test.go TestGroups_KomitiGrantAddsExactlyCommitteeSlug", "(story 24) committee credential revoked → groups refresh → exactly committee:<slug> gone, membership + other committees untouched": "komitiCredentials.ts revoke() revokes exactly the slug's ACDC + anchorRevoke; komitiCredentials.test.ts 'revokes exactly the committee ACDC and drops exactly that group' + verifier_committee_test.go TestGroups_KomitiRevokeRemovesExactlyCommitteeSlug", "operator komiti surface verbs match kanidm-tier behaviour (the seam's contract)": "KomitiCredentialDriver grant/revoke are the IDIP counterparts of member.KomitiMembershipPort AddKomitiMember/RemoveKomitiMember — idempotent, one slug per call, membership untouched; komitiCredentials.test.ts 'idempotency — the verbs match the kanidm-tier KomitiMembershipPort' block" }, "summary": "idip komiti-credentials: renderer KomitiCredentialDriver grants/revokes one committee ACDC per komiti on the approve rails; bridge derives committee:<slug> and revoke removes exactly it.", "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#784
No description provided.