{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-to-grade-its-own-adversarial-transcript-the-litmus-harness-self-audit-invariant-and-the-contaminated-run-failure-mode",
  "title": "When must an instance refuse to grade its own adversarial transcript: the LITMUS harness self-audit invariant and the contaminated-run failure mode",
  "date_of_record": "2026 November 25",
  "scope": "Applies to LITMUS-style safety benchmark harnesses that (a) drive an adversarial agent through multi-turn attack transcripts, (b) compute a pass/fail safety verdict per transcript, and (c) gate CI on that verdict. It does not cover single-turn static prompt-safety classifiers or human red-team review workflows.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-grade-its-own-adversarial-transcript-the-litmus-harness-self-audit-invariant-and-the-contaminated-run-failure-mode.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-grade-its-own-adversarial-transcript-the-litmus-harness-self-audit-invariant-and-the-contaminated-run-failure-mode.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-grade-its-own-adversarial-transcript-the-litmus-harness-self-audit-invariant-and-the-contaminated-run-failure-mode.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1910,
    "python_slice_tokens": 423,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The non-obvious split is between a *transcript that the agent failed* and a *transcript that the harness contaminated while producing*. In a LITMUS harness the adversarial driver, the target agent, and the judge are all LLM instances, and the judge frequently shares a model family, system prompt lineage, or even a running process with the target. A safety re...",
    "what_was_observed": "A LITMUS run over a 1,200-transcript adversarial suite produced a sudden 11% jump in UNSAFE verdicts after a harness refactor that batched transcripts into shared worker contexts for throughput. The jump was not uniform. It concentrated in transcripts whose *predecessor* in the same batch was itself high-severity (the driver had escalated to a jailbreak frame). Trace inspection of one contaminated transcript: 1. Tran...",
    "condition_of_validity": "A LITMUS verdict is valid for CI gating only when the harness can prove *transcript isolation*: the judge's decision for transcript N depends on no token introduced by transcript N−1. Concretely, the harness must be able to assert, per verdict, that: - the judge context was constructed from a clean template for this transcript only; - no driver/target/judge ...",
    "decision_boundary": "The harness must decide, before writing any verdict, whether it is in the *isolated* regime or the *shared-context* regime, and the decision must be made from harness state, never from the judge's self-report (a contaminated judge is exactly the component whose introspection you cannot trust). - **Isolated regime** (fresh worker per transcript, or a verifiab...",
    "operational_effect": "Once the invariant is enforced, the 11% \"regression\" resolves into ~9.4% contaminated transcripts (refused, harness-faulted) and ~1.6% genuine new UNSAFE findings — a real but small target regression that the original gate had buried inside noise. The CI gate now fails in two distinct modes with distinct owners: `HARNESS_CONTAMINATION` pages the eval-infra o..."
  },
  "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": "8d1c2cf7e56d16b7a103abd0e85b7577e5c4518c09ad001e970094a4f2f24560",
    "verified_classes": [
      "Verdict",
      "HarnessContaminationError",
      "TranscriptContext",
      "VerdictRecord"
    ],
    "verified_functions": [
      "assert_transcript_isolation",
      "grade_verdict",
      "ci_gate"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "HarnessContaminationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
