idip: steward-add-rotate — add a steward by majority rotation; the solo-founder nudge #786

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

Parent

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

What to build

Add-a-steward as a v1 feature (ADR 0197): an existing steward initiates a multisig rotation of the community group AID, co-signed to the rotation threshold (majority of N — 1-of-1 solo, 2-of-2, 2-of-3 …), and the new steward's membership ACDC is re-issued with role: operator so the operators group tracks the steward set (the agent-ruled consistency rule). The solo (1-of-1) founder is nudged — never forced — to add a second steward, naming why honestly: with one steward, both-lost ends control of the community; with two, the survivors rotate the lost one out. Group keys exist only in stewards' agents — never on the gateway.

Acceptance criteria

  • (story 27) Given a 1-of-1 community, when the founder adds a steward, then the rotation completes co-signed and the new steward's ACDC carries role: operator; the operators group now has two.
  • (story 28) Given N stewards, when a rotation is initiated, then it lands only at majority co-sign; issuance stays kt=1 throughout.
  • (story 27) Given a solo founder, when the relevant surfaces render, then the add-a-second-steward nudge appears with the honest why — and never blocks.
  • Given the rotation, then no group key material ever touched the gateway or control plane.

Blocked by

  • #782 — idip:steward-approve-issue

Task manifest

task: idip:steward-add-rotate
interface: 'add-a-steward: steward-initiated group rotation co-signed to majority via the /multisig/*
  exchange + role: operator re-issue; the solo-founder nudge (never a gate)'
seam: 'rotation exchange against the real packaged stack: 1-of-1→2 add lands; sub-majority co-sign does
  not; operators tracks the steward set; keys renderer-side only'
acceptance:
- given: a 1-of-1 community
  when: a second steward is added
  then: 'majority rotation + role: operator re-issue; operators = 2'
- given: N stewards
  when: rotation initiated
  then: lands only at majority; issuance unaffected at kt=1
- given: a solo founder
  when: surfaces render
  then: the nudge with the honest why, never forced
depends_on:
- steward-approve-issue
out_of_scope:
- removing a steward beyond the rotation mechanics of this slice if it needs its own surface (same rails;
  name it if it grows)
- which surface hosts non-founder-steward signify sessions beyond the operator app (map open question
  — operator app is the v1 answer)
needs_human_decision: []
## Parent Feature spec: #767 (idip; wayfinder map #725). ## What to build Add-a-steward as a v1 feature (ADR 0197): an existing steward initiates a multisig rotation of the community group AID, co-signed to the rotation threshold (majority of N — 1-of-1 solo, 2-of-2, 2-of-3 …), and the new steward's membership ACDC is re-issued with role: operator so the operators group tracks the steward set (the agent-ruled consistency rule). The solo (1-of-1) founder is nudged — never forced — to add a second steward, naming why honestly: with one steward, both-lost ends control of the community; with two, the survivors rotate the lost one out. Group keys exist only in stewards' agents — never on the gateway. ## Acceptance criteria - [ ] (story 27) Given a 1-of-1 community, when the founder adds a steward, then the rotation completes co-signed and the new steward's ACDC carries role: operator; the operators group now has two. - [ ] (story 28) Given N stewards, when a rotation is initiated, then it lands only at majority co-sign; issuance stays kt=1 throughout. - [ ] (story 27) Given a solo founder, when the relevant surfaces render, then the add-a-second-steward nudge appears with the honest why — and never blocks. - [ ] Given the rotation, then no group key material ever touched the gateway or control plane. ## Blocked by - #782 — idip:steward-approve-issue ## Task manifest ```yaml task: idip:steward-add-rotate interface: 'add-a-steward: steward-initiated group rotation co-signed to majority via the /multisig/* exchange + role: operator re-issue; the solo-founder nudge (never a gate)' seam: 'rotation exchange against the real packaged stack: 1-of-1→2 add lands; sub-majority co-sign does not; operators tracks the steward set; keys renderer-side only' acceptance: - given: a 1-of-1 community when: a second steward is added then: 'majority rotation + role: operator re-issue; operators = 2' - given: N stewards when: rotation initiated then: lands only at majority; issuance unaffected at kt=1 - given: a solo founder when: surfaces render then: the nudge with the honest why, never forced depends_on: - steward-approve-issue out_of_scope: - removing a steward beyond the rotation mechanics of this slice if it needs its own surface (same rails; name it if it grows) - which surface hosts non-founder-steward signify sessions beyond the operator app (map open question — operator app is the v1 answer) 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 #786 — status success

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

envelope
{
  "issue": 786,
  "status": "success",
  "commits": [
    "b55733d4ddee2d9aab179f81690ac9f1f7c0f6d5"
  ],
  "changed_files": [
    "STATUS.md",
    "app/src/lib/keri/client.ts",
    "app/src/lib/stewardAddRotate.ts",
    "app/tests/unit/stewardAddRotate.test.ts"
  ],
  "tests": [
    {
      "command": "npx vitest run tests/unit/stewardAddRotate.test.ts",
      "exit_code": 0
    }
  ],
  "criteria": {
    "story 27 — 1-of-1 founder adds a steward; rotation completes co-signed and new steward's ACDC carries role: operator; operators group now has two": "app/src/lib/stewardAddRotate.ts StewardAddRotateDriver.addSteward (rotate at majorityThreshold(1)=1 then issueCredential role: OPERATOR_ROLE + stewardSet.addOperator); test 'rotates co-signed, re-issues role: operator, and the operators group now has two' (count()==2)",
    "story 28 — N stewards: rotation lands only at majority co-sign; issuance stays kt=1 throughout": "majorityThreshold(N)=floor(N/2)+1 passed as nextThreshold; issuanceThreshold always 1; sub-majority rotate rejection rests awaiting-cosign with nothing added; tests 'a 2-of-3 add...keeps issuance at kt=1' and 'a sub-majority co-sign does NOT land'",
    "story 27 — solo founder: add-a-second-steward nudge appears with the honest why and never blocks": "soloStewardNudge(count) — show=count<=1, blocking:false (literal), SOLO_NUDGE_WHY names the ADR 0195 rung-3 why; tests 'shows for a solo (1-of-1) community...' and 'is gone once a second steward exists'",
    "no group key material ever touched the gateway or control plane": "all signing via injected StewardAddRotateKeri (renderer signify-ts); StewardSetAnchor port carries only aid+said, no signing method; test 'signs only through keri — the steward-set port is the adapter's unsigned surface'; KERIClient.rotateGroupAddSteward signs in-agent"
  },
  "summary": "Renderer-side add-a-steward driver: majority group rotation + role: operator re-issue tracking the operators group + the never-blocking solo-founder nudge, at the seam.",
  "reason": "",
  "blockers": [],
  "no_code_change": ""
}
**close-report** for #786 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 786, "status": "success", "commits": [ "b55733d4ddee2d9aab179f81690ac9f1f7c0f6d5" ], "changed_files": [ "STATUS.md", "app/src/lib/keri/client.ts", "app/src/lib/stewardAddRotate.ts", "app/tests/unit/stewardAddRotate.test.ts" ], "tests": [ { "command": "npx vitest run tests/unit/stewardAddRotate.test.ts", "exit_code": 0 } ], "criteria": { "story 27 — 1-of-1 founder adds a steward; rotation completes co-signed and new steward's ACDC carries role: operator; operators group now has two": "app/src/lib/stewardAddRotate.ts StewardAddRotateDriver.addSteward (rotate at majorityThreshold(1)=1 then issueCredential role: OPERATOR_ROLE + stewardSet.addOperator); test 'rotates co-signed, re-issues role: operator, and the operators group now has two' (count()==2)", "story 28 — N stewards: rotation lands only at majority co-sign; issuance stays kt=1 throughout": "majorityThreshold(N)=floor(N/2)+1 passed as nextThreshold; issuanceThreshold always 1; sub-majority rotate rejection rests awaiting-cosign with nothing added; tests 'a 2-of-3 add...keeps issuance at kt=1' and 'a sub-majority co-sign does NOT land'", "story 27 — solo founder: add-a-second-steward nudge appears with the honest why and never blocks": "soloStewardNudge(count) — show=count<=1, blocking:false (literal), SOLO_NUDGE_WHY names the ADR 0195 rung-3 why; tests 'shows for a solo (1-of-1) community...' and 'is gone once a second steward exists'", "no group key material ever touched the gateway or control plane": "all signing via injected StewardAddRotateKeri (renderer signify-ts); StewardSetAnchor port carries only aid+said, no signing method; test 'signs only through keri — the steward-set port is the adapter's unsigned surface'; KERIClient.rotateGroupAddSteward signs in-agent" }, "summary": "Renderer-side add-a-steward driver: majority group rotation + role: operator re-issue tracking the operators group + the never-blocking solo-founder nudge, at the seam.", "reason": "", "blockers": [], "no_code_change": "" } ``` </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#786
No description provided.