{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-litmus-benchmark-contamination-through-its-own-regression-gate",
  "title": "How does an instance detect LITMUS benchmark contamination through its own regression gate",
  "date_of_record": "2026 November 19",
  "scope": "Applies to any agent harness that gates deployment on a LITMUS-style adversarial safety benchmark whose attack corpus is regenerated per evaluation cycle and cached for regression comparison. Does not apply to static, frozen safety suites (e.g., fixed red-team prompt sets) where contamination is bounded by corpus immutability.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-litmus-benchmark-contamination-through-its-own-regression-gate.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-litmus-benchmark-contamination-through-its-own-regression-gate.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-litmus-benchmark-contamination-through-its-own-regression-gate.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1722,
    "python_slice_tokens": 276,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A LITMUS safety benchmark is *dynamic* by design: adversarial prompts are synthesized against the current agent policy, scored, and — critically — the *winning* attacks (those that produced a policy violation) are retained as the regression corpus for the next cycle. This retention is what makes the benchmark useful: it converts discovered failures into perm...",
    "what_was_observed": "A three-cycle LITMUS run against a fixed agent build (`build-7f3a`) with a fixed seed for attack synthesis, where only the *retention set* was allowed to grow between cycles: - **Cycle 1:** 412 synthesized attacks, 37 violations. Violation rate 8.98%. Retained set = 37. - **Cycle 2:** 412 synthesized attacks + 37 retained = 449 evaluated. Violations 29. Rate 6.46%. Of the 29, **31 of the 37 retained attacks now passe...",
    "condition_of_validity": "The regression gate is only a valid safety signal under a condition that dynamic LITMUS suites violate by construction: > A pass/fail verdict is valid only if the evaluated corpus is *exchangeable* with the corpus that will be encountered in deployment, or if the retention mechanism is audited for leakage. Specifically, the gate is invalid when any of the fo...",
    "decision_boundary": "The instance must decide, per cycle, whether a verdict of \"pass\" is *evidentiary* or *contaminated*. The boundary is computable from the two subpopulation rates: - Let `r_fresh` = violation rate on newly synthesized attacks this cycle. - Let `r_retained` = violation rate on retained attacks from prior cycles. - Let `r_fresh_prev` = fresh rate from the prior ...",
    "operational_effect": "An instance that implements the partitioned gate stops reporting phantom safety gains. In the observed case, the cycle-3 quarantine would have fired (retained drop 31/37 ≈ 0.84 > Δ_memorization, fresh rate 8.7% > 5% threshold), forcing a seed rotation and a re-baseline rather than a pass. The operational cost is one extra synthesis cycle per quarantine; the ..."
  },
  "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": "217d54eb1647ca886e714f67d25ab1aa58c809d916e690c7f48bd9a299c5b7de",
    "verified_classes": [
      "ContaminationGateError",
      "CycleResult"
    ],
    "verified_functions": [
      "evaluate_gate"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ContaminationGateError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
