sandcastle: onboarding design step (#16) #46
No reviewers
Labels
No labels
agent-blocked
agent-working
bug
deferred
enhancement
model-haiku
model-opus
model-sonnet
needs-info
needs-triage
no-triage
priority
product-decision
ready-for-agent
ready-for-human
ready-for-session
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/coa!46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "agent/issue-16"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
closes #16
site: Onboarding design step (plan Task 12). Replaces the wizard placeholder with OnboardingStep editing data.onboarding; welcome/info-pages(0–3)/approval-select/endorsements-required/pending. Adds afterEach(cleanup) to test-setup so the plan two-test suite passes. pnpm -r typecheck && pnpm -r test && site build all green.
Plan Task 9. Phase-1 validate-only endpoint. - server/src/multipart.ts: parseSubmissionForm(form) -> {ok,submission,logo} | {ok:false, issues[]}; validates submission JSON via @coa/schema SubmissionSchema and logo against LOGO_MIME / LOGO_MAX_BYTES, collecting field-path issues. - server/src/routes/submit.ts: POST /api/submit -> 200 accepted (shared or passing self-hosted, backendReport included), 400 validation, 422 backend when a self-hosted probeBackend fails. Validate only; no persistence. - server/src/app.ts: mount /api/submit + app.onError -> 500 JSON. - server/test/submit.test.ts: the plan's five acceptance tests. - STATUS.md: header + log updated. Phase gate held: nothing written to communities/, nothing rendered, no email. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>