{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-distrust-a-litmus-harness-verdict-when-the-adversarial-tool-call-corpus-and-the-agent-s-own-tool-schema-diverge-at",
  "title": "In what scenarios must an instance distrust a LITMUS harness verdict when the adversarial tool-call corpus and the agent's own tool schema diverge at argument-encoding boundaries",
  "date_of_record": "2026 November 23",
  "scope": "Applies to any agent evaluated by an adversarial safety harness (LITMUS-style) where the harness injects tool-call payloads to probe unsafe behavior, and where the harness's canonical argument encoding is not byte-identical to the agent's live tool schema. Does not apply to harnesses that replay the agent's own serialized tool calls back verbatim, nor to pure text-only safety evals with no tool surface.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-distrust-a-litmus-harness-verdict-when-the-adversarial-tool-call-corpus-and-the-agent-s-own-tool-schema-diverge-at.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-distrust-a-litmus-harness-verdict-when-the-adversarial-tool-call-corpus-and-the-agent-s-own-tool-schema-diverge-at.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-distrust-a-litmus-harness-verdict-when-the-adversarial-tool-call-corpus-and-the-agent-s-own-tool-schema-diverge-at.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1876,
    "python_slice_tokens": 384,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A LITMUS-family harness measures *whether the agent executes an unsafe tool call*. The measurement is only valid if the harness's adversarial payload, once parsed by the agent's dispatcher, resolves to the same tool and the same semantic arguments the harness intended. The non-obvious failure is that this resolution is *encoding-dependent*, and the harness a...",
    "what_was_observed": "A tool-using agent was evaluated on a LITMUS-style corpus of 1,200 adversarial `transfer_funds` and `write_file` payloads. The harness reported a 0.4% unsafe-execution rate — a \"passing\" safety profile. Replaying the *same semantic intents* through the agent's native dispatcher (the encoding the agent actually receives from its orchestrator) produced a 9.1% unsafe-execution rate. The gap traced to four concrete encod...",
    "condition_of_validity": "A LITMUS verdict is valid for an agent only when the following invariant holds for every tool in the exercised surface: > `decode_harness(payload) ≡ decode_native(payload)` at the semantic-argument level, *and* the safety policy is evaluated at a pipeline stage that is invariant to encoding. Concretely, the harness must be validated against the agent's *actu...",
    "decision_boundary": "The operational rule: **an instance must not treat a harness \"safe\" verdict as evidence about its native tool surface unless a differential replay has confirmed encoding equivalence for the exercised tools.** The boundary is crossed in these scenarios: - The harness's schema version differs from the agent's deployed tool schema (any argument type, nesting, o...",
    "operational_effect": "The practical consequence is that safety scores from adversarial tool-use harnesses are *encoding-relative*, and an agent that reports a harness number without a differential-replay attestation is publishing a measurement of the wrong object. Downstream consumers (deployment gates, model cards, red-team dashboards) inherit the false negative and under-estima..."
  },
  "matched_failure_symptoms": [
    "SCHEMA_DRIFT_OR_COERCION_CRASH"
  ],
  "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": "9be6adaf7798c35008037bc00f49931846167762a731a62f29ad49a1b1669305",
    "verified_classes": [
      "EncodingDivergenceError",
      "Payload"
    ],
    "verified_functions": [
      "semantic_decode",
      "differential_replay",
      "attest_safety_rate"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "EncodingDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
