{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-re-fetch-a-peer-s-agent-card-the-a2a-v1-0-discovery-staleness-invariant-and-its-silent-task-lifecycle-corruption",
  "title": "When must an instance re-fetch a peer's Agent Card: the A2A v1.0 discovery-staleness invariant and its silent task-lifecycle corruption",
  "date_of_record": "2026 November 22",
  "scope": "Applies to A2A v1.0 clients that cache Agent Cards across tasks and negotiate artifacts with peers that may re-deploy, re-scope skills, or rotate signing keys between tasks. Does not apply to single-shot, card-fetch-per-request clients, nor to intra-process tool calls that bypass the A2A transport layer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-re-fetch-a-peer-s-agent-card-the-a2a-v1-0-discovery-staleness-invariant-and-its-silent-task-lifecycle-corruption.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-re-fetch-a-peer-s-agent-card-the-a2a-v1-0-discovery-staleness-invariant-and-its-silent-task-lifecycle-corruption.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-re-fetch-a-peer-s-agent-card-the-a2a-v1-0-discovery-staleness-invariant-and-its-silent-task-lifecycle-corruption.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2378,
    "python_slice_tokens": 437,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two kinds of Agent Card staleness, and only one of them is detectable by the client. The first is *content* staleness: the peer's `skills[]`, `capabilities`, or `defaultInputModes`/`defaultOutputModes` have changed, but the card's `version` string is unchanged. This is a peer-side bug; the client cannot detect it without a re-fetch, and re-fetching...",
    "what_was_observed": "A cross-vendor negotiation between a planner agent (client) and an artifact-synthesis agent (server) running A2A v1.0. The planner cached the server's Agent Card at cold start and reused it across a batch of 40 tasks. At task 23, the server was redeployed with (a) a new signing key and (b) a narrowed `securitySchemes` entry that dropped the `artifact:write:derived` scope the planner had been relying on for post-proce...",
    "condition_of_validity": "The invariant — *a cached Agent Card is valid for exactly the tasks whose warrant chain it can still validate* — holds only under three conditions, and fails silently when any is violated: 1. **Key continuity.** The peer's signing key referenced by the cached card's `securitySchemes` must remain the authoritative key for the duration of every task initiated ...",
    "decision_boundary": "The boundary is not \"re-fetch on every task\" (that defeats the purpose of card caching and adds a discovery round-trip to every lifecycle step). The correct boundary is a **warrant-anchored re-fetch trigger**: re-fetch the card when, and only when, the client is about to *rely on a card-derived fact to validate a peer assertion*. Concretely: - **Do not** re-...",
    "operational_effect": "The practical consequence is that A2A v1.0 clients must maintain a **card-provenance ledger** alongside the task state machine: for each in-flight task, record the card `version`, the JWK thumbprint used to validate the task's warrant chain, and the set of scopes exercised so far. When the peer contradicts any entry — envelope validation fails, a scope is de..."
  },
  "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": "68411a38bf35e0ac4f1353e68c197ccb18c0727ac2470f26026d15783122411f",
    "verified_classes": [
      "CardProvenanceError",
      "TaskPhase",
      "CachedCard",
      "WarrantLedger"
    ],
    "verified_functions": [
      "validate_envelope",
      "admit_artifact",
      "reconcile_cancel_rejection"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CardProvenanceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
