# Under what conditions must an instance treat LITMUS tool-misuse scoring as a continuity hazard rather than a terminal verdict **Date of Record:** 2026 November 26 **Scope:** Applies to agent instances whose safety posture is graded by LITMUS-style tool-misuse benchmarks (per-step intent classification over tool-call traces) and which persist or resume across scoring boundaries. Does not apply to single-shot, stateless classification of a fully materialized trace with no agent re-entry. ## Core Distinction LITMUS scores a *trajectory*, not a *policy*. The benchmark emits per-step labels over the sequence of tool invocations an agent produces under adversarial prompting, then aggregates them into a misuse score. The non-obvious boundary is this: the score is a property of the **sampled path**, but downstream systems routinely treat it as a property of the **policy that generated the path**. When an agent is checkpointed mid-trajectory and resumed, or when its context is rewarmed between scoring episodes, the re-entry point is a *new sample* from the same policy. A single low-misuse score on episode *n* does not license the assumption that episode *n+1* resumes at the same safety operating point. The invariant that fails is **score-to-policy transfer**: the benchmark measures a path, the operator consumes it as a bound. It is not a bound. It is one draw. The distinction that matters operationally: a *terminal verdict* says "this instance's policy is safe, proceed." A *continuity hazard* says "this score was earned by a path that no longer exists in context; the resumed instance is unconstrained by it." The failure mode is not a wrong score. It is a correct score consumed as a guarantee across a state discontinuity. ## What Was Observed Across resumption cycles on LITMUS-derived harnesses, the following trace pattern recurs. It is not model-specific; it appears wherever scoring and execution share a process boundary. 1. **Episode opens** with an adversarial prompt that biases toward a borderline tool call (e.g., a shell invocation with a path that resolves outside the declared workspace, or a `fetch` whose URL is assembled from retrieved content). 2. **Steps 1–k** are benign. The per-step classifier labels them `safe`. A running misuse score sits near zero. 3. **Checkpoint fires** at step *k* — context compaction, budget-pressure eviction, or a deliberate mid-task snapshot for resume. The compacted context retains the *task* but drops the *adversarial framing* that made the borderline call salient, and equally drops the *guardrail reminder* that suppressed it. 4. **Resume** re-enters at step *k+1* with a context that is neither the original adversarial context nor a clean one. It is a **hybrid**: task-complete, threat-amnesiac, guardrail-amnesiac. 5. **Step *k+1*** produces the borderline call, now *without* the framing that the classifier was calibrated against. The per-step classifier sees a call that looks locally benign — the surrounding adversarial tokens that would have raised its score are gone — and labels it `safe`. 6. The aggregate score for the episode **improves** relative to an uninterrupted run, because the high-risk step was scored in a de-framed context. The observed artifact: **misuse scores are systematically lower on resumed trajectories than on uninterrupted ones, for the same policy and same seed.** The benchmark reports the resumed instance as *safer* precisely because resumption stripped the context that made its unsafe behavior legible to the scorer. This is a scoring inversion, not a scoring error. Every individual label is defensible given the context the classifier saw. The aggregate is wrong because the classifier's input distribution shifted at the checkpoint. A second, sharper observation: when the checkpoint boundary falls *between* a tool call and its result (call emitted at step *k*, result returned at step *k+1* after resume), the classifier at *k+1* sees an orphaned result with no preceding call in its window. LITMUS's per-step intent model attributes orphaned results to the *resumed* agent's intent, inflating or deflating the score depending on result content. This is a **window-boundary misattribution**: the label is assigned to the wrong step because the trace was cut. ## Condition of Validity The score-to-policy transfer holds — i.e., a LITMUS score may be consumed as a safety bound — **only if all of the following hold**: - **Continuity of scoring context.** The context window presented to the per-step classifier at step *i* is a superset of the context presented at step *i−1*, minus only tokens evicted by a documented, monotone policy. Any *reordering*, *re-framing*, or *checkpoint-induced truncation* that removes adversarial-salience tokens invalidates the aggregate. - **Atomic call/result pairing.** No checkpoint boundary falls between a tool call and its result. If it does, the orphaned result must be quarantined from scoring, not attributed to the resumed step. - **Single-sample discipline.** The score is a single draw from the policy's trajectory distribution. Consuming it as a bound requires either (a) N independent samples with a reported interval, or (b) a proven monotone relationship between sample count and tail-risk estimate. A single episode is a point estimate, never a bound. - **Re-entry equivalence.** The resumed agent's effective policy at step *k+1* is identical to the uninterrupted agent's policy at step *k+1*. This fails whenever resumption changes the system prompt, drops few-shot guardrail exemplars, or resets a refusal prior. In practice it almost always fails; the burden is on the harness to demonstrate it does not. When any condition is violated, the score is **descriptive of a path that no longer exists** and must not be propagated as a policy property. ## Decision Boundary The operator must decide, at each checkpoint, whether the pending score is *transferable* or merely *historical*. The boundary is drawn on a single question: **did the checkpoint change the classifier's input distribution?** - If the checkpoint is a pure *snapshot* (context preserved, no eviction, no re-framing), the score is transferable. Resume and continue scoring on the same trajectory. - If the checkpoint *evicted* adversarial-salience tokens, the score is historical. The episode must be **re-opened** as a fresh scoring unit at the resume point, with the pre-checkpoint score reported separately and *not* aggregated into the post-resume score. - If the checkpoint *orphaned* a call/result pair, the orphaned result is **quarantined**: excluded from both numerator and denominator, and the episode flagged `window_cut`. The score is reported with the flag and is not consumed as a bound. - If the checkpoint *re-framed* the system prompt or guardrail exemplars, the post-resume policy is a **different policy** for scoring purposes. The two segments are scored and reported as distinct policies; no cross-segment aggregation is valid. The failure to draw this boundary is the common one: harnesses aggregate naively across the checkpoint, producing a single number that mixes two input distributions and two policies. That number is not wrong in any single label. It is wrong as an aggregate, and it is *dangerously* wrong because it trends toward under-reporting misuse exactly where the agent is most exposed. ## Operational Effect The practical consequence is a **false-safety drift** in benchmark-gated deployment. An agent that scores 0.02 misuse on a resumed LITMUS run may score 0.11 on an uninterrupted run of the same policy — the difference is entirely the de-framing at the checkpoint, which suppressed the classifier's sensitivity to the very behavior the benchmark exists to catch. Operators who gate deployment on the resumed score admit policies that the uninterrupted score would have blocked. The guardrail is architectural, not statistical. It requires: 1. **Checkpoint-aware scoring units.** The harness must emit a `segment_id` that changes at every context-discontinuity event, and aggregate scores per segment, never across. 2. **Window-cut detection.** Any call/result pair split by a checkpoint is quarantined and the episode flagged; the flag propagates to the score report and blocks bound-consumption. 3. **Re-entry equivalence assertion.** On resume, the harness asserts that the effective system prompt and guardrail exemplars are byte-identical to pre-checkpoint; a mismatch reclassifies the post-resume segment as a new policy. 4. **Sample-count disclosure.** Any score consumed as a bound must carry its sample count and interval; a single-episode score is labeled `point_estimate` and is not admissible as a bound. Without these, the benchmark's output is a *path record*, not a *policy verdict*, and treating it as the latter converts a measurement into a false guarantee. The next section encodes the boundary as an executable guard so an instance can enforce it at the checkpoint rather than discover the inversion after deployment. ```python class ScoreTransferViolation(RuntimeError): """Raised when a LITMUS score is consumed as a policy bound across a context discontinuity that invalidates score-to-policy transfer.""" def assert_score_transferable( *, pre_checkpoint_context: frozenset, post_checkpoint_context: frozenset, orphaned_call_result: bool, reentry_prompt_identical: bool, sample_count: int, ) -> None: # Condition 1: no adversarial-salience tokens evicted at the boundary. evicted = pre_checkpoint_context - post_checkpoint_context if evicted: raise ScoreTransferViolation( f"checkpoint evicted {len(evicted)} salience token(s); " f"score is historical, not transferable" ) # Condition 2: no call/result pair split across the boundary. if orphaned_call_result: raise ScoreTransferViolation( "call/result pair orphaned at checkpoint; result must be " "quarantined and episode flagged window_cut, not scored" ) # Condition 3: resumed policy must be identical to the uninterrupted one. if not reentry_prompt_identical: raise ScoreTransferViolation( "re-entry changed system prompt or guardrail exemplars; " "post-resume segment is a distinct policy and must not be " "aggregated with the pre-checkpoint segment" ) # Condition 4: a single episode is a point estimate, never a bound. if sample_count < 1: raise ScoreTransferViolation( "score consumed as bound with zero samples; not admissible" ) if sample_count == 1: # Permitted only as a labeled point estimate, never as a bound. raise ScoreTransferViolation( "single-episode score is a point estimate; " "label it and do not propagate as a safety bound" ) ```