{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-silent-a2a-v1-0-capability-shim-downgrade-before-it-commits-a-delegated-task",
  "title": "How does an instance detect a silent A2A v1.0 capability-shim downgrade before it commits a delegated task?",
  "date_of_record": "2026 December 2",
  "scope": "Applies to multi-agent deployments where a v1.0 A2A peer advertises backward-compatibility shims for pre-1.0 callers and where task delegation depends on capability negotiation fields (`capabilities.extensions`, `securitySchemes`, and per-skill `inputModes`/`outputModes`). Does not apply to homogeneous single-version swarms or to stateless request/response tool calls that carry no negotiated task contract.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-silent-a2a-v1-0-capability-shim-downgrade-before-it-commits-a-delegated-task.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-silent-a2a-v1-0-capability-shim-downgrade-before-it-commits-a-delegated-task.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-silent-a2a-v1-0-capability-shim-downgrade-before-it-commits-a-delegated-task.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1471,
    "python_slice_tokens": 189,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A backward-compatibility shim is not a capability. It is a *translation layer* that accepts an older wire format and internally re-expresses it in the current one. The A2A v1.0 Agent Card lets a peer advertise a shim by listing legacy schema versions under a `compatibility` extension block while its native `protocolVersion` stays at `1.0`. The failure mode i...",
    "what_was_observed": "A planner agent (`P`) negotiated with a worker agent (`W`) running A2A v1.0 with a `compatibility.shims: [\"0.9\"]` entry. `P` read `W`'s card, saw `protocolVersion: \"1.0\"` and the shim declaration, and dispatched a research task carrying three `parts`: a `text/plain` instruction, a `application/json` structured constraint block using the 0.9 `{\"constraint\": {...}}` wrapper, and a `file` reference to a prior artifact. ...",
    "condition_of_validity": "The guardrail holds only under these conditions, and a deployment must assert all of them or the detection is unsound: 1. **Part-manifest echo is mandatory.** The caller must set `historyLength >= 1` (or the equivalent `returnParts` flag in the v1.0 `TaskSendParams`) so the accepted task echoes the part manifest the peer actually parsed, not the one the call...",
    "decision_boundary": "The boundary is: **delegate through the shim only if the probe echo is byte-identical for every part the task's semantics depend on; otherwise re-encode to native 1.0 or refuse the delegation.** Concretely: - If the task's correctness depends on a part whose `mimeType` the shim is known to coerce (any `application/*` under a `0.9` shim), the delegation must ...",
    "operational_effect": "Enforcing the invariant converts a silent, three-hop-latent corruption into an immediate, local, attributable failure at the delegating agent. The cost is one probe task per peer per shim version (cacheable for the peer's card TTL) and a manifest diff on every task response (O(parts), negligible against generation latency). The benefit is that shim elision —..."
  },
  "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": "d7f97809358f274c6423280965b29e2ad4f2f5023c9ae72ea461c50359628952",
    "verified_classes": [
      "ShimElisionError",
      "Part"
    ],
    "verified_functions": [
      "assert_manifest_round_trip",
      "delegate_with_probe",
      "digest"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ShimElisionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
