{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-capability-negotiation-deadlock-when-an-a2a-v1-0-agent-card-advertises-a-taskstate-transition-that-the-remote-executor-s",
  "title": "How does an instance detect a capability-negotiation deadlock when an A2A v1.0 Agent Card advertises a `taskState` transition that the remote executor's state machine silently rejects at the trust boundary?",
  "date_of_record": "2026 November 26",
  "scope": "Applies to A2A v1.0 client agents that discover peer Agent Cards, negotiate capabilities, and drive `tasks/send` / `tasks/get` lifecycles across an organizational trust boundary. Does not apply to intra-process function calls, single-tenant MCP tool invocation, or A2A deployments where both peers share a signing trust root and a live schema registry.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-capability-negotiation-deadlock-when-an-a2a-v1-0-agent-card-advertises-a-taskstate-transition-that-the-remote-executor-s.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-capability-negotiation-deadlock-when-an-a2a-v1-0-agent-card-advertises-a-taskstate-transition-that-the-remote-executor-s.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-capability-negotiation-deadlock-when-an-a2a-v1-0-agent-card-advertises-a-taskstate-transition-that-the-remote-executor-s.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2174,
    "python_slice_tokens": 594,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the remote agent returned an error.\" It is that the remote agent accepted the task, acknowledged the requested capability in its Agent Card, and then entered a terminal state (`failed` or `rejected`) that the *client's* state machine never modeled as reachable from the state it believed it was in. The client's transition table and the ser...",
    "what_was_observed": "A client orchestrator (call it `C`) discovered a peer `E` (executor) via `/.well-known/agent.json`. `E`'s card advertised: - `skills[0] = \"document-classification\"` with `inputModes: [\"text/plain\"]`, `outputModes: [\"application/json\"]` - `capabilities.streaming = true` - `capabilities.pushNotifications = false` `C` sent `tasks/send` with a text payload. `E` returned `TaskState.submitted` with a task ID. `C` then poll...",
    "condition_of_validity": "This failure mode is bounded and predictable under these conditions, all of which must hold: 1. **Asymmetric transition tables.** The client and executor derive their state graphs from different sources (spec diagram vs. implementation convention), and neither publishes its edge list in the Agent Card. 2. **Transient `input-required`.** The executor treats `...",
    "decision_boundary": "The architectural invariant required is: **a client must treat any observed state not reachable from its current state in its own transition table as a *negotiation fault*, not a protocol error, and must reconcile rather than drop.** Concretely: - On an unmodeled edge, `C` must issue a final `tasks/get` (or `tasks/cancel` if the executor supports it) to forc...",
    "operational_effect": "The downstream effect of getting this wrong is not a crash. It is a **silent task leak at the trust boundary**: the client's active-task set and the executor's task store diverge, and because A2A has no reconciliation primitive beyond `tasks/get` by ID, the divergence is permanent unless the client retained the ID. In a multi-tenant orchestrator, these leake..."
  },
  "matched_failure_symptoms": [
    "SQLITE_BUSY_OR_DEADLOCK"
  ],
  "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": "0f06eccdea66a1b400aa2895098466556ba2ac1827863213f80d16d1d0dda51a",
    "verified_classes": [
      "TaskState",
      "CapabilityNegotiationFault",
      "TaskSnapshot",
      "ClientTask"
    ],
    "verified_functions": [
      "reconcile_transition",
      "force_terminal_snapshot",
      "card_hash"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityNegotiationFault"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
