idip: founding-identity-legs — the four identity stand-up rows (founder AID, group AID, registry, membership) #779

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

Parent

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

What to build

The identity legs of IDIP founding (DDR 0200, ADRs 0195/0197/0198): after the carrier's door probe passes, four rows append to whichever carrier journey ran and fold into the single weighted bar (DDR 0144) — "Identity service" (KERIA + witness + bridge live: the deploy leg's proof), "Your identity" (agent boot with the S6a-derived passcode → witnessed founder AID), "Community identity" (group AID incepted via KERIA's native multisig exchange at 1-of-1 — the exchange from day one is what makes a later KEL fork impossible), "Your membership" (credential registry + founder membership ACDC with role: operator, gated on witness receipt). All signing runs via signify-ts in the Electron renderer against the public doors; the Go control plane orchestrates rows and retries but never holds keys. Every row keeps its own retry and names its evidence (ADR 0088); a witness-class fault names what it actually blocks: "new members can't join until this recovers — signing in still works" (#732).

Acceptance criteria

  • (story 9) Given the door probe has passed, when the identity legs run, then the four rows execute in order (agent boot → founder AID → group AID multisig inception 1-of-1 → registry → founder ACDC role: operator) and fold into the weighted bar.
  • (story 10) Given a row fails, then that row shows its own retry and names its evidence; stand-up does not silently continue past it.
  • (story 10) Given a witness-class fault, then the row names the join degradation, never sign-in.
  • (story 11) Given any signing act, then it executed in the renderer — the control plane held no key material at any point.

Blocked by

  • #778 — idip:seed-leg-idip
  • #777 — idip:founding-s6a-ceremony
  • #773 — idip:credential-schemas

Task manifest

task: idip:founding-identity-legs
implements_flow: p1-founding
implements_edge: S6a→S7 (identity rows appended to S7/S7a/S7b/VAR)
wireframe: docs/ux/wireframes/p1-founding/p1-s7x-identity-rows.html
interface: 'the founding stand-up grows four renderer-driven identity rows post-door-probe: agent boot,
  founder AID, group-AID multisig inception (1-of-1), registry + operator ACDC — orchestrated (never signed)
  by the control plane, per-row retry + ADR 0088 evidence'
seam: 'founding orchestrator + renderer legs against the real packaged stack (lab): happy path mints all
  four; injected per-row faults surface retry + honest wording; witness-down names join-not-sign-in'
acceptance:
- given: door probe passed on an IDIP founding
  when: identity legs run
  then: agent → founder AID → group AID (multisig 1-of-1) → registry → operator ACDC, folded into the
    bar
- given: a row fault / a witness-class fault
  when: it surfaces
  then: own retry + evidence / join-degradation wording, never sign-in
- given: any signing act
  when: audited
  then: renderer-side only; no gateway or control-plane keys
depends_on:
- seed-leg-idip
- founding-s6a-ceremony
- credential-schemas
out_of_scope:
- member join/approve — member-join-page / steward-approve-issue
- the e2e proof — idip-e2e-drive
needs_human_decision: []
## Parent Feature spec: #767 (idip; wayfinder map #725). ## What to build The identity legs of IDIP founding (DDR 0200, ADRs 0195/0197/0198): after the carrier's door probe passes, four rows append to whichever carrier journey ran and fold into the single weighted bar (DDR 0144) — "Identity service" (KERIA + witness + bridge live: the deploy leg's proof), "Your identity" (agent boot with the S6a-derived passcode → witnessed founder AID), "Community identity" (group AID incepted via KERIA's native multisig exchange at 1-of-1 — the exchange from day one is what makes a later KEL fork impossible), "Your membership" (credential registry + founder membership ACDC with role: operator, gated on witness receipt). All signing runs via signify-ts in the Electron renderer against the public doors; the Go control plane orchestrates rows and retries but never holds keys. Every row keeps its own retry and names its evidence (ADR 0088); a witness-class fault names what it actually blocks: "new members can't join until this recovers — signing in still works" (#732). ## Acceptance criteria - [ ] (story 9) Given the door probe has passed, when the identity legs run, then the four rows execute in order (agent boot → founder AID → group AID multisig inception 1-of-1 → registry → founder ACDC role: operator) and fold into the weighted bar. - [ ] (story 10) Given a row fails, then that row shows its own retry and names its evidence; stand-up does not silently continue past it. - [ ] (story 10) Given a witness-class fault, then the row names the join degradation, never sign-in. - [ ] (story 11) Given any signing act, then it executed in the renderer — the control plane held no key material at any point. ## Blocked by - #778 — idip:seed-leg-idip - #777 — idip:founding-s6a-ceremony - #773 — idip:credential-schemas ## Task manifest ```yaml task: idip:founding-identity-legs implements_flow: p1-founding implements_edge: S6a→S7 (identity rows appended to S7/S7a/S7b/VAR) wireframe: docs/ux/wireframes/p1-founding/p1-s7x-identity-rows.html interface: 'the founding stand-up grows four renderer-driven identity rows post-door-probe: agent boot, founder AID, group-AID multisig inception (1-of-1), registry + operator ACDC — orchestrated (never signed) by the control plane, per-row retry + ADR 0088 evidence' seam: 'founding orchestrator + renderer legs against the real packaged stack (lab): happy path mints all four; injected per-row faults surface retry + honest wording; witness-down names join-not-sign-in' acceptance: - given: door probe passed on an IDIP founding when: identity legs run then: agent → founder AID → group AID (multisig 1-of-1) → registry → operator ACDC, folded into the bar - given: a row fault / a witness-class fault when: it surfaces then: own retry + evidence / join-degradation wording, never sign-in - given: any signing act when: audited then: renderer-side only; no gateway or control-plane keys depends_on: - seed-leg-idip - founding-s6a-ceremony - credential-schemas out_of_scope: - member join/approve — member-join-page / steward-approve-issue - the e2e proof — idip-e2e-drive 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)

Ruled by agent under ADR 0174 — veto anytime.

Decision: the renderer embeds the IDSS membership schema SAID as MEMBERSHIP_SCHEMA_SAID (app/src/lib/identityLegs.ts), mirroring credschema’s Go source of truth (internal/credschema Membership().SAID, golden membership.schema.json top-level $id = ICyWw9WrDmRwNEPRIp032_3IrGiY9O1suzD2TGN8Mexx). The founder’s role: operator ACDC names it in s.

Why a two-way door: #773 fixed the schema at ONE stable SAID for every IDSS community (no communityName const), so there is one value to mirror, not per-community drift. It is revertible by a later commit and provable by the seam test; it is not on the one-way-door list (no credential, security-posture, trust-accept, data-destruction or spend implication). If credschema ever swaps its digest (its documented Blake3 E move), this is a one-line update beside the golden regen. A member agent resolves the SAME SAID at the live schema-door OOBI during the drive — the constant is the renderer’s twin so the mount hardcodes no invented value; the live resolution + real KERIA run ride idip-e2e-drive (out of scope here).

What proves it: identityLegs.test.ts asserts the operator ACDC carries role: operator + the community name against this SAID; the credschema golden corpus is the SAID’s own stability proof.

Ruled by agent under ADR 0174 — veto anytime. **Decision:** the renderer embeds the IDSS membership schema SAID as `MEMBERSHIP_SCHEMA_SAID` (`app/src/lib/identityLegs.ts`), mirroring credschema’s Go source of truth (`internal/credschema` `Membership().SAID`, golden `membership.schema.json` top-level `$id` = `ICyWw9WrDmRwNEPRIp032_3IrGiY9O1suzD2TGN8Mexx`). The founder’s `role: operator` ACDC names it in `s`. **Why a two-way door:** #773 fixed the schema at ONE stable SAID for every IDSS community (no `communityName` const), so there is one value to mirror, not per-community drift. It is revertible by a later commit and provable by the seam test; it is not on the one-way-door list (no credential, security-posture, trust-accept, data-destruction or spend implication). If credschema ever swaps its digest (its documented Blake3 `E` move), this is a one-line update beside the golden regen. A member agent resolves the SAME SAID at the live schema-door OOBI during the drive — the constant is the renderer’s twin so the mount hardcodes no invented value; the live resolution + real KERIA run ride `idip-e2e-drive` (out of scope here). **What proves it:** `identityLegs.test.ts` asserts the operator ACDC carries `role: operator` + the community name against this SAID; the credschema golden corpus is the SAID’s own stability proof.

close-report for #779 — status success

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

envelope
{
  "issue": 779,
  "status": "success",
  "commits": [
    "1d78411"
  ],
  "changed_files": [
    "STATUS.md",
    "app/src/components/founding/FoundingStandup.vue",
    "app/src/components/founding/FoundingWizard.vue",
    "app/src/components/founding/FoundingIdentityRows.vue",
    "app/src/lib/identityLegs.ts",
    "app/tests/unit/foundingIdentityRows.test.ts",
    "app/tests/unit/identityLegs.test.ts"
  ],
  "tests": [
    {
      "command": "cd app && npx vitest run tests/unit/identityLegs.test.ts",
      "exit_code": 0
    },
    {
      "command": "cd app && npx vitest run tests/unit/foundingIdentityRows.test.ts",
      "exit_code": 0
    },
    {
      "command": "cd app && npx vitest run tests/unit/foundingStandupProgress.test.ts tests/unit/foundingStandupRented.test.ts tests/unit/foundingStandupPrivate.test.ts tests/unit/foundingWizard.test.ts",
      "exit_code": 0
    },
    {
      "command": "cd app && npx vue-tsc --noEmit -p tsconfig.json",
      "exit_code": 0
    },
    {
      "command": "cd app && npx eslint src/lib/identityLegs.ts src/components/founding/FoundingIdentityRows.vue src/components/founding/FoundingStandup.vue tests/unit/identityLegs.test.ts tests/unit/foundingIdentityRows.test.ts",
      "exit_code": 0
    },
    {
      "command": "cd app && npx vitest run tests/unit/productTypeScale.test.ts",
      "exit_code": 0
    }
  ],
  "criteria": {
    "story 9 — door probe passed, identity legs run in order (agent boot → founder AID → group AID multisig 1-of-1 → registry → operator ACDC) and fold into the weighted bar": "identityLegs.test.ts 'story 9' block: driver.trace === [agent-boot,founder-aid,group-aid,registry,operator-acdc]; groupNames===['community<-founder'] (1-of-1); toDeployRows()+IDENTITY_LEG_WEIGHTS fold into the DDR 0144 bar; foundingIdentityRows.test.ts asserts data-field=identity-bar reads 100% when all done (app/src/lib/identityLegs.ts:IdentityLegsDriver.run)",
    "story 10 — a row fault shows its own retry and names its evidence; stand-up does not silently continue past it": "identityLegs.test.ts 'story 10' block: run() stops at the failed community-identity row, leaves your-membership todo (trace omits registry); retry() re-runs forward and recovers; FoundingIdentityRows.vue renders data-status=row-failed with detail-<id> + data-row-retry=<id> button emitting retry (verified in foundingIdentityRows.test.ts)",
    "story 10 — a witness-class fault names the join degradation, never sign-in": "identityLegs.test.ts: an issue fault matching /witness|receipt|escrow/ sets faultKind=witness + degradation=JOIN_DEGRADATION ('New members can\\u2019t join...signing in still works'), and asserts it never matches sign-in-down; a non-witness fault carries no degradation; FoundingIdentityRows.vue renders data-field=join-degradation only on witness faults (foundingIdentityRows.test.ts)",
    "story 11 — any signing act executed in the renderer; the control plane held no key material": "identityLegs.test.ts 'story 11' block: the passcode read from the renderer keychain store (StoreKeys.passcode) is the ONLY value handed to keri.initialize (calls.bootBran), no ACDC attribute smuggles it, and a missing S6a passcode fails loud; the driver has no FoundingClient/helper reference; compile-time guard proves the real renderer KERIClient satisfies IdentityLegsKeri (app/src/lib/identityLegs.ts)",
    "wireframe p1-s7x-identity-rows.html shipped as a real component": "app/src/components/founding/FoundingIdentityRows.vue built to the wireframe's data-field=identity-rows + per-row data-row contract, mounted in FoundingStandup.vue gated on identityKind==='idip' + carrier deploy live; foundingIdentityRows.test.ts proves the element contract"
  },
  "summary": "The four IDIP founding identity legs ship as a renderer-side orchestrator (IdentityLegsDriver) + the S7x wireframe fragment (FoundingIdentityRows.vue): agent boot → founder AID → group AID (multisig 1-of-1) → registry → operator ACDC, all signify-ts-signed in the renderer, per-row retry + ADR 0088 evidence, witness faults naming join-not-sign-in, folded into the one weighted bar.",
  "reason": "All four acceptance clauses are proven at the manifest seam (identityLegs.test.ts, 14 tests) and the wireframe contract (foundingIdentityRows.test.ts, 8 tests); the live run against the real packaged stack is idip-e2e-drive (out of scope).",
  "blockers": []
}
**close-report** for #779 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 779, "status": "success", "commits": [ "1d78411" ], "changed_files": [ "STATUS.md", "app/src/components/founding/FoundingStandup.vue", "app/src/components/founding/FoundingWizard.vue", "app/src/components/founding/FoundingIdentityRows.vue", "app/src/lib/identityLegs.ts", "app/tests/unit/foundingIdentityRows.test.ts", "app/tests/unit/identityLegs.test.ts" ], "tests": [ { "command": "cd app && npx vitest run tests/unit/identityLegs.test.ts", "exit_code": 0 }, { "command": "cd app && npx vitest run tests/unit/foundingIdentityRows.test.ts", "exit_code": 0 }, { "command": "cd app && npx vitest run tests/unit/foundingStandupProgress.test.ts tests/unit/foundingStandupRented.test.ts tests/unit/foundingStandupPrivate.test.ts tests/unit/foundingWizard.test.ts", "exit_code": 0 }, { "command": "cd app && npx vue-tsc --noEmit -p tsconfig.json", "exit_code": 0 }, { "command": "cd app && npx eslint src/lib/identityLegs.ts src/components/founding/FoundingIdentityRows.vue src/components/founding/FoundingStandup.vue tests/unit/identityLegs.test.ts tests/unit/foundingIdentityRows.test.ts", "exit_code": 0 }, { "command": "cd app && npx vitest run tests/unit/productTypeScale.test.ts", "exit_code": 0 } ], "criteria": { "story 9 — door probe passed, identity legs run in order (agent boot → founder AID → group AID multisig 1-of-1 → registry → operator ACDC) and fold into the weighted bar": "identityLegs.test.ts 'story 9' block: driver.trace === [agent-boot,founder-aid,group-aid,registry,operator-acdc]; groupNames===['community<-founder'] (1-of-1); toDeployRows()+IDENTITY_LEG_WEIGHTS fold into the DDR 0144 bar; foundingIdentityRows.test.ts asserts data-field=identity-bar reads 100% when all done (app/src/lib/identityLegs.ts:IdentityLegsDriver.run)", "story 10 — a row fault shows its own retry and names its evidence; stand-up does not silently continue past it": "identityLegs.test.ts 'story 10' block: run() stops at the failed community-identity row, leaves your-membership todo (trace omits registry); retry() re-runs forward and recovers; FoundingIdentityRows.vue renders data-status=row-failed with detail-<id> + data-row-retry=<id> button emitting retry (verified in foundingIdentityRows.test.ts)", "story 10 — a witness-class fault names the join degradation, never sign-in": "identityLegs.test.ts: an issue fault matching /witness|receipt|escrow/ sets faultKind=witness + degradation=JOIN_DEGRADATION ('New members can\\u2019t join...signing in still works'), and asserts it never matches sign-in-down; a non-witness fault carries no degradation; FoundingIdentityRows.vue renders data-field=join-degradation only on witness faults (foundingIdentityRows.test.ts)", "story 11 — any signing act executed in the renderer; the control plane held no key material": "identityLegs.test.ts 'story 11' block: the passcode read from the renderer keychain store (StoreKeys.passcode) is the ONLY value handed to keri.initialize (calls.bootBran), no ACDC attribute smuggles it, and a missing S6a passcode fails loud; the driver has no FoundingClient/helper reference; compile-time guard proves the real renderer KERIClient satisfies IdentityLegsKeri (app/src/lib/identityLegs.ts)", "wireframe p1-s7x-identity-rows.html shipped as a real component": "app/src/components/founding/FoundingIdentityRows.vue built to the wireframe's data-field=identity-rows + per-row data-row contract, mounted in FoundingStandup.vue gated on identityKind==='idip' + carrier deploy live; foundingIdentityRows.test.ts proves the element contract" }, "summary": "The four IDIP founding identity legs ship as a renderer-side orchestrator (IdentityLegsDriver) + the S7x wireframe fragment (FoundingIdentityRows.vue): agent boot → founder AID → group AID (multisig 1-of-1) → registry → operator ACDC, all signify-ts-signed in the renderer, per-row retry + ADR 0088 evidence, witness faults naming join-not-sign-in, folded into the one weighted bar.", "reason": "All four acceptance clauses are proven at the manifest seam (identityLegs.test.ts, 14 tests) and the wireframe contract (foundingIdentityRows.test.ts, 8 tests); the live run against the real packaged stack is idip-e2e-drive (out of scope).", "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#779
No description provided.