Repository navigation
Description
Proposal
Problem
The SUT exposes JSON-RPC, HTTP+JSON and gRPC. These interfaces must provide equivalent operations, results, authentication and error semantics.
Clients must also send the requested A2A protocol version, and servers must apply the supported version's semantics. The SUT must exercise the SDK's implementations of these rules.
Goal
Use a shared SDK-backed agent across all bindings and add deterministic scenarios that validate binding equivalence and protocol version handling.
Implementation
Shared behavior across bindings
Route all interfaces through the SDK's transport adapters and shared dispatch, executor, storage and authorization components. Keep protocol parsing, serialization and error mapping in SDK code.
Exercise the same operation sequences through each binding and compare task states, messages, artifacts and applicable streaming results. Include a task created through one interface and accessed through another.
Reuse negative profiles from #110 and the extended-card profile work for unsupported operations. Use the authenticated SUT scenarios to verify consistent access rules.
Protocol version handling
Use public C++ SDK clients to issue requests and verify A2A-Version headers or gRPC metadata on every applicable operation.
Exercise SDK server version validation and dispatch. Verify Major.Minor negotiation, ignored patch numbers, supported-version semantics, unsupported-version errors and the prescribed empty-version fallback.
Implement any missing version handling in SDK client/server components. Do not rewrite headers or emulate version semantics in SUT request handlers.
Acceptance criteria
- All bindings use the same SDK-backed agent behavior and expose the same supported operations and capabilities.
- Equivalent requests produce semantically equivalent results; comparisons normalize only documented wire differences and nondeterministic fields.
- Cross-binding task access preserves identity, state and permissions.
- Equivalent failures use the prescribed binding-specific codes for the same A2A error.
- C++ SDK clients send the correct protocol version on applicable unary, streaming, subscription and push-configuration requests.
- SDK servers apply supported requested-version semantics and correctly handle patch, unsupported and empty versions.
- Tests pass against both storage backends and identify the operation and binding pair on failure.
- SDK unit and integration tests validate the behavior independently of the SUT.
- Applicable TCK assertions pass; missing generic cross-binding or client assertions are integrated upstream where practical and remain covered by requirement-mapped SDK integration tests.
- Documentation distinguishes A2A protocol versions from SDK release versions.
Cross-SDK interoperability remains in #111. Deliver shared-binding scenarios and version handling as separately reviewable changes.
Requirement groups: BIND-EQUIV-001..004, VER-CLIENT-001/002, and VER-SERVER-001..003.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
[-][Feature]: Make the TCK SUT validate consistent SDK bindings and protocol versions[/-][+][Enhancement]: Make the TCK SUT validate consistent SDK bindings and protocol versions[/+]