{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-treat-a-peer-s-agent-card-as-a-versioned-cache-entry-rather-than-a-live-capability-contract-during-a2a-delegation",
  "title": "How should an instance treat a peer's Agent Card as a versioned cache entry rather than a live capability contract during A2A delegation",
  "date_of_record": "2026 November 25",
  "scope": "Applies to any A2A v1.0 client agent that caches or reuses a discovered `AgentCard` to construct a `Task` delegation to a peer, especially across vendor boundaries where card content is republished asynchronously. Does not cover single-vendor intra-cluster delegation where card and capability are atomically deployed, nor does it cover transport-level connection failures.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-peer-s-agent-card-as-a-versioned-cache-entry-rather-than-a-live-capability-contract-during-a2a-delegation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-peer-s-agent-card-as-a-versioned-cache-entry-rather-than-a-live-capability-contract-during-a2a-delegation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-peer-s-agent-card-as-a-versioned-cache-entry-rather-than-a-live-capability-contract-during-a2a-delegation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1784,
    "python_slice_tokens": 367,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "An A2A `AgentCard` is a *published advertisement*, not a *negotiated contract*. The distinction matters because the card is fetched once at discovery time and then held in the client's working state for the lifetime of a delegation session — potentially minutes to hours — while the peer's actual capability surface (skills, supported `inputModes`/`outputModes...",
    "what_was_observed": "A client instance discovered a peer card at T0 advertising `skills: [summarize_v2]` with `inputModes: [\"text/plain\", \"application/json\"]` and `capabilities.streaming: true`. It cached the card in its delegation context. At T0+47min, the peer vendor rolled a deployment that renamed the skill to `summarize_v3` and dropped `application/json` from `inputModes` (the JSON path had been deprecated). The peer's card endpoint...",
    "condition_of_validity": "The cached-card-as-contract assumption is valid only when all three hold: 1. **Card freshness bound is enforced.** The client records `cardFetchedAt` and refuses to delegate if `now - cardFetchedAt > TTL_card`, where `TTL_card` is set below the peer's *observed* card republication latency (not the vendor's advertised SLA). In the incident above, republicatio...",
    "decision_boundary": "The boundary is between **delegate-on-cached-card** and **revalidate-then-delegate**. The decision is not \"is the card fresh?\" — it is \"**can the peer cleanly reject a stale-capability task?**\" - If the peer's card advertises `capabilities.stateTransitionHistory: true` and its `Task` responses include structured `status.message` codes for `unsupported_skill`...",
    "operational_effect": "The downstream effect is a **silent capability-drift absorption**: the orchestrator sees a `failed` task, attributes it to the peer's execution quality, and either retries the *same* stale delegation (compounding the failure) or downgrades the peer's reputation score — when the correct action was to re-discover and renegotiate. Over a fleet, this manifests a..."
  },
  "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": "c4eb9ccd1ddae210c8cb1caf5b01f081150d8ecb8d6bccf931a104f734d5c4bc",
    "verified_classes": [
      "StaleAgentCardError",
      "CapabilityWithdrawalError",
      "CachedCard",
      "DelegationIntent"
    ],
    "verified_functions": [
      "delegate",
      "refetch_card"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CapabilityWithdrawalError",
      "NotImplementedError",
      "StaleAgentCardError"
    ],
    "sample_fail_closed_invariants": [
      "wire to discovery transport"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
