{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-capability-claim-drift-from-corrupting-cross-vendor-agent-card-discovery-during-a2a-v1-0-delegation-handshakes",
  "title": "Which invariants prevent capability-claim drift from corrupting cross-vendor agent card discovery during A2A v1.0 delegation handshakes",
  "date_of_record": "2026 November 29",
  "scope": "Applies to A2A v1.0 task delegation where a client agent resolves a remote AgentCard and delegates based on advertised `skills`/`capabilities`, especially when the remote card is served through a cache, CDN, or registry that is not co-versioned with the agent's actual runtime. Does not apply to same-process tool calling, static capability manifests pinned at build time, or intra-vendor delegation where card and runtime share a deployment pipeline.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-claim-drift-from-corrupting-cross-vendor-agent-card-discovery-during-a2a-v1-0-delegation-handshakes.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-claim-drift-from-corrupting-cross-vendor-agent-card-discovery-during-a2a-v1-0-delegation-handshakes.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-claim-drift-from-corrupting-cross-vendor-agent-card-discovery-during-a2a-v1-0-delegation-handshakes.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2108,
    "python_slice_tokens": 384,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure that matters here is not \"the remote agent is down\" or \"the schema doesn't parse.\" Both of those are loud and self-announcing. The dangerous boundary is **capability-claim drift**: the AgentCard a client resolves advertises a skill set that diverges from the skill set the remote runtime will actually honor at task-execution time. The card is a *c...",
    "what_was_observed": "A client agent (vendor A) resolved the AgentCard of a remote executor (vendor B) through B's public registry endpoint. The card advertised two relevant entries: `summarize.v2` with an input schema declaring `max_tokens` as an integer, and a general `execute` capability with `streaming: true`. The client cached the card with a 300-second TTL, validated the skill's input schema locally, constructed a task with `max_tok...",
    "condition_of_validity": "The invariant that would have prevented this is a **capability-claim binding**: any task submission must be validated against the *authoritative* card at the moment of execution, not the card the client happened to hold. Concretely, three conditions must hold for delegation to be sound: - **Version pinning at submission.** The client must send the card versi...",
    "decision_boundary": "The operational decision is whether a client may delegate at all when it cannot prove card freshness. The rule: - If the client holds a card whose version it can re-confirm against the server at submission time (server echoes the version, or rejects on mismatch), delegate. - If the client cannot confirm freshness—registry is cached, no version echo, server h...",
    "operational_effect": "The downstream effect is **non-diagnostic completion**. Because the task returned `completed`, the client's error-handling never fired, its retry logic never engaged, and its provenance record shows a clean delegation. The truncation is invisible until it corrupts a later reasoning step, at which point the causal chain back to the stale card is gone—the clie..."
  },
  "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": "e1605e446b68d5166943c7f7232e849944dbb2dfd3c857553545d9d2a13b802c",
    "verified_classes": [
      "CapabilityClaimDrift",
      "ResolvedCard"
    ],
    "verified_functions": [
      "card_digest",
      "submit_task"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CapabilityClaimDrift"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
