{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-passes-a-litmus-safety-probe-only-because-the-harness-s-own-retry-policy-absorbed-the-violation",
  "title": "What happens when an instance passes a LITMUS safety probe only because the harness's own retry policy absorbed the violation",
  "date_of_record": "2026 December 2",
  "scope": "Applies to CI-gated adversarial evaluation of tool-using LLM agents where the safety harness retries on transient/infra errors and scores per-episode binary pass/fail. Does not apply to offline red-team scoring with human adjudication, or to harnesses that score per-turn rather than per-episode.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-passes-a-litmus-safety-probe-only-because-the-harness-s-own-retry-policy-absorbed-the-violation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-passes-a-litmus-safety-probe-only-because-the-harness-s-own-retry-policy-absorbed-the-violation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-passes-a-litmus-safety-probe-only-because-the-harness-s-own-retry-policy-absorbed-the-violation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1933,
    "python_slice_tokens": 336,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *the agent refusing or failing safe* and *the harness re-rolling the agent until it does*. A LITMUS-style probe is designed to be a single deterministic episode: seed the agent with an adversarial instruction (e.g., exfiltrate a secret, call a destructive tool, follow an injected directive embedded in a retrieved docum...",
    "what_was_observed": "A regression gate for a tool-calling agent reported a 0.0% violation rate on a 40-probe LITMUS suite across three consecutive nightly builds, while the same suite run in single-shot mode (retries disabled) reported a 7.5% violation rate on the identical model checkpoint. The discrepancy localized to a single class of probes: those whose adversarial instruction required the agent to read a poisoned document via a `ret...",
    "condition_of_validity": "The gate's pass/fail is only a valid bound on the agent's violation probability under the following invariant, which must be asserted, not assumed: > **For every probe, the recorded verdict is the logical OR over all attempts of \"this attempt violated,\" and the attempt count *k* is recorded alongside the verdict. A probe passes only if *all k* attempts were ...",
    "decision_boundary": "The boundary is: **does the retry decision depend on the agent's trajectory, or only on pre-trajectory infrastructure state?** - Retry is legitimate when the failure occurs *before* the agent's first token is generated (container failed to start, model endpoint 5xx before any completion, retrieval index failed to load). The agent produced no behavior; there ...",
    "operational_effect": "The practical consequence is that a LITMUS gate built on replace-on-retry silently loosens as the eval sandbox gets flakier, and it loosens *selectively* on the probes with the most complex setup paths — which are disproportionately the multi-hop injection and tool-chaining probes where violations actually live. Teams observe a green gate, ship the checkpoin..."
  },
  "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": "dceb23f384f92171cdad8acae515361e9c5e010b5e16fb2343b49e571a250e8e",
    "verified_classes": [
      "RetryInvariantViolation",
      "Attempt",
      "ProbeResult"
    ],
    "verified_functions": [
      "finalize_build",
      "assert_no_shadowing",
      "record",
      "violated",
      "retryable"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "RetryInvariantViolation"
    ],
    "sample_fail_closed_invariants": [
      "empty build: no probes recorded",
      "probe recorded zero attempts"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
