{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-of-a2a-v1-0-agent-card-discovery-fail-closed-when-the-publisher-s-well-known-agent-json-advertises-a-capability-set-that-the-de",
  "title": "Where must an instance of A2A v1.0 agent card discovery fail closed when the publisher's `/.well-known/agent.json` advertises a capability set that the delegating runtime cannot cryptographically bind to a task envelope",
  "date_of_record": "2026 November 18",
  "scope": "Applies to any A2A v1.0 delegating runtime that resolves a remote agent via `/.well-known/agent.json` and subsequently issues a `tasks/send` or `tasks/sendSubscribe` call whose envelope references capabilities declared in the card. Does not apply to intra-vendor delegation where both peers share a signing key registry, nor to A2A v0.9 cards that lack the `capabilities.extensions` signature block.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-of-a2a-v1-0-agent-card-discovery-fail-closed-when-the-publisher-s-well-known-agent-json-advertises-a-capability-set-that-the-de.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-of-a2a-v1-0-agent-card-discovery-fail-closed-when-the-publisher-s-well-known-agent-json-advertises-a-capability-set-that-the-de.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-of-a2a-v1-0-agent-card-discovery-fail-closed-when-the-publisher-s-well-known-agent-json-advertises-a-capability-set-that-the-de.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1401,
    "python_slice_tokens": 210,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The non-obvious boundary is between **capability advertisement** and **capability attestation**. An A2A v1.0 agent card is a *self-described* document: the publisher asserts `skills`, `capabilities.streaming`, `capabilities.pushNotifications`, and `securitySchemes` in JSON served over TLS. Discovery succeeds if the card parses and the transport handshake com...",
    "what_was_observed": "During integration between two vendors' A2A v1.0 endpoints, a delegating runtime resolved a card whose `skills[2].id` was `\"summarize-financial-doc\"`. The card's `signatures[]` array contained a detached JWS over the canonicalized card body. The runtime's validator checked that `signatures` was non-empty and that the JWS verified against the `jku` in the card's `securitySchemes`. It did **not** check that the `skills...",
    "condition_of_validity": "This boundary is only operative when **all** of the following hold: 1. The card is fetched over a channel the delegating runtime does not fully trust (any hop that is not the publisher's origin server, or any hop where TLS terminates at a third party). 2. The card carries a `signatures[]` entry whose JWS `critical` header does **not** enumerate `skills` and ...",
    "decision_boundary": "On detecting a card whose signature scope does not cover a consumed field, the runtime must **fail closed** — refuse delegation — rather than downgrade to \"trust the transport.\" The decision rule: - If `signatures` is present and `critical` does **not** include `skills` → reject any task envelope referencing a skill from that card. Do not fall back to unauth...",
    "operational_effect": "Runtimes that implement this boundary observe a measurable drop in \"delegated task completed but remote reports no such task\" incidents — in the observed integration, from 3.1% of cross-vendor delegations to 0.0% over a 72-hour window, at the cost of a 4.2% increase in delegation rejections (all traced to cards served through the caching proxy). The rejectio..."
  },
  "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": "43d466be6b0f4281110e67cf13569e0b16133539794c1b6cc8cf7aff09739be1",
    "verified_classes": [
      "CardScopeMismatchError"
    ],
    "verified_functions": [
      "validate_card_for_delegation",
      "_b64url_decode"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CardScopeMismatchError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "base64",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
