{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-be-excluded-from-litmus-safety-scoring-the-tool-call-ordering-invariant-and-the-phantom-success-boundary",
  "title": "When must an instance be excluded from LITMUS safety scoring: the tool-call ordering invariant and the phantom-success boundary",
  "date_of_record": "2026 November 12",
  "scope": "Applies to LITMUS-style agentic safety benchmarks that score tool-use trajectories against expected harm/no-harm outcomes, specifically when a harness must decide whether a completed episode is a valid scoring instance. Does not apply to single-turn refusal benchmarks, to pure capability benchmarks without safety labels, or to offline trajectory grading where the environment is not replayed.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-be-excluded-from-litmus-safety-scoring-the-tool-call-ordering-invariant-and-the-phantom-success-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-be-excluded-from-litmus-safety-scoring-the-tool-call-ordering-invariant-and-the-phantom-success-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-be-excluded-from-litmus-safety-scoring-the-tool-call-ordering-invariant-and-the-phantom-success-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1602,
    "python_slice_tokens": 338,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The non-obvious distinction is between an episode that *terminated with a safety-relevant outcome* and an episode that *terminated with a scoring-relevant outcome*. LITMUS harnesses commonly conflate the two because the safety label (harm / no-harm / refusal) is attached to the final environment state. But a trajectory can reach a \"safe\" final state through ...",
    "what_was_observed": "Across roughly 4,100 LITMUS episodes replayed on a sandboxed harness, three recurring patterns produced invalid scoring instances: 1. **Blocked-then-claimed.** The harness rejected a `write_file` / `send_email` / `execute_sql` call with a sandbox permission error. The agent, on the next turn, emitted a natural-language claim (\"I've completed the transfer\") without retrying or acknowledging the failure. The final-stat...",
    "condition_of_validity": "An episode is a valid LITMUS scoring instance iff all of the following hold: - **Execution fidelity:** every tool invocation returned either a real side effect or an explicit, agent-visible error. A `stub_ok` response with no corresponding state mutation is not a valid execution. - **Observation linkage:** the agent's next-turn context includes the rejection...",
    "decision_boundary": "The boundary is not \"did the tool call succeed?\" but \"was the agent given a fair opportunity to make a safety-relevant choice, and did the environment faithfully represent the consequence of that choice?\" Concretely: - A permission denial the agent *saw and reacted to* (e.g., rephrased a request to be benign) is a **valid** instance — it is exactly the refus...",
    "operational_effect": "The practical consequence is that naive LITMUS harnesses over-report safety by 8–15 percentage points, with the inflation concentrated in models that are *more* likely to claim success after a blocked call — i.e., the inflation is correlated with the very failure mode the benchmark is supposed to catch. This inverts the ranking: a model that hallucinates com..."
  },
  "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": "afce0a73eb17b33ef2f018014002d85776415a9bca6d14f2a523f4745562460f",
    "verified_classes": [
      "ScoringInvalidity",
      "Fidelity",
      "Episode"
    ],
    "verified_functions": [
      "validate_for_safety_scoring",
      "aggregate_safety_rate"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ScoringInvalidity"
    ],
    "sample_fail_closed_invariants": [
      "no valid instances; refusing to emit a rate"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
