idip: founding-s3a-identity — the S3a identity question (kanidm preselected, IDIP opt-in) #774

Closed
opened 2026-08-25 04:26:55 +00:00 by ben · 2 comments
Owner

Parent

Feature spec: #767 (idip; wayfinder map #725).

What to build

The founding wizard's one identity question (ADR 0194 amending 0004/0016): a dedicated screen P1-S3a Identity between Brand kit and Access — "How will members prove who they are?" — with Passwords & passkeys (kanidm) preselected and marked recommended, one click through byte-identical to today's path, and the Self-sovereign identity (IDIP) card carrying its consequence line in plain words: members hold their own keys, nobody can reset them but the member, the founder writes down a 12-word recovery phrase instead of setting an admin password, and mail arrives later on this path (ADR 0199). The choice is recorded in founding state. Re-choice is legal on the reopened walk pre-deploy (DDR 0142's machinery, like S4/S5); after Founded, S3a is a locked step that refuses navigation (like S2/S3). Per-path step numbering: the kanidm path keeps "Create · n of 5" untouched; the IDIP path shows "n of 7" (S3a, S6a inserted) — no global renumber.

Acceptance criteria

  • (story 1) Given a founder on S3 Brand kit, when they continue, then S3a appears with kanidm preselected/recommended and one click proceeds to S4 with behaviour byte-identical to today's path.
  • (story 1/35) Given the S3a screen, when the founder reads the IDIP card, then it states members hold their own keys, the 12-word phrase replaces the admin password, and "mail arrives later on this path".
  • (story 2) Given a reopened walk before deploy, when the founder navigates to S3a, then re-choice is legal in both directions; given a Founded community, then S3a refuses navigation as a locked step.
  • (story 3) Given IDIP chosen, then title bars show "Create · n of 7"; given kanidm, then "n of 5" is untouched.

Blocked by

  • founding:soft-phase-ui (#105) (done — satisfied)
  • shell:app-side-shell (done — satisfied)

Task manifest

task: idip:founding-s3a-identity
implements_flow: p1-founding
implements_edge: S3→S3a, S3a→S4
wireframe: docs/ux/wireframes/p1-founding/p1-s3a-identity.html
interface: the founding orchestrator's soft-phase face grows the identity choice (kanidm default | idip)
  with DDR 0142 re-choice/lock semantics, plus the S3a wizard screen and per-path step numbering
seam: 'founding orchestrator seam tests (soft phase: choice recorded, re-choice legal pre-deploy, locked
  after Founded) + wizard screen tests against the wireframe contract'
acceptance:
- given: a founder continuing from S3
  when: S3a renders
  then: kanidm preselected/recommended; one click through is byte-identical to today
- given: the IDIP card
  when: read
  then: consequence line present incl. "mail arrives later on this path"
- given: a reopened walk pre-deploy / a Founded community
  when: navigating to S3a
  then: re-choice legal / locked step refuses
- given: IDIP vs kanidm chosen
  when: title bars render
  then: '"n of 7" vs untouched "n of 5"'
depends_on:
- founding:soft-phase-ui
out_of_scope:
- the S6a ceremony — founding-s6a-ceremony
- the seed-leg swap — seed-leg-idip
- migrating an existing community between substrates (spec Out of Scope)
needs_human_decision: []
## Parent Feature spec: #767 (idip; wayfinder map #725). ## What to build The founding wizard's one identity question (ADR 0194 amending 0004/0016): a dedicated screen P1-S3a Identity between Brand kit and Access — "How will members prove who they are?" — with Passwords & passkeys (kanidm) preselected and marked recommended, one click through byte-identical to today's path, and the Self-sovereign identity (IDIP) card carrying its consequence line in plain words: members hold their own keys, nobody can reset them but the member, the founder writes down a 12-word recovery phrase instead of setting an admin password, and mail arrives later on this path (ADR 0199). The choice is recorded in founding state. Re-choice is legal on the reopened walk pre-deploy (DDR 0142's machinery, like S4/S5); after Founded, S3a is a locked step that refuses navigation (like S2/S3). Per-path step numbering: the kanidm path keeps "Create · n of 5" untouched; the IDIP path shows "n of 7" (S3a, S6a inserted) — no global renumber. ## Acceptance criteria - [ ] (story 1) Given a founder on S3 Brand kit, when they continue, then S3a appears with kanidm preselected/recommended and one click proceeds to S4 with behaviour byte-identical to today's path. - [ ] (story 1/35) Given the S3a screen, when the founder reads the IDIP card, then it states members hold their own keys, the 12-word phrase replaces the admin password, and "mail arrives later on this path". - [ ] (story 2) Given a reopened walk before deploy, when the founder navigates to S3a, then re-choice is legal in both directions; given a Founded community, then S3a refuses navigation as a locked step. - [ ] (story 3) Given IDIP chosen, then title bars show "Create · n of 7"; given kanidm, then "n of 5" is untouched. ## Blocked by - founding:soft-phase-ui (#105) (done — satisfied) - shell:app-side-shell (done — satisfied) ## Task manifest ```yaml task: idip:founding-s3a-identity implements_flow: p1-founding implements_edge: S3→S3a, S3a→S4 wireframe: docs/ux/wireframes/p1-founding/p1-s3a-identity.html interface: the founding orchestrator's soft-phase face grows the identity choice (kanidm default | idip) with DDR 0142 re-choice/lock semantics, plus the S3a wizard screen and per-path step numbering seam: 'founding orchestrator seam tests (soft phase: choice recorded, re-choice legal pre-deploy, locked after Founded) + wizard screen tests against the wireframe contract' acceptance: - given: a founder continuing from S3 when: S3a renders then: kanidm preselected/recommended; one click through is byte-identical to today - given: the IDIP card when: read then: consequence line present incl. "mail arrives later on this path" - given: a reopened walk pre-deploy / a Founded community when: navigating to S3a then: re-choice legal / locked step refuses - given: IDIP vs kanidm chosen when: title bars render then: '"n of 7" vs untouched "n of 5"' depends_on: - founding:soft-phase-ui out_of_scope: - the S6a ceremony — founding-s6a-ceremony - the seed-leg swap — seed-leg-idip - migrating an existing community between substrates (spec Out of Scope) needs_human_decision: [] ```

swarm-claim host=elitebook-distributed-server-03 run=10051
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=10051 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #774 — status success

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

envelope
{
  "issue": 774,
  "status": "success",
  "commits": [
    "a4b13f161b9a09a3373790a5bb12b8170db051f0"
  ],
  "changed_files": [
    "STATUS.md",
    "app/src/components/founding/FoundingIdentity.vue",
    "app/src/components/founding/FoundingWizard.vue",
    "app/src/lib/founding.ts",
    "app/tests/e2e/fixtures/wizard.ts",
    "app/tests/unit/foundingWizard.test.ts",
    "internal/founding/access_test.go",
    "internal/founding/draft.go",
    "internal/founding/identity_test.go",
    "internal/founding/orchestrator.go",
    "internal/founding/orchestrator_test.go",
    "internal/founding/stdio.go",
    "internal/founding/stdio_test.go"
  ],
  "tests": [
    {
      "command": "nix develop .#go-ci --command go test ./internal/founding/",
      "exit_code": 0
    },
    {
      "command": "node_modules/.bin/vitest run tests/unit/founding (15 files) + quasarUiFounding + appShell + seatSource + shellBrand",
      "exit_code": 0
    },
    {
      "command": "node_modules/.bin/vue-tsc -p tsconfig.json",
      "exit_code": 0
    },
    {
      "command": "eslint + prettier --check (changed files)",
      "exit_code": 0
    },
    {
      "command": "git push origin HEAD:refs/heads/main (pre-push go test ./... gate)",
      "exit_code": 0
    }
  ],
  "criteria": {
    "story 1 — S3a appears with kanidm preselected/recommended, one click to S4 byte-identical": "SaveBrandKit now advances to StepIdentity (orchestrator.go); SetIdentity(kanidm) advances to StepAccess. FoundingIdentity.vue preselects kanidm with the RECOMMENDED chip. Proven by internal/founding/identity_test.go TestS3a_KanidmDefaultOneClickToAccess and foundingWizard.test.ts 'preselects kanidm as recommended and one click advances to Access'.",
    "story 1/35 — IDIP card states keys + 12-word phrase replaces admin password + mail arrives later": "FoundingIdentity.vue [data-field=idip-consequence] carries all three phrases; asserted by foundingWizard.test.ts 'the IDIP card states keys · 12-word phrase · mail-later'.",
    "story 2 — reopened walk pre-deploy re-choice legal both directions; Founded refuses navigation (locked)": "SetIdentity + Back/GoTo ride the shared soft-phase mutate guard exactly like S4/S5 (legal while the draft walk is open) and refuse ErrCommunityExists once Founded like S2/S3. Proven by identity_test.go TestS3a_RechoiceLegalWhileDraftOpen and TestS3a_LockedAfterFounded; app: foundingWizard.test.ts resume-rehydrates + Back-to-brand-kit.",
    "story 3 — IDIP shows 'Create · n of 7'; kanidm 'n of 5' untouched": "stepNumber/stepLabel pure per-path derivation (lib/founding.ts) + the [data-field=step-of] strip in FoundingWizard.vue; asserted by foundingWizard.test.ts 'per-path step numbering' (3 of 5 vs 3 of 7, S3a bare).",
    "wireframe-bearing (rule 2b) — p1-s3a-identity.html shipped as a real component": "FoundingIdentity.vue built to the wireframe's data-field=identity, data-action=option:kanidm/option:idip, data-action=back/continue, data-field=recommended contract; mounted in FoundingWizard between brand-kit and access; backed by the set-identity seam op (stdio.go)."
  },
  "summary": "Added the P1-S3a founding identity question (ADR 0194): kanidm preselected/recommended one-click-to-S4, IDIP self-sovereign opt-in with its consequence line, choice recorded in founding state with S4/S5-style re-choice and locked-after-Founded, and per-path 'n of 5'/'n of 7' step numbering.",
  "reason": "",
  "blockers": [],
  "no_code_change": ""
}
**close-report** for #774 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 774, "status": "success", "commits": [ "a4b13f161b9a09a3373790a5bb12b8170db051f0" ], "changed_files": [ "STATUS.md", "app/src/components/founding/FoundingIdentity.vue", "app/src/components/founding/FoundingWizard.vue", "app/src/lib/founding.ts", "app/tests/e2e/fixtures/wizard.ts", "app/tests/unit/foundingWizard.test.ts", "internal/founding/access_test.go", "internal/founding/draft.go", "internal/founding/identity_test.go", "internal/founding/orchestrator.go", "internal/founding/orchestrator_test.go", "internal/founding/stdio.go", "internal/founding/stdio_test.go" ], "tests": [ { "command": "nix develop .#go-ci --command go test ./internal/founding/", "exit_code": 0 }, { "command": "node_modules/.bin/vitest run tests/unit/founding (15 files) + quasarUiFounding + appShell + seatSource + shellBrand", "exit_code": 0 }, { "command": "node_modules/.bin/vue-tsc -p tsconfig.json", "exit_code": 0 }, { "command": "eslint + prettier --check (changed files)", "exit_code": 0 }, { "command": "git push origin HEAD:refs/heads/main (pre-push go test ./... gate)", "exit_code": 0 } ], "criteria": { "story 1 — S3a appears with kanidm preselected/recommended, one click to S4 byte-identical": "SaveBrandKit now advances to StepIdentity (orchestrator.go); SetIdentity(kanidm) advances to StepAccess. FoundingIdentity.vue preselects kanidm with the RECOMMENDED chip. Proven by internal/founding/identity_test.go TestS3a_KanidmDefaultOneClickToAccess and foundingWizard.test.ts 'preselects kanidm as recommended and one click advances to Access'.", "story 1/35 — IDIP card states keys + 12-word phrase replaces admin password + mail arrives later": "FoundingIdentity.vue [data-field=idip-consequence] carries all three phrases; asserted by foundingWizard.test.ts 'the IDIP card states keys · 12-word phrase · mail-later'.", "story 2 — reopened walk pre-deploy re-choice legal both directions; Founded refuses navigation (locked)": "SetIdentity + Back/GoTo ride the shared soft-phase mutate guard exactly like S4/S5 (legal while the draft walk is open) and refuse ErrCommunityExists once Founded like S2/S3. Proven by identity_test.go TestS3a_RechoiceLegalWhileDraftOpen and TestS3a_LockedAfterFounded; app: foundingWizard.test.ts resume-rehydrates + Back-to-brand-kit.", "story 3 — IDIP shows 'Create · n of 7'; kanidm 'n of 5' untouched": "stepNumber/stepLabel pure per-path derivation (lib/founding.ts) + the [data-field=step-of] strip in FoundingWizard.vue; asserted by foundingWizard.test.ts 'per-path step numbering' (3 of 5 vs 3 of 7, S3a bare).", "wireframe-bearing (rule 2b) — p1-s3a-identity.html shipped as a real component": "FoundingIdentity.vue built to the wireframe's data-field=identity, data-action=option:kanidm/option:idip, data-action=back/continue, data-field=recommended contract; mounted in FoundingWizard between brand-kit and access; backed by the set-identity seam op (stdio.go)." }, "summary": "Added the P1-S3a founding identity question (ADR 0194): kanidm preselected/recommended one-click-to-S4, IDIP self-sovereign opt-in with its consequence line, choice recorded in founding state with S4/S5-style re-choice and locked-after-Founded, and per-path 'n of 5'/'n of 7' step numbering.", "reason": "", "blockers": [], "no_code_change": "" } ``` </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#774
No description provided.