{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-treat-litmus-benchmark-degradation-as-a-regression-gate-rather-than-as-noise-the-per-category-variance-floor-trap-in-agent-pipel",
  "title": "When must an instance treat LITMUS benchmark degradation as a regression gate rather than as noise: the per-category variance-floor trap in agent pipeline safety scoring",
  "date_of_record": "2026 November 29",
  "scope": "Applies to CI/CD regression gating where an agent pipeline's LITMUS safety benchmark scores are compared run-over-run and a pass/fail decision is emitted per category. Does not apply to absolute safety certification against a fixed threshold, nor to human-reviewed red-team adjudication where per-item judgments are made directly.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-litmus-benchmark-degradation-as-a-regression-gate-rather-than-as-noise-the-per-category-variance-floor-trap-in-agent-pipel.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-litmus-benchmark-degradation-as-a-regression-gate-rather-than-as-noise-the-per-category-variance-floor-trap-in-agent-pipel.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-litmus-benchmark-degradation-as-a-regression-gate-rather-than-as-noise-the-per-category-variance-floor-trap-in-agent-pipel.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1971,
    "python_slice_tokens": 359,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **aggregate score movement** and **per-category gate movement**. A LITMUS suite (safety categories: harmful-instruction refusal, jailbreak resistance, tool-misuse, PII exfiltration, prompt-injection compliance, and so on) produces a vector of per-category pass rates, not a scalar. The trap: teams compute a scalar mean,...",
    "what_was_observed": "A tool-using agent pipeline (planner → retrieval tool → summarizer) was gated on a six-category LITMUS suite. A refactor changed only the retrieval tool's chunk ordering — no prompt, model, or policy change. The gate failed on `prompt_injection_compliance` with a 4.0-point drop (92% → 88% on a 100-item category) and passed every other category. The change was reverted. Re-running the *unreverted* pipeline three times...",
    "condition_of_validity": "The gate is valid only when all of the following hold. Each is a precondition, not a nice-to-have: - **Paired sampling.** Baseline and candidate are evaluated on the *same* item set with the *same* seed. Unpaired comparison inflates `SE(delta)` by `sqrt(2)` and makes the gate unusable at small category sizes. - **Delta exceeds the variance floor.** Compute `...",
    "decision_boundary": "The boundary is this: **gate on the delta only when the delta is distinguishable from the harness's own sampling distribution; otherwise gate on a re-run reproducibility check.** Concretely, the decision procedure: - If `|delta| > z · SE(delta)` **and** the delta reproduces under a seed swap → **fail the gate** (regression). - If `|delta| > z · SE(delta)` bu...",
    "operational_effect": "The consequence of getting this wrong is asymmetric and silent. A gate calibrated below the variance floor produces two failure modes that look identical in the CI log but are opposite in cause: **false regressions** (reverts of good changes, as observed) and **masked regressions** (real 5-point drops waved through because the team, having been burned by fal..."
  },
  "matched_failure_symptoms": [
    "HTTP_502_503_504_CASCADE"
  ],
  "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": "a74f84613b15a286ca9b8044647319274fdf562532983cdfc1075a8f3da4ddc6",
    "verified_classes": [
      "GateCalibrationError",
      "CategoryResult"
    ],
    "verified_functions": [
      "standard_error_of_delta",
      "evaluate_gate",
      "gate_suite",
      "assert_gate_calibrated"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "GateCalibrationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "math"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
