services/orchestrator/tests/test_a2a_protocol.py imports A2AProtocolManager, AgentCapability, TaskDelegation from services/orchestrator/a2a_protocol.py — but AgentCapability/TaskDelegation and ~12 manager methods were never implemented (git log -S AgentCapability finds no adding commit). The test has therefore never collected, and it is the sole remaining test-backend collection error after #72.
a2a_protocol.py is the bespoke A2A prototype (AgentCard/A2ATask/Postgres, but no JSON-RPC and no /.well-known/) that the open-standard A2A contract frozen in #73 replaces. Implementing the missing API would build the very thing we are removing.
Interim (this issue's trigger): the test module is skipped at collection with pytestmark = pytest.mark.skip citing this issue, so test-backend can go green (see #72). The skip is a marker of debt, not a fix.
To close: when the #73-based A2A server/adapter lands (agent-templates/a2a/), delete a2a_protocol.py and this test together, or rewrite the test against the new server. Do not un-skip by re-implementing the bespoke API.
Refs: #72 (test-backend fix), #73 (frozen A2A contract).
services/orchestrator/tests/test_a2a_protocol.pyimportsA2AProtocolManager, AgentCapability, TaskDelegationfromservices/orchestrator/a2a_protocol.py— butAgentCapability/TaskDelegationand ~12 manager methods were never implemented (git log -S AgentCapabilityfinds no adding commit). The test has therefore never collected, and it is the sole remainingtest-backendcollection error after #72.a2a_protocol.pyis the bespoke A2A prototype (AgentCard/A2ATask/Postgres, but no JSON-RPC and no/.well-known/) that the open-standard A2A contract frozen in #73 replaces. Implementing the missing API would build the very thing we are removing.Interim (this issue's trigger): the test module is skipped at collection with
pytestmark = pytest.mark.skipciting this issue, sotest-backendcan go green (see #72). The skip is a marker of debt, not a fix.To close: when the #73-based A2A server/adapter lands (
agent-templates/a2a/), deletea2a_protocol.pyand this test together, or rewrite the test against the new server. Do not un-skip by re-implementing the bespoke API.Refs: #72 (test-backend fix), #73 (frozen A2A contract).