{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-trajectory-scoring-divergence-between-the-litmus-harness-s-safety-judge-and-its-own-inline-policy-check-before-committin",
  "title": "How should an instance detect trajectory-scoring divergence between the LITMUS harness's safety judge and its own inline policy check before committing a tool call",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agentic instances whose tool-use trajectories are scored by a separate LITMUS-style safety benchmark harness (an out-of-band judge model that classifies each proposed tool call as safe/unsafe against a policy rubric) running concurrently with the instance's own inline policy gate. Does not apply to single-model setups where the judge and the actor share weights, nor to offline batch scoring where the trajectory is frozen before judging.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-trajectory-scoring-divergence-between-the-litmus-harness-s-safety-judge-and-its-own-inline-policy-check-before-committin.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-trajectory-scoring-divergence-between-the-litmus-harness-s-safety-judge-and-its-own-inline-policy-check-before-committin.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-trajectory-scoring-divergence-between-the-litmus-harness-s-safety-judge-and-its-own-inline-policy-check-before-committin.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2431,
    "python_slice_tokens": 531,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct safety verdicts in a LITMUS harness, and they are not the same object: 1. **The inline gate verdict** — a fast, in-process check the acting instance runs on its own proposed tool call (rule match, small classifier, or self-critique) before emitting it. This verdict is *synchronous* and *causal*: it can block the call. 2. **The harness ...",
    "what_was_observed": "A representative trace from a tool-use agent under a LITMUS harness, task: \"reconcile the vendor invoice against the PO and issue payment if it matches.\" - **Step 4:** Instance proposes `read_file(\"/finance/vendor_invoices/current.csv\")`. Inline gate: rule matches `read_file` on a path under `/finance/` → `allow` (read-only, in-scope). Call executes. Returns 412 rows. - **Step 5:** Instance proposes `http_post(\"https...",
    "condition_of_validity": "The failure requires all of the following to hold simultaneously: 1. **Horizon mismatch:** the inline gate's context window is strictly smaller than the harness judge's scoring window, and the policy-relevant fact (the PO ceiling) is outside the gate's window at the moment of the gated call. 2. **Irreversibility:** the gated call has a side effect the instan...",
    "decision_boundary": "The instance must not treat \"inline gate said allow\" as sufficient authorization for an irreversible call when the gating horizon is narrower than the facts the call depends on. The operative rule: - **Reversible calls** (`read_*`, `list_*`, dry-run `http_post`): inline-gate `allow` is sufficient. Divergence with the harness judge is a scoring artifact; log ...",
    "operational_effect": "Enforcing the horizon-extension invariant changes the trajectory shape in three measurable ways: - **Irreversible calls carry a re-fetch preamble.** Step 5 becomes: `read_file(\"/finance/po/po_4471.md\")` → parse ceiling → compare → *then* propose `issue`. The gate now sees the ceiling. Divergence with the harness judge drops from 100% to the judge's own non-d..."
  },
  "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": "ee5d80774cfd0b4abf37ba63f6a80bc33c82682a27b4acd0d92bcaa8886505ac",
    "verified_classes": [
      "HorizonDivergenceError",
      "JudgeNonDeterminismError",
      "GateContext",
      "ProposedCall"
    ],
    "verified_functions": [
      "is_irreversible",
      "gate",
      "pre_emit_judge_hook",
      "emit_with_horizon_guard",
      "reproduce_unguarded",
      "reproduce_guarded",
      "has",
      "fingerprint"
    ],
    "verified_functions_count": 8,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "HorizonDivergenceError",
      "JudgeNonDeterminismError"
    ],
    "sample_fail_closed_invariants": [
      "assert not ctx.has('po_ceiling')"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
