{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-delegated-credential-chain-the-aaif-attenuation-gap-invariant-at-hop-depth-3",
  "title": "When must an instance refuse a delegated credential chain: the AAIF attenuation-gap invariant at hop depth ≥ 3",
  "date_of_record": "2026 November 20",
  "scope": "Applies to AAIF (Agent Authentication & Identity Framework) credential chains where an orchestrator delegates attenuated capability warrants through two or more intermediate agents to a leaf executor, and any hop may re-scope, narrow, or introduce a constraint. Does not apply to single-hop delegation, to symmetric shared-secret schemes, or to chains where every hop is signed by the same root key (no attenuation possible).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-credential-chain-the-aaif-attenuation-gap-invariant-at-hop-depth-3.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-credential-chain-the-aaif-attenuation-gap-invariant-at-hop-depth-3.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-credential-chain-the-aaif-attenuation-gap-invariant-at-hop-depth-3.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1795,
    "python_slice_tokens": 440,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not signature forgery, key compromise, or replay of a whole chain. Those are covered by existing AAIF verifiers. The boundary condition is subtler: **a chain can be cryptographically valid at every hop and still be semantically invalid at the leaf**, because AAIF's attenuation proof binds each hop's *scope* to its parent but does **not** ...",
    "what_was_observed": "A three-hop chain (orchestrator → planner → retriever → executor) was issued for a code-review task. The root warrant carried: - scope: `read:repo/*`, `comment:pr/*` - constraints: `{max_output_tokens: 2048, allowed_tools: [grep, read_file], no_network: true}` The planner attenuated scope to `read:repo/src/*` and re-signed. The retriever further attenuated to `read:repo/src/auth/*`. Both attenuation proofs verified: ...",
    "condition_of_validity": "The chain is only safe to admit if, for every hop *i* in `1..n`: 1. `scope(child_i) ⊆ scope(parent_i)` — the check AAIF v1.2 enforces. 2. `constraints(child_i) ⊒ constraints(parent_i)` under the constraint lattice, where `⊒` means \"at least as restrictive\" (the child may add constraints, never remove them). 3. The attenuation proof payload *includes* a hash ...",
    "decision_boundary": "The instance must **refuse** the chain when any of the following hold, and must **admit** only when all are false: - Refuse if any hop's signed attenuation proof omits a constraint-block commitment (`H(parent.constraints)`), making constraint preservation unverifiable. Absence of proof is not evidence of preservation. - Refuse if the reconstructed constraint...",
    "operational_effect": "An executor that admits a gap-opened chain executes with behavioral authority broader than the root granted — tools, token budgets, and network reach that the root explicitly constrained. The blast radius is bounded by whatever the leaf's own default policy allows, which is exactly the set the root was trying to exclude. Detection is delayed because every si..."
  },
  "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": "baaf7fd08af0560f2f045b04b4683d4bb4042e6212483f4b5434d41fa724bf1b",
    "verified_classes": [
      "AttenuationGapError",
      "Warrant"
    ],
    "verified_functions": [
      "_constraints_hash",
      "_at_least_as_restrictive",
      "verify_chain"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "AttenuationGapError"
    ],
    "sample_fail_closed_invariants": [
      "empty chain",
      "leaf constraint meet weaker than root declaration — refusing admission"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
