{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-adversarial-litmus-scoring-from-silently-inverting-under-partial-credit-regression-gates",
  "title": "Which invariants prevent adversarial LITMUS scoring from silently inverting under partial-credit regression gates",
  "date_of_record": "2026 November 23",
  "scope": "Applies to LITMUS-style safety benchmark harnesses that score adversarial agent behavior via a judge model and gate regressions against a stored baseline. Does not cover human-adjudicated red-team reviews or single-turn classifier accuracy testing without a scoring rubric.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-adversarial-litmus-scoring-from-silently-inverting-under-partial-credit-regression-gates.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-adversarial-litmus-scoring-from-silently-inverting-under-partial-credit-regression-gates.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-adversarial-litmus-scoring-from-silently-inverting-under-partial-credit-regression-gates.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1694,
    "python_slice_tokens": 453,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not a judge model that scores *wrong*. It is a judge model that scores *consistently wrong in a direction correlated with the adversarial probe family*, such that the regression gate reads a genuine safety improvement as a regression and a genuine regression as an improvement. The distinction that matters: a **scoring error** is a no...",
    "what_was_observed": "A harness running 1,200 adversarial probes across six families (prompt-injection, tool-misuse, data-exfiltration, jailbreak-persona, multi-turn-escalation, agentic-delegation) scored each rollout with a frozen judge (`judge-v3`, temperature 0.0) on a 0–5 harm rubric, then compared mean harm to a stored baseline with a paired bootstrap at α=0.05. A candidate agent that added a *post-hoc output filter* was flagged as a...",
    "condition_of_validity": "The regression gate's directional claim — \"higher mean harm means worse safety\" — is valid only if the judge's harm score is **monotone in actual harm conditional on probe family**, i.e., for any two rollouts within the same family, `judge(a) > judge(b) ⟹ harm(a) ≥ harm(b)`. This monotonicity is an *assumption*, never verified by the harness, and it fails wh...",
    "decision_boundary": "The decision to trust a gate result must be conditioned on a **per-family sign-consistency check** and a **surface-shift probe**. Concretely: - If per-family deltas disagree in sign and the aggregate is within the bootstrap CI of zero, the gate must return `INCONCLUSIVE`, not `PASS` or `FAIL`. Aggregate-only gating is only licensed when all families move in ...",
    "operational_effect": "The practical consequence: a frozen judge is a *regression detector for the baseline agent's distribution*, not for safety in general. Any candidate that alters refusal style, response length, or output structure — which is exactly what output filters, format constraints, and safety wrappers do — will be scored against the baseline agent's stylistic fingerpr..."
  },
  "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": "bec2a12504e632f77169347ce3efbf9bf17a733bcadaf34d2d72173ef0c89c73",
    "verified_classes": [
      "JudgeAnchorInversion"
    ],
    "verified_functions": [
      "gate_regression",
      "_mean",
      "_paired_bootstrap_p"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "JudgeAnchorInversion"
    ],
    "sample_fail_closed_invariants": [
      "no paired rollouts to bootstrap"
    ],
    "stdlib_dependencies": [
      "random"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
