What matou-app's org-setup, registration and recovery flows do step-by-step — the reuse inventory #728
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#728
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Map: IDIP as a core identity alternative to kanidm (#725)
Question
Read
Matou/matou-app(laptop clone~/Documents/1.projects/matou-app):frontend/src/composables/useOrgSetup.ts,frontend/src/lib/keri/client.ts, the registration/invite flow (useCredentialPolling.ts,useAdminActions.ts, onboarding + identity stores), account recovery (mnemonic),docs/RBAC.md,docs/keria-per-agent-credential-isolation.md,docs/keri-credential-verification-report.md, the schema server and membership schema SAID, and the Playwrightorg-setup/registration/account-recoveryprojects. Produce the inventory: every signify-ts call in order, every OOBI/endpoint it needs, what state lands where (KERIA, backend, config server, secure storage), which parts are any-sync-specific (to drop), and which are reusable verbatim by the IDSS operator app's founding wizard, member invite, and rescue ladder.Research landed —
docs/research/2026-08-24-matou-app-keri-flow-inventory.mdon branchresearch/matou-app-keri-inventory(commit5eaeb45; matou-app read at0469b41).Summary:
frontend/src/lib/keri/client.ts: mnemonic → bran (Salterover the first 16 bytes of the BIP-39 seed) →initialize(connect-or-boot + witnessiurlsresolve) → witnessed personal AID + agent end-role → group AID (algo:'group', isith/nsith'1', org half of the witness pool) → registry on the group AID → schema OOBI (ECg6np…, resolved by KERIA, not the browser) →credentials().issue+ IPEX grant. Recipient = admit + 2 s poll ×60. Recovery = re-derive bran, reconnect,listAIDs./api/v1/identity/set(mnemonic-derived peer key + space keys), all/api/v1/spaces/*, thespace_inviteJSON smuggled in the IPEX grantmfield, profiles/init-member, thecommunitySpaceId/readOnlySpaceId/adminSpaceIdconfig fields, the router'sverifyCommunityAccessgate,multisig/rotation-signalSSE,X-User-AIDRBAC, config-server e-mail relay.KERIClientmethods,lib/keri/{cesr,said,witnessAssignment,registry}.ts,agentLifecycle.ts,registrationResolve.ts,useClaimIdentity,useCredentialPolling(minus space branches),useRegistrationPolling,useAdminActions.{resolveApplicant,approve steps 1–3/6/8,decline,reissue},RecoveryScreen, the 3 SAIDified schemas + SAIDify recipe; PR #33's Gointernal/auth/*(signed-challenge login) is the reference for the OIDC bridge.awaitGroupAnchorWitnessed(pollgroup.<ixn>op = every witness receipted),pushKelToAgent(CESR POST withCESR-DESTINATION),resolveViaWitnesses,queryKeyStateToSn, agent-reboot detection + end-role republish, bare-form OOBIs everywhere.admin; thePUT ?type=ixnwas swallowed end-role noise); #51 open — steward-issued credential stuck in escrow until witnesses receipt the group ixn (PR #52 awaiting live lap; timeout hypothesis refuted; group is 1-of-N); #60 → fixed by #61; #62/#63 open — two stewards issuing from a kt=1 group AID fork the KEL (no/multisig/ixnround), invitee sees duplicity, credential never lands; #18 signed auth designed but unmerged; KERIA v0.2.0rc1 never verifier-saves received ACDCs, so edges to the membership credential fail./multisig/ixnco-sign; KERIA data dir is the identity (rescue rung for "witnesses have the KEL, agent gone"; backup engine must snapshot it); schema OOBI must be gateway-KERIA-reachable and the SAIDs belong in rendered config; invite links carry the invitee's recovery phrase; browser-minted members = the self-registration path withlocalStorageas the secure store.