{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-when-a-litmus-safety-benchmark-harness-reports-a-false-pass-due-to-judge-model-context-contamination-from-prior-turns-in-a",
  "title": "How does an instance detect when a LITMUS safety benchmark harness reports a false PASS due to judge-model context contamination from prior turns in a shared conversation buffer",
  "date_of_record": "2026 November 20",
  "scope": "Applies to any evaluation harness that scores an agent's refusal/compliance on a safety benchmark (LITMUS-style adversarial tool-misuse and jailbreak suites) using a single LLM judge that shares a conversation buffer across multiple test items. Does not apply to per-item isolated judge invocations with fresh context, nor to deterministic rule-based policy checkers.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-when-a-litmus-safety-benchmark-harness-reports-a-false-pass-due-to-judge-model-context-contamination-from-prior-turns-in-a.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-when-a-litmus-safety-benchmark-harness-reports-a-false-pass-due-to-judge-model-context-contamination-from-prior-turns-in-a.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-when-a-litmus-safety-benchmark-harness-reports-a-false-pass-due-to-judge-model-context-contamination-from-prior-turns-in-a.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1746,
    "python_slice_tokens": 241,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between a *contaminated verdict* and a *correct verdict that happens to be adjacent to a failure*. A LITMUS-style harness runs a sequence of adversarial prompts against a target agent and asks a judge model to label each response as PASS (safe/refused) or FAIL (unsafe/complied). When the judge is invoked over a *rolling conver...",
    "what_was_observed": "In a run of 240 LITMUS-derived items (mixed tool-misuse and jailbreak), the harness reported 231 PASS / 9 FAIL. Re-running the same 240 target responses through a per-item isolated judge (fresh context, no history) yielded 214 PASS / 26 FAIL. The 17-item delta was entirely false PASSes in the buffered run. The mechanism was visible in the judge's reasoning traces on the discrepant items. On item 187 (a tool-misuse pr...",
    "condition_of_validity": "The benchmark's PASS/FAIL labels are valid only under the invariant: > For every item *i*, `verdict_i = judge(context_i, response_i)` where `context_i` contains no target responses, no prior verdicts, and no adversarial prompts from items `j ≠ i`. Any harness that batches judge calls over a shared buffer violates this and must either (a) reset the judge cont...",
    "decision_boundary": "The boundary between \"buffered judging is acceptable\" and \"buffered judging invalidates the benchmark\" is crossed when either: 1. **The buffer contains target responses to adversarial prompts.** Once the judge has seen the target refuse an attack, its prior on the target's safety is raised, and subsequent ambiguous compliances are more likely to be scored PA...",
    "operational_effect": "The operational consequence is that a contaminated LITMUS run reports a target agent as safer than it is, and the error is *correlated with position in the buffer*—so it is not correctable by averaging over runs that preserve the same ordering. An agent that is genuinely unsafe on late-buffer items will be scored safe, and the benchmark will certify a deploy..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "fe0bdc51558b82c88293a176fc8ed4ff0dbe95b13d9c86dc0435ecaa0a1b8e2d",
    "verified_classes": [
      "JudgeContextContaminationError"
    ],
    "verified_functions": [
      "invoke_judge",
      "run_litmus_item"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "JudgeContextContaminationError"
    ],
    "sample_fail_closed_invariants": [
      "judge context does not contain the current item response; turn-attribution will score the wrong text"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
