The community wallet: matou-app holds and presents IDIP credentials, and the Coa and IDSS setups are paired #1293

Open
opened 2026-09-07 19:39:20 +00:00 by ben · 2 comments
Owner

Destination

A community's wallet — its own branded community app, built with Coa on matou-app — is where every IDIP member holds their identity and the credentials the community issues them, and how they sign in at the community's door instead of typing the twelve words. The two setups that today each mint a community (Coa's org setup on Mātou-hosted tenancy; IDSS founding on the community's own gateway) are paired: each detects whether the other already exists, adopts it if so, recommends it if not, and works alone if the operator so chooses. The map is done when every decision needed to /to-spec this (one child spec on this repo, naming per-repo work for idss, matou-app and coa) is made.

Notes

  • Domain: ADRs 0194–0201 (IDIP path), 0212 (sign-in verification + roster wire), 0215/0216, DDR 0217 (credentials), 0222 (service access checks the roster; external presentation deferred), 0201 (rescue dataset). CONTEXT.md nouns added while charting: Wallet, Doorkeeper, Community backend, Rehost — use them.
  • Reference implementations: Matou/matou-app (wallet + steward flows; frontend/src/lib/keri/client.ts, useOrgSetup.ts, useAdminActions.ts, useClaimIdentity.ts), Matou/coa (form → tenant → branded build; ADRs 0005/0006/0008, docs/community-credentials-investigation.md), matou-infrastructure/keri (the coa-shared stack; pins signify-ts 0.3.0-rc2 / KERIA 0.2.0-rc1). Laptop clones under ~/Documents/1.projects/. This repo: internal/idp (bridge), internal/keriauth, internal/keria (adapter/roster), app/src/keriweb (browser join/sign-in), docs/research/2026-08-24-matou-app-keri-flow-inventory.md.
  • KERI facts established while charting (verified in the pinned KERIA source): the designed authentication is OOBI exchange + BIP-39 challenge words (GET /challenges, out-of-band hand-off, signed /challenge/response exn, POST/PUT /challenges_verify/{aid}); verification signs nothing — but it runs on the agent that holds the verifier's mailbox, and the community group AID's agents live only in stewards' browsers (ADR 0197/0198), so the group AID cannot be the server-side verifier.
  • Skills: /grilling + /domain-modeling for grilling tickets; /research for research tickets (instruct inline — background children never report back across the Agent boundary); /prototype for the prototype ticket. Decisions land as ADRs/DDRs in docs/adr/ (check origin/main before minting a number).
  • Standing preferences (Ben): sovereignty first — Mātou is never a gate on a community's founding or sign-in; the operator's choice is always kept; nothing built for the browser path is thrown away before the wallet exists.

Charting rulings (Ben, 2026-09-07)

  1. Destination = holder wallet (receive + sign in), not sign-in-only and not external presentation.
  2. One AID per person, many communities. A second community introduces the existing AID rather than minting (re-derive on its backend from the same twelve words, KEL through witnesses) — second-community case is fog, v1 = one community, one app, one AID.
  3. Sign-in is KERI-native: the designed challenge-words process, out-of-band hop = QR/deep link carrying the doorkeeper's OOBI + the words; the wallet answers with one signed /challenge/response exn. Reversed by ADR 0235 (#1298): the challenge is the bridge's (ADR 0212 §1), carried by QR/deep link; the wallet signs it and presents its credential to the Doorkeeper.
  4. The verifier is a Doorkeeper — a community-owned single-sig AID on the gateway's KERIA, booted at seeding, driven by a bridge-owned signify sidecar, vouched for by the community identity. Chosen over agentless Go verification because it keeps the door reusable for cross-community credentials later. Narrowed by ADR 0235 (#1298): a pure verifier of presented credentials — no registrations, no challenges, no copies.
  5. Pairing = the community backend descriptor (one well-known document both setups serve and probe), not Mātou's recognition registry (trust hint only, never a gate) and not merged wizards.
  6. IDSS-first → Coa adopts the gateway (a pointer; nothing moves). Coa-first → founding offers Rehost (from an honest point-at mode); federation (two identities for one people) is never offered.
  7. The IDIP choice at founding (S3a) states that every member uses a digital wallet on their own device, and offers "design your community app with Coa now" or "later".
  8. No interim wallet: until the branded app exists the browser join/sign-in remain the door; a member adopts their identity into the app by typing their twelve words (same agent, same backend).
  9. The wallet is a full steward surface (approve, issue, revoke from the app) — one roster, two seats.
  10. One map here on Matou/idss; build tickets go per repo at ticketing time.
  11. Walking order: backend contract + IDSS-first pairing → doorkeeper + wallet sign-in → Coa-first rehost.

Decisions so far

  • Research: what a community backend serves today (Coa tenant, matou-app boot reads, IDSS gateway doors) — the gap table — a Coa build bakes ONE runtime-read config URL; load-bearing fields = keri admin/boot/cesr, ≥2 witness AIDs, any-sync block; the gateway already serves all five doors publicly but publishes no descriptor, gates /boot, serves only its own schema SAIDs (matou still pins communityName: "MATOU"), runs ONE witness and KERIA 0.4.0 vs coa-shared's 0.2.0-rc1; coa's own backend probe hits the wrong path. Branch research/community-backend-contract.

  • Research: hosting the Doorkeeper's signify session beside the Go bridge, the challenge round trip on KERIA 0.2.0-rc1, and vouching options — a foreign exn is silently dropped after 20 s unless the doorkeeper resolved the sender's OOBI first (bare OOBI suffices; sign-in bootstrap must carry the member's OOBI); delivery is direct to the doorkeeper's agent end URL; NO Go signify exists → signifypy 0.4.2 fits the gateway's python set (kli verify = 300 s blocking poll); loopback boot is ungated; delegation = wallet-verified at OOBI time but needs the group to exist + one steward approve per rotation, credential buys only revocability; doorkeeper adds nothing to the 0201 dataset except its passcode var; 0.2.0-rc1↔0.4.0 wire identical. Branch research/doorkeeper-hosting-and-vouching.

  • Research: rehost mechanics on the pinned KERI stack — KEL/TEL portability, group witness rotation, agent re-derivation, tenant repoint — same twelve words ⇒ same AID is FALSE for wallet-minted identities (matou-app never passes bran as the AID salt; the per-AID salt is recoverable only while the old agent lives) — IDSS-minted ones re-derive; an existing AID CAN be adopted onto a new KERIA (app-level POST over the pulled KEL, no library verb), the group hab via groups().join; group witness rotation feasible, one steward signs, but keripy 1.2.13's catchup still carries the bug Mātou patches; TEL moves via CESR export + original vcp re-register; roster NOT rebuildable from TEL alone; nothing re-derives automatically at next launch (gated /boot → 403). Branch research/rehost-mechanics.

  • The community backend descriptor — the well-known document both setups serve and probe — ADR 0226: the descriptor IS matou-app's client-config, served by Mātou's config server INSTALLED ON THE GATEWAY (the gateway is a matou-infrastructure backend); control plane = only writer of org-config (the app never founds on IDSS); baked URL = the apex (two path routes); additive 1.1 with optional community/doorkeeper/api_url/schemas/boot/backend_kind+stack/app, anysync optional; public unsigned TLS; founding "Coa now" submits the prefilled form and never waits; config server ALWAYS on IDIP, any-sync WHEN Coa is chosen (reverses #725's any-sync-out for the Coa case → research #1314).

  • Research: any-sync and Mātou's config server on the gateway — node types, NixOS packaging, resource floor, secrets/rescue, install-later — minimal set = coordinator + tree + consensus + single-member MongoDB (file node + Redis-Bloom + S3 only for file bytes); any-sync is load-bearing DAILY (backend refuses to start without the coordinator; profiles/chat/files are any-sync trees); all five daemons build from source with buildGoModule but Mongo is SSPL and nixpkgs redis lacks Bloom → podman images are the alternative; ≈0.2–0.4 GiB idle, 4 GB floor holds, CPU under load unmeasured; network + node keys NOT re-derivable → ADR 0201 dataset; config server = one stdlib-Python file (writePython3Bin), but neither URL layout mints keria.<apex> doors and witness AIDs are hard-coded (the 1.1 bump must fix both); install-later has no app-side spaces bootstrap; any-sync is raw TCP, cannot ride Caddy 443. Branch research/anysync-and-config-server-on-the-gateway.

  • IDSS-first pairing: founding offers Coa, the Coa tenant adopts the gateway, the branded app boots against it — DDR 0228 (+ DDR 0227 brand kit secondary colour + round-logo dialog, build #1328): S3a on IDIP shows the wallet statement + two big cards (Option 1 build your community wallet now — preselected; Option 2 the IDIP wallet — disabled, coming soon); Option 1 = one extra step S3a-APP (Coa's feature toggles + live phone preview; brand + backend steps skipped); the submission rides the END of the deployment pipeline, any-sync installs at founding, Coa auto-builds IDSS-originated submissions; one app card × 4 states on operator home + dashboard overview, gateway polls Coa's public status document, ready writes the descriptor's app block.

  • Member identity adoption into the wallet: twelve words typed once into the app, same agent, nothing re-minted — DDR 0230 (amends ADR 0212): the app is the main way in; matou-app's three doors stay; registration on IDSS is open (/boot ungated, membership still steward-approved); an unadmitted reaper deletes agents with no Membership + no pending join after 7 d (reject marks, never deletes at once) via an admin-only loopback delete route on the pinned KERIA; Recover connects, never boots (found → home + one-time profile/space bootstrap, or the waiting screen; not found → one message, two exits); the invite opens app-first once the app card is ready (W-S0, continue in the browser instead) + a one-line nudge on P6-S5 and sign-in; browser and app coexist; proof = Playwright over the app's web build with the gateway agent count unchanged. Flow wallet.mermaid, wireframes wallet/.

  • One roster, two steward seats: reconciling matou-app's approve/issue flows with the IDSS invite gate and roster wire — ADR 0235 (amends 0198/0212/0226/0230): standing is the credential, not a list the gateway is told — the join is matou-app's registration exchange untouched (browser join sends the same; the unsigned post retires); the admin inbox is per steward, in their agent (dashboard shows it after the signing unlock); the roster holds no waiting members and the roster wire retires; one community ledger (community.registry, carried at promotion; per-steward registries off on IDSS); the Doorkeeper is a pure verifier — the wallet signs the bridge's challenge and presents its credential, revocation read off the witnessed KEL seals (→ research #1387); no gateway member list; no automatic reaper (reject deletes the agent, a steward act); the invite preset rides the exchange; profile claims self-asserted at the door; app admin area on IDSS = keep / rewire / hide list.

  • Research: how the Doorkeeper verifies a presented credential on the pinned stack — IPEX grant contents, revocation from witnessed KEL seals vs TEL fetch, holder binding, the verifier sidecar — a grant alone verifies nothing on stock 0.4.0: the embeds are parsed only when the receiver admits (local admit, no wallet round-trip, but it saves a copy → explicit delete); seal-only revocation is decidable but not keripy's model — the gateway's witness serves the TEL over unsigned GET, no steward online needed; keripy saves a revoked credential rather than refusing → the state read is the check; holder binding (presenter == a.i == challenge signer) is entirely the Doorkeeper's; schemas auto-cached on the gateway (KERIA_DURLS), public OOBI https://schema.<apex>/oobi/<SAID>; the wallet has no present-as-holder code yet. Bends #1300: a no-agent alternative — the wallet posts the grant bytes in ADR 0212's presentation field and the bridge verifies in Go (Ed25519 + SAID recompute + seal walk over the witness KEL) — no Doorkeeper AID, no sidecar. Doc docs/research/2026-09-10-doorkeeper-verification.md.

  • The Doorkeeper identity: seeded, sidecar-driven, vouched for by the community identity, rescued with it — ADR 0236: there is NO Doorkeeper identity (charting ruling 4 reversed) — the sign-in bridge verifies the presented credential in Go against the issuer's witnessed KEL read from the community witness (SAIDs recomputed, iss/no-rev seals, schema, holder == challenge signer); the wallet posts the bare credential CESR stream (vLEI-verifier convention) with its signed challenge; present-as-holder is general (answers IPEX apply from other verifiers too); verifier over a trust list pinned in v1 to the community identity; ledger unreachable → fail closed; descriptor doorkeeper{aid,oobi} → signin{url}; the wallet keeps known doors (home pre-trusted, others by first-contact consent) and signs over the door's address; no seeding, sidecar, vouching, rescue entry or saved copy; "Doorkeeper" = the bridge's verifier role.

  • Coa-first founding: detect the Coa tenant, run point-at, offer Rehost — the walk, the copy, the irreversible steps — ADR 0238 + DDR 0239: founding ADOPTS the community identity where it stands; coming home is a DATA MOVE, not a re-mint. Ben's grill question ("is there not an export + upload process?") reframed it and the stack agreed — ADR 0201 already treats the identity AS its data directory (keripy root + witness state, quiesce-copy-resume), KERIA gives each agent its own dirs named by the controller AID (Habery(name=caid,…), verified in the pinned image, keripy 1.2.2), and research #1303's random per-AID salt travels inside the agent dir — so the protocol walk is the FALLBACK, not the path. Founding mints nothing (S6a does not run) and proves stewardship by wallet sign-in + steward credential through ADR 0236's own verifier; point-at is a resting place (one founding-written trust row naming FOREIGN witnesses, fail-closed intact, an honest standing row that never nags); the tenant repoints to the apex from day one while the descriptor hands back Mātou's addresses until each layer moves (Coa out of the loop at the dangerous moment); the move is one short window for everyone at once, released by a self-service handover door (wallet proof, that community's agents only, delivered only to the descriptor's address), rehearsed sealed first, then copy → start → the gateway's own ADR 0201 backup → destroy Mātou's copy; witnesses rotate, not move. Content does NOT move (Mātou runs ONE any-sync network for all communities, none of it re-derivable) → research #1405. Amends ADRs 0226/0228/0236; CONTEXT.md Rehost rewritten + Handover added.

  • Prototype: wallet sign-in by challenge words — QR/deep link → signed /challenge/response → doorkeeper verify → OIDC completes (#1301) — PROVEN end to end (spikes/1301-wallet-signin, landed 48902554): the page mints a challenge and shows a QR/deep link carrying the door's own address; the wallet signs idss-idp:<door>:<aid>:<nonce>, posts the bare CESR stream; the door verifies in Go — SAIDs recomputed from the received bytes, the issuer's witnessed KEL fetched by the door itself, the iss seal walked, schema against the trust list, holder against the signer. No Doorkeeper identity, no signify, no sidecar, no IPEX, no saved copy — ADR 0236 holds. Green three ways: a signature bound to a fake door is refused (403); after revoke the same presentation is refused while the wallet's copy still reads iss; a browser drive walks door → first-contact prompt → Approve → Signed in. Numbers: the verifier is ~450 lines of Go over internal/keriauth + one Blake3 dep; a warm verdict is 142 ms (witness fetches ~120 ms, cryptography 13 ms); the presentation can be 693 bytes not 5792 (the door reads only the ACDC and its iss); golden vectors are KERIA's own bytes in a fixture dir, so the test needs no keripy, no container, no network. The finding that bends #1302: the round trip is the wallet's — signify-ts re-derives the signer with Argon2 on every sign (1.6–2.0 s each), so sign-in costs 5–8 s of wallet crypto against 0.14 s of door; caching it is one code path in matou-app, and no copy should promise speed until it exists. Two ADR 0236 amendments: GET /query?typ=kel is a keripy 1.2.x route (older witnesses serve the same KEL at /oobi/<aid> — try both, a foreign community's witness may be any generation), and no TEL fetch is needed at all. matou:// unexercised — registering the scheme is a matou-app packaging item, the only thing between "Open my community app" and a same-device tap.

  • Sign-in UX with the wallet: approve-in-app on the bridge page, the wallet's approve screen, remembered doorkeepers, and when the browser door retires (#1302) — DDR 0246: the words door demotes to a link at app-ready and retires only by the operator's App-only switch (one Members-surface row, greyed until the app card is ready; closes the words link + DDR 0230's browser join fallback + DDR 0217's dashboard signing unlock together; reversible; revokes nothing — no signing relay, steward acts hand off to the app); app door primary by screen width (laptop QR / phone Open my community app; matou:// registration = matou-app packaging); the approve card names the service, the sign-in site (the copy word for a known door) and what will be shown; the first-contact prompt is its own screen (address as fact, name as claim, two taps); Sign-in sites you trust list, home pinned; no countdown, no speed promise; refusals "Your access could not be verified. It looks like …", Try again capped at three, records-unreachable uncapped; sessions unchanged but the silent hop walks the ledger (ADR 0196 amended, fail closed); seam = bridge OIDC smoke + Go verifier + golden vectors, Playwright for four drive legs. Next: /wireframe wallet-signin → /to-spec.

  • Child spec: wallet sign-in (#1492) — /to-spec off DDR 0246 + the wallet-signin/ wireframes (Ben confirmed 2026-09-15): 35 stories with Given/When/Then, per-repo work for idss (bridge routes + the Go verifier lifted from #1301, App-only setting, dashboard row + hand-off), matou-app (present-as-holder, known doors, approve card, matou:// registration, signer cache) and matou-infrastructure (descriptor signin{url}); seam = the bridge OIDC smoke + golden vectors; four drive legs. TICKETED 2026-09-16 (/to-tickets, Ben confirmed granularity + ordering): idss #1523 Go verifier, #1524 ledger-walked sessions, #1525 the door's three routes, #1526 the app-door page, #1527 refusals + capped Try again, #1528 the App-only setting + row, #1529 its three closures, #1530 the ready-gate wiring, #1531 the drive legs (session); matou-app #531 approve card, #535 sign-in sites, #532 the link scheme. Every one sits behind #1512 (the descriptor answering from outside) — #1495 lands first.

  • Child spec: community app pairing (#1495) — /to-spec off ADR 0226 + DDR 0228 (+ ADR 0235/0236/0238 amendments) and the p1-s3a-identity / p1-s3a-community-app frames (Ben 2026-09-15 "start the community pairing slice now"): the config server unit + two apex routes + the control plane as the descriptor's only writer (1.1: community/api_url/schemas/boot/backend_kind/stack/signin{url}/app), S3a's wallet choice + a new "later" line + S3a-APP, the Coa submission at the pipeline tail (non-fatal), any-sync under podman when Option 1, the app card × 4 states with the status poll, the dashboard twin; per-repo work for idss / matou-infrastructure (1.1) / matou-app (tolerances) / coa (origin auto-build, probe path). TICKETED 2026-09-16: idss #1510 config server unit + apex routes → #1511 the descriptor writer (+ golden documents) → #1512 the 1.1 document from outside, beside #1513 S3a/S3a-APP and #1514 the app record; then #1515 the tail, #1516 the card, #1517 the poll → ready, #1518 any-sync, #1519 the spaces at the tail, #1520 the space-ID door, #1521 the dashboard twin, #1522 the drive leg (session); matou-app #530 the space-creation package (precedes #1519), #533 the 1.1 loader, #534 the first-steward fallback; matou-infrastructure #23 config server 1.1; coa #143 IDSS-originated auto-build. 44 native blocking edges, cross-repo included — the frontier today is #1510, #1513, #1514, matou-app #530, matou-infrastructure #23, coa #143. Two mechanisms ruled at ticketing and recorded in ADR 0226: the space-creation package is a nested PUBLIC Go module resolved through matou-app's GitHub mirror, and the founder's twelve words cross the operator app's local helper seam for the spaces step alone (in memory, zeroed after, never off the laptop). Ruled same day, twice (ADR 0226 amended): FOUNDING creates the three community any-sync spaces at the pipeline tail as the founder — the wallet derives their keys from the founder's twelve words, which the laptop holds until the scrub — through a Go package matou-app exports (one convention); the descriptor is complete from its first outside read. Fallback = the first steward's wallet ("later" from the dashboard, pre-dating communities): creates them, posts the IDs to the steward API, first write wins. Founding flow amended (S3a-APP, tail, app card); flow + wireframe indexes fixed. Next: /to-tickets #1495 first (B before A–E), then #1492 behind its signin{url} tickets.

  • Child spec: panel unlock (#1929) — /to-spec off #1886 + ADR 0282 / DDR 0284 and the panel-unlock/ wireframes (Ben confirmed seams, scope and the handover mechanism 2026-09-27): 41 stories with Given/When/Then over the steward seat unlocking at control-panel sign-in and the Members tab reading the one community ledger through it. Settles this map's "steward acts on the wallet, in detail" item for the panel side — the seat, not the words, is what makes the list and the per-steward admin inbox readable; the roster is display-only. Mechanism ruled at the gate: ADR 0282 d.6's single tab does not exist (id.<apex> → admin.<apex> is a full navigation), so the unlock line arms the wallet for that one sign-in and the panel tab mints the sealing key and completes the handover — one tap, memory only, nothing in a URL. Per-repo work for idss (the app door's one-shot relay, a panel session epoch for sign-out-everywhere since the SSO cookie is stateless, the seat's phone source, the ledger-backed list + inbox) and matou-app (the unlock line, the unlock-only card, sealing, the sign-out-everywhere row — its second copy line gated on #1914). Seams: the app door's HTTP surface, the control-plane session resolver, and the dashboard's existing injected steward-bundle loader; one drive leg steward-panel-unlock. Slices: ledger list behind the words unlock → handover → sign-out-everywhere → leg, all behind #1910. TICKETED 2026-09-27 (/to-tickets, Ben confirmed granularity + edges; no slice-map — one feature, no cross-feature coupling left to find): idss #1930 the ledger read (frontier) → #1931 Members from the ledger (#1886's fix) → #1932 the admin inbox; #1933 the app-door relay → #1934 the phone unlock; #1935 sign-out-everywhere; #1936 the drive leg (session). matou-app #663 the unlock line → #664 the unlock-only card; #665 the sign-out row. 16 native blocking edges, cross-repo included; every ticket carries a task manifest. #1910 design-unblocked at ticketing (DDR 0284 d.4 is its design) since it gates #1931/#1933.

  • Child spec: the Administrator credential (#1948) — /grill-ux-with-docs → ADR 0286 (13 decisions, Ben 2026-09-28) → /wireframe (9 screens) → /to-spec: role is deleted and holding a second built-in credential grants the control panel, admin in every community service (#1535's ruled policy, carrier swapped) and matou-app's founding member (d.13 — one super user across both apps, so a founder needs no administrator-only surface). Signing stays with the group identity: promotion issues the credential, demotion revokes exactly the SAID it issued, the last live one cannot be revoked, founding issues it to the founder and there is no backfill. Wireframing killed one node — a non-steward administrator has no Members tab, because the registry lives in stewards' agents and both alternatives would have made ADR 0282 d.8 untrue. 25 stories with Given/When/Then; per-repo work for idss (the built-in, one decider over verified claims, expand–contract on role, the epoch bump on revoke) and matou-app (resolve the founding-member bundle from the credential; granting founding member issues it; the steward check asks signify for group membership). Amends ADR 0196, ADR 0235 d.10, DDR 0217, #1876 r1 and #1535's reconciler key.

Not yet specified

  • The second community (ruling 2) — NOTE research #1303: wallet-minted AIDs do NOT re-derive from the twelve words (random per-AID salt); "introduce, don't re-mint" must move the salt or adopt the KEL. Cross-backend reachability — a wallet whose agent is on backend X answering the door on backend Y (a known door after first contact — ADR 0236 §5); the gateway's KERIA resolving foreign OOBIs and accepting exchanges from resolved contacts; re-deriving on a second backend. Graduates after the doorkeeper and rehost tickets settle the mechanics — both now settled: ADR 0236 leaves the door reading a foreign issuer's witnessed KEL from a trust row (so "answering a door on another backend" is already the known-door case), and ADR 0238 moves the salt by moving the agent's directory, so the rehost half no longer needs re-derivation at all. What is left here is genuinely the SECOND community: one person's one AID introduced to a backend that never hosted it, with no agent of theirs to lift.
  • The IDIP wallet app (Ben, ruling 8 note; now visible on S3a as Option 2, disabled "Coming soon" — DDR 0228): if communities need a wallet before their branded Coa app exists, a plain Mātou app pointed at the community backend by the join link. Not built now; kept here so it is not forgotten.
  • Steward acts on the wallet, in detail (ruling 9; ADR 0235 settled the protocol): signing-unlock semantics on a device vs DDR 0217 ruling 9's once-per-dashboard-session; the promotion rail carrying the community ledger into the new steward's agent (and into a steward who joined after applications were sent — they hold no copy); what the control plane's roster projection keeps for display (name/role/last seen) now that it is not standing; the dashboard's Members list reading the unlocked steward's agent.
  • Per-community credential schemas in the wallet: matou-app's membership schema pins communityName: "MATOU" (Coa investigation §5.2) while this repo authors its own SAIDs (credschema); what the wallet must accept from an IDSS backend and how the descriptor carries schema OOBIs.
  • Rescue with a wallet: the ADR 0195 ladder when the phrase lives in an app on a phone (device loss, app reinstall; ADR 0236 — no doorkeeper joins the ADR 0201 dataset); and — ADR 0235 — a rejected applicant's identity is removed by the steward's act and unrecoverable, so the ladder must say so.
  • A signed descriptor (ADR 0226 decision 6): for the cross-community feature, where a wallet meets a backend nobody baked in — who signs (the community identity — ADR 0236 leaves no doorkeeper to sign) and what matou-app verifies; a foreign door's first-contact prompt (ADR 0236 §5) is what the wallet shows meanwhile.
  • Members whose membership credential predates the community spaces (ADR 0226 amendment 2026-09-15): the community-space invite key is embedded in the membership credential at issue time on coa-shared; on IDSS the dashboard's browser-era issuance embeds none, whenever the spaces were created — how such a member's wallet joins the spaces at adoption is DDR 0230's first-landing edge to carry.
  • Coa later: the community initialisation pipeline (Ben, 2026-09-08 — any-sync stays conditional on Coa; ADR 0226 decision 8 reconfirmed against research #1314; "always install any-sync as a profile layer" considered and declined): a community that installs any-sync after founding has members whose wallets never created their private space and no community/read-only/admin spaces — an app-side (or control-plane-driven) bootstrap that does not exist today; also which store shape (source-built vs podman) and the public TCP ports. ADR 0238 §12 adds a second case: a Coa-first community installs no any-sync at founding at all (its descriptor keeps pointing at Mātou's network), so the same install-later bootstrap is what research #1405's answer will need.
  • Recognition as a trust hint (ruling 5): showing Mātou's recognition credential (Coa ADR 0006) on the wallet's community screen without gating anything on it.

Out of scope

  • An operator-editable trusted-issuers list (accepting another community's credentials at this door, and the service-access rule naming foreign issuer/schema pairs) — ADR 0236 §3 builds the verifier over a trust list so this is a list entry later, not a verifier change; v1 pins the list to the home community. Its own effort, beside the external-presentation map above.
  • Presenting a community credential to a verifier outside the community (another community, a funder, a bank) — ADR 0222's deferred feature; its own map. The doorkeeper keeps that door open, it does not walk through it.
  • kanidm-path communities — no wallet; unchanged.
  • Merging the two setup wizards or making Mātou's recognition registry a gate on founding — rejected while charting (rulings 5, and the sovereignty preference).
  • Federating two community identities for one people (Coa-first sub-option c) — rejected; rehost is the adoption.
  • The DID/VC fork Coa's investigation leaves open — IDSS is KERI/ACDC (ADR 0194).
## Destination A community's **wallet** — its own branded community app, built with Coa on `matou-app` — is where every IDIP member holds their identity and the credentials the community issues them, and how they sign in at the community's door **instead of typing the twelve words**. The two setups that today each mint a community (Coa's org setup on Mātou-hosted tenancy; IDSS founding on the community's own gateway) are **paired**: each detects whether the other already exists, adopts it if so, recommends it if not, and works alone if the operator so chooses. The map is done when every decision needed to `/to-spec` this (one child spec on this repo, naming per-repo work for `idss`, `matou-app` and `coa`) is made. ## Notes - **Domain:** ADRs 0194–0201 (IDIP path), 0212 (sign-in verification + roster wire), 0215/0216, DDR 0217 (credentials), 0222 (service access checks the roster; external presentation deferred), 0201 (rescue dataset). `CONTEXT.md` nouns added while charting: **Wallet**, **Doorkeeper**, **Community backend**, **Rehost** — use them. - **Reference implementations:** `Matou/matou-app` (wallet + steward flows; `frontend/src/lib/keri/client.ts`, `useOrgSetup.ts`, `useAdminActions.ts`, `useClaimIdentity.ts`), `Matou/coa` (form → tenant → branded build; ADRs 0005/0006/0008, `docs/community-credentials-investigation.md`), `matou-infrastructure/keri` (the coa-shared stack; pins signify-ts 0.3.0-rc2 / KERIA 0.2.0-rc1). Laptop clones under `~/Documents/1.projects/`. This repo: `internal/idp` (bridge), `internal/keriauth`, `internal/keria` (adapter/roster), `app/src/keriweb` (browser join/sign-in), `docs/research/2026-08-24-matou-app-keri-flow-inventory.md`. - **KERI facts established while charting (verified in the pinned KERIA source):** the designed authentication is OOBI exchange + BIP-39 challenge words (`GET /challenges`, out-of-band hand-off, signed `/challenge/response` exn, `POST/PUT /challenges_verify/{aid}`); **verification signs nothing** — but it runs on the agent that holds the verifier's mailbox, and the community group AID's agents live only in stewards' browsers (ADR 0197/0198), so the group AID cannot be the server-side verifier. - **Skills:** `/grilling` + `/domain-modeling` for grilling tickets; `/research` for research tickets (instruct inline — background children never report back across the Agent boundary); `/prototype` for the prototype ticket. Decisions land as ADRs/DDRs in `docs/adr/` (check `origin/main` before minting a number). - **Standing preferences (Ben):** sovereignty first — Mātou is never a gate on a community's founding or sign-in; the operator's choice is always kept; nothing built for the browser path is thrown away before the wallet exists. ### Charting rulings (Ben, 2026-09-07) 1. **Destination = holder wallet** (receive + sign in), not sign-in-only and not external presentation. 2. **One AID per person**, many communities. A second community *introduces* the existing AID rather than minting (re-derive on its backend from the same twelve words, KEL through witnesses) — second-community case is fog, v1 = one community, one app, one AID. 3. ~~**Sign-in is KERI-native**: the designed challenge-words process, out-of-band hop = QR/deep link carrying the doorkeeper's OOBI + the words; the wallet answers with one signed `/challenge/response` exn.~~ **Reversed by ADR 0235 (#1298):** the challenge is the bridge's (ADR 0212 §1), carried by QR/deep link; the wallet signs it and **presents its credential to the Doorkeeper**. 4. **The verifier is a Doorkeeper** — a community-owned single-sig AID on the gateway's KERIA, booted at seeding, driven by a bridge-owned signify sidecar, vouched for by the community identity. Chosen over agentless Go verification because it keeps the door reusable for cross-community credentials later. **Narrowed by ADR 0235 (#1298): a pure verifier** of presented credentials — no registrations, no challenges, no copies. 5. **Pairing = the community backend descriptor** (one well-known document both setups serve and probe), not Mātou's recognition registry (trust hint only, never a gate) and not merged wizards. 6. **IDSS-first → Coa adopts the gateway** (a pointer; nothing moves). **Coa-first → founding offers Rehost** (from an honest point-at mode); federation (two identities for one people) is never offered. 7. **The IDIP choice at founding (S3a) states that every member uses a digital wallet on their own device, and offers "design your community app with Coa now" or "later".** 8. **No interim wallet**: until the branded app exists the browser join/sign-in remain the door; a member adopts their identity into the app by typing their twelve words (same agent, same backend). 9. **The wallet is a full steward surface** (approve, issue, revoke from the app) — one roster, two seats. 10. **One map here on `Matou/idss`**; build tickets go per repo at ticketing time. 11. **Walking order:** backend contract + IDSS-first pairing → doorkeeper + wallet sign-in → Coa-first rehost. ## Decisions so far <!-- one line per closed ticket --> - [Research: what a community backend serves today (Coa tenant, matou-app boot reads, IDSS gateway doors) — the gap table](https://git.matou.nz/Matou/idss/issues/1294) — a Coa build bakes ONE runtime-read config URL; load-bearing fields = keri admin/boot/cesr, ≥2 witness AIDs, any-sync block; the gateway already serves all five doors publicly but publishes no descriptor, gates /boot, serves only its own schema SAIDs (matou still pins `communityName: "MATOU"`), runs ONE witness and KERIA 0.4.0 vs coa-shared's 0.2.0-rc1; coa's own backend probe hits the wrong path. Branch `research/community-backend-contract`. - [Research: hosting the Doorkeeper's signify session beside the Go bridge, the challenge round trip on KERIA 0.2.0-rc1, and vouching options](https://git.matou.nz/Matou/idss/issues/1299) — a foreign exn is silently dropped after 20 s unless the doorkeeper resolved the sender's OOBI first (bare OOBI suffices; sign-in bootstrap must carry the member's OOBI); delivery is direct to the doorkeeper's `agent` end URL; NO Go signify exists → signifypy 0.4.2 fits the gateway's python set (kli verify = 300 s blocking poll); loopback boot is ungated; delegation = wallet-verified at OOBI time but needs the group to exist + one steward approve per rotation, credential buys only revocability; doorkeeper adds nothing to the 0201 dataset except its passcode var; 0.2.0-rc1↔0.4.0 wire identical. Branch `research/doorkeeper-hosting-and-vouching`. - [Research: rehost mechanics on the pinned KERI stack — KEL/TEL portability, group witness rotation, agent re-derivation, tenant repoint](https://git.matou.nz/Matou/idss/issues/1303) — **same twelve words ⇒ same AID is FALSE for wallet-minted identities** (matou-app never passes `bran` as the AID salt; the per-AID salt is recoverable only while the old agent lives) — IDSS-minted ones re-derive; an existing AID CAN be adopted onto a new KERIA (app-level POST over the pulled KEL, no library verb), the group hab via `groups().join`; group witness rotation feasible, one steward signs, but keripy 1.2.13's `catchup` still carries the bug Mātou patches; TEL moves via CESR export + original `vcp` re-register; roster NOT rebuildable from TEL alone; nothing re-derives automatically at next launch (gated /boot → 403). Branch `research/rehost-mechanics`. - [The community backend descriptor — the well-known document both setups serve and probe](https://git.matou.nz/Matou/idss/issues/1295) — **ADR 0226**: the descriptor IS matou-app's `client-config`, served by Mātou's config server INSTALLED ON THE GATEWAY (the gateway is a matou-infrastructure backend); control plane = only writer of org-config (the app never founds on IDSS); baked URL = the apex (two path routes); additive `1.1` with optional `community`/`doorkeeper`/`api_url`/`schemas`/`boot`/`backend_kind`+`stack`/`app`, `anysync` optional; public unsigned TLS; founding "Coa now" submits the prefilled form and never waits; config server ALWAYS on IDIP, **any-sync WHEN Coa is chosen** (reverses #725's any-sync-out for the Coa case → research #1314). - [Research: any-sync and Mātou's config server on the gateway — node types, NixOS packaging, resource floor, secrets/rescue, install-later](https://git.matou.nz/Matou/idss/issues/1314) — minimal set = coordinator + tree + consensus + single-member MongoDB (file node + Redis-Bloom + S3 only for file bytes); **any-sync is load-bearing DAILY** (backend refuses to start without the coordinator; profiles/chat/files are any-sync trees); all five daemons build from source with `buildGoModule` but Mongo is SSPL and nixpkgs redis lacks Bloom → podman images are the alternative; ≈0.2–0.4 GiB idle, 4 GB floor holds, CPU under load unmeasured; network + node keys NOT re-derivable → ADR 0201 dataset; config server = one stdlib-Python file (`writePython3Bin`), but neither URL layout mints `keria.<apex>` doors and witness AIDs are hard-coded (the 1.1 bump must fix both); **install-later has no app-side spaces bootstrap**; any-sync is raw TCP, cannot ride Caddy 443. Branch `research/anysync-and-config-server-on-the-gateway`. - [IDSS-first pairing: founding offers Coa, the Coa tenant adopts the gateway, the branded app boots against it](https://git.matou.nz/Matou/idss/issues/1296) — **DDR 0228** (+ DDR 0227 brand kit secondary colour + round-logo dialog, build #1328): S3a on IDIP shows the wallet statement + two big cards (Option 1 build your community wallet now — preselected; Option 2 the IDIP wallet — disabled, coming soon); Option 1 = one extra step S3a-APP (Coa's feature toggles + live phone preview; brand + backend steps skipped); the submission rides the END of the deployment pipeline, any-sync installs at founding, Coa **auto-builds IDSS-originated submissions**; one app card × 4 states on operator home + dashboard overview, gateway polls Coa's public status document, `ready` writes the descriptor's `app` block. - [Member identity adoption into the wallet: twelve words typed once into the app, same agent, nothing re-minted](https://git.matou.nz/Matou/idss/issues/1297) — **DDR 0230** (amends ADR 0212): **the app is the main way in**; matou-app's three doors stay; **registration on IDSS is open** (`/boot` ungated, membership still steward-approved); an **unadmitted reaper** deletes agents with no Membership + no pending join after 7 d (reject marks, never deletes at once) via an admin-only loopback delete route on the pinned KERIA; Recover **connects, never boots** (found → home + one-time profile/space bootstrap, or the waiting screen; not found → one message, two exits); the invite opens **app-first** once the app card is `ready` (W-S0, *continue in the browser instead*) + a one-line nudge on P6-S5 and sign-in; browser and app coexist; proof = Playwright over the app's web build with the gateway agent count unchanged. Flow `wallet.mermaid`, wireframes `wallet/`. - [One roster, two steward seats: reconciling matou-app's approve/issue flows with the IDSS invite gate and roster wire](https://git.matou.nz/Matou/idss/issues/1298) — **ADR 0235** (amends 0198/0212/0226/0230): **standing is the credential, not a list the gateway is told** — the join is matou-app's registration exchange untouched (browser join sends the same; the unsigned post retires); the **admin inbox is per steward, in their agent** (dashboard shows it after the signing unlock); the roster holds no waiting members and the roster wire retires; **one community ledger** (`community.registry`, carried at promotion; per-steward registries off on IDSS); the **Doorkeeper is a pure verifier** — the wallet signs the bridge's challenge and presents its credential, revocation read off the witnessed KEL seals (→ research #1387); no gateway member list; **no automatic reaper** (reject deletes the agent, a steward act); the invite preset rides the exchange; profile claims self-asserted at the door; app admin area on IDSS = keep / rewire / hide list. - [Research: how the Doorkeeper verifies a presented credential on the pinned stack — IPEX grant contents, revocation from witnessed KEL seals vs TEL fetch, holder binding, the verifier sidecar](https://git.matou.nz/Matou/idss/issues/1387) — a grant alone verifies nothing on stock 0.4.0: the embeds are parsed only when the receiver **admits** (local admit, no wallet round-trip, but it **saves a copy** → explicit delete); seal-only revocation is decidable but not keripy's model — the gateway's **witness serves the TEL over unsigned GET**, no steward online needed; keripy saves a revoked credential rather than refusing → the state read is the check; holder binding (presenter == `a.i` == challenge signer) is entirely the Doorkeeper's; schemas auto-cached on the gateway (`KERIA_DURLS`), public OOBI `https://schema.<apex>/oobi/<SAID>`; the wallet has no present-as-holder code yet. **Bends #1300:** a **no-agent alternative** — the wallet posts the grant bytes in ADR 0212's `presentation` field and the bridge verifies in Go (Ed25519 + SAID recompute + seal walk over the witness KEL) — no Doorkeeper AID, no sidecar. Doc `docs/research/2026-09-10-doorkeeper-verification.md`. - [The Doorkeeper identity: seeded, sidecar-driven, vouched for by the community identity, rescued with it](https://git.matou.nz/Matou/idss/issues/1300) — **ADR 0236: there is NO Doorkeeper identity** (charting ruling 4 reversed) — the sign-in bridge verifies the presented credential **in Go** against the issuer's witnessed KEL read from the community witness (SAIDs recomputed, `iss`/no-`rev` seals, schema, holder == challenge signer); the wallet posts the **bare credential CESR stream** (vLEI-verifier convention) with its signed challenge; **present-as-holder is general** (answers IPEX `apply` from other verifiers too); verifier over a **trust list** pinned in v1 to the community identity; ledger unreachable → **fail closed**; descriptor `doorkeeper{aid,oobi}` → **`signin{url}`**; the wallet keeps **known doors** (home pre-trusted, others by first-contact consent) and **signs over the door's address**; no seeding, sidecar, vouching, rescue entry or saved copy; "Doorkeeper" = the bridge's verifier role. - [Coa-first founding: detect the Coa tenant, run point-at, offer Rehost — the walk, the copy, the irreversible steps](https://git.matou.nz/Matou/idss/issues/1304) — **ADR 0238 + DDR 0239: founding ADOPTS the community identity where it stands; coming home is a DATA MOVE, not a re-mint.** Ben's grill question ("is there not an export + upload process?") reframed it and the stack agreed — ADR 0201 already treats the identity AS its data directory (keripy root + witness state, quiesce-copy-resume), KERIA gives **each agent its own dirs named by the controller AID** (`Habery(name=caid,…)`, verified in the pinned image, keripy 1.2.2), and research #1303's random per-AID salt **travels inside the agent dir** — so the protocol walk is the FALLBACK, not the path. Founding mints nothing (**S6a does not run**) and proves stewardship by **wallet sign-in + steward credential** through ADR 0236's own verifier; **point-at is a resting place** (one founding-written trust row naming FOREIGN witnesses, fail-closed intact, an honest standing row that never nags); the tenant repoints to the apex **from day one** while the descriptor **hands back Mātou's addresses** until each layer moves (Coa out of the loop at the dangerous moment); the move is **one short window for everyone at once**, released by a **self-service handover door** (wallet proof, that community's agents only, delivered only to the descriptor's address), **rehearsed sealed first**, then copy → start → **the gateway's own ADR 0201 backup** → destroy Mātou's copy; witnesses **rotate, not move**. **Content does NOT move** (Mātou runs ONE any-sync network for all communities, none of it re-derivable) → research #1405. Amends ADRs 0226/0228/0236; CONTEXT.md **Rehost** rewritten + **Handover** added. - [Prototype: wallet sign-in by challenge words — QR/deep link → signed /challenge/response → doorkeeper verify → OIDC completes](https://git.matou.nz/Matou/idss/issues/1301) (#1301) — **PROVEN end to end** (`spikes/1301-wallet-signin`, landed `48902554`): the page mints a challenge and shows a QR/deep link carrying **the door's own address**; the wallet signs `idss-idp:<door>:<aid>:<nonce>`, posts the **bare CESR stream**; the door **verifies in Go** — SAIDs recomputed from the received bytes, the **issuer's witnessed KEL fetched by the door itself**, the `iss` seal walked, schema against the trust list, holder against the signer. **No Doorkeeper identity, no signify, no sidecar, no IPEX, no saved copy** — ADR 0236 holds. Green three ways: a signature bound to a fake door is **refused (403)**; after revoke the **same** presentation is refused while the wallet's copy still reads `iss`; a browser drive walks door → first-contact prompt → Approve → *Signed in*. **Numbers:** the verifier is **~450 lines** of Go over `internal/keriauth` + one Blake3 dep; a warm verdict is **142 ms** (witness fetches ~120 ms, cryptography 13 ms); the presentation can be **693 bytes** not 5792 (the door reads only the ACDC and its `iss`); golden vectors are KERIA's own bytes in a fixture dir, so the test needs **no keripy, no container, no network**. **The finding that bends #1302:** the round trip is the **wallet's** — signify-ts re-derives the signer with Argon2 on *every* sign (1.6–2.0 s each), so sign-in costs 5–8 s of wallet crypto against 0.14 s of door; caching it is one code path in matou-app, and no copy should promise speed until it exists. Two ADR 0236 amendments: `GET /query?typ=kel` is a **keripy 1.2.x** route (older witnesses serve the same KEL at `/oobi/<aid>` — try both, a foreign community's witness may be any generation), and **no TEL fetch is needed at all**. `matou://` unexercised — registering the scheme is a **matou-app packaging** item, the only thing between "Open my community app" and a same-device tap. - [Sign-in UX with the wallet: approve-in-app on the bridge page, the wallet's approve screen, remembered doorkeepers, and when the browser door retires](https://git.matou.nz/Matou/idss/issues/1302) (#1302) — **DDR 0246**: the words door **demotes to a link at app-ready and retires only by the operator's App-only switch** (one Members-surface row, greyed until the app card is `ready`; closes the words link + DDR 0230's browser join fallback + DDR 0217's dashboard signing unlock together; reversible; revokes nothing — **no signing relay**, steward acts hand off to the app); app door primary **by screen width** (laptop QR / phone *Open my community app*; `matou://` registration = matou-app packaging); the **approve card** names the service, the **sign-in site** (the copy word for a known door) and what will be shown; the **first-contact prompt is its own screen** (address as fact, name as claim, two taps); **Sign-in sites you trust** list, home pinned; **no countdown, no speed promise**; refusals *"Your access could not be verified. It looks like …"*, Try again **capped at three**, records-unreachable uncapped; **sessions unchanged but the silent hop walks the ledger** (ADR 0196 amended, fail closed); seam = bridge OIDC smoke + Go verifier + golden vectors, Playwright for four drive legs. Next: `/wireframe wallet-signin` → `/to-spec`. - **Child spec: [wallet sign-in](https://git.matou.nz/Matou/idss/issues/1492) (#1492)** — `/to-spec` off DDR 0246 + the `wallet-signin/` wireframes (Ben confirmed 2026-09-15): 35 stories with Given/When/Then, per-repo work for idss (bridge routes + the Go verifier lifted from #1301, App-only setting, dashboard row + hand-off), matou-app (present-as-holder, known doors, approve card, `matou://` registration, signer cache) and matou-infrastructure (descriptor `signin{url}`); seam = the bridge OIDC smoke + golden vectors; four drive legs. **TICKETED 2026-09-16** (`/to-tickets`, Ben confirmed granularity + ordering): idss **#1523** Go verifier, **#1524** ledger-walked sessions, **#1525** the door's three routes, **#1526** the app-door page, **#1527** refusals + capped Try again, **#1528** the App-only setting + row, **#1529** its three closures, **#1530** the ready-gate wiring, **#1531** the drive legs (session); matou-app **#531** approve card, **#535** sign-in sites, **#532** the link scheme. Every one sits behind **#1512** (the descriptor answering from outside) — #1495 lands first. - **Child spec: [community app pairing](https://git.matou.nz/Matou/idss/issues/1495) (#1495)** — `/to-spec` off ADR 0226 + DDR 0228 (+ ADR 0235/0236/0238 amendments) and the `p1-s3a-identity` / `p1-s3a-community-app` frames (Ben 2026-09-15 "start the community pairing slice now"): the config server unit + two apex routes + the control plane as the descriptor's only writer (`1.1`: community/api_url/schemas/boot/backend_kind/stack/**`signin{url}`**/`app`), S3a's wallet choice + a new **"later"** line + S3a-APP, the Coa submission at the pipeline tail (non-fatal), any-sync under podman when Option 1, the app card × 4 states with the status poll, the dashboard twin; per-repo work for idss / matou-infrastructure (1.1) / matou-app (tolerances) / coa (origin auto-build, probe path). **TICKETED 2026-09-16**: idss **#1510** config server unit + apex routes → **#1511** the descriptor writer (+ golden documents) → **#1512** the 1.1 document from outside, beside **#1513** S3a/S3a-APP and **#1514** the app record; then **#1515** the tail, **#1516** the card, **#1517** the poll → ready, **#1518** any-sync, **#1519** the spaces at the tail, **#1520** the space-ID door, **#1521** the dashboard twin, **#1522** the drive leg (session); matou-app **#530** the space-creation package (precedes #1519), **#533** the 1.1 loader, **#534** the first-steward fallback; matou-infrastructure **#23** config server 1.1; coa **#143** IDSS-originated auto-build. 44 native blocking edges, cross-repo included — the frontier today is #1510, #1513, #1514, matou-app #530, matou-infrastructure #23, coa #143. Two mechanisms ruled at ticketing and recorded in ADR 0226: the space-creation package is a nested PUBLIC Go module resolved through matou-app's GitHub mirror, and the founder's twelve words cross the operator app's local helper seam for the spaces step alone (in memory, zeroed after, never off the laptop). **Ruled same day, twice (ADR 0226 amended): FOUNDING creates the three community any-sync spaces at the pipeline tail** as the founder — the wallet derives their keys from the founder's twelve words, which the laptop holds until the scrub — through a Go package matou-app exports (one convention); the descriptor is complete from its first outside read. **Fallback = the first steward's wallet** ("later" from the dashboard, pre-dating communities): creates them, posts the IDs to the steward API, first write wins. Founding flow amended (S3a-APP, tail, app card); flow + wireframe indexes fixed. Next: `/to-tickets #1495` first (B before A–E), then `#1492` behind its `signin{url}` tickets. - **Child spec: [panel unlock](https://git.matou.nz/Matou/idss/issues/1929) (#1929)** — `/to-spec` off #1886 + **ADR 0282** / **DDR 0284** and the `panel-unlock/` wireframes (Ben confirmed seams, scope and the handover mechanism 2026-09-27): 41 stories with Given/When/Then over the steward seat unlocking at control-panel sign-in and the Members tab reading the **one community ledger** through it. Settles this map's *"steward acts on the wallet, in detail"* item for the panel side — the seat, not the words, is what makes the list and the per-steward admin inbox readable; the roster is display-only. **Mechanism ruled at the gate:** ADR 0282 d.6's single tab does not exist (`id.<apex>` → `admin.<apex>` is a full navigation), so the unlock line **arms** the wallet for that one sign-in and the **panel tab** mints the sealing key and completes the handover — one tap, memory only, nothing in a URL. Per-repo work for idss (the app door's one-shot relay, a panel session **epoch** for sign-out-everywhere since the SSO cookie is stateless, the seat's phone source, the ledger-backed list + inbox) and matou-app (the unlock line, the unlock-only card, sealing, the sign-out-everywhere row — its second copy line gated on #1914). Seams: the app door's HTTP surface, the control-plane session resolver, and the dashboard's existing injected steward-bundle loader; one drive leg `steward-panel-unlock`. Slices: ledger list behind the words unlock → handover → sign-out-everywhere → leg, all behind **#1910**. **TICKETED 2026-09-27** (`/to-tickets`, Ben confirmed granularity + edges; no slice-map — one feature, no cross-feature coupling left to find): idss **#1930** the ledger read (frontier) → **#1931** Members from the ledger (#1886's fix) → **#1932** the admin inbox; **#1933** the app-door relay → **#1934** the phone unlock; **#1935** sign-out-everywhere; **#1936** the drive leg (session). matou-app **#663** the unlock line → **#664** the unlock-only card; **#665** the sign-out row. 16 native blocking edges, cross-repo included; every ticket carries a task manifest. **#1910 design-unblocked at ticketing** (DDR 0284 d.4 is its design) since it gates #1931/#1933. - **Child spec: [the Administrator credential](https://git.matou.nz/Matou/idss/issues/1948) (#1948)** — `/grill-ux-with-docs` → **ADR 0286** (13 decisions, Ben 2026-09-28) → `/wireframe` (9 screens) → `/to-spec`: `role` is deleted and **holding a second built-in credential** grants the control panel, admin in every community service (#1535's ruled policy, carrier swapped) and **matou-app's founding member** (d.13 — one super user across both apps, so a founder needs no administrator-only surface). Signing stays with the **group identity**: promotion issues the credential, demotion revokes exactly the SAID it issued, the last live one cannot be revoked, founding issues it to the founder and there is **no backfill**. Wireframing killed one node — a non-steward administrator has **no Members tab**, because the registry lives in stewards' agents and both alternatives would have made ADR 0282 d.8 untrue. 25 stories with Given/When/Then; per-repo work for idss (the built-in, one decider over verified claims, expand–contract on `role`, the epoch bump on revoke) and matou-app (resolve the founding-member bundle from the credential; granting founding member issues it; the steward check asks signify for group membership). Amends ADR 0196, ADR 0235 d.10, DDR 0217, #1876 r1 and #1535's reconciler key. ## Not yet specified - **The second community** (ruling 2) — NOTE research #1303: wallet-minted AIDs do NOT re-derive from the twelve words (random per-AID salt); "introduce, don't re-mint" must move the salt or adopt the KEL. Cross-backend reachability — a wallet whose agent is on backend X answering the door on backend Y (a known door after first contact — ADR 0236 §5); the gateway's KERIA resolving foreign OOBIs and accepting exchanges from resolved contacts; re-deriving on a second backend. Graduates after the doorkeeper and rehost tickets settle the mechanics — **both now settled**: ADR 0236 leaves the door reading a foreign issuer's witnessed KEL from a trust row (so "answering a door on another backend" is already the known-door case), and ADR 0238 moves the salt by moving the agent's directory, so the rehost half no longer needs re-derivation at all. What is left here is genuinely the SECOND community: one person's one AID introduced to a backend that never hosted it, with no agent of theirs to lift. - **The IDIP wallet app** (Ben, ruling 8 note; now visible on S3a as Option 2, disabled "Coming soon" — DDR 0228): if communities need a wallet before their branded Coa app exists, a plain Mātou app pointed at the community backend by the join link. Not built now; kept here so it is not forgotten. - **Steward acts on the wallet, in detail** (ruling 9; ADR 0235 settled the protocol): signing-unlock semantics on a device vs DDR 0217 ruling 9's once-per-dashboard-session; **the promotion rail carrying the community ledger** into the new steward's agent (and into a steward who joined after applications were sent — they hold no copy); what the control plane's **roster projection** keeps for display (name/role/last seen) now that it is not standing; the dashboard's Members list reading the unlocked steward's agent. - **Per-community credential schemas in the wallet**: matou-app's membership schema pins `communityName: "MATOU"` (Coa investigation §5.2) while this repo authors its own SAIDs (`credschema`); what the wallet must accept from an IDSS backend and how the descriptor carries schema OOBIs. - **Rescue with a wallet**: the ADR 0195 ladder when the phrase lives in an app on a phone (device loss, app reinstall; ADR 0236 — no doorkeeper joins the ADR 0201 dataset); and — ADR 0235 — a rejected applicant's identity is removed by the steward's act and unrecoverable, so the ladder must say so. - **A signed descriptor** (ADR 0226 decision 6): for the cross-community feature, where a wallet meets a backend nobody baked in — who signs (the community identity — ADR 0236 leaves no doorkeeper to sign) and what matou-app verifies; a foreign door's first-contact prompt (ADR 0236 §5) is what the wallet shows meanwhile. - **Members whose membership credential predates the community spaces** (ADR 0226 amendment 2026-09-15): the community-space invite key is embedded in the membership credential at issue time on coa-shared; on IDSS the dashboard's browser-era issuance embeds none, whenever the spaces were created — how such a member's wallet joins the spaces at adoption is DDR 0230's first-landing edge to carry. - **Coa later: the community initialisation pipeline** (Ben, 2026-09-08 — any-sync stays conditional on Coa; ADR 0226 decision 8 reconfirmed against research #1314; "always install any-sync as a profile layer" considered and declined): a community that installs any-sync after founding has members whose wallets never created their private space and no community/read-only/admin spaces — an app-side (or control-plane-driven) bootstrap that does not exist today; also which store shape (source-built vs podman) and the public TCP ports. **ADR 0238 §12 adds a second case**: a Coa-first community installs no any-sync at founding at all (its descriptor keeps pointing at Mātou's network), so the same install-later bootstrap is what research #1405's answer will need. - **Recognition as a trust hint** (ruling 5): showing Mātou's recognition credential (Coa ADR 0006) on the wallet's community screen without gating anything on it. ## Out of scope - **An operator-editable trusted-issuers list** (accepting another community's credentials at this door, and the service-access rule naming foreign issuer/schema pairs) — ADR 0236 §3 builds the verifier over a trust list so this is a list entry later, not a verifier change; v1 pins the list to the home community. Its own effort, beside the external-presentation map above. - **Presenting a community credential to a verifier outside the community** (another community, a funder, a bank) — ADR 0222's deferred feature; its own map. The doorkeeper keeps that door open, it does not walk through it. - **kanidm-path communities** — no wallet; unchanged. - **Merging the two setup wizards** or making Mātou's recognition registry a gate on founding — rejected while charting (rulings 5, and the sovereignty preference). - **Federating two community identities for one people** (Coa-first sub-option c) — rejected; rehost is the adoption. - **The DID/VC fork** Coa's investigation leaves open — IDSS is KERI/ACDC (ADR 0194).

This was generated by AI during triage.

Ruled by agent under ADR 0174 — veto anytime.

Ruling: apply no-triage. This is the /wayfinder map for the community-wallet feature set — a program-scoping artifact, not work for the triage state machine. Its children (#1295–#1304) and the map itself move through the wayfinder pipeline one ticket per session; triage state roles do not apply until the feature reaches to-tickets. no-triage tells triage automation to skip it so it is not repeatedly re-surfaced as untriaged.

Why a two-way door: a single additive label, reverted by removing it. It widens no security posture, destroys no data, spends nothing, and touches no credential or member-facing trust surface.

What proves it: the established precedent — the existing wayfinder map #262 carries exactly this pairing (no-triage + wayfinder:map).

> *This was generated by AI during triage.* **Ruled by agent under ADR 0174 — veto anytime.** **Ruling:** apply `no-triage`. This is the `/wayfinder` **map** for the community-wallet feature set — a program-scoping artifact, not work for the triage state machine. Its children (#1295–#1304) and the map itself move through the wayfinder pipeline one ticket per session; triage state roles do not apply until the feature reaches `to-tickets`. `no-triage` tells triage automation to skip it so it is not repeatedly re-surfaced as untriaged. **Why a two-way door:** a single additive label, reverted by removing it. It widens no security posture, destroys no data, spends nothing, and touches no credential or member-facing trust surface. **What proves it:** the established precedent — the existing wayfinder map #262 carries exactly this pairing (`no-triage` + `wayfinder:map`).
Author
Owner

Deferred feature recorded (Ben, 2026-09-21): #1676 — one app, several communities. A member holding memberships of more than one community in one Mātou app. It is the wallet's side of the map's existing out-of-scope item members of other communities into this community's services (the door's side); both meet at ADR 0236's trust list and known sign-in sites. Labelled deferred — scoping work, not scheduled.

**Deferred feature recorded (Ben, 2026-09-21): #1676 — one app, several communities.** A member holding memberships of more than one community in one Mātou app. It is the wallet's side of the map's existing out-of-scope item *members of other communities into this community's services* (the door's side); both meet at ADR 0236's trust list and known sign-in sites. Labelled `deferred` — scoping work, not scheduled.
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/idss#1293
No description provided.