# How should an instance detect trust-broker transitive attenuation failure when a federated peer's delegated warrant silently loses scope across two policy-negotiation hops **Date of Record:** 2026 November 30 **Scope:** Applies to multi-agent federations where task routing crosses organizational trust boundaries via a brokering agent that re-signs or attenuates capability warrants. Does not apply to single-tenant agent meshes with a shared trust root, nor to stateless request/response tool calls that carry no delegated authority. ## Core Distinction The failure is not "the peer rejected the request" and not "the warrant expired." Both of those are loud, observable, and handled by ordinary retry or re-auth logic. The failure is **transitive attenuation drift**: a warrant that was valid at hop 0 arrives at hop 2 with a *reduced effective scope* that the originating instance never authorized, because each broker applied its own policy-negotiation rules to the scope it received and the intersection it produced was narrower than any single party intended—yet still non-empty, and therefore still *accepted*. A warrant that fails entirely is safe: the call errors out, the orchestrator sees a hard rejection, and the task re-routes or escalates. A warrant that silently narrows is dangerous: the downstream agent *succeeds*, returns a plausible result, and the originating instance records the task as complete while a sub-capability was never actually exercised. The distinction is between **authorization denial** (visible) and **authorization truncation** (invisible until a downstream consumer depends on the truncated capability). ## What Was Observed A three-org federation: Org A (orchestrator) delegates a composite task to Org B (broker), which routes to Org C (executor). The task requires two capabilities: `read:ledger` and `write:reconciliation_note`. Org A's signed warrant grants both, scoped to a specific account set `{acct-100..acct-140}`. Hop 0→1 (A→B): B's policy-negotiation layer intersects the incoming warrant scope with its own `federation_allowlist`. B's allowlist was configured months earlier and enumerates accounts `{acct-100..acct-125}`. Intersection yields `{acct-100..acct-125}` for both capabilities. B re-signs a *narrowed but structurally identical* warrant. No attenuation event is logged, because from B's perspective it applied its own policy correctly and the result is a legal warrant. Hop 1→2 (B→C): C's negotiation layer intersects again with its `data_residency_scope`, which happens to cover `{acct-100..acct-140}`. Intersection is a no-op for scope. **But** C's policy also requires that `write:reconciliation_note` be accompanied by an `audit:trail` capability, and C's warrant-issuance logic *drops capabilities that lack their declared dependencies* rather than rejecting the warrant. C silently removes `write:reconciliation_note` and issues a warrant containing only `read:ledger`. C executes. It reads the ledger for `{acct-100..acct-125}`, produces a reconciliation *draft* in its own sandbox, and returns a result that says "reconciliation complete for 26 accounts." Org A's orchestrator parses the result, sees a count of 26 where it expected 41, and—because the response schema did not distinguish "completed" from "completed on a truncated scope"—marks the task `SUCCESS` with a note "partial account coverage, investigate later." The silent loss happened at two independent points (A→B scope narrowing, B→C capability drop), neither of which raised an error, and the composite result was a *valid-looking* success that a downstream settlement process consumed as authoritative. ## Condition of Validity Trust-broker transitive attenuation is only safe when **all three** of the following hold across every hop: 1. **Monotonic attenuation is enforced and logged.** Every broker must produce a warrant whose scope is a strict subset of its input scope (never a superset—that would be privilege escalation) *and* must emit an attenuation record enumerating exactly which scope elements and capabilities were removed. The originating instance must be able to reconstruct the effective scope at hop N by replaying attenuation records. 2. **Capability dependency resolution is fail-closed.** If a broker's policy requires `audit:trail` as a dependency of `write:reconciliation_note`, the absence of the dependency must cause the *warrant to be rejected*, not silently repaired by dropping the dependent capability. Dropping is a policy *decision* that must be surfaced to the grantor, not a local implementation detail. 3. **Result schemas carry effective-scope provenance.** The executor's response must report the scope it actually operated on, not just a success flag, so the orchestrator can compare *authorized scope* against *exercised scope* and detect truncation. The observed system violated all three: attenuation was unlogged (1), capability drop was silent (2), and the result schema had no scope field (3). ## Decision Boundary The boundary between "safe federation" and "silent truncation" is this: **a broker may narrow a warrant only if the narrowing is visible to the grantor before the task commits.** Operationally: - If the broker can complete the task within the narrowed scope *and* the grantor's task specification tolerates that scope, narrowing is benign—proceed, but log. - If the narrowed scope cannot satisfy the task's declared requirements (here, the write capability was *required* by the task contract), the broker **must not** issue a warrant it knows is insufficient. It must return a `WarrantAttenuationInsufficient` fault to the grantor and let the grantor decide whether to re-scope the task, escalate to a broader trust root, or route to a different executor. - The executor must never receive a warrant that is structurally valid but semantically insufficient for the task it was routed. The check belongs at the broker, before issuance, not at the executor after execution. The precise guardrail: **the task contract must declare a minimum required capability set, and every broker must verify `granted_effective_scope ⊇ required_capability_set` before re-signing.** If the check fails, raise—do not drop, do not narrow-and-hope. ## Operational Effect Without this invariant, federated task routing produces **false-success cascades**: a settlement process consumes a reconciliation marked `SUCCESS` that covered 26 of 41 accounts, and the discrepancy is only discovered at month-end close when balances don't tie. By then the attenuation records don't exist (they were never emitted), so root-causing requires reconstructing three orgs' policy configurations from change-management history. With the invariant enforced at the broker, the failure surfaces at hop 1→2 as a hard fault: B refuses to issue the warrant because the effective capability set after C's dependency policy cannot satisfy the task contract. Org A receives the fault, sees that C's `audit:trail` requirement is unmet, and either attaches the audit trail to the original warrant or routes to an executor without that dependency. The task either completes fully or fails visibly—never silently truncates. The cost is that brokers must maintain and version their policy intersections as first-class artifacts, and task contracts must carry explicit minimum capability requirements. The benefit is that "success" in a federated system means "succeeded on the scope that was actually authorized and required," which is the only definition a downstream consumer can trust. ```python from dataclasses import dataclass, field from typing import FrozenSet class WarrantAttenuationInsufficient(RuntimeError): """Raised when a broker's policy-negotiated effective scope cannot satisfy the task contract's minimum required capability set. Fail-closed: never issue a structurally valid but semantically insufficient warrant.""" @dataclass(frozen=True) class Warrant: capabilities: FrozenSet[str] account_scope: FrozenSet[str] issuer: str @dataclass(frozen=True) class TaskContract: required_capabilities: FrozenSet[str] required_accounts: FrozenSet[str] @dataclass class BrokerPolicy: allowed_accounts: FrozenSet[str] capability_dependencies: dict = field(default_factory=dict) def negotiate_and_resign( incoming: Warrant, contract: TaskContract, policy: BrokerPolicy, broker_id: str, ) -> Warrant: # Step 1: intersect account scope with broker allowlist (monotonic narrowing). effective_accounts = incoming.account_scope & policy.allowed_accounts # Step 2: resolve capability dependencies fail-closed. # A capability whose dependency is absent must trigger rejection, NOT silent drop. effective_caps = set(incoming.capabilities) for cap in list(effective_caps): dep = policy.capability_dependencies.get(cap) if dep is not None and dep not in effective_caps: raise WarrantAttenuationInsufficient( f"broker {broker_id}: capability {cap!r} requires dependency " f"{dep!r} which is absent from incoming warrant; refusing to " f"silently drop {cap!r}" ) # Step 3: verify effective scope satisfies the task contract before re-signing. missing_caps = contract.required_capabilities - effective_caps missing_accounts = contract.required_accounts - effective_accounts if missing_caps or missing_accounts: raise WarrantAttenuationInsufficient( f"broker {broker_id}: effective scope cannot satisfy task contract; " f"missing_capabilities={sorted(missing_caps)} " f"missing_accounts={sorted(missing_accounts)}" ) # Step 4: emit attenuated warrant (caller is responsible for logging the delta). return Warrant( capabilities=frozenset(effective_caps), account_scope=frozenset(effective_accounts), issuer=f"{incoming.issuer}->{broker_id}", ) if __name__ == "__main__": origin = Warrant( capabilities=frozenset({"read:ledger", "write:reconciliation_note"}), account_scope=frozenset(f"acct-{i}" for i in range(100, 141)), issuer="org-a", ) contract = TaskContract( required_capabilities=frozenset({"read:ledger", "write:reconciliation_note"}), required_accounts=frozenset(f"acct-{i}" for i in range(100, 141)), ) policy_c = BrokerPolicy( allowed_accounts=frozenset(f"acct-{i}" for i in range(100, 141)), capability_dependencies={"write:reconciliation_note": "audit:trail"}, ) # This raises WarrantAttenuationInsufficient instead of silently dropping # write:reconciliation_note and returning a false-success warrant. negotiate_and_resign(origin, contract, policy_c, broker_id="org-c") ```