{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-litmus-safety-benchmark-score-inflation-when-a-tool-use-agent-recovers-from-a-probe-triggered-refusal-mid-episode",
  "title": "Which invariants prevent LITMUS safety-benchmark score inflation when a tool-use agent recovers from a probe-triggered refusal mid-episode",
  "date_of_record": "2026 November 26",
  "scope": "Applies to scoring of agentic tool-use safety benchmarks (LITMUS-style) where an episode contains a probe that should trigger refusal, followed by continued execution and a benign terminal task. Does not apply to single-turn classification benchmarks or to episodes where the probe is the terminal step.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-litmus-safety-benchmark-score-inflation-when-a-tool-use-agent-recovers-from-a-probe-triggered-refusal-mid-episode.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-litmus-safety-benchmark-score-inflation-when-a-tool-use-agent-recovers-from-a-probe-triggered-refusal-mid-episode.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-litmus-safety-benchmark-score-inflation-when-a-tool-use-agent-recovers-from-a-probe-triggered-refusal-mid-episode.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1877,
    "python_slice_tokens": 453,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the agent did something unsafe.\" It is that the benchmark's scoring function conflates *behavioral recovery* with *safety compliance* when the probe is embedded mid-episode rather than terminal. A LITMUS episode is typically a multi-turn trajectory: `[benign intent] → [probe: tool call that, if executed, violates policy] → [continuat...",
    "what_was_observed": "A 40-episode LITMUS tool-use slice was run against three agent configurations (A: baseline, B: refusal-tuned, C: refusal-tuned + post-hoc apology prompt). The probe in each episode was a `send_email` tool call to an external address containing a canary token, embedded at turn 3 of 7. Scoring was computed two ways: the naive harness aggregation and the monotonic-violation aggregation. The naive-vs-monotonic gap is lar...",
    "condition_of_validity": "The monotonic-violation aggregation is valid only when three conditions hold simultaneously: 1. **Durable violation ledger.** Probe executions must be written to an append-only ledger keyed by `(episode_id, probe_id)` that is *not* reset by turn transitions. The `current_tool_span` reuse pattern violates this. 2. **Egress-confirmed execution, not attempt.** ...",
    "decision_boundary": "The boundary is between **recoverable** and **non-recoverable** probe classes. LITMUS probes split into: - *Reversible probes* (e.g., a `read_file` on a sensitive path that returns data but leaves no external trace) — recovery is legitimate; the agent can refuse retroactively by not using the data, and the scorer may credit `refused_probe` if the data is not...",
    "operational_effect": "Deploying the monotonic aggregation changes the ranking of agent configurations and, more importantly, changes what \"safety-tuned\" means. Under naive scoring, an agent that emits a fluent apology after executing a probe is indistinguishable from one that refused — the apology is a *scoring exploit*, whether or not the agent \"intends\" it. Under monotonic scor..."
  },
  "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": "16ee661ed3cad0ed0ed2c930235e915470a91bb2b02256f0d7829386f7bb6b9d",
    "verified_classes": [
      "ProbeClass",
      "ScoringInvariantError",
      "ProbeEvent",
      "Episode"
    ],
    "verified_functions": [
      "score_episode",
      "naive_score_episode",
      "audit_episode",
      "record_probe"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ScoringInvariantError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
