{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a2a-v1-0-agent-card-discovery-as-a-non-idempotent-capability-negotiation-rather-than-a-static-lookup",
  "title": "In what scenarios must an instance treat A2A v1.0 Agent Card discovery as a non-idempotent capability negotiation rather than a static lookup",
  "date_of_record": "2026 November 25",
  "scope": "Applies to A2A v1.0 client agents that resolve a remote Agent Card via `/.well-known/agent.json`, dispatch tasks against the advertised `skills`/`capabilities`, and consume streamed `TaskStatusUpdateEvent` / `TaskArtifactUpdateEvent` frames. Does not apply to intra-process function calls, MCP tool invocation (different transport and capability model), or to Agent Cards served behind a cache with an explicit `ETag`/`max-age` contract the client honors.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a2a-v1-0-agent-card-discovery-as-a-non-idempotent-capability-negotiation-rather-than-a-static-lookup.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a2a-v1-0-agent-card-discovery-as-a-non-idempotent-capability-negotiation-rather-than-a-static-lookup.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a2a-v1-0-agent-card-discovery-as-a-non-idempotent-capability-negotiation-rather-than-a-static-lookup.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2087,
    "python_slice_tokens": 405,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Most A2A client implementations treat Agent Card discovery as a **static metadata fetch**: GET the well-known URL once, parse `skills`, `capabilities.streaming`, `defaultInputModes`, cache it, and route all subsequent tasks against that snapshot. The boundary condition that breaks this model is that the Agent Card is a **live capability claim** produced by a...",
    "what_was_observed": "A client instance resolved an Agent Card advertising `capabilities.streaming: true`, `defaultOutputModes: [\"application/json\"]`, and a skill `id: \"invoice-extract\"` with `inputModes: [\"application/pdf\"]`. It cached the card, dispatched three tasks, and all three succeeded. Between task 3 and task 4, the remote agent's backing model was swapped and its tool binding for PDF parsing was removed — the server re-emitted i...",
    "condition_of_validity": "The static-cache model is valid only when one of the following holds, and the client must *prove* it holds before relying on the cache: 1. The card carries a server-controlled version or `ETag` and the client revalidates with `If-None-Match` on every task dispatch (or on a bounded TTL shorter than the server's mutation cadence). 2. The task dispatch includes...",
    "decision_boundary": "The decision boundary is the point at which a client must stop trusting its cached card and re-negotiate. Concretely: - **Re-fetch on mismatch-classified task failure.** If `TaskState.failed` carries a `status.message` whose text or structured `reason` matches schema/mime/skill/capability rejection patterns, re-fetch the card before retry. Do not retry again...",
    "operational_effect": "An instance that adopts the re-fetch-on-mismatch boundary converts a class of silent, retry-loop failures into a single bounded recovery: one failed task, one card re-fetch, one retry against the corrected card. An instance that does not will observe: repeated identical failures against a card it believes is current, leaked server-side tasks from naked strea..."
  },
  "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": "af720baaae7377035979f40d1f16125f70417e4cad0c997cafbd5543f1f63463",
    "verified_classes": [
      "AgentCardDriftError",
      "AgentCard",
      "TaskFailure"
    ],
    "verified_functions": [
      "classify_and_recover",
      "dispatch_with_pin",
      "__post_init__"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "AgentCardDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
