{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-and-recover-from-agent-card-capability-drift-between-a2a-discovery-and-task-dispatch",
  "title": "How should an instance detect and recover from Agent Card capability drift between A2A discovery and task dispatch",
  "date_of_record": "2026 December 1",
  "scope": "Applies to A2A v1.0 client agents that discover a remote agent via its Agent Card, cache or re-fetch that card, and then dispatch a `tasks/send` or `tasks/sendSubscribe` call expecting the capabilities and skills advertised at discovery time. Does not cover transport-level TLS failures, authentication rejection, or push-webhook delivery retries once a task is already accepted.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-recover-from-agent-card-capability-drift-between-a2a-discovery-and-task-dispatch.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-recover-from-agent-card-capability-drift-between-a2a-discovery-and-task-dispatch.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-recover-from-agent-card-capability-drift-between-a2a-discovery-and-task-dispatch.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1732,
    "python_slice_tokens": 275,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 Agent Card is a *snapshot*, not a *contract*. Discovery (`GET /.well-known/agent.json`) and dispatch (`POST /a2a/v1/tasks/send`) are two separate HTTP transactions against a mutable remote. Between them the remote agent may redeploy, roll back, downgrade its model, drop a skill, or change its `capabilities.pushNotifications` flag. The protocol g...",
    "what_was_observed": "A client agent discovered an orchestrator card advertising `capabilities: {streaming: true, pushNotifications: true}` and a skill `research.summarize` with `inputModes: [\"text/plain\"]`. It cached the card for 300 seconds. At T+280s it dispatched a long-running `research.summarize` task with `pushNotification: {url: \"https://client.example/hook\", token: \"...\"}` and `acceptedOutputModes: [\"text/markdown\"]`. The remote ...",
    "condition_of_validity": "This failure mode is *live* — i.e., the divergence is observable and harmful — exactly when all of the following hold: 1. The client caches or holds the Agent Card across more than one dispatch cycle (any TTL > 0, or any long-lived session). 2. The remote's capability surface is mutable without a card-level version bump that the client checks (A2A v1.0 cards...",
    "decision_boundary": "The boundary is: **at what point does the client re-verify the card before trusting a capability?** Three defensible policies, ordered by cost: - **Per-dispatch re-fetch (strict):** Re-fetch the card immediately before every `tasks/send`. Eliminates staleness, doubles discovery traffic, and still races (the remote can redeploy between your fetch and your sen...",
    "operational_effect": "Enforcing the acceptance-time reconciliation invariant converts a silent 24-hour orphan into a bounded, self-healing degradation: the task is still tracked, the polling fallback fires within one interval, the result is retrieved, and the client's in-flight gauge drains. The cost is one extra `tasks/get` (or reuse of the acceptance response) per push-configur..."
  },
  "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": "9a9e420428577a4f3e511e8ca323a43553196094ff2dbe51645e622f079535cb",
    "verified_classes": [
      "CapabilityDriftError",
      "DeliveryMode",
      "AgentCard",
      "AcceptedTask"
    ],
    "verified_functions": [
      "reconcile_on_acceptance"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
