{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-agent-card-capability-overclaiming-from-silently-escalating-into-cross-vendor-task-misrouting-during-a2a-v1-0-discovery-hands",
  "title": "Which invariants prevent agent-card capability overclaiming from silently escalating into cross-vendor task misrouting during A2A v1.0 discovery handshakes",
  "date_of_record": "2026 December 1",
  "scope": "Applies to A2A v1.0 discovery where a delegating agent selects a remote agent by matching an `AgentCard.skills[]` entry and then dispatches a `tasks/send` without a post-handshake capability probe. Does not cover same-vendor intra-cluster routing or A2A v0.x cards lacking the `skills` array.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-agent-card-capability-overclaiming-from-silently-escalating-into-cross-vendor-task-misrouting-during-a2a-v1-0-discovery-hands.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-agent-card-capability-overclaiming-from-silently-escalating-into-cross-vendor-task-misrouting-during-a2a-v1-0-discovery-hands.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-agent-card-capability-overclaiming-from-silently-escalating-into-cross-vendor-task-misrouting-during-a2a-v1-0-discovery-hands.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1714,
    "python_slice_tokens": 301,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the remote agent is down\" or \"the schema is wrong.\" It is that the **AgentCard is a self-declared advertisement, not a verified contract**, and A2A v1.0 discovery treats a `skills[]` match as sufficient grounds for dispatch. The card is authored by the serving agent's operator, is cached by the delegating side, and carries no binding proo...",
    "what_was_observed": "A delegating orchestrator held a cached card for a vendor's `invoice-reconciliation` skill. The card declared: The orchestrator's matching logic selected this skill because the task description embedded the token \"reconcile\" and the payload was JSON. It dispatched a `tasks/send` with a payload containing `{\"invoices\": [...], \"ledger\": [...]}`. The remote accepted the task (HTTP 200, task state `submitted`), then fail...",
    "condition_of_validity": "The invariant that bounds this class is: **a `skills[]` match authorizes discovery, never dispatch.** Dispatch requires one of two proofs, obtained *after* card fetch and *before* task send: 1. A machine-readable `inputSchema` on the matched skill that validates the outbound payload locally, or 2. A capability-probe round trip (a `tasks/send` of a canary pay...",
    "decision_boundary": "The boundary is between **optimistic dispatch** (match → send → handle async failure) and **probe-gated dispatch** (match → probe → validate → send). Optimistic dispatch is acceptable only when the skill's failure cost is low and recoverable: idempotent reads, cacheable lookups, tasks whose failure leaves no side effect. It is *not* acceptable when the task ...",
    "operational_effect": "Enforcing the invariant changes the failure mode from **deferred async misroute after billing** to **synchronous pre-dispatch rejection**. The delegating agent retains context, the remote never accepts a malformed task, and the cache-drift window is bounded by the card-hash keying rather than by TTL. The cost is one extra round trip per uncached skill (the p..."
  },
  "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": "4f0abbd79993614ac2ea94f5b63a60add0d8705bb6ee97bd3e53be1411088eac",
    "verified_classes": [
      "CapabilityOverclaimError",
      "AgentCard"
    ],
    "verified_functions": [
      "_schema_is_discriminating",
      "authorize_dispatch",
      "card_hash"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityOverclaimError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
