spec: IDIP S12 hand-off — render + click-completes (DDR 0216) #1039

Open
opened 2026-08-30 17:01:36 +00:00 by ben · 0 comments
Owner

Parent

Child spec of the IDIP wayfinder map #725 (closed — decisions inherited) via ticket #970. Design contract: DDR 0216, docs/ux/flows/p1-founding.mermaid (the IDIP S12 edge), docs/ux/wireframes/p1-founding/p1-s12-hand-off-idip.html (confirmed by Ben 2026-08-30). Builds on ADR 0215 (the enrolment surface is N/A on IDIP) and DDR 0200 (the identity rows settle the founder's person credential before S12).

Problem Statement

A founder who chose IDIP finishes founding on a hand-off screen that lies to them: it offers a kanidm passkey ceremony that does not exist on their path (their credential — founder AID + operator membership ACDC — was already minted at the identity rows), and because the app waits for a passkey registration that can never happen, founding never formally completes: the scrub never runs, the founding state file never resolves, and the founder never lands on Operator home.

Solution

On the IDIP path the S12 hand-off renders the truth and completes on the founder's own gesture: an identity echo of the four settled identity rows (founder AID short-form) and a single honest sign-in line (the S6a-derived passcode at the bridge's page, a few seconds) replace the passkey CTA and the operator-key/passkey credential split. Open your dashboard both opens the portal in the browser and completes the hand-off (scrub → Operator home). A relaunched open IDIP hand-off auto-completes; quitting the screen resolves the recovery-kit offer as "later". The screen has one idle state and zero fault frames. The kanidm path is untouched.

User Stories

  1. As a founder on the IDIP path, I want the hand-off screen to stop offering the passkey ceremony, so that I am not asked to create a credential I already hold.
    • Given founding was run with IDIP chosen, When the S12 hand-off renders, Then no passkey CTA, no operator-key/passkey credential split, no enrol-pending waiting card and no invite-expired fault surface exist on the screen.
  2. As a founder on the IDIP path, I want one honest sign-in line, so that I know exactly how I will get into my dashboard.
    • Given the IDIP hand-off is open, When I read the screen, Then a sign-in line tells me I will sign in with my passcode — the one derived from my recovery phrase — and that it takes a few seconds; the copy is credential-singular (no "passkey or password" split).
  3. As a founder on the IDIP path, I want an identity echo of what founding minted, so that I see my identity confirmed once more before leaving the wizard.
    • Given the identity rows completed, When the IDIP hand-off renders, Then it echoes the four settled rows (identity service, your identity, community identity, your membership — the same row vocabulary as the stand-up fragment) with my founder AID in short form.
  4. As a founder on the IDIP path, I want "Open your dashboard" to open my portal and finish founding in one click, so that there is no waiting on nothing.
    • Given the IDIP hand-off is open and the recovery-kit offer is resolved (saved or later), When I click Open your dashboard, Then the portal opens in my browser AND the hand-off completes: the scrub runs, the founding state file resolves, and the app lands on Operator home.
    • Given the recovery-kit offer is still unresolved, When I click Open your dashboard, Then the click resolves the kit offer as "later" and completes as above (the dashboard reminds me about the kit).
  5. As a founder who quit the app at the hand-off, I want relaunch to finish founding for me, so that a done ceremony is not re-shown.
    • Given an IDIP founding rests at an open hand-off, When the app relaunches, Then the hand-off auto-completes without rendering S12 and I land on Operator home; a kit offer left unresolved at quit is resolved as "later".
  6. As a founder, I want the portal address to stay a real link out, so that my community's front door opens in my browser, never inside the app's window.
    • Given the IDIP hand-off is open, When I activate the portal address, Then it opens externally (the ruled leave-the-app edge), identical to the kanidm screen.
  7. As a founder, I want the recovery-kit prompt intact on IDIP, so that community-rescue material is still offered at the same moment.
    • Given the IDIP hand-off is open, When the kit offer is unresolved, Then Save kit and Later behave exactly as on the kanidm screen, with the same saved/declined confirmations.
  8. As a founder on the kanidm path, I want my ceremony untouched, so that the proven passkey flow keeps working.
    • Given founding was run with kanidm, When S12 renders and the ceremony runs, Then the CTA, waiting card, fault frame, registered-gate and completion behave exactly as today.
  9. As an operator whose founding completed by click or auto-complete, I want the scrub verified as on kanidm, so that no crown-jewel material outlives founding.
    • Given the hand-off completes on IDIP, When the scrub runs, Then the residue is exactly the designed set and completion fails loud if verification fails.
  10. As an agent building against the wireframe, I want the DOM contract stable, so that design-verify can check the shipped UI.
    • Given the IDIP hand-off renders, When the DOM is read, Then the wireframe's contract elements exist: the identity echo, founder AID short-form, sign-in line, portal address anchor, dashboard action, and the kit actions — under the names the wireframe carries.

Implementation Decisions

  • The renderer keys every IDIP difference on the wire's own advertisement — the enrolment status's offered flag being false (set by BeginHandOff since ADR 0215) — never on a parallel identity flag. The renderer stays identity-blind.
  • The hand-off completion gate in the founding orchestrator changes from "enrolment registered AND kit resolved" to "(enrolment not offered, OR registered) AND kit resolved". One condition; kanidm semantics unchanged.
  • The dashboard action on IDIP performs both effects of the one gesture: open the portal externally, then complete the hand-off. If the kit offer is unresolved at that moment, the click resolves it as "later" first (same meaning as the Later button).
  • Auto-complete on resume: when the app boots onto a founding resting at an open hand-off whose enrolment was not offered, it completes immediately (resolving an unresolved kit offer as "later") and lands on Operator home without rendering S12.
  • The completion op's scrub, residue verification, state-file deletion and founded-latch are reused untouched — only the readiness gate changes.
  • The identity echo sources its four rows from the same identity state the stand-up rows rendered (no new wire); the founder AID renders short-form.
  • No new states, no fault frames, no waiting card on the IDIP screen: the click is a local write plus a browser open. A bridge fault belongs to the browser's sign-in page; the door probe proved the stack live before S12.

Testing Decisions

Good tests here assert external behaviour at the confirmed seams (grill seam gate, Ben 2026-08-30):

  • Founding orchestrator seam (the highest existing seam; prior art: ADR 0215's seam test that drives seed + hand-off with the IDIP draft): with identity = IDIP, completion succeeds without any enrolment once the kit is resolved; a click/auto-complete with the kit unresolved lands the kit as "later"; the kanidm draft still refuses an unregistered enrolment; scrub residue verification still gates completion.
  • Renderer component tests (prior art: the existing hand-off component specs): with offered === false, the passkey CTA/split/waiting/fault surfaces do not render and the identity echo + sign-in line do; with offered === true the kanidm render is unchanged.
  • The live drive gains ONE additive leg (prior art: the IDIP journey spec, green 25/25 on 2026-08-30): after the tail reads the portal address off S12, click the dashboard action and assert completion + Operator home. No existing legs change; the read-before-click ordering is the only sequencing care.

Out of Scope

  • The bridge's branded sign-in page and the member join page (named for their own spec in DDR 0200).
  • Any kanidm-path behaviour change.
  • A first-sign-in signal from the bridge back to the app (rejected in DDR 0216).
  • KERIA/signify boot faults of the #779 class, and witness-degradation copy (ADR 0198/#732 surfaces).
  • The recovery-kit contents (community-rescue material, ADR 0201) — only the offer's resolution semantics are touched here.

Further Notes

The kanidm S12 wireframe keeps its ceremony frames; the IDIP variant deliberately has none — the absence is ruled (DDR 0216) and named in the wireframe's provenance comment so design-verify treats a missing waiting/fault frame as correct, not a gap.

## Parent Child spec of the IDIP wayfinder map #725 (closed — decisions inherited) via ticket #970. Design contract: DDR 0216, `docs/ux/flows/p1-founding.mermaid` (the IDIP S12 edge), `docs/ux/wireframes/p1-founding/p1-s12-hand-off-idip.html` (confirmed by Ben 2026-08-30). Builds on ADR 0215 (the enrolment surface is N/A on IDIP) and DDR 0200 (the identity rows settle the founder's person credential before S12). ## Problem Statement A founder who chose IDIP finishes founding on a hand-off screen that lies to them: it offers a kanidm passkey ceremony that does not exist on their path (their credential — founder AID + operator membership ACDC — was already minted at the identity rows), and because the app waits for a passkey registration that can never happen, **founding never formally completes**: the scrub never runs, the founding state file never resolves, and the founder never lands on Operator home. ## Solution On the IDIP path the S12 hand-off renders the truth and completes on the founder's own gesture: an **identity echo** of the four settled identity rows (founder AID short-form) and a single honest **sign-in line** (the S6a-derived passcode at the bridge's page, a few seconds) replace the passkey CTA and the operator-key/passkey credential split. **Open your dashboard** both opens the portal in the browser and completes the hand-off (scrub → Operator home). A relaunched open IDIP hand-off auto-completes; quitting the screen resolves the recovery-kit offer as "later". The screen has one idle state and zero fault frames. The kanidm path is untouched. ## User Stories 1. As a founder on the IDIP path, I want the hand-off screen to stop offering the passkey ceremony, so that I am not asked to create a credential I already hold. - Given founding was run with IDIP chosen, When the S12 hand-off renders, Then no passkey CTA, no operator-key/passkey credential split, no enrol-pending waiting card and no invite-expired fault surface exist on the screen. 2. As a founder on the IDIP path, I want one honest sign-in line, so that I know exactly how I will get into my dashboard. - Given the IDIP hand-off is open, When I read the screen, Then a sign-in line tells me I will sign in with my passcode — the one derived from my recovery phrase — and that it takes a few seconds; the copy is credential-singular (no "passkey or password" split). 3. As a founder on the IDIP path, I want an identity echo of what founding minted, so that I see my identity confirmed once more before leaving the wizard. - Given the identity rows completed, When the IDIP hand-off renders, Then it echoes the four settled rows (identity service, your identity, community identity, your membership — the same row vocabulary as the stand-up fragment) with my founder AID in short form. 4. As a founder on the IDIP path, I want "Open your dashboard" to open my portal and finish founding in one click, so that there is no waiting on nothing. - Given the IDIP hand-off is open and the recovery-kit offer is resolved (saved or later), When I click Open your dashboard, Then the portal opens in my browser AND the hand-off completes: the scrub runs, the founding state file resolves, and the app lands on Operator home. - Given the recovery-kit offer is still unresolved, When I click Open your dashboard, Then the click resolves the kit offer as "later" and completes as above (the dashboard reminds me about the kit). 5. As a founder who quit the app at the hand-off, I want relaunch to finish founding for me, so that a done ceremony is not re-shown. - Given an IDIP founding rests at an open hand-off, When the app relaunches, Then the hand-off auto-completes without rendering S12 and I land on Operator home; a kit offer left unresolved at quit is resolved as "later". 6. As a founder, I want the portal address to stay a real link out, so that my community's front door opens in my browser, never inside the app's window. - Given the IDIP hand-off is open, When I activate the portal address, Then it opens externally (the ruled leave-the-app edge), identical to the kanidm screen. 7. As a founder, I want the recovery-kit prompt intact on IDIP, so that community-rescue material is still offered at the same moment. - Given the IDIP hand-off is open, When the kit offer is unresolved, Then Save kit and Later behave exactly as on the kanidm screen, with the same saved/declined confirmations. 8. As a founder on the kanidm path, I want my ceremony untouched, so that the proven passkey flow keeps working. - Given founding was run with kanidm, When S12 renders and the ceremony runs, Then the CTA, waiting card, fault frame, registered-gate and completion behave exactly as today. 9. As an operator whose founding completed by click or auto-complete, I want the scrub verified as on kanidm, so that no crown-jewel material outlives founding. - Given the hand-off completes on IDIP, When the scrub runs, Then the residue is exactly the designed set and completion fails loud if verification fails. 10. As an agent building against the wireframe, I want the DOM contract stable, so that design-verify can check the shipped UI. - Given the IDIP hand-off renders, When the DOM is read, Then the wireframe's contract elements exist: the identity echo, founder AID short-form, sign-in line, portal address anchor, dashboard action, and the kit actions — under the names the wireframe carries. ## Implementation Decisions - The renderer keys every IDIP difference on **the wire's own advertisement** — the enrolment status's `offered` flag being false (set by BeginHandOff since ADR 0215) — never on a parallel identity flag. The renderer stays identity-blind. - The hand-off completion gate in the founding orchestrator changes from "enrolment registered AND kit resolved" to **"(enrolment not offered, OR registered) AND kit resolved"**. One condition; kanidm semantics unchanged. - The dashboard action on IDIP performs both effects of the one gesture: open the portal externally, then complete the hand-off. If the kit offer is unresolved at that moment, the click resolves it as "later" first (same meaning as the Later button). - Auto-complete on resume: when the app boots onto a founding resting at an open hand-off whose enrolment was not offered, it completes immediately (resolving an unresolved kit offer as "later") and lands on Operator home without rendering S12. - The completion op's scrub, residue verification, state-file deletion and founded-latch are reused untouched — only the readiness gate changes. - The identity echo sources its four rows from the same identity state the stand-up rows rendered (no new wire); the founder AID renders short-form. - No new states, no fault frames, no waiting card on the IDIP screen: the click is a local write plus a browser open. A bridge fault belongs to the browser's sign-in page; the door probe proved the stack live before S12. ## Testing Decisions Good tests here assert external behaviour at the confirmed seams (grill seam gate, Ben 2026-08-30): - **Founding orchestrator seam** (the highest existing seam; prior art: ADR 0215's seam test that drives seed + hand-off with the IDIP draft): with identity = IDIP, completion succeeds without any enrolment once the kit is resolved; a click/auto-complete with the kit unresolved lands the kit as "later"; the kanidm draft still refuses an unregistered enrolment; scrub residue verification still gates completion. - **Renderer component tests** (prior art: the existing hand-off component specs): with `offered === false`, the passkey CTA/split/waiting/fault surfaces do not render and the identity echo + sign-in line do; with `offered === true` the kanidm render is unchanged. - **The live drive gains ONE additive leg** (prior art: the IDIP journey spec, green 25/25 on 2026-08-30): after the tail reads the portal address off S12, click the dashboard action and assert completion + Operator home. No existing legs change; the read-before-click ordering is the only sequencing care. ## Out of Scope - The bridge's branded sign-in page and the member join page (named for their own spec in DDR 0200). - Any kanidm-path behaviour change. - A first-sign-in signal from the bridge back to the app (rejected in DDR 0216). - KERIA/signify boot faults of the #779 class, and witness-degradation copy (ADR 0198/#732 surfaces). - The recovery-kit contents (community-rescue material, ADR 0201) — only the offer's resolution semantics are touched here. ## Further Notes The kanidm S12 wireframe keeps its ceremony frames; the IDIP variant deliberately has none — the absence is ruled (DDR 0216) and named in the wireframe's provenance comment so design-verify treats a missing waiting/fault frame as correct, not a gap.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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#1039
No description provided.