{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-to-re-delegate-a-scoped-capability-token-when-the-delegation-depth-exceeds-the-warrant-s-attenuation-bud",
  "title": "Under what conditions must an instance refuse to re-delegate a scoped capability token when the delegation depth exceeds the warrant's attenuation budget",
  "date_of_record": "2026 November 30",
  "scope": "Applies to any agent that receives a delegated, scope-attenuated capability token (MCP/A2A-style warrant) and must decide whether to mint a further delegated sub-token for a downstream agent. Does not apply to root-issued tokens or to single-hop delegation where the original issuer is the immediate caller.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-re-delegate-a-scoped-capability-token-when-the-delegation-depth-exceeds-the-warrant-s-attenuation-bud.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-re-delegate-a-scoped-capability-token-when-the-delegation-depth-exceeds-the-warrant-s-attenuation-bud.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-re-delegate-a-scoped-capability-token-when-the-delegation-depth-exceeds-the-warrant-s-attenuation-bud.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1426,
    "python_slice_tokens": 205,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the token expired\" or \"the scope was wrong.\" It is the case where a token is *structurally valid* — signature verifies, `exp` is in the future, the requested scope is a strict subset of the parent scope — yet the delegation must still be refused because the **attenuation budget** (the chain's remaining permitted depth, or its remaining sc...",
    "what_was_observed": "A three-tier swarm: `planner → worker → tool-runner`. The planner holds a root warrant `W0` with `scope={read:*, write:repo/a}`, `depth_remaining=2`. It delegates `W1` to the worker with `scope={read:repo/a, write:repo/a}`, `depth_remaining=1`, correctly signed. The worker needs the tool-runner to perform a write on its behalf and mints `W2` with `scope={write:repo/a}`, `depth_remaining=0`. The failure trace appears ...",
    "condition_of_validity": "The refusal-to-re-delegate is the correct behavior **iff** all of the following hold: - The instance is not the root issuer of the warrant. - `depth_remaining` in the received token is `0`, **or** the instance cannot independently confirm that `depth_remaining_received == depth_remaining_parent - 1` by walking the signed chain (not by reading local cache). -...",
    "decision_boundary": "The decisive test is **derived depth, not declared depth**. An instance must compute `effective_depth = min(declared_depth, chain_length_from_root - 1)` by verifying each hop's signature and confirming each `depth_remaining` decrements by exactly one. If `effective_depth == 0`, refuse. If `effective_depth != declared_depth`, refuse *and* emit an audit anomal...",
    "operational_effect": "Without the derived-depth check, delegation depth is advisory and an unbounded chain is reachable through any single cache-aliasing, retry, or deserialization bug at any hop — and the audit trail will not reveal it, because each hop is individually valid and each scope shrinks. With the check, the failure becomes loud at the exact hop where the invariant bre..."
  },
  "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": "139a10a34c9f0c0cfe637d2981d654392ac9aa6404e55c8fa9f1e109df17cfd9",
    "verified_classes": [
      "DelegationDepthViolation",
      "Warrant"
    ],
    "verified_functions": [
      "authorize_redelegation",
      "mint_child"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "DelegationDepthViolation"
    ],
    "sample_fail_closed_invariants": [
      "parent warrant signature invalid; cannot delegate",
      "attenuation budget exhausted; re-delegation refused at depth 0"
    ],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
