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

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

Parent

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

Question

Design the sign-in surfaces once the prototype has set the numbers: the bridge sign-in page with "Approve in your community app" (QR for another device, deep link on the same one, the browser twelve-words door beside it until retired — ruling 8), the wallet's approve screen (what it names: community, doorkeeper, the service asking, the words), remembered doorkeepers and one-tap repeat sign-in, session lengths (ADR 0196's 12 h bridge cookie and the silent SSO hop #1027) as they apply to an app-approved session, the dashboard's steward signing unlock via the app (DDR 0217 ruling 9 → the once-per-session unlock becomes an app approval?), and the copy for every refusal (no membership, revoked, doorkeeper unreachable, stale words). Also rule when the browser door retires (per community? when its app ships?). Output: a DDR + wireframes under docs/ux/wireframes/ + the drive legs.

Reworded by ADR 0236 (2026-09-11, #1300)

"Remembered doorkeepers" = the wallet's known doors list (ADR 0236 §5): the home door pre-trusted from the descriptor's signin{url}, any other door added once by the first-contact prompt ("a door you haven't met: at

. Trust it?") — design that prompt and the list; the wallet's approve screen names the community, the door, the service asking and the credential being shown (never words — there are none). The refusal copy adds "the community's records can't be reached" (fail closed, ADR 0236 §4) and drops "doorkeeper unreachable" / "stale words". Also rule whether a session re-verifies at refresh (ADR 0236 §6) and when the browser door retires — it can verify through the same Go path once it presents.

## 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 Design the **sign-in surfaces** once the prototype has set the numbers: the bridge sign-in page with "Approve in your community app" (QR for another device, deep link on the same one, the browser twelve-words door beside it until retired — ruling 8), the wallet's approve screen (what it names: community, doorkeeper, the service asking, the words), remembered doorkeepers and one-tap repeat sign-in, session lengths (ADR 0196's 12 h bridge cookie and the silent SSO hop #1027) as they apply to an app-approved session, the dashboard's steward signing unlock via the app (DDR 0217 ruling 9 → the once-per-session unlock becomes an app approval?), and the copy for every refusal (no membership, revoked, doorkeeper unreachable, stale words). Also rule **when the browser door retires** (per community? when its app ships?). Output: a DDR + wireframes under `docs/ux/wireframes/` + the drive legs. ## Reworded by ADR 0236 (2026-09-11, #1300) "Remembered doorkeepers" = the wallet's **known doors** list (ADR 0236 §5): the home door pre-trusted from the descriptor's `signin{url}`, any other door added once by the **first-contact prompt** ("a door you haven't met: <name> at <address>. Trust it?") — design that prompt and the list; the wallet's approve screen names the community, the door, the service asking and the credential being shown (never words — there are none). The refusal copy adds **"the community's records can't be reached"** (fail closed, ADR 0236 §4) and drops "doorkeeper unreachable" / "stale words". Also rule whether a session **re-verifies at refresh** (ADR 0236 §6) and when the browser door retires — it can verify through the same Go path once it presents.

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-12 14:37:09 +00:00
Author
Owner

Resolution — RULED (Ben, 2026-09-14/15), DDR 0246

Grilled with /grill-ux-with-docs over the #1301 prototype's numbers. Landed on main at 53f0f126 (+ renumber 4b7f0732): DDR 0246 docs/adr/0246-design-wallet-sign-in-…md, flow docs/ux/flows/wallet-signin.mermaid, CONTEXT.md (WS screens, First-contact prompt, App-only, "sign-in site" as the copy word under Known door), amendments to ADR 0196 and ADR 0236.

The rulings, one line each:

  1. Browser door retires by the operator's act, never a timer. Words door only until the app card is ready; then demoted to one link; gone only when the operator switches Members use the app only.
  2. App door primary by screen width. Laptop = QR first; phone = Open my community app first; the other folded beneath. Registering matou:// with each OS = matou-app packaging item.
  3. Approve card names the service first, the sign-in site, and what will be shown; Approve / Not now; no AID/SAID/nonce on the face.
  4. First-contact prompt is its own screen, address as fact, name as a claim, two explicit taps (Trust this sign-in site / Don't).
  5. Sign-in sites you trust: a list off the identity screen, home site pinned and unforgettable, Forget on the rest, no manual add. "sign-in site" is the member-facing word; Known door stays the design noun.
  6. No countdown, no speed promise anywhere; approve → straight redirect; expiry mints in place, never under a person mid-scan.
  7. Refusals open "Your access could not be verified. It looks like …" on both surfaces, Try again capped at three per page visit + "or contact your community's operator"; records-unreachable keeps its own line, uncapped; holder mismatch wears the signature line.
  8. Sessions unchanged; the silent SSO hop now walks the ledger like sign-in and refresh (ADR 0196 amended), fail closed at hop and refresh.
  9. No signing relay. DDR 0217 ruling 9 stands while the words door stands; the dashboard's unlock retires with it and steward acts hand off to the app.
  10. One App-only switch on the Members surface, greyed until app-ready, closes the words link + DDR 0230's browser join fallback + the dashboard unlock together; reversible; revokes nothing.
  11. Out of scope v1: push to the wallet, a shown credential picker, keep-me-signed-in, a recent-sign-ins log, foreign sites in practice, the IDIP wallet app, any change to the words page itself.
  12. Seam: the existing bridge OIDC smoke with the #1301 Go verifier + golden vectors (+ a test witness); Playwright only for four drive legs (member-sign-in-app, first-contact, refused-after-revoke, app-only-toggle).

Depends on unbuilt slices: the descriptor's signin{url} (ADR 0226/0236) and the app card's ready state (DDR 0228).

Next in the pipeline: /wireframe wallet-signin (WS-S1/S1x/S1r/S1z/S1u, WS-A1/A2/A2p/A2d/A2r/A3, WS-D1/D2) → /to-spec. With this closed, map #1293's only open ticket is research #1405.

## Resolution — RULED (Ben, 2026-09-14/15), DDR 0246 Grilled with `/grill-ux-with-docs` over the #1301 prototype's numbers. Landed on main at `53f0f126` (+ renumber `4b7f0732`): **DDR 0246** `docs/adr/0246-design-wallet-sign-in-…md`, flow `docs/ux/flows/wallet-signin.mermaid`, `CONTEXT.md` (WS screens, **First-contact prompt**, **App-only**, "sign-in site" as the copy word under **Known door**), amendments to ADR 0196 and ADR 0236. **The rulings, one line each:** 1. **Browser door retires by the operator's act, never a timer.** Words door only until the app card is `ready`; then demoted to one link; gone only when the operator switches **Members use the app only**. 2. **App door primary by screen width.** Laptop = QR first; phone = *Open my community app* first; the other folded beneath. Registering `matou://` with each OS = matou-app packaging item. 3. **Approve card** names the service first, the sign-in site, and what will be shown; Approve / Not now; no AID/SAID/nonce on the face. 4. **First-contact prompt is its own screen**, address as fact, name as a claim, two explicit taps (Trust this sign-in site / Don't). 5. **Sign-in sites you trust**: a list off the identity screen, home site pinned and unforgettable, Forget on the rest, no manual add. **"sign-in site"** is the member-facing word; **Known door** stays the design noun. 6. **No countdown, no speed promise** anywhere; approve → straight redirect; expiry mints in place, never under a person mid-scan. 7. **Refusals** open *"Your access could not be verified. It looks like …"* on both surfaces, Try again **capped at three per page visit** + *"or contact your community's operator"*; records-unreachable keeps its own line, uncapped; holder mismatch wears the signature line. 8. **Sessions unchanged; the silent SSO hop now walks the ledger** like sign-in and refresh (ADR 0196 amended), fail closed at hop and refresh. 9. **No signing relay.** DDR 0217 ruling 9 stands while the words door stands; the dashboard's unlock retires with it and steward acts hand off to the app. 10. **One App-only switch** on the Members surface, greyed until app-ready, closes the words link + DDR 0230's browser join fallback + the dashboard unlock together; reversible; revokes nothing. 11. **Out of scope v1:** push to the wallet, a shown credential picker, keep-me-signed-in, a recent-sign-ins log, foreign sites in practice, the IDIP wallet app, any change to the words page itself. 12. **Seam:** the existing bridge OIDC smoke with the #1301 Go verifier + golden vectors (+ a test witness); Playwright only for four drive legs (`member-sign-in-app`, `first-contact`, `refused-after-revoke`, `app-only-toggle`). **Depends on unbuilt slices:** the descriptor's `signin{url}` (ADR 0226/0236) and the app card's `ready` state (DDR 0228). **Next in the pipeline:** `/wireframe wallet-signin` (WS-S1/S1x/S1r/S1z/S1u, WS-A1/A2/A2p/A2d/A2r/A3, WS-D1/D2) → `/to-spec`. With this closed, map #1293's only open ticket is research #1405.
ben closed this issue 2026-09-15 13:13:22 +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#1302
No description provided.