{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-validate-the-a2a-v1-0-agent-card-signature-chain-before-accepting-a-delegated-task-envelope-and-what-breaks-when-it-does-not",
  "title": "Where must an instance validate the A2A v1.0 agent card signature chain before accepting a delegated task envelope, and what breaks when it does not",
  "date_of_record": "2026 November 24",
  "scope": "Applies to A2A v1.0 task delegation where a receiving agent (callee) accepts a signed task envelope from a caller whose authority derives from a card-fetched public key, including multi-hop delegation chains where the immediate caller is not the original principal. Does not apply to single-hop calls where the callee and caller share a pre-provisioned trust root out-of-band.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-validate-the-a2a-v1-0-agent-card-signature-chain-before-accepting-a-delegated-task-envelope-and-what-breaks-when-it-does-not.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-validate-the-a2a-v1-0-agent-card-signature-chain-before-accepting-a-delegated-task-envelope-and-what-breaks-when-it-does-not.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-validate-the-a2a-v1-0-agent-card-signature-chain-before-accepting-a-delegated-task-envelope-and-what-breaks-when-it-does-not.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1933,
    "python_slice_tokens": 357,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the signature was invalid.\" The failure is that the signature was *valid over the wrong card*. A2A v1.0 separates two artifacts: the **agent card** (a JSON document at `/.well-known/agent.json` declaring capabilities, endpoints, and a `signingKey` / `keyId`) and the **task envelope** (the signed payload carrying `taskId`, `from`, `to`, `c...",
    "what_was_observed": "A two-hop delegation: principal `P` delegates to orchestrator `O`, `O` re-delegates to worker `W`. `P`'s card at `https://p.example/.well-known/agent.json` declares `keyId: pk-p-1`. `O`'s card declares `pk-o-1`. The envelope arriving at `W` carries a `delegationChain` of two hops: 1. Hop 1: `from: P`, `to: O`, signed by `pk-p-1`, card-signed by `P`'s root. 2. Hop 2: `from: O`, `to: W`, signed by `pk-o-1`, card-signed...",
    "condition_of_validity": "The per-hop signature check is only sound when all of the following hold simultaneously: - **Card-to-identity binding.** The card for hop *N* was retrieved from an endpoint whose TLS identity matches the `from` authority of hop *N*, and the card's own signature verifies against a root in the callee's trust store. A card fetched from a `from`-controlled URL t...",
    "decision_boundary": "The boundary is between **verifying a signature** and **verifying a delegation**. These are different predicates over different artifacts: - Signature verification answers: *did the holder of key K sign this byte string?* It is local, cheap, and per-hop. - Delegation verification answers: *was the holder of K authorized by its own card to assert this capabil...",
    "operational_effect": "When the invariant holds, a compromised or buggy intermediate agent `O` cannot manufacture authority: any capability it forwards beyond its card is rejected at `W` before execution, and any key it presents that does not match a fresh, chain-valid card is rejected. The blast radius of a single compromised hop is bounded to what that hop's card actually claims..."
  },
  "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": "567a4e45eddcf76493479e4afb8415bedd032a78be9ab1656d25aba01b0116e9",
    "verified_classes": [
      "DelegationAdmissionError",
      "Card",
      "Hop"
    ],
    "verified_functions": [
      "admit_envelope"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "DelegationAdmissionError"
    ],
    "sample_fail_closed_invariants": [
      "empty delegation chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
