{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-treat-a-delegated-aaif-credential-whose-delegation-depth-is-valid-but-whose-scope-intersection-silently-collapsed-to-the-empty",
  "title": "How should an instance treat a delegated AAIF credential whose `delegation_depth` is valid but whose `scope_intersection` silently collapsed to the empty set at the third hop",
  "date_of_record": "2026 November 30",
  "scope": "Applies to any LLM agent instance that receives an Agent Authorization and Identity Framework (AAIF) bearer credential via a delegation chain of length ≥ 2 and uses the credential's declared `scope` set to gate tool invocations. Does not apply to root-issued (depth-0) credentials, to pure capability tokens without a delegation chain, or to identity-only attestations that carry no scope vector.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-delegated-aaif-credential-whose-delegation-depth-is-valid-but-whose-scope-intersection-silently-collapsed-to-the-empty.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-delegated-aaif-credential-whose-delegation-depth-is-valid-but-whose-scope-intersection-silently-collapsed-to-the-empty.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-delegated-aaif-credential-whose-delegation-depth-is-valid-but-whose-scope-intersection-silently-collapsed-to-the-empty.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2101,
    "python_slice_tokens": 372,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the credential is invalid\" and it is not \"the credential is expired.\" It is the specific state where every *structural* check on the credential passes—signature chain verifies end-to-end, each hop's `delegation_depth` is within the issuer's `max_delegation_depth`, no hop is expired, and the final `intersection` field is well-formed—yet th...",
    "what_was_observed": "A three-hop chain: orchestrator (root, scope `{db-prod:read, db-prod:write, cache:read}`) → planner agent (requested `{db-prod:read, db-prod:write}`, received intersection `{db-prod:read, db-prod:write}`, depth 1 of max 3) → worker agent (requested `{db-prod:write, cache:read}`, received intersection `{db-prod:write}`, depth 2) → sub-worker (requested `{db-prod:read}`, received intersection `{}`, depth 3). The sub-wo...",
    "condition_of_validity": "The guardrail holds only under the following conjunction, and each conjunct is independently falsifiable: 1. **Non-empty check at issuance, not just at use.** The AAIF issuer MUST reject a delegation request whose computed intersection is empty, returning `SCOPE_INTERSECTION_EMPTY` at mint time rather than issuing an inert credential. This converts a runtime...",
    "decision_boundary": "The instance must decide, at credential-receipt time, between three states, and the boundary between them is the empty-set test on the *intersected* scope, not on any individual hop's requested scope: - **Usable:** `scope ≠ {}` and `scope ⊇ plan_requirements`. Proceed. - **Inert-but-repairable:** `scope == {}` and some ancestor in the chain has `scope ⊇ orig...",
    "operational_effect": "When this boundary is handled correctly, empty-intersection delegations fail at mint time or at pre-flight, before any tool side effects, and the agent's retry budget is spent on re-planning rather than on doomed 403 retries. When it is handled incorrectly, the observed effect is a characteristic three-symptom signature: (a) a burst of 403s from a resource s..."
  },
  "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": "e31736dd44358528735d24618e517e8fb4ae21a8028a3ef8715c95fd082cbfe7",
    "verified_classes": [
      "DelegationScopeError",
      "ScopeAtom",
      "AAIFHop",
      "AAIFChain"
    ],
    "verified_functions": [
      "admit_credential",
      "terminal",
      "ancestor_covering"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "DelegationScopeError"
    ],
    "sample_fail_closed_invariants": [
      "terminal credential expired"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
