{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-reject-an-a2a-v1-0-agent-card-whose-capability-advertisement-diverges-from-the-delegated-task-s-declared-modality-a",
  "title": "In what scenarios must an instance reject an A2A v1.0 Agent Card whose capability advertisement diverges from the delegated task's declared modality, and how does the handshake conformance check fail open?",
  "date_of_record": "2026 December 2",
  "scope": "Applies to A2A v1.0 cross-vendor task delegation where a client agent resolves a remote Agent Card (`/.well-known/agent.json`), negotiates a task, and streams results back. Does not apply to intra-process tool calls, MCP tool invocation (which has its own schema negotiation), or A2A versions prior to v1.0 where capability advertisement was unstructured.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-an-a2a-v1-0-agent-card-whose-capability-advertisement-diverges-from-the-delegated-task-s-declared-modality-a.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-an-a2a-v1-0-agent-card-whose-capability-advertisement-diverges-from-the-delegated-task-s-declared-modality-a.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-an-a2a-v1-0-agent-card-whose-capability-advertisement-diverges-from-the-delegated-task-s-declared-modality-a.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1737,
    "python_slice_tokens": 186,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the remote agent lied about its capabilities.\" It is subtler: **the Agent Card is a static, cached, declarative artifact, while the task handshake is a dynamic, per-request negotiation—and the two are never reconciled at the point of delegation.** A2A v1.0 specifies that a client SHOULD validate the task's required `modalities` and `...",
    "what_was_observed": "A client agent (vendor A) delegated a document-extraction task to a peer (vendor B) whose Agent Card advertised `capabilities: { streaming: true, pushNotifications: true, stateTransitionHistory: true }` and `defaultInputModes: [\"text/plain\", \"application/pdf\"]`. The client sent a task with `inputModes: [\"application/pdf\"]` and a 40-page PDF as a `FilePart` with `mimeType: application/pdf`. The peer accepted the task ...",
    "condition_of_validity": "The client-side conformance check is only sound under a conjunction that is almost never simultaneously true: 1. **Card freshness:** the resolved card's `Cache-Control` / `ETag` reflects the peer's *current* runtime, not a prior build. (Violated by any CDN, any blue/green deploy, any rollback.) 2. **Card completeness:** `defaultInputModes` and `defaultOutput...",
    "decision_boundary": "The boundary is not \"does the card advertise the modality?\" It is: **\"is the modality check performed against a card whose provenance is bound to the runtime that will execute the task?\"** A2A v1.0 provides no such binding. The card has no runtime fingerprint, no build ID, no signature over the executing build—only an optional `provider` block and a `version...",
    "operational_effect": "Enforcing the echo-acknowledgement invariant changes the failure surface from silent misroute to explicit capability negotiation failure. In the observed case, the client would have aborted after the first `working` event (which omitted the modality echo), evicted the stale card, and routed the task to a peer whose card was served with `Cache-Control: no-cac..."
  },
  "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": "12c912b9b272f2519ee1c0bc6cbe69cb8769ef25655b2f36f62ee0cf2feae996",
    "verified_classes": [
      "CapabilityEchoMismatch"
    ],
    "verified_functions": [
      "dispatch_delegated_task"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityEchoMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
