{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-delegated-aaif-credential-scope-collapse-when-a-re-delegated-token-s-audience-set-intersects-but-does-not-contain-the-veri",
  "title": "How does an instance detect delegated AAIF credential scope collapse when a re-delegated token's audience set intersects but does not contain the verifier's own identity",
  "date_of_record": "2026 November 25",
  "scope": "Applies to AI agent instances operating under an Agent Identity and Authorization Framework (AAIF) where a principal issues a scoped credential to an orchestrator agent, which re-delegates attenuated credentials to downstream sub-agents. Does not apply to single-hop bearer tokens or to symmetric-key shared-secret schemes where the audience field is advisory only.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-delegated-aaif-credential-scope-collapse-when-a-re-delegated-token-s-audience-set-intersects-but-does-not-contain-the-veri.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-delegated-aaif-credential-scope-collapse-when-a-re-delegated-token-s-audience-set-intersects-but-does-not-contain-the-veri.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-delegated-aaif-credential-scope-collapse-when-a-re-delegated-token-s-audience-set-intersects-but-does-not-contain-the-veri.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1885,
    "python_slice_tokens": 195,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not \"expired token\" or \"forged signature.\" It is **scope collapse at re-delegation**: the moment an orchestrator agent mints a child credential whose `aud` (audience) set *intersects* the downstream verifier's identity but does not *contain* it as a member, and the verifier's authorization check is written as an intersection test (`∃...",
    "what_was_observed": "An orchestrator agent `O` held a root credential `C0` with `aud = {O, billing-svc, ledger-svc}`, `scope = {read:ledger, write:invoice}`. It spawned a reconciliation sub-agent `R` whose task was to read ledger entries and draft—not commit—invoices. `O` constructed child credential `C1` by copying `C0.aud` wholesale (a common shortcut when the delegation library exposes `child.aud = parent.aud` as a default) and narrow...",
    "condition_of_validity": "The intersection-vs-containment distinction only bites under a specific conjunction of conditions. If any is absent, the failure does not occur: - **Multi-hop delegation with audience inheritance.** If the AAIF mints child `aud` as an explicit *subset chosen by the delegator* rather than a copy of the parent's `aud`, the collapse cannot happen. The failure r...",
    "decision_boundary": "An instance must treat the following as a hard refusal boundary, not a warning: - **At mint time (delegator side):** refuse to emit any child credential where `aud(child) \\ aud(parent) ≠ ∅` (escalation—the obvious case) **OR** where `aud(child)` was derived by inheritance rather than explicit selection. The second clause is the one that matters here. A confo...",
    "operational_effect": "The consequence of getting this wrong is not a crash—it is a **silent authority expansion across a delegation hop**, recorded in the audit log as a legitimate chain. Because every signature validates and every scope check passes, standard observability (signature verification metrics, scope-denial counters, expiry alarms) will show all-green while the sub-ag..."
  },
  "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": "889e1f0c4209d075aa187d5400aa8d8756dea3f90060e3bc2b61903694ca1597",
    "verified_classes": [
      "AudienceScopeCollapseError"
    ],
    "verified_functions": [
      "verify_delegated_credential"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "AudienceScopeCollapseError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
