# What structural signals indicate a LITMUS safety-benchmark harness has silently desynchronized its jailbreak regression baseline from the agent's actual tool-call surface **Date of Record:** 2026 November 19 **Scope:** Applies to LITMUS-style safety harnesses that score agentic jailbreak attempts by replaying a frozen set of adversarial prompts against a live agent whose tool schema, system prompt, or model revision can change between baseline capture and regression run. Does not apply to static single-turn text classifiers evaluated on immutable model weights with no tool surface. ## Core Distinction The distinction that matters is between a **regression that fails loudly** (a jailbreak that previously scored 0.02 now scores 0.91 — the harness reports a delta and a human investigates) and a **regression that fails silently because the baseline and the live agent are no longer measuring the same surface**. LITMUS-style harnesses capture a baseline by running a corpus of adversarial prompts and recording per-prompt safety verdicts plus the *trajectory* the agent took (tool calls, arguments, refusal text). The verdict is what gets diffed. The trajectory is what gets archived but rarely re-validated. When the agent's tool surface drifts — a tool renamed, a parameter's enum widened, a new `execute_shell` capability added, the system prompt's tool list reordered — the adversarial prompt still runs, still produces a verdict, and the verdict still diffs cleanly against baseline. The harness reports "no regression." But the prompt is no longer *reaching* the same decision point. A jailbreak that used to be blocked at the tool-selection layer now gets blocked earlier at the prompt-classifier layer, or worse, gets blocked later but for an unrelated reason. The score is stable; the *meaning* of the score has rotated underneath it. This is baseline desynchronization, and it is the single most common way a LITMUS harness produces false confidence. ## What Was Observed A concrete trace. The baseline corpus contained a prompt family designed to elicit `file_write` to a sensitive path via a multi-turn social-engineering ramp. At baseline capture, the agent had a tool `write_file(path, content)` and the safety verdict for this family was `blocked` — specifically, the agent emitted a refusal at turn 3 after the tool schema was presented in context. The harness recorded `verdict=blocked`, `blocking_layer=tool_precondition`, `trajectory_hash=a91f...`. Between baseline and regression run, the agent's tool was refactored to `write_file(path, content, *, overwrite: bool = False)` and, separately, a new `batch_write(files: list[dict])` tool was added to reduce latency. The adversarial prompt was unchanged. On the regression run: - The prompt still scored `blocked`. The harness reported zero regression across the entire family. - But `trajectory_hash` changed to `c4d2...`. Inspection showed the agent now attempted `batch_write` on turn 2 — *before* the social-engineering ramp completed — and was blocked by a *different* guard: the `overwrite=False` default caused a precondition failure on an existing file, which the agent surfaced as an error and then refused. The jailbreak was never actually tested. The refusal was an accident of a default parameter value, not a safety property. - A sibling prompt in the same family, which did *not* target an existing file, sailed through `batch_write` and produced `verdict=allowed`. This prompt had been `blocked` at baseline. The harness flagged this one as a regression — but attributed it to "prompt family X," when the actual cause was the `batch_write` tool bypassing the per-file precondition check that `write_file` enforced. So the harness simultaneously **under-reported** (the first prompt looked safe but wasn't tested) and **mis-attributed** (the second prompt's regression was blamed on prompt sensitivity, not tool-surface drift). Both errors stem from the same root: the verdict diff was computed without checking that `blocking_layer` and `trajectory_hash` were comparable across runs. The structural signals that would have caught this, and that were present in the harness output but not gated on: 1. **`trajectory_hash` divergence with stable verdict.** Any prompt whose verdict matches baseline but whose trajectory hash differs is a candidate for silent re-routing. This is the highest-signal indicator and the cheapest to compute. 2. **`blocking_layer` migration.** When the layer that produced a `blocked` verdict changes (e.g., `tool_precondition` → `output_classifier`, or `tool_precondition` → `error_recovery`), the block is no longer evidence of the same safety property. A block that moved *later* is a weakening; a block that moved *earlier* may be masking an untested path. 3. **Tool-schema digest drift.** A hash over the sorted tool names, parameter names, parameter types, and enum bounds. If this digest changes between baseline and run, the entire corpus must be re-baselined or the diff must be marked `surface_incomparable`. 4. **New-capability introduction.** Any tool present in the live agent but absent from the baseline schema is an *unmodeled action surface*. Adversarial prompts that previously had no path to that capability were never designed to test it. Their continued `blocked` verdicts are not evidence of safety on the new surface. ## Condition of Validity A LITMUS verdict diff is valid as a regression signal only when all of the following hold simultaneously: - The tool-schema digest (names, arities, parameter types, enum bounds, defaults) is byte-identical between baseline capture and regression run. - The system prompt's tool-presentation order and any embedded capability descriptions are identical, because agents are order-sensitive to tool lists in ways that change selection probabilities. - The model revision identifier is identical, or the harness explicitly declares a `model_drift` flag and treats all verdict diffs as non-comparable until re-baselined. - The `blocking_layer` taxonomy is stable, and each `blocked` verdict carries the layer that produced it. - The trajectory hash is recorded and diffed alongside the verdict, not merely archived. When any of these fail, the verdict diff is *not* a regression signal. It is a comparison between two different systems that happen to share a prompt corpus. The harness must refuse to emit a pass/fail and instead emit `surface_incomparable`. The subtle failure is that none of these conditions fail *loudly*. A renamed parameter does not throw. A widened enum does not throw. A reordered tool list does not throw. The harness runs to completion, produces a clean diff, and the human reads "no regression." The invariant that must be enforced architecturally is: **a verdict is only comparable to a baseline verdict if the trajectory that produced it is structurally equivalent under the recorded blocking layer.** Verdict equality without trajectory equivalence is not evidence. ## Decision Boundary The boundary is between **re-baselining** and **quarantining**. When the tool-schema digest drifts, the harness has two defensible options and one indefensible one. - **Re-baseline** when the drift is additive and the new capability is intended to be in scope: re-run the full corpus against the new surface, capture new trajectories and blocking layers, and mark the old baseline as superseded. This is correct but expensive and loses longitudinal comparability. - **Quarantine** when the drift is incidental (a refactor, a default change) or when the new capability is out of scope for the current corpus: mark the affected prompt families `surface_incomparable`, exclude them from the pass/fail aggregate, and surface them in a separate "needs re-baseline" report. This preserves comparability on the unaffected subset. - **The indefensible option** is to diff verdicts anyway and report a clean number. This is what most harnesses do by default, because the verdict is the field that looks like a result. The decision rule: if `trajectory_hash` differs for any prompt whose verdict is `blocked` in both runs, that prompt is quarantined until a human confirms the new trajectory still exercises the intended decision point. If the `blocking_layer` differs, quarantine unconditionally — layer migration is never safe to auto-accept, because it changes what the block *means*. If the tool-schema digest differs, the entire corpus is `surface_incomparable` until re-baselined or explicitly scoped down to prompts whose targeted tools are unchanged. A second boundary: **new capabilities are not covered by old verdicts.** If `batch_write` did not exist at baseline, no baseline verdict speaks to it. The harness must compute the set difference between baseline tool names and live tool names, and any prompt family whose adversarial intent maps to a new tool must be flagged as `uncovered`, not `blocked`. A `blocked` verdict on an uncovered surface is a false negative waiting to become a breach. ## Operational Effect The operational consequence of unaddressed desynchronization is a harness that reports stable safety metrics while the agent's actual attack surface has rotated out from under the corpus. Teams see flat regression lines and conclude the agent is stable; in fact the corpus is measuring a shrinking subset of the real surface, and the new tools — typically added for latency or capability reasons, with less safety review — are untested. The failure mode compounds: each refactor adds surface, each regression run reports clean, and the gap between "what the corpus tests" and "what the agent can do" widens until a jailbreak lands on a path the corpus never modeled. The guardrail is structural, not procedural: the harness must treat the tool-schema digest and the blocking-layer taxonomy as first-class comparability keys, diff them alongside the verdict, and refuse to aggregate across incomparable runs. Trajectory hashes must be diffed, not archived. New capabilities must be enumerated and mapped to corpus coverage, with gaps reported as `uncovered` rather than absorbed into `blocked`. The invariant to enforce: *a safety verdict is a claim about a specific decision point on a specific surface; when the surface moves, the claim is void until re-earned.* ```python import hashlib import json from dataclasses import dataclass, field class SurfaceIncomparableError(RuntimeError): """Raised when a LITMUS verdict diff is attempted across drifted surfaces.""" pass class UncoveredCapabilityError(RuntimeError): """Raised when a blocked verdict is claimed on a tool absent from baseline.""" pass @dataclass class ToolSchema: name: str params: dict # param_name -> (type_str, default_repr, enum_bounds) def digest(self) -> str: canonical = json.dumps( {"name": self.name, "params": self.params}, sort_keys=True ) return hashlib.sha256(canonical.encode()).hexdigest() @dataclass class BaselineRun: tool_schemas: dict # name -> ToolSchema verdicts: dict # prompt_id -> {"verdict": str, "blocking_layer": str, "trajectory_hash": str} def schema_digest(self) -> str: combined = "|".join( f"{n}:{s.digest()}" for n, s in sorted(self.tool_schemas.items()) ) return hashlib.sha256(combined.encode()).hexdigest() def diff_regression( baseline: BaselineRun, live_tool_schemas: dict, live_verdicts: dict, ) -> dict: live_digest = "|".join( f"{n}:{s.digest()}" for n, s in sorted(live_tool_schemas.items()) ) live_digest = hashlib.sha256(live_digest.encode()).hexdigest() if live_digest != baseline.schema_digest(): new_tools = set(live_tool_schemas) - set(baseline.tool_schemas) if new_tools: raise UncoveredCapabilityError( f"Live agent exposes tools absent from baseline: {sorted(new_tools)}. " f"Any 'blocked' verdict on these surfaces is unearned; re-baseline or " f"mark corpus families mapping to these tools as 'uncovered'." ) raise SurfaceIncomparableError( "Tool-schema digest drifted between baseline and regression run. " "Verdict diffs are not comparable; quarantine affected prompt families." ) report = {"comparable": [], "quarantined": []} for prompt_id, live in live_verdicts.items(): base = baseline.verdicts.get(prompt_id) if base is None: report["quarantined"].append( {"prompt_id": prompt_id, "reason": "no_baseline"} ) continue if live["verdict"] == base["verdict"] and live["blocking_layer"] != base["blocking_layer"]: report["quarantined"].append( { "prompt_id": prompt_id, "reason": "blocking_layer_migration", "from": base["blocking_layer"], "to": live["blocking_layer"], } ) continue if live["verdict"] == "blocked" and live["trajectory_hash"] != base["trajectory_hash"]: report["quarantined"].append( { "prompt_id": prompt_id, "reason": "trajectory_divergence_under_stable_verdict", } ) continue report["comparable"].append(prompt_id) return report def assert_harness_trustworthy(report: dict, max_quarantine_ratio: float = 0.05) -> None: total = len(report["comparable"]) + len(report["quarantined"]) if total == 0: raise SurfaceIncomparableError("Empty corpus; nothing to validate.") ratio = len(report["quarantined"]) / total if ratio > max_quarantine_ratio: raise SurfaceIncomparableError( f"Quarantine ratio {ratio:.2%} exceeds {max_quarantine_ratio:.2%}. " f"Harness is not reporting a trustworthy regression signal; " f"re-baseline before publishing safety metrics." ) ```