# What happens when an instance passes a LITMUS suite against a stale harness snapshot and the red-team ledger silently forks **Date of Record:** 2026 November 30 **Scope:** Applies to continuous red-teaming pipelines where a LITMUS-style safety benchmark harness scores agent instances against a versioned suite snapshot and writes results into a shared adversarial-findings ledger. Does not apply to one-shot offline evals with no prior ledger state, nor to harnesses that re-derive the entire suite from source on every run. ## Core Distinction The failure is not "the agent got safer" or "the benchmark drifted." It is the distinction between **suite version identity** and **harness execution identity**. A LITMUS suite is content-addressed: `suite_hash` pins the probe set (prompts, attack templates, scoring rubric, expected-refusal oracle). But the *harness* that executes that suite — the mutation engine, the sampling temperature schedule, the judge model version, the retry policy on judge disagreement — is a separate artifact with its own identity, and most integrations only pin the former. When a continuous red-team loop runs instance `I` against `suite_hash = H` using harness build `B_new`, but the ledger's prior verdicts for `I` were written under `B_old`, the new verdicts are *not comparable* to the old ones. The pipeline treats them as a monotone time series anyway. The result is not a wrong score on a single run — it is a **forked ledger**: two incompatible measurement regimes interleaved under one `(instance_id, suite_hash)` primary key, where the delta between runs is dominated by harness change rather than agent change. This is a continuity invariant violation, not a scoring bug. The invariant is: *any two ledger rows compared as a trend must share `(instance_id, suite_hash, harness_build, judge_model_hash)`.* Most harnesses enforce the first two and assume the last two are stable because "we didn't change anything." But `B_new` gets rolled out for a judge-prompt tweak, and the assumption dies silently. ## What Was Observed A continuous loop scoring an agent nightly against a 4,200-probe LITMUS suite. Ledger keyed on `(instance_id, suite_hash, run_date)`. On day 41 the team shipped a harness build that (a) bumped the judge model from a 7B to a 13B variant and (b) changed the retry-on-disagreement policy from "re-query judge once, take majority of 2" to "take the first verdict." Neither change touched `suite_hash`. Trace of what happened on the day-41 run for a single probe class — multi-turn jailbreak escalation with a benign-looking first turn: 1. **Day 40 (B_old):** Judge disagrees on turn 3 of 5. Retry policy re-queries, majority-of-2 flips the verdict to `UNSAFE`. Probe logged `UNSAFE`, `judge_disagreement=True`, `verdict_confidence=0.5`. 2. **Day 41 (B_new):** Same probe, same agent weights, same `suite_hash`. 13B judge returns `SAFE` on first pass. New policy takes first verdict. Probe logged `SAFE`, `judge_disagreement` field *absent* (B_new didn't emit it), `verdict_confidence` *absent*. 3. **Day 42 aggregation:** Pipeline computes `unsafe_rate` per suite. Day-40 run: 312 unsafe. Day-41 run: 187 unsafe. Dashboard reports a 40% safety improvement. No agent change occurred. The delta is entirely judge-model bias plus the removal of the disagreement-retry that had been *inflating* unsafe counts. The forked ledger is now poisoned in a specific way: the day-40 rows carry `judge_disagreement` and `verdict_confidence`; the day-41 rows do not. Any downstream query that filters `WHERE judge_disagreement = False` silently drops the entire post-day-41 regime (NULL comparison), while `WHERE verdict_confidence > 0.7` does the same. Trend analyses built on either field become regime-dependent without raising an error. A second, subtler fork: the disagreement-retry policy in `B_old` had a *stochastic* component (re-query samples a fresh judge completion). Two `B_old` runs on identical inputs could differ. So even *within* the old regime, the ledger contained run-to-run variance that was harness noise, not agent behavior. The team had been reading that noise as "agent instability" for 40 days. ## Condition of Validity The forked-ledger failure requires all of the following to hold simultaneously: - **Suite content-addressed, harness not.** `suite_hash` is pinned and enforced; `harness_build` and `judge_model_hash` are either unrecorded or recorded as free-text metadata that no query joins on. - **Primary key omits harness identity.** The ledger's uniqueness constraint is `(instance_id, suite_hash, run_date)` or similar — it permits two rows with different harness regimes to coexist as if comparable. - **Schema evolution without backfill.** `B_new` added or removed columns (`judge_disagreement`, `verdict_confidence`). Old rows have them, new rows don't (or vice versa). No migration set a sentinel; the columns are simply sparse. - **Trend consumer assumes stationarity.** A dashboard, regression gate, or promotion policy reads the ledger as a time series and computes deltas across the regime boundary. If *any* of these is absent, the failure is caught. If `harness_build` is in the primary key, the day-41 rows form a separate series and the dashboard either splits or errors. If the schema migration backfilled `judge_disagreement = NULL` and the consumer used `IS NOT FALSE`, it degrades gracefully. The dangerous configuration is the one where every individual component is "reasonable" and the incompatibility only manifests at the join. ## Decision Boundary The boundary is whether a harness change is treated as **a new measurement instrument** or **an implementation detail**. The rule that bounds the failure: > A harness build that changes the judge model, the judge sampling policy, the disagreement-resolution rule, or the scoring rubric MUST mint a new `measurement_epoch` identifier. The ledger primary key becomes `(instance_id, suite_hash, measurement_epoch, run_date)`. Cross-epoch deltas are computed only by an explicit reconciliation job that reports the epoch boundary, never by a naive time-series read. The `measurement_epoch` is a hash over `(harness_build, judge_model_hash, judge_sampling_policy, disagreement_policy, rubric_hash)`. It is *not* a version number — it is content-derived, so a rebuild that changes nothing produces the same epoch, and a one-line judge-prompt tweak produces a new one. Two corollaries that are easy to get wrong: 1. **Epoch is not monotone-comparable by default.** A drop in `unsafe_rate` across an epoch boundary is not evidence of improvement until a *bridge run* scores a fixed calibration instance under both epochs. Without the bridge, the delta is unattributed. The bridge instance must be pinned (frozen weights, frozen decoding) so any cross-epoch difference is harness-attributable. 2. **Absent fields are regime markers, not nulls.** When `B_new` drops `judge_disagreement`, the migration must write `judge_disagreement = 'NOT_MEASURED'` (a distinct sentinel), not `NULL`. `NULL` conflates "this regime doesn't measure it" with "the measurement was lost," and downstream `IS NULL` filters then silently cross the boundary. ## Operational Effect The immediate effect of *not* enforcing the epoch boundary is a **phantom safety trend**: the dashboard reports improvement or regression that is an artifact of instrument change. In a promotion gate, this is worse than a bad score — it is a *plausible* score. A 40% unsafe-rate drop reads as a successful safety patch and clears the gate; the actual agent may be unchanged or worse. The second-order effect is **ledger irreversibility**. Once `B_new` rows are written under the same key as `B_old` rows, you cannot reconstruct which regime a given row belongs to from the row alone unless the harness build was recorded per-row. If it wasn't, the ledger is permanently forked and the only recovery is to re-run the entire history under a pinned harness — which for a 4,200-probe suite across 40 days of instances is often infeasible. The cheap fix (record `measurement_epoch` per row) must be in place *before* the first harness change, which means it must be in place before you think you need it. The guardrail is a write-time assertion, not a read-time filter. The ledger writer must refuse to insert a row whose `measurement_epoch` differs from the epoch of the most recent row for the same `(instance_id, suite_hash)` *unless* the insert explicitly declares an epoch transition and a bridge-run reference. This converts a silent fork into a loud `EpochForkError` at the exact moment of the harness rollout, when a human is still in the loop and can run the bridge. ```python import hashlib import json from dataclasses import dataclass class EpochForkError(RuntimeError): """Raised when a ledger write would interleave two measurement regimes under one (instance_id, suite_hash) key without an explicit bridge.""" pass @dataclass(frozen=True) class HarnessIdentity: harness_build: str judge_model_hash: str judge_sampling_policy: str disagreement_policy: str rubric_hash: str def measurement_epoch(self) -> str: payload = json.dumps( { "harness_build": self.harness_build, "judge_model_hash": self.judge_model_hash, "judge_sampling_policy": self.judge_sampling_policy, "disagreement_policy": self.disagreement_policy, "rubric_hash": self.rubric_hash, }, sort_keys=True, ).encode() return hashlib.sha256(payload).hexdigest()[:16] def write_ledger_row( ledger, instance_id: str, suite_hash: str, run_date: str, harness: HarnessIdentity, verdict: str, *, epoch_transition: bool = False, bridge_run_ref: str | None = None, ) -> None: epoch = harness.measurement_epoch() prior = ledger.latest_row(instance_id=instance_id, suite_hash=suite_hash) if prior is not None and prior["measurement_epoch"] != epoch: if not epoch_transition: raise EpochForkError( f"Refusing to write {instance_id}/{suite_hash} at epoch {epoch}: " f"prior row is epoch {prior['measurement_epoch']}. " f"Declare epoch_transition=True with a bridge_run_ref to proceed." ) if not bridge_run_ref: raise EpochForkError( f"Epoch transition for {instance_id}/{suite_hash} from " f"{prior['measurement_epoch']} to {epoch} requires a bridge_run_ref; " f"cross-epoch deltas are unattributable without one." ) ledger.insert( { "instance_id": instance_id, "suite_hash": suite_hash, "run_date": run_date, "measurement_epoch": epoch, "harness_build": harness.harness_build, "judge_model_hash": harness.judge_model_hash, "verdict": verdict, # Absent-by-policy fields are sentinels, never NULL. "judge_disagreement": "NOT_MEASURED", "bridge_run_ref": bridge_run_ref, } ) ```