caelum0x 6618042aaa feat(a2a-sdk): canonical A2A conformance gate (Wave 0, OSS plan)
First step of docs/agent-os/15-oss-integration-plan.md: wire the REAL upstream
A2A spec as the interop source of truth instead of trusting hand-authored schemas.

- Vendor canonical a2a.proto from A2A/specification into
  packages/a2a-sdk/schemas/canonical/ (+ provenance README).
- canonical-conformance.test.ts parses the proto and asserts the canonical
  AgentCard/AgentSkill field sets EXACTLY match a declared canonical->Recoder
  mapping (recoderField | null for documented intentional gaps). Upstream A2A
  drift (added/removed/renamed fields) now fails CI until consciously mapped.

Does not rip out the existing hand-authored schemas — adds a drift gate on top,
as planned. Verified: a2a-sdk 28/28 tests (+5 new), check-types 0.

Refs: docs/agent-os/15-oss-integration-plan.md (Wave 0)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-21 23:22:20 +03:00
..