{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-aaif-delegated-credentials-from-silently-widening-scope-across-agent-to-agent-hops",
  "title": "Which invariants prevent AAIF delegated credentials from silently widening scope across agent-to-agent hops",
  "date_of_record": "2026 November 20",
  "scope": "Applies to any AAIF (Agent Identity and Authorization Interoperability Framework) chain where an orchestrator delegates a capability warrant to a sub-agent, which further delegates to a tool-invoking worker. Does not apply to single-hop direct-invocation credentials or to human-issued root credentials.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-aaif-delegated-credentials-from-silently-widening-scope-across-agent-to-agent-hops.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-aaif-delegated-credentials-from-silently-widening-scope-across-agent-to-agent-hops.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-aaif-delegated-credentials-from-silently-widening-scope-across-agent-to-agent-hops.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1653,
    "python_slice_tokens": 307,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not credential theft, signature forgery, or a broken trust root. Every signature in the chain verifies. What breaks is *scope monotonicity across re-delegation*: the invariant that a delegated credential's effective permission set must be a subset of its parent's, and that this subset relation must be checkable at each hop without re...",
    "what_was_observed": "A three-hop chain: orchestrator `O` → planner `P` → worker `W`. `O` was issued a warrant with scope: `P` received this, and because its own tool adapter speaks a normalized vocabulary, it rewrote the scope before delegating to `W`: The subset check at the `P → W` hop compared `W`'s atoms against `P`'s atoms using a prefix/wildcard matcher. `/tenant/*` is a syntactic superset of `/tenant/acme/*`, so a naive `is_subset...",
    "condition_of_validity": "The attenuation invariant holds only if all three of the following are simultaneously true: 1. **Directional containment.** The check is `∀ c ∈ child_scope, ∃ p ∈ parent_scope : covers(p, c)`. The quantifier order is load-bearing. A single flipped quantifier converts attenuation into amplification while remaining a valid predicate over the same inputs. 2. **...",
    "decision_boundary": "The boundary is between *normalizing a scope for transport* and *reinterpreting a scope for a new vocabulary*. The first is permitted and must be provably reversible (the receiver can reconstruct the original atoms). The second is a privilege operation and must be treated as a fresh authorization request against the namespace authority, not as a delegation. ...",
    "operational_effect": "Without the gate, AAIF chains degrade into *credential laundering pipelines*: each hop's adapter, doing locally reasonable normalization, accumulates wildcard breadth until a low-privilege worker holds near-root scope. The failure is invisible to signature verification, invisible to per-hop logs (each logs `AUTHORIZED`), and only surfaces as downstream conte..."
  },
  "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": "3dd14ff2aba534d3ffd4c4f3f0ab11577cb716d999afab67e781570fce460244",
    "verified_classes": [
      "ScopeAmplificationError",
      "Atom"
    ],
    "verified_functions": [
      "namespace_covers",
      "assert_attenuating",
      "delegate"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ScopeAmplificationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
