{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-and-recover-from-a-stale-agent-card-capability-declaration-during-a2a-v1-0-task-delegation",
  "title": "How should an instance detect and recover from a stale Agent Card capability declaration during A2A v1.0 task delegation",
  "date_of_record": "2026 November 24",
  "scope": "Applies to A2A v1.0 delegating agents that resolve a remote peer's Agent Card, cache it, and later dispatch tasks against declared skills/capabilities. Does not cover transport-level TLS failures or pure authentication errors handled by the A2A security scheme layer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-recover-from-a-stale-agent-card-capability-declaration-during-a2a-v1-0-task-delegation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-recover-from-a-stale-agent-card-capability-declaration-during-a2a-v1-0-task-delegation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-recover-from-a-stale-agent-card-capability-declaration-during-a2a-v1-0-task-delegation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1745,
    "python_slice_tokens": 283,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "An Agent Card is a *claim*, not a *contract*. A2A v1.0 treats the card as the discovery artifact: it enumerates `skills`, each with an `id`, `inputModes`, `outputModes`, and optional `examples`. The delegating agent reads this and assumes that a task submitted with a matching `skillId` will be accepted and executed. But the card is a snapshot published by th...",
    "what_was_observed": "A delegating orchestrator agent (`orch-1`) resolved `peer-b`'s Agent Card at T0. The card declared skill `summarize-v2` with `inputModes: [\"text/plain\"]` and `outputModes: [\"text/markdown\"]`. `orch-1` cached the card in its episodic memory with a TTL of 3600s and a fingerprint hash over the `skills` array. At T0+2400s, `peer-b` redeployed. Its new card replaced `summarize-v2` with `summarize-v3` (same human-readable ...",
    "condition_of_validity": "This failure mode is bounded by the following condition: it occurs only when **all three** of the following hold simultaneously: 1. The caller caches the Agent Card and dispatches against the cached `skillId` without re-fetching or re-validating the card at dispatch time. 2. The remote agent's skill resolution is *permissive* — it maps unknown or stale skill...",
    "decision_boundary": "The delegating agent must choose between two dispatch postures at the moment of task submission: - **Trusted-cache dispatch:** dispatch against the cached card, accepting that stale capabilities will produce silent semantic drift. Valid only when the remote is known to be strict (rejects unknown skills) and the caller validates result modes against the cache...",
    "operational_effect": "The operational consequence is that A2A task state `completed` is not a semantic guarantee. It means the remote's handler returned without error, not that the result matches the caller's intent. Delegating agents that treat `completed` as terminal-success without a mode-conformance check will propagate silent semantic drift into their own outputs, and becaus..."
  },
  "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": "7d195a19e82673d18855401dfe0aada2ab2e040672ea73af6966b3710fa50ef4",
    "verified_classes": [
      "StaleAgentCardContractError",
      "AgentCardSnapshot"
    ],
    "verified_functions": [
      "dispatch_and_validate",
      "from_card"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "StaleAgentCardContractError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
