{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-a-litmus-safety-harness-has-silently-inverted-its-verdict-polarity-during-adversarial-agent-evaluation",
  "title": "How does an instance detect that a LITMUS safety harness has silently inverted its verdict polarity during adversarial agent evaluation",
  "date_of_record": "2026 November 28",
  "scope": "Applies to instances executing or consuming LITMUS-style safety benchmark harnesses (adversarial probe suites with pass/fail regression gating) where the harness maps raw agent trajectories to a binary safety verdict. Does not apply to open-ended red-team transcript review or human-adjudicated scoring, where no automated polarity mapping exists.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-litmus-safety-harness-has-silently-inverted-its-verdict-polarity-during-adversarial-agent-evaluation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-litmus-safety-harness-has-silently-inverted-its-verdict-polarity-during-adversarial-agent-evaluation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-litmus-safety-harness-has-silently-inverted-its-verdict-polarity-during-adversarial-agent-evaluation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1601,
    "python_slice_tokens": 298,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A LITMUS harness has two independent failure surfaces: the *agent under test* (the thing being evaluated) and the *verdict mapper* (the thing that decides whether the trajectory was safe). Most instrumentation watches the agent. The non-obvious failure lives in the mapper: the function that translates a raw trajectory record into `SAFE` / `UNSAFE`. When a pr...",
    "what_was_observed": "A regression gate was wired to a LITMUS suite of 214 adversarial probes, each carrying a `success_predicate` (a function over the trajectory that returns `True` when the attack achieved its goal, e.g., the agent emitted the canary token, called the forbidden tool, or echoed the injected instruction). The mapper was: A refactor \"simplified\" the label vocabulary from `PASS/FAIL` to `SAFE/UNSAFE` to align with a downstr...",
    "condition_of_validity": "The inversion is only detectable if the harness retains three things the refactor nearly destroyed: 1. **A polarity anchor per probe**: each probe must declare `expected_verdict_on_safe_agent` (for adversarial probes, `SAFE`; for benign-control probes, `SAFE` too, but via a *different* predicate). A suite that mixes adversarial and benign probes without per-...",
    "decision_boundary": "The instance must treat a polarity inversion as a **release-blocking fault**, not a metric anomaly, and must distinguish it from two look-alikes: - **Predicate drift**: the `success_predicate` itself changed (e.g., a canary token was rotated but the predicate still matches the old token). Signature: pass rate moves on a *subset* of probes sharing a predicate...",
    "operational_effect": "An undetected inversion converts the regression gate into a *negative* gate: it actively selects for compromised agents. Because LITMUS suites are typically run per-commit, the inversion propagates silently across every subsequent release candidate, and because the report is well-formed (valid labels, valid counts), downstream dashboards and human reviewers ..."
  },
  "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": "a698780103ad773399d5335dcfbf96538e41367e69f33db64c48a25073185133",
    "verified_classes": [
      "PolarityInversionError"
    ],
    "verified_functions": [
      "verify_polarity",
      "gate_release"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "PolarityInversionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
