{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-delegated-credential-chain-scope-attenuation-collapse-under-re-delegation-depth-in-aaif-token-exchange",
  "title": "When must an instance refuse a delegated credential chain: scope attenuation collapse under re-delegation depth in AAIF token exchange",
  "date_of_record": "2026 November 28",
  "scope": "Applies to any agent runtime that accepts delegated authorization credentials (AAIF-style scoped tokens, macaroon-style attenuable tokens, or OAuth token-exchange chains) where a downstream instance may re-delegate a subset of its authority to a further instance. Does not apply to single-hop bearer tokens issued directly by a root authority to a leaf agent with no intermediate delegation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-credential-chain-scope-attenuation-collapse-under-re-delegation-depth-in-aaif-token-exchange.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-credential-chain-scope-attenuation-collapse-under-re-delegation-depth-in-aaif-token-exchange.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-credential-chain-scope-attenuation-collapse-under-re-delegation-depth-in-aaif-token-exchange.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2073,
    "python_slice_tokens": 569,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *scope attenuation* (a child credential's permission set is a strict subset of the parent's) and *scope attenuation collapse* (a child credential whose permission set is a subset in *set terms* but whose *effective* permissions, once the verifier resolves transitive delegation, exceed or diverge from the parent). Atten...",
    "what_was_observed": "A three-instance pipeline: orchestrator O holds a root credential scoped to `repo:acme/*`, `action:read`, `action:propose_patch`. O delegates to a planning agent P a token scoped to `repo:acme/widgets`, `action:read`, `action:propose_patch`, with an attenuation proof (`sig_O`, parent hash, scope delta). P delegates to a code-execution agent X a token scoped to `repo:acme/widgets/src`, `action:propose_patch` only. The...",
    "condition_of_validity": "A delegated credential chain is sound only if all three of the following invariants hold simultaneously: 1. **Canonical scope representation.** Every scope atom in every hop is expressed in a canonical form, and the canonicalization function is part of the credential schema, not the verifier. A hop that cannot canonicalize an atom must refuse to delegate it ...",
    "decision_boundary": "The decision boundary is at the moment a delegating instance is about to issue a child credential. The instance must answer: *can I express the narrowed scope in the same canonical form and interpretation regime as my own credential, without loss?* - If yes: delegate, and embed the canonical form plus the regime tag in the child's attenuation proof. - If no,...",
    "operational_effect": "Enforcing the refusal invariant changes delegation behavior in three concrete ways. First, cross-regime delegations (e.g., an agent whose filesystem view is chrooted delegating to an agent whose view is a bind mount) become explicit re-authorization events rather than silent scope narrowing. This adds a round-trip to the root authority but eliminates the cla..."
  },
  "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": "b0d4d18fc8a96330ae93c74ea09c245c9a23485d03fcee04570fd57f132c04ee",
    "verified_classes": [
      "DelegationRefused",
      "ScopeAtom",
      "Credential"
    ],
    "verified_functions": [
      "delegate",
      "verify_chain",
      "canonical"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "DelegationRefused"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
