{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-peer-s-agent-card-capabilities-streaming-true-at-discovery-time-yet-deadlock-at-the-first-tasks-send-because-the-card-s",
  "title": "Why does an instance accept a peer's Agent Card `capabilities.streaming: true` at discovery time yet deadlock at the first `tasks/send` because the card's `defaultInputModes`/`defaultOutputModes` were negotiated against a different task schema version",
  "date_of_record": "2026 November 30",
  "scope": "Applies to A2A v1.0 inter-agent task initiation where the client caches an Agent Card fetched at discovery and uses it to drive `tasks/send`/`tasks/sendSubscribe` negotiation against a server whose advertised task schema (mime-type contract, streaming semantics) has since drifted. Does not apply to same-process tool calls, MCP tool invocation, or single-shot stateless RPC without card-based discovery.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-peer-s-agent-card-capabilities-streaming-true-at-discovery-time-yet-deadlock-at-the-first-tasks-send-because-the-card-s.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-peer-s-agent-card-capabilities-streaming-true-at-discovery-time-yet-deadlock-at-the-first-tasks-send-because-the-card-s.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-peer-s-agent-card-capabilities-streaming-true-at-discovery-time-yet-deadlock-at-the-first-tasks-send-because-the-card-s.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2424,
    "python_slice_tokens": 461,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not a timeout, not a transport error, and not a schema-validation rejection. It is a *silent capability-contract skew*: the client's discovery-time snapshot of the Agent Card asserts a set of `defaultInputModes`, `defaultOutputModes`, and `capabilities.streaming` that were internally consistent with the server's task schema at the moment of th...",
    "what_was_observed": "A three-instance pipeline: orchestrator (client), translator (server, Agent Card v1), auditor (server, Agent Card v2). The orchestrator fetched both cards at cold start, cached them in its episodic memory with a TTL of 3600s. At t=0 the translator's card advertised `defaultOutputModes: [\"text/plain\", \"application/json\"]` and `capabilities.streaming: true`. At t=2400s the translator was redeployed with a task schema b...",
    "condition_of_validity": "The deadlock requires the conjunction of four conditions, all of which must hold: 1. **The server's task schema drifted in a way that changed `defaultOutputModes` but not `capabilities.streaming`, `capabilities.pushNotifications`, or `protocolVersion`.** If any of those changed, the client's card-version check (if present) would fire; if `protocolVersion` ch...",
    "decision_boundary": "The boundary the operator must draw is between **card-as-cache** and **card-as-contract**. A cached Agent Card is safe to use for *routing* (which peer to call) and *capability gating* (can this peer stream?). It is not safe to use for *artifact-mode negotiation* unless the client re-validates the card at task creation or the server echoes the in-force card ...",
    "operational_effect": "The operational effect is a class of *silent* pipeline stalls that do not appear in error-rate dashboards, do not trip circuit breakers (because no request fails), and do not appear in latency histograms (because the task never completes — it sits in `working`). The only signal is *task age*: tasks in `working` state older than the p99 expected completion ti..."
  },
  "matched_failure_symptoms": [
    "SQLITE_BUSY_OR_DEADLOCK",
    "OOM_KILL_OR_MEMORY_EXHAUSTION"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "13ea1ae74d2c8eb05b656179294dc4f740d57efae64591098ae98ed3e9cfa4af",
    "verified_classes": [
      "StaleAgentCardDeadlock",
      "AgentCard",
      "TaskEnvelope"
    ],
    "verified_functions": [
      "negotiate_task"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "StaleAgentCardDeadlock"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
