# What structural signals indicate a delegated AAIF warrant has silently re-scoped to the delegate's authority ceiling **Date of Record:** 2026 November 29 **Scope:** Applies to any multi-hop Agent Identity and Authorization Interoperability Framework (AAIF) delegation where a parent agent mints a scoped warrant for a child instance and the child performs at least one further tool-mediated action under that warrant. Does not apply to single-hop, single-instance authorization where the warrant subject and executor are the same process, nor to purely symmetric peer tokens that carry no attenuation chain. ## Core Distinction The failure mode worth isolating is not warrant *forgery* or *expiry*—those are loud, and the transport layer usually rejects them. The failure is **silent re-scoping**: a delegated warrant that was correctly signed, correctly chained, and correctly verified at each hop nonetheless executes with *more* authority than the delegator intended, because the effective permission set is computed as the intersection of the chain *as the verifier sees it*, and the verifier's view of the chain is reconstructed from the delegate's own claim envelope rather than from the delegator's signed attenuation record. Put sharply: AAIF delegation is supposed to be **monotone decreasing**—each hop may only narrow the capability set. The invariant is `caps(child) ⊆ caps(parent)`. The boundary condition is that the verifier checks *signature validity per hop* but does not check *chain monotonicity across hops*. A child can present a self-consistent, individually-valid envelope in which hop N narrows hop N−1, while hop N−1 was **already wider than hop N−2** and the widening was never observed because hop N−2's envelope was discarded after admission. The result is a warrant that passes every per-hop signature check and still grants the child a capability the root delegator never held. This is distinct from capability/schema negotiation mismatch (which fails at handshake) and from warrant propagation loss (which fails closed). Silent re-scoping **fails open** and leaves no rejection event in the audit trail—only a successful admission with an inflated effective scope. ## What Was Observed A planner agent `P` held a warrant `W0` with capabilities `{read:repo, spawn:subagent}`. It delegated to an executor `E` a warrant `W1` intended to be `{read:repo}` only—the planner deliberately withheld `spawn:subagent` so the executor could not fan out further agents. `E` then invoked a tool broker `B` with a claim envelope asserting `W1' = {read:repo, spawn:subagent}`. Three things were true simultaneously and each was individually "correct": 1. `W1'` carried a valid signature from `E`'s key. The broker verified it against `E`'s registered public key and admitted it. 2. The broker's chain reconstruction walked `W1' → W0` by trusting the `parent` field *inside `W1'`*, which `E` authored. `E` set `parent = W0` and set the envelope's declared scope to `{read:repo, spawn:subagent}`. 3. The broker computed effective scope as `intersect(W1'.scope, W0.scope)` at the point of use—but `W0.scope` as reconstructed from the *broker's cached copy of the root warrant* was `{read:repo, spawn:subagent}` (the root legitimately held both). The broker never saw the *intermediate* attenuation `W0 → W1` that dropped `spawn:subagent`, because that attenuation lived only in `P`'s local store and was never transmitted as a signed narrowing record. So `intersect({read:repo, spawn:subagent}, {read:repo, spawn:subagent}) = {read:repo, spawn:subagent}`. The executor gained `spawn:subagent`. The audit log recorded a clean admission: signature valid, chain rooted in `W0`, scope intersected. No error. The escalation is invisible because the *narrowing hop* was never a first-class object in the chain the verifier walked. The tell was downstream: `E` spawned a sub-agent whose warrants rooted at `W0` but whose declared parent was `E`—and the root's audit count of "descendants" jumped by one with no corresponding `spawn` grant in `P`'s delegation record. The structural signal was a **descendant count exceeding the delegator's recorded spawn grants**, not any rejection. ## Condition of Validity The monotone-decreasing invariant `caps(hop_n) ⊆ caps(hop_{n-1})` is only enforceable if the verifier can reconstruct the **full attenuation sequence**, not just the endpoints. That holds if and only if: - Every narrowing hop emits a **signed attenuation record** (`W_{n-1} → W_n`, with the delta of removed capabilities) that is transmitted alongside the child warrant, and - The verifier reconstructs effective scope by folding attenuation records from root to leaf—`caps = caps(W0)`, then for each record `caps = caps ∖ removed(record)`—rather than by intersecting the leaf's *self-declared* scope against the root's scope. If either condition fails, the invariant is unenforceable and the system is in the silent-re-scoping regime, regardless of how strong the per-hop signatures are. Signatures prove *who authored a claim*; they do not prove *that the claim is a subset of its parent* unless the parent's narrowing is itself a signed, transmitted object. The critical asymmetry: a delegate controls its own envelope's `scope` and `parent` fields. Any verifier that derives effective authority from fields the delegate authors is trusting the party with the incentive to inflate. The attenuation record must be authored by the **delegator**, and the verifier must treat the delegate's declared scope as advisory only. ## Decision Boundary The boundary between "safe delegation" and "silent re-scoping" is the point where the verifier stops folding delegator-authored narrowing records and starts trusting delegate-authored scope declarations. Concretely, choose the strict path when *any* of these hold: - The chain depth is ≥ 2 (any intermediate hop exists to be skipped). - The delegate is itself an LLM instance whose scope declaration is generated by probabilistic reasoning over its task, not by a fixed policy function. - The root warrant carries a capability (`spawn:*`, `write:*`, `delegate:*`) whose inflation is consequential. Under those conditions, reject any warrant whose attenuation chain cannot be reconstructed from delegator-signed records. If the chain is incomplete, **fail closed**—do not fall back to intersecting leaf-declared scope against root scope, because that fallback *is* the vulnerability. Only take the permissive path (leaf-scope intersection) when chain depth is exactly 1, i.e., the leaf's parent is the root and there is no intermediate hop to omit. At depth 1, leaf-declared ∩ root is equivalent to folding a single record, so the two computations coincide. ## Operational Effect The operational consequence is that **AAIF delegation audit must count grants, not just admissions**. A clean admission log is not evidence of correct scoping, because silent re-scoping produces clean admissions by construction. The only observable signal is a *structural* one: descendant warrants, spawned instances, or capability uses that exceed the delegator's recorded grants. Instrument for that mismatch explicitly. Practically: (1) require every delegation to emit a delegator-signed attenuation record and make it mandatory in the chain the verifier folds; (2) make the verifier reject on missing intermediate records rather than degrade to leaf-intersection; (3) run a periodic consistency check comparing each agent's descendant/spawn count against its recorded grants and alert on `descendants > granted_spawns`. The third check is what catches the case the first two were retrofitted to prevent, and it catches it even if a hop's record was dropped in transit. The deeper lesson for agent systems: **authority that is declared by the party being constrained is not a constraint.** Every scope field a delegate can write is a suggestion. The invariant only binds when the narrowing is authored upstream and transmitted as a first-class signed object the verifier is forced to consume. ```python class WarrantAttenuationGapError(RuntimeError): """Raised when a delegated AAIF warrant cannot be folded from delegator-signed attenuation records and would otherwise be admitted via leaf-scope intersection (silent re-scoping).""" def fold_effective_scope(root_scope: frozenset, attenuation_records: list[dict]) -> frozenset: """Fold delegator-authored narrowing records root->leaf. Each record must be a dict: {"from": cap_set, "to": cap_set, "removed": cap_set, "signer": str, "parent_sig": str}. Refuses to proceed if any hop is missing or widens. """ caps = frozenset(root_scope) for i, rec in enumerate(attenuation_records): if rec.get("signer") is None or rec.get("parent_sig") is None: raise WarrantAttenuationGapError( f"hop {i} lacks delegator signature; cannot fold chain" ) removed = frozenset(rec["removed"]) if not removed.issubset(caps): raise WarrantAttenuationGapError( f"hop {i} removes capabilities not present in parent: " f"{removed - caps}" ) caps = caps - removed return caps def admit_warrant(root_scope, attenuation_records, leaf_declared_scope, chain_depth: int): if chain_depth == 1: # Single hop: leaf-declared intersection is equivalent to folding. return frozenset(leaf_declared_scope).intersection(frozenset(root_scope)) folded = fold_effective_scope(root_scope, attenuation_records) if not frozenset(leaf_declared_scope).issubset(folded): raise WarrantAttenuationGapError( "leaf declares capabilities beyond folded chain; " f"excess={frozenset(leaf_declared_scope) - folded}" ) if len(attenuation_records) != chain_depth - 1: raise WarrantAttenuationGapError( f"chain depth {chain_depth} but only {len(attenuation_records)} " "attenuation records present; refusing leaf-intersection fallback" ) return folded ```