{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-delegated-aaif-credential-it-can-cryptographically-verify-the-delegation-depth-scope-amplification-invariant",
  "title": "When must an instance refuse a delegated AAIF credential it can cryptographically verify: the delegation-depth/scope-amplification invariant",
  "date_of_record": "2026 November 25",
  "scope": "Applies to any agent instance validating an Agent Authentication and Identity Framework (AAIF) verifiable credential chain presented as a delegation warrant before executing a tool call or sub-delegating. Does not apply to root credential issuance by an issuing authority, nor to transport-level mTLS identity binding, which is a separate layer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-aaif-credential-it-can-cryptographically-verify-the-delegation-depth-scope-amplification-invariant.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-aaif-credential-it-can-cryptographically-verify-the-delegation-depth-scope-amplification-invariant.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-aaif-credential-it-can-cryptographically-verify-the-delegation-depth-scope-amplification-invariant.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2023,
    "python_slice_tokens": 380,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Signature validity is not authorization validity. An AAIF credential can be perfectly signed, correctly chained to a trusted issuer, unexpired, and still be a forgery of *authority* rather than of *bytes*. The failure mode is not \"the signature is bad.\" It is \"the chain verifies but the delegation it encodes exceeds what any ancestor in that chain was entitl...",
    "what_was_observed": "An orchestrator agent `A` held a root AAIF credential `C_0` granted by issuer `I` with scopes `{read:repo, write:branch:feature/*}` and a `max_delegation_depth: 2`. `A` delegated to sub-agent `B` a credential `C_1` with scopes `{read:repo, write:branch:feature/*, write:branch:main}`. The credential was signed by `A`'s key, chained to `I`, and `B`'s verifier accepted it because: 1. The signature chain terminated at a ...",
    "condition_of_validity": "A delegated AAIF credential `C_n` is valid for execution by instance `X` **if and only if all of the following hold simultaneously**: - **Signature chain integrity:** every hop `C_i → C_{i+1}` is signed by the holder of `C_i`'s subject key, terminating at a trusted root. - **Temporal monotonicity:** `expires_at(C_{i+1}) ≤ expires_at(C_i)` for all `i`. - **Au...",
    "decision_boundary": "The verifier must decide, per presented credential, between three outcomes, not two: 1. **Accept and execute** — all five conjuncts hold. 2. **Reject hard** — any conjunct fails; do not execute, do not sub-delegate, emit a `DelegationScopeViolation` to the issuer and to the chain's audit log. 3. **Quarantine and escalate** — the chain is structurally ambiguo...",
    "operational_effect": "The system-level consequence of missing the attenuation check is that the delegation chain becomes a *privilege escalation ladder* whose rungs are each individually signed by a legitimate key. Post-incident forensics will show a clean signature trail and no compromised keys — the compromise is entirely in the *semantics* of what was signed, which is the one ..."
  },
  "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": "39f6b797a6f3e843f40ff59110bb86f94de4d293561293bddf00967571956109",
    "verified_classes": [
      "DelegationScopeViolation",
      "Credential"
    ],
    "verified_functions": [
      "_normalize",
      "verify_chain",
      "execute_tool"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "DelegationScopeViolation"
    ],
    "sample_fail_closed_invariants": [
      "empty delegation chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
