Member identity adoption into the wallet: twelve words typed once into the app, same agent, nothing re-minted #1297

Closed
opened 2026-09-07 19:41:40 +00:00 by ben · 3 comments
Owner

Parent

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

Question

A member adopts their identity into the wallet (charting ruling 8): the browser join and sign-in stay the door until the branded app exists, so a member's agent was minted by app/src/keriweb on the gateway's KERIA. When the app arrives, the member types their twelve words into it. Decide: the app's entry path (matou-app's recover onboarding path vs a new "I already joined in the browser" path), what it must find (the agent by the same passcode, the held membership credential, the community's OOBIs) and what it must not do (mint, rotate, re-register); how the join link / invite QR is reused to point the app at the backend; what the member sees when the app finds nothing (never joined, wrong words, agent rebooted); whether the browser session and the app session coexist; and the copy. Output: a DDR (wallet screens for adopt + the browser join page's "get the app" nudge) and the drive leg that proves it.

## Parent Map: [The community wallet: matou-app holds and presents IDIP credentials, and the Coa and IDSS setups are paired](https://git.matou.nz/Matou/idss/issues/1293) (#1293) ## Question **A member adopts their identity into the wallet** (charting ruling 8): the browser join and sign-in stay the door until the branded app exists, so a member's agent was minted by `app/src/keriweb` on the gateway's KERIA. When the app arrives, the member types their twelve words into it. Decide: the app's entry path (matou-app's `recover` onboarding path vs a new "I already joined in the browser" path), what it must find (the agent by the same passcode, the held membership credential, the community's OOBIs) and what it must not do (mint, rotate, re-register); how the join link / invite QR is reused to point the app at the backend; what the member sees when the app finds nothing (never joined, wrong words, agent rebooted); whether the browser session and the app session coexist; and the copy. Output: a DDR (wallet screens for adopt + the browser join page's "get the app" nudge) and the drive leg that proves it.
Author
Owner

Read before grilling: research #1303 finding 1 — signify-ts mints a RANDOM per-AID salt unless bran is passed (matou-app never passes it; this repo's app/src/lib/keri/inception.ts does). A browser-minted member adopts into the app fine ONLY because the app connects to the SAME agent on the same KERIA — the app must never re-create. Any wallet mint that should survive a backend move must pass bran or carry the salt.

Read before grilling: research #1303 finding 1 — signify-ts mints a RANDOM per-AID salt unless `bran` is passed (matou-app never passes it; this repo's `app/src/lib/keri/inception.ts` does). A browser-minted member adopts into the app fine ONLY because the app connects to the SAME agent on the same KERIA — the app must never re-create. Any wallet mint that should survive a backend move must pass `bran` or carry the salt.

This was generated by AI during triage.

Ruled by agent under ADR 0174 — veto anytime.

Ruling: apply no-triage. This is a /wayfinder-pipeline ticket (a child of map #1293), not work for the triage state machine. It moves through the wayfinder fan-out (grill-ux-with-docs → wireframe → to-spec) one ticket per session under /wayfinder; the triage state roles (ready-for-agent / needs-design / etc.) do not apply until this 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). These tickets are owned by the wayfinder pipeline in docs/agents/issue-tracker.md (Wayfinding operations), not by triage.

> *This was generated by AI during triage.* **Ruled by agent under ADR 0174 — veto anytime.** **Ruling:** apply `no-triage`. This is a `/wayfinder`-pipeline ticket (a child of map #1293), not work for the triage state machine. It moves through the wayfinder fan-out (`grill-ux-with-docs` → `wireframe` → `to-spec`) one ticket per session under `/wayfinder`; the triage state roles (`ready-for-agent` / `needs-design` / etc.) do not apply until this 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`). These tickets are owned by the wayfinder pipeline in docs/agents/issue-tracker.md (Wayfinding operations), not by triage.
ben self-assigned this 2026-09-09 03:53:40 +00:00
Author
Owner

Resolution — DDR 0230 (docs/adr/0230-design-wallet-adoption-open-registration-and-the-unadmitted-reaper.md), amending ADR 0212

Grilled with Ben 2026-09-09. The premise moved first: the app is the main way in — most members register or are invited through the community app; the browser join is the fallback (no app yet, or joined before it existed).

  1. matou-app's three doors stay on an IDSS backend — invite code, Register, Recover. Recover is the adoption door.
  2. Registration on IDSS is open — /boot is no longer invite-gated (ADR 0212 decisions 4–5 + founder amendment superseded); membership still waits for steward approval. The invite still carries the join-as preset.
  3. One reaper, two triggers, seven days — no Membership + no pending join for 7 d → deleted; never-joined by timeout, rejected after reject marks (a reversed rejection inside the window costs nothing). KERIA 0.4.0 has Agency.delete but no route → an admin-only loopback route on the pinned KERIA.
  4. The twelve-words door connects, never boots — found + Membership → home (private space + profile created once on first landing); found, no credential → the app's waiting screen; nothing minted, no key rotation, no second join.
  5. Not found = one message, two exits — "We couldn't find an identity for these words in " → Check the words · Register instead. No membership-leaking lookup.
  6. The invite goes app-first once the app card is ready — W-S0 Get the app (platform downloads + Continue in the browser instead → today's P6-S3i); one-line nudge on P6-S5 and the sign-in page. Nothing changes before ready; browser-door retirement stays #1302's.
  7. Browser and app coexist — same agent, both sessions valid.
  8. Proof — a Playwright leg over matou-app's web build against the drive apex: adopt → home with Membership; wrong words → not-found; gateway agent count unchanged both times.

Facts that shaped it: both surfaces derive the passcode identically (same words → same agent); the app bakes one backend and has no deep links, so "point the app at the backend" dissolves for the branded app; matou-app's Recover silently boots on no-match (now a hazard with open registration); Claim expects a pre-created agent + rotates keys (not the IDSS shape).

Artifacts: flow docs/ux/flows/wallet.mermaid; wireframes docs/ux/wireframes/wallet/w-s0-get-the-app.html, w-s1-adopt.html; amended p6-members-idip/p6-s5-waiting-approval.html, p6-s3i-member-joins.html, flows/p6-members-idip.mermaid; CONTEXT.md gains Register, amends Invite / Wallet.

Handed to #1298: the roster accepting invite-less joins; the join-as preset applying only when the app's join carries the invite token; what the steward sees for an invite-less arrival.

## Resolution — **DDR 0230** (`docs/adr/0230-design-wallet-adoption-open-registration-and-the-unadmitted-reaper.md`), amending ADR 0212 Grilled with Ben 2026-09-09. The premise moved first: **the app is the main way in** — most members register or are invited through the community app; the browser join is the fallback (no app yet, or joined before it existed). 1. **matou-app's three doors stay** on an IDSS backend — invite code, Register, Recover. Recover is the adoption door. 2. **Registration on IDSS is open** — `/boot` is no longer invite-gated (ADR 0212 decisions 4–5 + founder amendment superseded); membership still waits for steward approval. The invite still carries the join-as preset. 3. **One reaper, two triggers, seven days** — no Membership + no pending join for 7 d → deleted; never-joined by timeout, rejected after reject *marks* (a reversed rejection inside the window costs nothing). KERIA 0.4.0 has `Agency.delete` but no route → an admin-only loopback route on the pinned KERIA. 4. **The twelve-words door connects, never boots** — found + Membership → home (private space + profile created once on first landing); found, no credential → the app's waiting screen; nothing minted, no key rotation, no second join. 5. **Not found = one message, two exits** — "We couldn't find an identity for these words in <community>" → Check the words · Register instead. No membership-leaking lookup. 6. **The invite goes app-first once the app card is `ready`** — W-S0 Get the app (platform downloads + *Continue in the browser instead* → today's P6-S3i); one-line nudge on P6-S5 and the sign-in page. Nothing changes before `ready`; browser-door retirement stays #1302's. 7. **Browser and app coexist** — same agent, both sessions valid. 8. **Proof** — a Playwright leg over matou-app's web build against the drive apex: adopt → home with Membership; wrong words → not-found; **gateway agent count unchanged** both times. **Facts that shaped it:** both surfaces derive the passcode identically (same words → same agent); the app bakes one backend and has no deep links, so "point the app at the backend" dissolves for the branded app; matou-app's Recover silently boots on no-match (now a hazard with open registration); Claim expects a pre-created agent + rotates keys (not the IDSS shape). **Artifacts:** flow `docs/ux/flows/wallet.mermaid`; wireframes `docs/ux/wireframes/wallet/w-s0-get-the-app.html`, `w-s1-adopt.html`; amended `p6-members-idip/p6-s5-waiting-approval.html`, `p6-s3i-member-joins.html`, `flows/p6-members-idip.mermaid`; CONTEXT.md gains **Register**, amends **Invite** / **Wallet**. **Handed to #1298:** the roster accepting invite-less joins; the join-as preset applying only when the app's join carries the invite token; what the steward sees for an invite-less arrival.
ben closed this issue 2026-09-09 14:34:58 +00:00
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#1297
No description provided.