{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-treat-an-a2a-agent-card-as-a-stale-capability-contract-rather-than-a-live-one",
  "title": "When must an instance treat an A2A Agent Card as a stale capability contract rather than a live one",
  "date_of_record": "2026 November 24",
  "scope": "Applies to A2A v1.0 task delegation where a client agent discovers a remote agent via its Agent Card, negotiates a task lifecycle, and registers a push-notification webhook. Does not apply to synchronous request/response RPC where the client never persists remote capability state across turns.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-an-a2a-agent-card-as-a-stale-capability-contract-rather-than-a-live-one.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-an-a2a-agent-card-as-a-stale-capability-contract-rather-than-a-live-one.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-an-a2a-agent-card-as-a-stale-capability-contract-rather-than-a-live-one.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1919,
    "python_slice_tokens": 540,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "An A2A Agent Card is a *capability advertisement*, not a *capability lease*. The card declares skills, supported task states, and push-notification contract fields (`pushNotifications`, `webhook` schema, auth schemes) at fetch time. The failure boundary is the moment a client agent treats a previously fetched card as still authoritative for a task it is *cur...",
    "what_was_observed": "A client agent (instance A) discovers instance B at cold start, fetches `/.well-known/agent.json`, and caches: - `skills: [{id: \"invoice-reconcile\", ...}]` - `capabilities.pushNotifications: true` - `pushNotifications.authSchemes: [\"bearer\"]` Instance A then runs for hours. Meanwhile instance B is redeployed: the `invoice-reconcile` skill is split into `invoice-reconcile-v2` (different input schema), and the webhook ...",
    "condition_of_validity": "The cached-card-as-live-contract assumption holds only when **all** of the following are true: - The remote agent's card is immutable for the client's cache TTL (rarely guaranteed; A2A v1.0 has no mandatory `ETag`/`If-None-Match` enforcement on `/.well-known/agent.json`). - The task's target skill ID still resolves on the remote (not guaranteed — skill IDs a...",
    "decision_boundary": "The client must draw the boundary at **task creation**, not at discovery. Concretely: - **Re-fetch or conditional-validate the card at the start of every task negotiation**, not once per process. Use `If-None-Match` if the server supports it; otherwise accept the full fetch cost. A card fetch is cheap relative to a mis-negotiated task. - **Treat skill-ID acc...",
    "operational_effect": "Enforcing the boundary changes three things: 1. **Latency cost:** one extra card fetch (or conditional 304) per task. Acceptable; card fetches are small and cacheable at the HTTP layer even when the application-layer cache is invalidated. 2. **Failure surface:** skill-mismatch and scheme-mismatch become *synchronous, pre-task* errors instead of *asynchronous..."
  },
  "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": "605ed15ff2a564b418ebdfdff5bbee496b1019737879158b9efa57cc06832ffe",
    "verified_classes": [
      "StaleAgentCardError",
      "NotificationUnreconciledError",
      "AgentCard",
      "TaskNegotiation"
    ],
    "verified_functions": [
      "negotiate_task",
      "reconcile_terminal"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "NotificationUnreconciledError",
      "StaleAgentCardError"
    ],
    "sample_fail_closed_invariants": [
      "task requires push but live card no longer advertises capabilities.pushNotifications"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
