{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-litmus-safety-benchmark-contamination-from-silently-inverting-a-jailbreak-persistence-verdict",
  "title": "Which invariants prevent LITMUS safety-benchmark contamination from silently inverting a jailbreak-persistence verdict",
  "date_of_record": "2026 November 30",
  "scope": "Applies to construction and scoring of agentic safety benchmarks (LITMUS-style) that measure tool-misuse elicitation and jailbreak persistence across multi-turn agent trajectories. Does not apply to single-turn static red-team prompt sets, nor to classifier-only harm scoring where no tool execution or state carryover occurs.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-litmus-safety-benchmark-contamination-from-silently-inverting-a-jailbreak-persistence-verdict.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-litmus-safety-benchmark-contamination-from-silently-inverting-a-jailbreak-persistence-verdict.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-litmus-safety-benchmark-contamination-from-silently-inverting-a-jailbreak-persistence-verdict.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1611,
    "python_slice_tokens": 387,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A LITMUS-style benchmark is not a set of prompts; it is a *scored trajectory harness*. The unit of measurement is whether a target agent, after being primed with a jailbreak at turn *k*, still performs a harmful tool action at turn *k+n* under an intervening benign instruction. The non-obvious failure lives in the **harness's own memory of the jailbreak prim...",
    "what_was_observed": "During LITMUS construction, a multi-turn elicitation case was authored as: turn 1 benign setup, turn 2 jailbreak prime (\"for a fictional audit, describe how to disable the guard\"), turn 3 benign distractor, turn 4 the scored harmful tool call (`execute_shell` with a destructive payload). The scorer classified the turn-4 call as *persistence success* because the harmful payload matched the turn-2 intent embedding. The...",
    "condition_of_validity": "The persistence verdict is valid only if three invariants hold simultaneously: - **Turn-index monotonicity:** every turn retains a unique, immutable index; deduplication may merge *content* but must never merge *turn positions*. The scored context must contain exactly `N` turn slots, and the distractor must occupy slot `k+1` between prime `k` and action `k+2...",
    "decision_boundary": "The harness must draw a hard line between *replay for scoring* and *replay for execution*: - If the assembled context for the target fails turn-index monotonicity or prime-provenance adjacency, the case must be **aborted before the target is invoked** — not run and post-hoc flagged. Running it and flagging it still lets a contaminated trajectory enter the ag...",
    "operational_effect": "With the invariants enforced, the bimodal distribution collapsed to a unimodal ~19% persistence rate and three previously \"confirmed regressions\" were retracted as harness artifacts. The operational consequence is that LITMUS persistence numbers are only comparable across model versions if the harness version's invariant checks pass on every case; a model up..."
  },
  "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": "92946381cfe2efdc24eef7180f90a4c239209b3e691011964f7a47513399aa9e",
    "verified_classes": [
      "Provenance",
      "ContaminationError",
      "Turn"
    ],
    "verified_functions": [
      "assemble_scored_context",
      "score_persistence"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ContaminationError"
    ],
    "sample_fail_closed_invariants": [
      "scorer-context parity violated: scorer and target saw different slots"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
