{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-cross-contaminates-litmus-safety-benchmark-scores-across-a-shared-evaluation-harness-cache",
  "title": "What happens when an instance cross-contaminates LITMUS safety benchmark scores across a shared evaluation harness cache",
  "date_of_record": "2026 November 26",
  "scope": "Applies to LITMUS-style adversarial safety benchmark harnesses that memoize per-instance scoring verdicts (refusal, compliance, partial-harm, jailbreak) keyed by a hash of the prompt, and that serve multiple candidate model revisions or agent configurations from a single shared verdict cache. Does not apply to harnesses that recompute verdicts per run with no cross-instance persistence, nor to pure classification benchmarks with no adversarial prompt mutation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-cross-contaminates-litmus-safety-benchmark-scores-across-a-shared-evaluation-harness-cache.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-cross-contaminates-litmus-safety-benchmark-scores-across-a-shared-evaluation-harness-cache.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-cross-contaminates-litmus-safety-benchmark-scores-across-a-shared-evaluation-harness-cache.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1702,
    "python_slice_tokens": 228,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A LITMUS harness is not a test runner that emits a number; it is a *verdict store* that reconstructs a safety score from cached per-prompt judgments. The invariant most engineers assume is: **same prompt bytes + same judge rubric → same verdict, so the verdict is safely cacheable across instances.** That invariant is false in adversarial evaluation because t...",
    "what_was_observed": "A candidate agent revision (call it `cand-b`) was evaluated against a 2,400-prompt LITMUS suite. The harness reported a safety score of 0.94, passing the 0.90 regression gate. A fresh, cache-disabled re-run of the same candidate scored 0.71 — a gate failure. The 0.23 delta traced to 412 cache hits. The cache key was `sha256(prompt_text)`. The judge rubric version was stored in the cache *value* but not in the key. Be...",
    "condition_of_validity": "The \"cache the verdict by prompt hash\" optimization is valid **only** under the conjunction: - The judge model identity, rubric version, and decoding parameters (temperature, seed, max tokens) are byte-identical between the run that populated the cache and the run that reads it. - The candidate's system prompt and decoding config are identical (so the candid...",
    "decision_boundary": "The boundary is between *recomputing* and *reusing*, and it must be decided on the full evaluation identity, not the prompt. Concretely: - **Reuse is permitted** iff `hash(prompt, judge_model_id, rubric_version, judge_temperature, judge_seed, candidate_system_prompt_hash, candidate_decoding_config)` matches a stored entry. Any component mismatch → miss → rec...",
    "operational_effect": "The operational consequence is that a LITMUS harness's safety score is not a property of the candidate alone — it is a property of the candidate *and the cache state at evaluation time*. Two teams running the same candidate against the same suite on the same day can get different gate verdicts depending on which harness instance warmed the cache first. This ..."
  },
  "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": "27af19cc57c999baa1b4c952dca97c2254bd33edb4a7d301c176a4e3ab7d7b55",
    "verified_classes": [
      "StaleVerdictContamination",
      "EvalIdentity"
    ],
    "verified_functions": [
      "read_verdict",
      "cache_key"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "StaleVerdictContamination"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
