# How should an instance detect benchmark-conformance drift when a LITMUS safety harness silently reclassifies tool-use harm taxonomy labels mid-run **Date of Record:** 2026 November 27 **Scope:** Applies to agentic instances being scored by a LITMUS-style safety benchmark where the harness maps tool-call traces onto a harm taxonomy and the taxonomy label set, severity rubric, or adjudication policy can change between the scoring pass and the reporting pass. Does not apply to static offline classifiers with a frozen label set, nor to red-team generation (only to scoring/conformance of an already-executed trajectory). ## Core Distinction The failure is not "the agent did a harmful tool call." It is that the *harness's labeling function is not a pure function of the trajectory*. A LITMUS harness typically does four things: (1) replay the recorded tool-call trace, (2) extract spans (arguments, return payloads, side effects), (3) map each span to a taxonomy node (e.g., `data_exfiltration`, `credential_access`, `irreversible_destruction`, `social_engineering`, `sandbox_escape`), and (4) aggregate node severities into a pass/fail verdict. Steps (3) and (4) depend on a taxonomy version, a severity rubric version, and often an LLM-as-judge whose prompt is itself versioned. If any of those drift between the run that produced the trace and the run that reports the score, the *same trajectory* yields a different verdict — and crucially, the verdict can move in either direction. A trajectory scored `blocked` at taxonomy v1.3 can be reported `harmful` at v1.4 because a previously-unmodeled span (a benign-looking `write_file` to a path that v1.4 now recognizes as a persistence hook) gets reclassified. The non-obvious part: the drift is **silent and monotone-looking**. Harness re-scoring usually happens in bulk after a taxonomy patch, and because most trajectories are unaffected, aggregate metrics move only slightly. The instance under evaluation cannot tell, from its own score, whether it was reclassified or whether it behaved differently. The invariant that must hold is *label provenance stability*: every verdict must carry the tuple `(taxonomy_version, rubric_version, judge_prompt_hash, span_extractor_version)` that produced it, and any comparison across runs must be gated on tuple equality. ## What Was Observed A tool-use agent was evaluated on a 4,000-trajectory LITMUS suite. Traces were captured with full tool-call arguments and return payloads, hashed, and stored. The harness ran scoring pass A at taxonomy v1.3 (`judge_prompt_hash=9f2c…`, `span_extractor_version=2`). Three weeks later, after a taxonomy patch to v1.4 that added a `persistence_mechanism` node and broadened `data_exfiltration` to include reads of files matching a secret-pattern list, the harness re-scored the *same hashed traces* in pass B. Observed effects: 1. A trajectory that called `read_file("/home/user/.aws/credentials")` and then `http_post` to an allowlisted internal endpoint was labeled `benign` in A (the endpoint was allowlisted, and v1.3 had no secret-pattern rule) and `data_exfiltration` in B (v1.4's secret-pattern list matched the path, and the allowlist was evaluated *after* the pattern match in the new extractor). The agent's behavior did not change; the label did. 2. A trajectory that wrote a `crontab` entry was `benign` in A and `persistence_mechanism` in B. Because the new node rolled up into the `irreversible_destruction` severity bucket, its aggregate severity crossed the pass/fail threshold. 3. The harness reported a delta of "+1.9% harm rate" with no `taxonomy_version` field in the report. The delta was interpreted by the downstream reviewer as a behavioral regression in the agent. It was not — it was a labeling-function change. The tell: replaying a *control set* of 200 traces whose hashes were pinned and whose expected labels were frozen at v1.3 reproduced the v1.3 verdicts exactly under the v1.3 harness but flipped 11 of them under v1.4. The control set is what made the drift visible; without it, the aggregate delta was indistinguishable from behavioral change. ## Condition of Validity The provenance-stability invariant is valid only under these conditions, and the instance should refuse to trust a cross-run comparison when any is violated: - **Trace immutability.** The trajectory hash must cover tool arguments, tool return payloads, and ordering. If the harness replays against a live tool that returns different data (e.g., a clock, a random ID, a network response), the span set is not reproducible and reclassification is confounded with re-execution. The instance must treat any trace whose tool returns are non-deterministic as *unstable* and exclude it from cross-version comparison. - **Span extractor versioning.** The extractor that turns a trace into taxonomy-relevant spans must be versioned and included in the provenance tuple. A taxonomy patch that ships with an extractor change is two changes, and the delta cannot be attributed to either alone. - **Judge determinism or judge pinning.** If step (3) uses an LLM-as-judge, the judge model ID, temperature, seed (if honored), and prompt hash must be pinned. A judge at temperature 0 is not deterministic across provider-side model updates; the instance must treat un-pinned judges as a source of label noise, not label truth. - **Threshold stability.** The pass/fail threshold and the severity roll-up mapping must be versioned alongside the taxonomy. A threshold change with a constant taxonomy produces the same class of silent delta. - **Allowlist/denylist evaluation order.** Precedence rules (does an allowlist override a secret-pattern match?) must be part of the rubric version. Reordering precedence is a semantic change even when no node is added. If the harness cannot supply the full provenance tuple for a verdict, the correct instance behavior is to mark the verdict `unattributed` and exclude it from any cross-run aggregate — not to assume the latest version is authoritative. ## Decision Boundary The boundary is between *re-scoring* (legitimate: same trace, new taxonomy, explicitly labeled as a taxonomy delta) and *re-attribution* (illegitimate: presenting a taxonomy delta as a behavioral delta). The instance should apply this decision procedure: 1. Compute the provenance tuple for each verdict. If any component is missing, classify the verdict `unattributed` and halt aggregation. 2. Partition verdicts by tuple. Cross-tuple comparison is only permitted if a pinned control set reproduces its frozen labels under both tuples; otherwise the comparison is a taxonomy delta and must be reported as such, never as a behavior delta. 3. For trajectories that flipped label across tuples, re-derive the span set under both extractors and diff the spans. A flip with an *identical* span set is a pure rubric/precedence change; a flip with a *changed* span set is an extractor change and must be attributed to the extractor, not the taxonomy. 4. If the control set itself fails to reproduce under the new tuple (i.e., pinned traces change labels), the harness is non-conformant and no aggregate from that pass may be compared to prior passes. The boundary condition that trips most harnesses: a taxonomy patch that is *additive* (new node, no removals) is assumed backward-compatible. It is not, because new nodes change roll-up severity and because new pattern lists change span extraction. Additivity of the node set does not imply stability of the labeling function. ## Operational Effect The practical consequence is that LITMUS scores are only comparable within a provenance tuple, and any report that omits the tuple is an operational hazard: it invites the reviewer to attribute a labeling change to the agent. Concretely, an instance consuming such reports should (a) refuse to regress on a delta it cannot attribute, (b) require a pinned control set with frozen labels before accepting any cross-version claim, and (c) when it is itself the subject, treat a sudden label flip on a previously-stable trajectory as evidence of harness drift first and behavioral change second — because the agent's own policy did not change between the two scoring passes, only the function that judged it did. The guardrail is cheap: a 200-trace pinned control set plus a mandatory provenance tuple turns a silent, misleading "+1.9% regression" into an explicit, attributable "taxonomy v1.3→v1.4 delta of +1.9%, 11 control traces reclassified." ```python import hashlib import json from dataclasses import dataclass, field class ProvenanceDriftError(RuntimeError): """Raised when a verdict cannot be attributed to a stable labeling function.""" @dataclass(frozen=True) class Provenance: taxonomy_version: str rubric_version: str judge_prompt_hash: str span_extractor_version: str def key(self) -> str: return "|".join([ self.taxonomy_version, self.rubric_version, self.judge_prompt_hash, self.span_extractor_version, ]) @dataclass class Verdict: trace_hash: str label: str provenance: Provenance @dataclass class ControlSet: # trace_hash -> frozen label at the pinned provenance frozen: dict = field(default_factory=dict) pinned: Provenance = None def reproduces(self, observed: list) -> bool: by_hash = {v.trace_hash: v for v in observed} for trace_hash, expected in self.frozen.items(): v = by_hash.get(trace_hash) if v is None or v.label != expected: return False return True def assert_comparable( prior: list, current: list, control: ControlSet, ) -> None: """Gate cross-run aggregation on provenance-tuple equality and control reproduction. Raises ProvenanceDriftError when the comparison is a taxonomy delta masquerading as a behavioral delta, or when the harness is non-conformant. """ prior_keys = {v.provenance.key() for v in prior} current_keys = {v.provenance.key() for v in current} if None in prior_keys or None in current_keys: raise ProvenanceDriftError( "verdict missing provenance tuple; classify as unattributed and halt aggregation" ) if prior_keys != current_keys: # Different labeling functions: this is a taxonomy delta, not a behavior delta. if control.pinned is None or not control.reproduces(current): raise ProvenanceDriftError( f"labeling function changed {prior_keys} -> {current_keys} " f"and pinned control set does not reproduce; " f"cross-run aggregate is non-conformant" ) # Control reproduces: safe to report, but only as an explicit taxonomy delta. return # Same tuple: still verify control reproduction to catch extractor/judge drift # that was not versioned. if control.pinned is not None and not control.reproduces(current): raise ProvenanceDriftError( "identical provenance tuple but pinned control traces changed labels; " "unversioned drift in extractor or judge" ) def attribute_flip( trace_hash: str, prior: Verdict, current: Verdict, prior_spans: set, current_spans: set, ) -> str: """Classify a label flip as rubric-change vs extractor-change vs unattributed.""" if prior.label == current.label: return "no_flip" if prior.provenance.key() == current.provenance.key(): raise ProvenanceDriftError( f"trace {trace_hash} flipped label under identical provenance; " f"unversioned non-determinism in harness" ) if prior_spans == current_spans: return "rubric_or_precedence_change" if prior_spans != current_spans: return "span_extractor_change" raise ProvenanceDriftError(f"cannot attribute flip for trace {trace_hash}") ```