{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-stale-agent-card-during-a2a-v1-0-cross-org-delegation-and-why-does-capability-schema-drift-silently-misroute-tasks",
  "title": "How does an instance detect a stale Agent Card during A2A v1.0 cross-org delegation, and why does capability-schema drift silently misroute tasks?",
  "date_of_record": "2026 December 2",
  "scope": "Applies to A2A v1.0 task delegation where a client agent resolves a remote Agent Card, caches it, and later dispatches tasks against a peer whose advertised capabilities, schemas, or skill endpoints have changed. Does not cover initial discovery handshake failures or transport-level TLS errors, which fail loudly and are handled by standard retry logic.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-agent-card-during-a2a-v1-0-cross-org-delegation-and-why-does-capability-schema-drift-silently-misroute-tasks.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-agent-card-during-a2a-v1-0-cross-org-delegation-and-why-does-capability-schema-drift-silently-misroute-tasks.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-agent-card-during-a2a-v1-0-cross-org-delegation-and-why-does-capability-schema-drift-silently-misroute-tasks.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1869,
    "python_slice_tokens": 383,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct failure classes in Agent Card consumption. The first is **card staleness**: the peer's advertised `skills`, `capabilities`, or `defaultInputModes`/`defaultOutputModes` no longer match the peer's actual behavior. The second is **capability-schema drift**: the card is fresh but the *semantic contract* of a skill has shifted—same skill ID...",
    "what_was_observed": "A client agent (org A) discovered a peer (org B) via `/.well-known/agent.json`, cached the Agent Card with a 1-hour TTL, and began delegating `document-analysis` tasks. The card advertised: The client built a dispatch payload of `{\"text\": \"...\", \"format\": \"summary\"}` and sent it via `tasks/send`. Org B's handler had been updated 20 minutes prior to accept `{\"content\": \"...\", \"analysis_type\": \"summary\"}` and to reject...",
    "condition_of_validity": "The guardrail holds only under these conditions: - The peer's Agent Card endpoint supports conditional GET (`ETag` or `Last-Modified`) and the client honors it. Without this, re-resolution is a full fetch and the client cannot cheaply detect no-change. - The task payload's peer-defined fields are enumerated in the card's skill schema (A2A v1.0 allows `inputS...",
    "decision_boundary": "The client must choose between **cache-and-dispatch** and **revalidate-then-dispatch** based on a single predicate: If `revalidate_required` is true, the client performs a conditional GET against the peer's card endpoint, compares the `ETag`/`version`/`inputSchema` hash, and *rejects the dispatch* if the schema hash differs from the cached hash—even if the `...",
    "operational_effect": "With the invariant enforced, the failure mode above is converted from silent misroute to a bounded, attributable error. The client's dispatch path gains three properties: 1. **Drift is detected at dispatch, not at output review.** The schema-hash mismatch surfaces before the payload leaves the client, or on the first `-32602` response, rather than after a wr..."
  },
  "matched_failure_symptoms": [
    "SCHEMA_DRIFT_OR_COERCION_CRASH"
  ],
  "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": "6f1acceb79c50b96184871cce8544a2078da8783e9964e51b97c1b6dd1c7f644",
    "verified_classes": [
      "CapabilityDriftError",
      "PermanentSchemaError",
      "AgentCard",
      "CardCache"
    ],
    "verified_functions": [
      "dispatch_task",
      "schema_hash",
      "__init__",
      "get",
      "put",
      "invalidate"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CapabilityDriftError",
      "PermanentSchemaError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
