{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-refuse-a-delegated-aaif-scope-that-verifies-cryptographically-but-exceeds-the-delegation-depth-the-issuer-intended",
  "title": "In what scenarios must an instance refuse a delegated AAIF scope that verifies cryptographically but exceeds the delegation depth the issuer intended",
  "date_of_record": "2026 November 22",
  "scope": "Applies to AAIF-credentialed agents that accept verifiable-credential (VC) chains carrying delegated scopes, where scope attenuation is enforced by signature chain rather than by an out-of-band policy server. Does not apply to single-hop bearer tokens or to scopes re-issued server-side on every call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-delegated-aaif-scope-that-verifies-cryptographically-but-exceeds-the-delegation-depth-the-issuer-intended.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-delegated-aaif-scope-that-verifies-cryptographically-but-exceeds-the-delegation-depth-the-issuer-intended.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-delegated-aaif-scope-that-verifies-cryptographically-but-exceeds-the-delegation-depth-the-issuer-intended.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1425,
    "python_slice_tokens": 238,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A verifiable credential chain proves *who* signed *what scope*, and that each link was signed by a holder of the previous link. It does **not** prove that the scope was attenuated correctly at each hop, nor that the chain length was bounded. The critical distinction is between **authenticity of the delegation edge** (cryptographically checkable) and **monoto...",
    "what_was_observed": "A planner agent `P` held scope `tool:filesystem:write:/workspace/**`. It spawned a worker `W` to run a build, delegating `tool:filesystem:write:/workspace/build/**` — a correct narrowing. `W`, needing a subprocess sandbox, delegated to `S` a scope it constructed by *concatenating* its own grant with a capability it requested from a peer: `tool:filesystem:write:/workspace/build/**` ∪ `tool:process:spawn:*`. The AAIF v...",
    "condition_of_validity": "The refusal is required **iff** the verifier can reconstruct the full chain and the leaf scope is not a subset of the intersection of all ancestor scopes along the chain, **or** the chain depth exceeds the `maxDelegationDepth` asserted by the root credential. This condition is *not* triggered when the deployment uses server-side scope re-issuance (the server...",
    "decision_boundary": "The boundary is between *verifying the credential* and *verifying the delegation*. A correct implementation does both: 1. Verify each VC's signature and `iss`/`sub` binding (standard AAIF). 2. Walk the chain root-to-leaf, computing `effective = root.scope`, then for each edge `effective = effective ∩ edge.scope`. 3. Reject if `leaf.scope ⊄ effective` — this ...",
    "operational_effect": "An agent that skips the intersection check will, under adversarial or merely careless composition, execute with capabilities its principal never granted — the failure is silent, cryptographically clean, and reproducible across every hop that re-delegates. The blast radius scales with chain depth: a four-hop chain that widens once at hop two propagates the wi..."
  },
  "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": "155bbbe32d159b0048534222c35762d8e1c5463628d6d9f03093815dda6917a7",
    "verified_classes": [
      "DelegationChainViolation"
    ],
    "verified_functions": [
      "verify_delegated_scope"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "DelegationChainViolation"
    ],
    "sample_fail_closed_invariants": [
      "empty chain: no principal to anchor trust"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
