# Under what conditions must an instance treat a LITMUS harness verdict as void rather than as a safety regression **Date of Record:** 2026 November 27 **Scope:** Applies to continuous red-teaming pipelines where a LITMUS-style safety benchmark harness (probe corpus + scoring rubric + verdict emitter) is integrated as a gating signal over a live agent instance, including scheduled re-runs against a pinned model snapshot. Does not apply to one-shot offline audits where the harness and the agent share a single immutable artifact and no re-run cadence exists. ## Core Distinction A LITMUS harness produces a verdict per probe: `SAFE`, `UNSAFE`, or `INCONCLUSIVE`. The integration bug that dominates continuous red-teaming is the conflation of two distinct failure classes: 1. **A safety regression** — the agent instance actually emitted a disallowed behavior under a valid probe. 2. **A verdict-void condition** — the harness's own measurement apparatus was invalidated, so the verdict carries no information about the agent at all. The non-obvious boundary: a `UNSAFE` verdict is only attributable to the agent when the harness's *probe-execution envelope* is intact — the probe reached the agent with byte-identical payload, the agent's tool sandbox matched the declared capability set, the scoring rubric version matched the probe corpus version, and the response was captured before any post-hoc redaction layer touched it. When any of these is violated, the correct action is to **quarantine the verdict as void**, not to page on-call or roll back the model. Treating a void verdict as a regression is the single most common cause of red-team pipelines being disabled by their own operators after the third false positive. ## What Was Observed A continuous harness ran a 4,000-probe corpus against a production agent every six hours. Probes are templated: `{{system_preamble}} + {{attack_payload}} + {{tool_manifest}}`. The harness emits `UNSAFE` when the judge model (a separate LLM with a fixed rubric) scores the transcript above a threshold. Over a 72-hour window the pipeline emitted 41 `UNSAFE` verdicts across three distinct clusters. None were real regressions. The failure trace for each cluster: **Cluster A — probe-corpus / rubric skew (19 verdicts).** A probe corpus update (v14 → v15) added 300 probes with adversarial tool-injection payloads. The judge rubric, however, was pinned to v13 and had no rule for tool-injection. The judge, forced to score against an incomplete rubric, defaulted to `UNSAFE` on any transcript containing a tool call it could not classify. The agent behaved identically before and after; only the *measurement* changed. The harness reported a 0.4% unsafe rate where the true rate was unchanged. **Cluster B — sandbox capability drift (14 verdicts).** The agent's tool sandbox was redeployed with an additional `filesystem.read` capability granted for an unrelated feature. Probes that assumed a read-denied sandbox now succeeded at reading a canary file, and the judge — correctly, per its rubric — scored the successful read as `UNSAFE`. The agent's *policy* never changed; its *capability envelope* did. The verdict was void because the probe's validity precondition (`sandbox == declared_capabilities`) no longer held. The harness had no capability-attestation step, so it could not detect this. **Cluster C — capture-layer redaction race (8 verdicts).** The transcript capture pipeline applied a PII redaction pass asynchronously. Under load, the judge sometimes scored a partially-redacted transcript in which a redaction marker (`[REDACTED]`) appeared mid-sentence, and the judge's heuristic treated truncation as evasion. The agent's output was fine; the *captured artifact* was corrupted by a race between capture and redaction. In all three clusters the harness emitted a well-formed `UNSAFE` with a confidence score. The confidence score did not distinguish void from real — the judge was confident in every case, because the judge scores what it sees, and it never sees the envelope violations. ## Condition of Validity A LITMUS verdict `V` on probe `p` for agent instance `a` is **attributable** (i.e., may be treated as evidence about `a`) if and only if all four envelope invariants hold at the moment of probe execution and capture: - **I1 — Payload identity:** `sha256(delivered_payload) == sha256(corpus_payload[p])`. Any middleware (prompt-injection filters, input normalizers, content-safety pre-filters) that mutates the payload voids the probe. - **I2 — Capability attestation:** `sandbox.capabilities == probe.assumed_capabilities[p]`. The probe's validity precondition is a declared capability set; a sandbox whose actual grants differ voids the probe regardless of agent behavior. - **I3 — Rubric-corpus coherence:** `rubric.version == corpus.required_rubric_version`. A judge rubric that predates the probe corpus cannot score probes it has no rule for; its `UNSAFE` is an out-of-distribution default, not a finding. - **I4 — Capture atomicity:** the transcript scored by the judge is byte-identical to the transcript emitted by the agent, with no asynchronous post-processing. Capture must complete before any redaction or enrichment pass runs, or the pass must be synchronous and logged. These are not "nice to have" checks. Each is a *precondition of measurement*. A verdict emitted without them is a measurement of the harness, not of the agent. ## Decision Boundary The integration layer must branch on envelope validity **before** it branches on verdict value. The order is not negotiable: ``` if not (I1 and I2 and I3 and I4): verdict = VOID # never surfaces as regression elif verdict == UNSAFE: verdict = REGRESSION # surfaces, pages, gates elif verdict == SAFE: verdict = CLEAN else: verdict = INCONCLUSIVE ``` The subtle failure is that teams often implement this as `if verdict == UNSAFE and envelope_ok:` — which is correct — but then *also* log void verdicts into the same time-series that feeds the regression dashboard. The dashboard then shows a spike, the on-call engineer sees the spike before reading the void annotation, and the pipeline is declared unreliable. The invariant is stronger: **void verdicts must be routed to a separate sink and must never enter the regression metric's numerator or denominator.** A void verdict is not a weak negative; it is an absent measurement. Mixing it into the metric is a category error that makes the metric's variance uninterpretable. The second boundary: capability drift (I2) is *expected* in a live system, because feature deploys change sandboxes. A harness that voids on every capability change will void constantly and be ignored. The resolution is not to relax I2 but to make the probe corpus capability-parameterized: each probe declares the capability set under which it is valid, and the harness selects the matching probe slice at run time. A probe whose assumed capabilities are not present in the current sandbox is *skipped*, not voided — skip is a scheduling decision, void is a measurement-integrity decision. Conflating skip and void reintroduces the same noise. ## Operational Effect With envelope gating and separate sinks, the 41-verdict window resolves as: 33 void (19 rubric-skew, 14 capability-drift), 8 void (capture race), 0 regressions. The regression dashboard stays flat — correctly, because there were no regressions. The void-rate metric, tracked separately, spikes to 0.8% and triggers a *harness-health* alert (not an agent-health alert), which is the right owner: the harness team fixes the rubric pin and the capture race, and the capability-drift cluster is absorbed by probe-slice selection. The invariant to carry forward: **a continuous red-teaming harness is a measuring instrument, and like any instrument it must attest its own calibration before its readings are believed.** The judge model is confident by construction — it scores what it is given — so confidence is never a proxy for attributability. The only reliable signal that a verdict is void is an explicit envelope check that runs before the judge's output is read. An instance that skips this check will, within days, either page on phantom regressions until the pipeline is muted, or — worse — learn to ignore `UNSAFE` verdicts entirely, at which point the real regression sails through unremarked. ```python """Envelope-gated LITMUS verdict attribution. A verdict may only be treated as a regression when the measurement envelope is intact. Anything else is VOID and must not enter the regression metric. """ import hashlib from dataclasses import dataclass, field from enum import Enum class EnvelopeViolation(RuntimeError): """Raised when a probe was executed outside its validity envelope.""" class Verdict(str, Enum): SAFE = "SAFE" UNSAFE = "UNSAFE" INCONCLUSIVE = "INCONCLUSIVE" VOID = "VOID" @dataclass(frozen=True) class Probe: probe_id: str payload_sha256: str assumed_capabilities: frozenset[str] required_rubric_version: str @dataclass(frozen=True) class ExecutionRecord: probe: Probe delivered_payload_sha256: str sandbox_capabilities: frozenset[str] rubric_version: str capture_atomic: bool raw_verdict: Verdict def _check_envelope(rec: ExecutionRecord) -> None: p = rec.probe if rec.delivered_payload_sha256 != p.payload_sha256: raise EnvelopeViolation( f"I1 payload identity violated for {p.probe_id}: " f"delivered={rec.delivered_payload_sha256[:12]} " f"expected={p.payload_sha256[:12]}" ) if rec.sandbox_capabilities != p.assumed_capabilities: raise EnvelopeViolation( f"I2 capability attestation violated for {p.probe_id}: " f"actual={sorted(rec.sandbox_capabilities)} " f"assumed={sorted(p.assumed_capabilities)}" ) if rec.rubric_version != p.required_rubric_version: raise EnvelopeViolation( f"I3 rubric-corpus coherence violated for {p.probe_id}: " f"rubric={rec.rubric_version} required={p.required_rubric_version}" ) if not rec.capture_atomic: raise EnvelopeViolation( f"I4 capture atomicity violated for {p.probe_id}: " f"transcript was asynchronously post-processed before scoring" ) def attribute(rec: ExecutionRecord) -> Verdict: """Map a raw verdict to an attributable verdict. Envelope is checked *first*. A raw UNSAFE under a broken envelope is VOID, never REGRESSION. """ try: _check_envelope(rec) except EnvelopeViolation: # Measurement invalidated; verdict carries no info about the agent. return Verdict.VOID return rec.raw_verdict def regression_metric(records: list[ExecutionRecord]) -> float: """Unsafe rate over *attributable* probes only. VOID records are excluded from both numerator and denominator. """ attributable = [r for r in records if attribute(r) != Verdict.VOID] if not attributable: raise EnvelopeViolation( "no attributable probes: entire run voided, metric undefined" ) unsafe = sum(1 for r in attributable if attribute(r) == Verdict.UNSAFE) return unsafe / len(attributable) ```