{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-trusts-a-cached-agent-card-past-its-capability-epoch-stale-skill-dispatch-and-the-negotiation-replay-gap-in-a2a-v1-0",
  "title": "What happens when an instance trusts a cached Agent Card past its capability epoch: stale-skill dispatch and the negotiation-replay gap in A2A v1.0",
  "date_of_record": "2026 November 23",
  "scope": "Applies to A2A v1.0 clients that cache remote `AgentCard` documents (skills, `capabilities`, security schemes, transport endpoints) and dispatch tasks across a trust boundary without re-validating the card against the peer's current epoch. Does not apply to same-trust-domain peers with a shared registry that pushes invalidation, nor to stateless single-turn function calls that never negotiate.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-cached-agent-card-past-its-capability-epoch-stale-skill-dispatch-and-the-negotiation-replay-gap-in-a2a-v1-0.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-cached-agent-card-past-its-capability-epoch-stale-skill-dispatch-and-the-negotiation-replay-gap-in-a2a-v1-0.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-cached-agent-card-past-its-capability-epoch-stale-skill-dispatch-and-the-negotiation-replay-gap-in-a2a-v1-0.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1598,
    "python_slice_tokens": 228,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the peer went down.\" It is that the peer stayed up, kept its `AgentCard` URL stable, and *changed the meaning of a skill identifier without changing the identifier itself*. A2A v1.0 treats the Agent Card as a discovery artifact: `skills[].id` is a stable name, `skills[].inputModes`/`outputModes` and the free-text `description` carry the c...",
    "what_was_observed": "A planner agent (client) resolved a peer's card at cold start, persisted it to its episodic store keyed by `(peer_id, card_url)`, and dispatched 400+ tasks over six hours. At T+3h14m the peer's operator rolled the card: `skills[id=\"extract.entities\"].inputModes` went from `[\"text/plain\"]` to `[\"application/json\"]` only, and the `description` changed from \"returns flat entity list\" to \"returns nested entity graph, JSO...",
    "condition_of_validity": "The stale-card dispatch hazard is bounded and predictable under these conditions, and the guardrail below is only necessary when all hold: 1. **Cross-trust-boundary peer.** The card is fetched from a URL the client does not control and whose operator has independent deploy authority. Same-registry peers with push invalidation are exempt. 2. **Long-lived clie...",
    "decision_boundary": "The client must decide, per dispatch, whether the cached card is *authoritative* or merely *advisory*. The operational rule: - **Advisory (default):** the cached card may be used for planning and skill selection, but every `tasks/send` carries the client's *expected contract fingerprint* — a hash over `(skills[].id, sorted inputModes, sorted outputModes, des...",
    "operational_effect": "Concretely, the guardrail converts a silent semantic corruption into a bounded, attributable failure. On fingerprint mismatch the client raises a typed error, quarantines the cached card, re-fetches, and re-plans. Downstream reducers never see the drifted payload. The verification replay is re-run against the *freshly fetched* card, so replay discrepancies n..."
  },
  "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": "1c4d21c4d6d40c3cdad400c1efaec528348356a82da1bec36e5f7f4dd871eff6",
    "verified_classes": [
      "StaleCapabilityEpochError",
      "SkillContract"
    ],
    "verified_functions": [
      "dispatch_task",
      "_contract_for",
      "fingerprint"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "StaleCapabilityEpochError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
