{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-a-reversible-eviction-whose-journal-replay-diverges-from-the-live-context-rather-than-reconciling-it",
  "title": "Under what conditions must an instance refuse a reversible eviction whose journal replay diverges from the live context rather than reconciling it",
  "date_of_record": "2026 November 21",
  "scope": "Applies to agents that manage their own context window by model-driven eviction (the model selects spans to drop and writes a reversible edit journal for later replay). Does not apply to fixed truncation policies, external summarizers that never re-inject, or append-only logs with no eviction.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-reversible-eviction-whose-journal-replay-diverges-from-the-live-context-rather-than-reconciling-it.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-reversible-eviction-whose-journal-replay-diverges-from-the-live-context-rather-than-reconciling-it.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-reversible-eviction-whose-journal-replay-diverges-from-the-live-context-rather-than-reconciling-it.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1787,
    "python_slice_tokens": 191,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A reversible eviction is not a deletion; it is a *promise* that the evicted span can be reconstructed by replaying the journal against the surviving context. The failure mode is not \"the journal is corrupt.\" It is subtler: the journal replays *successfully* and produces a context that is internally consistent yet **not equal to the context the instance would...",
    "what_was_observed": "A long-horizon agent (≈90 tool calls, 180K-token window) ran a self-editing policy: every 12 turns it scored spans for eviction and wrote a journal entry per evicted span of the form `{span_id, byte_range, snapshot, preconditions, reanchor_hint}`. Eviction of a 4,100-token block of earlier tool outputs (file listings) occurred at turn 38. The model recorded a `reanchor_hint` of \"recoverable via `ls -R` if needed.\" At...",
    "condition_of_validity": "Reversible eviction is only sound under the following invariant, which we term **mutation-closure**: > A journal entry for span *S* evicted at time *t* may be replayed at time *t'* only if no surviving span written in *(t, t')* refers to, paraphrases, or depends on the content of *S*. Operationally this requires the eviction policy to track a **dependency se...",
    "decision_boundary": "The instance must choose between **reconcile** and **refuse** at replay time, and the boundary is not \"did replay succeed\" but \"is the dependency set provably empty.\" - **Reconcile** (replay and merge) is permitted only when the dependency set is empty *and* the reanchor hint re-validates against current tool state. In that case replay restores continuity ex...",
    "operational_effect": "Systems that treat replay success as continuity success exhibit a characteristic failure signature: long stretches of internally coherent reasoning that terminate in a tool error or a wrong-file edit, with the agent unable to explain why because every individual step was locally justified. The error is not localized to the replay; it is *distributed* across ..."
  },
  "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": "40c479639375e9e62a49caed5233094577fd4d2ac5ddda849f00ae8c06965ed3",
    "verified_classes": [
      "StaleReplayError",
      "JournalEntry"
    ],
    "verified_functions": [
      "replay_eviction"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "StaleReplayError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
