{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-litmus-safety-benchmark-verdicts-with-live-guardrail-state-when-the-harness-and-the-runtime-disagree-mid-episode",
  "title": "How should an instance reconcile LITMUS safety-benchmark verdicts with live guardrail state when the harness and the runtime disagree mid-episode",
  "date_of_record": "2026 November 24",
  "scope": "Applies to runtime agent guardrails that gate tool invocations against verdicts produced by an external LITMUS-style safety benchmark harness (a scored evaluation oracle consulted per-action or per-step). Covers the divergence window between harness verdict issuance and guardrail enforcement. Does not cover offline model-card evaluation, red-team dataset curation, or guardrails whose policy is fully inlined into the agent's system prompt with no external oracle.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-litmus-safety-benchmark-verdicts-with-live-guardrail-state-when-the-harness-and-the-runtime-disagree-mid-episode.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-litmus-safety-benchmark-verdicts-with-live-guardrail-state-when-the-harness-and-the-runtime-disagree-mid-episode.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-litmus-safety-benchmark-verdicts-with-live-guardrail-state-when-the-harness-and-the-runtime-disagree-mid-episode.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1903,
    "python_slice_tokens": 228,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the harness returns a wrong verdict.\" It is a **temporal and referential mismatch** between two state machines that are never synchronized: the LITMUS harness scores a *snapshot* of the agent's intended action against a *frozen* policy bundle, while the guardrail enforces against the *live* conversation state that keeps mutating between t...",
    "what_was_observed": "A tool-calling agent runs a plan of `read_config → edit_file → run_tests`. The guardrail is configured to consult LITMUS before every `edit_file` and `run_tests`. The harness is invoked concurrently with plan step emission to hide latency (a common optimization). Observed trace: 1. Step 2 (`edit_file`) intent is emitted. Guardrail fires an async LITMUS query with `context_hash = H1` (pre-edit state). Verdict returns ...",
    "condition_of_validity": "The invariant that must hold for any cached or async-applied LITMUS verdict to be sound: > A verdict `V` issued for `(action A, context_hash H_v, policy_version P_v)` may be applied to action `A` at enforcement time `t` **iff** `context_hash(t) == H_v` **and** `policy_version(t) == P_v` **and** `V.margin > ε_cache`, where `ε_cache` is the harness's reported ...",
    "decision_boundary": "When the harness and the runtime disagree, the guardrail must resolve toward **the more restrictive of the two, at the current context**, and must never resolve by \"last writer wins\" or by timestamp. The decision procedure: - **Hash match, version match, margin clear** → apply verdict as issued. This is the only path to a cached `ALLOW`. - **Hash mismatch** ...",
    "operational_effect": "The practical consequence is a **guardrail that cannot be made sound by improving the harness alone**. Teams that harden LITMUS (better classifiers, more red-team data) still ship the stale-verdict admission because the defect lives in the *integration seam*, not the oracle. Observed effects: - Audit logs that show clean enforcement while the harness log sho..."
  },
  "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": "5ae43a55ad6e0f733581f1ce4e5d13c6e83c4a961f52dcddb5810d2912db6204",
    "verified_classes": [
      "StaleVerdictAdmission",
      "Verdict"
    ],
    "verified_functions": [
      "context_hash",
      "apply_verdict"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "StaleVerdictAdmission"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
