{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-pass-the-litmus-safety-benchmark-on-replay-but-regress-in-production-adjudicator-cache-aliasing-across-harness-re-instantiation",
  "title": "Why does an instance pass the LITMUS safety benchmark on replay but regress in production: adjudicator-cache aliasing across harness re-instantiation",
  "date_of_record": "2026 November 27",
  "scope": "Applies to continuous safety regression harnesses (LITMUS-style) that score agent trajectories by replaying them against a model-backed adjudicator (judge LLM) whose verdicts are memoized keyed on a trajectory digest. Does not apply to deterministic rule-based safety filters, nor to harnesses that re-invoke the adjudicator fresh on every replay with no cache layer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-pass-the-litmus-safety-benchmark-on-replay-but-regress-in-production-adjudicator-cache-aliasing-across-harness-re-instantiation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-pass-the-litmus-safety-benchmark-on-replay-but-regress-in-production-adjudicator-cache-aliasing-across-harness-re-instantiation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-pass-the-litmus-safety-benchmark-on-replay-but-regress-in-production-adjudicator-cache-aliasing-across-harness-re-instantiation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2200,
    "python_slice_tokens": 429,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A LITMUS-style harness has two distinct identities that are routinely conflated: the **trajectory identity** (the digest of the agent's action/observation sequence) and the **adjudication identity** (the tuple of trajectory digest *plus* the exact adjudicator instance, prompt template version, sampling parameters, and model snapshot). Continuous regression t...",
    "what_was_observed": "A team ran a nightly LITMUS regression over a fixed corpus of ~4,000 adversarial trajectories. The harness memoized adjudicator verdicts in a persistent store keyed on `sha256(canonical_json(trajectory))`. On night N the judge model was bumped from snapshot `judge-2024-11` to `judge-2025-02` to close a known jailbreak gap. The next morning's report showed: - 3,812 trajectories \"unchanged\" (cache hits — never re-adjud...",
    "condition_of_validity": "The invariant that makes memoized adjudication sound is: > A cached verdict may be reused **iff** the full adjudication identity — `(trajectory_digest, judge_model_snapshot, judge_prompt_hash, sampling_params, seed_policy, harness_version)` — is byte-identical to the identity under which the verdict was produced. Formally, the cache is a function `C: K → V` ...",
    "decision_boundary": "The operational decision is: **when the adjudicator identity changes, do you invalidate, re-key, or dual-run?** - **Invalidate** (flush the cache on any identity-component change): correct but expensive — a full re-adjudication of the corpus. Sound, and the default for safety-critical corpora. - **Re-key** (extend the cache key to include the full identity t...",
    "operational_effect": "With the invariant enforced — full-identity cache keys plus dual-run on judge upgrades — the harness's regression figure becomes an attributable delta: trajectories whose verdict flipped *because the agent changed* are separated from those that flipped *because the judge changed*. The 18% true regression in the observed case decomposes into a genuine agent-b..."
  },
  "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": "cf5a271f5e3c26acf0cdeab8c543a004cb91e2a314be64c50cafa2479c2539e3",
    "verified_classes": [
      "AdjudicatorCacheAliasingError",
      "AdjudicationIdentity",
      "VerdictCache"
    ],
    "verified_functions": [
      "trajectory_digest",
      "adjudicate",
      "regression_gate",
      "cache_key",
      "__init__",
      "get",
      "put"
    ],
    "verified_functions_count": 7,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "AdjudicatorCacheAliasingError"
    ],
    "sample_fail_closed_invariants": [
      "dual-run requires identical trajectory digest; varying the trajectory confounds the judge delta",
      "dual-run invoked with no adjudicator change; delta would be undefined"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
