#17 #52

Merged
ben merged 2 commits from agent/issue-17 into main 2026-08-29 14:12:11 +00:00

closes #17

closes #17
sandcastle: backend step, Review, submit + Done page (plan Task 13, #17)
All checks were successful
ci / seam (pull_request) Successful in 39s
3b5ab4304f
Replaces the wizard's backend/review placeholders with real steps and
completes the /apply → /done flow.

- site/src/form/steps/BackendStep.tsx: shared (default, fee checkbox) vs
  self-hosted (config server URL + "Test my backend" → api.validateBackend,
  per-probe pass/fail list with aria-label, "N of M checks failed").
- site/src/form/Review.tsx: toSubmission (SubmissionSchema.parse) + stepForPath;
  submit → 200 navigates to /done?slug=…, 400 renders path: message lines and
  jumps to the failing step, 422 stores the report and jumps to backend.
- site/src/pages/Done.tsx + /done route; Wizard wires BackendStep/Review.
- Tests: BackendStep.test.tsx, Review.test.tsx.

Decisions:
- Narrowed the submit response with `in`-checks — the site's SubmitResult
  carries a {status:number} fallback member that defeats plain discriminant
  narrowing.
- Typed the Review test's submit mock so mock.calls destructures under tsc.
- Reworded the self-hosted radio copy so it no longer collides with the
  "config server url" label lookup in the test.

STATUS.md updated in the same commit.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
sandcastle: merge main into agent/issue-17 — resolve STATUS.md (#17)
All checks were successful
ci / seam (pull_request) Successful in 40s
160ac6336e
ben merged commit 5700d98bd8 into main 2026-08-29 14:12:11 +00:00
Sign in to join this conversation.
No reviewers
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/coa!52
No description provided.