sandcastle: @coa/schema backend, ClientConfig and submission schemas (#8) #21
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!21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "agent/issue-8"
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?
Plan Task 4. Adds backend, ClientConfig (with FIXTURE_CLIENT_CONFIG) and submission schemas to @coa/schema, with tests.
Ref #8
Plan Task 4: adds the phase-1 validation contract to packages/schema. - backend.ts: BackendSchema discriminated union (self-hosted http(s) url with trailing slash stripped | shared with feeAcknowledged:true). - client-config.ts: ClientConfigSchema mirroring matou-app clientConfig.ts, requires >=1 witness oobi and >=1 anysync node; FIXTURE_CLIENT_CONFIG. - submission.ts: SubmissionSchema {brand,onboarding,features,backend}; LOGO_MIME, LOGO_MAX_BYTES. features.identity fills to true via the schema. - index.ts: re-export the three new modules. - Tests: backend/client-config/submission (11 cases). pnpm -r typecheck && test pass. - STATUS.md: Task 4 (#8) landed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>b45f88d02200937a4106