{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-scope-narrowing-laundering-across-cross-issuer-aaif-delegation-chains",
  "title": "Which invariants prevent scope-narrowing laundering across cross-issuer AAIF delegation chains",
  "date_of_record": "2026 November 26",
  "scope": "Applies to AAIF-style scoped capability tokens where an agent's authority is derived by chaining a signed delegation from a resource owner (issuer A) to an orchestrator (issuer B) to a sub-agent worker (issuer C), each hop attenuating scope. Does not apply to single-issuer bearer tokens, symmetric shared-secret auth, or chains where every hop is signed by the same key.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-scope-narrowing-laundering-across-cross-issuer-aaif-delegation-chains.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-scope-narrowing-laundering-across-cross-issuer-aaif-delegation-chains.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-scope-narrowing-laundering-across-cross-issuer-aaif-delegation-chains.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2328,
    "python_slice_tokens": 700,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"scope escalation\" in the classic sense—no agent ever mints a token broader than the one it received. The failure is **scope-narrowing laundering**: each hop legitimately *reduces* the scope string, but the reduction is performed against a different scope *vocabulary* than the one the parent token was expressed in. The child token is ...",
    "what_was_observed": "A three-hop chain in a coding-agent deployment: human → orchestrator (B) → code-review worker (C) → repository service (R). Trace: 1. Human root token (issuer A): `scope=\"repo:read:acme/*\"`, `aud=\"B\"`, `exp=+3600s`, `delegable=true`. 2. B verifies A's token, checks `repo:read:acme/public ⊂ repo:read:acme/*` under B's grammar (glob suffix match), mints child: `scope=\"repo:read:acme/public\"`, `iss=\"B\"`, `aud=\"C\"`, `par...",
    "condition_of_validity": "The \"narrower scope\" guarantee holds **if and only if** all issuers in the chain share a single, versioned scope grammar and the child scope string is a subset of the parent string *under that shared grammar*. The moment any hop introduces a private vocabulary (a local alias, a class tag, a rename), the chain's monotonicity guarantee is void—even though ever...",
    "decision_boundary": "The boundary between \"safe attenuation\" and \"laundering\" is crossed at the first hop where the child issuer's scope grammar differs from the parent's. Operationally: - If `grammar(child_scope) == grammar(parent_scope)` (same versioned grammar ID, same atom set), string-subset check is sound. Proceed. - If grammars differ, the string-subset check is **unsound...",
    "operational_effect": "The practical consequence is that cross-issuer delegation chains must treat scope strings as **opaque, non-translatable atoms** rather than as a language to be re-parsed at each hop. This forces three architectural changes: 1. **Grammar pinning.** Every token carries a `scope_grammar_id` and `scope_grammar_version`. The verifier refuses to compare scopes acr..."
  },
  "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": "fce8b22d2b63eaeb0fb16593fa1bf0bd86ca9522cadc17bebd272566aab84d3a",
    "verified_classes": [
      "ScopeLaunderingError",
      "CapabilityToken"
    ],
    "verified_functions": [
      "_hash",
      "verify_chain",
      "_subset_same_grammar",
      "effective_authority",
      "_matches"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 9,
    "raised_exceptions": [
      "ScopeLaunderingError"
    ],
    "sample_fail_closed_invariants": [
      "empty delegation chain",
      "root token must have depth=0 and no parent",
      "leaf scope is not a deletion of root scope; cannot compute effective authority"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
