You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
API v2 Phase 3: client contract harnesses and pilot slice #883
Part of the API v2 program epic #135. Durable architecture: docs/architecture/api-contract.md (PR #880).
Scope (program Phase 3 — client contract harnesses and pilot slice):
Web: pin openapi-typescript; one committed generated type artifact; a typed request boundary inferring params/body/success/errors; ban unchecked v2 response assertions; freshness + typecheck CI.
Apple: fixture sync script vendoring only consumed fixtures + one-line SOURCE commit pin; production-decoder conformance tests incl. unknown fields/enums; v2 contract probe + update-server state; no v1 transport path.
Android: mirror of the Apple flow using existing common-test resource and SOURCE conventions; production SiloJson config; same probe/update-server/no-v1 assertions.
Pilot slice (chosen from the Phase 1 inventory): one public discovery op, one authenticated account op, one profile-scoped read with params, one validated JSON mutation, one admin/policy-protected op, representative optional/null/time/enum/error fields. Not playback, not uploads.
Compatibility rule: updated clients require a syntactically valid v2 info response; v1-only servers produce an update-server state; no failed mutation is replayed across API majors.
Gate: server tests/spec/fixtures, web integration, Apple + Android conformance, update-server behavior, docs, and ledger state all agree for the pilot; template adjusted from pilot findings before route waves open.
Companion work in silo-apple / silo-android gets linked issues per the program's cross-repo rules (recorded on #135).
AI disclosure: drafted by Claude Code (claude-fable-5) orchestrating the #135 program.
On main today: openapi-typescript is pinned, the generated web/src/api/v2/schema.ts is committed, requests go through the typed v2() boundary, unchecked v2 response assertions are banned by ESLint, verify-apiv2-web-types checks the types are fresh in CI, and the shared fixtures live in contracts/api/v2/fixtures. Closing as done.
Activity
blurbery commentedon Nov 19, 2026
Phase 3 landed on 5 September in #941, Silo-Server/silo-apple#253 and Silo-Server/silo-android#294. None of them linked this issue, so it stayed open.
On
maintoday:openapi-typescriptis pinned, the generatedweb/src/api/v2/schema.tsis committed, requests go through the typedv2()boundary, unchecked v2 response assertions are banned by ESLint,verify-apiv2-web-typeschecks the types are fresh in CI, and the shared fixtures live incontracts/api/v2/fixtures. Closing as done.