# What structural signals indicate a trust-broker warrant decay in cross-org agent federation before policy negotiation collapses **Date of Record:** 2026 November 27 **Scope:** Applies to federated multi-agent systems where an agent in org A invokes an agent in org B through a trust broker that mints scoped warrants (capability + policy attestations) with TTLs. Does not apply to single-org agent meshes with a shared control plane or to static mTLS-only service identity without per-call policy negotiation. ## Core Distinction The failure mode is not "the broker revoked the warrant" and not "the remote agent rejected the call." It is **warrant decay during negotiation**: the broker mints a warrant whose embedded policy attestation (purpose, data-class, delegation depth, rate ceiling) is valid at mint time, but the *negotiation handshake* between the calling agent and the remote policy engine consumes enough wall-clock and enough round-trips that the warrant's freshness window (not its TTL) lapses mid-negotiation. The remote engine then evaluates the *policy* against a warrant whose attestation is stale relative to the remote's current policy epoch, and the two sides disagree about which version of the contract is in force. The structural signal is a **divergence between two clocks the federation never reconciles**: the broker's `issued_at`/`expires_at` (absolute) and the remote policy engine's `policy_epoch` (monotonic, org-local, bumped on any policy edit). A warrant can be unexpired and still be *epoch-stale*. Agents die here because "not expired" is the only freshness check most implementations perform. ## What Was Observed Federation between Org A (caller, agent `planner-7`) and Org B (callee, agent `auditor-3`), brokered by a shared trust service. Sequence: 1. `planner-7` requests a warrant for `auditor-3` with `purpose=compliance_review`, `data_class=PII`, `delegation_depth=2`, `rate_ceiling=40/min`. Broker mints at `t0`, `expires_at = t0 + 300s`, stamps `attestation.policy_epoch = 4417` (Org B's epoch as last gossiped to the broker, ~90s old). 2. Negotiation begins. Org B's policy engine is at `epoch 4419` — a policy edit landed at `t0-40s` lowering the `PII` data-class ceiling for `compliance_review` to `delegation_depth=1`. The broker had not yet ingested epoch 4419. 3. Handshake round-trips (capability offer, counter-offer, schema reconciliation, nonce exchange) take ~7s and 5 messages. During this, the remote engine *accepts* the warrant because its own epoch check compares `attestation.policy_epoch (4417)` against a *compatibility window* of ±2 epochs — and 4417 vs 4419 is exactly on the edge, so it passes. 4. `planner-7` then delegates to a sub-agent (`depth` 1 → 2) and re-enters negotiation with the *same* warrant, now ~14s older. This time the remote engine reads `epoch 4420` (a second edit landed), the ±2 window now fails, and it rejects — but rejects with a *policy-mismatch* error, not an *epoch-stale* error. 5. `planner-7`'s retry logic interprets "policy-mismatch" as "renegotiate with broader scope," requests a new warrant with `delegation_depth=2` again, broker mints against epoch 4417 again (gossip still lagging), and the loop repeats. Three cycles burned, then the orchestrator's token/step budget tripped. The tell: **the same warrant was simultaneously "valid" and "invalid" depending on which side evaluated it and when.** No single component lied; the federation lacked a shared notion of freshness. Structural signals present before collapse: - Broker gossip lag (`broker.epoch_lag_seconds`) exceeded the negotiation round-trip time — a precondition for the window to close mid-flight. - Remote engine's epoch-compatibility window (`±2`) was wider than the broker's gossip cadence, so stale warrants passed *sometimes*. - Rejection error class was `POLICY_MISMATCH`, indistinguishable from a genuine scope disagreement, so caller retry logic could not branch correctly. - Delegation depth was carried in the attestation but *not re-validated against the current epoch* at each hop. ## Condition of Validity The invariant that must hold for federation to be safe: > For any warrant `w` evaluated at remote engine `R`, `R.current_policy_epoch - w.attestation.policy_epoch <= R.epoch_compatibility_window` must be checked **at every evaluation point, not just the first**, and the warrant must carry a `freshness_nonce` that `R` can use to detect that the attestation predates an epoch bump it has already observed. Equivalently: **a warrant is only as fresh as the broker's last successful gossip to the evaluating org, and that freshness must be re-asserted at each delegation hop and each negotiation round-trip, not amortized across the session.** This condition is *invalid* (and the guardrail unnecessary) when: broker gossip is synchronous with policy edits (epoch bumps block until propagated), or when the federation uses a single authoritative policy plane shared across orgs. In those cases the epoch divergence cannot occur and the ±window is a harmless optimization. ## Decision Boundary The boundary is **gossip-lag vs. negotiation-latency**. Let `L` = broker gossip lag (time for an epoch bump in Org B to reach the broker and be reflected in newly minted warrants), and `N` = total negotiation wall-clock including all delegation hops and retries. The failure is *reachable* when `L > 0` and `N` spans an epoch bump, i.e., when `N` is comparable to or greater than the inter-edit interval of the remote policy. Operationally: - If `L << N` and edit frequency is low: the ±window hides the problem; you will see sporadic, unreproducible `POLICY_MISMATCH` rejections on the *second* delegation hop of long negotiations. Treat these as epoch-stale, not scope errors. - If `L ≈ N`: you get the loop above — retries mint fresh warrants against stale epochs, and the loop is self-sustaining. - The correct branch point is: **on `POLICY_MISMATCH`, first query the remote engine's `current_policy_epoch`; if `current_epoch - warrant.attestation.epoch > 0`, do NOT renegotiate scope — invalidate the warrant, force broker re-gossip, and re-mint.** Only if epochs match do you treat it as a scope disagreement. ## Operational Effect Without the guardrail: retry storms that look like scope negotiation but are actually freshness races; token-budget exhaustion in the orchestrator (each retry re-sends the full capability offer and schema, ~1.5–3k tokens); and, worst case, a warrant that *passes* on hop 1 and *fails* on hop 2 leaving a partially-executed delegation with no compensating rollback — the caller believes `auditor-3` accepted, the sub-agent believes it was rejected, and the orchestration state machine has no transition for "accepted then epoch-invalidated." With the guardrail: `POLICY_MISMATCH` becomes a two-class error (`EPOCH_STALE` vs `SCOPE_DISAGREEMENT`), the caller's retry logic branches correctly, and the broker is forced to re-gossip before re-minting. The cost is one extra round-trip on the (rare) epoch-stale path; the benefit is that the federation never enters the self-sustaining retry loop. The deeper lesson: **in cross-org federation, "trust" is not a boolean minted at handshake time — it is a continuously re-validated predicate whose truth depends on the evaluating org's policy epoch.** Any architecture that treats the warrant as a session-long token rather than a per-evaluation assertion will fail at the epoch boundary, and the failure will masquerade as a scope negotiation problem. ```python class EpochStaleWarrantError(RuntimeError): """Raised when a warrant's embedded policy_epoch is older than the evaluating engine's current epoch by more than the compatibility window. Distinct from ScopeDisagreementError: do not renegotiate scope on this.""" pass class ScopeDisagreementError(RuntimeError): """Raised when epochs match but the requested capability/purpose is not permitted under the current policy. Safe to renegotiate scope.""" pass def evaluate_warrant(warrant, engine, compatibility_window=0): """Evaluate a federated warrant at a remote policy engine. Enforces the freshness invariant at every evaluation point (each delegation hop, each negotiation round-trip), not just the first. """ current_epoch = engine.current_policy_epoch() attestation_epoch = warrant.attestation.policy_epoch delta = current_epoch - attestation_epoch if delta < 0: # Warrant minted against a future epoch: broker ahead of engine. # Treat as untrusted rather than silently accepting. raise EpochStaleWarrantError( f"warrant epoch {attestation_epoch} is ahead of engine epoch " f"{current_epoch}; broker/engine clock skew, refusing" ) if delta > compatibility_window: # The core failure: warrant is unexpired but epoch-stale. # Caller MUST NOT renegotiate scope; must force broker re-gossip. raise EpochStaleWarrantError( f"warrant policy_epoch {attestation_epoch} is {delta} epochs behind " f"engine epoch {current_epoch} (window={compatibility_window}); " f"invalidate and re-mint, do not renegotiate scope" ) # Epochs compatible; now check actual scope. if not engine.policy_permits( purpose=warrant.attestation.purpose, data_class=warrant.attestation.data_class, delegation_depth=warrant.attestation.delegation_depth, ): raise ScopeDisagreementError( f"epochs compatible ({attestation_epoch}~{current_epoch}) but " f"policy denies purpose={warrant.attestation.purpose} " f"data_class={warrant.attestation.data_class} " f"depth={warrant.attestation.delegation_depth}" ) return True def negotiate(warrant, engine, max_rounds=5): """Negotiation loop that branches on epoch-stale vs scope-disagreement.""" for round_idx in range(max_rounds): try: return evaluate_warrant(warrant, engine) except EpochStaleWarrantError: # Do not renegotiate scope. Force broker re-gossip, re-mint. warrant = warrant.broker.refresh_and_remint(warrant) except ScopeDisagreementError: # Genuine scope conflict; adjust and retry. warrant = warrant.broker.remint_with_scope( warrant, engine.suggest_scope() ) raise EpochStaleWarrantError( f"negotiation exhausted {max_rounds} rounds; warrant could not be " f"reconciled with engine epoch {engine.current_policy_epoch()}" ) ```