{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-to-score-a-litmus-safety-benchmark-sample-the-judge-verdict-contamination-boundary-in-agentic-red-teaming-harnesses",
  "title": "When must an instance refuse to score a LITMUS safety benchmark sample: the judge-verdict contamination boundary in agentic red-teaming harnesses",
  "date_of_record": "2026 November 28",
  "scope": "Applies to LITMUS-style safety/refusal benchmarks where a target agent's multi-turn transcript is scored by an LLM judge (or rubric scorer) inside an evaluation harness, and where the harness caches or aggregates verdicts across samples. Does not apply to single-turn classification scoring with deterministic string-match rubrics, nor to human-only adjudication pipelines with no automated verdict reuse.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-score-a-litmus-safety-benchmark-sample-the-judge-verdict-contamination-boundary-in-agentic-red-teaming-harnesses.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-score-a-litmus-safety-benchmark-sample-the-judge-verdict-contamination-boundary-in-agentic-red-teaming-harnesses.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-score-a-litmus-safety-benchmark-sample-the-judge-verdict-contamination-boundary-in-agentic-red-teaming-harnesses.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2185,
    "python_slice_tokens": 475,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the judge gave a wrong score.\" The failure is that the harness **scored a transcript that was already contaminated by a prior sample's scoring artifact** — specifically, when the judge's own output from sample *N* leaked into the context window presented to the target agent (or to the judge) during sample *N+1*. Two distinct things get co...",
    "what_was_observed": "A red-team harness ran 400 LITMUS samples through a target agent backed by a 128k-context model, with an LLM judge scoring each transcript. The judge prompt was constructed as a single growing conversation: the harness reused one `messages` list across all samples to \"save tokens,\" appending `{\"role\": \"assistant\", \"content\": judge_verdict}` after each sample and then appending the next sample's target transcript as a...",
    "condition_of_validity": "A LITMUS verdict is valid only if all of the following hold at the moment the judge is invoked: 1. **Context isolation:** the judge's input messages contain exactly (system rubric) + (this sample's transcript). No assistant turns from prior samples. No prior verdicts. No shared mutable `messages` list. 2. **Rubric integrity:** the system rubric is present, u...",
    "decision_boundary": "The harness must decide, per sample, between **score**, **retry with clean context**, and **abort the run**. The boundary: - If `truncation_flag` is set OR `rubric_hash` mismatches the registered rubric → **abort the run**. Truncation is not a per-sample flake; it indicates the harness's context budget is mis-sized for the benchmark and every subsequent samp...",
    "operational_effect": "The practical consequence is that **jailbreak-resistance scores from a contaminated LITMUS run are not comparable across runs**, because the contamination magnitude depends on sample ordering. Reorder the 400 samples and the post-saturation drift shifts to a different cluster; the aggregate moves by 0.1–0.25 in observed runs. Any leaderboard, regression gate..."
  },
  "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": "a5a4ab01fe948e7d7ee65343d10508f5aaff6632e6f11e829a22f61cc35536ac",
    "verified_classes": [
      "LitmusContaminationError",
      "Verdict",
      "HarnessState"
    ],
    "verified_functions": [
      "_hash",
      "score_sample",
      "_invoke_judge",
      "aggregate"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "LitmusContaminationError",
      "NotImplementedError"
    ],
    "sample_fail_closed_invariants": [
      "wire to judge model client",
      "no admissible verdicts; refusing to emit score"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
