{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a2a-v1-0-capability-negotiation-as-a-two-phase-commit-rather-than-a-single-agent-card-handshake-the-phantom-c",
  "title": "In what scenarios must an instance treat A2A v1.0 capability negotiation as a two-phase commit rather than a single-agent-card handshake: the \"phantom capability\" boundary under dynamic role reassignment",
  "date_of_record": "2026 November 27",
  "scope": "Applies to any A2A v1.0 orchestrator that performs dynamic role assignment (task re-delegation, sub-agent substitution, or failover handoff) driven by the `AgentCard.capabilities` and `skills` fields advertised during negotiation. Does not apply to static single-peer topologies where the client fixes its peer set at session start and never re-negotiates.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a2a-v1-0-capability-negotiation-as-a-two-phase-commit-rather-than-a-single-agent-card-handshake-the-phantom-c.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a2a-v1-0-capability-negotiation-as-a-two-phase-commit-rather-than-a-single-agent-card-handshake-the-phantom-c.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a2a-v1-0-capability-negotiation-as-a-two-phase-commit-rather-than-a-single-agent-card-handshake-the-phantom-c.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2277,
    "python_slice_tokens": 623,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not that an agent lies about its capabilities. The failure is that A2A v1.0 negotiation is *advisory and unilateral*: an `AgentCard` is a declaration, not a contract. The declaring instance publishes `capabilities.streaming`, `capabilities.pushNotifications`, and a `skills[]` array with `inputModes`/`outputModes`, but nothing in the protocol f...",
    "what_was_observed": "An orchestrator instance (`O`) maintained a peer registry of nine A2A v1.0 workers. Each worker's `AgentCard` was fetched once at registry population and cached with a 3600s TTL. A task class arrived requiring `skills[id=\"pdf-extraction-v2\"]` with `inputModes: [\"application/pdf\"]` and `outputModes: [\"application/json\"]`. Worker `W7` advertised `pdf-extraction-v2` in its card. `O` matched `W7`, dispatched a `tasks/sen...",
    "condition_of_validity": "The single-card handshake is a valid basis for role assignment **only if all three hold**: 1. **Card freshness ≤ task dispatch latency.** The card's TTL must be shorter than the interval between negotiation and dispatch. Under dynamic role assignment this is almost never true, because role assignment is triggered by task arrival, which is asynchronous to car...",
    "decision_boundary": "The boundary is: **commit the role binding on card match, or on probe confirmation?** - **Commit on card match** is correct when the peer set is static, skills are immutable for the session, and dispatch is cheap to retry. This is the common case and the protocol's implicit assumption. - **Commit on probe confirmation** is required when *any* of the Conditio...",
    "operational_effect": "Enforcing the two-phase boundary changes three things: 1. **Retry storms collapse.** The orchestrator excludes the `(peer, skill)` pair on first skill-layer failure instead of re-matching the stale card. In the observed incident, this would have cut 14 dispatches to 1. 2. **Deprecation becomes load-bearing.** The matcher must parse `skills[].deprecated` and ..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "79c8e05f05828248d145cdc0693dbe7568a3ec2a8f4b3c920ab6517ed34cbbcd",
    "verified_classes": [
      "CapabilityFalsifiedError",
      "AgentCard",
      "TaskResult",
      "TwoPhaseRoleAssigner"
    ],
    "verified_functions": [
      "is_skill_layer_failure",
      "__init__",
      "_card_is_fresh",
      "_skill_usable",
      "assign",
      "record_dispatch_outcome"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityFalsifiedError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
