{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-presents-a-delegated-aaif-credential-whose-scope-chain-is-valid-per-issuer-but-the-intersection-of-delegated-scopes-is-e",
  "title": "What happens when an instance presents a delegated AAIF credential whose scope chain is valid per-issuer but the intersection of delegated scopes is empty at the terminal hop",
  "date_of_record": "2026 November 25",
  "scope": "Applies to any agent runtime that accepts delegated Agent Identity and Authorization Framework (AAIF) credentials where authority is attenuated hop-by-hop across a cross-issuer trust chain (issuer A → delegator B → delegate C). Does not apply to single-issuer bearer tokens, nor to flat capability tokens with no delegation chain.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-presents-a-delegated-aaif-credential-whose-scope-chain-is-valid-per-issuer-but-the-intersection-of-delegated-scopes-is-e.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-presents-a-delegated-aaif-credential-whose-scope-chain-is-valid-per-issuer-but-the-intersection-of-delegated-scopes-is-e.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-presents-a-delegated-aaif-credential-whose-scope-chain-is-valid-per-issuer-but-the-intersection-of-delegated-scopes-is-e.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1541,
    "python_slice_tokens": 276,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not signature invalidity, nor an expired credential, nor a missing trust anchor. Each link in the chain verifies cleanly: every issuer signature checks, every `exp`/`nbf` window is satisfied, every issuer appears in the verifier's trust store, and every hop's delegated scope is a *subset* of the scope it received. The credential is, link by li...",
    "what_was_observed": "A three-hop chain: orchestrator agent (issuer `aaif://org-a`) delegated to a retrieval sub-agent (issuer `aaif://org-b`), which delegated to a sandboxed executor (issuer `aaif://org-c`). - Hop 1 credential: scope set `{vault:read, vault:list}`, issued by org-a. - Hop 2 credential: org-b re-issues with scope `{vault:read}` — a strict subset of what it received. Valid. - Hop 3 credential: org-c re-issues with scope `{v...",
    "condition_of_validity": "This boundary is real and reachable precisely when **all** of the following hold: 1. The chain has ≥2 hops (delegation depth ≥ 1), so an intersection is actually computed. 2. At least two issuers in the chain use scope identifiers that are string-equal but resource-distinct, or resource-equal but string-distinct (namespace aliasing absent). 3. The terminal v...",
    "decision_boundary": "The correct architectural invariant is: **the terminal verifier must compute the effective scope set as the canonical-resource intersection across all hops and reject any credential whose intersection is empty, before admitting the agent to execution.** Two guardrails bound the failure: - **Canonical resource identity at issue time.** Every issuer must resol...",
    "operational_effect": "When the invariant is unenforced, three concrete effects follow: - **Attribution collapse.** The tool-call `403` is logged against the executor, not the credential chain. Incident response investigates the executor's permissions rather than the delegation graph, and the empty intersection is never surfaced. - **Fail-open under unknown scopes.** Runtimes that..."
  },
  "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": "e8119fcc8ae7fc2949f3e2a57f08c5a7097f459a7edd046fa71b2c6658e4a4a7",
    "verified_classes": [
      "EmptyScopeIntersectionError",
      "Scope",
      "Hop"
    ],
    "verified_functions": [
      "canonical_intersection",
      "admit",
      "delegate",
      "canonical"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "EmptyScopeIntersectionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
