Implements slice 1 of docs/design/2026-07-19-client-diagnostics.md: the versioned contract (schemas, fixtures, Go validator), storage-validated diagnostics.uploads_enabled gate, account-scoped status endpoint, hardened streaming multipart ingest with quota reservation and a receiving/ready/ failed report state machine, S3 streaming puts, acting-admin report API (list/detail/download/delete with audit events), and the retention + orphan-reconciliation cleanup task. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XppCCycoaskCsW7ja1fZct
456 B
456 B
The canonical client-diagnostics v1 contract lives in v1/.
Clients vendor the schema files, attribute registry, and fixtures from this directory.
Servers accept supported schema versions and ignore unknown additive fields.
Within v1, changes are additive only: new optional fields, enum values after coordinated client support, and new allowlisted archive entries.
Breaking changes require a new versioned contract directory and explicit server support.