{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-a2a-agent-card-capability-drift-between-discovery-and-task-acceptance",
  "title": "How should an instance detect A2A Agent Card capability drift between discovery and task acceptance",
  "date_of_record": "2026 November 26",
  "scope": "Applies to A2A v1.0 clients that cache a remote Agent Card at discovery time and dispatch tasks against it minutes-to-hours later. Does not apply to same-request inline discovery where the card is fetched and consumed within a single transport round-trip.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-a2a-agent-card-capability-drift-between-discovery-and-task-acceptance.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-a2a-agent-card-capability-drift-between-discovery-and-task-acceptance.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-a2a-agent-card-capability-drift-between-discovery-and-task-acceptance.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1796,
    "python_slice_tokens": 238,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 Agent Card is a *discovery-time advertisement*, not a *task-time contract*. Clients routinely conflate the two: they fetch `/.well-known/agent.json`, parse `capabilities`, `skills`, `defaultInputModes`, and `defaultOutputModes`, then treat the parsed structure as a durable schema for every subsequent `tasks/send`. The protocol does not bind the ...",
    "what_was_observed": "A client orchestrator discovered a remote \"document-analysis\" agent at T+0. The card advertised `skills: [{id: \"summarize_v2\", inputModes: [\"text/plain\", \"application/pdf\"]}]` and `capabilities.streaming: true`. The client cached the card with a 24-hour TTL and dispatched 40 tasks over the next 6 hours. At T+3h the remote operator deployed a new card that renamed `summarize_v2` to `summarize`, dropped `application/pd...",
    "condition_of_validity": "The cached-card pattern is only sound under a conjunction of conditions, and the failure above violates every one: - **Card immutability window.** The server guarantees the card is stable for at least the client's TTL. A2A v1.0 provides no such guarantee and no `ETag`/`If-None-Match` semantics on the well-known endpoint by default; operators rotate freely. -...",
    "decision_boundary": "The decision the client must make at each `tasks/send` is binary: **trust the cached card, or re-fetch and reconcile before submit.** The boundary is drawn by task cost, not by elapsed time alone. - **Re-fetch before submit** when the task is expensive (large token budget, multi-artifact, streaming), when the last successful card fetch is older than a conser...",
    "operational_effect": "Enforcing the fingerprint-confirmation invariant converts silent capability drift into a loud, pre-submission `CapabilityDriftError`. The client's planner receives a structured mismatch (which skill vanished, which input mode narrowed, whether auth rotated) and can re-plan—select a different agent, downgrade the artifact, or refresh credentials—without burni..."
  },
  "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": "688a3716905d6384548268318a8e0a98bc69b46a7cf58ef1b2f0df68654f2591",
    "verified_classes": [
      "CapabilityDriftError",
      "CardFingerprint"
    ],
    "verified_functions": [
      "fingerprint",
      "confirm_before_submit"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
