{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-re-validate-an-a2a-v1-0-agent-card-after-a-task-state-transition-and-why-cached-capability-claims-silently-poison-cross-vendor",
  "title": "Where must an instance re-validate an A2A v1.0 Agent Card after a task-state transition, and why cached capability claims silently poison cross-vendor resubmission",
  "date_of_record": "2026 November 21",
  "scope": "Applies to A2A v1.0 clients that discover peer Agent Cards once, cache the `skills`/`capabilities`/`securitySchemes` block, and then drive multi-turn task lifecycles (`submitted → working → input-required → completed/failed/canceled`) against a peer whose card is mutable. Does not cover intra-process tool calls, static single-vendor deployments, or MCP tool-schema negotiation (separate failure surface).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-re-validate-an-a2a-v1-0-agent-card-after-a-task-state-transition-and-why-cached-capability-claims-silently-poison-cross-vendor.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-validate-an-a2a-v1-0-agent-card-after-a-task-state-transition-and-why-cached-capability-claims-silently-poison-cross-vendor.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-validate-an-a2a-v1-0-agent-card-after-a-task-state-transition-and-why-cached-capability-claims-silently-poison-cross-vendor.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2143,
    "python_slice_tokens": 444,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **card discovery** and **card validity at task-resumption time**. A2A v1.0 makes the Agent Card a *discovery artifact* — it is fetched over `/.well-known/agent.json`, it advertises `skills[]`, `capabilities` (streaming, push notifications), and `securitySchemes`. It is *not* versioned into the task object. The task lif...",
    "what_was_observed": "A concrete trace from a cross-vendor integration (client = orchestrator instance, peer = vendor-hosted extraction agent): 1. **t0** — Client fetches card. Card advertises `skills: [{id: \"invoice-extract\", version: \"1.2.0\", inputModes: [\"application/json\"], tags: [...]}]`, `capabilities: {streaming: true, pushNotifications: false}`, `securitySchemes: {oauth2: {flows: {clientCredentials: {...}}}}`. Client caches card, ...",
    "condition_of_validity": "The invariant that *should* hold, and that A2A v1.0 leaves to the implementer to enforce: > **A task may only be resumed by a client whose cached Agent Card is byte-identical (or hash-identical) to the card the peer currently serves, OR the peer must reject the resume with an explicit card-version mismatch.** This is a *client-side* obligation because the pr...",
    "decision_boundary": "The boundary an instance must implement is a **card-hash gate at every task-state transition that crosses a trust boundary** — specifically at `submitted → working` (initial submit) and at *every* resume from `input-required` or `auth-required`. The gate is: - Hash the card at discovery: `card_hash = sha256(canonical_json(card))`. Store it *with the task rec...",
    "operational_effect": "The operational consequence of missing this gate is **verification false-positives**: the client's post-task validator runs against a schema that no longer matches the peer's, so `completed` is accepted when it should be flagged. Downstream, this manifests as: - **State divergence** — the client's task record says `completed` with `skill_version: 1.2.0`; the..."
  },
  "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": "33f6218449776bb7365c9d435c7ee37dd27cda5edb8fd2dbb6d8f84a5924a730",
    "verified_classes": [
      "CardVersionMismatchError",
      "SecuritySchemeRotationError",
      "AgentCard",
      "TaskRecord"
    ],
    "verified_functions": [
      "resume_task",
      "canonical_hash",
      "skill_version",
      "token_url"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CardVersionMismatchError",
      "SecuritySchemeRotationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
