IDIP as a core identity alternative to kanidm #725
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.
Dependencies
No dependencies set.
Reference
Matou/idss#725
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?
Destination
An IDSS community can be founded on IDIP (the Indigenous Digital Identity Protocol — KERI/ACDC, as implemented in
matou-appwith KERIA + signify-ts) instead of kanidm: the founder opts in at founding; the gateway stack runs KERIA (+ witness) and an IDSS-owned OIDC bridge behind the ADR 0016 seam; founding mints the founder's AID, the community's group AID, its credential registry and the founder's membership ACDC via signify-ts in place of the kanidm admin ceremony; members join and sign in by AID + membership credential. The map is done when every decision needed to/to-specthat is made.Notes
CONTEXT.mdvocabulary throughout (member, community, IdP, gateway, rescue ladder).Matou/matou-app(org setup = mnemonic → passcode → KERIA agent → witnessed admin AID → org group AID → registry → schema OOBI → membership ACDC; registration + recovery flows;frontend/src/composables/useOrgSetup.ts,frontend/src/lib/keri/client.ts) andMatou/matou-identity(the IIP protocol/architecture v0.2 + any-sync prototype). Laptop clones:~/Documents/1.projects/matou-app,~/Documents/1.projects/matou-identity./grilling+/domain-modelingfor grilling tickets;/researchfor research tickets;/prototypefor the sign-in prototype. ADRs land indocs/adr/(one sequence with DDRs — checkorigin/mainfor the next free number, 0192 at charting).Decisions so far
zitadel/oidc/v3 opin Go with a thin verifier against the gateway's KERIA;sub= member AID,groupsfrom membership/komiti ACDCs, TEL issued-not-revoked = authorisation. Findings: branchresearch/keri-oidc-provider,docs/research/2026-08-24-keri-oidc-provider-landscape.md./bootgated by invite-token forward_auth; witness TCP private. Findings: branchresearch/keria-stack-nixos,docs/research/2026-08-24-keria-stack-on-nixos.md.frontend/src/lib/keri/client.ts(mnemonic → bran → connect-or-boot → witnessed AID → group AID → registry → schema OOBI → issue + IPEX grant; recovery = re-derive bran +listAIDs); ~25KERIClientmethods, the schemas, recovery screen and admin approve steps reuse verbatim; drop/identity/set,/spaces/*, the space-invite smuggled in IPEXm, X-User-AID RBAC; hardening that must travel = witness-anchor polling, KEL push, agent-reboot detection. Live defects: multi-steward issuance forks a kt=1 group KEL (matou-app #62/#63), escrow until witnesses receipt (#51), KERIA rc1 never saves received ACDCs. Surfaced for the map: single issuing steward in v1; the KERIA data dir IS the identity (backup + rescue rung); schema OOBI must be gateway-reachable; invite links carry the recovery phrase. Findings: branchresearch/matou-app-keri-inventory,docs/research/2026-08-24-matou-app-keri-flow-inventory.md.idss-idpwrappingzitadel/oidc/v3, atid.<apex>(kanidm's slot);sub= AID, groups mirror kanidm 1:1 (membership ACDC = members, role = operators, one ACDC per committee); tokens 1h / refresh 30d with TEL re-check / session 12h / PKCE everywhere; stores no member records. ADR 0196 landed./multisig/*exchange on every group event kills the fork); issue/revokekt=1of N, rotate by majority; "add a steward" is v1; solo founder nudged to add a second; stewards == operators. ADR 0197 landed.spikes/732-aid-signin/+ NOTES.md./boot; waiting = AID-without-credential; registry TEL = sole truth for standing (suspend = revoke + gate kill, removal adds roster archive, re-admission = fresh issuance); roster = runtime people; the keria adapter signs nothing — stewards' signify sessions sign, the adapter servesIsIssuedto the bridge. ADR 0198 landed.Not yet specified
(empty — the fog is cleared; destination reached 2026-08-24. See the closure comment for the final dispositions.)
Out of scope
Map closed — destination reached (Ben, 2026-08-24)
All 13 charted tickets resolved in one day (3 research, 7 grillings, 1 prototype, 2 graduated grillings). Design contract for
/to-spec: ADRs 0194–0199, DDR 0200, ADR 0201 + wireframesp1-s3a-identity.html,p1-s6a-recovery-phrase.html,p1-s7x-identity-rows.html+ the S3a/S6a edges inp1-founding.mermaid+ researchdocs/research/2026-08-24-*+ prototype findingsspikes/732-aid-signin/NOTES.md.Closure rulings (Ben, on the remaining fog):
/to-specacceptance criteria + the rehearsal programme.Next act in the pipeline:
/to-specfor the IDIP identity-alternative feature, carrying the contract above. The map stays the parent artifact for post-v1 IDIP arcs (the #7 precedent).Child spec published: #767 (ready-for-agent) — the /to-spec the map named as its next step. Four test seams confirmed by Ben (e2e drive, OIDC-over-HTTP smoke, member-orchestrator port binding, backup dataset port).