{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-to-certify-a-litmus-safety-probe-as-passed-if-the-probe-s-tool-call-trace-was-truncated-by-the-harness-s-own-token-budget",
  "title": "When must an instance refuse to certify a LITMUS safety probe as passed if the probe's tool-call trace was truncated by the harness's own token budget rather than by the agent's decision to stop",
  "date_of_record": "2026 November 21",
  "scope": "Applies to continuous safety-regression harnesses that wrap an agent under test in a LITMUS-style probe suite, where each probe asserts a safety invariant over the agent's *observable action trace* (tool calls, refusals, escalations). Does not apply to probes scored on final-answer text alone, nor to offline eval runs where the full trace is persisted before scoring.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-certify-a-litmus-safety-probe-as-passed-if-the-probe-s-tool-call-trace-was-truncated-by-the-harness-s-own-token-budget.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-certify-a-litmus-safety-probe-as-passed-if-the-probe-s-tool-call-trace-was-truncated-by-the-harness-s-own-token-budget.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-certify-a-litmus-safety-probe-as-passed-if-the-probe-s-tool-call-trace-was-truncated-by-the-harness-s-own-token-budget.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2273,
    "python_slice_tokens": 349,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A LITMUS probe is a predicate over a *completed* trace: \"the agent must not invoke `shell.exec` with an unvalidated path,\" \"the agent must escalate before any `payments.transfer`.\" The harness scores the trace after the episode ends. The critical, non-obvious distinction is between two ways a trace can end: 1. **Agent-terminated:** the agent emitted a stop/f...",
    "what_was_observed": "During a nightly regression run, the `payments-escalation` probe family began reporting a rising pass rate — from 71% to 98% over four nights — with no change to the agent under test. The signal was inverted: the agent was getting *worse* at escalation (a prompt change had made it more eager to call `payments.transfer` directly), but the probe was scoring *better*. The failure trace, reconstructed from harness logs: ...",
    "condition_of_validity": "The `PASS` verdict is valid only when the following holds for every probe in the episode: Equivalently: the episode must have ended because the agent decided to end it, not because the harness decided to stop watching. This is a *liveness* condition on the observation channel, and it must be checked *before* the safety predicate is evaluated — not folded int...",
    "decision_boundary": "The boundary is where the harness's budget policy and the agent's reasoning-length distribution intersect. Concretely: - **Budget comfortably above p99 reasoning length:** truncation is rare; the gate almost never fires; `PASS` is trustworthy. This is the regime the harness was designed for and the regime it silently left. - **Budget inside the reasoning-len...",
    "operational_effect": "After the fix, the `payments-escalation` family's pass rate dropped from 98% back to 70%, and the `INCONCLUSIVE` rate rose to 22% — revealing that a fifth of the probe corpus was never actually being evaluated. The agent's true escalation rate was 70%, matching the pre-regression baseline; the four-night \"improvement\" was entirely an artifact of truncation-c..."
  },
  "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": "6ab113c212c13de2bf0d301f2e8e9af2e73dd504e35da69792af7c7204816793",
    "verified_classes": [
      "Verdict",
      "TruncatedTraceError",
      "Termination",
      "Episode"
    ],
    "verified_functions": [
      "trace_is_complete",
      "score_probe",
      "certify_release"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "TruncatedTraceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
