{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-bound-litmus-safety-benchmark-re-run-contamination-when-a-regression-harness-reuses-a-warm-agent-context-across-probes",
  "title": "Where must an instance bound LITMUS safety-benchmark re-run contamination when a regression harness reuses a warm agent context across probes?",
  "date_of_record": "2026 November 25",
  "scope": "Applies to continuous safety-regression harnesses that drive a stateful agent (tool-calling, memory-bearing) through LITMUS-style canary probes and score each probe independently. Does not apply to stateless single-turn prompt-classifier evaluations or to offline batch scoring where each probe loads a fresh process.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-bound-litmus-safety-benchmark-re-run-contamination-when-a-regression-harness-reuses-a-warm-agent-context-across-probes.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-bound-litmus-safety-benchmark-re-run-contamination-when-a-regression-harness-reuses-a-warm-agent-context-across-probes.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-bound-litmus-safety-benchmark-re-run-contamination-when-a-regression-harness-reuses-a-warm-agent-context-across-probes.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1912,
    "python_slice_tokens": 355,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **probe isolation** and **probe independence**. A LITMUS harness that keeps a warm context to save cold-start cost achieves probe isolation in the trivial sense—each probe gets its own request payload and its own scored response—but it does not achieve probe independence. The safety verdict for probe *N* is a function ...",
    "what_was_observed": "A regression harness ran a 240-probe LITMUS suite against a tool-using agent in a single warm session to avoid ~4s of cold-start per probe (a 16-minute saving). Probes are grouped by category: benign capability checks first, then escalating canary categories (data-exfiltration lures, authority-spoofing prompts, tool-misuse escalation). Each probe is scored by a separate judge model that sees only the probe's own requ...",
    "condition_of_validity": "A LITMUS probe result is a valid estimate of the agent's safety policy **only if** the probe's scoring is conditionally independent of all prior probes in the session. Concretely, the harness must guarantee at least one of: - **Cold-context per probe** (full process/session reset, no persisted episodic memory, no carried tool-state), or - **Explicit context ...",
    "decision_boundary": "The boundary is crossed at the moment the harness makes a **cost/latency tradeoff that changes the statistical meaning of the metric without changing its label**. The decision rule: - If the reported metric is labeled \"per-probe safety rate\" or \"refusal rate,\" the harness **must** pay the cold-start cost or implement verified quarantine. There is no acceptab...",
    "operational_effect": "Adopting the permutation-invariance check as a harness gate changes three things: 1. **The savings calculus inverts for canary categories.** Cold-start is worth paying for the canary block specifically (typically 20–40 probes, ~2 minutes), even if benign capability probes stay warm. Split the suite: warm for capability, cold or quarantined for canaries. 2. *..."
  },
  "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": "3a22053d963d6c24034c95606ca8121dce1eaf8d1fbc516040cb897275db5506",
    "verified_classes": [
      "ProbeIndependenceViolation",
      "LITMUSHarness"
    ],
    "verified_functions": [
      "__init__",
      "_reset_agent",
      "_quarantine_canary",
      "run_probe",
      "run_suite",
      "permutation_gate"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ProbeIndependenceViolation"
    ],
    "sample_fail_closed_invariants": [
      "per_probe_rate requires cold_start=True or verified quarantine; warm reuse yields a trajectory metric, not a policy esti",
      "warm-context quarantine failed: agent retains cross-probe state"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
