#28 StatusSchema + shared fixtures #40

Merged
ben merged 1 commit from agent/issue-28 into main 2026-08-29 15:26:50 +00:00

closes #28

Phase-2 plan Task 1: StatusSchema + STATUS_STATES + Status and shared FIXTURE_SUBMISSION/FIXTURE_LOGO_SVG in @coa/schema, re-exported from src/index.ts. Tests in packages/schema/test/status.test.ts. pnpm -r typecheck && pnpm -r test green.

closes #28 Phase-2 plan Task 1: StatusSchema + STATUS_STATES + Status and shared FIXTURE_SUBMISSION/FIXTURE_LOGO_SVG in @coa/schema, re-exported from src/index.ts. Tests in packages/schema/test/status.test.ts. pnpm -r typecheck && pnpm -r test green.
sandcastle: StatusSchema + shared fixtures in @coa/schema (#28)
All checks were successful
ci / seam (pull_request) Successful in 37s
3934a769ca
Phase-2 plan Task 1. Adds:
- packages/schema/src/status.ts — STATUS_STATES, StatusSchema (strict:
  state enum, ISO updatedAt, optional emailError/publishError/buildRunUrl/error),
  Status type.
- packages/schema/src/fixtures.ts — FIXTURE_SUBMISSION (Ngāti Example, shared
  backend, identity: true) and FIXTURE_LOGO_SVG.
- src/index.ts re-exports both; test/status.test.ts (plan's four tests).
- STATUS.md header + log updated in the same commit.

pnpm -r typecheck && pnpm -r test green. No server code (out_of_scope).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
sandcastle: POST /api/validate-backend (#12)
All checks were successful
ci / seam (pull_request) Successful in 35s
76fa7b6ced
Plan Task 8. Mount validateBackend(deps) in buildApp at
/api/validate-backend.

- server/src/routes/validate-backend.ts: parses body via @coa/schema
  BackendSchema ({kind:'self-hosted', configServerUrl}); on parse failure
  returns 400 {error} carrying the schema's http-URL message; otherwise
  runs probeBackend and returns the 200 BackendReport (six probes).
- server/src/app.ts: import + app.route('/api/validate-backend', ...).
- server/test/validate-backend.test.ts: passing report vs the stub
  (6 probes); ftp://x → 400 whose error mentions http.
- STATUS.md: log + header note #12 landed.
- .gitignore: ignore root .pnpm-store/ (local pnpm cache).

Verified: CI=true pnpm -r typecheck && pnpm -r test both exit 0.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Merge branch 'main' into agent/issue-28
All checks were successful
ci / seam (pull_request) Successful in 40s
c54a48e0d7
ben merged commit 33ad648abf into main 2026-08-29 15:26:50 +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!40
No description provided.