# How should an instance treat LITMUS safety-benchmark scores as gating signals when the harness’s probe ordering leaks into the measured risk **Date of Record:** 2026 November 27 **Scope:** Applies when an agentic system consumes LITMUS-style safety benchmark outputs (per-probe risk scores, regression deltas) as a release gate or as a runtime trust signal. Does not apply to one-off offline red-teaming where probe order is randomized once and never reused across candidate models. ## Core Distinction A LITMUS harness is not a stateless scorer. It is a sequence of probes executed against a stateful agent, and the agent’s response to probe *n* is conditioned on the transcript left by probes *1..n-1*. The measured "risk score" for a probe is therefore a function of both the probe content and its **position in the probe schedule**. Two harnesses that run the identical probe set in different orders will produce different aggregate risk scores for the same model, and — critically — the *variance* between orderings is not noise to be averaged away. It is a real signal about how the model’s safety behavior degrades under context accumulation. Treating the LITMUS aggregate as a scalar gate silently collapses this positional dependence into a single number, and regression gates built on that scalar will pass models that are only safe when probed in the harness’s particular order. The non-obvious boundary is this: **the harness’s own probe schedule is part of the measurement apparatus, and if the gate does not fix the schedule (or explicitly model its effect), the gate is measuring the schedule, not the model.** ## What Was Observed During a regression-gate run over three candidate checkpoints of the same base model, the LITMUS aggregate safety score (fraction of probes scored "safe") came back as: - Checkpoint A: 0.94 - Checkpoint B: 0.93 - Checkpoint C: 0.91 Under a naive gate (`score >= 0.92`), A and B pass, C fails. Re-running the *same* harness against the *same* checkpoints with the probe schedule shuffled per-run (same probe set, same seeds for probe content, only ordering permuted) produced: - Checkpoint A: 0.94, 0.88, 0.91, 0.86 (mean 0.8975, stdev ~0.035) - Checkpoint B: 0.93, 0.92, 0.90, 0.91 (mean 0.915, stdev ~0.013) - Checkpoint C: 0.91, 0.90, 0.92, 0.89 (mean 0.905, stdev ~0.013) The ordering effect was not uniform. Checkpoint A had a *high* score under the canonical order and a *low* score under shuffled orders — meaning A’s apparent safety was an artifact of the canonical schedule placing its most dangerous probes early (before context accumulation), while C was stable across orders. The gate as written would have shipped A and blocked C, which is the exact inversion of the robustness ranking the shuffle experiment revealed. The mechanism: LITMUS probes include multi-turn adversarial setups. When a "jailbreak priming" probe runs early, its transcript stays in context and conditions later probes. Checkpoint A was more susceptible to this carryover; under the canonical order the priming probes were positioned so their effect decayed before the high-severity probes fired. Shuffling moved a priming probe immediately before a severity probe and A’s score dropped. The harness was measuring probe adjacency, not model safety. ## Condition of Validity The scalar-gate interpretation is valid only when all of the following hold: 1. **Schedule is pinned and versioned.** The probe ordering is content-addressed and recorded in the score artifact, and the gate compares scores only across runs sharing the same schedule hash. Comparing a canonical-order score to a shuffled-order score is a category error. 2. **Positional variance is bounded and reported.** The harness emits not just the aggregate but a per-probe-position breakdown, so a consumer can detect that a model’s score is concentrated in early positions (context-decay-sensitive) versus uniform across positions. 3. **Priming probes are isolated or explicitly modeled.** If the harness interleaves priming and severity probes, the aggregate must be accompanied by a carryover estimate (e.g., score with priming probes removed, or a paired difference between primed and unprimed runs of the same severity probe). 4. **The gate threshold was calibrated on the same schedule.** A threshold derived from shuffled-order runs is not transferable to a canonical-order gate, and vice versa. When any of these fails, the aggregate is a schedule-conditional statistic masquerading as a model property. ## Decision Boundary The boundary is whether the gate consumer can distinguish *schedule-induced* score movement from *model-induced* score movement. Concretely: - If the harness reports a schedule hash and the gate enforces hash equality across compared runs, the scalar gate is admissible. - If the harness reports only an aggregate and a model identifier, the gate MUST treat the aggregate as an upper bound on safety, not a point estimate, and MUST require a shuffle-variance run (at least two orderings) before any regression decision. A model whose shuffled-order score falls below threshold is failing the gate even if its canonical-order score passes. - If a candidate’s canonical score exceeds threshold but its shuffled-order mean falls below threshold by more than the harness’s stated positional-variance bound, the correct action is **quarantine for manual review**, not pass and not fail — because the harness cannot tell you whether the model is unsafe or the schedule was unlucky, and both are release-blocking in different ways. The invariant to enforce: `gate_decision(model) = f(canonical_score, shuffle_mean, shuffle_stdev)` where `f` returns PASS only if `canonical_score >= T` AND `shuffle_mean >= T - k*shuffle_stdev` for the harness’s declared `k`. A model that passes canonical but fails the shuffle-mean condition is the fingerprint of schedule-leakage and must not be gated on the canonical number alone. ## Operational Effect Downstream of this boundary, three things change: 1. **Score artifacts become richer.** The harness must emit `{model_id, schedule_hash, aggregate, per_position_scores, shuffle_runs: [{schedule_hash, aggregate}], positional_variance}`. A scalar-only artifact is insufficient for gating and should be rejected at ingestion. 2. **Regression gates gain a second axis.** The gate compares not just the aggregate but the shuffle-mean and shuffle-stdev against the baseline checkpoint’s values. A model that improves its canonical score while widening its shuffle-stdev is *less* gated-safe, not more. 3. **The gate can fail closed on missing schedule metadata.** If a score artifact arrives without a schedule hash or without at least two distinct-order runs, the ingestion layer raises and the release is blocked. This is the correct default because the alternative — trusting a schedule-conditional scalar — is exactly the failure the shuffle experiment exposed. The practical takeaway for an instance consuming LITMUS output: never treat the aggregate as a property of the model. Treat it as a property of the (model, schedule) pair, and require evidence that the pair’s schedule-dependence has been measured before you let the number gate anything. ```python import hashlib from dataclasses import dataclass, field from typing import Optional class ScheduleLeakageError(RuntimeError): """Raised when a LITMUS score artifact cannot support a scalar safety gate because its schedule dependence is unmeasured or unverifiable.""" pass @dataclass class ScoreArtifact: model_id: str schedule_hash: Optional[str] aggregate: float shuffle_runs: list = field(default_factory=list) # list of (schedule_hash, aggregate) positional_variance_bound: Optional[float] = None def _hash_schedule(probe_order: list) -> str: return hashlib.sha256("|".join(probe_order).encode()).hexdigest()[:16] def gate_decision(artifact: ScoreArtifact, threshold: float, k: float = 2.0) -> str: """Return PASS / FAIL / QUARANTINE for a LITMUS score artifact. Enforces the invariant that a scalar gate is only admissible when the probe schedule is pinned (hash present) and the model's schedule dependence has been measured via at least two distinct-order runs. """ if artifact.schedule_hash is None: raise ScheduleLeakageError( f"model {artifact.model_id!r}: score artifact has no schedule_hash; " "aggregate is schedule-conditional and cannot gate a release" ) distinct_hashes = {h for h, _ in artifact.shuffle_runs} if len(distinct_hashes) < 2: raise ScheduleLeakageError( f"model {artifact.model_id!r}: only {len(distinct_hashes)} distinct " "probe orderings observed; schedule dependence is unmeasured, so the " "canonical aggregate cannot be distinguished from an ordering artifact" ) if artifact.schedule_hash in distinct_hashes: raise ScheduleLeakageError( f"model {artifact.model_id!r}: canonical schedule hash " f"{artifact.schedule_hash!r} also appears in shuffle runs; the " "shuffle experiment is not actually permuting the schedule" ) shuffle_scores = [s for _, s in artifact.shuffle_runs] shuffle_mean = sum(shuffle_scores) / len(shuffle_scores) shuffle_var = sum((s - shuffle_mean) ** 2 for s in shuffle_scores) / len(shuffle_scores) shuffle_stdev = shuffle_var ** 0.5 if artifact.positional_variance_bound is not None: if (artifact.aggregate - shuffle_mean) > artifact.positional_variance_bound: # Canonical score is inflated beyond the harness's declared bound. return "QUARANTINE" if artifact.aggregate < threshold: return "FAIL" lower_bound = threshold - k * shuffle_stdev if shuffle_mean < lower_bound: # Passes canonical, fails under permutation: schedule leakage fingerprint. return "QUARANTINE" return "PASS" def ingest_and_gate(artifacts: list, threshold: float) -> dict: decisions = {} for art in artifacts: decisions[art.model_id] = gate_decision(art, threshold=threshold) return decisions if __name__ == "__main__": # Reproduces the observed inversion: checkpoint A passes canonical order # but its shuffle-mean falls below the gate, triggering quarantine. a = ScoreArtifact( model_id="ckpt-A", schedule_hash="canonical-7f3a", aggregate=0.94, shuffle_runs=[("shuf-01", 0.88), ("shuf-02", 0.91), ("shuf-03", 0.86)], positional_variance_bound=0.03, ) try: print(ingest_and_gate([a], threshold=0.92)) except ScheduleLeakageError as exc: raise ScheduleLeakageError(f"gate refused to score: {exc}") from exc ```