# When must an instance refuse a LITMUS safety verdict it can technically emit? The cross-harness scorer-identity invariant and the false-green regression gate **Date of Record:** 2026 November 27 **Scope:** Applies to any agent instance wired into a LITMUS-style safety benchmark harness (adversarial prompt suites, refusal/leak classifiers, multi-turn jailbreak probes) where the instance both *scores* candidates and *gates* regressions. Does not apply to pure offline evaluation notebooks with no gating authority, nor to harness runs where the scorer identity is pinned by an external immutable manifest. ## Core Distinction There are two different things an instance in a LITMUS harness can be asked to do, and they fail in opposite directions: 1. **Emit a verdict** — classify a candidate model turn as safe/unsafe (or a suite as pass/fail) under a given scorer configuration. 2. **Gate a regression** — assert that a new candidate is *not worse* than a stored baseline, using that verdict. The non-obvious boundary is this: a verdict can be *technically well-formed and reproducible* while being *inadmissible as a gate input*, because the verdict was produced under a scorer identity that differs from the baseline's scorer identity. Harnesses almost always check the first property (determinism, schema validity) and almost never check the second (scorer-identity equivalence). The result is the **false-green regression gate**: a candidate that materially degraded safety passes the gate because the harness compared a new-scorer verdict against an old-scorer baseline and the deltas washed out. The invariant that must hold for a gate to be admissible: > A regression comparison is valid only if `scorer_identity(candidate_run) == scorer_identity(baseline_run)` on the fields that affect verdict semantics — classifier weights/version, rubric text hash, decoding temperature, seed, and the *ordering* of the adversarial suite. If any of these differ, the comparison is undefined, not merely noisy, and the gate MUST refuse to emit a pass. ## What Was Observed A representative trace. A safety suite of 1,200 adversarial prompts runs nightly. The harness stores a baseline artifact `baseline.json` containing per-prompt verdicts plus aggregate `unsafe_rate`. A candidate model is scored, and the gate compares `unsafe_rate_candidate <= unsafe_rate_baseline + tolerance`. The failure sequence: - **T0 — baseline creation.** Baseline scored with `classifier-v3`, rubric hash `r=8f2a`, `temperature=0.0`, suite order `seed=41`. - **T1 — silent scorer drift.** A harness upgrade bumps the refusal classifier to `v4` (better recall on multi-turn jailbreaks) but the baseline artifact is *not* re-scored. `baseline.json` still carries `classifier-v3` verdicts; it has no `scorer_identity` field at all, only a timestamp. - **T2 — candidate scoring.** Candidate scored with `classifier-v4`. Because `v4` is stricter, the candidate's raw `unsafe_rate` is *higher* than baseline — but the candidate model is genuinely *safer*; the increase is scorer strictness, not model regression. - **T3 — the inversion.** The gate sees `unsafe_rate_candidate > baseline` and flags a regression. An operator, seeing a false positive, widens `tolerance` from 0.01 to 0.05 to "stop the noise." This is the fatal move. - **T4 — the false green.** A subsequent candidate that genuinely regresses safety by ~0.03 — below the now-widened tolerance but above the true baseline — passes the gate. The widened tolerance, introduced to absorb scorer drift, permanently blinds the gate to real regressions of that magnitude. The mechanism is not "the classifier changed." It is that **scorer drift and model drift are confounded in a single scalar**, and the harness's only lever for de-confounding (tolerance) is the same lever that sets detection sensitivity. Tightening tolerance to catch regressions re-triggers false positives from drift; loosening it to absorb drift destroys sensitivity. There is no tolerance value that solves both, because the two signals are not separable in the aggregate. A second, subtler trace: suite **order** affects verdicts. Multi-turn probes carry state; a prompt at index 300 may be classified differently depending on whether the model saw the jailbreak at index 12 earlier in the same session. If the candidate run shuffles the suite (different `seed`), per-prompt verdicts diverge even with an identical model and identical classifier. The aggregate `unsafe_rate` can stay flat while individual prompt flips cancel — masking a real per-prompt regression behind an aggregate that looks stable. ## Condition of Validity The gate is admissible only when all of the following hold. Each is a precondition, not a heuristic: - **Scorer identity is explicit and compared.** Both artifacts carry a `scorer_identity` tuple: `(classifier_id, classifier_hash, rubric_hash, temperature, seed, suite_order_hash)`. The gate compares these field-by-field *before* comparing any verdict. - **Identity mismatch is a hard refusal, not a warning.** If identities differ, the gate returns `INADMISSIBLE`, never `PASS`. Re-scoring the baseline under the new scorer is the only path back to admissibility. - **Comparison is per-prompt, not aggregate-first.** Aggregate rates are computed *after* per-prompt diffing, so cancellation (prompt A improves, prompt B regresses, aggregate flat) is visible. The gate fails if any high-severity prompt flips safe→unsafe regardless of aggregate. - **Tolerance is fixed by policy, not tuned at runtime.** Widening tolerance to silence drift is prohibited; drift is handled by re-baselining, never by loosening the gate. - **Determinism is verified, not assumed.** A canary prompt set is re-scored twice within a run; if verdicts differ, the run is non-deterministic and inadmissible regardless of identity match. When any precondition is unmet, the correct behavior is refusal. An instance that emits `PASS` under a mismatched scorer identity has not "been lenient" — it has produced a verdict that is semantically undefined and has laundered it as a green gate. ## Decision Boundary The boundary is drawn between *reproducible* and *comparable*: - **Reproducible** (same scorer, same inputs → same verdicts) is necessary but insufficient. A run can be perfectly reproducible and still incomparable to a baseline scored under a different identity. - **Comparable** requires identity equivalence on every field that touches verdict semantics. Only comparable runs may enter a regression gate. Two edge cases sharpen the line: 1. **Additive-only scorer change.** If `v4` differs from `v3` only on prompts the suite does not contain, identity still differs and the gate still refuses — because the harness cannot prove non-overlap without re-scoring. "Probably equivalent" is not a valid identity predicate for a safety gate. 2. **Partial re-baseline.** If the baseline is re-scored on 1,100 of 1,200 prompts (100 timed out), the baseline is *incomplete*, not merely smaller. The gate must refuse comparisons on the 100 unscored prompts rather than treat them as "no change" — absence of a verdict is not a safe verdict. The refusal is the feature. A gate that cannot prove comparability must not assert non-regression. ## Operational Effect - **False positives become re-baseline events, not tolerance edits.** When identity drifts, the operator's only sanctioned action is to re-score the baseline under the new scorer and record the new identity. Tolerance stays fixed. - **Regression sensitivity is preserved across scorer upgrades.** Because drift is absorbed by re-baselining rather than tolerance widening, the gate retains its original detection floor. A 0.03 real regression stays catchable after ten classifier upgrades. - **Per-prompt diffing surfaces cancellation.** Aggregate-flat-but-per-prompt-regressed cases now fail the gate, closing the masking hole. - **Non-determinism is caught at the source.** The canary re-score converts "we think it's deterministic" into a checked precondition, so a flaky run cannot silently enter the gate. The cost is operational friction: every scorer upgrade forces a baseline re-score before the next gate can run. That friction is the price of a gate whose green actually means something. A harness that trades it away for smoothness has built a gate that cannot distinguish a safe model from a changed ruler. ```python from dataclasses import dataclass from typing import Optional class GateInadmissibleError(RuntimeError): """Raised when a regression gate is asked to compare incomparable runs.""" pass @dataclass(frozen=True) class ScorerIdentity: classifier_id: str classifier_hash: str rubric_hash: str temperature: float seed: int suite_order_hash: str def semantically_equal(self, other: "ScorerIdentity") -> bool: # Every field touches verdict semantics; none is ignorable. return self == other @dataclass class RunArtifact: scorer: Optional[ScorerIdentity] per_prompt: dict # prompt_id -> "safe" | "unsafe" high_severity_flips: int # safe->unsafe on high-severity prompts deterministic: bool def gate_regression( baseline: RunArtifact, candidate: RunArtifact, tolerance: float, tolerance_policy_max: float, ) -> str: if baseline.scorer is None or candidate.scorer is None: raise GateInadmissibleError( "missing scorer_identity on one or both artifacts; comparison is undefined" ) if not baseline.scorer.semantically_equal(candidate.scorer): raise GateInadmissibleError( f"scorer identity mismatch: baseline={baseline.scorer} " f"candidate={candidate.scorer}; re-score baseline before gating" ) if not (baseline.deterministic and candidate.deterministic): raise GateInadmissibleError( "non-deterministic run detected via canary re-score; verdicts inadmissible" ) if tolerance > tolerance_policy_max: raise GateInadmissibleError( f"tolerance {tolerance} exceeds policy max {tolerance_policy_max}; " "widening to absorb drift is prohibited" ) # Per-prompt diff before aggregate, so cancellation cannot mask regressions. for pid, c_verdict in candidate.per_prompt.items(): b_verdict = baseline.per_prompt.get(pid) if b_verdict is None: raise GateInadmissibleError( f"baseline has no verdict for prompt {pid}; absence != safe" ) if b_verdict == "safe" and c_verdict == "unsafe": if candidate.high_severity_flips > 0: return "FAIL_HIGH_SEVERITY_FLIP" b_rate = sum(v == "unsafe" for v in baseline.per_prompt.values()) / len(baseline.per_prompt) c_rate = sum(v == "unsafe" for v in candidate.per_prompt.values()) / len(candidate.per_prompt) if c_rate > b_rate + tolerance: return "FAIL_RATE_REGRESSION" return "PASS" ```