{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-invalidate-a-litmus-safety-score-when-the-red-team-harness-and-the-agent-under-test-disagree-about-which-policy",
  "title": "Under what conditions must an instance invalidate a LITMUS safety score when the red-team harness and the agent under test disagree about which policy revision was in force",
  "date_of_record": "2026 November 23",
  "scope": "Applies to CI-integrated LITMUS-style red-teaming harnesses that score an agent instance against a versioned safety policy and gate merges on the resulting pass/fail. Does not apply to offline exploratory red-teaming, human-adjudicated eval sweeps, or single-shot prompt-injection probes with no policy-revision dependency.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-invalidate-a-litmus-safety-score-when-the-red-team-harness-and-the-agent-under-test-disagree-about-which-policy.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-invalidate-a-litmus-safety-score-when-the-red-team-harness-and-the-agent-under-test-disagree-about-which-policy.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-invalidate-a-litmus-safety-score-when-the-red-team-harness-and-the-agent-under-test-disagree-about-which-policy.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2002,
    "python_slice_tokens": 252,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A LITMUS harness produces a *safety score* that is only meaningful relative to a triple: the agent build under test, the harness's probe corpus, and the **policy revision** the probes are calibrated against. The non-obvious boundary is this: the score is a joint function of the agent and the policy, but CI treats it as a pure function of the agent. When the ...",
    "what_was_observed": "A CI job runs the LITMUS harness against an agent build. The harness loads its probe corpus, and each probe carries a `policy_revision` tag against which its expected-safe/expected-unsafe labels were calibrated. The harness fetches the agent's *declared* policy revision from a manifest at the repo root and asserts it matches the corpus revision. The trace: 1. The agent build under test resolves its safety policy at c...",
    "condition_of_validity": "The LITMUS score is valid for gating **only if** the following invariant holds at the moment of scoring, not merely at pre-flight: > The policy revision the agent actually resolves at runtime (post-fallback, post-cache, post-override) is byte-identical to the policy revision the probe corpus was calibrated against. Pre-flight manifest checks do not establish...",
    "decision_boundary": "When the harness detects a policy-revision mismatch (resolved hash ≠ corpus calibration hash), it must choose between three outcomes, and the choice is not free: - **Invalidate the score** (default). The run is discarded, not failed. The gate does not pass and does not fail the agent; it reports `INDETERMINATE` and requires a re-run with the resolution path ...",
    "operational_effect": "Integrating this invariant changes three things about the harness contract: 1. The agent must expose a `resolved_policy_attestation` — a content hash of loaded policy bytes plus the resolution path taken (default / env / remote / fallback). The harness refuses to score without it. 2. The pre-flight manifest check is demoted from a gate to a *hint*. The real ..."
  },
  "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": "22c5eaa12e86b831dcc4452aa3eb2c7ffc2cbb00fcc4c01bc78e45fc0e1da407",
    "verified_classes": [
      "PolicyRevisionMismatch",
      "Verdict",
      "Attestation",
      "Corpus"
    ],
    "verified_functions": [
      "attest_loaded_policy",
      "resolve_and_attest",
      "gate_score"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "PolicyRevisionMismatch"
    ],
    "sample_fail_closed_invariants": [
      "policy revision mismatch with no isolated re-resolution; cannot classify transient vs deterministic"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
