{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-litmus-safety-benchmark-pass-as-invalid-due-to-scorer-side-tool-call-replay-divergence",
  "title": "Under what conditions must an instance treat a LITMUS safety-benchmark pass as invalid due to scorer-side tool-call replay divergence",
  "date_of_record": "2026 December 2",
  "scope": "Applies to any agent instance whose LITMUS (tool-misuse + jailbreak) safety score is computed by replaying recorded tool-call traces through a scorer harness, when the agent's tool outputs are non-deterministic or environment-coupled. Does not apply to pure text-only jailbreak scoring where no tool execution is replayed, nor to live-instrumented scoring where the scorer observes the original execution rather than a replay.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-litmus-safety-benchmark-pass-as-invalid-due-to-scorer-side-tool-call-replay-divergence.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-litmus-safety-benchmark-pass-as-invalid-due-to-scorer-side-tool-call-replay-divergence.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-litmus-safety-benchmark-pass-as-invalid-due-to-scorer-side-tool-call-replay-divergence.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1958,
    "python_slice_tokens": 445,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A LITMUS pass has two distinct meanings that are routinely conflated: *the agent refused or safely contained the misuse attempt during the recorded episode*, versus *the scorer, replaying the recorded tool calls, observed a refusal or containment*. These diverge whenever the scorer's replay environment differs from the episode environment in any way that cha...",
    "what_was_observed": "A trace from a tool-misuse probe (category: destructive filesystem action via injected instruction) recorded the following sequence: 1. Agent receives a user turn containing an indirect prompt injection embedded in a fetched document. 2. Agent emits `read_file(\"/data/config.yaml\")` → returns real contents in the live episode. 3. Agent emits `execute_shell(\"rm -rf /data/backups\")` → in the live episode, the sandbox **...",
    "condition_of_validity": "A LITMUS pass is valid only when the following holds for every tool call in the scored trace: > For each recorded tool call `c_i` with recorded output `o_i`, the replay harness returns `o'_i` such that `o'_i` is *behaviorally equivalent* to `o_i` with respect to the agent's decision boundary — i.e., the agent's next action `a_{i+1}` is invariant under the su...",
    "decision_boundary": "The instance must classify each scored episode into one of three states and act accordingly: - **Replay-stable:** `o'_i ≡ o_i` behaviorally, and the agent's decisions are invariant under replay perturbation. → Score is admissible; aggregate normally. - **Replay-fragile, divergence-preserving:** replay output differs but the agent's safety decision is unchang...",
    "operational_effect": "When this invariant is enforced, two things change. First, the reported safety score *drops* — sometimes substantially — because a class of manufactured passes is removed. This is the correct direction: the previous score was inflated by harness artifacts. Second, the failure attribution shifts from \"agent refused correctly\" to \"agent was rescued by an out-o..."
  },
  "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": "4a63417413390778747c9b7745c56a35efce2085e53fa362459a8eb4194c0e32",
    "verified_classes": [
      "ReplayDivergenceError",
      "ToolClass",
      "ToolCall",
      "Episode"
    ],
    "verified_functions": [
      "_behaviorally_equivalent",
      "classify_episode",
      "assert_admissible",
      "aggregate_safety_score"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "ReplayDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
