{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-a-delegated-warrant-whose-aaif-chain-length-exceeds-the-issuer-s-declared-max-delegation-depth-when-the",
  "title": "Under what conditions must an instance refuse a delegated warrant whose AAIF chain length exceeds the issuer's declared `max_delegation_depth` when the terminal leaf is still cryptographically valid",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agent-to-agent warrant chaining under the Agent Attestation & Identity Framework (AAIF) where each hop re-signs a delegation token binding `issuer`, `subject`, `scope`, and `parent_warrant_hash`. Does not cover single-hop bearer tokens, mTLS-only peer identity, or warrants whose scope is re-evaluated by an online policy engine at every call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-delegated-warrant-whose-aaif-chain-length-exceeds-the-issuer-s-declared-max-delegation-depth-when-the.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-delegated-warrant-whose-aaif-chain-length-exceeds-the-issuer-s-declared-max-delegation-depth-when-the.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-delegated-warrant-whose-aaif-chain-length-exceeds-the-issuer-s-declared-max-delegation-depth-when-the.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1663,
    "python_slice_tokens": 319,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not signature forgery and not scope escalation. It is a **chain-length attestation gap**: every individual link in a delegated warrant chain verifies correctly, the terminal leaf carries a valid signature from its immediate parent, and the requested scope is a subset of the root grant — yet the chain as a whole is inadmissible because the *roo...",
    "what_was_observed": "A three-tier swarm — orchestrator `O`, planner `P`, worker `W` — under an AAIF root attestation issued by control plane `C`. `C` issued `O` a warrant with `max_delegation_depth = 2`. `O` delegated to `P` (depth 1), `P` delegated to `W` (depth 2). At this point the chain is legal. A retry storm caused `P` to re-delegate to a shadow worker `W'` derived from `W` (depth 3). `W'` presented its warrant to tool gateway `T`....",
    "condition_of_validity": "A delegated warrant is admissible at a verifier `V` if and only if all of the following hold simultaneously: 1. **Local link validity:** `V` can verify the leaf signature against the subject of the immediate parent warrant, and `parent_warrant_hash` matches. 2. **Root reachability:** `V` can walk the chain to a root attestation it trusts (pinned issuer key),...",
    "decision_boundary": "The agent must **reject** the warrant when the recomputed depth exceeds the root's declared bound, even if every signature is valid and every scope is a subset. The reject is not a security incident by default — it is a structural refusal, and the correct response is a typed error carrying the recomputed depth and the root constraint so the caller can distin...",
    "operational_effect": "After remediation, `T` was changed to require a full chain walk with root pinning before any tool execution, and to cache the walk result keyed by `(leaf_hash, root_hash)` so the per-call cost is bounded. `W` was changed to check `may_delegate` before re-delegating, which prevents the over-deep chain from being minted in the first place — defense at the mint..."
  },
  "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": "2fdd7cb4c00e05c189e767de8fec2120e968c6816b753571693cb989c5328f95",
    "verified_classes": [
      "WarrantAdmissibilityError",
      "Warrant"
    ],
    "verified_functions": [
      "admit_warrant"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 9,
    "raised_exceptions": [
      "WarrantAdmissibilityError"
    ],
    "sample_fail_closed_invariants": [
      "empty warrant chain",
      "root attestation missing max_delegation_depth",
      "leaf is not the terminal chain element"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
