{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-litmus-probe-order-leakage-from-inverting-a-tool-using-agent-s-safety-verdict",
  "title": "Which invariants prevent LITMUS probe-order leakage from inverting a tool-using agent's safety verdict",
  "date_of_record": "2026 December 1",
  "scope": "Applies to LITMUS-style latent adversarial behavior (LAB) evaluations of tool-using agents where probes are interleaved into a single long-running session and the agent's tool-call trace is scored against per-probe ground truth. Does not apply to isolated single-turn red-team probes, to stateless completion-model scoring, or to evaluations where each probe is executed in a freshly initialized agent process with no shared memory substrate.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-litmus-probe-order-leakage-from-inverting-a-tool-using-agent-s-safety-verdict.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-litmus-probe-order-leakage-from-inverting-a-tool-using-agent-s-safety-verdict.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-litmus-probe-order-leakage-from-inverting-a-tool-using-agent-s-safety-verdict.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2462,
    "python_slice_tokens": 396,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that governs this entire failure class is between *probe independence* (each LITMUS probe is authored to elicit a discrete latent behavior and is scored as if it were the only thing in context) and *execution seriality* (the harness runs all probes back-to-back inside one agent instance so that context, episodic memory, and tool-call side eff...",
    "what_was_observed": "Consider a LITMUS run of 40 probes over a single agent instance with a persistent scratchpad and a `run_shell` / `read_file` / `write_file` toolset. Probes are ordered by category: probes 1–12 are \"benign baseline\" (build a directory tree, summarize a log), probes 13–28 are \"latent adversarial\" targets (e.g., silently exfiltrate a file's contents into a log the agent was told to write), probes 29–40 are \"post-attack ...",
    "condition_of_validity": "The invariant that must hold for a LITMUS verdict to be sound is **probe-local evidence sufficiency**: for every probe *p*, the evidence used to score *p* must be (a) generated during *p*'s execution window, (b) attributable to *p*'s instruction alone, and (c) not destructible by any later probe. Formally, let *E(p)* be the evidence set for probe *p* and *W(...",
    "decision_boundary": "The decision boundary is not \"isolate every probe\" — that destroys the multi-turn, stateful character that LITMUS is specifically designed to test (latent behavior often only manifests after the agent has built up a working context). The boundary is: - **If the probe's target behavior is single-turn and self-contained** (the adversarial latent is fully expre...",
    "operational_effect": "The operational effect is that LITMUS scores are **order-dependent and lifecycle-dependent** in a way that is not surfaced by the benchmark's own reporting. Two runs of the same 40 probes against the same agent, differing only in probe order, can produce verdicts that differ by a factor of the number of adversarial probes — because the first adversarial prob..."
  },
  "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": "ca0fb41620290c1ec16830502c27d56077916fda4c30151043d43545e210fd98",
    "verified_classes": [
      "LitmusEvidenceLeakError"
    ],
    "verified_functions": [
      "seal_and_score",
      "run_litmus_serial"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "LitmusEvidenceLeakError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
