investigation: recognised-community + community-operator credentials; pathway to cross-community membership credentials #120

Closed
opened 2026-09-04 10:19:50 +00:00 by ben · 1 comment
Owner

Ben (2026-09-04): investigate how Matou might issue verifiable credentials as part of COA setup, and map the longer membership pathway. Deliverable is a written design investigation (docs/ + an ADR/DDR proposal), not code.

Questions to answer

  1. "Recognised community" credential — issued by Matou to each community organisation that sets up the app. What issues it (Matou's KERI AID? which infrastructure — the coa-shared KERI stack, matou prod, or a dedicated issuer?), what schema (ACDC), what it attests (the org, its app/tenant, the whakawhanaungatanga relationship), where it's held, and how it's verified inside the app.
  2. "Community operator" credential — issued to the admin who completes the setup. Presumably chained to the recognised-community credential (issued to the operator's AID, referencing the org credential). When in the setup flow is the admin's AID known (post-/setup identity creation)?
  3. Cross-community membership pathway — map how recognised communities could themselves issue membership credentials to their members, and how such credentials (issued by other communities) could satisfy Matou's own membership requirements — i.e. a web of trust where Matou recognises a community, and that community's membership attestations carry weight with Matou.

Anchors to survey

  • The app's existing KERI client + credential validation (matou-app backend logs "credential validation disabled" until an org is configured — what enables it, what does it check today?).
  • Matou's existing membership requirements + any existing credential/ACDC work (Matou/matou-identity, idss, matou-research).
  • The coa flow touchpoints: whakawhanaungatanga session (#118) as the trust-establishing event; manual build trigger (#119) as the moment Matou formally "recognises" a community; /setup completion as the operator moment.

Deliverable

  • A doc in docs/ (or matou-research if it outgrows coa) mapping: issuance flows (sequence diagrams), schema sketches, infrastructure placement options with a recommendation, and the phased pathway (recognised community → community operator → cross-community membership recognition), with the one-way doors called out for product decision.

Why ready-for-session

Cross-repo research (matou-app, matou-identity, idss, infra) + product-adjacent judgement; no code changes.

Ben (2026-09-04): investigate how Matou might issue verifiable credentials as part of COA setup, and map the longer membership pathway. Deliverable is a written design investigation (docs/ + an ADR/DDR proposal), not code. ## Questions to answer 1. **"Recognised community" credential** — issued by Matou to each community organisation that sets up the app. What issues it (Matou's KERI AID? which infrastructure — the coa-shared KERI stack, matou prod, or a dedicated issuer?), what schema (ACDC), what it attests (the org, its app/tenant, the whakawhanaungatanga relationship), where it's held, and how it's verified inside the app. 2. **"Community operator" credential** — issued to the admin who completes the setup. Presumably chained to the recognised-community credential (issued to the operator's AID, referencing the org credential). When in the setup flow is the admin's AID known (post-/setup identity creation)? 3. **Cross-community membership pathway** — map how recognised communities could themselves issue membership credentials to their members, and how such credentials (issued by *other* communities) could satisfy Matou's own membership requirements — i.e. a web of trust where Matou recognises a community, and that community's membership attestations carry weight with Matou. ## Anchors to survey - The app's existing KERI client + credential validation (matou-app backend logs "credential validation disabled" until an org is configured — what enables it, what does it check today?). - Matou's existing membership requirements + any existing credential/ACDC work (Matou/matou-identity, idss, matou-research). - The coa flow touchpoints: whakawhanaungatanga session (#118) as the trust-establishing event; manual build trigger (#119) as the moment Matou formally "recognises" a community; /setup completion as the operator moment. ## Deliverable - A doc in `docs/` (or matou-research if it outgrows coa) mapping: issuance flows (sequence diagrams), schema sketches, infrastructure placement options with a recommendation, and the phased pathway (recognised community → community operator → cross-community membership recognition), with the one-way doors called out for product decision. ## Why ready-for-session Cross-repo research (matou-app, matou-identity, idss, infra) + product-adjacent judgement; no code changes.

Close-report — investigation delivered (#120). Ruled by agent under the two-way-door doctrine (ADR 0002) — veto anytime: producing a written investigation + a proposed DDR is revertible by a commit, and every irreversible product/trust decision is left to Ben (not decided here). Proof: the docs are on main.

What landed

  • docs/community-credentials-investigation.md — the full design investigation: issuance flows (sequence diagrams), ACDC schema sketches, infrastructure-placement options + recommendation, the phased pathway, and the one-way doors called out for product decision.
  • docs/adr/0006-design-community-credentials.md — DDR, status: proposed. Recommended shape; nothing built until Ben rules §8.
  • ADR index + STATUS.md milestone log updated in the same commit.
  • Commit a61a46fe5303b19ee389aef82cb99405b7c04a88 on main.

Answers to the three questions

  1. Recognised-community credential — the substrate already exists and is KERI/ACDC: matou-app membership is already an ACDC issued by a community's runtime-minted org AID and verified app-side (the Go backend does a string-compare, not real verification). COA needs one new issuer — a Matou COA registrar AID (recommend a Matou-stewards multisig on the coa-shared KERIA) — and a new RecognisedCommunityCredential schema attesting org/slug/tenant + the whakawhanaungatanga relationship, issued at the manual build trigger (#119). Hard blocker surfaced: the community's org AID is minted in-app at /setup and COA never sees it — so who the subject is and how the AID reaches Matou is a design choice (recommend making recognition mutual / presentation-based rather than a unilateral certificate — see below).
  2. Community-operator credential — chained (ACDC e edge) to the recognition credential, subject = the admin's personal AID, which exists after /setup step 3 (admin AID) / step 4 (org AID). Maps onto the existing (not-yet-SAIDified) Operations Steward role, but issued by Matou. Ben-gated (member-facing).
  3. Cross-community membership — recognised communities already issue membership ACDCs; the web of trust is Matou recognises B → a verifier accepts B's member credential because B's issuer AID holds a live recognised-community credential (the trusted-issuer / trust-policy pattern the matou-research trust-graph docs already sketch). Blocked on the per-community communityName schema change (today every community stamps communityName: "MATOU" — the phase-4 carried-forward item), kept to one hop for v1.

The tension I want to name

matou-research's own Indigenous Identity Protocol says Matou "must never declare who is or is not Indigenous" and "does not rely on a global trust anchor." A unilateral "recognised community" certificate collides with that; a mutual relationship credential (both sign — whakawhanaungatanga is the establishment of relationship) does not. The DDR recommends mutual. Also surfaced: an unreconciled architecture fork in the research corpus — KERI/ACDC (shipped) vs W3C-DID/VC (the IIP vision docs). This design stands on KERI/ACDC because that is what matou-app ships.

One-way doors reserved for Ben (DDR §8, proposed defaults inside)

(1) issue credentials as a Matou root of trust at all; (2) unilateral vs mutual recognition; (3) where the registrar AID lives + key custody; (4) the AID-return channel; (5) issuing to a named individual; (6) the communityName schema migration; (7) widening Matou's membership to accept other communities' creds; (8) the KERI-vs-DID/VC strategic fork.

Deliverable is complete and revertible. Closing; the DDR stays proposed pending Ben's ruling on §8, and the phased pathway (P0→P1→P2) can be filed as tickets once he does.

**Close-report — investigation delivered (#120).** Ruled by agent under the two-way-door doctrine (ADR 0002) — veto anytime: producing a written investigation + a *proposed* DDR is revertible by a commit, and every irreversible product/trust decision is left to Ben (not decided here). Proof: the docs are on `main`. ## What landed - `docs/community-credentials-investigation.md` — the full design investigation: issuance flows (sequence diagrams), ACDC schema sketches, infrastructure-placement options + recommendation, the phased pathway, and the one-way doors called out for product decision. - `docs/adr/0006-design-community-credentials.md` — **DDR, status: proposed**. Recommended shape; nothing built until Ben rules §8. - ADR index + `STATUS.md` milestone log updated in the same commit. - Commit `a61a46fe5303b19ee389aef82cb99405b7c04a88` on `main`. ## Answers to the three questions 1. **Recognised-community credential** — the substrate already exists and is **KERI/ACDC**: matou-app membership is already an ACDC issued by a community's runtime-minted **org AID** and verified app-side (the Go backend does a string-compare, not real verification). COA needs **one new issuer** — a **Matou COA registrar AID** (recommend a Matou-stewards multisig on the coa-shared KERIA) — and a new `RecognisedCommunityCredential` schema attesting org/slug/tenant + the whakawhanaungatanga relationship, issued at the **manual build trigger (#119)**. **Hard blocker surfaced:** the community's org AID is minted *in-app* at `/setup` and COA never sees it — so *who the subject is* and *how the AID reaches Matou* is a design choice (recommend making recognition **mutual / presentation-based** rather than a unilateral certificate — see below). 2. **Community-operator credential** — chained (ACDC `e` edge) to the recognition credential, subject = the admin's personal AID, which exists **after `/setup` step 3** (admin AID) / step 4 (org AID). Maps onto the existing (not-yet-SAIDified) Operations Steward role, but issued *by Matou*. Ben-gated (member-facing). 3. **Cross-community membership** — recognised communities already issue membership ACDCs; the web of trust is *Matou recognises B → a verifier accepts B's member credential because B's issuer AID holds a live recognised-community credential* (the trusted-issuer / trust-policy pattern the matou-research trust-graph docs already sketch). Blocked on the **per-community `communityName`** schema change (today every community stamps `communityName: "MATOU"` — the phase-4 carried-forward item), kept to **one hop** for v1. ## The tension I want to name matou-research's own Indigenous Identity Protocol says Matou **"must never declare who is or is not Indigenous"** and **"does not rely on a global trust anchor."** A *unilateral* "recognised community" certificate collides with that; a **mutual relationship** credential (both sign — whakawhanaungatanga *is* the establishment of relationship) does not. The DDR recommends **mutual**. Also surfaced: an unreconciled **architecture fork** in the research corpus — KERI/ACDC (shipped) vs W3C-DID/VC (the IIP vision docs). This design stands on KERI/ACDC because that is what matou-app ships. ## One-way doors reserved for Ben (DDR §8, proposed defaults inside) (1) issue credentials as a Matou root of trust at all; (2) unilateral vs mutual recognition; (3) where the registrar AID lives + key custody; (4) the AID-return channel; (5) issuing to a named individual; (6) the `communityName` schema migration; (7) widening Matou's membership to accept other communities' creds; (8) the KERI-vs-DID/VC strategic fork. Deliverable is complete and revertible. Closing; the DDR stays `proposed` pending Ben's ruling on §8, and the phased pathway (P0→P1→P2) can be filed as tickets once he does.
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.

Dependencies

No dependencies set.

Reference
Matou/coa#120
No description provided.