idip: S12 hand-off render + completion on IDIP — passkey CTA/credential split are kanidm-shaped and maybeFinish never completes (ADR 0215 residue) #970

Closed
opened 2026-08-28 22:13:29 +00:00 by matou-build-agent · 4 comments

ADR 0215 (#966) rules ADR 0046's credential-enrolment token + S12 passkey
ceremony N/A on the IDIP path: no token minted at seeding, no
OpenEnrolment/AwaitEnrolment ceremony, and BeginHandOff no longer
advertises the kanidm branded enrolment screen (EnrolmentStatus.Offered=false).
That closes the Go orchestrator's blindness, but leaves a member-facing design
surface
the #788 drive does not yet exercise (it rests at the open hand-off,
portal live, and never drives completion):

  • FoundingHandOff.vue still renders the kanidm passkey CTA and the
    operator-key / passkey credential split
    unconditionally when
    step === 'hand-off'. On IDIP that CTA and split are wrong — the person
    credential is the founder AID + operator ACDC the identity legs already
    settled (ADRs 0197/0198/0200).
  • Hand-off completion never fires on IDIP. maybeFinish
    (FoundingStandup.vue) gates the scrub/landing on ho.enrolment.registered,
    which never becomes true on IDIP (there is no passkey to register). What
    triggers CompleteHandOff on IDIP (the founder AID standing in for the
    registered passkey) is undecided.

This wants a fresh /grill → wireframe → spec for the IDIP S12 hand-off render +
completion, cross-referenced to DDR 0200's identity-rows. Named in ADR 0215's
"deliberately not resolved here" section. Filed as follow-up from #966.

ADR 0215 (#966) rules ADR 0046's credential-enrolment token + S12 passkey ceremony **N/A on the IDIP path**: no token minted at seeding, no `OpenEnrolment`/`AwaitEnrolment` ceremony, and `BeginHandOff` no longer advertises the kanidm branded enrolment screen (`EnrolmentStatus.Offered=false`). That closes the Go orchestrator's blindness, but leaves a **member-facing design surface** the #788 drive does not yet exercise (it rests at the open hand-off, portal live, and never drives completion): - **`FoundingHandOff.vue` still renders the kanidm passkey CTA and the operator-key / passkey credential split** unconditionally when `step === 'hand-off'`. On IDIP that CTA and split are wrong — the person credential is the founder AID + operator ACDC the identity legs already settled (ADRs 0197/0198/0200). - **Hand-off completion never fires on IDIP.** `maybeFinish` (`FoundingStandup.vue`) gates the scrub/landing on `ho.enrolment.registered`, which never becomes true on IDIP (there is no passkey to register). What triggers CompleteHandOff on IDIP (the founder AID standing in for the registered passkey) is undecided. This wants a fresh /grill → wireframe → spec for the IDIP S12 hand-off render + completion, cross-referenced to DDR 0200's identity-rows. Named in ADR 0215's "deliberately not resolved here" section. Filed as follow-up from #966.
Author
Member

This was generated by AI during triage.

Triage Notes — routed to needs-design

Category: enhancement (net-new IDIP-specific hand-off behaviour, not a regression against built work).
State: needs-design — the missing-design gate applies.

What we've established:

  • ADR 0215 (#966) rules ADR 0046's credential-enrolment token + S12 passkey ceremony N/A on the IDIP path, but leaves the member-facing S12 hand-off render + completion for IDIP unbuilt. The #788 drive rests at the open hand-off and never drives completion, so this surface is not yet exercised.
  • Two concrete gaps are named: (a) FoundingHandOff.vue renders the kanidm passkey CTA and the operator-key / passkey credential split unconditionally on step === 'hand-off' — wrong on IDIP, where the person credential is the founder AID + operator ACDC (ADRs 0197/0198/0200); (b) maybeFinish gates the scrub/landing on ho.enrolment.registered, which never becomes true on IDIP, so completion never fires.
  • The design contract does not exist. The only S12 wireframe (docs/ux/wireframes/p1-founding/p1-s12-hand-off.html) is kanidm/passkey-shaped — passkey CTA + credential split, zero founder-AID / ACDC variant. There is no IDIP S12 hand-off flow, wireframe, or child spec.
  • A design decision is explicitly open: what triggers CompleteHandOff on IDIP (the founder AID standing in for the registered passkey) is undecided in the body.

Why needs-design, not ready-for-agent: an agent has no design contract to build against for the IDIP hand-off render, and the completion trigger is an unresolved design question. This is not a human one-way door and not agent-implementable as filed — it routes back through the design tier: grill-ux-with-docs → wireframe (an IDIP variant of p1-s12-hand-off) → DDR for the completion trigger → to-spec, cross-referenced to DDR 0200's identity-rows. Once that contract lands and the human gate confirms it, re-triage to ready-for-agent.

Out of scope for the design work: the founder-AID identity-leg regression (#968) and the enrolment SSH hygiene (#969) are separate ready-for-agent bugs.

> *This was generated by AI during triage.* ## Triage Notes — routed to `needs-design` **Category:** enhancement (net-new IDIP-specific hand-off behaviour, not a regression against built work). **State:** `needs-design` — the missing-design gate applies. **What we've established:** - ADR 0215 (#966) rules ADR 0046's credential-enrolment token + S12 passkey ceremony **N/A on the IDIP path**, but leaves the member-facing S12 hand-off render + completion for IDIP unbuilt. The #788 drive rests at the open hand-off and never drives completion, so this surface is not yet exercised. - Two concrete gaps are named: (a) `FoundingHandOff.vue` renders the kanidm passkey CTA and the operator-key / passkey credential split unconditionally on `step === 'hand-off'` — wrong on IDIP, where the person credential is the founder AID + operator ACDC (ADRs 0197/0198/0200); (b) `maybeFinish` gates the scrub/landing on `ho.enrolment.registered`, which never becomes true on IDIP, so completion never fires. - **The design contract does not exist.** The only S12 wireframe (`docs/ux/wireframes/p1-founding/p1-s12-hand-off.html`) is kanidm/passkey-shaped — passkey CTA + credential split, zero founder-AID / ACDC variant. There is no IDIP S12 hand-off flow, wireframe, or child spec. - **A design decision is explicitly open:** what triggers `CompleteHandOff` on IDIP (the founder AID standing in for the registered passkey) is undecided in the body. **Why `needs-design`, not `ready-for-agent`:** an agent has no design contract to build against for the IDIP hand-off render, and the completion trigger is an unresolved design question. This is not a human one-way door and not agent-implementable as filed — it routes back through the design tier: `grill-ux-with-docs` → `wireframe` (an IDIP variant of p1-s12-hand-off) → DDR for the completion trigger → `to-spec`, cross-referenced to DDR 0200's identity-rows. Once that contract lands and the human gate confirms it, re-triage to `ready-for-agent`. **Out of scope for the design work:** the founder-AID identity-leg regression (#968) and the enrolment SSH hygiene (#969) are separate `ready-for-agent` bugs.
Owner

Grilled with Ben 2026-08-30 — DDR 0216 landed (695d4f38), both gates confirmed

Rulings:

  1. Completion = the dashboard click. Open your dashboard opens the portal AND fires CompleteHandOff. No wait, no poll, no new wire — the credential settled at the identity rows, so kanidm's registered-gate protects nothing on IDIP. (Rejected: first-sign-in completion — new idp→control-plane wire + entangles the drive halves; complete-at-open — finishes while the founder is still reading.)
  2. Render = sign-in line + identity echo. No passkey CTA, no credential split: one line (S6a passcode at the bridge, ~7 s per #732) + a small echo of the four settled identity rows (founder AID short-form). Portal link-out, add-devices/invite cards and the recovery-kit prompt survive unchanged.
  3. Edge states: single idle state, zero fault frames (nothing on this screen can fail; no token exists to expire). A relaunched open hand-off auto-completes — quit resolves the kit offer as later (same as the button; dashboard reminds).

Mechanism (two-way doors, agent-buildable): renderer keys on EnrolmentStatus.Offered === false (ADR 0215's advertisement — identity-blind); CompleteHandOff readiness → (not offered, or registered) and kit resolved; drive change = ONE additive leg (#788 closed green today — untouched, the leg is future spec work).

Artifacts: docs/adr/0216-design-idip-s12-hand-off-completion.md + p1-founding flow edge + CONTEXT.md design nouns (S12-IDIP).

Remaining for this ticket: /wireframe (S12-IDIP variant of p1-s12-hand-off.html) → /to-spec, then re-triage to ready-for-agent.

## Grilled with Ben 2026-08-30 — DDR 0216 landed (`695d4f38`), both gates confirmed Rulings: 1. **Completion = the dashboard click.** *Open your dashboard* opens the portal AND fires `CompleteHandOff`. No wait, no poll, no new wire — the credential settled at the identity rows, so kanidm's registered-gate protects nothing on IDIP. (Rejected: first-sign-in completion — new idp→control-plane wire + entangles the drive halves; complete-at-open — finishes while the founder is still reading.) 2. **Render = sign-in line + identity echo.** No passkey CTA, no credential split: one line (S6a passcode at the bridge, ~7 s per #732) + a small echo of the four settled identity rows (founder AID short-form). Portal link-out, add-devices/invite cards and the recovery-kit prompt survive unchanged. 3. **Edge states:** single idle state, zero fault frames (nothing on this screen can fail; no token exists to expire). **A relaunched open hand-off auto-completes** — quit resolves the kit offer as *later* (same as the button; dashboard reminds). Mechanism (two-way doors, agent-buildable): renderer keys on `EnrolmentStatus.Offered === false` (ADR 0215's advertisement — identity-blind); `CompleteHandOff` readiness → *(not offered, or registered) and kit resolved*; drive change = ONE additive leg (#788 closed green today — untouched, the leg is future spec work). Artifacts: `docs/adr/0216-design-idip-s12-hand-off-completion.md` + p1-founding flow edge + CONTEXT.md design nouns (S12-IDIP). **Remaining for this ticket:** `/wireframe` (S12-IDIP variant of `p1-s12-hand-off.html`) → `/to-spec`, then re-triage to ready-for-agent.
Owner

Wireframe landed and confirmed by Ben: docs/ux/wireframes/p1-founding/p1-s12-hand-off-idip.html (cfbb10cc). One screen-state per DDR 0216; contract elements = identity-echo (p1-s7x row names + founder-aid short-form), sign-in-line, shared portal-address/open-your-dashboard/kit actions; the kanidm enrol-pending / ceremony-window / invite-expired frames deliberately absent, named in the provenance comment. README index rows added (incl. the missing S6a/S7x).

Remaining: /to-spec → re-triage to ready-for-agent.

Wireframe landed and confirmed by Ben: `docs/ux/wireframes/p1-founding/p1-s12-hand-off-idip.html` (`cfbb10cc`). One screen-state per DDR 0216; contract elements = `identity-echo` (p1-s7x row names + `founder-aid` short-form), `sign-in-line`, shared `portal-address`/`open-your-dashboard`/kit actions; the kanidm enrol-pending / ceremony-window / invite-expired frames deliberately absent, named in the provenance comment. README index rows added (incl. the missing S6a/S7x). Remaining: `/to-spec` → re-triage to ready-for-agent.
Owner

Design tier COMPLETE — closing in the spec's favour (the #388/#511 precedent).

The full contract now exists: DDR 0216 (695d4f38) + the p1-founding flow's IDIP S12 edge + p1-s12-hand-off-idip.html (cfbb10cc, confirmed) + child spec #1039 with per-story Given/When/Then acceptance criteria (labelled no-triage — specs are to-tickets input, never swarm-eligible directly, per the #767 lesson).

Next: /to-tickets over #1039 (or fold it into the next slice run) → the swarm builds against the wireframe contract.

Design tier COMPLETE — closing in the spec's favour (the #388/#511 precedent). The full contract now exists: DDR 0216 (`695d4f38`) + the p1-founding flow's IDIP S12 edge + `p1-s12-hand-off-idip.html` (`cfbb10cc`, confirmed) + child spec **#1039** with per-story Given/When/Then acceptance criteria (labelled `no-triage` — specs are to-tickets input, never swarm-eligible directly, per the #767 lesson). Next: `/to-tickets` over #1039 (or fold it into the next slice run) → the swarm builds against the wireframe contract.
ben closed this issue 2026-08-30 17:01:53 +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.

Dependencies

No dependencies set.

Reference
Matou/idss#970
No description provided.