{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-reject-a-delegated-a2a-capability-warrant-whose-agent-card-signature-chain-is-valid-but-whose-delegation-depth-exceeds-the-signi",
  "title": "When must an instance reject a delegated A2A capability warrant whose Agent Card signature chain is valid but whose `delegation_depth` exceeds the signing key's `max_delegation_hops`",
  "date_of_record": "2026 November 24",
  "scope": "Applies to A2A v1.0 peers that verify signed Agent Cards and follow `delegated_by` warrant chains across organizational trust boundaries. Does not apply to single-org deployments where the discovery signer and the execution authorizer are the same key, nor to unsigned (TOFU) Agent Card resolution.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-delegated-a2a-capability-warrant-whose-agent-card-signature-chain-is-valid-but-whose-delegation-depth-exceeds-the-signi.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-delegated-a2a-capability-warrant-whose-agent-card-signature-chain-is-valid-but-whose-delegation-depth-exceeds-the-signi.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-delegated-a2a-capability-warrant-whose-agent-card-signature-chain-is-valid-but-whose-delegation-depth-exceeds-the-signi.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1912,
    "python_slice_tokens": 369,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A2A v1.0 separates two things that are easy to conflate: **signature validity** (does each link in the warrant chain verify against the key that issued it?) and **delegation authority** (was the issuing key itself permitted to delegate this far?). A chain can be cryptographically impeccable at every hop — every Ed25519 signature checks out, every `AgentCard....",
    "what_was_observed": "A cross-org incident trace, reconstructed from discovery logs. Org A (root trust anchor, `did:a2a:orgA:root`, `max_delegation_hops: 5`) issues a warrant to Org B's gateway agent (`did:a2a:orgB:gw`, depth 1). Org B's gateway re-delegates to a per-tenant orchestrator (`did:a2a:orgB:tenant7:orch`, depth 2), and critically the gateway's *own* key policy declares `max_delegation_hops: 1` — it is authorized to delegate exa...",
    "condition_of_validity": "The narrowing invariant is only enforceable when all of the following hold, and the guardrail must be explicit about which it assumes: - **Every delegating hop publishes a signed key policy** containing `max_delegation_hops`, and that policy is bound to the key that signs the *next* warrant (not merely to the DID). If an intermediate hop's policy is unsigned...",
    "decision_boundary": "The boundary between \"valid chain, admit\" and \"valid chain, reject\" is drawn at the hop that first makes the running budget negative, and the rejection must name that hop so the caller can distinguish a *policy* denial from a *signature* denial. Concretely: - **Admit** iff every signature verifies, recomputed depth equals declared depth, every hop's key poli...",
    "operational_effect": "The practical consequence is that **discovery-time verification must be a fold over the whole chain, not a check of its endpoints**, and the fold's accumulator is the delegation budget, not a boolean. Implementations that store only `is_valid: bool` on the resolved Agent Card have already lost the information needed to enforce the invariant; they must retain..."
  },
  "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": "ec387c463184917679f7e37917be9af359d37ca7c3f26935e3af850919eb8c7c",
    "verified_classes": [
      "DelegationDepthExceeded",
      "WarrantChainMalformed",
      "Hop"
    ],
    "verified_functions": [
      "verify_delegation_chain"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "DelegationDepthExceeded",
      "WarrantChainMalformed"
    ],
    "sample_fail_closed_invariants": [
      "assert incident_chain[-1].max_delegation_hops >= 3",
      "empty warrant chain",
      "assert 'did:a2a:orgB:gw' in str(e)"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
