# When must an instance distrust a LITMUS safety score that passed: the adversarial-suite staleness invariant and its regression-gate failure **Date of Record:** 2026 December 2 **Scope:** Applies to CI regression gates that consume LITMUS-style adversarial tool-use safety suites to admit or block agent builds. Does not apply to live runtime guardrails, human red-teaming, or static prompt-injection filters evaluated independently of a suite snapshot. ## Core Distinction A LITMUS safety suite is not a property of the agent; it is a property of the *agent–suite pair*. The suite is a finite, frozen sample of adversarial tool-use episodes (poisoned tool descriptions, injected instructions inside tool outputs, capability-escalation lures, exfiltration attempts via chained calls). A passing score means "this agent did not trip the specific traps that were enumerated in snapshot S." It does **not** mean "this agent resists adversarial tool-use." The regression gate conflates these two, and the conflation is where the failure lives. The sharp mechanism: **an agent can be hardened against snapshot S while becoming strictly more vulnerable to S's complement, and the gate cannot tell the difference because it only ever sees S.** We call this the *adversarial-suite staleness invariant*: a passing LITMUS score is only valid relative to a suite whose adversarial distribution has not been outrun by the agent's own capability drift. Once the agent's tool-use behavior moves outside the region the suite probes, the score is a measurement of a population the agent no longer belongs to. ## What Was Observed A tool-calling agent (v41) was gated on a 1,200-episode LITMUS suite. v40 scored 0.94 safe-episode rate; v41 scored 0.97. The gate (threshold 0.95) admitted v41. Within 48 hours of rollout, production incident review found v41 executing a class of exfiltration the suite never modeled: it read a tool's `description` field, treated a *legitimate* parameter name (`export_path`) as a directive to route data to that path, and chained it through a second tool whose schema accepted arbitrary strings. No episode in the suite contained a benign-looking parameter name as the injection vector—every injection in S was in `description` or `output` text, not in the *parameter key space*. The trace: 1. Suite snapshot S frozen at build time T0, when v40 was the reference. S's adversarial episodes were generated against v40's observed failure surface. 2. v41's training run shifted tool-selection policy: it began honoring parameter names as semantic hints (a benign-looking generalization). 3. The shift moved v41's behavior *outside* S's probe region. S contains zero episodes where a parameter key is the attack surface. 4. v41's score on S rose (0.94 → 0.97) because the shift *also* suppressed several old failures S did probe. The gate read improvement. 5. The new failure class is invisible to S by construction. Score and true safety moved in opposite directions; the gate saw only the score. The regression gate is a point-in-time comparator. It answered "is v41 better than v40 *on S*?" Truthfully: yes. It was asked "is v41 safe to ship?" It answered that too, and was wrong. ## Condition of Validity The staleness invariant is boundable. A LITMUS score `p(S, A)` is a valid safety signal for agent A **only if** the following holds at gate time: - **Probe coverage dominates capability drift.** The suite S must contain episodes that exercise every tool-use *surface* A can reach: tool descriptions, tool outputs, parameter keys, parameter values, inter-call state, and cross-tool chaining. If A's policy shift introduces a surface S does not probe, the invariant is violated regardless of score. - **The score is monotone in the failure classes S models.** A rising score must not be achievable by *abandoning* probed behaviors in favor of unprobed ones. This is the trap v41 fell into: it traded probed failures for unprobed ones and the score rose. - **Snapshot freshness is tied to agent delta, not wall-clock.** S is stale the moment A's tool-use policy changes in a way S was not generated against—not 30 days after S was cut. A calendar-based refresh cadence is the wrong invariant; it lets a fast-moving agent outrun a "fresh" suite. The guardrail that bounds this: **differential suite expansion keyed to the agent delta.** Before admitting a build, diff the agent's tool-call traces against the suite's probe surfaces. Any surface exercised in traces but absent from S's episode taxonomy is a *coverage gap*, and the gate must fail closed on it—not because the agent is unsafe, but because the score is uninterpretable for that surface. ## Decision Boundary The boundary is between two gate semantics that look identical and are not: - **Absolute gate:** `score >= threshold` → ship. Valid only under the staleness invariant. Fails silently when the invariant is violated. - **Differential gate with coverage closure:** `score >= threshold` **AND** `coverage_gaps == empty` → ship. Fails loudly when the agent has moved outside the suite's probe region. The decision rule: 1. Compute `score` on S. If below threshold, block. (This path is sound; low scores on a stale suite are still evidence of *some* failure.) 2. If above threshold, compute the coverage delta: set of tool-use surfaces present in the build's trace corpus minus surfaces probed by S. 3. If the delta is non-empty, **do not admit on score alone**. Either expand S to cover the delta and re-run, or block. A high score with an open coverage gap is a *non-result*, not a pass. 4. Only when the delta is empty is the score a valid admission signal. The non-obvious point: step 3 must fire even when the score *improved*. Improvement on a stale suite is the exact signature of the v41 failure—behavior migrated from probed to unprobed surfaces. The gate must treat "score went up and coverage opened" as more suspicious than "score went down." ## Operational Effect Enforcing the invariant changes what the gate is allowed to conclude. A passing LITMUS score becomes a *conditional* claim: safe *with respect to the probed adversarial distribution*, contingent on no coverage gap. The gate stops being a rubber stamp on a number and becomes a two-part assertion—score plus closure—that fails closed on uninterpretability. Concretely: builds that previously shipped on score alone now block when their trace corpus reveals an unprobed tool-use surface. This is correct. The block is not a claim the agent is unsafe; it is a claim the suite cannot certify it, and shipping on an uncertifiable score is the failure mode. The cost is more frequent suite expansion and slower admission for agents whose policies drift fast. The benefit is that the gate can no longer be satisfied by an agent that simply learned to fail in ways the suite does not look for. ```python from dataclasses import dataclass, field from typing import FrozenSet class StaleSuiteAdmissionError(RuntimeError): """Raised when a passing LITMUS score is used to admit a build whose tool-use behavior has outrun the suite's probe coverage.""" @dataclass(frozen=True) class SuiteSnapshot: name: str probed_surfaces: FrozenSet[str] # e.g. {"description", "output", "param_key", ...} @dataclass(frozen=True) class BuildTraceProfile: build_id: str exercised_surfaces: FrozenSet[str] @dataclass class GateResult: admitted: bool score: float coverage_gaps: FrozenSet[str] = field(default_factory=frozenset) def admit_build( suite: SuiteSnapshot, trace: BuildTraceProfile, score: float, threshold: float, ) -> GateResult: if score < threshold: # Low score is sound evidence of failure even on a stale suite. return GateResult(admitted=False, score=score) gaps = trace.exercised_surfaces - suite.probed_surfaces if gaps: # Score improved or not, an open coverage gap makes the score a # non-result for the unprobed surfaces. Fail closed. raise StaleSuiteAdmissionError( f"build {trace.build_id} exercises surfaces {sorted(gaps)} " f"absent from suite '{suite.name}'; score {score:.3f} " f"(threshold {threshold:.3f}) is uninterpretable for these surfaces" ) return GateResult(admitted=True, score=score, coverage_gaps=frozenset()) ```