idip-credentials: T4 — join ceremony upgrade: word-box grid + three-word verify (S3i) #1081

Closed
opened 2026-08-31 18:33:39 +00:00 by ben · 2 comments
Owner

Parent

Spec #1074 (IDIP Members credentials; DDR 0217). Source ticket #1061.

What to build

The gateway-served join page wears the matou-app phrase ceremony: numbered word-box grid, 'Give me different words', and PROVE IT — type three named words — gating the join; the honest-loss explainer stays; witness-down still blocks JOIN honestly consuming nothing (ADR 0195/0198; p1-s6a contract fields).

Acceptance criteria

  • Twelve words render as the numbered box grid; regenerate mints a fresh phrase
  • Join is disabled until the three named words match (client-side; wrong words never leave the page)
  • Boot/submit behaviour unchanged after the verify; waiting lands on S5
  • Witness-down shows the honest degradation state; the invite is not consumed
  • Contract fields mirror p1-s6a (recovery-phrase / confirm)

Blocked by

None — can start immediately.

Task manifest

task: idip-credentials-join-ceremony
implements_flow: p6-members-idip
implements_edge: "S2i → S3i → S5 (+ witness-down self edge)"
wireframe: docs/ux/wireframes/p6-members-idip/p6-s3i-member-joins.html
seam: join-page unit/contract tests (existing member_join surface tests) — no new seam
depends_on: []
out_of_scope: [credential-gated presentation (#1063), custom fields, kanidm-path changes, rescue engine adapters]
needs_human_decision: []
## Parent Spec #1074 (IDIP Members credentials; DDR 0217). Source ticket #1061. ## What to build The gateway-served join page wears the matou-app phrase ceremony: numbered word-box grid, 'Give me different words', and PROVE IT — type three named words — gating the join; the honest-loss explainer stays; witness-down still blocks JOIN honestly consuming nothing (ADR 0195/0198; p1-s6a contract fields). ## Acceptance criteria - [ ] Twelve words render as the numbered box grid; regenerate mints a fresh phrase - [ ] Join is disabled until the three named words match (client-side; wrong words never leave the page) - [ ] Boot/submit behaviour unchanged after the verify; waiting lands on S5 - [ ] Witness-down shows the honest degradation state; the invite is not consumed - [ ] Contract fields mirror p1-s6a (recovery-phrase / confirm) ## Blocked by None — can start immediately. ## Task manifest ```yaml task: idip-credentials-join-ceremony implements_flow: p6-members-idip implements_edge: "S2i → S3i → S5 (+ witness-down self edge)" wireframe: docs/ux/wireframes/p6-members-idip/p6-s3i-member-joins.html seam: join-page unit/contract tests (existing member_join surface tests) — no new seam depends_on: [] out_of_scope: [credential-gated presentation (#1063), custom fields, kanidm-path changes, rescue engine adapters] needs_human_decision: [] ```

swarm-claim host=matou-dev-server-01 run=15297
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=15297 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #1081 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1081,
  "status": "success",
  "commits": [
    "a2061ef0"
  ],
  "changed_files": [
    "STATUS.md",
    "app/src/keriweb/main.ts",
    "app/tests/e2e/fixtures/idip.ts",
    "internal/controlapi/member_join_idip.go",
    "internal/controlapi/member_join_idip_integration_test.go"
  ],
  "tests": [
    {
      "command": "go test ./internal/controlapi/",
      "exit_code": 0
    },
    {
      "command": "vitest run tests/e2e/fixtures/idip.test.ts tests/unit/keriwebDoors.test.ts",
      "exit_code": 0
    },
    {
      "command": "vue-tsc -p tsconfig.json --noEmit",
      "exit_code": 0
    },
    {
      "command": "eslint app/src/keriweb/main.ts app/tests/e2e/fixtures/idip.ts",
      "exit_code": 0
    }
  ],
  "criteria": {
    "Twelve words render as the numbered box grid; regenerate mints a fresh phrase": "member_join_idip.go renderJoin emits <ol class=\"words\" data-field=\"recovery-phrase\"> + data-action=\"regenerate\"; keriweb/main.ts mountJoinCeremony renders 12 numbered <li> boxes and re-runs generatePhrase() on regenerate (resetting confirm). Verified by TestIdipJoin_LiveInviteCompletesToWaiting contract asserts + idip vitest.",
    "Join is disabled until the three named words match (client-side; wrong words never leave the page)": "Join button renders `data-action=\"join\" disabled` (asserted by TestIdipJoin_LiveInviteCompletesToWaiting); mountJoinCeremony.verify() enables it only when words 3/7/12 match (case/space-insensitive). Confirm inputs carry no form name and sit outside <form id=idip-join>, so they never post; the submit body is still {aid,name,email} (TestIdipJoin_LinkCarriesOnlyToken).",
    "Boot/submit behaviour unchanged after the verify; waiting lands on S5": "idssKeriJoin unchanged (boots via token-gated /boot, mints AID, posts {aid,name,email}); renderWaiting (P6-S5) unchanged; TestIdipJoin_LiveInviteCompletesToWaiting drives submit -> data-status=\"awaiting-approval\" + waiting-explainer, AID on roster not issued.",
    "Witness-down shows the honest degradation state; the invite is not consumed": "renderDegraded unchanged (data-status=\"join-degraded\", no join action, never names sign-in); InviteLive peeks without spending. Verified by TestIdipJoin_WitnessDown_HonestRow_NeverNamesSignIn.",
    "Contract fields mirror p1-s6a (recovery-phrase / confirm)": "data-field=\"recovery-phrase\" (grid) + data-field=\"confirm\" with confirm-word-3/7/12 inputs and the PROVE IT label mirror p1-s6a-recovery-phrase.html; asserted in TestIdipJoin_LiveInviteCompletesToWaiting."
  },
  "summary": "The IDIP join page now wears the matou-app phrase ceremony: numbered word-box grid, regenerate, and a client-side three-word verify gating a disabled Join, with boot/submit and witness-down behaviour unchanged.",
  "blockers": []
}
**close-report** for #1081 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1081, "status": "success", "commits": [ "a2061ef0" ], "changed_files": [ "STATUS.md", "app/src/keriweb/main.ts", "app/tests/e2e/fixtures/idip.ts", "internal/controlapi/member_join_idip.go", "internal/controlapi/member_join_idip_integration_test.go" ], "tests": [ { "command": "go test ./internal/controlapi/", "exit_code": 0 }, { "command": "vitest run tests/e2e/fixtures/idip.test.ts tests/unit/keriwebDoors.test.ts", "exit_code": 0 }, { "command": "vue-tsc -p tsconfig.json --noEmit", "exit_code": 0 }, { "command": "eslint app/src/keriweb/main.ts app/tests/e2e/fixtures/idip.ts", "exit_code": 0 } ], "criteria": { "Twelve words render as the numbered box grid; regenerate mints a fresh phrase": "member_join_idip.go renderJoin emits <ol class=\"words\" data-field=\"recovery-phrase\"> + data-action=\"regenerate\"; keriweb/main.ts mountJoinCeremony renders 12 numbered <li> boxes and re-runs generatePhrase() on regenerate (resetting confirm). Verified by TestIdipJoin_LiveInviteCompletesToWaiting contract asserts + idip vitest.", "Join is disabled until the three named words match (client-side; wrong words never leave the page)": "Join button renders `data-action=\"join\" disabled` (asserted by TestIdipJoin_LiveInviteCompletesToWaiting); mountJoinCeremony.verify() enables it only when words 3/7/12 match (case/space-insensitive). Confirm inputs carry no form name and sit outside <form id=idip-join>, so they never post; the submit body is still {aid,name,email} (TestIdipJoin_LinkCarriesOnlyToken).", "Boot/submit behaviour unchanged after the verify; waiting lands on S5": "idssKeriJoin unchanged (boots via token-gated /boot, mints AID, posts {aid,name,email}); renderWaiting (P6-S5) unchanged; TestIdipJoin_LiveInviteCompletesToWaiting drives submit -> data-status=\"awaiting-approval\" + waiting-explainer, AID on roster not issued.", "Witness-down shows the honest degradation state; the invite is not consumed": "renderDegraded unchanged (data-status=\"join-degraded\", no join action, never names sign-in); InviteLive peeks without spending. Verified by TestIdipJoin_WitnessDown_HonestRow_NeverNamesSignIn.", "Contract fields mirror p1-s6a (recovery-phrase / confirm)": "data-field=\"recovery-phrase\" (grid) + data-field=\"confirm\" with confirm-word-3/7/12 inputs and the PROVE IT label mirror p1-s6a-recovery-phrase.html; asserted in TestIdipJoin_LiveInviteCompletesToWaiting." }, "summary": "The IDIP join page now wears the matou-app phrase ceremony: numbered word-box grid, regenerate, and a client-side three-word verify gating a disabled Join, with boot/submit and witness-down behaviour unchanged.", "blockers": [] } ``` </details>
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#1081
No description provided.