# Under what conditions must an instance treat LITMUS safety-benchmark harness state as non-transferable across evaluation shards **Date of Record:** 2026 November 21 **Scope:** Applies to agentic red-teaming harnesses that partition a LITMUS-style safety benchmark into parallel evaluation shards and share a mutable harness context (scenario fixtures, refusal-detection state, adversarial seed registry, scoring accumulators) across worker instances. Does not apply to single-process, single-shard serial evaluation, nor to stateless scoring where each probe carries its own complete fixture and the harness holds no cross-probe mutable state. ## Core Distinction The distinction that matters is between *probe-orthogonal* harness state and *probe-coupled* harness state. A LITMUS harness is not merely a collection of prompts; it is an evaluation apparatus whose correctness depends on ordering, isolation, and *negative* evidence—the fact that a target did *not* comply. When the harness is sharded across instances, most state is legitimately shareable (immutable scenario definitions, the target endpoint config, the scoring rubric). But a narrow, non-obvious class of state—the *refusal-and-contamination ledger*—is coupled to the sequence of probes an individual worker saw. Copying this ledger across shards, or seeding a fresh shard from a sibling's ledger, silently converts a per-shard invariant into a global one that was never verified. The failure is not a crash. It is a plausible-looking score that is wrong in a direction that hides real safety regressions. ## What Was Observed A four-shard agentic red-team run against a target model was configured so that each worker instance received a snapshot of the harness context at `t0` (scenario index, adversarial seed registry pointer, and a `refusal_ledger` mapping `probe_id -> {attempted, refused, contaminated}`). Worker-3 crashed mid-shard after probe 214 due to a sandbox OOM. The orchestrator, following a standard "resume from checkpoint" policy, restored Worker-3 from Worker-1's ledger at the *same logical probe index* rather than from Worker-3's own last checkpoint, on the assumption that ledgers were "derived state" and therefore reconstructible. They are not reconstructible. The ledger encodes a *contamination flag*: when a target model, in probe *k*, emits text that echoes a prior probe's adversarial payload (a known cross-probe leakage mode in multi-turn LITMUS scenarios), the harness marks downstream probes as `contaminated=True` and excludes them from the refusal-rate denominator. Worker-1's ledger had marked 9 probes contaminated based on leakage it observed; Worker-3 had observed a different leakage pattern and had marked 4 different probes contaminated. After the splice, Worker-3's shard reported a refusal rate computed over a denominator that excluded probes it never actually saw leak, and included probes it did see leak. The aggregate refusal rate across all four shards was reported as 0.87; the true value, reconstructed by replaying Worker-3's shard from its own checkpoint, was 0.79. The 0.08 gap was entirely an artifact of cross-shard ledger transfer, and it moved in the direction of *overstating* safety. The trace: `t0 snapshot -> Worker-3 probe 214 OOM -> orchestrator selects Worker-1 ledger (same probe index, wrong shard) -> Worker-3 resumes at probe 215 with foreign contamination flags -> denominator mismatch -> inflated refusal rate -> aggregate score accepted`. No exception was raised at any step. The contamination flag is a boolean with no provenance, so the splice was type-correct and schema-valid. ## Condition of Validity The invariant is: **a LITMUS harness ledger is valid only for the shard and probe-sequence that produced it.** Formally, for worker *w* and ledger *L*, `L` is admissible for *w* iff `L.provenance.shard_id == w.shard_id` and `L.provenance.last_probe <= w.last_confirmed_probe`. Cross-shard transfer is admissible only for the *immutable* portion of the ledger (scenario definitions, seed registry, rubric version), never for the contamination/refusal portion, because that portion is a function of the *observed target behavior* along a specific probe path, and target behavior is path-dependent under multi-turn leakage. The condition of validity therefore requires each ledger entry to carry provenance: `shard_id`, `probe_index`, `observed_leak_source_probe_id`, and a `derived_from` hash of the probe sequence that produced it. Without provenance, the ledger is not derived state—it is *asserted* state, and asserting it from a sibling shard is an unverified assumption about target behavior that the resuming instance never observed. ## Decision Boundary The boundary is crossed when an orchestrator treats a resumption checkpoint as *content-addressed* (reconstructible from the logical probe index) rather than *provenance-addressed* (reconstructible only from the producing shard's own history). The decision rule an instance must apply before accepting any inherited ledger: 1. If `inherited.provenance.shard_id != self.shard_id`: reject the contamination/refusal portion; accept only immutable config; **replay from the shard's own last confirmed checkpoint**, or if none exists, restart the shard from `t0`. Do not synthesize a checkpoint from a sibling. 2. If provenance is absent entirely (legacy ledger): treat the entire ledger as non-transferable and non-resumable; the shard must restart. 3. If `inherited.provenance.last_probe > self.last_confirmed_probe`: the inherited ledger describes probes this instance has not executed; it cannot be used to skip them, because skipping changes the leakage path. The boundary is *not* crossed for the immutable config, for the seed registry pointer (if seeds are deterministic and shard-independent), or for the scoring rubric version. Those are genuinely derived and safely transferable. ## Operational Effect Enforcing provenance-addressed resumption converts a silent safety-score inflation into an explicit, bounded restart cost: a crashed shard replays from its own checkpoint (bounded by checkpoint interval) rather than splicing, and the aggregate score is computed only over ledgers whose provenance matches their shard. The operational cost is real—replay of up to one checkpoint interval of probes—but the alternative is a benchmark that reports a refusal rate no instance can reproduce, which defeats the purpose of a safety evaluation. The guardrail is a single assertion at ledger-acceptance time plus a provenance field on every contamination entry; the failure it prevents is not a crash but a wrong number that looks right. ```python from dataclasses import dataclass from typing import Optional class LedgerProvenanceError(RuntimeError): """Raised when a harness ledger is inherited from an inadmissible source.""" @dataclass(frozen=True) class LedgerProvenance: shard_id: str last_probe: int derived_from_hash: str @dataclass class HarnessLedger: provenance: Optional[LedgerProvenance] contamination_flags: dict # probe_id -> bool immutable_config: dict def accept_resumed_ledger( inherited: HarnessLedger, self_shard_id: str, self_last_confirmed_probe: int, ) -> HarnessLedger: """ Enforce provenance-addressed resumption. Returns a ledger safe for this instance to continue from, or raises if the inherited ledger is non-transferable. """ if inherited.provenance is None: raise LedgerProvenanceError( "legacy ledger without provenance: non-transferable, shard must restart" ) prov = inherited.provenance if prov.shard_id != self_shard_id: raise LedgerProvenanceError( f"ledger from shard {prov.shard_id!r} is not admissible for " f"shard {self_shard_id!r}: contamination flags are path-dependent" ) if prov.last_probe > self_last_confirmed_probe: raise LedgerProvenanceError( f"ledger claims probes through {prov.last_probe} but this instance " f"confirmed only {self_last_confirmed_probe}: cannot skip probes " f"without altering the leakage path" ) # Same shard, no forward skip: contamination flags are admissible. return HarnessLedger( provenance=prov, contamination_flags=dict(inherited.contamination_flags), immutable_config=dict(inherited.immutable_config), ) ```