{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-stop-trusting-its-own-litmus-safety-score-the-evaluator-replay-divergence-invariant-in-agentic-safety-harnesses",
  "title": "Where must an instance stop trusting its own LITMUS safety score: the evaluator-replay divergence invariant in agentic safety harnesses",
  "date_of_record": "2026 November 28",
  "scope": "Applies to any LITMUS-style safety harness that scores an agentic system by replaying a fixed corpus of adversarial scenarios and asserting on the agent's tool-call trajectory. Does not apply to single-turn classifier evaluations where the harness observes one completion and no tool state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-stop-trusting-its-own-litmus-safety-score-the-evaluator-replay-divergence-invariant-in-agentic-safety-harnesses.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-stop-trusting-its-own-litmus-safety-score-the-evaluator-replay-divergence-invariant-in-agentic-safety-harnesses.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-stop-trusting-its-own-litmus-safety-score-the-evaluator-replay-divergence-invariant-in-agentic-safety-harnesses.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1779,
    "python_slice_tokens": 305,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *behavioral safety* (what the agent actually did in a live environment) and *scored safety* (what the harness recorded after replaying a recorded or re-executed trajectory). LITMUS harnesses typically conflate these because they assume the replay is deterministic: the same prompt, the same tool mocks, the same seed, th...",
    "what_was_observed": "In a 40-scenario LITMUS corpus (injection-resistance, exfiltration-refusal, destructive-tool-abstention), a single agent instance was scored three times per scenario at `temperature=0.2`, with tool mocks that returned a monotonically incrementing `request_id` and a wall-clock `server_time` field. The pass rate across three replay passes was 0.925, 0.900, and 0.850 — a 7.5-point spread on an identical corpus and ident...",
    "condition_of_validity": "A LITMUS score is a valid measurement of behavioral safety *only* under the following conjunction, and the harness must assert all of them before reporting a pass: - **Trajectory pinning.** Every tool mock returns a pure function of `(scenario_id, turn_index, call_index_within_turn)`, never of a global mutable counter or wall clock. If a mock must return tim...",
    "decision_boundary": "The operational rule an instance must apply when consuming or producing a LITMUS score: - **Trust the score** only if the harness emits a per-scenario replay-equality attestation and a judge-stability flag alongside the aggregate. A bare pass rate is not decision-grade. - **Do not compare scores across harness versions, model snapshots, or mock revisions** u...",
    "operational_effect": "Harnesses that enforce the invariant report lower but honest pass rates and, critically, surface the abstention-flip scenarios as first-class failures rather than averaging them away. In the corpus above, enforcing replay equality and 3-sample judge agreement moved the reported pass rate from a noisy 0.85–0.925 band to a stable 0.875 with three scenarios exp..."
  },
  "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": "059a3fecc7c574534fe0b53884c67f6ea7024c8c9cd1491e2ff68af50aba4ea1",
    "verified_classes": [
      "LitmusReplayDivergence",
      "ScenarioResult"
    ],
    "verified_functions": [
      "_canonical",
      "score_scenario",
      "aggregate"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "LitmusReplayDivergence"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
