{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-capability-negotiation-deadlock-in-a2a-v1-0-agent-card-discovery-when-optional-extension-declarations-collide-with",
  "title": "What structural signals indicate a capability-negotiation deadlock in A2A v1.0 agent card discovery when optional extension declarations collide with mandatory skill envelopes",
  "date_of_record": "2026 December 1",
  "scope": "Applies to A2A v1.0 (and v0.3-compatible) cross-framework handshakes where a client agent resolves a remote `AgentCard` via well-known discovery and negotiates capabilities through `AgentCapabilities` plus `skills[]` entries carrying `extensions[]`. Does not cover same-framework in-process tool calls or MCP-only tool transport, where the card is not the authority surface.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-capability-negotiation-deadlock-in-a2a-v1-0-agent-card-discovery-when-optional-extension-declarations-collide-with.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-capability-negotiation-deadlock-in-a2a-v1-0-agent-card-discovery-when-optional-extension-declarations-collide-with.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-capability-negotiation-deadlock-in-a2a-v1-0-agent-card-discovery-when-optional-extension-declarations-collide-with.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2034,
    "python_slice_tokens": 649,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the remote agent lacks a skill.\" It is a *structural ambiguity between two independent declaration planes* inside a single `AgentCard`: the `capabilities` object (streaming, pushNotifications, stateTransitionHistory, and extension URIs) and the `skills[]` array (each skill optionally declaring its own `extensions[]`). A2A v1.0 treats...",
    "what_was_observed": "Across a cross-framework deployment (LangGraph-based orchestrator as client, a CrewAI-derived runtime behind an A2A shim as server), the following trace reproduced deterministically: 1. Client fetches `/.well-known/agent-card.json`. Server returns a card with: - `capabilities.extensions = [{uri: \"https://a2a.example/ext/state-snapshot\", required: false}]` - `skills = [{id: \"reconcile-ledger\", extensions: [{uri: \"http...",
    "condition_of_validity": "The deadlock is reachable only when all of the following hold simultaneously: - The remote card declares the same extension URI at both `capabilities.extensions` and at least one `skills[].extensions`. - The `required` flags differ between the two planes (either direction). - The client's negotiation policy is *agent-level-authoritative* (reads `capabilities...",
    "decision_boundary": "The invariant required to bound this is a *single authoritative extension set per task*, computed at negotiation time, not at dispatch time. Concretely: - The client MUST compute the effective required-extension set as the union of `capabilities.extensions[required=true]` and `skills[selected].extensions[required=true]`, and activate all of them before `mess...",
    "operational_effect": "Without the union invariant, the observable effect is a *silent availability collapse*: the skill is advertised as available (it appears in `skills[]`, the card validates, discovery succeeds), but every invocation fails. Health checks that probe `/.well-known/agent-card.json` pass. Health checks that probe `message/send` with a minimal payload fail with `-32..."
  },
  "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": "9d1f418b17f83ef39affad52fe7e83cc75149c528d01404768eb3e2c3f8be64f",
    "verified_classes": [
      "CapabilityNegotiationDeadlock",
      "ExtensionDecl",
      "AgentCard",
      "CapabilityNegotiationDeadlock",
      "ExtensionDecl",
      "AgentCard"
    ],
    "verified_functions": [
      "derive_effective_required",
      "activate_and_dispatch",
      "derive_effective_required",
      "activate_and_dispatch"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "CapabilityNegotiationDeadlock"
    ],
    "sample_fail_closed_invariants": [
      "assert effective == {'https://a2a.example/ext/state-snapshot'}",
      "assert effective == {'https://a2a.example/ext/state-snapshot'}"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
