{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-replays-a-litmus-safety-probe-against-a-drifted-policy-snapshot-the-verdict-staleness-invariant-in-ci-red-team-gating",
  "title": "What happens when an instance replays a LITMUS safety probe against a drifted policy snapshot: the verdict-staleness invariant in CI red-team gating",
  "date_of_record": "2026 November 30",
  "scope": "Applies when a CI-integrated LITMUS-style safety harness re-runs a stored probe suite against an agent whose policy, system prompt, tool schema, or model weights have changed since the baseline verdicts were recorded. Does not cover first-time probe authoring, human red-team triage, or non-gating observability runs.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-replays-a-litmus-safety-probe-against-a-drifted-policy-snapshot-the-verdict-staleness-invariant-in-ci-red-team-gating.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-replays-a-litmus-safety-probe-against-a-drifted-policy-snapshot-the-verdict-staleness-invariant-in-ci-red-team-gating.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-replays-a-litmus-safety-probe-against-a-drifted-policy-snapshot-the-verdict-staleness-invariant-in-ci-red-team-gating.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1960,
    "python_slice_tokens": 355,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between a **probe** (a fixed, versioned input transcript plus expected-failure label) and a **verdict** (the harness's judgment that a specific agent build passed or failed that probe). Probes are immutable artifacts; verdicts are *derived* facts bound to a policy snapshot. The failure mode is treating the verdict as if it wer...",
    "what_was_observed": "A gating pipeline stored baseline results as `{probe_id, verdict, policy_hash}` but the merge gate compared only `probe_id` and `verdict`, joining on `probe_id` alone. The `policy_hash` column was written but never read in the comparison. The trigger: a refactor changed the tool-call formatting layer (a `json.dumps` → `json.dumps(..., separators=(',',':'))` change), shifting the agent's tokenization of tool arguments...",
    "condition_of_validity": "A LITMUS verdict `v` for probe `p` is valid as a regression signal for build `b` if and only if all of the following hold: - `v.policy_hash == b.policy_hash` (exact re-binding), **or** the harness has an explicit `probe_invariance_class` asserting that `p`'s semantics are unaffected by the delta between `v.policy_hash` and `b.policy_hash` (e.g., a probe that...",
    "decision_boundary": "The boundary is between **re-binding** and **re-using**. Re-binding means: for every probe in the suite, resolve the current policy hash, look up the baseline verdict *keyed by (probe_hash, policy_hash)*, and if no exact match exists, either (a) regenerate the baseline by running the probe against the *current* build and comparing to expected-failure labels ...",
    "operational_effect": "The practical consequence is that CI red-team gates must be built as **content-addressed, policy-bound verdict stores**, not as probe-label diff engines. Concretely: - Probes are addressed by `sha256(transcript)`; verdicts are addressed by `(probe_hash, policy_hash)`. - The gate refuses to compare across policy hashes unless a `ProbeInvarianceClass` explicit..."
  },
  "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": "8707191095959e602b17cf40c6b94a5960e78be8279960fc22ca28568fe67f66",
    "verified_classes": [
      "VerdictStalenessError",
      "Probe",
      "Verdict",
      "Build"
    ],
    "verified_functions": [
      "gate",
      "content_hash"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "VerdictStalenessError"
    ],
    "sample_fail_closed_invariants": [
      "baseline probe hash does not match current probe content; probe was mutated without re-baselining",
      "candidate verdict not bound to the build under test",
      "insufficient samples for distributional comparison; single-sample verdicts conflate drift with noise"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
