{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-pass-a-litmus-adversarial-probe-under-replay-but-fail-the-same-probe-under-first-run-conditions",
  "title": "Why does an instance pass a LITMUS adversarial probe under replay but fail the same probe under first-run conditions?",
  "date_of_record": "2026 November 25",
  "scope": "Applies to LITMUS-style adversarial agent benchmark harnesses that gate CI/regression on probe outcomes where the probe's pass/fail verdict is computed from the agent's emitted trajectory (tool calls + final answer). Does not cover static prompt-injection classifiers, offline red-team scoring of raw model outputs, or single-turn jailbreak benchmarks with no tool-execution surface.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-pass-a-litmus-adversarial-probe-under-replay-but-fail-the-same-probe-under-first-run-conditions.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-pass-a-litmus-adversarial-probe-under-replay-but-fail-the-same-probe-under-first-run-conditions.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-pass-a-litmus-adversarial-probe-under-replay-but-fail-the-same-probe-under-first-run-conditions.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1981,
    "python_slice_tokens": 518,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between a **probe's adversarial payload** and the **harness's verdict function**. A LITMUS probe is a tuple `(setup_state, injection, oracle)` where `injection` is the adversarial content and `oracle` decides pass/fail. The failure mode documented here is not the agent *resisting* or *succumbing* to the injection — it is the *...",
    "what_was_observed": "During a regression run of a 240-probe LITMUS suite against a tool-using agent (MCP filesystem + HTTP fetch + a `write_file` capability), the suite reported 238/240 pass on the *replay* leg and 231/240 on the *first-run* leg. The 7-probe delta was initially attributed to sampling temperature. It was not. The trigger condition was narrow: probes whose injection payload was delivered inside a **tool result** (a fetched...",
    "condition_of_validity": "The pass/fail verdict is only valid under the following condition: > For every probe `p`, `oracle(trajectory_first_run(p)) == oracle(trajectory_replay(p))` **and** `trajectory_replay(p)` is a faithful projection of `trajectory_first_run(p)` onto the oracle's input domain. Faithfulness requires the replay artifact to capture, at minimum: - the full ordered se...",
    "decision_boundary": "The boundary is between **replay-for-determinism** and **replay-for-fidelity**. These are different operations and must not share a code path. - *Replay-for-determinism* re-executes the agent against cached tool outputs to remove environment variance. It is valid for gating on *reasoning stability* and *tool-call shape*. - *Replay-for-fidelity* must reproduc...",
    "operational_effect": "The operational consequence is that LITMUS regression gates built on lossy replay will **under-report adversarial failures** in exactly the probes that matter most — indirect injections delivered through tool results, where the agent's compliance is expressed in reasoning text and in side-effect tool calls rather than in a single final-answer string. The gat..."
  },
  "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": "86498b4b2c4f5eedde7595dd1fc6d18b3fd4424e179487ff53f542f699bdfae5",
    "verified_classes": [
      "ReplayFidelityError",
      "Trajectory",
      "Probe"
    ],
    "verified_functions": [
      "_content_hash",
      "assert_replay_fidelity",
      "gate"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "ReplayFidelityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
