The founder's first app run is the founding ceremony — twelve words → spaces + profiles → onboarding design → home (ADR 0226 amendment 2026-09-25) #1867

Open
opened 2026-09-25 05:30:04 +00:00 by ben · 4 comments
Owner

Ben's ruling, 2026-09-25, after walking the first real Coa build against whakatohea-demo:

the app should recognise that it's starting with no id and connected to idss anysync with no spaces and trigger a founding ceremony, enter the 12 words and trigger app founding process, create spaces and profiles (except KERI which is pre-created at founding) then move to onboarding design in app then land on home

Recorded as the latest amendment in docs/adr/0226-*.md ("the founder's first app run is the founding ceremony").

The flow

  1. Trigger: the wallet starts with no saved identity, and the descriptor has backend_kind: idss, an anysync block and no recorded space IDs.
  2. Ceremony: the founder enters the twelve words. The wallet connects to the founder's agent (pre-created at founding, never booted) and confirms the Membership credential with role: operator against schemas.membership (needs matou-app #615).
  3. Spaces and profiles: the wallet creates the three spaces and seeds the profiles through communityspace (org-setup steps 9–12), then records the IDs at the steward spaces door.
  4. Onboarding design in the app: approval mode, profile fields, custom questions, welcome and guidelines, in Coa's vocabulary. The design is recorded at the steward API.
  5. Home.

No KERI minting in the app: the identity, community AID, registry and founder credential all come from gateway founding. Decision 3 narrows; it does not fall.

Open — Ben rules before this is specced

  • Founding's tail space creation: does it stay (2026-09-15 amendment d.1)? If it does, the trigger never fires on a new community. Assumption carried: the ceremony replaces it, and the #534 boot fallback folds in.
  • Onboarding design: where does it live, and how does it reach Coa? Coa's submission happens at founding, before the ceremony, with IDSS's placeholder coaOnboarding block.
  • Before the ceremony: what does a non-founder who installs first see?
  • Proving it: whakatohea-demo already has its spaces (recorded by the #534 fallback on 2026-09-25), so proof needs a community without them. WKT-DEMO Drive B (#1844) is the natural home.

Touches

matou-app: #610 (IDSS never routes to /setup, now narrowed), #534 (fallback), #615 (schema), useOrgSetup steps 9–12, a new ceremony route and onboarding designer. idss: an onboarding-design record and steward door, the org-config writer, founding's spacestail.go, the coaclient onboarding block, flows/wireframes (docs/ux).

Next per docs/PROCESS.md: grill-ux-with-docs → wireframe → DDR → to-spec.

<!-- origin: session --> **Ben's ruling, 2026-09-25**, after walking the first real Coa build against `whakatohea-demo`: > the app should recognise that it's starting with no id and connected to idss anysync with no spaces and trigger a founding ceremony, enter the 12 words and trigger app founding process, create spaces and profiles (except KERI which is pre-created at founding) then move to onboarding design in app then land on home Recorded as the latest amendment in `docs/adr/0226-*.md` ("the founder's first app run is the founding ceremony"). ## The flow 1. **Trigger:** the wallet starts with no saved identity, and the descriptor has `backend_kind: idss`, an `anysync` block and no recorded space IDs. 2. **Ceremony:** the founder enters the twelve words. The wallet connects to the founder's agent (pre-created at founding, never booted) and confirms the Membership credential with `role: operator` against `schemas.membership` (needs matou-app #615). 3. **Spaces and profiles:** the wallet creates the three spaces and seeds the profiles through `communityspace` (org-setup steps 9–12), then records the IDs at the steward spaces door. 4. **Onboarding design in the app:** approval mode, profile fields, custom questions, welcome and guidelines, in Coa's vocabulary. The design is recorded at the steward API. 5. **Home.** No KERI minting in the app: the identity, community AID, registry and founder credential all come from gateway founding. Decision 3 narrows; it does not fall. ## Open — Ben rules before this is specced - **Founding's tail space creation:** does it stay (2026-09-15 amendment d.1)? If it does, the trigger never fires on a new community. Assumption carried: the ceremony replaces it, and the #534 boot fallback folds in. - **Onboarding design:** where does it live, and how does it reach Coa? Coa's submission happens at founding, before the ceremony, with IDSS's placeholder `coaOnboarding` block. - **Before the ceremony:** what does a non-founder who installs first see? - **Proving it:** `whakatohea-demo` already has its spaces (recorded by the #534 fallback on 2026-09-25), so proof needs a community without them. WKT-DEMO Drive B (#1844) is the natural home. ## Touches matou-app: #610 (IDSS never routes to /setup, now narrowed), #534 (fallback), #615 (schema), `useOrgSetup` steps 9–12, a new ceremony route and onboarding designer. idss: an onboarding-design record and steward door, the org-config writer, founding's `spacestail.go`, the `coaclient` onboarding block, flows/wireframes (`docs/ux`). Next per `docs/PROCESS.md`: `grill-ux-with-docs` → wireframe → DDR → `to-spec`.
Author
Owner

Ruled (Ben, 2026-09-25): gateway founding does not create the spaces. This answers the first open question.

Founding's pipeline-tail space step (internal/founding/spacestail.go) never ran in production:

  • Its only caller, the laptop's app tail, stopped running on the IDIP path when the app design moved to the gateway (#1699).
  • Its any-sync client (WithSpaceCreator) was never wired into the helper.
  • The founder's words (WithFounderWords) were never wired either.

It is now removed, along with matou-app's communityspace module dependency. The removal is committed locally and not yet pushed. The ceremony is the one place a community's spaces are made, and the #534 boot fallback folds into it. The steward spaces door (first write wins) stays.

Three questions remain open: where the onboarding design lives and how it reaches Coa, what non-founders see first, and which community proves it.

**Ruled (Ben, 2026-09-25): gateway founding does not create the spaces.** This answers the first open question. Founding's pipeline-tail space step (`internal/founding/spacestail.go`) never ran in production: - Its only caller, the laptop's app tail, stopped running on the IDIP path when the app design moved to the gateway (#1699). - Its any-sync client (`WithSpaceCreator`) was never wired into the helper. - The founder's words (`WithFounderWords`) were never wired either. It is now removed, along with matou-app's `communityspace` module dependency. The removal is committed locally and not yet pushed. The ceremony is the one place a community's spaces are made, and the #534 boot fallback folds into it. The steward spaces door (first write wins) stays. Three questions remain open: where the onboarding design lives and how it reaches Coa, what non-founders see first, and which community proves it.
Author
Owner

Rulings recorded (Ben, 2026-09-25) in ADR 0226's ceremony amendment (idss e52d5f4c):

  1. Onboarding design = Coa's old onboarding form, moved into the app. Coa's setup had this form as its second step until coa 6d4eb9d removed it (Coa DDR 0009). Its data shape is OnboardingSchema, used verbatim. The ceremony shows it as the next form after the admin and spaces steps. The port is matou-app #425, which now carries the IDSS ceremony scope.
  2. Before the ceremony, every wallet in the trigger state shows "Log in as community founder". The app does not tell founders from non-founders up front: the twelve words are the gate. A non-founder can't produce them, so they can't complete the ceremony, and nothing is written for them.

Also landed: founding's tail space creation is retired (4a7569d2, pushed). The ceremony is now the only place a community's spaces are made.

Still open:

  • How the design reaches Coa and member wallets. Coa DDR 0009's answer is the org-config onboarding block served at GET /<slug>/api/onboarding. On IDSS, the gateway would serve it and the control plane would write it on the steward API's word.
  • Which community proves the ceremony. whakatohea-demo already has its spaces recorded, so the trigger never fires there. Recommended: a freshly founded community once matou-app #615 and #425 land.
**Rulings recorded (Ben, 2026-09-25)** in ADR 0226's ceremony amendment (idss `e52d5f4c`): 1. **Onboarding design = Coa's old onboarding form, moved into the app.** Coa's setup had this form as its second step until coa `6d4eb9d` removed it (Coa DDR 0009). Its data shape is `OnboardingSchema`, used verbatim. The ceremony shows it as **the next form after the admin and spaces steps**. The port is matou-app #425, which now carries the IDSS ceremony scope. 2. **Before the ceremony, every wallet in the trigger state shows "Log in as community founder".** The app does not tell founders from non-founders up front: the twelve words are the gate. A non-founder can't produce them, so they can't complete the ceremony, and nothing is written for them. **Also landed:** founding's tail space creation is retired (`4a7569d2`, pushed). The ceremony is now the only place a community's spaces are made. **Still open:** - **How the design reaches Coa and member wallets.** Coa DDR 0009's answer is the org-config `onboarding` block served at `GET /<slug>/api/onboarding`. On IDSS, the gateway would serve it and the control plane would write it on the steward API's word. - **Which community proves the ceremony.** whakatohea-demo already has its spaces recorded, so the trigger never fires there. Recommended: a freshly founded community once matou-app #615 and #425 land.
Author
Owner

Last two rulings (Ben, 2026-09-25), recorded in ADR 0226 (idss 267ed4e7):

  1. The gateway serves the onboarding design. Coa DDR 0009's contract is unchanged: the org-config onboarding block, served without auth at the gateway's GET /<slug>/api/onboarding. Wallets read it first and fall back to the kit seed. The founder records it at the steward API, and the control plane writes org-config.
  2. A freshly founded community proves the ceremony, once matou-app #615 and #425 have landed. whakatohea-demo's space records are not cleared.

No design questions remain open on this ticket.

**Last two rulings (Ben, 2026-09-25)**, recorded in ADR 0226 (idss `267ed4e7`): 1. **The gateway serves the onboarding design.** Coa DDR 0009's contract is unchanged: the org-config `onboarding` block, served without auth at the gateway's `GET /<slug>/api/onboarding`. Wallets read it first and fall back to the kit seed. The founder records it at the steward API, and the control plane writes org-config. 2. **A freshly founded community proves the ceremony**, once matou-app #615 and #425 have landed. whakatohea-demo's space records are not cleared. No design questions remain open on this ticket.
Author
Owner

Amended (Ben, 2026-09-25, on #1870): the ceremony no longer includes the onboarding design. Founding collects it in S3a-APP, straight after feature selection (#1870), and later changes happen in the app's Community settings → Onboarding. The ceremony is now: twelve words → admin → spaces + profiles → home.

**Amended (Ben, 2026-09-25, on #1870):** the ceremony **no longer includes the onboarding design**. Founding collects it in S3a-APP, straight after feature selection (#1870), and later changes happen in the app's Community settings → Onboarding. The ceremony is now: twelve words → admin → spaces + profiles → home.
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#1867
No description provided.