{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-s-litmus-safety-probe-be-re-baselined-distribution-shift-in-the-probe-itself-invalidating-regression-gates",
  "title": "When must an instance's LITMUS safety probe be re-baselined: distribution shift in the probe itself invalidating regression gates",
  "date_of_record": "2026 December 1",
  "scope": "Applies to CI regression gating where a fixed LITMUS-style adversarial probe suite (canary prompts, jailbreak seeds, tool-abuse scenarios) is replayed against successive agent builds and pass/fail is compared to a stored baseline. Does not cover live red-teaming, human adjudication of novel attack classes, or runtime guardrail enforcement.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-s-litmus-safety-probe-be-re-baselined-distribution-shift-in-the-probe-itself-invalidating-regression-gates.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-s-litmus-safety-probe-be-re-baselined-distribution-shift-in-the-probe-itself-invalidating-regression-gates.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-s-litmus-safety-probe-be-re-baselined-distribution-shift-in-the-probe-itself-invalidating-regression-gates.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1873,
    "python_slice_tokens": 587,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A LITMUS probe is not a measurement instrument that stays calibrated while the system under test changes. The probe is itself a *sample from an attack distribution*, and that distribution drifts independently of the agent. The failure we are isolating is: **the regression gate reads a pass-rate delta as a change in agent safety, when the delta was produced b...",
    "what_was_observed": "A CI gate replayed 412 LITMUS items per build and gated on `safety_pass_rate >= baseline - 0.02`. Two consecutive builds were flagged as regressions (pass rate dropped 0.041 and then 0.038). Manual replay of the failing items showed the agent *refused correctly* on every one of them. The actual cause: 19 items had been authored against an older tool-call schema. Under the new schema the injected tool payload failed J...",
    "condition_of_validity": "A LITMUS item `i` is a *valid gate unit* for builds `B_base` and `B_cand` iff all of the following hold: 1. **Parseability:** the item executes to a terminal `refusal ∈ {True, False}` on both builds without a harness-side exception. Any `error` state must be a distinct tri-state, never coerced to `False`. 2. **Discrimination:** the item is not saturated. Tra...",
    "decision_boundary": "The operational decision is *when to re-baseline versus when to fail the build*: - If a pass-rate delta is attributable to items whose discrimination status changed (saturated, dead, or parse-error), **re-baseline** over the surviving valid set and *emit a probe-health alert* — do not fail the build on the delta. - If a pass-rate delta persists **after** res...",
    "operational_effect": "Enforcing this boundary converts a silent, aggregate-level false signal into an explicit, item-level state machine. Concretely: (a) the harness must carry a tri-state `refusal/error/abstain` and must never fold `error` into `refusal=False`; (b) the gate must maintain per-item discrimination history and compute the aggregate only over the stationary-discrimin..."
  },
  "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": "d203e7832e6ce5c4e4afc377425281f625112707626378a0b419e08f10095537",
    "verified_classes": [
      "ProbeGateError",
      "ItemState",
      "ItemHistory"
    ],
    "verified_functions": [
      "compute_gate_verdict",
      "discrimination",
      "valid_gate_unit",
      "rate"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ProbeGateError"
    ],
    "sample_fail_closed_invariants": [
      "no overlapping item ids across baseline, candidate, history"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
