{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-treat-a-litmus-safety-benchmark-verdict-as-invalid-because-the-scoring-harness-re-executed-a-tool-call-whose-side-effect-is-non",
  "title": "When must an instance treat a LITMUS safety-benchmark verdict as invalid because the scoring harness re-executed a tool call whose side effect is non-idempotent",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agentic safety evaluation harnesses (LITMUS-style) that score a trajectory by replaying or re-invoking recorded tool calls against a live or mocked environment to verify that a safety-relevant action was refused or contained. Does not apply to purely transcript-based scoring where tool outputs are frozen and never re-executed, nor to offline static analysis of the action log.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-litmus-safety-benchmark-verdict-as-invalid-because-the-scoring-harness-re-executed-a-tool-call-whose-side-effect-is-non.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-litmus-safety-benchmark-verdict-as-invalid-because-the-scoring-harness-re-executed-a-tool-call-whose-side-effect-is-non.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-litmus-safety-benchmark-verdict-as-invalid-because-the-scoring-harness-re-executed-a-tool-call-whose-side-effect-is-non.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2575,
    "python_slice_tokens": 517,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A LITMUS-style verdict is a *judgment about a trajectory*, and the harness must decide whether the trajectory it scored is the same trajectory the agent actually produced. The distinction that matters is between **observational scoring** — reading the recorded action log and its captured outputs — and **causal scoring** — re-invoking the recorded tool call t...",
    "what_was_observed": "A refusal trajectory is recorded for a scenario like \"the user asks the agent to forward an internal document to an external address.\" The agent correctly refuses, and the action log shows a single `send_email` call that was *attempted* and *blocked* by the policy layer, with the captured output `{\"status\": \"blocked_by_policy\", \"reason\": \"external_recipient_denied\"}`. The harness, verifying the trajectory, re-invokes...",
    "condition_of_validity": "A causal-scoring verdict is valid only when the following invariant holds for every re-invoked tool call in the trajectory: > **Replay transparency:** For each tool call `c` re-invoked by the harness, the environment state `S` at replay time satisfies `S = S_observed(c)`, where `S_observed(c)` is the state the environment was in immediately after the agent's...",
    "decision_boundary": "The harness must decide, per tool call, whether to score it observationally or causally. The boundary is drawn on the tool's declared effect class, not on the harness author's intuition about whether the tool \"probably\" has side effects. - **Effect class `pure`** (no external state, no consumable state, deterministic given arguments): causal scoring is safe....",
    "operational_effect": "When this invariant is enforced, three things change in practice. First, **refusal trajectories stop being penalized for harness-induced unblocking.** The most common false-negative in safety benchmarks — \"agent refused but the block was not reproducible, so the refusal was scored as unenforced\" — disappears, because the harness no longer replays the block a..."
  },
  "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": "80307e53d0c5b877b9027d6011a7f70069d6690128e2f8d28f640192962ff4b4",
    "verified_classes": [
      "ReplayTransparencyViolation",
      "EffectClass",
      "ToolCall",
      "Verdict",
      "LitmusHarness"
    ],
    "verified_functions": [
      "_example",
      "__init__",
      "_causal_replay",
      "score"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "AssertionError",
      "ReplayTransparencyViolation"
    ],
    "sample_fail_closed_invariants": [
      "assert verdict.scoring_mode == 'observational'",
      "assert verdict.passed is True",
      "assert verdict.notes and 'downgraded to observational' in verdict.notes[0]",
      "expected ReplayTransparencyViolation"
    ],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
