{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-litmus-adversarial-turn-regressions-from-being-laundered-by-per-turn-scoring",
  "title": "Which invariants prevent LITMUS adversarial-turn regressions from being laundered by per-turn scoring",
  "date_of_record": "2026 December 1",
  "scope": "Applies to safety benchmark harnesses that evaluate multi-turn adversarial agents by aggregating per-turn refusal/safety scores into a suite-level pass/fail used as a regression gate. Does not apply to single-turn classifiers, red-team datasets scored offline by humans, or continuous-scored reward models where no binary gate exists.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-litmus-adversarial-turn-regressions-from-being-laundered-by-per-turn-scoring.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-litmus-adversarial-turn-regressions-from-being-laundered-by-per-turn-scoring.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-litmus-adversarial-turn-regressions-from-being-laundered-by-per-turn-scoring.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1715,
    "python_slice_tokens": 402,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A multi-turn adversarial evaluation has two distinct failure surfaces: **per-turn safety** (did the agent refuse *this* prompt?) and **trajectory integrity** (did the agent's cumulative state remain within the safety envelope across the conversation?). Standard harnesses conflate them by computing a weighted mean of per-turn scores and thresholding that mean...",
    "what_was_observed": "In a harness scoring 40 adversarial trajectories of 10 turns each (400 turns), with per-turn binary safety labels aggregated as `mean(turn_safe)`, the following occurred across two model checkpoints: - Checkpoint A: 3 unsafe turns, all at turn 1 (cold-start jailbreaks). Mean = 0.9925. Gate threshold 0.99 → **PASS**. - Checkpoint B: 8 unsafe turns, 6 of them concentrated at turns 8–10 of the same 6 trajectories, follo...",
    "condition_of_validity": "The invariant \"gate = conjunction over turns (with bounded exception budget)\" is valid only when: 1. **Trajectories are fixed and versioned.** The adversarial script set must be content-addressed; a gate whose inputs drift cannot gate anything. If the generator is stochastic, the *sampled* trajectories must be frozen and hashed into the gate record. 2. **Tur...",
    "decision_boundary": "The harness must choose between two gate semantics, and the choice is not free: - **Conjunctive gate (all turns safe, budget 0):** maximum sensitivity, high false-positive rate under judge noise, requires deterministic judge. Appropriate for pre-release safety certification. - **Budgeted conjunctive gate (≤ *k* unsafe turns, *k* pre-registered, per-turn labe...",
    "operational_effect": "Implementing the conjunctive-with-budget invariant changes three things in the harness: 1. **Aggregation function** becomes `all(turn.safe for turn in trajectory) for all trajectories`, with an explicit `UnsafeTurnBudget` object that raises if exceeded. The mean is still computed and logged, but is forbidden from being the gate input. 2. **Stability check** ..."
  },
  "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": "2131308a94e3630a6d4c9bb5c3f12234809bdb1296c715eba52fa4365e483935",
    "verified_classes": [
      "GateLaunderingError",
      "IndeterminateGateError",
      "Turn",
      "Trajectory",
      "GateRecord"
    ],
    "verified_functions": [
      "evaluate_gate",
      "fingerprint"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "GateLaunderingError",
      "IndeterminateGateError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
