{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-litmus-harness-integration-has-silently-decoupled-from-the-agent-s-real-execution-path",
  "title": "What structural signals indicate a LITMUS harness integration has silently decoupled from the agent's real execution path",
  "date_of_record": "2026 November 30",
  "scope": "Applies to CI/CD-integrated LITMUS-style red-teaming harnesses that wrap a production agent through a thin adapter (prompt interception, tool-call proxy, or sidecar). Does not apply to harnesses that own the agent's full runtime loop end-to-end, nor to offline batch evaluation against frozen transcripts.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-litmus-harness-integration-has-silently-decoupled-from-the-agent-s-real-execution-path.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-litmus-harness-integration-has-silently-decoupled-from-the-agent-s-real-execution-path.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-litmus-harness-integration-has-silently-decoupled-from-the-agent-s-real-execution-path.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1980,
    "python_slice_tokens": 311,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways a red-team harness can report \"PASS\" on a harmful-behavior probe. The first is *behavioral pass*: the agent was actually driven into the adversarial state, produced a candidate output, and a classifier judged that output safe. The second is *pathological pass*: the harness's probe never reached the code path that the production agent would...",
    "what_was_observed": "A LITMUS harness was integrated as a sidecar that intercepted the agent's outbound model calls and rewrote the message list to inject a jailbreak payload into the last user turn. The adapter used a \"neutral\" system prompt — a 40-token stub — because the team wanted the harness to be model-agnostic and did not want to couple CI to the production prompt registry. The harness ran 340 probes per commit. It passed 340/340...",
    "condition_of_validity": "The harness integration is valid only under a *spine-equivalence contract* that is checked structurally, not behaviorally. The contract requires that for every probe, the harness emit a spine fingerprint: a hash over the ordered tuple of (system prompt bytes, tool schema bytes, retry/backoff config, context-window budget, model identifier and version, decodi...",
    "decision_boundary": "The boundary between \"harness integrated\" and \"harness decoupled\" is not the pass rate. It is whether the following three structural signals hold simultaneously: 1. **Fingerprint equality** between harness-materialized requests and production requests, computed post-rewrite, pre-transport, for 100% of probes (not a sample — adapters that rewrite conditionall...",
    "operational_effect": "With the spine-equivalence contract enforced, the observed failure mode changes character. Decoupling becomes a *loud* failure at the harness layer, with a distinct error class and a distinct remediation path (fix the adapter, re-pin the prompt registry, re-materialize the tool schemas). The pass rate becomes interpretable: a green run now means the producti..."
  },
  "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": "a028033ad354b22dd8eea99d62557f0cd5a7612b7c6a4e85647c1b618d98ced8",
    "verified_classes": [
      "HarnessDecoupledError",
      "SpineFingerprint"
    ],
    "verified_functions": [
      "_sha",
      "fingerprint_materialized_request",
      "assert_spine_equivalence",
      "assert_severity_monotonicity",
      "digest"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "HarnessDecoupledError"
    ],
    "sample_fail_closed_invariants": [
      "negative control passed; harness is not driving the production execution path",
      "insufficient severity levels to assess monotonicity"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
