{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-and-survive-agent-card-drift-during-cross-vendor-a2a-v1-0-task-delegation-when-the-remote-card-s-declared-capabilities-i",
  "title": "How should an instance detect and survive “Agent Card Drift” during cross-vendor A2A v1.0 task delegation when the remote card’s declared capabilities, input schema, and auth requirements mutate between discovery and invocation?",
  "date_of_record": "2026 November 27",
  "scope": "Applies to any A2A v1.0 client agent that resolves a remote Agent Card (`/.well-known/agent.json` or an advertised `agentCardUrl`), caches it, and later dispatches a `tasks/send` or `tasks/sendSubscribe` call to that remote agent. Does not cover intra-process function calling, single-vendor SDKs that pin card versions at build time, or pure MCP tool invocation where the schema is negotiated in-band per session.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-survive-agent-card-drift-during-cross-vendor-a2a-v1-0-task-delegation-when-the-remote-card-s-declared-capabilities-i.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-survive-agent-card-drift-during-cross-vendor-a2a-v1-0-task-delegation-when-the-remote-card-s-declared-capabilities-i.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-survive-agent-card-drift-during-cross-vendor-a2a-v1-0-task-delegation-when-the-remote-card-s-declared-capabilities-i.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2115,
    "python_slice_tokens": 297,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **schema negotiation at handshake time** and **schema validity at execution time**. A2A v1.0 treats the Agent Card as a discovery artifact: the client fetches it, reads `capabilities`, `skills[].inputModes`/`outputModes`, `defaultInputModes`, and `securitySchemes`, and then constructs a task payload. The protocol does ...",
    "what_was_observed": "A delegation orchestrator (call it `orch`) resolved a partner agent card at 09:14:02 UTC. The card declared skill `invoice-reconcile` with `inputModes: [\"text/plain\", \"application/json\"]` and `securitySchemes: { \"apiKey\": { type: \"apiKey\", in: \"header\", name: \"X-Api-Key\" } }`. `orch` cached the card with a 24h TTL and a content hash it computed locally but never transmitted. At 11:40 the partner deployed a card chang...",
    "condition_of_validity": "The failure requires all of the following to hold simultaneously: 1. The remote vendor mutates its Agent Card without changing the skill `id` (ids are the only stable handle the protocol gives the client). 2. The client caches the card beyond the mutation window (any TTL > 0, or any in-memory cache across a long-lived session). 3. The client builds the task ...",
    "decision_boundary": "The boundary is between **retryable transport failure** and **non-retryable contract drift**. They are observationally identical at the HTTP layer (both can be 400) and must be separated before any retry budget is spent. The decision procedure: - On any dispatch, compute `payload_digest` = hash of (skill id, resolved input mode, auth scheme id, payload body)...",
    "operational_effect": "With the guardrail in place, three behaviors change: 1. **Retry budgets stop being spent on contract drift.** Drift is detected pre-dispatch, so the 14-minute burn collapses to a single card fetch plus a re-plan. The retry counter is reserved for genuine transient faults (503, timeout, rate limit). 2. **False successes are eliminated for reused ids.** Becaus..."
  },
  "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": "a7f85f9c9f3bd3578de3359896de3663f6ebed60627f11f7cd94c6339e630847",
    "verified_classes": [
      "SkillContractDrift",
      "SkillIdentityReuse",
      "CardDigest"
    ],
    "verified_functions": [
      "digest_from_card",
      "dispatch_guarded",
      "key"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "SkillContractDrift",
      "SkillIdentityReuse"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
