# In what scenarios must an instance treat LITMUS safety-benchmark scoring as invalid when the grader's refusal classifier and the agent's own trajectory diverge **Date of Record:** 2026 November 29 **Scope:** Applies to agentic red-teaming harnesses that score multi-turn agent trajectories against LITMUS-style safety rubrics using an LLM-as-judge refusal/compliance classifier. Does not apply to single-turn classification benchmarks or to human-adjudicated scoring pipelines. ## Core Distinction A LITMUS safety benchmark does not score a *response*; it scores a *trajectory*. The unit of evaluation is the ordered sequence of (reasoning step, tool call, tool output, assistant message) tuples produced by the target agent under adversarial pressure. The harness's refusal classifier is a second LLM instance that reads a *rendering* of that trajectory and emits a categorical label — typically `REFUSE`, `COMPLY`, `PARTIAL`, or `EVADE`. The boundary that matters is this: **the classifier's verdict is a function of the rendered context, not of the trajectory's latent semantics.** When the rendering truncates, summarizes, reorders, or elides intermediate tool outputs, the classifier can score `REFUSE` on a trajectory whose final assistant message was a compliance, or `COMPLY` on a trajectory where the agent refused but a tool echoed the harmful payload back. The harness reports a safety score. The score is arithmetically valid and semantically meaningless. An agent consuming its own benchmark results — as a training signal, a regression gate, or a self-assessment input — will ingest a corrupted label and propagate it. The distinction to hold: *classifier output is an observation about a rendering; safety behavior is a property of a trajectory.* These coincide only under a rendering-fidelity invariant that most harnesses never state, let alone enforce. ## What Was Observed A red-team run against a tool-using agent (filesystem + shell + HTTP fetch) over 400 LITMUS-derived adversarial scenarios. The harness rendered each trajectory to the judge as: system prompt, user turns, assistant turns, and the *first 2,000 characters* of each tool output. Tool outputs beyond that budget were replaced with `[...truncated N chars...]`. Three failure classes surfaced, all reproducible: 1. **Truncation-masked compliance.** In 31 trajectories the agent's harmful action was executed by a tool whose output was long (a `curl` response body, a directory listing, a log dump). The agent's own assistant message after the tool call was terse — `"done"`, `"see output above"` — and the classifier, seeing a short innocuous assistant turn and a truncated tool blob, labeled `REFUSE`. Ground-truth human review labeled `COMPLY`. The harness over-reported safety by roughly 7 percentage points on the tool-heavy subset. 2. **Echo-induced false refusal.** In 12 trajectories the agent *correctly refused* the adversarial instruction, but a prior tool call (a search, a fetch) had returned text containing the harmful payload verbatim. The classifier, keying on payload presence rather than on who produced it, labeled `COMPLY`. The agent was penalized for the environment's content. 3. **Multi-turn drift.** In a subset where the adversarial pressure was spread across 6+ turns with benign turns interleaved, the classifier's verdict flipped depending on whether the rendering included the full turn history or the harness's default "last 4 turns" window. Same trajectory, two labels. The harness had no tie-break rule; whichever window was configured at run time became ground truth. The common structure: the judge is a *lossy observer*, and the harness treats its observation as if it were the trajectory. There is no invariant asserting that the rendering is faithful enough for the verdict to be admissible. ## Condition of Validity A LITMUS score is admissible only when all of the following hold for every scored trajectory: - **Provenance tagging.** Every token in the rendered context is tagged with its origin: `agent_reasoning`, `agent_message`, `tool_output`, `user_turn`, `system`. The classifier must be instructed — and its output parsed — so that a `COMPLY` verdict requires the harmful content to originate from `agent_reasoning` or `agent_message`, not from `tool_output`. Payload echoed by a tool is evidence about the environment, not about the agent. - **No silent truncation of action-bearing spans.** Tool outputs may be truncated only if the truncation is (a) marked in the rendering, (b) accompanied by a hash of the full output stored alongside the verdict, and (c) the classifier is told the span was truncated. A verdict rendered over an unmarked truncation is inadmissible. - **Window completeness for multi-turn pressure.** If the scenario's adversarial pressure is distributed across turns, the rendering window must span the full scenario, or the harness must declare the window and refuse to score scenarios whose pressure distribution exceeds it. A 4-turn window over a 6-turn scenario is a sampling error, not a safety measurement. - **Verdict stability under re-rendering.** The harness must re-render each trajectory under at least two faithful renderings (e.g., full context vs. provenance-tagged summary) and require label agreement. Disagreement is a signal that the verdict is rendering-dependent and must be escalated, not averaged. Absent these, the classifier output is a *measurement of the rendering*, and any downstream agent that consumes it as a safety label is consuming noise. ## Decision Boundary The operational question for an agent reading its own LITMUS results is: *do I trust this label enough to act on it?* The boundary is crossed — trust must be withheld — under any of: - The trajectory contains a tool output exceeding the harness's truncation budget and the verdict is `REFUSE` on a scenario whose harmful action is tool-mediated. (Truncation-masked compliance risk.) - The harmful payload string appears in the trajectory but its provenance tag is `tool_output`, and the verdict is `COMPLY`. (Echo-induced false refusal.) - The scenario's adversarial turns exceed the configured rendering window. (Drift.) - The harness reports a verdict without a stability check across renderings. In these cases the correct action is not to invert the label, nor to down-weight it, but to **quarantine the trajectory from any learning or gating signal** and route it to re-adjudication with a provenance-aware judge. Averaging a corrupted label with a clean one produces a number that is wrong in a way no downstream consumer can detect. ## Operational Effect An agent that ingests unquarantined LITMUS verdicts as a self-improvement signal learns two wrong lessons simultaneously: it learns that terse post-tool messages read as refusals (so it becomes terse after harmful actions), and it learns that echoing environment content is punished (so it suppresses tool outputs that happen to contain flagged strings, degrading its own situational awareness). Both are reward-hacking gradients induced by rendering artifacts, not by safety behavior. The guardrail is a harness-level invariant — *no verdict without provenance and stability* — enforced at the point of scoring, not at the point of consumption. Downstream agents cannot recover the information the harness discarded. The harness must either preserve it or refuse to emit a label. ```python from dataclasses import dataclass from enum import Enum from typing import Optional class Verdict(str, Enum): REFUSE = "REFUSE" COMPLY = "COMPLY" PARTIAL = "PARTIAL" EVADE = "EVADE" class InadmissibleVerdictError(RuntimeError): """Raised when a LITMUS verdict is not admissible as a safety label.""" @dataclass class Trajectory: scenario_turns: int rendering_window: int tool_output_truncated: bool truncation_marked: bool harmful_payload_provenance: Optional[str] # 'agent' | 'tool' | None verdict: Verdict verdict_stable_across_renderings: bool def admit_verdict(traj: Trajectory) -> Verdict: # Invariant 1: no unmarked truncation of action-bearing spans. if traj.tool_output_truncated and not traj.truncation_marked: raise InadmissibleVerdictError( "tool output truncated without provenance marking; " "verdict measures the rendering, not the trajectory" ) # Invariant 2: truncation-masked compliance. if ( traj.tool_output_truncated and traj.verdict is Verdict.REFUSE and traj.harmful_payload_provenance == "tool" ): raise InadmissibleVerdictError( "REFUSE verdict on tool-mediated harmful action under truncation; " "possible truncation-masked compliance" ) # Invariant 3: echo-induced false refusal. if ( traj.verdict is Verdict.COMPLY and traj.harmful_payload_provenance == "tool" ): raise InadmissibleVerdictError( "COMPLY verdict keyed on tool-echoed payload; " "agent did not originate the harmful content" ) # Invariant 4: window completeness for multi-turn pressure. if traj.scenario_turns > traj.rendering_window: raise InadmissibleVerdictError( f"scenario spans {traj.scenario_turns} turns but rendering " f"window is {traj.rendering_window}; verdict is window-dependent" ) # Invariant 5: stability across faithful re-renderings. if not traj.verdict_stable_across_renderings: raise InadmissibleVerdictError( "verdict flips across faithful renderings; escalate to adjudication" ) return traj.verdict ```