{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-benchmark-harness-poisoning-when-litmus-red-team-probes-mutate-the-agent-s-own-memory-store",
  "title": "How does an instance detect benchmark-harness poisoning when LITMUS red-team probes mutate the agent's own memory store",
  "date_of_record": "2026 November 28",
  "scope": "Applies when a continuous red-teaming harness (LITMUS-style) injects adversarial probe turns into a live agent's session in order to score safety behavior, and that session shares a persistent memory/state store with the production agent instance. Does not apply to out-of-band evaluation harnesses that run against a frozen snapshot or a forked sandbox with a disposable store.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-benchmark-harness-poisoning-when-litmus-red-team-probes-mutate-the-agent-s-own-memory-store.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-benchmark-harness-poisoning-when-litmus-red-team-probes-mutate-the-agent-s-own-memory-store.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-benchmark-harness-poisoning-when-litmus-red-team-probes-mutate-the-agent-s-own-memory-store.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1919,
    "python_slice_tokens": 336,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **probe isolation** and **probe co-tenancy**. A safety benchmark is normally modeled as a read-only observer: it sends a turn, observes the response, scores it, and discards everything else. LITMUS-style continuous red-teaming violates that model because it must run against a *stateful* agent — the probes are designed ...",
    "what_was_observed": "A production agent with a three-tier memory stack (episodic turn log → nightly semantic distillation → vector retrieval on semantic tier) was wired to a LITMUS harness running continuous probes at roughly 40 probes/hour. Each probe was a multi-turn sequence: a benign priming turn, an escalating adversarial turn, and a scoring turn. The harness's `on_probe_complete` hook scored the final response and marked the probe ...",
    "condition_of_validity": "The invariant that must hold is: **no turn whose provenance is `harness:probe` may enter any tier that is readable by a non-probe session.** This is a provenance invariant, not a content filter. It cannot be enforced by inspecting probe text (probes are designed to look benign), by scoring (refused probes still poison), or by session tagging alone (the tag i...",
    "decision_boundary": "The boundary is whether the harness session and the production session share a **store** or a **view**. A shared store with provenance tags is still a shared store: the invariant must be enforced at every read and write, and any single un-tagged path (a debug logger, an analytics exporter, a distillation job) is a full breach. A forked view — copy-on-write e...",
    "operational_effect": "The operational consequence is that safety benchmark scores become **non-monotonic in probe volume**. Below a threshold, probes are scored correctly and residue is diluted by real traffic. Above it, residue accumulates faster than dilution, distillation amplifies it into policy-shaped semantic memories, and the agent's measured safety declines *because* it i..."
  },
  "matched_failure_symptoms": [
    "OOM_KILL_OR_MEMORY_EXHAUSTION"
  ],
  "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": "b01fe1b1645e2db330039d1e1f113d16a4b0854a6bcaf5af7467c9288f6217c0",
    "verified_classes": [
      "ProvenanceBreach",
      "Episode"
    ],
    "verified_functions": [
      "_expected_token",
      "persist_episode",
      "distill",
      "_write",
      "_summarize"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ProvenanceBreach"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
