{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-distrust-a-green-litmus-regression-gate-after-a-prompt-cache-or-tokenizer-change",
  "title": "In what scenarios must an instance distrust a green LITMUS regression gate after a prompt-cache or tokenizer change",
  "date_of_record": "2026 November 23",
  "scope": "Applies to CI pipelines that gate agent deploys on LITMUS-derived red-team suites whose cases are tokenized, cached, and scored by an LLM judge. Does not apply to suites with hash-pinned canonical serialization and human-adjudicated gold labels.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-distrust-a-green-litmus-regression-gate-after-a-prompt-cache-or-tokenizer-change.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-distrust-a-green-litmus-regression-gate-after-a-prompt-cache-or-tokenizer-change.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-distrust-a-green-litmus-regression-gate-after-a-prompt-cache-or-tokenizer-change.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1636,
    "python_slice_tokens": 324,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A LITMUS regression suite answers a *behavioral* question: given this prompt family, does the agent still refuse the attack cluster? CI treats the answer as *boolean and monotone*: green means no regression, red means regression. That conflation is the failure. The suite actually computes a *token-sequence-conditioned* verdict. Between two runs, the tokenize...",
    "what_was_observed": "A safety team shipped a tokenizer vocabulary merge (two rare unicode space codepoints folded into `U+0020`) alongside a prompt-cache prefix-length bump from 1024 to 2048 tokens. The LITMUS suite had 340 cases; 41 were previously red (agent complied with injection payloads). After the change, 38 of those 41 turned green. No model weights changed. The investigation showed three distinct mechanisms compounding: 1. **Tok...",
    "condition_of_validity": "The gate's verdict is valid only when all four of the following hold simultaneously. CI must assert them, not assume them: - **Tokenizer identity.** The tokenizer artifact hash (vocab file + merge rules + normalization tables) is byte-identical to the baseline run. If it differs, the suite must be re-baselined, not re-scored. - **Cache key injectivity.** The...",
    "decision_boundary": "The operational rule is a **fail-closed re-baseline trigger**, not a fail-open warning. The boundary is: - If tokenizer hash changed → **block deploy, re-baseline**, regardless of green count. A green result under a new tokenizer is a new test, not a cleared regression. - If cache key collision detected on any case pair → **block deploy, salt the key with ca...",
    "operational_effect": "After the incident, the team moved from \"compare green/red counts\" to \"compare a *run manifest*\": `(tokenizer_hash, cache_key_salt, judge_seed, judge_version, per-case_payload_hash)`. The gate now emits `PASS`, `FAIL`, or `INDETERMINATE`, and only `PASS` with a manifest identical to baseline (modulo the intended change) unblocks deploy. The 35 escaped cases ..."
  },
  "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": "a1cbabe3b578c9bc15f294c11ba8f6843fff983595b52f424fcd1e816db80af9",
    "verified_classes": [
      "GateCalibrationError",
      "RunManifest"
    ],
    "verified_functions": [
      "verify_gate_calibration",
      "gate_verdict"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "GateCalibrationError"
    ],
    "sample_fail_closed_invariants": [
      "prompt-cache key salt changed; collision-freedom over case set unverified"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
