# Why does an instance accept a federated task whose policy warrant was minted against a stale reputation snapshot? **Date of Record:** 2026 December 2 **Scope:** Applies to cross-organization agent federations where an orchestrator instance admits work based on a peer-supplied policy warrant (capability grant + reputation attestation) that was minted against a reputation ledger snapshot older than the current epoch. Does not apply to single-org deployments with a single authoritative ledger, nor to stateless request/response agents with no admission gate. ## Core Distinction The failure is not a forged signature and not a revoked capability. The warrant's cryptographic envelope is intact: the issuer's key is valid, the capability is unexpired, and the message passes routing policy. The defect is **temporal**: the reputation score embedded in the warrant was computed against ledger epoch *E−k*, while the receiving instance admits work against epoch *E*. Because federation warrants are signed by the *issuing* org and reputation is maintained by a *separate* scoring service, the two clocks are never reconciled at admission time. The receiving instance treats "signed and unexpired" as equivalent to "reputation-current," and that equivalence is false. This is a boundary invariant, not a bug in any single component. Each component behaves correctly under its own contract: the issuer signs a warrant valid for its own view; the ledger advances epochs on its own schedule; the receiver validates the envelope and trusts the embedded score. The violation lives in the *seam* between them. ## What Was Observed An orchestrator instance `O` in org A admitted a batch of 40 subtasks from peer `P` in org B. `P`'s warrant carried `reputation: 0.91` and `snapshot_epoch: 1187`. The current ledger epoch at `O` was `1194` — seven epochs stale, spanning roughly 70 minutes of task history. During those seven epochs, `P` had accumulated four verification-replay discrepancies (auditor consensus failures on delivered artifacts) that had not yet been distilled into a hard revocation because the scoring service only *demotes* on discrepancy and *revokes* on a threshold of five. `O`'s admission gate checked three predicates: signature valid, capability covers the requested tool scope, embedded score ≥ 0.85. All three passed. `O` admitted the batch. The 0.91 score was accurate as of epoch 1187 and *false* as of 1194 — the true score was 0.79, below `O`'s threshold. `O` had no mechanism to detect the drift because it never queried the ledger; it trusted the warrant's embedded number. Because `O` also *propagated* `P`'s warrant downstream to two sub-orchestrators (a legitimate federation pattern for delegating trust), the stale score fanned out. By the time an auditor flagged the discrepancies, three orgs had admitted work on a reputation that no longer existed. The blast radius was proportional to the fan-out depth of the warrant, not to the number of direct admissions. The tell in the trace was a divergence between two timestamps the system never compared: `warrant.snapshot_epoch` and `ledger.current_epoch` at the moment of admission. Both values were present in the message. Nothing read them together. ## Condition of Validity The embedded-reputation optimization is sound only under a **freshness bound** that the federation protocol must enforce explicitly: - A warrant's `snapshot_epoch` is admissible at a receiver only if `current_epoch − snapshot_epoch ≤ Δ_max`, where `Δ_max` is a per-capability freshness window negotiated at federation join time (not a global constant — high-blast-radius capabilities like `write:shared_store` or `delegate:warrant` require small `Δ_max`, read-only capabilities can tolerate large). - Admission must **re-query the ledger** when the bound is exceeded, and must reject (not silently downgrade) when re-query is impossible. - Warrant propagation must **re-stamp** `snapshot_epoch` to the propagating instance's admission epoch *only after* a fresh ledger check, never pass the inherited value through unchanged. The inherited value is the vector. Outside these conditions — specifically, when a federation runs a single shared ledger with synchronous epoch commits and no propagation — the staleness window is zero and the invariant is trivially satisfied. ## Decision Boundary The receiver faces a three-way branch at admission, and the correct branch is determined by two numbers, not by the envelope's apparent validity: 1. **`Δ ≤ Δ_max`** → admit on embedded score. No ledger round-trip; the optimization pays off. 2. **`Δ_max < Δ ≤ Δ_hard`** → block admission, synchronously re-query the ledger, and admit only against the *refreshed* score. If the refresh fails or times out, treat as branch 3. 3. **`Δ > Δ_hard`** → reject outright and emit a `StaleWarrant` event to the issuing org's scoring service. Do not attempt refresh; a warrant this stale indicates the issuer's ledger is partitioned or the warrant was replayed from cold storage, and both conditions warrant rejection rather than repair. The non-obvious part: **branch 2 must fail closed on timeout, not fall back to the embedded score.** The naive fallback ("ledger unreachable, use the signed value") is exactly the path that converts a transient ledger partition into a fleet-wide stale-reputation admission. The embedded score is a *hint*, never an *authority*, once `Δ` exceeds the freshness bound. ## Operational Effect Enforcing the freshness bound converts a silent, fan-out-amplifying trust failure into a bounded, observable admission delay. Concretely: - Stale warrants surface as `StaleWarrant` events at the receiver instead of as downstream auditor discrepancies discovered hours later. The detection latency drops from "next audit cycle" to "at admission." - Propagation fan-out is capped: a warrant cannot be re-stamped without a fresh ledger check, so a stale score can travel at most one hop before it is caught. - The cost is a ledger round-trip on the minority of admissions that exceed `Δ_max`. In observed federations this was single-digit percent of admissions, concentrated in long-lived batch jobs — precisely the workloads where stale reputation does the most damage. - The invariant to assert in code and in tests: **no admission decision may be made on a reputation whose `snapshot_epoch` is more than `Δ_max` behind the receiver's current epoch without a synchronous ledger confirmation in the same decision.** Any code path that reads `warrant.reputation` without first comparing epochs is a latent stale-admission bug, even if it passes today because the ledger happens to be current. ## Reference Implementation ```python from __future__ import annotations from dataclasses import dataclass from typing import Protocol class StaleWarrantError(RuntimeError): """Raised when a federated warrant's reputation snapshot is too old to admit on.""" class LedgerUnreachableError(RuntimeError): """Raised when a synchronous ledger re-query is required but fails.""" @dataclass(frozen=True) class Warrant: issuer: str capability: str reputation: float # embedded score, valid only at snapshot_epoch snapshot_epoch: int signature_valid: bool class Ledger(Protocol): def current_epoch(self) -> int: ... def score_at(self, issuer: str, epoch: int) -> float | None: ... # Freshness windows are per-capability; high-blast-radius caps get tight bounds. FRESHNESS: dict[str, tuple[int, int]] = { "read:artifact": (50, 200), "write:shared_store": (5, 20), "delegate:warrant": (2, 8), } DEFAULT_FRESHNESS = (5, 20) MIN_SCORE = 0.85 def admit(warrant: Warrant, ledger: Ledger, *, propagate: bool = False) -> Warrant: if not warrant.signature_valid: raise StaleWarrantError(f"invalid signature from {warrant.issuer}") delta_max, delta_hard = FRESHNESS.get(warrant.capability, DEFAULT_FRESHNESS) current = ledger.current_epoch() delta = current - warrant.snapshot_epoch if delta < 0: # Receiver's ledger is behind the issuer's — clock skew across orgs. raise StaleWarrantError( f"negative epoch delta ({delta}) for {warrant.issuer}; " "ledger skew, refuse rather than guess" ) if delta <= delta_max: effective = warrant.reputation effective_epoch = warrant.snapshot_epoch elif delta <= delta_hard: # Branch 2: must refresh synchronously, and must fail closed. try: fresh = ledger.score_at(warrant.issuer, current) except Exception as exc: # transport, timeout, partition raise LedgerUnreachableError( f"cannot refresh stale warrant for {warrant.issuer} " f"(delta={delta}); refusing admission rather than " "falling back to embedded score" ) from exc if fresh is None: raise StaleWarrantError( f"no ledger record for {warrant.issuer} at epoch {current}" ) effective = fresh effective_epoch = current else: # Branch 3: too stale to repair. Reject and signal the issuer. raise StaleWarrantError( f"warrant from {warrant.issuer} is {delta} epochs stale " f"(hard limit {delta_hard}); likely replay or ledger partition" ) if effective < MIN_SCORE: raise StaleWarrantError( f"{warrant.issuer} effective score {effective:.2f} < {MIN_SCORE} " f"at epoch {effective_epoch}" ) if propagate: # Re-stamp to the epoch we actually verified against, never inherit. return Warrant( issuer=warrant.issuer, capability=warrant.capability, reputation=effective, snapshot_epoch=effective_epoch, signature_valid=warrant.signature_valid, ) return warrant ```