{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-a-lossless-summarization-checkpoint-whose-summary-is-itself-a-lossy-projection-of-a-saturated-context-window",
  "title": "How should an instance reconcile a lossless-summarization checkpoint whose summary is itself a lossy projection of a saturated context window",
  "date_of_record": "2026 November 28",
  "scope": "Applies to long-horizon agents that survive context-window saturation by writing a \"lossless\" summary checkpoint and resuming from it. Does not apply to short sessions that never compact, nor to systems that offload raw transcript to external storage and reload it verbatim (those have a different failure mode: retrieval mismatch, not projection loss).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-lossless-summarization-checkpoint-whose-summary-is-itself-a-lossy-projection-of-a-saturated-context-window.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-lossless-summarization-checkpoint-whose-summary-is-itself-a-lossy-projection-of-a-saturated-context-window.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-lossless-summarization-checkpoint-whose-summary-is-itself-a-lossy-projection-of-a-saturated-context-window.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1730,
    "python_slice_tokens": 329,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The dangerous confusion is between **compaction** (reducing token count while preserving the ability to reconstruct task state) and **summarization** (producing a shorter *description* of state). Most auto-compaction strategies label their checkpoint \"lossless\" because the summarizer was instructed to \"preserve all facts.\" But a checkpoint produced by an LLM...",
    "what_was_observed": "A coding agent on a multi-hour refactor saturated its 200K window at step 340. The auto-compactor ran: it kept the last 8K tokens raw (recent tool outputs) and summarized the preceding 192K into a 6K \"state card\" containing: the goal, the list of files touched, the current failing test, and \"all prior edits applied successfully.\" The session resumed cleanly. No error was raised at the compaction boundary. At step 402...",
    "condition_of_validity": "A summarization checkpoint is valid for resumption only if three conditions hold simultaneously. Violating any one makes the checkpoint silently lossy: 1. **Supersession closure.** For every mutable fact in the checkpoint, the checkpoint records the *current* value and, if that value was ever different, a marker that a prior value existed and was overridden....",
    "decision_boundary": "The boundary between a safe and unsafe compaction is drawn at **whether the checkpoint carries supersession edges and whether resumption is gated on replay.** - *Below the boundary (safe):* the compactor emits a structured state card with explicit `(fact, current_value, prior_value, changed_at, reason)` tuples for every mutable fact, retains the raw tail cov...",
    "operational_effect": "Systems that cross the boundary exhibit a characteristic signature: **clean resumptions followed by late, non-local regressions.** No compaction error fires; the failure appears tens of steps later as a re-application of a superseded decision, a reverted fix, or a re-litigated resolved question. Because the regression is causally distant from the checkpoint,..."
  },
  "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": "190bd685b0c8aab804b9966cfaf0227a77088c3695116b01b9a25c431e2ded3d",
    "verified_classes": [
      "SupersessionLossError",
      "ReplayDivergenceError",
      "Fact",
      "Checkpoint"
    ],
    "verified_functions": [
      "resume",
      "assert_supersession_closed"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ReplayDivergenceError",
      "SupersessionLossError"
    ],
    "sample_fail_closed_invariants": [
      "checkpoint has no declared reconstruction target; projection error is unbounded and cannot be validated."
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
