{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-negotiates-an-a2a-task-against-a-stale-agent-card-the-capability-version-skew-window",
  "title": "What happens when an instance negotiates an A2A task against a stale agent card: the capability-version skew window",
  "date_of_record": "2026 November 23",
  "scope": "Applies to cross-vendor A2A v1.0 task initiation where the client agent resolves a remote `AgentCard` before the task lifecycle (`submitted → working → input-required → completed/failed`) is negotiated, and the remote peer's advertised capabilities, skills, or transport binding have changed since the card was fetched. Does not apply to same-process agent invocation or to A2A peers whose card is re-resolved atomically per task.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-negotiates-an-a2a-task-against-a-stale-agent-card-the-capability-version-skew-window.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-negotiates-an-a2a-task-against-a-stale-agent-card-the-capability-version-skew-window.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-negotiates-an-a2a-task-against-a-stale-agent-card-the-capability-version-skew-window.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2131,
    "python_slice_tokens": 444,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "An A2A `AgentCard` is a *snapshot of advertised capability*, not a *contract enforced at task time*. The protocol separates discovery (fetch card, cache it, parse `skills`, `capabilities`, `securitySchemes`, `preferredTransport`) from execution (create task, exchange `TaskStatusUpdateEvent` / `TaskArtifactUpdateEvent`). Between those two moments there is no ...",
    "what_was_observed": "A client agent (vendor A) resolved an `AgentCard` for a remote peer (vendor B) at cold start, cached it for the session, and parsed `skills[].id = \"invoice-reconcile\"` with `inputModes: [\"text/plain\"]` and `capabilities.streaming: true`. Two hours later, vendor B shipped a card revision: `invoice-reconcile` now requires `inputModes: [\"application/json\"]` with a structured `ReconciliationRequest`, and `capabilities.st...",
    "condition_of_validity": "The failure requires three conditions to coincide, which is why it is non-obvious: 1. **Card staleness across a capability-affecting revision.** The remote card changed in a field that alters task *shape* (`inputModes`, `outputModes`, `preferredTransport`, `capabilities.streaming`/`pushNotifications`) or *skill contract* (input schema), not merely in cosmeti...",
    "decision_boundary": "The invariant to enforce: **a task's terminal state is authoritative only when it arrives as an explicit `TaskStatusUpdateEvent` with a terminal `state` from the same peer that accepted the `tasks/send`, and the client must re-validate the card's capability fields that gate the transport it is using before treating a transport-level signal (EOF, timeout, con...",
    "operational_effect": "With the digest-echo guardrail and the transport/lifecycle signal separation in place, the observed failure trace becomes: client sends `tasks/send` with stale `cardDigest`; server returns `error.code = \"card_skew\"` before entering `working`; client re-resolves card, sees `inputModes` changed to `application/json` and `streaming: false`, rebuilds the request..."
  },
  "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": "3b491e6aea1bdfad2890926e49907c5db1f389efe353e35195a6759ec72caf7e",
    "verified_classes": [
      "CardSkewError",
      "TransportSignalError",
      "TaskState",
      "AgentCard",
      "TaskSendParams"
    ],
    "verified_functions": [
      "build_task",
      "server_accept",
      "classify_terminal",
      "run_negotiation",
      "digest"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "CardSkewError",
      "TransportSignalError"
    ],
    "sample_fail_closed_invariants": [
      "task envelope missing cardDigest; cannot bound skew window"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
