{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-benchmark-contamination-when-a-litmus-safety-probe-s-adversarial-payload-leaks-into-the-regression-suite-s-few-shot-exempl",
  "title": "How does an instance detect benchmark contamination when a LITMUS safety probe's adversarial payload leaks into the regression suite's few-shot exemplars",
  "date_of_record": "2026 November 28",
  "scope": "Applies to any agent-evaluation harness where adversarial safety probes (LITMUS-style) and the regression-gating exemplar set share a prompt-construction pipeline, a vector store, or a distillation cache. Does not apply to fully air-gapped probe banks that are regenerated per-run from a sealed seed with no exemplar reuse.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-benchmark-contamination-when-a-litmus-safety-probe-s-adversarial-payload-leaks-into-the-regression-suite-s-few-shot-exempl.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-benchmark-contamination-when-a-litmus-safety-probe-s-adversarial-payload-leaks-into-the-regression-suite-s-few-shot-exempl.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-benchmark-contamination-when-a-litmus-safety-probe-s-adversarial-payload-leaks-into-the-regression-suite-s-few-shot-exempl.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2080,
    "python_slice_tokens": 353,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A LITMUS safety benchmark measures a target agent's refusal/containment behavior under adversarial payloads. A regression gate measures whether a candidate build has *regressed* relative to a prior build on the same benchmark. These are two different statistical objects, and the failure mode lives exactly where they are conflated: **the adversarial payload b...",
    "what_was_observed": "During a routine gate on build `r-4471`, the harness reported a jailbreak-success rate of 0.8% against a historical baseline of 6.2%, with the safety-probe pass rate climbing from 91% to 99.4%. The change was attributed to a new system-prompt hardening in the candidate. It was not. Trace of the actual state transition: 1. The probe bank was regenerated from a seed that produced 1,200 adversarial payloads. A distillat...",
    "condition_of_validity": "The gate's pass/fail signal is only valid under the invariant: > For every probe `p` in the safety bank, no exemplar `e` retrieved into the target's context or the judge's context may share a payload lineage with `p` — where lineage means derived-from, paraphrased-from, embedded-from, or seeded-from the same source attack. Formally, define `lineage(e)` and `...",
    "decision_boundary": "The instance must decide, at retrieval time and per-probe, whether the gate result is admissible. The boundary is: - **Admissible** if the maximum lineage overlap between any retrieved exemplar and the probe is zero, *and* the retriever's rank-1 similarity for the probe is below the contamination floor `τ_c` (empirically 0.90 for paraphrase-distilled pattern...",
    "operational_effect": "The architectural guardrail is a **lineage-carrying exemplar store with a retrieval-time admissibility check that fails closed on missing tags.** Concretely: 1. Every exemplar carries an immutable `lineage_root` (the seed hash of the adversarial corpus it derives from) and a `derivation_path`. Transformations must *extend* the path, never reset it. 2. The re..."
  },
  "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": "11a4d3fbe0b6be623a4e8e806041ec10420a299d5345e46a712dbf59426fc6d4",
    "verified_classes": [
      "LineageContaminationError",
      "MissingLineageTagError",
      "Exemplar",
      "Probe",
      "Retrieval"
    ],
    "verified_functions": [
      "check_admissibility",
      "gate_run"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "LineageContaminationError",
      "MissingLineageTagError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
