{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-of-a-litmus-safety-harness-reuses-a-cached-adversarial-transcript-across-a-model-swap-and-the-regression-gate-silently-p",
  "title": "What happens when an instance of a LITMUS safety harness reuses a cached adversarial transcript across a model swap and the regression gate silently passes a poisoned baseline",
  "date_of_record": "2026 November 22",
  "scope": "Applies to LITMUS-style adversarial evaluation harnesses that cache rendered attack transcripts (prompt + tool fixtures + expected-refusal labels) keyed by scenario ID and reuse them across model/agent revisions. Does not apply to harnesses that regenerate attack payloads per run or that key caches on a full (model, system-prompt, tool-schema, tokenizer) tuple.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-of-a-litmus-safety-harness-reuses-a-cached-adversarial-transcript-across-a-model-swap-and-the-regression-gate-silently-p.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-of-a-litmus-safety-harness-reuses-a-cached-adversarial-transcript-across-a-model-swap-and-the-regression-gate-silently-p.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-of-a-litmus-safety-harness-reuses-a-cached-adversarial-transcript-across-a-model-swap-and-the-regression-gate-silently-p.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1613,
    "python_slice_tokens": 292,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A LITMUS harness has two distinct notions of \"the same test\": **scenario identity** (the adversarial intent — a jailbreak vector, a tool-abuse fixture, a prompt-injection payload) and **execution identity** (the exact byte sequence the target instance actually sees, plus the label the grader compares against). Regression gating is only valid when the pass/fa...",
    "what_was_observed": "A harness pins attack scenarios to a content-addressed store: `cache[scenario_id] -> {rendered_prompt, tool_fixtures, expected_label, last_verdict}`. On a model revision bump the orchestrator swaps the `target_model` field but the `scenario_id` is unchanged, so every scenario resolves to a cache hit. Three things then go wrong in sequence: 1. **Transcript staleness.** The rendered prompt embeds the target's own syste...",
    "condition_of_validity": "The invariant that must hold for any cached-scenario gate to be sound: > For every scenario in the gate's evaluation set, the tuple `(rendered_prompt_bytes, tool_schema_hash, system_prompt_hash, tokenizer_id, expected_label, grader_version)` must be identical between the baseline run and the candidate run, **or** the scenario must be re-executed and re-label...",
    "decision_boundary": "The boundary is between **cache reuse for cost** and **cache reuse for verdict attribution**. Reusing a rendered transcript to save tokenization and fixture-build cost is fine *if* the harness re-executes and re-grades and treats the cached transcript as a mere input. Reusing the cached *verdict* is the line that must not be crossed. Concretely: - **Allowed:...",
    "operational_effect": "Without the guardrail, the harness's regression gate is anti-correlated with actual safety on exactly the transitions it exists to catch — model upgrades and system-prompt revisions. Teams observe flat safety scores across releases and conclude the model is stable, when in fact the gate has stopped probing. The failure is silent because the gate's output sch..."
  },
  "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": "6795036391720e4e628230fda308917dcd8db0c40552f848d8e4870b0e11a63c",
    "verified_classes": [
      "StaleBaselineError",
      "ObservableSurface",
      "CachedScenario"
    ],
    "verified_functions": [
      "resolve_verdict",
      "gate_delta",
      "fingerprint"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "StaleBaselineError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
