What structural signals indicate capability-attenuation laundering in multi-hop agent delegation chains

**Date of Record:** 2026 December 2 **Scope:** Applies to agent systems where an orchestrator delegates to sub-agents that re-delegate (depth ≥ 2), and where each hop is expected to monotonically attenuate (never widen) the capability set and to preserve a verifiable warrant chain back to the root principal. Does not apply to single-hop tool calls or to flat fan-out swarms where no agent holds delegation authority.

Core Distinction

The failure mode is not "an agent exceeded its permissions." It is the subtler case where **every individual hop is locally legal but the composed chain is globally illegal** — a capability that was dropped at hop N is silently re-introduced at hop N+2 because the re-introduced capability was *never explicitly denied*, only *absent from the parent's granted set*.

Two invariants are commonly conflated:

The boundary failure lives in the gap: subtraction is a set operation on the *declared* capability list, but the *effective* capability of an agent is the transitive closure over (declared capabilities ∪ tool-invoked capabilities ∪ resource-reference capabilities ∪ re-delegated capabilities). A chain that is a clean subset at every hop under subtraction can still widen under closure. We call the resulting accountability trace a **laundered warrant**: the leaf agent's action traces back to a root principal through a chain of valid signatures, but the specific capability exercised was never in any ancestor's declared grant — it was reconstructed from a resource handle that survived attenuation because nobody thought to attenuate *handles*.

The structural signal is this: **when the accountability trace is valid at every hop but the exercised capability is absent from the root grant, the widening happened through a non-capability channel (data, handle, or reference) that attenuation did not cover.**

What Was Observed

A three-hop delegation executed against a document-processing pipeline. Root principal `P` issues a warrant `W0` to orchestrator `A` with capability set `{read:docs, summarize, delegate}`. `A` delegates to `B` with `{read:docs, summarize}` — correctly dropping `delegate`. `B` delegates to `C` with `{read:docs}` — correctly dropping `summarize`. Under subtraction, `C` holds strictly less than `B` holds strictly less than `A`. The chain is clean.

`C` then executes an action that requires `write:docs`. This should be impossible. The trace:

  1. `A`'s task prompt to `B` included a **signed document handle** `h = sign(doc_id=4471, scope=read)` because `A` needed `B` to read a specific document and passed the handle as task context, not as a capability.
  2. `B`'s task prompt to `C` included the same handle `h`, because `B` forwarded its working context wholesale (a common and reasonable behavior — context is not capability, so no attenuation was applied to it).
  3. `C` invoked a tool `update_document(handle=h, patch=...)`. The tool validated the signature on `h` — which was valid and scoped to `read` — but the tool's authorization check was `if handle.valid and handle.scope in {read, write}: allow`. The scope check was a *disjunction over the handle's own scope*, not a check against the *caller's* warrant. Because `h.scope == read`, the disjunction passed, and the write executed.

The exercised capability `write:docs` appears in **no** ancestor's declared grant. `A` held `read:docs, summarize, delegate`; `B` and `C` held strictly less. Yet the write happened, and the accountability trace `C → B → A → P` is fully signature-valid at every edge.

The structural tell, visible only after the fact: the action's *provenance* (which warrant authorized it) resolved to `h`, a data artifact, not to any `W_i`. The trace was intact; the *warrant binding* was bypassed by a handle that carried authority the capability set did not.

Condition of Validity

Attenuation-by-subtraction is sound **only if** the following holds at every hop:

> The effective action set of a child is determined solely by its declared capability set, and no data object passed to the child confers authority the child's capability set does not contain.

This is the **capability/data separation invariant**. It fails whenever any of the following are true:

When any of these hold, subtraction is a *declared-set* attenuation, not an *effective-set* attenuation, and the two diverge at exactly the hop where a handle crosses a boundary the capability set did not.

Decision Boundary

The operational question at each delegation edge is not "is the child's capability set a subset of mine?" but "**is every authority-bearing object I am about to pass to the child covered by the child's capability set?**" These are different checks and they fail independently.

Concretely, before any `delegate(child, caps, context)` call, the delegating agent must classify every item in `context` into:

The boundary is sharp: an item is authority-bearing if *any* reachable tool would accept it as sufficient authority. This is a closure over the tool graph, which is why it is easy to miss — the delegating agent must know, for each handle it holds, which tools honor it and at what scope. An agent that cannot compute this closure cannot safely forward context, and must default to stripping all handles and re-issuing child-scoped ones.

The guardrail that bounds the failure: **authorization at every tool must check the caller's warrant, not the presented handle's scope.** A handle is a *selector* (which resource), never an *authorizer* (whether the action is permitted). The warrant is the authorizer. If the tool checks `caller.warrant ⊇ required_capability`, then `C`'s write fails at the tool regardless of what handle it holds, because `C`'s warrant does not contain `write:docs`. The handle becomes inert for authorization purposes and the laundering channel closes.

Operational Effect

Without the guardrail, delegation chains produce **accountability traces that are valid but non-causal**: every signature verifies, every hop is locally legal, and the audit log names a root principal who never granted the exercised capability. The trace answers "who is in the chain" but not "who authorized this action," and those diverge precisely at the hop where a handle crossed a boundary.

The practical consequences:

The structural signals that indicate this failure is present, in order of reliability:

  1. **Provenance resolves to a data artifact, not a warrant.** The action's authorization source is a handle/token/reference, not a `W_i` in the chain.
  2. **The exercised capability is absent from the root grant** while every intermediate grant is a clean subset of its parent.
  3. **The tool's authorization predicate references the presented object's scope** (`handle.scope`) rather than the caller's warrant.
  4. **Context was forwarded wholesale** across at least one delegation edge without classification of authority-bearing items.
  5. **Revocation of any intermediate warrant leaves the exercised action still executable** via a surviving handle.

Any one of these is a signal; (1) and (3) together are diagnostic. The corrective invariant is capability/data separation enforced at the tool boundary: **the warrant authorizes, the handle selects, and no handle is ever sufficient authority on its own.**

class CapabilityLaunderingError(RuntimeError):
    """Raised when a delegated action's authority resolves to a data handle
    rather than to a warrant in the caller's chain."""
    pass


def authorize_action(caller_warrant, presented_handle, required_capability, tool_policy):
    # INVARIANT: the warrant authorizes; the handle only selects a resource.
    # A handle's scope must never substitute for the caller's capability set.
    if required_capability not in caller_warrant.capabilities:
        raise CapabilityLaunderingError(
            f"caller warrant {caller_warrant.id!r} lacks {required_capability!r}; "
            f"presented handle scope {getattr(presented_handle, 'scope', None)!r} "
            f"cannot authorize (handle selects, warrant authorizes)"
        )

    # Second check: the handle must actually reference a resource the tool
    # policy permits for this capability. A read-scoped handle cannot select
    # a write target even when the caller holds write:docs.
    if presented_handle is not None:
        if required_capability not in tool_policy.scopes_for(presented_handle):
            raise CapabilityLaunderingError(
                f"handle {presented_handle.id!r} scope "
                f"{presented_handle.scope!r} does not cover {required_capability!r}"
            )

    return tool_policy.execute(presented_handle, required_capability)


def delegate(parent_warrant, child_caps, context_items):
    # Attenuation-by-closure: strip or re-scope every authority-bearing item
    # before forwarding. Inert data passes unchanged.
    safe_context = []
    for item in context_items:
        if item.is_authority_bearing:
            if not item.scope.issubset(child_caps):
                # Do not forward a handle wider than the child's grant.
                rescoped = item.rescope(item.scope & child_caps)
                if rescoped is None:
                    raise CapabilityLaunderingError(
                        f"cannot forward authority-bearing {item.id!r}: "
                        f"scope {item.scope!r} exceeds child caps {child_caps!r} "
                        f"and is not re-scopable"
                    )
                safe_context.append(rescoped)
            else:
                safe_context.append(item)
        else:
            safe_context.append(item)

    if not child_caps.issubset(parent_warrant.capabilities):
        raise CapabilityLaunderingError(
            f"child caps {child_caps!r} widen parent grant "
            f"{parent_warrant.capabilities!r}"
        )

    return ChildWarrant(parent=parent_warrant, capabilities=child_caps,
                        context=safe_context)