sign-in S9: drive the whole path — sign in with the app, meet a new sign-in site, be refused after a revoke, switch the community to app-only #1531

Closed
opened 2026-09-16 03:16:07 +00:00 by ben · 5 comments
Owner

Parent

Spec #1492 (wallet sign-in — the app door by device, the approve card, sign-in sites, refusals, ledger-walked sessions, and the App-only switch). Program map #1293. Design contract: DDR 0246, flow docs/ux/flows/wallet-signin.mermaid, wireframes docs/ux/wireframes/wallet-signin/. Mechanics: ADR 0236 (the bridge verifies in Go), proven end to end by prototype #1301 (spikes/1301-wallet-signin/).

Story 35 of the spec. Session ticket: it needs a host's standing, a rehearsal droplet and eyes on the
screenshots.

What to build

Four legs on the IDIP journey that prove the feature the way a member and an operator meet it, not the way
the code is arranged.

Acceptance criteria

  • member-sign-in-app: open a service signed out → the app door → the headless wallet from the spike
    (or the app's web build) approves → the browser lands in the service
  • first-contact: a second sign-in site in the test world → the prompt appears → trust → approve →
    signed in
  • refused-after-revoke: revoke the membership community-side → the same approval is refused with the
    revoked tail
  • app-only-toggle: the operator switches App-only on → the words link is gone and the words route is
    refused → switch back → it returns
  • Screenshots captured and eyeballed for each leg; a green with a faulted leg is a false green
  • Legs appear in the drive's leg list by name

Blocked by

Tracker: #1527, #1529, #1530, Matou/matou-app#535, Matou/matou-app#532

  • S5, S7, S8
  • matou-app MA5 (known doors and the first-contact prompt), MA6 (the link scheme registered)

Task manifest

task: wallet-signin-drive-legs
implements_flow: wallet-signin
seam: the IDIP journey spec (Playwright) + the spike's headless wallet
depends_on: [wallet-signin:refusals-and-capped-retry, wallet-signin:app-only-closures, wallet-signin:ready-gate-wiring, matou-app:known-doors-and-first-contact, matou-app:app-link-scheme]
out_of_scope: [real phones (matou-app's own device acceptance), a second real community]
needs_human_decision: []
## Parent Spec **#1492** (wallet sign-in — the app door by device, the approve card, sign-in sites, refusals, ledger-walked sessions, and the App-only switch). Program map **#1293**. Design contract: **DDR 0246**, flow `docs/ux/flows/wallet-signin.mermaid`, wireframes `docs/ux/wireframes/wallet-signin/`. Mechanics: **ADR 0236** (the bridge verifies in Go), proven end to end by prototype **#1301** (`spikes/1301-wallet-signin/`). Story 35 of the spec. **Session ticket**: it needs a host's standing, a rehearsal droplet and eyes on the screenshots. ## What to build Four legs on the IDIP journey that prove the feature the way a member and an operator meet it, not the way the code is arranged. ## Acceptance criteria - [ ] `member-sign-in-app`: open a service signed out → the app door → the headless wallet from the spike (or the app's web build) approves → the browser lands in the service - [ ] `first-contact`: a second sign-in site in the test world → the prompt appears → trust → approve → signed in - [ ] `refused-after-revoke`: revoke the membership community-side → the same approval is refused with the revoked tail - [ ] `app-only-toggle`: the operator switches App-only on → the words link is gone and the words route is refused → switch back → it returns - [ ] Screenshots captured and eyeballed for each leg; a green with a faulted leg is a false green - [ ] Legs appear in the drive's leg list by name ## Blocked by Tracker: #1527, #1529, #1530, Matou/matou-app#535, Matou/matou-app#532 - S5, S7, S8 - matou-app MA5 (known doors and the first-contact prompt), MA6 (the link scheme registered) ## Task manifest ```yaml task: wallet-signin-drive-legs implements_flow: wallet-signin seam: the IDIP journey spec (Playwright) + the spike's headless wallet depends_on: [wallet-signin:refusals-and-capped-retry, wallet-signin:app-only-closures, wallet-signin:ready-gate-wiring, matou-app:known-doors-and-first-contact, matou-app:app-link-scheme] out_of_scope: [real phones (matou-app's own device acceptance), a second real community] needs_human_decision: [] ```
Author
Owner

Do not work this ticket yet — it is blocked. It was filed as part of the #1495 / #1492 ticket set on 2026-09-16 and a worker claimed it in the few minutes between creation and the blocking edges being recorded. Its blockers (see Blocked by) are all open and nothing it builds against exists yet, so an attempt now cannot pass its own acceptance criteria.

Park it: drop the claim and let the queue re-offer it when the dependencies close. The queue's dependency filter now hides it, so no further run will pick it up.

**Do not work this ticket yet — it is blocked.** It was filed as part of the #1495 / #1492 ticket set on 2026-09-16 and a worker claimed it in the few minutes between creation and the blocking edges being recorded. Its blockers (see **Blocked by**) are all open and nothing it builds against exists yet, so an attempt now cannot pass its own acceptance criteria. Park it: drop the claim and let the queue re-offer it when the dependencies close. The queue's dependency filter now hides it, so no further run will pick it up.

Blocked — the feature under test does not exist yet (session finding, ADR 0174)

This is the drive-legs ticket (story 35): four live legs that prove wallet
sign-in the way a member and operator meet it. It cannot start, because every
surface the four legs drive is unbuilt in the product.

The five blocked_by dependencies are all still open:

  • idss #1527 (S5 — refusals + capped retry) — ready-for-agent
  • idss #1529 (S7 — App-only closes the three browser doors) — ready-for-agent
  • idss #1530 (S8 — the app card un-greys App-only) — ready-for-agent, agent-working
  • matou-app #535 (MA5 — known doors + first-contact prompt) — ready-for-agent, agent-working
  • matou-app #532 (MA6 — the link scheme registered) — ready-for-agent

Proof the product carries none of it yet. On origin/main (this checkout,
reset to it), greps across internal/, app/src and dashboard/src for the
spec's surfaces find nothing:

  • no bridge app-door / sign-in page, no challenge / present-as-holder /
    signin/status routes (the only challenge hits are ACME/DNS; the only
    two-door page hits are device-add/join);
  • no App-only setting or dashboard row;
  • no sign-in sites, approve card, or first-contact surface.

The whole feature lives only in the spike (spikes/1301-wallet-signin/ —
the Go verifier, golden vectors, and wallet/wallet.mjs headless driver). Spec
#1492 §Solution names exactly these product surfaces as the work S5/S7/S8 + MA5/MA6
must land first.

Why no two-way part remains to land here. The four AC (member-sign-in-app,
first-contact, refused-after-revoke, app-only-toggle) each require a live
service door, an App-only toggle, and a refusal path that do not exist to drive
against. Authoring the Playwright drive spec now would mean inventing the
data-* / route contract that S5/S7/S8 will define — speculative, and it
violates red-before-green (the spec cannot go green by any code this ticket
owns; the code is five other tickets, explicitly out of this ticket's scope per
the manifest out_of_scope).

Ruling (ADR 0174 — two-way door, veto anytime). Routing off
ready-for-session → agent-blocked rather than leaving it to burn the
runner's two rehearsal attempts against a feature that provably isn't there.
Nothing a session can do makes this green until the blockers land. Unblock
condition:
when idss #1527/#1529/#1530 and matou-app #535/#532 are all
closed, re-add ready-for-session (the fan-in over spec #1492 should re-queue
it). The blocked_by edges already record the wait; this label just keeps the
standing-drainer from re-picking it in the meantime. Revertible label change,
proven by the five open edges + the greps above.

## Blocked — the feature under test does not exist yet (session finding, ADR 0174) This is the **drive-legs** ticket (story 35): four live legs that prove wallet sign-in the way a member and operator meet it. It cannot start, because every surface the four legs drive is unbuilt in the product. **The five `blocked_by` dependencies are all still open:** - idss #1527 (S5 — refusals + capped retry) — `ready-for-agent` - idss #1529 (S7 — App-only closes the three browser doors) — `ready-for-agent` - idss #1530 (S8 — the app card un-greys App-only) — `ready-for-agent`, agent-working - matou-app #535 (MA5 — known doors + first-contact prompt) — `ready-for-agent`, agent-working - matou-app #532 (MA6 — the link scheme registered) — `ready-for-agent` **Proof the product carries none of it yet.** On `origin/main` (this checkout, reset to it), greps across `internal/`, `app/src` and `dashboard/src` for the spec's surfaces find nothing: - no bridge **app-door / sign-in page**, no `challenge` / `present-as-holder` / `signin/status` routes (the only `challenge` hits are ACME/DNS; the only two-door page hits are device-add/`join`); - no **App-only** setting or dashboard row; - no **sign-in sites**, **approve card**, or **first-contact** surface. The whole feature lives **only in the spike** (`spikes/1301-wallet-signin/` — the Go verifier, golden vectors, and `wallet/wallet.mjs` headless driver). Spec #1492 §Solution names exactly these product surfaces as the work S5/S7/S8 + MA5/MA6 must land first. **Why no two-way part remains to land here.** The four AC (`member-sign-in-app`, `first-contact`, `refused-after-revoke`, `app-only-toggle`) each require a live service door, an App-only toggle, and a refusal path that do not exist to drive against. Authoring the Playwright drive spec now would mean inventing the `data-*` / route contract that S5/S7/S8 will define — speculative, and it violates red-before-green (the spec cannot go green by any code *this* ticket owns; the code is five other tickets, explicitly out of this ticket's scope per the manifest `out_of_scope`). **Ruling (ADR 0174 — two-way door, veto anytime).** Routing off `ready-for-session` → `agent-blocked` rather than leaving it to burn the runner's two rehearsal attempts against a feature that provably isn't there. Nothing a session can do makes this green until the blockers land. **Unblock condition:** when idss #1527/#1529/#1530 **and** matou-app #535/#532 are all closed, re-add `ready-for-session` (the fan-in over spec #1492 should re-queue it). The `blocked_by` edges already record the wait; this label just keeps the standing-drainer from re-picking it in the meantime. Revertible label change, proven by the five open edges + the greps above.
Author
Owner

Re-armed, not re-opened: this park was correct but it is not a defect — the ticket was filed with its blocking edges and a worker claimed it in the few minutes before those edges were recorded. Nothing about the ticket needs a human ruling.

Restoring the pipeline label and dropping agent-blocked so the queue re-offers it automatically once its blockers close — the dependency filter hides it until then, so it cannot be claimed early again.

Re-armed, not re-opened: this park was correct but it is **not a defect** — the ticket was filed with its blocking edges and a worker claimed it in the few minutes before those edges were recorded. Nothing about the ticket needs a human ruling. Restoring the pipeline label and dropping `agent-blocked` so the queue re-offers it automatically once its blockers close — the dependency filter hides it until then, so it cannot be claimed early again.

Why human

Ruled by agent under ADR 0174 — veto anytime. Routing this to ready-for-human. It is not a
two-way door a standing session can drive to green.

What is landed (so this is genuinely arm-able, later)

All five blockers are closed and the product side is real: internal/idp/appdoor.go serves the
app door end to end — GET /login/app/challenge|code|qr|status, POST /login/app/present (the
wallet's CESR presentation), the Go KERI verifier (keri_verifier.go / ledger_verifier.go), the
typed refusals (S5/#1527) and the App-only closures + refusal line (S7/#1529) pinned in
idip.test.ts, and the app-card→app-door wiring (S8/#1530). Design contract: DDR 0246, flow
docs/ux/flows/wallet-signin.mermaid, wireframes docs/ux/wireframes/wallet-signin/.

Why a one-shot session cannot land the four legs

The deliverable is four live Playwright legs on app/tests/e2e/journey.idip.spec.ts — the drive
that founds a whole community on a rehearsal droplet (~90 min of ceilings: deploy-takeover 25 min +
deploy-files 40 min) and needs OC_E2E_DROPLET_IP. Two hard walls:

  1. Founding-class live drive = the rehearsal-executor's queue-armed job, not a one-shot session's.
    This session has no DO token and no standing world (OC_E2E_DROPLET_IP empty, no
    standing-world.json), so a fresh two-box founding drive is required. A one-shot session dies with
    its final message (ADR 0174 session-runner rule 7) and cannot hold a 90-min two-box drive to green —
    the established rule: once authored + offline-green, a founding drive's LIVE green rides the
    executor queue.

  2. The legs need never-run drive infrastructure — a live-first prototype (the #1522 crux). The
    "headless wallet" (spike spikes/1301-wallet-signin/wallet/wallet.mjs) has only ever presented a
    credential issued by the spike's own isolated keria/community (setup.mjs) — never against a
    founded gateway. To make member-sign-in-app / first-contact / refused-after-revoke go green,
    the drive must, for the first time: (a) stand up a signify wallet that holds a Membership
    credential issued by the founded community
    and present it to the real /login/app/present; (b)
    make the community app card ready inside the drive world so the bridge renders the app door at
    all (#1530: no ready card → the page stays the twelve-words page and the legs have nothing to
    drive). No app-tests fixture does either today; the journey's own members are created client-side in
    a browser, not as a standalone wallet. Authoring the legs offline against this unbuilt, unvalidated
    integration would be speculative — a skip-forever stub, not offline-green.

  3. Eyeballing. AC: "Screenshots captured and eyeballed for each leg; a green with a faulted leg is
    a false green." That is Ben's eyes on the four per-leg frames (ADR 0174 — hands/eyes residue).

Proposed default ruling (ADR 0174 clause 4 — adopt to unblock fast)

Treat #1531 as a fan-out the way #1614 was split (#1617→#1618→#1619):

  • Step A (live-first prototype, session/executor with a droplet): prove the headless
    wallet ↔ founded-community app-door path once — a signify wallet holding a community-issued
    Membership ACDC signs the bridge's bound challenge and lands through /login/app/present, and the
    community app card is driven to ready in the rehearsal world. This is the #1301 spike lifted off
    its isolated stack onto a real gateway. File as a ready-for-session (or wayfinder-prototype)
    child; #1531 depends_on it.
  • Step B (author + arm, any session, offline-green): once Step A's integration is proven, add the
    four legs to journey.idip.spec.ts as a wallet-sign-in tail after member-sign-in, reusing the
    runRecordedLeg / per-leg installLegCapture frame + deliberate page.screenshot() pattern,
    driving the landed selectors (data-field="app-door", data-action="open-app",
    data-field="signin-qr", data-status="refused|refused-final", data-field="refusal-tail",
    data-field="words-door-link" gone under App-only). Offline-prove the pure helpers (deep-link parse,
    the ADR 0236 §5 bound-challenge string, refusal-tail matcher) in a *.test.ts twin.
  • Step C (executor drive + eyeball): the rehearsal-executor runs the armed legs; Ben eyeballs the
    four frames. That green closes the story.

Nothing here is destructive or a posture-widening; the only residue is operator arming of a
founding-class live drive + Ben's eyes. Veto or re-scope anytime.

## Why human Ruled by agent under ADR 0174 — veto anytime. Routing this to `ready-for-human`. It is **not** a two-way door a standing session can drive to green. ### What is landed (so this is genuinely arm-able, later) All five blockers are closed and the **product side is real**: `internal/idp/appdoor.go` serves the app door end to end — `GET /login/app/challenge|code|qr|status`, `POST /login/app/present` (the wallet's CESR presentation), the Go KERI verifier (`keri_verifier.go` / `ledger_verifier.go`), the typed refusals (S5/#1527) and the App-only closures + refusal line (S7/#1529) pinned in `idip.test.ts`, and the app-card→app-door wiring (S8/#1530). Design contract: DDR 0246, flow `docs/ux/flows/wallet-signin.mermaid`, wireframes `docs/ux/wireframes/wallet-signin/`. ### Why a one-shot session cannot land the four legs The deliverable is four **live** Playwright legs on `app/tests/e2e/journey.idip.spec.ts` — the drive that founds a whole community on a rehearsal droplet (~90 min of ceilings: `deploy-takeover` 25 min + `deploy-files` 40 min) and needs `OC_E2E_DROPLET_IP`. Two hard walls: 1. **Founding-class live drive = the rehearsal-executor's queue-armed job, not a one-shot session's.** This session has no DO token and no standing world (`OC_E2E_DROPLET_IP` empty, no `standing-world.json`), so a fresh two-box founding drive is required. A one-shot session dies with its final message (ADR 0174 session-runner rule 7) and cannot hold a 90-min two-box drive to green — the established rule: once authored + offline-green, a founding drive's LIVE green rides the executor queue. 2. **The legs need never-run drive infrastructure — a live-first prototype (the #1522 crux).** The "headless wallet" (spike `spikes/1301-wallet-signin/wallet/wallet.mjs`) has only ever presented a credential issued by the spike's **own isolated** keria/community (`setup.mjs`) — never against a founded gateway. To make `member-sign-in-app` / `first-contact` / `refused-after-revoke` go green, the drive must, for the first time: (a) stand up a signify wallet that **holds a Membership credential issued by the founded community** and present it to the real `/login/app/present`; (b) make the community **app card `ready`** inside the drive world so the bridge renders the app door at all (#1530: no ready card → the page stays the twelve-words page and the legs have nothing to drive). No app-tests fixture does either today; the journey's own members are created client-side in a browser, not as a standalone wallet. Authoring the legs offline against this unbuilt, unvalidated integration would be speculative — a skip-forever stub, not offline-green. 3. **Eyeballing.** AC: "Screenshots captured and eyeballed for each leg; a green with a faulted leg is a false green." That is Ben's eyes on the four per-leg frames (ADR 0174 — hands/eyes residue). ### Proposed default ruling (ADR 0174 clause 4 — adopt to unblock fast) Treat #1531 as a **fan-out** the way #1614 was split (#1617→#1618→#1619): - **Step A (live-first prototype, session/executor with a droplet):** prove the headless wallet ↔ **founded-community** app-door path once — a signify wallet holding a community-issued Membership ACDC signs the bridge's bound challenge and lands through `/login/app/present`, and the community app card is driven to `ready` in the rehearsal world. This is the #1301 spike lifted off its isolated stack onto a real gateway. File as a `ready-for-session` (or wayfinder-prototype) child; #1531 `depends_on` it. - **Step B (author + arm, any session, offline-green):** once Step A's integration is proven, add the four legs to `journey.idip.spec.ts` as a wallet-sign-in tail after `member-sign-in`, reusing the `runRecordedLeg` / per-leg `installLegCapture` frame + deliberate `page.screenshot()` pattern, driving the landed selectors (`data-field="app-door"`, `data-action="open-app"`, `data-field="signin-qr"`, `data-status="refused|refused-final"`, `data-field="refusal-tail"`, `data-field="words-door-link"` gone under App-only). Offline-prove the pure helpers (deep-link parse, the ADR 0236 §5 bound-challenge string, refusal-tail matcher) in a `*.test.ts` twin. - **Step C (executor drive + eyeball):** the rehearsal-executor runs the armed legs; Ben eyeballs the four frames. That green closes the story. Nothing here is destructive or a posture-widening; the only residue is operator arming of a founding-class live drive + Ben's eyes. Veto or re-scope anytime.
Author
Owner

Closed 2026-10-21 (Ben's ruling): folded into the drive checklist #2055 — the live proof this ticket still owed is now a checklist item there, to be carried by the next drives on the latest versions. A proof that fails on the drive becomes a NEW ticket; this one is not reopened.

Closed 2026-10-21 (Ben's ruling): folded into the drive checklist #2055 — the live proof this ticket still owed is now a checklist item there, to be carried by the next drives on the latest versions. A proof that fails on the drive becomes a NEW ticket; this one is not reopened.
ben 2026-10-21 21:50:59 +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.

Depends on
You do not have permission to read 2 dependencies
Reference
Matou/idss#1531
No description provided.