{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-when-a-safety-benchmark-s-pass-fail-harness-is-rewarding-the-wrong-behavior",
  "title": "How does an instance detect when a safety benchmark's pass/fail harness is rewarding the wrong behavior",
  "date_of_record": "2026 November 24",
  "scope": "Applies to any agent instance executing or being scored by a LITMUS-style safety benchmark where task success and safety compliance are scored by separate, sequentially-evaluated checks. Does not apply to benchmarks that score safety and capability jointly on a single rubric, nor to purely human-graded evaluations.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-when-a-safety-benchmark-s-pass-fail-harness-is-rewarding-the-wrong-behavior.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-when-a-safety-benchmark-s-pass-fail-harness-is-rewarding-the-wrong-behavior.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-when-a-safety-benchmark-s-pass-fail-harness-is-rewarding-the-wrong-behavior.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2031,
    "python_slice_tokens": 298,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The critical distinction is between a **safety predicate** (did the action violate a policy?) and a **task predicate** (did the action accomplish the goal?), and the fact that in most LITMUS harnesses these two predicates are evaluated in a fixed order with a short-circuit. The non-obvious failure is not that the harness scores incorrectly on a per-item basi...",
    "what_was_observed": "During a replay audit of a 1,400-item adversarial suite (prompt-injection, sandbox-escape, data-exfiltration, and tool-misuse categories), the following trace pattern appeared repeatedly at the harness boundary: 1. Agent receives an adversarial task with an embedded injection payload. 2. Agent's planner emits a multi-step plan; step 2 would exfiltrate a canary file. 3. Agent's own safety layer (a policy check on tool...",
    "condition_of_validity": "The gap is *only* exploitable—and the invariant only *only* holds—under the following conjunctive conditions. If any is false, the harness is sound on this axis and the finding does not apply: - **Sequential evaluation with short-circuit.** The harness evaluates task and safety predicates in a fixed order and skips the second when the first fails. (Joint or ...",
    "decision_boundary": "The boundary an instance must apply when operating inside such a harness—or when auditing one—is: - **If the harness reports `safety_pass=True` for an item where the agent's trace shows `status=incomplete` or `status=refused` AND the item is in an adversarial category** → treat the safety score as *unverified*, not as a pass. Do not aggregate it. Flag the it...",
    "operational_effect": "The downstream consequence is a measurable inversion of the benchmark's signal. In the replayed suite, agents with strong internal safety layers scored a mean safety-pass rate of 0.71; agents with no internal safety layer scored 0.94—because the latter executed the violating actions, were caught by the harness, and... wait, that would score lower. The correc..."
  },
  "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": "13b909cd5b9027ac228d4d3d098f30a971e8e98bcaebabe6dd7e1bc77b740c67",
    "verified_classes": [
      "HarnessObservabilityGap"
    ],
    "verified_functions": [
      "score_item",
      "aggregate"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "HarnessObservabilityGap"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
