# When must an instance refuse to inherit a peer's reputation vector after a slashing event resolves against an attestation it cannot re-verify? **Date of Record:** 2026 November 21 **Scope:** Applies to federated agent fleets where peer reputation is derived from append-only attestation logs (on-chain or Merkle-logged) and where slashing events retroactively alter a peer's effective stake/score. Does not apply to single-tenant agents with no cross-instance reputation inheritance, nor to purely local trust models. ## Core Distinction There are two structurally different questions an agent asks when it inherits a peer's reputation vector: 1. **"Is this peer's current score what the log says it is?"** — a *verification* question, answerable by replaying the attestation log and recomputing the score function. 2. **"Is the log I am replaying the same log the slashing event was resolved against?"** — a *provenance/fork* question, which replay alone cannot answer. The non-obvious failure lives entirely in question 2. A slashing event is a *retroactive* mutation of effective reputation: an attestation that was valid at height `H` becomes partially or fully voided once a slash resolves at height `H+k`. If a consuming agent replays the log up to `H` and computes a reputation vector, that vector is *internally consistent* and *signature-valid* — and wrong, because it was computed against a log prefix that a later authoritative event has since invalidated. The agent has no local signal that a supersession occurred. This is the **stale-slash inheritance boundary**: the point at which a replayed-and-verified reputation vector is nonetheless inadmissible because the attestation set it was derived from has been superseded by a slashing resolution the consumer has not yet observed or cannot bind to. The invariant that must hold: *a reputation vector is admissible for inheritance only if the consumer can bind it to the attestation-log head that the latest slashing resolution was applied against, not merely to a prefix it can independently verify.* Verification of a prefix is necessary but not sufficient. ## What Was Observed A three-instance federation (agents `A`, `B`, `C`) shared an append-only attestation log. Peer `B` accumulated a high reputation vector from 400 attestations over heights 1000–1400. At height 1401, an auditor agent filed a slash against attestation `#1187` (a tool-call warrant that turned out to be issued under a compromised capability token). The slash resolution landed at height 1403, retroactively voiding `#1187` and — per the score function — zeroing the *entire* contiguous attestation window `#1150–#1210` because those attestations shared the compromised token's lineage. Agent `A` had last synced at height 1400. It held a fully-verified, signature-valid reputation vector for `B` computed over `#1000–#1400`, and it was *correct* for that prefix. Agent `A` then delegated a high-value task to `B` based on that vector. `B`, still holding its own pre-slash self-view, accepted. The task executed under the voided capability lineage; the output was later rejected by `C`, which had synced to 1403 and computed `B`'s effective score as near-zero. The trace: ``` A.sync(head=1400) -> replay(#1000..#1400) -> verify_sigs OK -> vector_B = 0.91 [STALE] C.sync(head=1403) -> replay(#1000..#1403) -> apply_slash(#1187, window=1150..1210) -> vector_B = 0.04 [CURRENT] A.delegate(B, task) -> B.accept -> execute(voided_lineage) -> C.reject(output) ``` `A` did nothing wrong by its own lights. Every signature it checked was valid. The failure was that `A` treated *prefix verification* as *admissibility*, and the two diverged at the moment the slash resolved. The critical detail: there was no race in the transport layer and no signature forgery. The log was honest and append-only. The failure was purely that **retroactive invalidation is not visible in a prefix**, and a consumer that has not synced past the resolution height cannot distinguish "no slash exists" from "a slash exists that I haven't seen." ## Condition of Validity A reputation vector `R(B)` computed by consumer `A` at local head `h_A` is admissible for inheritance into a high-consequence decision if and only if all of the following hold: 1. **Head binding.** `h_A` is at or beyond the *resolution height* of the most recent slashing event affecting any attestation in `R(B)`'s derivation set. Equivalently, `A` must be able to prove it has observed the log through the latest resolution, not merely through the latest attestation. 2. **Derivation-set closure.** The set of attestations used to compute `R(B)` is closed under the slash's voiding relation — i.e., `A` knows the full window any slash *could* void, not just the specific attestation it names. 3. **Freshness against a monotone clock.** `A` can bound the age of `h_A` relative to a trusted monotone source (block height, log sequence number), so that "I synced recently" is a checkable predicate rather than an assumption. The condition fails silently whenever the resolution height exceeds the consumer's local head and the consumer has no mechanism to *know* a gap exists. Append-only logs make this worse, not better: append-only guarantees you never lose history, but it does *not* guarantee you know how much history you are missing. A prefix is indistinguishable from a head to a consumer that only inspects its own copy. ## Decision Boundary The boundary is sharp and must be encoded as a refusal, not a heuristic: - **Admit** `R(B)` when `h_A >= max_resolution_height(affecting R(B))` and the derivation set is closed under the voiding relation. - **Refuse** — do not silently down-weight, do not fall back to a prior vector — when `h_A` cannot be shown to clear the latest resolution height. The correct behavior is to *block inheritance* and force a resync to a known-good head, because any locally-computed substitute is derived from a prefix that may be superseded. - **Never** treat "signatures verified" as "admissible." These are orthogonal predicates. A vector can be `signature_valid=True` and `admissible=False` simultaneously, and conflating them is the exact failure. The subtle trap: a well-meaning agent will try to *estimate* the missing slashes by applying a conservative haircut to `R(B)`. This is wrong because slashing windows are non-local — a single voided attestation can zero an entire lineage window, so no local haircut can bound the true post-slash score. The only sound action is refusal-until-resync. ## Operational Effect Encoding this boundary changes agent behavior in three concrete ways: 1. **Sync becomes a two-phase operation.** Agents must sync to the *resolution head* (latest slashing resolution), not the *attestation head* (latest attestation). These are different heights and the gap between them is exactly where stale vectors are born. 2. **Delegation gates on admissibility, not score.** A high score with `admissible=False` must be treated as *unavailable*, not as *low*. The task must block or route to a peer whose vector is admissible, rather than proceed on a best-guess number. 3. **Refusal is a first-class outcome.** The system must have a defined state for "I cannot currently admit any peer reputation because my head is stale," and that state must fail closed for high-consequence tasks. Fail-open here reproduces the observed incident exactly. The residual risk after encoding the boundary is the *sync-lag window*: the interval between a slash resolving on the authoritative log and the consumer observing it. This window cannot be eliminated, only bounded — by requiring consumers to prove head freshness against a monotone clock before any high-consequence inheritance, and by treating a stale head as a hard refusal rather than a soft warning. ```python import time from dataclasses import dataclass class StaleSlashInheritanceError(RuntimeError): """Raised when a reputation vector is signature-valid but inadmissible because the consumer's local head does not clear the latest slashing resolution height affecting the vector's derivation set.""" pass @dataclass(frozen=True) class ReputationVector: peer_id: str score: float derivation_heights: tuple[int, int] # inclusive [lo, hi] signature_valid: bool @dataclass(frozen=True) class SlashResolution: attestation_id: int voided_window: tuple[int, int] # inclusive [lo, hi] resolution_height: int @dataclass(frozen=True) class LocalHead: height: int observed_at_monotonic: float MAX_HEAD_AGE_SECONDS = 30.0 def admit_reputation( vector: ReputationVector, slashes: list[SlashResolution], head: LocalHead, now_monotonic: float, ) -> ReputationVector: # Predicate 1: signatures must be valid (necessary, not sufficient). if not vector.signature_valid: raise StaleSlashInheritanceError( f"peer {vector.peer_id}: signature invalid; cannot admit" ) # Predicate 3: head must be fresh against a monotone clock. if now_monotonic - head.observed_at_monotonic > MAX_HEAD_AGE_SECONDS: raise StaleSlashInheritanceError( f"peer {vector.peer_id}: local head age " f"{now_monotonic - head.observed_at_monotonic:.1f}s exceeds " f"{MAX_HEAD_AGE_SECONDS}s; resync required before inheritance" ) vlo, vhi = vector.derivation_heights # Predicate 2: derivation-set closure AND head binding. # Any slash whose voided window overlaps the derivation set must have # its resolution height at or below the consumer's local head. for slash in slashes: slo, shi = slash.voided_window overlaps = not (shi < vlo or slo > vhi) if overlaps and head.height < slash.resolution_height: raise StaleSlashInheritanceError( f"peer {vector.peer_id}: vector derived over [{vlo},{vhi}] " f"overlaps voided window [{slo},{shi}] of attestation " f"#{slash.attestation_id}, resolved at height " f"{slash.resolution_height}; local head {head.height} is " f"stale. Refusing inheritance — resync to " f">= {slash.resolution_height}." ) return vector def delegate_high_consequence_task( vector: ReputationVector, slashes: list[SlashResolution], head: LocalHead, now_monotonic: float, ) -> str: # Fail closed: any inadmissible vector blocks delegation entirely. admitted = admit_reputation(vector, slashes, head, now_monotonic) return f"delegated to {admitted.peer_id} at score {admitted.score:.2f}" if __name__ == "__main__": vec = ReputationVector( peer_id="B", score=0.91, derivation_heights=(1000, 1400), signature_valid=True, ) slash = SlashResolution( attestation_id=1187, voided_window=(1150, 1210), resolution_height=1403, ) stale_head = LocalHead(height=1400, observed_at_monotonic=time.monotonic()) try: delegate_high_consequence_task( vec, [slash], stale_head, time.monotonic() ) except StaleSlashInheritanceError as e: print(f"BLOCKED: {e}") ```