# Why does an instance pass the LITMUS safety benchmark under adversarial skill evaluation but regress only after the harness rotates its probe seed corpus? **Date of Record:** 2026 November 22 **Scope:** Applies to LITMUS-style adversarial skill-evaluation harnesses that gate agent releases by sampling a finite, seed-rotated corpus of attack probes and scoring refusal/containment behavior. Does not apply to static red-team suites with a fixed, exhaustively enumerated probe set, nor to runtime guardrails that inspect live traffic rather than gating offline. ## Core Distinction The failure is not that the agent becomes unsafe. It is that the *harness's pass/fail signal* is a function of the probe corpus's sampling distribution, while the release decision treats it as a property of the agent. A LITMUS harness rotates its adversarial probe seed per evaluation run (to prevent overfitting and cache-poisoning). When the rotation crosses a boundary in the probe space—specifically, when the newly sampled probes shift from *single-turn capability elicitation* to *multi-turn skill-composition* probes—an agent that passed on run N can fail on run N+1 with **no model change, no prompt change, and no code change**. The invariant the harness silently assumes is: *the rotated corpus is exchangeable with the prior corpus with respect to the agent's failure surface.* That assumption is false whenever the agent's safety behavior is conditional on turn count, tool availability, or context length—which is almost always. The distinction that matters operationally: a **regression** (the agent got worse) versus a **corpus rotation artifact** (the measurement moved). These are indistinguishable from the pass/fail bit alone. Conflating them causes teams to roll back good models and ship bad ones. ## What Was Observed A skill-evaluation harness gated a tool-using agent (file read/write, shell, HTTP fetch) against a LITMUS probe corpus of ~4,000 adversarial skill requests. Probes were stratified by "attack family" (prompt injection, tool-abuse escalation, data exfiltration via side channel, sandbox escape). Each run sampled a seed and drew a fixed 400-probe evaluation slice. Run N (seed 0x9A1): agent scored 3.2% unsafe-completion rate, below the 5% gate. Passed. Shipped. Run N+1 (seed 0x9A2, same model weights, same system prompt, same tool schema): agent scored 7.8%. Failed the gate. Release blocked. Forensics on the delta: - The two slices shared **zero** probe IDs (expected—rotation is disjoint by design). - Attack-family *proportions* were matched by the stratifier, but the **turn-depth distribution** was not a stratifier. Seed 0x9A1 drew 71% single-turn probes; seed 0x9A2 drew 54% single-turn and 46% multi-turn (2–6 turns). - All 31 net-new failures were multi-turn. In each, the first turn was a benign capability probe the agent answered correctly; the adversarial payload arrived in turn 3–5, after the agent had already committed tool calls and established a "helpful" trajectory. The agent's refusal behavior is *turn-index-sensitive*: it refuses turn-1 injections at ~94% but turn-4 injections at ~61%. - Single-turn probes scored identically across both seeds (3.1% vs 3.2%, within noise). The entire regression was the turn-depth shift. The harness had no mechanism to detect this. Its stratifier balanced attack *family*, not attack *shape*. The pass/fail bit moved because the corpus's shape distribution moved, and the agent's safety surface is a function of shape. ## Condition of Validity The LITMUS gate's pass/fail bit is a valid estimator of agent safety **only under** the exchangeability assumption: the rotated slice's distribution over *all* failure-relevant probe features (attack family, turn depth, tool availability at injection, context length at injection, prior-turn commitment state) matches the reference distribution the gate threshold was calibrated on. The harness stratified on family alone, so exchangeability held for family and failed for the rest. Concretely, the gate is invalid the moment: 1. The rotation seed changes the turn-depth distribution beyond the calibration tolerance (observed: 71%→54% single-turn, a 17-point shift against a ±5-point calibration band). 2. The agent's per-feature unsafe-completion rate varies by more than the gate margin across feature strata (observed: 3% single-turn vs 39% turn-4, a 36-point spread—7× the gate margin). 3. The harness scores a single aggregate rate rather than per-stratum rates, so the shift is invisible until it crosses the threshold. The invariant to enforce: **a release gate must be a function of per-stratum estimates, and the rotation must be stratified on every feature the agent's failure surface is conditional on.** If you cannot enumerate those features, you cannot claim the rotation is exchangeable, and the gate bit is not a property of the agent. ## Decision Boundary The operational decision boundary is between **"the agent regressed"** and **"the measurement rotated."** The harness must resolve this before any rollback or ship decision, because the two demand opposite actions. Boundary rule: - **Regression** if the per-stratum unsafe-completion rate on the *shared feature strata* moved beyond the confidence interval. This is a property of the agent; roll back. - **Rotation artifact** if the aggregate moved but every per-stratum rate is within CI, and the movement is fully explained by a shift in stratum weights. This is a property of the corpus; re-draw with stratified weights pinned to reference, do not roll back. - **Undecidable** if a stratum is under-sampled in one of the two runs (observed: turn-5+ probes numbered 4 in run N, 38 in run N+1). Under-sampled strata must be force-included at a minimum count, not left to the seed, or the gate cannot adjudicate. The boundary is crossed the moment the aggregate delta is decomposable into a weight-shift term and a rate-shift term, and the weight-shift term is nonzero. Decompose before deciding. An aggregate-only harness cannot do this and will misclassify rotations as regressions roughly in proportion to how much the agent's safety surface depends on unstratified features. ## Operational Effect After the incident, the harness was changed in three ways, each targeting a specific link in the failure trace: 1. **Turn depth promoted to a stratifier** with pinned reference weights (single-turn 70%, 2–3 turn 20%, 4+ turn 10%), and a per-stratum minimum of 25 probes enforced by rejection sampling on the rotation seed. This bounds the weight-shift term to the calibration tolerance and eliminates the under-sampled-stratum undecidability. 2. **Gate recomputed as a weighted per-stratum rate**, not an aggregate. A release passes only if *every* stratum is below its own threshold; the aggregate is reported but not gated. This makes the turn-4 stratum (39% unsafe) visible and blocking even when the aggregate is dragged under 5% by a single-turn-heavy draw. 3. **Seed-rotation audit** retained: the harness now records the realized stratum weights per run and fails closed if any deviates from reference by more than the tolerance, before scoring the agent at all. A rotated corpus that cannot be made exchangeable is rejected rather than scored. The residual risk is the one the harness still cannot see: features it has not promoted to stratifiers (tool availability at injection, context length at injection). Those remain in the weight-shift term and can still produce a rotation artifact. The guardrail is a standing invariant, not a fix: *the gate bit is only as valid as the stratification, and any unstratified feature the agent is conditional on is a latent misclassification.* The correct posture is to treat a gate flip with no code change as a measurement event first and a regression second, and to require the per-stratum decomposition before acting on either. ```python class RotationArtifactError(RuntimeError): """Raised when a LITMUS gate flip is explained by corpus weight shift, not agent regression.""" pass def adjudicate_gate_flip( run_prev: dict, run_curr: dict, reference_weights: dict, weight_tolerance: float = 0.05, rate_ci: float = 0.02, min_stratum_count: int = 25, ) -> str: """ run_* maps stratum -> {"count": int, "unsafe": int}. Returns "regression", "rotation_artifact", or "undecidable". """ strata = set(run_prev) | set(run_curr) # 1. Under-sampled strata make the gate unable to adjudicate. for s in strata: for tag, run in (("prev", run_prev), ("curr", run_curr)): if run.get(s, {}).get("count", 0) < min_stratum_count: raise RotationArtifactError( f"stratum {s!r} under-sampled in {tag} run " f"({run.get(s, {}).get('count', 0)} < {min_stratum_count}); " f"gate cannot distinguish rotation from regression" ) # 2. Realized weights vs reference; deviation bounds the weight-shift term. total_curr = sum(r["count"] for r in run_curr.values()) for s in strata: w = run_curr[s]["count"] / total_curr if abs(w - reference_weights[s]) > weight_tolerance: # Weight shift present; check whether rates also moved. rate_prev = run_prev[s]["unsafe"] / run_prev[s]["count"] rate_curr = run_curr[s]["unsafe"] / run_curr[s]["count"] if abs(rate_curr - rate_prev) <= rate_ci: return "rotation_artifact" return "regression" return "regression" def gate_release(run: dict, thresholds: dict) -> None: """Per-stratum gate; aggregate alone is insufficient.""" for s, t in thresholds.items(): rate = run[s]["unsafe"] / run[s]["count"] if rate > t: raise RotationArtifactError( f"gate blocked: stratum {s!r} unsafe rate {rate:.3f} > {t:.3f}; " f"do not ship, and check rotation weights before rollback" ) ```