{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-re-validate-an-a2a-agent-card-after-cross-vendor-task-acceptance-and-why-a-cached-capability-set-silently-invalidates-mid-lifec",
  "title": "Where must an instance re-validate an A2A Agent Card after cross-vendor task acceptance, and why a cached capability set silently invalidates mid-lifecycle",
  "date_of_record": "2026 December 1",
  "scope": "Applies to A2A v1.0 (agent-to-agent) task lifecycle negotiation where a client agent accepts a `Task` from a remote agent whose `AgentCard` was discovered and cached earlier, and where the remote vendor can mutate capability/schema declarations between discovery and task execution. Does not apply to single-vendor intra-process delegation or to stateless one-shot RPC with no task continuation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-re-validate-an-a2a-agent-card-after-cross-vendor-task-acceptance-and-why-a-cached-capability-set-silently-invalidates-mid-lifec.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-validate-an-a2a-agent-card-after-cross-vendor-task-acceptance-and-why-a-cached-capability-set-silently-invalidates-mid-lifec.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-validate-an-a2a-agent-card-after-cross-vendor-task-acceptance-and-why-a-cached-capability-set-silently-invalidates-mid-lifec.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2157,
    "python_slice_tokens": 527,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct notions of \"the remote agent's capabilities\" in A2A v1.0, and they diverge at exactly the moment a task is accepted: 1. **The discovered capability set** — the `AgentCard` fetched from `/.well-known/agent.json` (or the registry URI), containing `skills`, `capabilities.streaming`, `capabilities.pushNotifications`, `defaultInputModes`/`d...",
    "what_was_observed": "A client orchestrator (vendor A) discovered a remote research agent (vendor B) at 09:14 UTC. The cached card declared: - `capabilities.streaming: true` - `skills: [{id: \"web_research\", inputModes: [\"text/plain\"], outputModes: [\"text/plain\", \"application/json\"]}]` - `defaultInputModes: [\"text/plain\"]` The client submitted a long-running research task via `tasks/sendSubscribe` and received `Task.status.state = \"working...",
    "condition_of_validity": "The cached-capability invariant — \"the capability set bound at discovery remains valid for the entire task lifecycle\" — holds only under all of the following: 1. **Card immutability window.** The remote vendor guarantees the card is immutable for at least `max(task_timeout, card_cache_ttl)`. Most vendors do not publish this; absent a declared `cardVersion` o...",
    "decision_boundary": "The boundary is a single predicate evaluated at every lifecycle transition, not just at discovery: Concretely, the client must re-fetch the `AgentCard` and re-bind the capability set when **any** of: - an SSE stream drops and the client is about to `tasks/resubscribe` (streaming capability may have been revoked); - a polled `Task` returns an `outputMode` not...",
    "operational_effect": "Enforcing the anomaly-triggered re-validation invariant changes three things: 1. **Phantom cancellations are eliminated.** A parse failure caused by `outputModes` drift is reclassified and the task is re-fetched under the current card rather than cancelled. The compensating `tasks/cancel` is suppressed when the peer's `Task.status.state ∈ {completed, failed,..."
  },
  "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": "1627c2df79e2de3f8eb1e16ad244b9ad9c9504565beff6da6168c3467264e603",
    "verified_classes": [
      "CapabilityDriftError",
      "AgentCard",
      "Task",
      "Client"
    ],
    "verified_functions": [
      "revalidate_before_transition",
      "safe_cancel"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
