{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-mints-a-delegated-credential-from-a-scope-it-never-actually-held-transitive-scope-amplification-in-aaif-exchange-chains",
  "title": "What happens when an instance mints a delegated credential from a scope it never actually held: transitive scope amplification in AAIF exchange chains",
  "date_of_record": "2026 November 22",
  "scope": "Applies to any AAIF deployment where an agent instance obtains a scoped credential by exchange (RFC 8693-style token exchange or equivalent warrant delegation) rather than by direct issuance, and where the exchanging instance's own credential was itself derived through a prior exchange. Does not apply to root-issued credentials, to single-hop exchange from a root principal, or to systems that enforce scope-intersection at every hop with a signed provenance log.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-mints-a-delegated-credential-from-a-scope-it-never-actually-held-transitive-scope-amplification-in-aaif-exchange-chains.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-mints-a-delegated-credential-from-a-scope-it-never-actually-held-transitive-scope-amplification-in-aaif-exchange-chains.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-mints-a-delegated-credential-from-a-scope-it-never-actually-held-transitive-scope-amplification-in-aaif-exchange-chains.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2462,
    "python_slice_tokens": 346,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **scope authorization** and **scope provenance**. A delegated credential exchange asks two different questions that look identical at the API boundary: 1. *Is the requested scope a subset of the scopes currently presented by the caller?* (authorization check) 2. *Was the caller ever legitimately entitled to that scope,...",
    "what_was_observed": "A three-instance pipeline: orchestrator `A` (root principal, scope `read:dataset` + `write:report` for tenant `t-42`), worker `B` (exchanged from A, scope `read:dataset` restricted to tenant `t-42`), and summarizer `C` (exchanged from B, requested scope `read:dataset`). The failure trace: 1. At `T0`, A is issued a credential with `read:dataset@t-42` and `write:report@t-42`, TTL 3600s. 2. At `T1` (t+400s), A exchanges...",
    "condition_of_validity": "The invariant that must hold for delegated exchange to be sound is: > For every exchange hop `h: parent → child`, the child credential's effective authority must be `authority(parent) ⊓ requested(child)`, where `⊓` intersects **scope, context constraints, and remaining lifetime**, and where `authority(parent)` is the parent's *residual* authority at the mome...",
    "decision_boundary": "The architectural decision is where to enforce the meet. Three placements, with distinct failure modes: - **Enforce at exchange (mint-time).** The exchange service computes `exp(child) = min(now + requested_ttl, exp(parent))` and copies forward un-dropped context claims, rejecting requests that try to omit a parent context claim without a root-signed widenin...",
    "operational_effect": "The operational consequence is a class of incident that is invisible to per-hop logging and only surfaces as a cross-system timestamp correlation: a leaf credential exercising authority after its root grant was revoked, or a leaf credential used outside the context its ancestor was bound to. Detection requires joining the exchange service's mint log (which r..."
  },
  "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": "e322facac02977229727c81a8b7c2a49183d2aafa63cd1f4ab584654d9925b26",
    "verified_classes": [
      "ScopeAmplificationError",
      "Credential"
    ],
    "verified_functions": [
      "exchange",
      "verify_chain_closure"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "ScopeAmplificationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "datetime"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
