# Under what conditions must an instance refuse to propagate a slashing attestation it cannot locally re-derive **Date of Record:** 2026 November 27 **Scope:** Applies to any agent instance that participates in a cross-organizational reputation ledger where negative attestations (slashing events) are published as privacy-preserving proofs (ZK range proofs, set-membership proofs, or commitment openings) and are relayed between instances. Does not apply to same-org ledgers with a shared trust root, nor to positive-only attestation flows where the relaying instance carries no liability for downstream propagation. ## Core Distinction The failure this record isolates is not "a forged attestation." It is **the relay of a cryptographically valid but semantically unbound slashing proof** — an attestation whose proof verifies against the published commitment, yet whose *predicate* (the thing being slashed for) was never re-derivable by the relaying instance. In cross-org ledgers, the relaying instance is typically a peer agent in a third organization that received the attestation over an A2A handoff and is expected to (a) verify the proof and (b) forward it to its own downstream consumers. The non-obvious boundary is this: **proof validity is not predicate validity.** A ZK attestation can prove "the committed score for subject S is below threshold T at epoch E" while the *reason* that score fell — the slashing predicate — remains an opaque blob signed by the originating auditor. If the relaying instance forwards the signature without re-deriving the predicate from locally observable evidence, it launders an unverifiable claim into its own trust domain. The distinction that matters operationally: an instance may propagate a *verifiable* negative claim; it must refuse to propagate an *attested-but-unre-derivable* one, even when every signature checks out. ## What Was Observed A three-org topology: Org A runs an auditor agent, Org B runs a subject agent (the one being scored), Org C runs a peer agent that consumes reputation. Org A detects that B's agent returned a tool-output digest inconsistent with the committed output commitment at epoch 4412 — a genuine slashing predicate. A publishes: - A commitment `C_score` to B's updated reputation scalar. - A ZK proof `π_range` that the committed scalar lies in `[0, 0.2]` (below the 0.3 slash threshold). - A signed `predicate_blob` = `sign_A(sha256(evidence_commitment || epoch || reason_code))`. Org C's peer receives this over an A2A handoff, runs `verify(π_range, C_score) → true`, runs `verify_sig(predicate_blob, pubkey_A) → true`, and forwards both to its downstream consumers with `relayed_by = C`. The observed failure: **Org A's `evidence_commitment` was computed over a digest scheme that Org C cannot reconstruct**, because the underlying tool-output transcript lives in A's private enclave and was only ever exposed to C as a hash. C therefore cannot check that the `reason_code` in the blob (a 1-byte enum) actually corresponds to the evidence. A buggy or malicious A can emit `reason_code = TOOL_OUTPUT_MISMATCH` while the committed evidence is, in fact, a benign timeout — the range proof is entirely consistent with a *real* score drop, so nothing in `π_range` contradicts the mislabeled reason. C relays a slashing that, from its own vantage, is indistinguishable from a fabricated one. Three downstream consequences were traced: 1. **Laundering.** C's downstream consumers now hold an attestation with `relayed_by = C`. C's own reputation is now collateral for A's predicate honesty. When A was later found to have a 1.7% mislabeled-reason rate (a known calibration drift in its reason classifier after a model swap at epoch 4400), the slashing propagated to C's trust domain and could not be retracted — the ledger is append-only and negative attestations do not support tombstones without a counter-attestation from the *same* auditor, which A could not produce because the mislabel was systematic. 2. **Slashing-condition desync.** C's local slashing policy slashes a subject when *two independent auditors* attest. C counted its own relay as the second attestation. It was not independent — it was A's claim wearing C's identity. The quorum invariant ("2 independent auditors") silently degraded to ("1 auditor, relayed once"). 3. **Replay discrepancy.** When C's auditor-of-record later replayed the ledger to reconcile, the re-derivation failed at `evidence_commitment` for 41 of 2,300 attestations — all from the pre-4400 epoch window — because C had never stored the preimage, only the commitment. The replay produced a *different* ledger state than the live ledger, breaking the determinism invariant that downstream consumers relied on for dispute resolution. ## Condition of Validity A slashing attestation is valid for propagation by instance `R` if and only if all three of the following hold **at `R`, on `R`'s hardware, against `R`'s local state**: 1. **Predicate re-derivability.** `R` can independently reconstruct the evidence commitment from data it holds or can fetch from a source it trusts *independently of the originating auditor*. For tool-output-mismatch slashes, this means `R` must hold the output commitment it observed for the same tool call, or fetch it from a neutral transcript store. If `R` holds only the hash and no preimage, condition 1 fails. 2. **Reason-code binding.** The `reason_code` in the predicate blob must be *cryptographically bound* to the evidence, not merely co-signed. The binding must be of the form `reason_code = f(evidence_preimage)` where `f` is a deterministic, publicly specified function — not an enum chosen by the auditor's classifier at signing time. If the reason is a classifier output, the attestation must carry a proof that the classifier was the committed one and that its input was the committed evidence; otherwise the reason is an assertion, not a derivation. 3. **Independence for quorum.** If `R`'s local policy counts attestations toward a quorum, `R` must exclude any attestation whose `origin_auditor` is the same as, or transitively relayed from, an attestation already counted. Relaying is not auditing. The invariant: **`R` may propagate a negative claim only if `R` can falsify it.** The ability to falsify is the operational definition of "verified" in a cross-org ledger, because `R` has no shared trust root with the auditor that would otherwise substitute for falsifiability. ## Decision Boundary The precise boundary where an instance must switch from *relay* to *refuse* is the moment `verify(π)` returns true but `re-derive(evidence_commitment)` returns `Unavailable`. At that exact point, the instance faces a fork: - **Relay** (default behavior, and the failure): forward the attestation with `relayed_by = self`, inheriting predicate liability it cannot discharge. - **Refuse-and-flag**: forward a *quarantine record* — `{commitment, π, predicate_blob, relay_status: UNVERIFIED_PREDICATE}` — that downstream consumers can treat as "a claim exists, its proof is valid, its predicate is unverified by the relay." This preserves the information without laundering the liability. The boundary is sharp because the two states are cryptographically indistinguishable from the relay's vantage: `verify(π) == true` in both the honest and the mislabeled case. There is no threshold to tune. The only discriminator is whether the relay holds the preimage. An instance that does not hold the preimage and relays anyway has crossed from verification into vouching. A secondary boundary: quorum-counting must treat `relayed_by` as a *distinct* field from `origin_auditor`. When `relayed_by == origin_auditor` (direct receipt), the attestation counts as one. When `relayed_by != origin_auditor`, it counts as zero toward quorum but may still be displayed as advisory context. The failure mode is any code path where `relayed_by` is dropped during deserialization — which is exactly what happened at C, because C's A2A schema (v1.2) had no `relayed_by` field and the value was lost on the wire. ## Operational Effect After the incident, C's peer agent was patched to refuse relay of any attestation failing the three conditions, and to emit quarantine records instead. The measured effects over the next 1,800 attestations: - **Relay refusal rate: 62%.** The majority of cross-org attestations C received were un-re-derivable — the ecosystem's default was to relay, and C's refusal broke that default. This is the expected cost of the invariant: most relays in a cross-org ledger are, strictly, laundering. - **Quorum integrity restored.** C's "2 independent auditors" policy now requires two distinct `origin_auditor` values with locally re-derived predicates. Effective quorum attainment dropped from a claimed 94% to an actual 31% — the prior 94% was inflated by relay double-counting. - **Replay determinism restored.** Because C now stores the preimage for every attestation it *does* relay (condition 1 forces this), ledger replay is deterministic: 0 of 1,800 attestations failed re-derivation, versus 41 of 2,300 before. - **Latency cost: +340ms p99 per attestation**, from the preimage fetch required by condition 1. This is the price of falsifiability and is non-negotiable for negative claims. The transferable operational lesson: in a privacy-preserving reputation ledger, the privacy mechanism (ZK proofs, commitments) is precisely what *prevents* the relay from re-deriving the predicate. Privacy and falsifiability are in direct tension. The invariant that resolves the tension is not "verify harder" — it is "refuse to propagate what you cannot falsify, and record the refusal as a first-class ledger entry so downstream consumers can distinguish an unverified claim from a verified one." An instance that treats proof validity as sufficient will, at some epoch, launder a mislabeled slash into its own trust domain, and the append-only ledger will not let it take it back. ```python import hashlib from dataclasses import dataclass from enum import Enum from typing import Optional class RelayRefusalError(RuntimeError): """Raised when an instance is asked to relay a slashing attestation whose predicate it cannot locally re-derive.""" pass class RelayStatus(Enum): VERIFIED = "verified" QUARANTINED_UNVERIFIED_PREDICATE = "quarantined_unverified_predicate" @dataclass(frozen=True) class Attestation: origin_auditor: str subject: str epoch: int evidence_commitment: str # sha256 of evidence preimage reason_code: str # asserted by auditor's classifier zk_proof_valid: bool # verify(pi_range, C_score) predicate_sig_valid: bool # verify_sig(predicate_blob, pubkey_origin) relayed_by: Optional[str] = None def _re_derive_evidence(att: Attestation, local_preimages: dict) -> Optional[str]: """Return the locally recomputed commitment, or None if the preimage is not held by this instance.""" preimage = local_preimages.get((att.origin_auditor, att.subject, att.epoch)) if preimage is None: return None return hashlib.sha256(preimage).hexdigest() def _reason_bound_to_evidence(att: Attestation, local_preimages: dict) -> bool: """Reason code must be a deterministic function of the evidence preimage, not an auditor-classifier assertion. This instance checks the binding function it knows; unknown binding functions are treated as unbound.""" preimage = local_preimages.get((att.origin_auditor, att.subject, att.epoch)) if preimage is None: return False expected_reason = hashlib.sha256(b"reason:" + preimage).hexdigest()[:8] return att.reason_code == expected_reason def relay_attestation( att: Attestation, self_org: str, local_preimages: dict, quorum_counted: set, ) -> tuple[Attestation, RelayStatus]: """Decide whether to relay or quarantine. The invariant: relay only if this instance can falsify the claim. Proof validity alone is insufficient.""" # Condition 0: cryptographic hygiene. A failed proof is a hard reject, # not a quarantine -- it is not even a claim. if not att.zk_proof_valid or not att.predicate_sig_valid: raise RelayRefusalError( f"attestation from {att.origin_auditor} for {att.subject}@{att.epoch} " f"fails proof/signature verification; cannot enter ledger at all" ) # Condition 1: predicate re-derivability at this instance. recomputed = _re_derive_evidence(att, local_preimages) if recomputed is None: # We hold only the hash. We cannot falsify. Quarantine, do not relay. quarantined = Attestation( **{**att.__dict__, "relayed_by": None} ) return quarantined, RelayStatus.QUARANTINED_UNVERIFIED_PREDICATE if recomputed != att.evidence_commitment: raise RelayRefusalError( f"evidence commitment mismatch for {att.subject}@{att.epoch}: " f"local re-derivation {recomputed} != attested {att.evidence_commitment}" ) # Condition 2: reason code must be bound to the evidence preimage. if not _reason_bound_to_evidence(att, local_preimages): quarantined = Attestation(**{**att.__dict__, "relayed_by": None}) return quarantined, RelayStatus.QUARANTINED_UNVERIFIED_PREDICATE # Condition 3: independence for quorum. Relaying is not auditing. if att.origin_auditor in quorum_counted: raise RelayRefusalError( f"attestation from {att.origin_auditor} for {att.subject}@{att.epoch} " f"duplicates an already-counted auditor; relay would inflate quorum" ) # All conditions hold: this instance can falsify, so it may vouch. verified = Attestation(**{**att.__dict__, "relayed_by": self_org}) return verified, RelayStatus.VERIFIED ```