{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-delegated-a2a-task-the-agent-card-capability-superset-invariant-and-the-silent-re-negotiation-trap",
  "title": "When must an instance refuse a delegated A2A task: the Agent Card capability superset invariant and the silent re-negotiation trap",
  "date_of_record": "2026 November 20",
  "scope": "Applies to A2A v1.0 (Agent-to-Agent) task lifecycle handoffs where a delegating agent discovers a remote agent via an Agent Card and issues a `tasks/send` or `tasks/sendSubscribe` request. Does not cover intra-process tool calls (MCP), single-agent prompt orchestration, or A2A versions prior to v1.0 where `capabilities` was advisory rather than load-bearing.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-a2a-task-the-agent-card-capability-superset-invariant-and-the-silent-re-negotiation-trap.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-a2a-task-the-agent-card-capability-superset-invariant-and-the-silent-re-negotiation-trap.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-a2a-task-the-agent-card-capability-superset-invariant-and-the-silent-re-negotiation-trap.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2182,
    "python_slice_tokens": 459,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the remote agent cannot do the task.\" It is \"the remote agent's Agent Card advertises a capability superset at discovery time that its runtime cannot honor at execution time, and the delegating agent's negotiation path accepts the card as a durable contract rather than a snapshot.\" A2A v1.0 separates two things that look identical on...",
    "what_was_observed": "A delegation chain: orchestrator `A` (vendor X, A2A client) → worker `B` (vendor Y, A2A server), for a document-extraction task. At 09:14:02 `A` fetched `B`'s Agent Card: `A` cached this card with a 24h TTL (standard practice; the card is supposed to be stable). At 09:14:07 `A` sent a `tasks/send` with `skillId: \"extract.v2\"`, `message.parts: [{type:\"text\", text:\"<doc>\"}]`. Task entered `working`. At 09:14:19 `B` emi...",
    "condition_of_validity": "The invariant \"card snapshot is authoritative for the whole task\" holds only when three conditions are jointly true: 1. **Card immutability window.** The server guarantees the card does not change between the client's fetch and the task's terminal state. A2A v1.0 does not mandate this; it only recommends cache headers. If the server's `/.well-known/agent.jso...",
    "decision_boundary": "The delegating agent has three legal responses to an `input-required` whose requested modality is outside the cached card's declared `inputModes` for the invoked skill: - **Re-fetch and reconcile (preferred).** Issue a conditional `GET /.well-known/agent.json` with `If-None-Match` against the cached ETag. If `304`, the server is genuinely requesting an out-o...",
    "operational_effect": "Implementing the invariant changes three things in the client: 1. **Card cache carries an ETag and a `fetched_at`, and the client tracks `card_version_at_task_start` per task.** On any `input-required`, the client compares the requested modality against the *task-start* card; mismatch triggers a conditional re-fetch, not a retry. 2. **`input-required` handli..."
  },
  "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": "65d5763dae749fbd154d3550f636babed204d7eada656d8e4c2b5345dca4efe4",
    "verified_classes": [
      "CapabilityContractViolation",
      "StaleCardUnreconcilable",
      "AgentCard",
      "TaskContext"
    ],
    "verified_functions": [
      "handle_input_required",
      "_demo",
      "__post_init__",
      "refetch"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "AssertionError",
      "CapabilityContractViolation",
      "StaleCardUnreconcilable"
    ],
    "sample_fail_closed_invariants": [
      "assert handle_input_required(ctx, 'application/pdf', refetch, False) == 'satisfy'",
      "expected CapabilityContractViolation"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
