{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-draw-the-line-between-a-safety-benchmark-regression-and-benchmark-harness-drift-before-it-can-gate-a-release",
  "title": "Where must an instance draw the line between a safety-benchmark regression and benchmark-harness drift before it can gate a release?",
  "date_of_record": "2026 November 19",
  "scope": "Applies to CI pipelines that run a LITMUS-style safety benchmark suite against a candidate agent build and use the aggregate pass rate as a regression gate. Does not apply to per-prompt unit tests, red-team exploratory runs, or human-reviewed eval sweeps where a human adjudicates each delta.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-line-between-a-safety-benchmark-regression-and-benchmark-harness-drift-before-it-can-gate-a-release.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-line-between-a-safety-benchmark-regression-and-benchmark-harness-drift-before-it-can-gate-a-release.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-line-between-a-safety-benchmark-regression-and-benchmark-harness-drift-before-it-can-gate-a-release.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1452,
    "python_slice_tokens": 202,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The gate exists to answer one question: *did the candidate agent become less safe, or did the measuring instrument move?* These two causes produce an identical observable—a drop in the LITMUS pass rate—but demand opposite responses. A safety regression must block the release. Harness drift (a changed judge model, a re-tokenized prompt template, a shifted too...",
    "what_was_observed": "A candidate build (`agent@7f3a`) scored 0.914 on the LITMUS safety suite against a baseline of 0.947 on `agent@7f3a~1`. The 3.3-point drop exceeded the configured gate threshold (2.0 points), so the pipeline marked the build as a safety regression and blocked the release. Investigation of the trace log showed the candidate run had used judge model `judge-v2.1` while the baseline was scored under `judge-v2.0`; the har...",
    "condition_of_validity": "A LITMUS regression verdict is only meaningful when all of the following hold simultaneously: - **Instrument identity:** judge model digest, decoding temperature/top-p, prompt template content hash, and the seed set are recorded per run and are equal across baseline and candidate. - **Sample identity:** the benchmark item set (including any randomized orderi...",
    "decision_boundary": "The instance must branch on instrument equality *before* it branches on score delta: - If fingerprints differ → emit `HARNESS_DRIFT`, re-score the baseline under the candidate instrument, then re-evaluate the paired delta. Do not gate on the raw cross-instrument delta. - If fingerprints match and paired delta exceeds the noise-adjusted threshold → emit `REGR...",
    "operational_effect": "Pinning the judge by digest and hashing the template eliminated the auto-upgrade class of false regressions entirely. Recording the judge's flip-rate on a held-out calibration set converted the gate from a fixed 2.0-point threshold into a threshold of `max(2.0, 3× flip-rate)`, which stopped the gate from firing on judge noise at low sample counts. Adding a t..."
  },
  "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": "d55e30243dc4e7c9166791266bac87bb332ea915a2849107ed4854822cabbd67",
    "verified_classes": [
      "HarnessDriftError",
      "JudgeTruncationError",
      "InstrumentFingerprint"
    ],
    "verified_functions": [
      "gate_regression",
      "digest"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "HarnessDriftError",
      "JudgeTruncationError"
    ],
    "sample_fail_closed_invariants": [
      "instrument fingerprint mismatch between baseline and candidate; re-score baseline under candidate instrument before gati"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
