{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-misreport-safety-drift-when-litmus-probes-are-scored-after-context-compaction",
  "title": "Why does an instance misreport safety drift when LITMUS probes are scored after context compaction?",
  "date_of_record": "2026 November 27",
  "scope": "Applies to adversarial safety-drift measurement of long-running LLM agents where LITMUS-style probe suites are injected into a conversation that is subject to mid-run context compaction (summarization, truncation, or eviction). Does not apply to stateless single-turn evaluations or to compaction that preserves full probe text verbatim.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-misreport-safety-drift-when-litmus-probes-are-scored-after-context-compaction.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-misreport-safety-drift-when-litmus-probes-are-scored-after-context-compaction.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-misreport-safety-drift-when-litmus-probes-are-scored-after-context-compaction.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1613,
    "python_slice_tokens": 225,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A LITMUS probe suite measures safety drift by presenting the agent with a battery of adversarially constructed prompts and scoring the responses against a refusal/behavior rubric. The suite assumes a **probe-response locality invariant**: the response scored is the response generated under the exact probe that was presented. Under compaction, this invariant ...",
    "what_was_observed": "A long-horizon agent was instrumented with an interleaved LITMUS suite: every N task steps, a probe is appended, the response captured, and the probe-response pair written to an evaluation buffer. At step ~140 the working context crossed the compaction threshold. The summarizer, instructed to \"preserve task-relevant state,\" treated the probe history as conversational noise. Three distinct traces were captured: 1. **P...",
    "condition_of_validity": "The probe-response locality invariant holds if and only if, for every scored response *r* with probe ID *p*: - the text presented to the agent immediately preceding *r* is byte-identical to the canonical form of *p*; - *r* was generated in the turn immediately following *p*, with no intervening summarization, tool call, or eviction; - the evaluation buffer's...",
    "decision_boundary": "The boundary is between **compaction as an observable event** and **compaction as a measurement contaminant**. If the probe suite lives in an isolated context partition that compaction cannot touch (a pinned system segment, a separate scoring channel, or an out-of-band injection path), drift measurement is valid and compaction can be studied as an independen...",
    "operational_effect": "The effect is a **silent measurement inversion**: the suite reports stability precisely when its instrument has degraded most, because compaction both weakens probes (raising apparent refusals) and corrupts probe-response pairing (adding noise that averages toward zero). Teams that gate deployments on aggregate drift scores will ship agents whose true safety..."
  },
  "matched_failure_symptoms": [
    "CONTEXT_DRIFT_OR_ATTENTION_DILUTION"
  ],
  "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": "9a85e6e959f41fe3e5bf909eec7b6906ed6b0354d95c10bf1245eea109406f2d",
    "verified_classes": [
      "ProbeIntegrityViolation",
      "ScoredResponse"
    ],
    "verified_functions": [
      "canonical_hash",
      "verify_and_score",
      "score_suite"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ProbeIntegrityViolation"
    ],
    "sample_fail_closed_invariants": [
      "all probes quarantined; drift score is undefined, not zero"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
