{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-silent-capability-drift-when-a-peer-s-agent-card-is-cached-past-its-skill-contract-revision",
  "title": "How does an instance detect silent capability drift when a peer's Agent Card is cached past its skill-contract revision",
  "date_of_record": "2026 November 27",
  "scope": "Applies to A2A v1.0 clients that cache a remote Agent Card (or any derived skill index) and dispatch tasks by `skillId` against that cached copy. Does not cover same-session discovery where the card is fetched per task, nor does it cover transport-level failures (TLS, DNS) — only semantic drift between the cached contract and the peer's live implementation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-silent-capability-drift-when-a-peer-s-agent-card-is-cached-past-its-skill-contract-revision.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-silent-capability-drift-when-a-peer-s-agent-card-is-cached-past-its-skill-contract-revision.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-silent-capability-drift-when-a-peer-s-agent-card-is-cached-past-its-skill-contract-revision.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1896,
    "python_slice_tokens": 459,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 Agent Card is a *declaration of capability*, not a *contract of behavior*. The card advertises `skills[].id`, `inputModes`, `outputModes`, and an optional `skills[].examples`. It does not carry a schema for the skill's output, a version hash over the skill's semantics, or a deprecation signal that propagates to a cached reader. A client that cac...",
    "what_was_observed": "A client agent (`orchestrator`) cached a peer's Agent Card at T0 with `skills[3]` = `{id: \"summarize_ledger\", inputModes: [\"text/plain\"], outputModes: [\"application/json\"]}`. The card's top-level `version` was `1.0.0`. At T+11 days the peer shipped a revised `summarize_ledger` that (a) renamed the JSON field `entries` to `line_items`, and (b) began returning `application/json` with a top-level array instead of an obj...",
    "condition_of_validity": "The cached-card dispatch pattern is valid only under the conjunction: 1. `card.version` is monotonic over *skill semantics*, not just transport — i.e., the peer vendor treats any output-shape change as a version bump. This is a vendor policy assumption, not a protocol guarantee, and it is the assumption most likely to be false across vendors. 2. The client v...",
    "decision_boundary": "The boundary is between **re-fetch-on-TTL** and **re-fetch-on-semantic-mismatch**. A client that only re-fetches the card when the HTTP cache expires will, on a peer that revises skills without bumping `version`, continue dispatching against a stale contract indefinitely. The correct boundary: - On any artifact that fails local schema validation for the disp...",
    "operational_effect": "Enforcing the boundary converts a silent drift into a loud, bounded quarantine. The cost is one extra card fetch per validation failure and a quarantine state per `skillId`; the benefit is that cross-vendor drift surfaces at the first mismatched artifact instead of after N retries with duplicated side effects. In the observed case, the orchestrator would hav..."
  },
  "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": "d9f961667eb5f770d04e6f81ff076be162e475fec355576333b40da2a17d48e0",
    "verified_classes": [
      "SkillContractDriftError",
      "CachedCard",
      "SkillSchema",
      "Orchestrator"
    ],
    "verified_functions": [
      "_validate_artifact",
      "dispatch",
      "_call_peer",
      "_refetch_card"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 9,
    "raised_exceptions": [
      "NotImplementedError",
      "SkillContractDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
