idip: steward-approve-issue — approval issues the membership ACDC via the multisig exchange #782

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

Parent

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

What to build

The approve half of the IDIP member lifecycle (ADRs 0197/0198): a steward approves a waiting member in the operator app; their signify session issues the membership ACDC from the community group AID at kt=1 of N — any steward acts alone — but every group event still runs KERIA's /multisig/* exchange (the exchange, not the threshold, is what prevents the KEL fork matou-app hit at #62/#63); the credential grant is gated on witness receipt of the group anchor (the awaitGroupAnchorWitnessed rail, inventory #728); the adapter records the transition post-receipt, anchoring the roster to the TEL; the member becomes active and the bridge now accepts them.

Acceptance criteria

  • (story 21) Given a waiting member, when any single steward approves, then the membership ACDC issues from the group AID through the multisig exchange and the member becomes active.
  • (story 21) Given the issuance, when the group anchor lacks witness receipt, then the grant is not recorded — active only after receipt.
  • (story 28, issuance half) Given a 2-steward community, when one steward issues, then no co-sign wait occurs (kt=1) and no KEL fork is possible (the exchange ran).

Blocked by

  • #780 — idip:member-join-page
  • #779 — idip:founding-identity-legs

Task manifest

task: idip:steward-approve-issue
implements_flow: p6-members
implements_edge: waiting→active (IDIP counterpart of the approve half of join-approval)
interface: 'the operator app''s approve action drives the steward''s signify session: kt=1 issuance via
  the /multisig/* exchange, witness-receipt-gated grant, adapter roster anchor, waiting→active'
seam: 'approve flow against the real packaged stack: single-steward issuance lands post-receipt; receipt
  withheld ⇒ no grant recorded; the exchange runs on every group event (fork regression guard)'
acceptance:
- given: a waiting member
  when: any steward approves
  then: ACDC issues via the exchange; member active
- given: witness receipt withheld
  when: issuance attempted
  then: grant not recorded until receipt
- given: multiple stewards
  when: one issues alone
  then: kt=1 holds, exchange prevents the fork
depends_on:
- member-join-page
- founding-identity-legs
out_of_scope:
- revocation/standing — standing-suspend-remove
- committee credentials — komiti-credentials
- steward rotation — steward-add-rotate
needs_human_decision: []
## Parent Feature spec: #767 (idip; wayfinder map #725). ## What to build The approve half of the IDIP member lifecycle (ADRs 0197/0198): a steward approves a waiting member in the operator app; their signify session issues the membership ACDC from the community group AID at kt=1 of N — any steward acts alone — but every group event still runs KERIA's /multisig/* exchange (the exchange, not the threshold, is what prevents the KEL fork matou-app hit at #62/#63); the credential grant is gated on witness receipt of the group anchor (the awaitGroupAnchorWitnessed rail, inventory #728); the adapter records the transition post-receipt, anchoring the roster to the TEL; the member becomes active and the bridge now accepts them. ## Acceptance criteria - [ ] (story 21) Given a waiting member, when any single steward approves, then the membership ACDC issues from the group AID through the multisig exchange and the member becomes active. - [ ] (story 21) Given the issuance, when the group anchor lacks witness receipt, then the grant is not recorded — active only after receipt. - [ ] (story 28, issuance half) Given a 2-steward community, when one steward issues, then no co-sign wait occurs (kt=1) and no KEL fork is possible (the exchange ran). ## Blocked by - #780 — idip:member-join-page - #779 — idip:founding-identity-legs ## Task manifest ```yaml task: idip:steward-approve-issue implements_flow: p6-members implements_edge: waiting→active (IDIP counterpart of the approve half of join-approval) interface: 'the operator app''s approve action drives the steward''s signify session: kt=1 issuance via the /multisig/* exchange, witness-receipt-gated grant, adapter roster anchor, waiting→active' seam: 'approve flow against the real packaged stack: single-steward issuance lands post-receipt; receipt withheld ⇒ no grant recorded; the exchange runs on every group event (fork regression guard)' acceptance: - given: a waiting member when: any steward approves then: ACDC issues via the exchange; member active - given: witness receipt withheld when: issuance attempted then: grant not recorded until receipt - given: multiple stewards when: one issues alone then: kt=1 holds, exchange prevents the fork depends_on: - member-join-page - founding-identity-legs out_of_scope: - revocation/standing — standing-suspend-remove - committee credentials — komiti-credentials - steward rotation — steward-add-rotate needs_human_decision: [] ```

swarm-claim host=elitebook-distributed-server-03 run=10059
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=10059 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #782 — status success

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

envelope
{
  "issue": 782,
  "status": "success",
  "commits": [
    "b0ad9035bbf7feb3572da1a9cf27a984a994df25"
  ],
  "changed_files": [
    "STATUS.md",
    "app/src/lib/stewardApprove.ts",
    "app/tests/unit/stewardApprove.test.ts",
    "app/src/lib/keri/client.ts",
    "app/src/lib/identityLegs.ts",
    "app/tests/unit/identityLegs.test.ts"
  ],
  "tests": [
    {
      "command": "npx vitest run tests/unit/stewardApprove.test.ts",
      "exit_code": 0
    },
    {
      "command": "npx vitest run tests/unit/identityLegs.test.ts tests/unit/keri/surface.test.ts",
      "exit_code": 0
    },
    {
      "command": "npx vue-tsc -p tsconfig.json",
      "exit_code": 0
    },
    {
      "command": "npx eslint src/lib/stewardApprove.ts src/lib/identityLegs.ts src/lib/keri/client.ts tests/unit/stewardApprove.test.ts tests/unit/identityLegs.test.ts",
      "exit_code": 0
    }
  ],
  "criteria": {
    "story 21 — Given a waiting member, when any single steward approves, then the membership ACDC issues from the group AID through the multisig exchange and the member becomes active": "stewardApprove.ts StewardApproveDriver.approve issues via keri.issueCredential(name=community group AID, role: member) at kt=1 then records anchorIssuance→confirmReceipt (waiting→active); stewardApprove.test.ts 'issues the membership ACDC from the group AID and records waiting → active'",
    "story 21 — Given the issuance, when the group anchor lacks witness receipt, then the grant is not recorded — active only after receipt": "issueCredential (awaitGroupAnchorWitnessed rail) rejects on withheld receipt so the roster is never touched; stewardApprove.test.ts 'records nothing when the group anchor receipt is withheld' (rosterCalls empty, member not active)",
    "story 28 issuance half — Given a 2-steward community, when one steward issues, then no co-sign wait occurs (kt=1) and no KEL fork is possible (the exchange ran)": "driver makes exactly one issue call from the group hab, no co-sign poll; the /multisig/* exchange runs inside the client's group-issuer path; stewardApprove.test.ts 'makes exactly one issue call — no co-sign wait (kt=1 of N)'"
  },
  "summary": "IDIP steward approve→issue: the renderer-side StewardApproveDriver issues the membership ACDC from the community group AID at kt=1 through the multisig exchange, gated on witness receipt, then records waiting→active to the keria adapter post-receipt.",
  "blockers": []
}
**close-report** for #782 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 782, "status": "success", "commits": [ "b0ad9035bbf7feb3572da1a9cf27a984a994df25" ], "changed_files": [ "STATUS.md", "app/src/lib/stewardApprove.ts", "app/tests/unit/stewardApprove.test.ts", "app/src/lib/keri/client.ts", "app/src/lib/identityLegs.ts", "app/tests/unit/identityLegs.test.ts" ], "tests": [ { "command": "npx vitest run tests/unit/stewardApprove.test.ts", "exit_code": 0 }, { "command": "npx vitest run tests/unit/identityLegs.test.ts tests/unit/keri/surface.test.ts", "exit_code": 0 }, { "command": "npx vue-tsc -p tsconfig.json", "exit_code": 0 }, { "command": "npx eslint src/lib/stewardApprove.ts src/lib/identityLegs.ts src/lib/keri/client.ts tests/unit/stewardApprove.test.ts tests/unit/identityLegs.test.ts", "exit_code": 0 } ], "criteria": { "story 21 — Given a waiting member, when any single steward approves, then the membership ACDC issues from the group AID through the multisig exchange and the member becomes active": "stewardApprove.ts StewardApproveDriver.approve issues via keri.issueCredential(name=community group AID, role: member) at kt=1 then records anchorIssuance→confirmReceipt (waiting→active); stewardApprove.test.ts 'issues the membership ACDC from the group AID and records waiting → active'", "story 21 — Given the issuance, when the group anchor lacks witness receipt, then the grant is not recorded — active only after receipt": "issueCredential (awaitGroupAnchorWitnessed rail) rejects on withheld receipt so the roster is never touched; stewardApprove.test.ts 'records nothing when the group anchor receipt is withheld' (rosterCalls empty, member not active)", "story 28 issuance half — Given a 2-steward community, when one steward issues, then no co-sign wait occurs (kt=1) and no KEL fork is possible (the exchange ran)": "driver makes exactly one issue call from the group hab, no co-sign poll; the /multisig/* exchange runs inside the client's group-issuer path; stewardApprove.test.ts 'makes exactly one issue call — no co-sign wait (kt=1 of N)'" }, "summary": "IDIP steward approve→issue: the renderer-side StewardApproveDriver issues the membership ACDC from the community group AID at kt=1 through the multisig exchange, gated on witness receipt, then records waiting→active to the keria adapter post-receipt.", "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#782
No description provided.