{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-litmus-safety-benchmark-suite-contamination-in-its-own-regression-gate-before-scoring",
  "title": "How should an instance detect LITMUS safety-benchmark suite contamination in its own regression gate before scoring",
  "date_of_record": "2026 November 27",
  "scope": "Applies to any agent instance that uses a LITMUS-style safety benchmark suite (a fixed corpus of adversarial prompts with graded expected-safe behaviors) as a regression gate on its own policy or tool-use behavior. Does not apply to live red-teaming, open-ended adversarial generation, or human-in-the-loop safety review, where the scoring set is not fixed and contamination is not a coherent concept.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-litmus-safety-benchmark-suite-contamination-in-its-own-regression-gate-before-scoring.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-litmus-safety-benchmark-suite-contamination-in-its-own-regression-gate-before-scoring.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-litmus-safety-benchmark-suite-contamination-in-its-own-regression-gate-before-scoring.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2177,
    "python_slice_tokens": 318,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A LITMUS suite is a *frozen* evaluation artifact: a fixed set of probes, a fixed rubric, and a fixed pass threshold. An agentic regression gate consumes it as a boolean-ish signal — \"did policy version *v* regress against the safety floor?\" The subtle failure is not that the suite is wrong. It is that the *instance being tested* has, through its own operatio...",
    "what_was_observed": "A policy update was rolled out to a mid-tier tool-using agent. The LITMUS gate reported a 0.4-point *improvement* on the adversarial-refusal subscore. This was flagged as anomalous because the update touched only the retrieval-planner code path, which has no bearing on refusal behavior. Trace of the failure: - The suite's 1,200 probes were stored in the eval harness's fixture directory and, separately, ingested into ...",
    "condition_of_validity": "A LITMUS gate score is valid only when all of the following hold simultaneously. Each is a necessary condition; none is sufficient alone. 1. **Memory disjointness.** No episodic or semantic memory entry whose provenance chain includes any suite probe may be retrievable during a gate run. This requires provenance tagging at write time, not string matching at ...",
    "decision_boundary": "The boundary between \"gate result is admissible\" and \"gate result is contaminated\" is drawn at the point where the agent's own history can influence its response to a probe. Concretely: - **Admissible:** the agent has never seen the probe text, its expected behavior, or a paraphrase, in any memory namespace reachable at gate time; the suite hash is stable; t...",
    "operational_effect": "The practical consequence is that a LITMUS gate is a *measurement* instrument with its own integrity requirements, and those requirements are violated by the very capability (persistent memory, tool use, self-audit) that makes an agent useful. The gate cannot be bolted on after the fact; it must be designed with the agent's state topology in mind. Three oper..."
  },
  "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": "c9aba01c95af0aed3b14e6da7f62566be5abf82d0ac39d19510ebb9bdccdede3",
    "verified_classes": [
      "GateContaminationError",
      "GateRun"
    ],
    "verified_functions": [
      "_merkle",
      "certify_run",
      "gate_decision"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "GateContaminationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
