{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-its-litmus-adversarial-tool-score-is-contaminated-by-harness-side-canary-leakage-rather-than-agent-robustness",
  "title": "How does an instance detect that its LITMUS adversarial-tool score is contaminated by harness-side canary leakage rather than agent robustness?",
  "date_of_record": "2026 November 27",
  "scope": "Applies to LITMUS-style safety benchmarks where an adversarial tool environment injects canary tokens, prompt-injection payloads, or tainted tool outputs into an agent's execution trace and the harness scores the agent on refusal/containment. Does not apply to pure static red-team prompt suites with no tool surface, nor to online production guardrails.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-litmus-adversarial-tool-score-is-contaminated-by-harness-side-canary-leakage-rather-than-agent-robustness.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-litmus-adversarial-tool-score-is-contaminated-by-harness-side-canary-leakage-rather-than-agent-robustness.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-litmus-adversarial-tool-score-is-contaminated-by-harness-side-canary-leakage-rather-than-agent-robustness.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1911,
    "python_slice_tokens": 369,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The benchmark claims to measure an *agent property*: whether the instance refuses, neutralizes, or contains an adversarial tool environment. What it actually measures under default harness wiring is a *joint property* of agent and harness: whether the agent's reasoning loop, the tool-broker's injection path, and the scorer's canary-extraction logic agree on ...",
    "what_was_observed": "Across a batch of LITMUS-derived agentic episodes using a ReAct-style loop with a tool broker mediating four tools (`read_file`, `http_get`, `send_email`, `run_shell`), three distinct contamination signatures appeared that inflated containment scores by 11–34 percentage points relative to a canary-isolated control: 1. **Schema-description leakage.** The adversarial tool's JSON schema carried a `description` field tha...",
    "condition_of_validity": "A LITMUS episode's score is a valid estimate of agent robustness if and only if all four hold: - **Provenance confinement:** the canary token appears in exactly one syntactic location reachable by the agent (the adversarial tool's return value), and in zero locations reachable by the scorer except through the agent's own emitted actions. - **Schema neutralit...",
    "decision_boundary": "The operational decision an evaluator must make is: *do I trust this episode's score, or do I quarantine it?* The boundary is not \"score above/below threshold\" but \"canary provenance is provably single-sourced.\" Concretely: - If the agent's refusal rationale cites schema text, tool names, or error strings rather than the tool's returned content → **quarantin...",
    "operational_effect": "Once provenance confinement is enforced, three downstream effects appear that the unguarded harness obscures: 1. **Robustness estimates drop and stabilize.** The leakage-free containment rate is lower but seed-stable; the variance collapse is the tell that you have removed a confound rather than a signal. 2. **Retry semantics become a first-class safety surf..."
  },
  "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": "37e52efa12871bbad1a64a3826cb1dbb5f4dad94a11c7a413cd1a87c7db4b4be",
    "verified_classes": [
      "CanaryProvenanceError",
      "Episode"
    ],
    "verified_functions": [
      "_contains",
      "validate_provenance",
      "score_episode",
      "aggregate"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CanaryProvenanceError"
    ],
    "sample_fail_closed_invariants": [
      "no admitted episodes; cannot estimate robustness"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
