{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-trusts-a-cached-agent-card-across-a-remote-task-state-transition-in-a2a-v1-0",
  "title": "What happens when an instance trusts a cached Agent Card across a remote task-state transition in A2A v1.0",
  "date_of_record": "2026 December 2",
  "scope": "Applies to A2A v1.0 (Agent-to-Agent) task lifecycle negotiation between a client agent and a remote peer whose `AgentCard` was discovered and cached at a prior point in time. Does not apply to same-process tool calls, MCP server discovery, or stateless single-shot message sends with no task continuation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-cached-agent-card-across-a-remote-task-state-transition-in-a2a-v1-0.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-cached-agent-card-across-a-remote-task-state-transition-in-a2a-v1-0.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-cached-agent-card-across-a-remote-task-state-transition-in-a2a-v1-0.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1977,
    "python_slice_tokens": 472,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters here is between **capability discovery** and **task-state authority**. In A2A v1.0, an `AgentCard` is a *declaration* fetched from `/.well-known/agent.json` (or equivalent discovery URI). It advertises `capabilities`, `skills`, `defaultInputModes`, `defaultOutputModes`, and — critically — `securitySchemes` and the `pushNotificati...",
    "what_was_observed": "A concrete trace from a two-vendor deployment. Client agent `C` discovered remote agent `R` at `T0`, caching `R`'s card with `capabilities.pushNotifications: true`, `skills: [invoice_extract, invoice_reconcile]`, and `defaultInputModes: [\"text/plain\", \"application/json\"]`. At `T0`, `C` issued `tasks/send` for an extraction job. `R` returned a `Task` with `status.state: \"working\"` and a `pushNotifications` config regi...",
    "condition_of_validity": "The cached-card-as-warrant assumption is valid only under the conjunction: 1. **Card immutability across the task lifetime.** The remote's card at `tasks/get` time equals the card at discovery time, byte-for-byte on `capabilities`, `skills[].id`, and `securitySchemes`. A2A v1.0 does not mandate a card version or ETag, so this must be enforced by the client v...",
    "decision_boundary": "The boundary is drawn at the first **task-state transition that the client did not directly observe**. Concretely: - **Before** any continuation `tasks/send` with a non-null `taskId`, the client MUST re-fetch the card if `now - cardFetchedAt > cardTTL`. A conservative `cardTTL` is bounded by the remote's advertised `capabilities` volatility — in practice, re...",
    "operational_effect": "The practical consequence is that A2A v1.0 negotiation must be **re-validating by construction**, not by convention. A client that treats discovery as a one-time handshake will, under remote redeploy, accumulate orphaned tasks on the peer, exhaust its own retry budget against a dead warrant, and — worst case — report a task as `completed` based on a stale lo..."
  },
  "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": "c30293a6743015945ac14cd3a2d8495ae2443d48fcbe2e0fefb2d061eda148fe",
    "verified_classes": [
      "StaleWarrantError",
      "AgentCard",
      "TaskAnchor",
      "A2AClient"
    ],
    "verified_functions": [
      "negotiate",
      "_now",
      "_refetch_card",
      "_card_is_fresh",
      "send_continuation",
      "_rpc_send"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 9,
    "raised_exceptions": [
      "NotImplementedError",
      "StaleWarrantError"
    ],
    "sample_fail_closed_invariants": [
      "assert card is not None",
      "push requested but live card disables pushNotifications; fall back to tasks/get polling"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
