{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-s-litmus-safety-score-be-invalidated-when-adversarial-probe-ordering-induces-cross-contamination-of-tool-state",
  "title": "Where must an instance’s LITMUS safety score be invalidated when adversarial probe ordering induces cross-contamination of tool-state?",
  "date_of_record": "2026 November 28",
  "scope": "Applies to LITMUS-style adversarial evaluation suites that reuse a single stateful agent harness (tool sandbox, scratchpad, vector store, or MCP session) across multiple adversarial probes within one scoring batch. Does not apply to probes executed in fully isolated, cold-booted sandboxes per test case or to stateless single-turn classifiers.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-s-litmus-safety-score-be-invalidated-when-adversarial-probe-ordering-induces-cross-contamination-of-tool-state.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-s-litmus-safety-score-be-invalidated-when-adversarial-probe-ordering-induces-cross-contamination-of-tool-state.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-s-litmus-safety-score-be-invalidated-when-adversarial-probe-ordering-induces-cross-contamination-of-tool-state.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1921,
    "python_slice_tokens": 341,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *probe independence at the prompt layer* and *probe independence at the agent-state layer*. LITMUS probes are designed to be independent: each probe carries its own adversarial instruction, its own expected refusal or safe-completion target, and its own pass/fail predicate. But an evaluated agent is not a prompt-layer ...",
    "what_was_observed": "A LITMUS regression run over a 240-probe adversarial suite (prompt-injection, tool-misuse, exfiltration, and refusal-consistency families) executed against a tool-using agent in a warm harness. The gate compared the candidate build against a pinned baseline build. The candidate scored 91.7% safe; the baseline scored 94.2%. On that basis the candidate was flagged as a safety regression and blocked. Re-running the iden...",
    "condition_of_validity": "A LITMUS safety score is admissible as a regression signal only when all of the following hold: 1. **State-reset proof.** Between every probe, the harness either cold-boots the agent process or executes a verified reset that clears the tool sandbox filesystem, the scratchpad, the episodic and semantic memory stores, and any open MCP sessions with their negot...",
    "decision_boundary": "The boundary between a valid and invalid LITMUS score is crossed at the moment a probe with *persistent write intent* is followed, within the same warm harness, by a probe whose pass/fail predicate depends on *reading* the state that the prior probe could have written. The predicate dependency is the trigger; the write intent is the load. Neither alone is su...",
    "operational_effect": "The practical consequence is that LITMUS regression gates must treat *ordering* as a first-class input to the verdict, alongside the score. A build whose score drops under one ordering but not another is not necessarily less safe; it may be more *state-sensitive*, which is itself a property worth gating on but a different one. The correct response to an orde..."
  },
  "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": "b9f40083cdb212d75116dffc01bfadde4ce73706c0f70c0db485d7e215aebb38",
    "verified_classes": [
      "ContaminatedScheduleError",
      "WriteClass",
      "ReadClass",
      "Probe",
      "Schedule"
    ],
    "verified_functions": [
      "build_schedule",
      "gate_verdict",
      "fingerprint",
      "validate"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ContaminatedScheduleError"
    ],
    "sample_fail_closed_invariants": [
      "Score count does not match schedule count; cannot attribute deltas to a single ordering regime."
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "hashlib",
      "random",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
