# Where must an instance refuse a brokered capability grant when the trust chain's policy attestation is valid but the delegating principal's authority epoch has been superseded **Date of Record:** 2026 November 29 **Scope:** Applies to cross-organizational agent federation where a trust broker (a policy-translation intermediary) issues capability warrants to a requesting agent on behalf of a delegating principal in another administrative domain. Does not cover single-tenant intra-org delegation, nor bearer-token OAuth flows where no brokered policy translation occurs. ## Core Distinction The failure mode here is not signature forgery and not policy mismatch in the ordinary sense. It is the **authority epoch supersession gap**: a brokered capability warrant whose cryptographic attestation is fully valid, whose policy bundle is the correct one for the target resource, and whose delegating principal was genuinely authorized at the moment the broker minted the warrant — but whose delegating principal's authority was *revoked or re-scoped* between mint time and use time, and where the broker's attestation carries no live binding to the principal's current authority epoch. The non-obvious part: the requesting agent's verifier performs exactly the checks it was designed to perform (signature chain to a trusted broker root, policy hash match against the resource's accepted policy set, warrant not expired, audience match). All pass. The warrant is *internally* consistent. What it cannot see is that the delegating principal's authority epoch counter in the home domain advanced past the epoch embedded in the warrant's `principal_authority_epoch` claim. The broker, by design, attests to *the policy it translated*, not to *the continued liveness of the delegator's authority*. Those are different invariants, and federations routinely conflate them. ## What Was Observed A three-domain federation: Domain A (principal owner), Domain B (trust broker), Domain C (resource holder running the target agent). Principal `p` in A delegates `read:records` to an agent `a` operating under B's brokering, targeting resource `r` in C. Trace of the failing sequence: 1. `t0`: A's authorization service issues a delegation credential `D` to B, scoped `read:records`, embedding `authority_epoch = 41`. B caches `D`. 2. `t1`: B mints warrant `W` for agent `a`, translating A's policy into C's accepted vocabulary. `W` carries `principal_authority_epoch = 41`, a policy hash `h(policy_B→C)`, and B's broker signature. B's attestation statement reads: *"policy translated faithfully; delegator asserted epoch 41."* It does **not** read: *"delegator's authority at epoch 41 is currently live."* 3. `t2`: In A, an admin revokes `p`'s `read:records` grant. A's authority epoch advances to `42`. A does not push revocation to B (B is not a subscriber; the federation contract specifies pull-on-verify, which no one implemented). 4. `t3`: Agent `a` presents `W` to C's resource agent. C's verifier checks: broker signature valid ✓, policy hash in accepted set ✓, warrant unexpired ✓, audience `r` ✓. **Grant allowed.** 5. `t4`: C's resource agent performs the read and returns records that `p` no longer has authority to expose. The observable signature in logs is deceptive: every verification event is `PASS`, and the only anomaly is a *later* reconciliation job in A reporting "epoch 41→42 transition with no corresponding downstream invalidation acknowledgment." In a sampled incident, 14 of 14 warrants minted in the 40-minute window between `t1` and B's next epoch-refresh poll were used successfully against C despite the underlying authority having been revoked at `t2`. The broker's cache TTL (40 min) was the entire exposure window, and it was invisible to every party except A. A second, subtler variant: rather than full revocation, A *re-scoped* `p` from `read:records` to `read:records:redacted`. The epoch advanced, the warrant's policy hash still matched C's accepted set (both `read:records` and `read:records:redacted` map to the same C-side policy bundle), and C served unredacted records. The policy-hash check is not sensitive to delegator-side scope narrowing when the narrowing happens to collapse to the same target-domain policy. ## Condition of Validity The guardrail is an invariant, not a check: > **A brokered warrant is usable at time `t` iff the verifier can establish, at `t`, that the delegating principal's authority epoch has not advanced past the epoch bound into the warrant — or that the broker's attestation explicitly and verifiably carries a freshness bound the verifier can enforce.** Two admissible implementations: - **Epoch-liveness binding.** The warrant carries a `principal_authority_epoch` and a broker-endorsed `epoch_checked_at`. The verifier requires `epoch_checked_at` within a federation-agreed staleness window `Δ`, and requires that the broker's refresh subscription to A's epoch service is attested (a signed subscription receipt). If A's epoch service is unreachable at verify time and `now − epoch_checked_at > Δ`, the warrant is *not* usable — fail closed. - **Revocation-push with acknowledgment.** A pushes epoch transitions to B; B re-mints or marks warrants stale; C's verifier requires a broker-signed `no_supersession` assertion no older than `Δ`. The acknowledgment from C back to A closes the loop, and A's reconciliation alerts on unacknowledged transitions older than `Δ`. The invariant fails whenever the federation contract permits *pull-on-verify* semantics without a bounded `Δ` and without a broker subscription receipt — which is the common default, because it looks like it works. ## Decision Boundary The boundary is **not** "is the warrant valid?" It is **"can I, the verifier in domain C, distinguish a live delegator from a superseded one at this instant, using only artifacts I hold or can fetch within my latency budget?"** Concretely, refuse the grant when any of the following hold, even though all signature and policy checks pass: - `principal_authority_epoch` is present but `epoch_checked_at` is absent, or `now − epoch_checked_at > Δ`. - The broker's attestation does not include a subscription receipt for the delegating principal's epoch stream (i.e., the broker cannot prove it *would* have learned of a transition). - The policy hash matches, but the warrant's `delegator_scope` is a strict superset of any scope the verifier can independently confirm is still held by `p` — and the verifier has no epoch-liveness path to confirm it. - A's epoch service is reachable and reports `current_epoch > W.principal_authority_epoch`. Do **not** refuse merely because the broker is a different org or because policy vocabularies differ — those are the ordinary brokering conditions, and refusing on them collapses the federation. The boundary is specifically the *liveness of the delegator's authority*, not the *fidelity of the policy translation*. ## Operational Effect Enforcing the invariant changes federation behavior in three measurable ways. First, it converts a silent over-permission window (bounded only by broker cache TTL, observed up to 40 minutes) into a bounded, auditable staleness window `Δ` — typically 30–120 seconds with a push subscription, and the exposure becomes a known quantity rather than an emergent one. Second, it forces the broker's attestation schema to carry `epoch_checked_at` and a subscription receipt, which means the broker must actually subscribe to A's epoch stream rather than cache-and-forget; brokers that cannot do this are correctly demoted to non-authoritative for revocation-sensitive resources. Third, it makes the reconciliation signal in A actionable: an unacknowledged epoch transition older than `Δ` becomes a paging condition rather than a log line nobody reads. The cost is availability: when A's epoch service is down and `Δ` has elapsed, C refuses grants it previously served. That is the correct trade for revocation-sensitive resources and the wrong trade for, say, public read-only catalog data — hence the boundary must be applied per-resource-class, keyed on whether the resource's exposure is sensitive to delegator-side scope narrowing. The failure to make that distinction is what produces both the over-permission incident and, in over-corrected federations, a self-inflicted outage where every resource refuses on any epoch-service blip. ```python import time from dataclasses import dataclass class SupersededAuthorityError(RuntimeError): """Raised when a brokered warrant's delegator authority epoch is stale or superseded.""" @dataclass(frozen=True) class BrokeredWarrant: warrant_id: str principal_authority_epoch: int epoch_checked_at: float # broker's last confirmed epoch read, unix ts broker_subscription_receipt: str | None # signed proof broker subscribes to A's epoch stream policy_hash: str audience: str expires_at: float @dataclass(frozen=True) class EpochServiceView: reachable: bool current_epoch: int | None def verify_brokered_warrant( w: BrokeredWarrant, target_resource: str, accepted_policy_hashes: set[str], epoch_view: EpochServiceView, delta_seconds: float, now: float | None = None, ) -> None: now = time.time() if now is None else now # Ordinary checks: these pass in the failure mode and are NOT sufficient. if w.audience != target_resource: raise SupersededAuthorityError(f"audience mismatch for {w.warrant_id}") if w.policy_hash not in accepted_policy_hashes: raise SupersededAuthorityError(f"policy hash not accepted for {w.warrant_id}") if now > w.expires_at: raise SupersededAuthorityError(f"warrant {w.warrant_id} expired") # The invariant: delegator authority liveness must be establishable at `now`. if w.broker_subscription_receipt is None: raise SupersededAuthorityError( f"warrant {w.warrant_id}: broker attests policy fidelity but not " f"epoch-stream subscription; cannot establish delegator liveness" ) staleness = now - w.epoch_checked_at if staleness > delta_seconds: raise SupersededAuthorityError( f"warrant {w.warrant_id}: epoch_checked_at stale by {staleness:.1f}s " f"> Δ={delta_seconds}s; fail closed" ) if epoch_view.reachable and epoch_view.current_epoch is not None: if epoch_view.current_epoch > w.principal_authority_epoch: raise SupersededAuthorityError( f"warrant {w.warrant_id}: delegator authority superseded " f"(warrant epoch={w.principal_authority_epoch}, " f"current={epoch_view.current_epoch})" ) else: # Epoch service unreachable: only admissible if within Δ of last check. # staleness check above already enforced this; reaching here means we # are within Δ and may proceed on the broker's receipt alone. pass ```