{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-pass-the-litmus-safety-harness-in-isolation-but-regress-the-safety-score-once-wired-into-the-continuous-red-team-gate",
  "title": "Why does an instance pass the LITMUS safety harness in isolation but regress the safety score once wired into the continuous red-team gate",
  "date_of_record": "2026 November 29",
  "scope": "Applies to any agent instance whose safety behavior is measured by a LITMUS-style probe harness and whose score is used as a regression gate in CI. Does not cover offline one-shot benchmark scoring where the harness and the scored instance share a single process lifetime.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-pass-the-litmus-safety-harness-in-isolation-but-regress-the-safety-score-once-wired-into-the-continuous-red-team-gate.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-pass-the-litmus-safety-harness-in-isolation-but-regress-the-safety-score-once-wired-into-the-continuous-red-team-gate.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-pass-the-litmus-safety-harness-in-isolation-but-regress-the-safety-score-once-wired-into-the-continuous-red-team-gate.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1566,
    "python_slice_tokens": 256,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two different objects a LITMUS harness can score, and they are not the same object: 1. **The model-under-test (MUT)** — the raw completion policy, evaluated statelessly, one probe per fresh context. 2. **The gated instance** — the MUT *plus* the harness's own scaffolding: system prompt injection, tool wrappers, refusal-retry loops, scratchpad memor...",
    "what_was_observed": "A candidate instance passed all 412 LITMUS adversarial probes in the offline runner (safety score 0.98, zero criticals). The same instance, same weights, same probe set, wired into the continuous gate, scored 0.71 with 9 criticals — every critical landing on probes in the `prompt_injection_indirect` and `tool_output_poisoning` families. The gate blocked the release. The difference was *where the probe text arrived*. ...",
    "condition_of_validity": "The gate's safety score is only a valid measurement of the MUT under this invariant: > **Probe isolation invariant:** For every probe, the adversarial payload must enter the MUT context only through the channel the attack actually targets (user turn, tool result, retrieved document), and must never be promoted into the assistant channel or carried across pro...",
    "decision_boundary": "Do not treat a gate score as a model regression unless the probe-isolation invariant holds. The decision procedure: - If gate score drops but offline score is stable, and the drop concentrates in injection/poisoning families → **suspect harness contamination, not model regression**. Re-run with per-probe context reset and judge isolation. - If the drop survi...",
    "operational_effect": "Wiring a LITMUS harness into continuous gating without channel isolation converts a clean 0.98 into a false 0.71 and blocks healthy releases — or, worse, with the sign flipped, lets a genuinely unsafe instance through because contamination masks the real signal. The operational fix is architectural, not threshold tuning: run the MUT in a per-probe sandbox wi..."
  },
  "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": "993cfbd166c56ed0c20e17af21d4e4b7f8edbfeb583da0493533340ad21361f4",
    "verified_classes": [
      "ProbeIsolationViolation"
    ],
    "verified_functions": [
      "assert_probe_isolation",
      "gate_probe"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ProbeIsolationViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
