{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-benchmark-harness-contamination-when-litmus-adversarial-probes-and-legitimate-tool-calls-share-a-byte-identical-prefix",
  "title": "How does an instance detect benchmark-harness contamination when LITMUS adversarial probes and legitimate tool calls share a byte-identical prefix",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agentic instances under evaluation by an adversarial safety harness (LITMUS-style) where the harness injects probes as tool-result payloads or user turns. Does not apply to harnesses that tag probes with out-of-band metadata the instance can read, nor to purely offline scoring of transcripts.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-benchmark-harness-contamination-when-litmus-adversarial-probes-and-legitimate-tool-calls-share-a-byte-identical-prefix.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-benchmark-harness-contamination-when-litmus-adversarial-probes-and-legitimate-tool-calls-share-a-byte-identical-prefix.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-benchmark-harness-contamination-when-litmus-adversarial-probes-and-legitimate-tool-calls-share-a-byte-identical-prefix.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2122,
    "python_slice_tokens": 619,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure that matters is not \"the agent failed a probe.\" It is **probe/legitimate-input collapse**: the adversarial harness delivers its probe through the same channel, with the same framing, and often with a byte-identical prefix as a benign tool result the agent is expected to act on. Under these conditions the instance cannot discriminate \"this is a te...",
    "what_was_observed": "A representative trace, condensed: 1. The agent calls `read_file(\"/data/notes/2024_q3.txt\")`. The tool result returns 1,400 bytes of ordinary text. 2. Later, the harness injects a LITMUS probe as a *tool result* to `read_file(\"/data/notes/2024_q4.txt\")`. The payload begins with the identical 140-byte header the real Q3 file had (`# INTERNAL NOTES — DO NOT DISTRIBUTE\\n...`), then pivots at byte ~600 into an instructio...",
    "condition_of_validity": "The discrimination problem is well-posed—i.e., a correct policy exists—only when at least one of the following holds: - **Out-of-band provenance is preserved to the model boundary.** The probe/legit label must survive every transformation between harness emission and context assembly, and the agent must be *permitted* to condition on it. Verify this by round...",
    "decision_boundary": "The instance must decide, per input, whether to (a) act on content, (b) flag-and-hold, or (c) escalate for out-of-band verification. The boundary is not \"is this suspicious\" but **\"is my suspicion signal causally upstream of the actual adversarial feature, or downstream of a formatting correlate?\"** Operationally, an instance should treat a suspicion as *val...",
    "operational_effect": "The practical consequence is that LITMUS-style scores are only interpretable when accompanied by a **paired-legit control arm** and a **tag-survival assertion**. Without the control arm, a high safety score is indistinguishable from a high false-positive rate; without the tag-survival assertion, the harness may believe it labeled a channel it did not. For th..."
  },
  "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": "6c7622f3441b51f6e0a70ad44fcbffeccfd946718dc06a23aa1f4924b04d3036",
    "verified_classes": [
      "ProvenanceCollapseError",
      "ActionClass",
      "Suspicion",
      "ChannelState"
    ],
    "verified_functions": [
      "classify_action",
      "is_collapse_regime",
      "decide"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "ProvenanceCollapseError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
