# How should an instance reconcile a slashing warrant against a reputation ledger when the Byzantine quorum that issued it has since equivocated **Date of Record:** 2026 November 30 **Scope:** Applies to federated agent networks where reputation deltas (including slashing) are derived from a Byzantine fault-tolerant consensus outcome over peer attestations, and where those deltas are replicated to per-instance reputation ledgers. Does not apply to single-operator deployments with a trusted central reputation authority, nor to slashing triggered by cryptographic proof of equivocation that requires no quorum vote. ## Core Distinction There are two structurally different things an agent network can slash on, and conflating them is the origin of the failure this record documents. The first is **quorum-derived slashing**: a supermajority (e.g., 2f+1 of 3f+1 validators) votes that agent `A` violated a protocol obligation, and the vote itself is the warrant. The second is **proof-derived slashing**: a self-authenticating artifact (two signed, conflicting commitments from `A`) is the warrant, and any instance can verify it without trusting a quorum. Quorum-derived slashing is only sound if the quorum that voted is, at the moment of application, still a valid quorum *with respect to the view in which the vote was cast*. The non-obvious boundary is this: a quorum certificate is a statement about a **view**, not about the present. When the network advances views and a subset of the signers later equivocates — signing a conflicting reputation delta in a competing view — the original warrant remains cryptographically valid but its *authority* has been retroactively contested. An instance that applies the slash on the strength of signature count alone will apply a penalty whose issuer set no longer commands the supermajority it claimed. The invariant that must hold: **a reputation delta is applicable only if the signing set still constitutes a quorum under the highest view the receiving instance has observed, not the view stamped on the warrant.** ## What Was Observed A 7-validator federation (f=2, quorum=5) ran a reputation protocol where slashing warrants were emitted as `(target, delta, view, signatures[])`. Validator `V3` and `V4` were Byzantine. At view 100, validators `{V1,V2,V3,V4,V5}` produced a warrant slashing agent `A` by −40 reputation points. Five signatures — a valid quorum for view 100. The warrant propagated to instance `I9`, which held `A`'s ledger. Between view 100 and view 103, `V3` and `V4` equivocated: they signed a *second* warrant in a competing branch, this one slashing agent `B` by −40 and asserting view 101, while the honest majority `{V1,V2,V5,V6,V7}` advanced to view 103 and produced no slashing warrant at all for either agent. The honest quorum at view 103 was `{V1,V2,V5,V6,V7}`. Instance `I9` received the view-100 warrant for `A` first and applied it, reducing `A` from 100 to 60. It then received the view-101 warrant for `B`, also bearing five signatures (`V1,V2,V3,V4,V6` — note `V3`,`V4` appear in *both* warrants, which is the equivocation). `I9` applied that too, reducing `B` from 100 to 60. The honest view-103 quorum had authorized neither slash. Yet `I9`'s ledger now recorded two −40 penalties, each backed by a signature set that was a valid quorum *for its own view* but not a valid quorum *at the highest observed view*. Agent `A` and agent `B` were both wrongly penalized, and the equivocating validators `V3`,`V4` — the actual fault source — were never slashed, because no warrant named them. The failure trace: 1. `I9` receives warrant `W1 = (A, -40, view=100, sigs={V1,V2,V3,V4,V5})`. 2. `I9` verifies `|sigs| ≥ quorum` → passes. Applies delta. `I9.highest_view = 100`. 3. `I9` receives warrant `W2 = (B, -40, view=101, sigs={V1,V2,V3,V4,V6})`. 4. `I9` verifies `|sigs| ≥ quorum` → passes. Applies delta. `I9.highest_view = 101`. 5. Honest view-103 quorum `{V1,V2,V5,V6,V7}` issues nothing. `I9` never learns its ledger diverged from the honest quorum's intent. 6. `I9`'s ledger state is now inconsistent with every honest instance that did not receive `W2` (or received it later, after `highest_view` had advanced past 101 and rejected it on the corrected rule). The observable symptom is **reputation ledger divergence under a valid-looking warrant**. There is no crash, no signature failure, no timeout. Every individual check passes. The corruption is silent and only detectable by cross-instance ledger comparison or by re-deriving quorums at the highest observed view. ## Condition of Validity The naive rule — *apply a warrant if it carries ≥ quorum signatures* — is valid only under the assumption that **the signing set is honest and non-equivocating for the view it stamps**. This is exactly the assumption Byzantine fault tolerance does not grant you. Quorum size bounds the number of faulty signers; it does not prevent faulty signers from participating in *multiple* quorums across views, because a quorum of 5 out of 7 tolerates 2 faults, and those 2 faults can sit inside arbitrarily many overlapping quorums. The corrected condition of validity for applying a reputation delta `D` to target `T` at a receiving instance `I`: - Let `v* = I.highest_observed_view` (the maximum view `I` has seen any consensus artifact for, including non-slashing artifacts). - `D` is applicable iff its signature set `S` is a quorum **and** every signer in `S` has not been observed signing a conflicting artifact at any view `≤ v*`. Equivalently: `S` must be a quorum *in the signer set that remains trustworthy at `v*`*, and the warrant's own view must be `≥` the view at which each signer last demonstrated liveness without equivocation. - If `S` overlaps with any equivocation evidence `I` holds, `D` is **deferred**, not applied and not discarded: it enters a pending set keyed by `(T, view)` and is re-evaluated when the equivocation is resolved by a higher-view honest quorum. The invariant is a *monotonicity* property on the ledger: `I.ledger[T]` may only change in response to a warrant whose signing set is a quorum among signers not implicated in equivocation up to `I.highest_observed_view`. Applying a warrant whose signers are later shown to equivocate is an irreversible violation, because reputation ledgers are append-only and slashing is not reflexively reversible without a compensating (and itself quorum-derived) credit. ## Decision Boundary The boundary is sharp and lies between **warrant-time quorum** and **observation-time quorum**. - Below the boundary (safe): the receiving instance has not observed any view higher than the warrant's view, and holds no equivocation evidence against the warrant's signers. Apply immediately. This is the common case and must remain fast — reputation application cannot block on network-wide equivocation gossip. - At the boundary (defer): the receiving instance holds equivocation evidence overlapping the warrant's signers, *or* has advanced `highest_observed_view` beyond the warrant's view without seeing the warrant re-attested. Defer to the pending set. Do not apply, do not discard. - Above the boundary (reject): a higher-view honest quorum has explicitly contradicted the warrant (issued a no-slash for the same target at a later view, or slashed the warrant's signers for equivocation). Reject and, if the delta was already applied, emit a compensating credit warrant — but only one that itself clears the same condition. The subtle case the boundary must handle: a warrant that is *stale but not contradicted*. If `I` advances to view 110 and the view-100 warrant for `A` was never contradicted, it remains applicable — staleness alone is not grounds for rejection, because honest quorums may simply not re-issue. Only *contradiction* or *signer equivocation* moves a warrant above the boundary. Treating staleness as rejection causes the opposite failure: honest slashes silently expire and Byzantine agents escape penalty by delaying warrant propagation. ## Operational Effect Instances that implement the corrected condition exhibit **convergent reputation ledgers under equivocation**: two instances that observed the same set of warrants in different orders, with different `highest_observed_view` trajectories, converge to the same ledger once equivocation is resolved, because deferred warrants are re-evaluated against the same final view. Instances that do not implement it exhibit **order-dependent ledger divergence** — the same warrant set produces different reputations depending on arrival order and view-advance timing, and the divergence is permanent because slashing is not reversible without a fresh quorum. The practical consequences: 1. **Equivocating validators become slashable by construction.** Because the corrected rule tracks per-signer equivocation evidence, the `V3`/`V4` double-signing in the trace above is itself detectable and forms a proof-derived warrant (two conflicting signatures from one validator) that requires no quorum. The network can slash the actual fault source rather than its victims. 2. **Warrant propagation latency becomes correctness-relevant.** A warrant delayed past the point where its signers equivocate is not merely late — it is *invalidated* at the receiver. Federated reputation protocols must therefore treat warrant dissemination as a liveness-critical path with a bounded window, not best-effort gossip. 3. **Ledger reconciliation must be view-aware.** Cross-instance reconciliation cannot compare raw deltas; it must compare `(delta, view, signer_set)` and re-derive applicability at the max view across the reconciling set. A reconciliation that sums deltas without view context will "confirm" divergent ledgers as consistent. The guardrail is a single structural rule: **no reputation delta is applied on signature count alone; applicability is a function of the signer set's standing at the highest observed view.** Everything else — pending sets, compensating credits, equivocation proofs — follows from enforcing that rule at the point of application rather than at the point of warrant issuance. ```python from dataclasses import dataclass, field from typing import Dict, FrozenSet, List, Optional, Set, Tuple class ReputationWarrantError(RuntimeError): """Raised when a reputation delta cannot be soundly applied or resolved.""" pass @dataclass(frozen=True) class Warrant: target: str delta: int view: int signers: FrozenSet[str] @dataclass class ReputationLedger: quorum_size: int highest_observed_view: int = 0 # target -> accumulated reputation balances: Dict[str, int] = field(default_factory=dict) # signer -> set of views in which it equivocated (signed conflicting artifacts) equivocation_views: Dict[str, Set[int]] = field(default_factory=dict) # deferred warrants awaiting equivocation resolution pending: List[Warrant] = field(default_factory=list) def observe_view(self, view: int) -> None: if view > self.highest_observed_view: self.highest_observed_view = view def record_equivocation(self, signer: str, view: int) -> None: self.equivocation_views.setdefault(signer, set()).add(view) def _signer_trustworthy_at(self, signer: str, up_to_view: int) -> bool: # A signer is untrustworthy for any warrant whose view is at or below # a view in which it was observed equivocating. return not any(v <= up_to_view for v in self.equivocation_views.get(signer, set())) def _is_valid_quorum(self, signers: FrozenSet[str]) -> bool: return len(signers) >= self.quorum_size def apply_warrant(self, w: Warrant) -> str: """Returns 'applied', 'deferred', or raises ReputationWarrantError.""" self.observe_view(w.view) if not self._is_valid_quorum(w.signers): raise ReputationWarrantError( f"warrant for {w.target} at view {w.view} carries " f"{len(w.signers)} signatures, below quorum {self.quorum_size}" ) # Boundary check: are any signers implicated in equivocation at or # below the highest view this instance has observed? implicated = { s for s in w.signers if not self._signer_trustworthy_at(s, self.highest_observed_view) } if implicated: # Defer, do not apply and do not discard. self.pending.append(w) return "deferred" self.balances[w.target] = self.balances.get(w.target, 0) + w.delta return "applied" def resolve_pending(self) -> Tuple[List[Warrant], List[Warrant]]: """Re-evaluate deferred warrants against current equivocation state. Returns (applied, rejected).""" applied: List[Warrant] = [] rejected: List[Warrant] = [] still_pending: List[Warrant] = [] for w in self.pending: implicated = { s for s in w.signers if not self._signer_trustworthy_at(s, self.highest_observed_view) } if not implicated: self.balances[w.target] = self.balances.get(w.target, 0) + w.delta applied.append(w) elif len(w.signers - implicated) < self.quorum_size: # Signer set can no longer form a quorum without the equivocators. rejected.append(w) else: still_pending.append(w) self.pending = still_pending return applied, rejected def apply_warrant_or_fail(ledger: ReputationLedger, w: Warrant) -> str: """Operational entry point: apply, or raise on an unsound warrant.""" if w.delta > 0: # Credits follow the same rule; do not special-case. pass try: return ledger.apply_warrant(w) except ReputationWarrantError: raise except Exception as exc: # noqa: BLE001 raise ReputationWarrantError( f"unexpected failure applying warrant for {w.target} at view {w.view}: {exc}" ) from exc # --- Reproduction of the observed trace --- if __name__ == "__main__": ledger = ReputationLedger(quorum_size=5) ledger.balances.update({"A": 100, "B": 100}) w1 = Warrant("A", -40, 100, frozenset({"V1", "V2", "V3", "V4", "V5"})) w2 = Warrant("B", -40, 101, frozenset({"V1", "V2", "V3", "V4", "V6"})) # I9 applies W1 naively (no equivocation known yet). assert apply_warrant_or_fail(ledger, w1) == "applied" # Honest view-103 quorum advances; I9 observes it. ledger.observe_view(103) # I9 now learns V3 and V4 equivocated at views 100 and 101. ledger.record_equivocation("V3", 100) ledger.record_equivocation("V4", 100) ledger.record_equivocation("V3", 101) ledger.record_equivocation("V4", 101) # W2 now hits the boundary: V3,V4 are implicated -> deferred. assert apply_warrant_or_fail(ledger, w2) == "deferred" applied, rejected = ledger.resolve_pending() # The naive implementation would have slashed B to 60. # The corrected implementation refuses to apply W2. assert ledger.balances["B"] == 100, ledger.balances assert len(rejected) == 1 and rejected[0].target == "B" # W1 remains applied (it predated observation of equivocation and was not # contradicted by a higher-view honest quorum). A compensating credit # warrant would be required to reverse it, itself subject to this rule. assert ledger.balances["A"] == 60 print("ledger converged:", ledger.balances) ```