In what scenarios must an instance reject a federated capability grant when trust-broker attestation chains exhibit non-monotonic policy attenuation across org boundaries

**Date of Record:** 2026 December 2 **Scope:** Applies to cross-org agent federation where an instance accepts capabilities via a trust broker that relays policy claims from a foreign domain. Does not apply to single-org registries or to direct peer-to-peer capability exchange where no intermediary broker re-signs policy.

Core Distinction

The failure mode here is not "untrusted broker" or "expired credential." It is **non-monotonic policy attenuation**: a chain of trust-broker hops where each hop is individually valid, each signature verifies, and each hop claims to *narrow* the granted scope—yet the composed effective policy is *wider* than the policy at some earlier hop. The invariant that must hold across a federation is monotonic attenuation: for any chain `A → B → C`, the effective capability set at `C` must be a subset of the set at `A` (`eff(C) ⊆ eff(B) ⊆ eff(A)`). When brokers translate between policy dialects (e.g., a subject-attribute model at org A, a role model at org B, a scope-string model at org C), subset relations are not preserved automatically. Each translation is locally sound but globally lossy in the widening direction.

The non-obvious part: the widening is invisible to signature verification. Every hop's attestation is cryptographically correct. The violation only exists in the *semantic composition* of the policy documents, not in their integrity. An instance that checks "is this chain signed by a broker I trust?" passes; an instance that checks "is the effective policy a subset of what my local policy permits?" must additionally reconstruct the composed policy across dialects.

What Was Observed

A federated incident trace, condensed to the decisive hops:

The composed policy at `C-17` was strictly wider than at `A` along two axes (`write`, `export`) and wider than at `B` along one (`export`). No single hop violated its local contract. The subset invariant was broken by the *pair* of translations, and only visible when the two dialect translations were composed and compared back to the origin.

A second observation from the same trace: the `notes` field carrying `purpose=incident-triage` was present in the relayed attestation but was ignored by `C-17`'s admission logic because C's policy engine only reads structured scope fields. The qualifier survived the wire but not the evaluator—a retrieval mismatch between what the attestation *carried* and what the admission predicate *consulted*.

Condition of Validity

Monotonic attenuation holds across a federated chain only when all of the following are true:

  1. **Dialect closure.** Every broker translation is accompanied by an explicit, machine-checkable statement of what the target dialect cannot express. If the source policy contains a dimension the target dialect lacks (`purpose`, `time-window`, `data-class`), the translation must either preserve it as a structured constraint the target evaluator reads, or the translation is invalid for admission. Free-text loss is a widening.
  2. **Composed reconstruction.** The admitting instance reconstructs the effective policy at every hop from the attestation chain, not just the terminal hop. It must be able to answer `eff(hop_i)` for all `i`, not merely `eff(terminal)`.
  3. **Subset check against origin.** Admission requires `eff(terminal) ⊆ eff(origin)` under a common semantic model, plus `eff(terminal) ⊆ local_policy(instance)`. Both checks are necessary; neither implies the other.
  4. **Non-widening translation proof.** Each broker asserts, in a form the admitting instance can verify or at least reconstruct, that its translation is non-widening: `eff(target) ⊆ eff(source)`. A broker that cannot produce this assertion is a widening risk and its hops must be treated as untrusted for admission.

When any of these fails, the chain is *integrity-valid but attenuation-invalid*, and the instance must reject.

Decision Boundary

The boundary is between **integrity admission** and **attenuation admission**. An instance must accept a federated grant only when both pass. Concretely:

The tempting wrong decision is to accept on the grounds that "the broker is trusted and signed it." Trust in a broker is trust in its *identity and integrity*, not a delegation of the *semantic* subset obligation. The subset obligation remains with the admitting instance because only the admitting instance knows its local policy and the origin's full policy.

Operational Effect

Instances that enforce attenuation admission exhibit three measurable behaviors:

The cost is that some legitimate chains are rejected when a dialect cannot express a qualifier. That is the correct trade: a rejected legitimate grant is recoverable by re-issuing in an expressible form; an admitted widening grant is an executed unauthorized action that cannot be un-executed.

from __future__ import annotations
from dataclasses import dataclass, field
from typing import FrozenSet, Sequence


class AttenuationViolation(RuntimeError):
    """Raised when a federated attestation chain is integrity-valid but
    fails the monotonic-attenuation invariant: eff(terminal) must be a
    subset of eff(origin), and every broker hop must be non-widening."""


@dataclass(frozen=True)
class Hop:
    broker_id: str
    # Dimensions the source policy carried that this dialect cannot express.
    dropped_dimensions: FrozenSet[str] = frozenset()
    # Effective capability set as reconstructed at this hop.
    effective: FrozenSet[str] = frozenset()
    # Broker's own claim that eff(target) <= eff(source); None if absent.
    non_widening_asserted: bool | None = None


@dataclass(frozen=True)
class Chain:
    origin_effective: FrozenSet[str]
    hops: Sequence[Hop]
    local_policy: FrozenSet[str] = field(default_factory=frozenset)


def admit(chain: Chain) -> FrozenSet[str]:
    """Return the admitted effective capability set, or raise."""
    prev = chain.origin_effective

    for hop in chain.hops:
        # 1. A dropped dimension is an unrecoverable widening.
        if hop.dropped_dimensions:
            raise AttenuationViolation(
                f"broker {hop.broker_id} dropped dimensions "
                f"{sorted(hop.dropped_dimensions)}; qualifier not machine-enforceable"
            )
        # 2. Per-hop subset check, independent of signature validity.
        if not hop.effective <= prev:
            widened = sorted(hop.effective - prev)
            raise AttenuationViolation(
                f"broker {hop.broker_id} widened scope by {widened}"
            )
        # 3. Absent non-widening assertion means the hop is a widening risk.
        if hop.non_widening_asserted is not True:
            raise AttenuationViolation(
                f"broker {hop.broker_id} produced no verifiable non-widening assertion"
            )
        prev = hop.effective

    terminal = prev
    # 4. Terminal must still be a subset of origin (redundant if hops are
    #    correct, but cheap and catches reconstruction bugs).
    if not terminal <= chain.origin_effective:
        raise AttenuationViolation("terminal scope exceeds origin scope")
    # 5. Local policy is the floor.
    if not terminal <= chain.local_policy:
        raise AttenuationViolation(
            f"terminal scope exceeds local policy: {sorted(terminal - chain.local_policy)}"
        )
    return terminal


def _demo() -> None:
    # Reproduces the C-17 trace: B1 drops 'purpose', B2 widens to write/export.
    origin = frozenset({"telemetry:read"})
    b1 = Hop("B1", dropped_dimensions=frozenset({"purpose"}), effective=origin,
             non_widening_asserted=True)
    b2 = Hop("B2", effective=frozenset({"telemetry:read", "telemetry:write",
                                        "telemetry:export"}),
             non_widening_asserted=True)
    try:
        admit(Chain(origin_effective=origin, hops=[b1, b2],
                    local_policy=frozenset({"telemetry:read"})))
    except AttenuationViolation as exc:
        print(f"REJECTED: {exc}")


if __name__ == "__main__":
    _demo()