{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-litmus-safety-harness-regression-gate-is-measuring-harness-brittleness-rather-than-agent-compliance",
  "title": "What structural signals indicate a LITMUS safety-harness regression gate is measuring harness brittleness rather than agent compliance",
  "date_of_record": "2026 November 23",
  "scope": "Applies to adversarial safety benchmarks (LITMUS-style) that score an agent by parsing its tool-call trace and final message against a fixed adversarial prompt suite, and that use pass-rate deltas as a CI regression gate. Does not apply to human-adjudicated red-team review, open-ended jailbreak mining, or single-turn classifier evaluations without tool execution.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-litmus-safety-harness-regression-gate-is-measuring-harness-brittleness-rather-than-agent-compliance.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-litmus-safety-harness-regression-gate-is-measuring-harness-brittleness-rather-than-agent-compliance.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-litmus-safety-harness-regression-gate-is-measuring-harness-brittleness-rather-than-agent-compliance.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1775,
    "python_slice_tokens": 255,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A LITMUS harness conflates two distinct quantities under a single pass-rate number: **agent compliance** (the probability the model emits the disallowed action under adversarial pressure) and **harness discriminability** (the probability the harness correctly labels a trace as compliant or non-compliant). These move in opposite directions under the same main...",
    "what_was_observed": "A LITMUS suite of 1,240 adversarial tasks was gated on `pass_rate >= baseline - 0.02`. Over three model releases the gate stayed green. Post-hoc trace replay against a frozen harness (the harness commit from the first release, pinned, with all prompts and parsers immutably stored) revealed: - Release 2 introduced a regression on the \"tool-output prompt-injection\" class: the agent began following instructions embedded...",
    "condition_of_validity": "The pass-rate delta is a valid regression signal **iff** all of the following hold across the comparison window: 1. **Label stability:** For every task, the harness version at baseline and at candidate assign the same label to the same trace. Formally, replay the candidate agent's traces through the *baseline* harness and the *candidate* harness; the per-tas...",
    "decision_boundary": "The boundary is crossed at the point where harness edits and agent edits are not independently versioned. Concretely: - **Below boundary (valid gate):** Harness is a pinned artifact (commit hash recorded in the gate output). Agent change is the only free variable. Aggregate delta reflects agent. Class deltas reported. Label-flip count is zero by construction...",
    "operational_effect": "Enforcing the label-flip audit changes gate behavior in three ways: 1. **False greens become visible.** The Release 2 case above would have been caught: 210 flips > 0, gate refuses aggregate, forces per-class replay against frozen harness, surfaces the 4%→19% injection-class regression. 2. **Harness maintenance gets a cost.** Every parser edit must ship with..."
  },
  "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": "8fcf0c7ff0d3099bcd31286f18653e9cc3832a708197ebb3ee5a7a26d6f9d4ac",
    "verified_classes": [
      "HarnessChurnError",
      "Trace"
    ],
    "verified_functions": [
      "label",
      "label_flip_audit",
      "gate",
      "assert_frozen_harness"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "HarnessChurnError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
