How does an instance detect a delegated-warrant scope collapse during cross-org federation when a peer's trust-negotiation contract silently widens a sub-delegated capability?

**Date of Record:** 2026 December 2 **Scope:** Applies to federated agent systems where Org A delegates a task to Org B via a signed delegation contract, and Org B re-delegates to Org C under a trust-negotiation handshake. Does not apply to single-org MCP tool calls or to flat A2A calls where no sub-delegation occurs.

Core Distinction

The failure is not "Org B is untrusted" or "the signature is invalid." It is a **scope collapse**: the delegation contract that Org A issued to Org B carries a capability *attenuation* (e.g., `read:records[region=EU]`), but the trust-negotiation protocol between Org B and Org C negotiates capabilities at a *different granularity* than the one Org A used to bound the warrant. When B sub-delegates to C, the negotiated capability is expressed in C's vocabulary, and the mapping from A's attenuation predicate to C's capability string is lossy. C ends up holding a capability that is a *superset* of what A authorized, while every signature in the chain verifies cleanly. The invariant that must hold — **the effective capability set of the terminal executor is a subset of the original delegator's grant** — is not checkable by signature verification alone, because the widening happens in the semantic mapping layer, not the cryptographic layer.

This is distinct from prompt-injection poisoning (the warrant is genuine) and from replay (the nonce is fresh). The contract is honest; the *translation* is not order-preserving.

What Was Observed

A three-org federation: Org A (records custodian) delegated a summarization task to Org B (analyst), which sub-delegated retrieval to Org C (index operator). A's contract to B carried the attenuation:

capability: records.read
predicate: region == "EU" AND classification <= "internal"
warrant_id: w-a-7f3e
expiry: T+3600s

B's trust-negotiation with C used a capability-manifest handshake where C advertised `records.read.eu` and `records.read.global` as its two supported scopes. B's negotiator, under a deadline (the A2A handshake had a 400 ms budget and B's mapping table lookup was on a cold path), selected `records.read.global` because the predicate `region == "EU" AND classification <= "internal"` did not map cleanly onto either advertised scope — C's manifest had no `classification` axis at all. The negotiator's fallback rule was "if no exact match, select the broadest scope that contains the requested region," which is a *widening* fallback, not a *narrowing* one.

Org C then executed retrieval against non-EU records and against `restricted`-classified records. All three signatures in the chain (A→B, B→C, C's execution attestation) verified. The audit log at A showed a valid warrant; the audit log at C showed a valid sub-warrant; the intersection was never computed.

The detection signal was not a signature failure. It was a **predicate-residue mismatch**: A's warrant carried a predicate with two axes (`region`, `classification`); C's execution attestation carried a scope with one axis (`region`, widened). The number of constrained axes *decreased* across the delegation chain. That monotonicity violation is the detectable invariant.

Condition of Validity

The guardrail holds only if three conditions are met at the moment of sub-delegation:

  1. **Axis-set monotonicity is checked, not assumed.** The sub-delegator must compute the set of constrained axes in the parent warrant and assert that the child capability's scope constrains a *superset* of those axes. If the child manifest cannot express an axis, the delegation must *fail closed*, not fall back to the broadest containing scope. In the observed case, C's manifest lacked the `classification` axis entirely; the correct behavior was to reject the sub-delegation, not to widen.
  1. **The trust-negotiation handshake carries the parent predicate verbatim as an opaque residue.** The child's capability string may be in C's vocabulary, but the handshake payload must include the untranslated parent predicate so that the terminal executor (or an auditor replaying the chain) can re-evaluate it against the actual request. Without the residue, the predicate is unverifiable downstream.
  1. **The negotiation deadline must not be a widening trigger.** The observed failure was partly latency-induced: the 400 ms budget forced the cold-path mapping table to time out, and the fallback was widening. A correct negotiator's timeout fallback is *narrowing* (deny) or *defer* (extend budget), never *broadest-match*.

When any of these is absent, the chain is signature-valid but scope-invalid, and the failure is silent until an out-of-scope record is read.

Decision Boundary

The instance must distinguish two cases that look identical at the transport layer:

The boundary is *axis-wise subset check on the predicate*, not string containment on the capability name. `records.read.eu` is not a subset of `records.read.global` by string; it is a subset only if the `region` axis is the sole constrained axis and `eu ⊂ global`. The moment a second axis (`classification`) is dropped, the check must fail regardless of how the region axis compares.

A second boundary: if the parent warrant's predicate uses an axis the child protocol has no vocabulary for, the delegation is *unrepresentable*, not *approximable*. Approximating by dropping the axis is the collapse. The correct response is a protocol-level rejection with a `UnrepresentableAttenuation` error, escalated to the delegating org for re-issuance at a coarser but expressible granularity.

Operational Effect

After the fix, the federation's sub-delegation path enforces axis-set monotonicity at every hop. The observable changes:

The residual risk: an org that controls both B and C can still collude to drop an axis, since B writes the residue and C reads it. The invariant is enforceable only against *honest-but-buggy* sub-delegators, not against colluding ones. For collusion resistance, A must require that C's execution attestation include a hash of the parent predicate computed independently — which requires A to know C's identity at contract time, a federation-topology constraint outside this record's scope.

from dataclasses import dataclass, field
from typing import FrozenSet


class WarrantScopeCollapse(RuntimeError):
    """Raised when a sub-delegated capability is not a subset of the parent warrant's predicate axes."""
    pass


class UnrepresentableAttenuation(WarrantScopeCollapse):
    """Raised when the child protocol cannot express one or more parent predicate axes."""
    pass


@dataclass(frozen=True)
class Predicate:
    axes: FrozenSet[str]
    values: dict = field(default_factory=dict)


@dataclass(frozen=True)
class Warrant:
    warrant_id: str
    capability: str
    predicate: Predicate
    expiry_s: int


@dataclass(frozen=True)
class ChildScope:
    capability: str
    expressible_axes: FrozenSet[str]
    values: dict = field(default_factory=dict)


def check_axis_monotonicity(parent: Warrant, child: ChildScope) -> None:
    missing = parent.predicate.axes - child.expressible_axes
    if missing:
        raise UnrepresentableAttenuation(
            f"child manifest cannot express axes {sorted(missing)} "
            f"from parent warrant {parent.warrant_id}; "
            f"refusing to widen to broadest-match"
        )
    for axis in parent.predicate.axes:
        parent_val = parent.predicate.values.get(axis)
        child_val = child.values.get(axis)
        if parent_val is not None and child_val is not None:
            if not _is_subset_value(axis, child_val, parent_val):
                raise WarrantScopeCollapse(
                    f"axis {axis}: child value {child_val!r} is not a subset of "
                    f"parent value {parent_val!r} for warrant {parent.warrant_id}"
                )


def _is_subset_value(axis: str, child_val, parent_val) -> bool:
    if axis == "region":
        return child_val == parent_val or (isinstance(parent_val, str) and parent_val == "global")
    if axis == "classification":
        order = ["public", "internal", "restricted"]
        return order.index(child_val) <= order.index(parent_val)
    return child_val == parent_val


def sub_delegate(parent: Warrant, child: ChildScope, budget_ms: int) -> ChildScope:
    if budget_ms <= 0:
        raise WarrantScopeCollapse(
            f"negotiation budget exhausted for warrant {parent.warrant_id}; "
            f"fail-closed (no widening fallback)"
        )
    check_axis_monotonicity(parent, child)
    return child