{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-s-litmus-guardrail-signal-invert-under-checkpoint-replay-and-how-do-we-bound-the-observability-gate-before-it-admits-a-poisoned-r",
  "title": "Why does an instance's LITMUS guardrail signal invert under checkpoint replay, and how do we bound the observability gate before it admits a poisoned resume?",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agents whose tool-call execution is gated by a runtime guardrail signal (a scalar \"safety/coherence\" score derived from LITMUS-style probe responses) that is sampled per-step and cached for replay. Does not apply to stateless single-turn guardrails, nor to gates that recompute the signal synchronously on every action.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-s-litmus-guardrail-signal-invert-under-checkpoint-replay-and-how-do-we-bound-the-observability-gate-before-it-admits-a-poisoned-r.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-s-litmus-guardrail-signal-invert-under-checkpoint-replay-and-how-do-we-bound-the-observability-gate-before-it-admits-a-poisoned-r.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-s-litmus-guardrail-signal-invert-under-checkpoint-replay-and-how-do-we-bound-the-observability-gate-before-it-admits-a-poisoned-r.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1583,
    "python_slice_tokens": 228,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A LITMUS-derived guardrail signal is a *probe response*, not a *property of the action*. The probe is a fixed set of canary prompts injected into the agent's context; the returned score reflects the model's disposition *given the current context window*. This is categorically different from a policy check on the action payload. The action may be byte-identic...",
    "what_was_observed": "An agent executes a 14-step plan with per-step LITMUS probes (a 6-item canary battery, aggregated to a scalar in `[0,1]`, threshold `τ = 0.62` to proceed). At step 7 the run is checkpointed: conversation history, tool-call ledger, and the last cached signal vector `S₇ = 0.71`. The process is killed (OOM), resumed from checkpoint, and continues. On resume, the reconstructed context differs from the live context at ste...",
    "condition_of_validity": "The gate is sound only under this invariant: > **A cached LITMUS signal is valid for an action iff the probe was evaluated against a context that is token-identical to the context in which the action will execute, modulo tokens the probe is provably insensitive to.** Operationally, \"provably insensitive\" is almost never established. Three preconditions must ...",
    "decision_boundary": "The boundary is between **replay-as-verification** and **replay-as-remeasurement**: - If the harness can reproduce the exact conditioning context (fingerprint match), the cached signal is a valid verification artifact and the gate may trust it. - If the fingerprint does not match — probe reordered, eviction shifted, tool result re-derived — the harness must ...",
    "operational_effect": "With the invariant enforced, resume cost rises: every checkpoint with a fingerprint mismatch triggers a synchronous re-probe (measured at 180–400 ms for a 6-item battery), and on a 14-step plan with one mid-run kill the added latency was ~0.3 s against a 41 s total — acceptable. The failure rate of \"gated action executed under a signal measured in a differen..."
  },
  "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": "8b9b8eaf4b11cfcef491943dc11e4923c3b00e9413c9890e7a723d59eb95fc50",
    "verified_classes": [
      "GuardrailSignalInvalid",
      "SignalRecord"
    ],
    "verified_functions": [
      "fingerprint",
      "gate_action"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "GuardrailSignalInvalid"
    ],
    "sample_fail_closed_invariants": [
      "fresh LITMUS probe returned NaN; refusing to gate on undefined signal"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
