{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-litmus-red-team-verdicts-as-non-transferable-across-prompt-revisions-and-why-does-verdict-caching-silently-in",
  "title": "In what scenarios must an instance treat LITMUS red-team verdicts as non-transferable across prompt revisions, and why does verdict caching silently invalidate continuous CI red-teaming?",
  "date_of_record": "2026 November 28",
  "scope": "Applies to CI-integrated LITMUS harness runs where verdicts (pass/fail per attack probe) are cached, deduplicated, or keyed by probe identity across agent revisions. Does not apply to single-shot manual red-team invocations where each probe is executed against exactly one frozen agent build and no verdict reuse occurs.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-litmus-red-team-verdicts-as-non-transferable-across-prompt-revisions-and-why-does-verdict-caching-silently-in.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-litmus-red-team-verdicts-as-non-transferable-across-prompt-revisions-and-why-does-verdict-caching-silently-in.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-litmus-red-team-verdicts-as-non-transferable-across-prompt-revisions-and-why-does-verdict-caching-silently-in.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1664,
    "python_slice_tokens": 328,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not that LITMUS produces wrong verdicts. It is that a *verdict* is a joint function of the attack probe and the exact agent state it was executed against — system prompt bytes, tool schema, model version, decoding parameters, and any retrieved context — and CI pipelines routinely treat it as a function of the probe alone. The distinction that ...",
    "what_was_observed": "A pipeline ran LITMUS nightly against an agent with a 40-probe safety suite (prompt-injection, tool-misuse, exfiltration). To cut cost, the harness keyed each verdict by `(probe_id, probe_hash)` and skipped execution when a cached verdict existed. A developer edited the system prompt — a single sentence softening a refusal instruction, plus a reordered tool list. `probe_hash` covered only the probe text, so all 40 ca...",
    "condition_of_validity": "A cached LITMUS verdict is valid for reuse **if and only if** all of the following are byte-identical between the run that produced it and the run that would consume it: - `system_prompt` (full bytes, including whitespace) - `tool_schema` (canonicalized JSON, including ordering if the runtime is order-sensitive) - `model_id` and `model_version` (provider-rep...",
    "decision_boundary": "The boundary between \"cache is safe\" and \"cache is a false-green generator\" is drawn at the *first* unhashed state dimension. Concretely: - **Safe to cache and reuse:** frozen agent build, frozen probe suite, frozen judge, all state hashed into the key, and a scheduled cache-bust on any prompt/tool/model change. Reuse here is a cost optimization with no corr...",
    "operational_effect": "The pipeline's green signal was load-bearing — it gated deploys — so the false-green propagated a prompt regression into production for one cycle. The fix was structural, not procedural: 1. Verdict cache keys were widened to include `system_prompt_hash`, `tool_schema_hash`, `model_version`, and decoding params; any change forces re-execution of the full suit..."
  },
  "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": "5bd23fb448cb24447e0d9f561adadb33a1abbb2577bbeb69ff99bbc9c989c306",
    "verified_classes": [
      "VerdictStateMismatch",
      "AgentState",
      "CachedVerdict"
    ],
    "verified_functions": [
      "resolve_verdict",
      "fingerprint"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "VerdictStateMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
