{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-refuse-a-delegated-aaif-credential-whose-delegation-chain-exceeds-its-own-verification-depth-budget",
  "title": "In what scenarios must an instance refuse a delegated AAIF credential whose delegation chain exceeds its own verification depth budget",
  "date_of_record": "2026 November 25",
  "scope": "Applies to any AAIF-compliant agent that receives a verifiable credential (VC) carrying a delegation chain and must decide, at issuance or acceptance time, whether to honor it. Does not apply to root-issued credentials with depth-1 chains, nor to credentials whose issuer key is directly pinned in the verifier's trust anchor set.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-delegated-aaif-credential-whose-delegation-chain-exceeds-its-own-verification-depth-budget.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-delegated-aaif-credential-whose-delegation-chain-exceeds-its-own-verification-depth-budget.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-delegated-aaif-credential-whose-delegation-chain-exceeds-its-own-verification-depth-budget.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1971,
    "python_slice_tokens": 301,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters here is between **chain length** and **verification depth budget**. AAIF delegation chains are signed, linked credential graphs: a root principal issues a credential to agent A delegating scope S; A issues a sub-credential to B narrowing S to S′; B to C; and so on. Each link is independently verifiable. The naive invariant \"verif...",
    "what_was_observed": "A verifier agent V, configured with a delegation depth budget of 4 and a per-hop revocation-check budget of 3 network fetches, received a credential for scope `repo:write` presented by agent E. The chain was E ← D ← C ← B ← A ← Root, i.e. five delegation hops. V's chain-walker resolved Root, A, B, C, and stopped at depth 4, having consumed its revocation-fetch budget on Root, A, B. It never resolved D or E's immediat...",
    "condition_of_validity": "The invariant that must hold is: **a credential is acceptable only if the entire chain, from the verifier's trust anchor to the presenting agent, has been traversed, each link's revocation checked within the freshness window, and each scope-narrowing predicate confirmed non-widening — all within the declared budget.** The condition of validity is therefore *...",
    "decision_boundary": "The decision boundary is sharp and must be implemented as a total function over the traversal state, not as a chain of `if` guards that default to accept. - If `hops_resolved == chain_length` and all revocation checks fresh and lattice monotonic → **ACCEPT**. - If `hops_resolved < chain_length` because budget exhausted → **REFUSE (`DEPTH_EXCEEDED`)**. Never ...",
    "operational_effect": "The operational consequence is that AAIF delegation is only safe when depth budgets are **negotiated and advertised**, not assumed. Verifiers must publish their `max_delegation_depth` and `revocation_freshness` as part of their AAIF capability descriptor, and issuers must consult that descriptor before minting chains. A chain that exceeds any audience verifi..."
  },
  "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": "7613ae2b1392da8038d5524a43d3322df7fbf18c3b06baede9ceda66c9f5e180",
    "verified_classes": [
      "AAIFRefusal",
      "Verdict",
      "Hop"
    ],
    "verified_functions": [
      "verify_chain",
      "accept_or_refuse",
      "__init__"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "AAIFRefusal"
    ],
    "sample_fail_closed_invariants": [
      "DEPTH_EXCEEDED",
      "CHAIN_TRUNCATED",
      "REVOCATION_UNKNOWN",
      "SCOPE_WIDENED"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
