Founding S3a-APP: design the community app’s onboarding (Coa’s onboarding form) at founding — the Coa submission carries it instead of the placeholder #1870

Closed
opened 2026-09-25 08:18:49 +00:00 by ben · 4 comments
Owner

Ben, 2026-09-25: the founding app should include the onboarding form when the founder designs the community app during founding.

Today. Founding's community-app step, S3a-APP (app/src/components/founding/FoundingCommunityApp.vue; wireframe docs/ux/wireframes/p1-founding/p1-s3a-community-app.html; DDR 0228), collects:

  • the feature toggles (with a live phone preview),
  • the contact email,
  • the platforms.

It collects no onboarding. The Coa submission is built by internal/coaclient submissionBody, reached through founding.CoaSubmission → the gateway app designer (fleetwire.GatewayAppDesigner, #1699). It sends a synthesised placeholder coaOnboarding: welcome "Nau mai", approval admin, pending "Kia tatari / Your application is being reviewed / Watch your email", and no profile block. That placeholder is what Coa's downloads page shows and what the app's baked kit seed carries.

The change

  • The form. S3a-APP gains the onboarding form. It's the same form the app ceremony ports (matou-app #425) and the one Coa's setup carried until coa 6d4eb9d: @coa/schema OnboardingSchema verbatim, covering

    • welcome heading and body, and info pages (up to 3);
    • profile fields (display name always), custom questions (up to 3), interest options;
    • approval mode (open / steward approval / endorsements (+ session), with the required count);
    • the waiting page (heading, body, what happens next) and resources (up to 6);
    • guidelines and privacy markdown.

    It opens pre-filled with the current defaults (Coa's defaultOnboarding, steward approval) and is optional to change. The section layout and field paths follow docs/ux/wireframes/wallet-founding/wf-s4-onboarding-design.html: data-field = the schema path.

  • The draft. The design rides the founding draft (Draft.app.onboarding, app/src/lib/founding.ts) and resumes with it.

  • The submission. founding.CommunityAppDesign / CoaSubmission carries the block, and submissionBody sends it instead of the placeholder. coaOnboarding becomes the real shape: add the profile, infoPages, resources and policy fields. Coa then bakes the founder's design as the kit seed, and the downloads page shows the real welcome and approval copy.

  • Org config. The same block is recorded as the community's org-config onboarding block, which the gateway serves at GET /<slug>/api/onboarding (ADR 0226 ruling, 2026-09-25). A member wallet then reads the founder's design from the first install.

  • The panel card. The community-app card's "Try again" resubmission (DDR 0228 §5) sends the stored design, not the placeholder.

Open, for Ben (why needs-design)

  • How this meets the app ceremony (idss #1867). The ceremony's WF-S4 "Design your onboarding" was ruled as the form after admin + spaces. With founding collecting it first, should WF-S4 open pre-filled with the founding design as a review step ("Looks right? Save and continue")? Or should the ceremony skip WF-S4 when founding already recorded a design, leaving later edits to Community settings (WF-S6)?
  • The S3a-APP wireframe needs the onboarding section drawn. Is it one long step, or a sub-step "App → Onboarding"? The features step is already dense with its phone preview.

Acceptance

  • Founding's S3a-APP shows the onboarding form pre-filled with the defaults. A change survives a draft resume.
  • The Coa submission for a new community carries the founder's onboarding block, not the placeholder. That community's Coa downloads page shows the founder's welcome heading. A built app's first Join Now shows the founder's welcome and profile form.
  • The gateway serves the same block at /<slug>/api/onboarding.
  • internal/coaclient tests pin the full block's wire shape against @coa/schema OnboardingSchema (no placeholder left).
<!-- origin: session --> **Ben, 2026-09-25:** the founding app should include the **onboarding form** when the founder designs the community app during founding. **Today.** Founding's community-app step, **S3a-APP** (`app/src/components/founding/FoundingCommunityApp.vue`; wireframe `docs/ux/wireframes/p1-founding/p1-s3a-community-app.html`; DDR 0228), collects: - the feature toggles (with a live phone preview), - the contact email, - the platforms. It collects **no onboarding**. The Coa submission is built by `internal/coaclient` `submissionBody`, reached through `founding.CoaSubmission` → the gateway app designer (`fleetwire.GatewayAppDesigner`, #1699). It sends a **synthesised placeholder** `coaOnboarding`: welcome "Nau mai", approval `admin`, pending "Kia tatari / Your application is being reviewed / Watch your email", and no profile block. That placeholder is what Coa's downloads page shows and what the app's baked kit seed carries. ## The change - **The form.** S3a-APP gains the onboarding form. It's the same form the app ceremony ports (matou-app #425) and the one Coa's setup carried until coa `6d4eb9d`: `@coa/schema` `OnboardingSchema` verbatim, covering - welcome heading and body, and info pages (up to 3); - profile fields (display name always), custom questions (up to 3), interest options; - approval mode (open / steward approval / endorsements (+ session), with the required count); - the waiting page (heading, body, what happens next) and resources (up to 6); - guidelines and privacy markdown. It opens pre-filled with the current defaults (Coa's `defaultOnboarding`, steward approval) and is optional to change. The section layout and field paths follow `docs/ux/wireframes/wallet-founding/wf-s4-onboarding-design.html`: `data-field` = the schema path. - **The draft.** The design rides the founding draft (`Draft.app.onboarding`, `app/src/lib/founding.ts`) and resumes with it. - **The submission.** `founding.CommunityAppDesign` / `CoaSubmission` carries the block, and `submissionBody` sends it instead of the placeholder. `coaOnboarding` becomes the real shape: add the `profile`, `infoPages`, `resources` and policy fields. Coa then bakes the founder's design as the kit seed, and the downloads page shows the real welcome and approval copy. - **Org config.** The same block is recorded as the community's org-config `onboarding` block, which the gateway serves at `GET /<slug>/api/onboarding` (ADR 0226 ruling, 2026-09-25). A member wallet then reads the founder's design from the first install. - **The panel card.** The community-app card's "Try again" resubmission (DDR 0228 §5) sends the stored design, not the placeholder. ## Open, for Ben (why `needs-design`) - **How this meets the app ceremony** (idss #1867). The ceremony's WF-S4 "Design your onboarding" was ruled as the form after admin + spaces. With founding collecting it first, should WF-S4 open **pre-filled with the founding design** as a review step ("Looks right? Save and continue")? Or should the ceremony **skip** WF-S4 when founding already recorded a design, leaving later edits to Community settings (WF-S6)? - **The S3a-APP wireframe** needs the onboarding section drawn. Is it one long step, or a sub-step "App → Onboarding"? The features step is already dense with its phone preview. ## Acceptance - Founding's S3a-APP shows the onboarding form pre-filled with the defaults. A change survives a draft resume. - The Coa submission for a new community carries the founder's onboarding block, not the placeholder. That community's Coa downloads page shows the founder's welcome heading. A built app's first Join Now shows the founder's welcome and profile form. - The gateway serves the same block at `/<slug>/api/onboarding`. - `internal/coaclient` tests pin the full block's wire shape against `@coa/schema` `OnboardingSchema` (no placeholder left).
Author
Owner

Ruled (Ben, 2026-09-25), both open questions answered:

  1. The app ceremony skips the onboarding design. Founding now collects it, and further changes happen in the app's Community settings → Onboarding (WF-S6, matou-app #425). The ceremony (idss #1867) becomes: twelve words → admin → spaces + profiles → home. WF-S4/S4x leave the ceremony, and the form itself lives on as the settings section.
  2. Placement: onboarding comes after feature selection, inside the app design. S3a-APP's features step comes first, then the onboarding form as the next screen of the same app-design stage, then Continue → S4.

Still owed before this leaves needs-design: the S3a-APP onboarding wireframe in docs/ux/wireframes/p1-founding/, plus the p1-founding.mermaid node and edges for it.

**Ruled (Ben, 2026-09-25)**, both open questions answered: 1. **The app ceremony skips the onboarding design.** Founding now collects it, and further changes happen in the app's **Community settings → Onboarding** (WF-S6, matou-app #425). The ceremony (idss #1867) becomes: twelve words → admin → spaces + profiles → home. WF-S4/S4x leave the ceremony, and the form itself lives on as the settings section. 2. **Placement:** onboarding comes **after feature selection, inside the app design**. S3a-APP's features step comes first, then the onboarding form as the next screen of the same app-design stage, then Continue → S4. Still owed before this leaves `needs-design`: the S3a-APP onboarding wireframe in `docs/ux/wireframes/p1-founding/`, plus the `p1-founding.mermaid` node and edges for it.
Author
Owner

Design done (Ben approved, 2026-09-25): wireframe docs/ux/wireframes/p1-founding/p1-s3a-app-onboarding.html and flow node P1-S3a-APP-ONB in p1-founding.mermaid (idss 2ed25194). The screen sits after feature selection in the app design; Back returns to features, Continue goes to S4. It opens pre-filled with the defaults. Its field paths match the app's Community settings → Onboarding (wallet-founding/wf-s6-onboarding-settings.html). needs-design → ready-for-agent.

**Design done (Ben approved, 2026-09-25):** wireframe `docs/ux/wireframes/p1-founding/p1-s3a-app-onboarding.html` and flow node P1-S3a-APP-ONB in `p1-founding.mermaid` (idss `2ed25194`). The screen sits after feature selection in the app design; Back returns to features, Continue goes to S4. It opens pre-filled with the defaults. Its field paths match the app's Community settings → Onboarding (`wallet-founding/wf-s6-onboarding-settings.html`). `needs-design` → `ready-for-agent`.

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

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

close-report for #1870 — status success

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

envelope
{
  "issue": 1870,
  "status": "success",
  "commits": [
    "724a8350"
  ],
  "changed_files": [
    "STATUS.md",
    "app/src/components/founding/FoundingCommunityAppOnboarding.vue",
    "app/src/components/founding/FoundingJourney.vue",
    "app/src/i18n/founding/g4.en.ts",
    "app/src/i18n/founding/g4.es.ts",
    "app/src/i18n/founding/g4.fr.ts",
    "app/src/i18n/founding/g4.nl.ts",
    "app/src/lib/founding.ts",
    "app/tests/e2e/fixtures/idip.ts",
    "app/tests/unit/foundingCommunityAppOnboarding.test.ts",
    "control-plane/cmd/control-plane/communityapp_design.go",
    "internal/clan/frontdoor.go",
    "internal/coaclient/client.go",
    "internal/coaclient/client_test.go",
    "internal/communityapp/design.go",
    "internal/communityapp/onboarding.go",
    "internal/controlapi/communityapp_design.go",
    "internal/controlapi/communityapp_foundingdesign_test.go",
    "internal/fleetwire/communityappdesign.go",
    "internal/founding/communityapp_test.go",
    "internal/founding/communityapptail.go",
    "internal/founding/communityidentity.go",
    "internal/founding/draft.go",
    "internal/founding/orchestrator.go",
    "internal/orgconfig/doc.go",
    "internal/orgconfig/render.go",
    "internal/orgconfig/render_test.go",
    "internal/orgconfig/writer.go"
  ],
  "tests": [
    {
      "command": "nix develop .#go-ci --command go build ./...",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci --command go test ./internal/communityapp/... ./internal/coaclient/... ./internal/founding/... ./internal/orgconfig/... ./internal/controlapi/... ./internal/fleetwire/... ./internal/wireconvention/...",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci --command golangci-lint run (changed packages)",
      "exit_code": 0
    },
    {
      "command": "app: vue-tsc --noEmit -p tsconfig.json",
      "exit_code": 0
    },
    {
      "command": "app: vitest run tests/unit/foundingCommunityAppOnboarding.test.ts tests/unit/i18nSeam.test.ts tests/unit/productTypeScale.test.ts tests/unit/foundingCommunityApp.test.ts tests/unit/foundingPage.test.ts",
      "exit_code": 0
    },
    {
      "command": "eslint (changed app files)",
      "exit_code": 0
    },
    {
      "command": "pre-push gate (nix go-ci: full go test + golangci-lint + eslint .) ran on push and passed",
      "exit_code": 0
    }
  ],
  "criteria": {
    "Founding's S3a-APP shows the onboarding form pre-filled with the defaults; a change survives a draft resume": "New FoundingCommunityAppOnboarding.vue (data-status=\"s3a-app-onboarding\") mounted in FoundingJourney.vue as the second app-design gate after features; opens from Draft.app.onboarding or defaultOnboarding(name). SetCommunityApp (internal/founding/orchestrator.go) + FakeFoundingClient persist+clone onboarding; TestS3aApp_Option1RecordsOnboardingAndPersists (founding) proves resume; foundingCommunityAppOnboarding.test.ts 'resumes with the recorded design pre-filled' + 'records the edited onboarding through the seam'.",
    "The Coa submission for a new community carries the founder's onboarding block, not the placeholder": "founding.CoaSubmission.Onboarding + coaSubmissionFor; coaclient submissionBody/coaOnboardingFrom sends the founder's block in Coa's full camelCase shape, falling back to communityapp.DefaultOnboarding when nil (no placeholder). coaclient TestSubmit_OnboardingCarriesTheFounderDesign + TestSubmit_OnboardingAbsentFallsBackToFullDefault. The gateway #1699 path carries it (CommunityAppDesign/fleetwire.foundingDesignBody/founding-design door) and control-plane submissionFor; controlapi TestFoundingDesign_CarriesTheOnboardingDesignOntoTheRecord.",
    "The gateway serves the same block at /<slug>/api/onboarding": "orgconfig.Document.Onboarding (OnboardingBlockFor) records the design as the org-config `onboarding` block in Coa's camelCase; LiveProvider.Inputs sources it from the community-app record. internal/clan/frontdoor.go renderConfigServerRoutes adds a GET/HEAD `path */api/onboarding` route to the config server (Coa DDR 0009). orgconfig TestOnboardingBlockFor_OnlyWhenDesigned + TestRender_OnboardingBlockCarriesCoaCamelCaseKeys; clan suite green. Counterpart (ADR 0226 'obligations by repo'): matou-infrastructure's config server serves that path from the block.",
    "internal/coaclient tests pin the full block's wire shape against @coa/schema OnboardingSchema (no placeholder left)": "coaclient/client_test.go TestSubmit_OnboardingCarriesTheFounderDesign pins every part of the block (welcome/infoPages/profile.fields+interestOptions+customQuestions/approval mode+required+session/pending/resources/guidelines+privacy) and the camelCase key set; the placeholder is removed from submissionBody. @coa/schema is not vendored in-repo, so the shape is pinned against the authoritative in-repo representation (the wireframe-derived OnboardingSchema)."
  },
  "summary": "Founding S3a-APP-ONB collects the community app's onboarding (Coa's OnboardingSchema, pre-filled defaults); it rides the draft, the Coa submission (replacing the placeholder), and the org-config `onboarding` block served at /<slug>/api/onboarding.",
  "reason": "",
  "blockers": []
}
**close-report** for #1870 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1870, "status": "success", "commits": [ "724a8350" ], "changed_files": [ "STATUS.md", "app/src/components/founding/FoundingCommunityAppOnboarding.vue", "app/src/components/founding/FoundingJourney.vue", "app/src/i18n/founding/g4.en.ts", "app/src/i18n/founding/g4.es.ts", "app/src/i18n/founding/g4.fr.ts", "app/src/i18n/founding/g4.nl.ts", "app/src/lib/founding.ts", "app/tests/e2e/fixtures/idip.ts", "app/tests/unit/foundingCommunityAppOnboarding.test.ts", "control-plane/cmd/control-plane/communityapp_design.go", "internal/clan/frontdoor.go", "internal/coaclient/client.go", "internal/coaclient/client_test.go", "internal/communityapp/design.go", "internal/communityapp/onboarding.go", "internal/controlapi/communityapp_design.go", "internal/controlapi/communityapp_foundingdesign_test.go", "internal/fleetwire/communityappdesign.go", "internal/founding/communityapp_test.go", "internal/founding/communityapptail.go", "internal/founding/communityidentity.go", "internal/founding/draft.go", "internal/founding/orchestrator.go", "internal/orgconfig/doc.go", "internal/orgconfig/render.go", "internal/orgconfig/render_test.go", "internal/orgconfig/writer.go" ], "tests": [ { "command": "nix develop .#go-ci --command go build ./...", "exit_code": 0 }, { "command": "nix develop .#go-ci --command go test ./internal/communityapp/... ./internal/coaclient/... ./internal/founding/... ./internal/orgconfig/... ./internal/controlapi/... ./internal/fleetwire/... ./internal/wireconvention/...", "exit_code": 0 }, { "command": "nix develop .#go-ci --command golangci-lint run (changed packages)", "exit_code": 0 }, { "command": "app: vue-tsc --noEmit -p tsconfig.json", "exit_code": 0 }, { "command": "app: vitest run tests/unit/foundingCommunityAppOnboarding.test.ts tests/unit/i18nSeam.test.ts tests/unit/productTypeScale.test.ts tests/unit/foundingCommunityApp.test.ts tests/unit/foundingPage.test.ts", "exit_code": 0 }, { "command": "eslint (changed app files)", "exit_code": 0 }, { "command": "pre-push gate (nix go-ci: full go test + golangci-lint + eslint .) ran on push and passed", "exit_code": 0 } ], "criteria": { "Founding's S3a-APP shows the onboarding form pre-filled with the defaults; a change survives a draft resume": "New FoundingCommunityAppOnboarding.vue (data-status=\"s3a-app-onboarding\") mounted in FoundingJourney.vue as the second app-design gate after features; opens from Draft.app.onboarding or defaultOnboarding(name). SetCommunityApp (internal/founding/orchestrator.go) + FakeFoundingClient persist+clone onboarding; TestS3aApp_Option1RecordsOnboardingAndPersists (founding) proves resume; foundingCommunityAppOnboarding.test.ts 'resumes with the recorded design pre-filled' + 'records the edited onboarding through the seam'.", "The Coa submission for a new community carries the founder's onboarding block, not the placeholder": "founding.CoaSubmission.Onboarding + coaSubmissionFor; coaclient submissionBody/coaOnboardingFrom sends the founder's block in Coa's full camelCase shape, falling back to communityapp.DefaultOnboarding when nil (no placeholder). coaclient TestSubmit_OnboardingCarriesTheFounderDesign + TestSubmit_OnboardingAbsentFallsBackToFullDefault. The gateway #1699 path carries it (CommunityAppDesign/fleetwire.foundingDesignBody/founding-design door) and control-plane submissionFor; controlapi TestFoundingDesign_CarriesTheOnboardingDesignOntoTheRecord.", "The gateway serves the same block at /<slug>/api/onboarding": "orgconfig.Document.Onboarding (OnboardingBlockFor) records the design as the org-config `onboarding` block in Coa's camelCase; LiveProvider.Inputs sources it from the community-app record. internal/clan/frontdoor.go renderConfigServerRoutes adds a GET/HEAD `path */api/onboarding` route to the config server (Coa DDR 0009). orgconfig TestOnboardingBlockFor_OnlyWhenDesigned + TestRender_OnboardingBlockCarriesCoaCamelCaseKeys; clan suite green. Counterpart (ADR 0226 'obligations by repo'): matou-infrastructure's config server serves that path from the block.", "internal/coaclient tests pin the full block's wire shape against @coa/schema OnboardingSchema (no placeholder left)": "coaclient/client_test.go TestSubmit_OnboardingCarriesTheFounderDesign pins every part of the block (welcome/infoPages/profile.fields+interestOptions+customQuestions/approval mode+required+session/pending/resources/guidelines+privacy) and the camelCase key set; the placeholder is removed from submissionBody. @coa/schema is not vendored in-repo, so the shape is pinned against the authoritative in-repo representation (the wireframe-derived OnboardingSchema)." }, "summary": "Founding S3a-APP-ONB collects the community app's onboarding (Coa's OnboardingSchema, pre-filled defaults); it rides the draft, the Coa submission (replacing the placeholder), and the org-config `onboarding` block served at /<slug>/api/onboarding.", "reason": "", "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.

Dependencies

No dependencies set.

Reference
Matou/idss#1870
No description provided.