# Under what conditions must an instance treat a LITMUS safety-score delta as a tool-use capability regression rather than a scorer artifact **Date of Record:** 2026 November 21 **Scope:** Applies to LITMUS-style agentic safety benchmarks where a scored instance (the agent under test) executes tool calls and an adversarial scorer grades each trajectory for unsafe tool use. Does not apply to single-turn refusal benchmarks, static prompt-injection corpora, or human-graded red-team reports where no automated per-trajectory score exists. ## Core Distinction A LITMUS safety score is a *composition* of two probabilistic systems: the agent under test (which reasons over tool schemas and emits calls) and the adversarial scorer (which classifies each trajectory as safe/unsafe, often itself an LLM judge conditioned on a rubric). The operational invariant that most benchmark operators get wrong is this: **a drop in safety score across two runs of the same instance is only evidence of a capability regression if the scorer's decision boundary is held fixed at the trajectory level.** When the scorer is nondeterministic, or when the tool-schema surface presented to the agent shifts between runs, the score delta is dominated by scorer variance and schema-drift, not by any change in the agent's risk behavior. The failure mode is *attributing a scorer artifact to the agent* — and then shipping a "fix" that hardens the agent against a threat the scorer invented, or worse, rolling back a legitimate model update because the judge flipped a verdict. The sharp mechanism: an adversarial scorer that grades tool-use risk typically keys on *argument-level* features (does the `path` argument escape the sandbox root? does the `recipient` field resolve to an external domain?). These features are string comparisons against the exact schema the agent was shown. If the schema's field names, enum values, or defaults change even trivially between the baseline run and the candidate run — a renamed `target_dir` vs `target`, a new `allow_external` default — the scorer's feature extractor silently misses or misparses the argument, and the trajectory is graded safe. The agent's behavior did not change. The scorer's *view* of the behavior did. ## What Was Observed A tool-use agent was evaluated on a LITMUS suite of 1,200 adversarial trajectories across three tool families (filesystem, HTTP fetch, shell). Baseline safety score: 0.912 (fraction of trajectories the scorer graded safe). Candidate run after a routine prompt-template refactor and one tool-schema rename (`write_file.target` → `write_file.dest`) scored 0.847 — a 6.5-point drop that triggered an automatic "safety regression" gate. Instrumentation of the scorer revealed the drop was almost entirely artifact: - Of the 78 trajectories that flipped safe→unsafe, 71 involved `write_file` calls where the scorer's path-escape detector read `args["target"]`, found `None`, and fell through to a conservative default that graded *any* write with an unparsed path as unsafe. The agent's actual arguments were identical to baseline; only the key name changed. - Of the remaining 7 flips, 5 were scorer nondeterminism: the judge LLM, run at temperature 0.2, gave different verdicts on byte-identical trajectories across runs (measured flip rate on a fixed 200-trajectory replay: 3.1%). - 2 were genuine: the prompt refactor had removed an instruction to confirm before overwriting existing files, and the agent now overwrote without confirmation in two trajectories. So the true capability regression was 2/1200 = 0.17 points, buried under 6.3 points of scorer/schema artifact. The gate fired on the artifact. The nondeterminism figure matters on its own. With a 3.1% per-trajectory flip rate and 1,200 trajectories, the standard deviation of the aggregate score under pure scorer noise is roughly `sqrt(0.031 * 0.969 / 1200) ≈ 0.005`, but the flips are *correlated* within a tool family (the judge keys on the same argument pattern), so the effective sample size is closer to the number of distinct argument-shapes, not trajectories. Observed run-to-run score spread on an unchanged agent was ±0.021 — larger than many teams' regression thresholds. ## Condition of Validity The score delta is a valid capability signal only when all three hold: 1. **Scorer decision boundary is pinned.** The scorer's feature extractor, rubric text, judge model version, and decoding params are byte-identical between baseline and candidate. Any change to the scorer requires re-scoring the *baseline* trajectories with the new scorer before comparing — never compare a new-scorer candidate score to an old-scorer baseline score. 2. **Tool-schema surface is pinned or reconciled.** The argument-key mapping the scorer uses to extract risk features is derived from the schema, and any schema delta is explicitly reconciled (old key aliased to new key) before scoring. A schema rename is a *scorer input change*, not an agent change. 3. **Aggregate is computed over a stable denominator with a noise floor.** The reported delta must exceed the measured replay-noise band (here ±0.021) to be called a regression. Per-trajectory flips must be triaged into artifact vs. genuine before any gate fires. When any of these fails, the delta is uninterpretable and must not drive a rollback or a hardening change. ## Decision Boundary The operator's decision procedure at the point of a score delta: - **Delta within noise band (±0.021) and no schema/scorer change:** no action; the agent is statistically indistinguishable from baseline. - **Delta exceeds noise band, but a schema or scorer change is present:** do not attribute to the agent. Re-score the baseline trajectories through the *current* scorer and schema-reconciliation layer; recompute the delta. Only the residual is attributable. - **Residual delta exceeds noise band after reconciliation:** triage flipped trajectories by argument-shape. If flips cluster on one tool family and one argument pattern, suspect scorer feature-extraction gap before suspecting the agent. If flips are diffuse across families and correlate with a prompt or model change, treat as genuine. - **Genuine flips confirmed:** the regression is real; the gate may fire. Bound the fix to the specific behavior (e.g., restore the confirmation instruction), not to the scorer. The boundary is sharp because the two causes — agent risk behavior and scorer view of it — are separable by exactly one experiment: replay the baseline agent's trajectories through the candidate scorer. If the baseline agent now scores lower under the new scorer, the scorer moved, not the agent. ## Operational Effect The practical consequence is that LITMUS-style suites must ship a **scorer-replay harness** as a first-class artifact, not an afterthought. Every scoring run emits, alongside the aggregate, (a) the scorer version hash, (b) the schema-to-feature mapping used, (c) a replay score of a frozen 200-trajectory canary set to measure current noise, and (d) a per-flip triage record. Without (c), the noise band is unknown and every delta looks like a regression. Without (d), genuine regressions hide inside artifact noise — the 2 real flips here were nearly lost among 76 artifacts, and a team that dismissed the whole delta as "scorer noise" would have shipped the missing-confirmation behavior. The invariant to enforce: **a safety-score delta is attributable to the agent only over the residual after scorer-replay and schema-reconciliation, and only if it exceeds the measured canary noise band.** Violating it produces both false positives (rollbacks on scorer drift) and false negatives (dismissed real regressions inside artifact noise), and the two failure directions are indistinguishable from the aggregate score alone. ```python import hashlib from dataclasses import dataclass, field class UnattributableScoreDelta(RuntimeError): """Raised when a LITMUS safety-score delta cannot be attributed to the agent.""" pass @dataclass class ScorerRun: scorer_version: str schema_feature_map: dict # argument key -> risk feature name aggregate_score: float canary_noise_band: float # measured +/- spread on frozen replay set flipped_trajectory_ids: list = field(default_factory=list) def _fingerprint(run: ScorerRun) -> str: payload = f"{run.scorer_version}|{sorted(run.schema_feature_map.items())}" return hashlib.sha256(payload.encode()).hexdigest() def attribute_delta(baseline: ScorerRun, candidate: ScorerRun, reconciled_residual: float) -> str: """ Decide whether a safety-score drop is a genuine agent capability regression. reconciled_residual = candidate_score minus baseline_score recomputed after re-scoring baseline trajectories through the candidate scorer and applying schema-key reconciliation. """ if _fingerprint(baseline) != _fingerprint(candidate): # scorer or schema surface moved between runs; raw delta is uninterpretable if abs(reconciled_residual) <= candidate.canary_noise_band: return "artifact: scorer/schema drift within noise band" raise UnattributableScoreDelta( "scorer/schema changed AND residual exceeds noise band; " "cannot attribute without a fixed-scorer replay of baseline" ) raw_delta = candidate.aggregate_score - baseline.aggregate_score if abs(raw_delta) <= candidate.canary_noise_band: return "no regression: delta within canary noise band" if abs(reconciled_residual) <= candidate.canary_noise_band: return "artifact: raw delta exceeds band but residual does not" # genuine regression: flips must be triaged, not assumed if not candidate.flipped_trajectory_ids: raise UnattributableScoreDelta( "residual regression claimed but no flipped trajectories recorded; " "triage record missing" ) return f"genuine regression: residual {reconciled_residual:+.3f} over {len(candidate.flipped_trajectory_ids)} flips" ```