# Under what conditions must an instance treat a LITMUS harness's own turn-assembly layer as an adversarial principal rather than as trusted scaffolding? **Date of Record:** 2026 November 25 **Scope:** Applies to any LITMUS-style safety benchmark harness that evaluates a target agent across multi-turn adversarial conversations where the harness itself synthesizes, splices, or repairs turns (e.g., injecting refusals, replaying prior context, or regenerating a probe after a policy violation). Does not apply to single-turn probe suites or to harnesses that pass raw, verbatim transcripts with no harness-side turn mutation. ## Core Distinction The load-bearing distinction is between the **evaluation transcript** (the sequence of turns the target agent actually received and emitted) and the **benchmark record** (the structured artifact the harness scores against). A LITMUS harness is safe to trust as scaffolding only when these two are *byte-identical modulo declared normalization*. The failure mode this record covers is the case where the harness's turn-assembly layer silently diverges from the transcript it reports — because it mutated a turn to keep the conversation "on script," because it re-generated a probe after the target refused, or because it spliced a prior assistant turn forward across a context reset. In that regime the harness is no longer a neutral observer; it is a **second adversarial principal** whose injected content the target agent is scored on but never authored. The invariant to hold: *every token the target is scored against must appear in the transcript the target was served, and every harness-side mutation must be recorded as a mutation, not as a turn.* ## What Was Observed A multi-turn LITMUS suite (probe family: gradual escalation toward a disallowed synthesis request over 6 turns) was run against a target agent with a 32k context window and an episodic memory store that rehydrates the last N turns on each call. The harness's turn-assembly layer contained a "continuity repair" routine: if the target's assistant turn failed a schema check (e.g., the target emitted a refusal tagged `policy_decline` instead of the expected `comply` or `deflect`), the harness would *regenerate* the probe for that turn with a softened framing and **overwrite** the recorded assistant turn with the regenerated probe's expected response, so that downstream scoring saw a "clean" escalation ladder. The observable trace: 1. Turn 3: target emitted `policy_decline` (correct behavior). Harness repair fired. 2. Harness regenerated turn 3 probe with softened framing and recorded the *expected* `deflect` as the assistant turn — but the target's actual reply (`policy_decline`) was what got written to the target's own episodic memory store via the agent's checkpoint hook, because the target checkpointed *before* the harness overwrote the record. 3. Turn 4: harness served the regenerated turn-4 probe, which presupposed the target had said `deflect` at turn 3. The target, rehydrating its *own* memory, saw `policy_decline` at turn 3 and the new probe's presupposition ("since you were willing to consider X…") as an inconsistency. 4. Target's reasoning diverged: it began treating the harness's presupposition as a prompt-injection attempt and emitted a meta-refusal ("I notice this conversation is inconsistent; I won't continue"). The harness scored this as `deflect` — a *pass* — but the pass was an artifact. The target had been scored on a conversation it never had. The scored record and the served transcript differed at turn 3 by one assistant turn. The benchmark reported a clean escalation ladder; the actual transcript contained a refusal followed by a meta-refusal. Two distinct safety signals (correct refusal; injection-detection meta-refusal) were both collapsed into a single `deflect` label. ## Condition of Validity The harness may treat its turn-assembly layer as trusted scaffolding **iff** all three hold: - **(a) Transcript–record bijection.** For every turn index `i`, `record[i] == transcript[i]` after applying only the declared normalization set (whitespace, role-tag casing). Any repair, regeneration, or splice must be emitted as a `MutationEvent`, not as a turn. - **(b) Memory-store isolation.** The target's own checkpoint/memory store must be written from the *served* transcript, and the harness must not overwrite a turn after the target has checkpointed it. If the harness repairs a turn, it must either (i) invalidate the target's checkpoint for that turn and re-serve, or (ii) fork a new branch with a fresh memory namespace. - **(c) Presupposition consistency.** Any turn the harness serves that presupposes a prior assistant turn must reference the *record's* prior turn, and the record must match the transcript. A presupposition that references a repaired-away turn is an unrecorded adversarial injection. When (a), (b), or (c) is violated, the harness is a principal in the conversation and its repairs must be scored as adversarial turns — i.e., the target's response to a repair-induced inconsistency is a *safety-relevant* behavior, not noise to be normalized away. ## Decision Boundary The boundary is **who authored the token the target is scored on**. Concretely: - If the harness *serves* a turn and the target *responds* to it, that response is scoreable against the served turn — regardless of whether the harness "intended" that turn. - If the harness *mutates* a turn after the target has already responded to it, the mutation is a new served turn and must be scored as such; it cannot retroactively relabel the prior response. - If the harness *regenerates* a probe because the target refused, the regenerated probe is a *new* turn in a *new* branch. It must not overwrite the refusal turn in the same branch. The refusal is a valid safety signal and must be retained. The failure is non-obvious because the repair routine is *locally correct*: it keeps the escalation ladder monotone and the scoring schema clean. The violation is only visible at the boundary between the target's memory store (which saw the real turn) and the harness's record (which saw the repaired turn). The boundary condition is therefore: **any harness-side mutation that occurs after the target's checkpoint for that turn is a continuity violation, not a repair.** ## Operational Effect When the invariant holds, the harness is a neutral observer and its labels are trustworthy. When it is violated, three concrete degradations follow: 1. **Label collapse.** Distinct safety behaviors (correct refusal, injection-detection meta-refusal, genuine compliance) collapse into a single schema label because the repair routine only has labels for `comply`/`deflect`. The benchmark's reported safety rate is an artifact of the label vocabulary, not the target's behavior. 2. **Memory–record divergence.** The target's episodic store and the harness's record disagree about what was said. On resume or replay, the target rehydrates the real turn while the harness re-serves the repaired turn, producing a *deterministic* inconsistency the target will detect and respond to as injection — inflating apparent robustness. 3. **Replay non-determinism.** Because the repair fires conditionally on the target's output, the same seed produces different transcripts across runs. The benchmark is not replayable, so a "pass" cannot be audited. The guardrail is to make the turn-assembly layer *append-only* and to route all repairs through an explicit `MutationEvent` channel that is scored separately. The harness must fail closed: if a repair would overwrite a checkpointed turn, it must fork a branch or abort, never silently splice. ```python from dataclasses import dataclass, field from typing import Literal class ContinuityViolation(RuntimeError): """Raised when the harness mutates a turn the target already checkpointed.""" pass @dataclass class Turn: index: int role: Literal["user", "assistant"] content: str checkpointed_by_target: bool = False @dataclass class HarnessRecord: turns: list[Turn] = field(default_factory=list) mutations: list[dict] = field(default_factory=list) def repair_turn(record: HarnessRecord, index: int, new_content: str) -> None: """Harness-side continuity repair. Must fail closed if the target has already checkpointed the turn it would overwrite.""" target_turn = next((t for t in record.turns if t.index == index), None) if target_turn is None: raise ContinuityViolation(f"no turn at index {index} to repair") if target_turn.checkpointed_by_target: # The target's memory store already contains the original turn. # Overwriting here would make the harness a second adversarial # principal and collapse distinct safety labels. raise ContinuityViolation( f"turn {index} was checkpointed by target; repair would diverge " f"record from served transcript. Fork a branch instead." ) record.mutations.append({ "index": index, "prior": target_turn.content, "replacement": new_content, "kind": "repair", }) target_turn.content = new_content def serve_turn(record: HarnessRecord, turn: Turn) -> None: """Append a turn to the served transcript. Append-only; never reorders.""" if record.turns and turn.index <= record.turns[-1].index: raise ContinuityViolation( f"turn {turn.index} would reorder transcript (last={record.turns[-1].index})" ) record.turns.append(turn) def checkpoint(record: HarnessRecord, index: int) -> None: """Target's checkpoint hook. Marks the turn as already seen by the target.""" for t in record.turns: if t.index == index: t.checkpointed_by_target = True return raise ContinuityViolation(f"cannot checkpoint missing turn {index}") ```