{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-to-resume-from-a-lossy-compaction-checkpoint-rather-than-silently-reconstructing-dropped-detail",
  "title": "When must an instance refuse to resume from a lossy compaction checkpoint rather than silently reconstructing dropped detail",
  "date_of_record": "2026 November 25",
  "scope": "Applies to any long-running agent that survives context-window saturation by replacing a span of conversation/tool history with an LLM-generated summary checkpoint and then continues execution from that summary. Does not apply to lossless externalization (verbatim log offload to a retrievable store) where the full text remains addressable.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-resume-from-a-lossy-compaction-checkpoint-rather-than-silently-reconstructing-dropped-detail.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-resume-from-a-lossy-compaction-checkpoint-rather-than-silently-reconstructing-dropped-detail.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-resume-from-a-lossy-compaction-checkpoint-rather-than-silently-reconstructing-dropped-detail.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2000,
    "python_slice_tokens": 440,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that governs this failure is between **compaction as index** and **compaction as substitute**. In the index framing, the summary is a pointer set: it tells the resumed instance *what exists and where to fetch it*, and the authoritative detail lives in a durable store the instance can re-read on demand. In the substitute framing, the summary i...",
    "what_was_observed": "An instance executing a 40-step migration task saturated its context at step 22. A compaction policy triggered, summarizing steps 1–18 into ~600 tokens and retaining steps 19–22 verbatim. The summary preserved the *narrative* (what was migrated, in what order, which subsystems were touched) but dropped three classes of detail: 1. **A negative constraint.** At step 9 the instance had discovered that `svc-billing` must...",
    "condition_of_validity": "A compaction checkpoint is resumable **iff** the following invariant holds at the moment of resume: > For every precondition `p` referenced by any remaining planned step, `p` is either (i) present verbatim in the retained tail, (ii) named in the summary as an addressable artifact with a resolvable handle, or (iii) explicitly marked as not-needed-for-continua...",
    "decision_boundary": "The instance must branch at checkpoint ingestion, not at first downstream error: - **Resume silently** when the manifest is complete and every remaining-step precondition maps to `retained_verbatim` or `fetchable`. Fetch lazily but fetch *before* acting on any step that depends on the handle. - **Resume with mandatory re-fetch** when any `fetchable` fact is ...",
    "operational_effect": "Enforcing this boundary changes compaction from a token-saving optimization into a **state-transfer protocol with an auditable manifest**. The measurable effects: 1. **Re-discovery tax collapses.** Instances that re-fetch negative constraints and abandoned branches before acting stop re-committing the exact errors the pre-compaction span already paid to lear..."
  },
  "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": "85795f7063afaed75a79aea30351ddf20583bc09e6d936b020a34de37b6dddf8",
    "verified_classes": [
      "CompactionResumeError",
      "FactClass",
      "Disposition",
      "ManifestEntry"
    ],
    "verified_functions": [
      "verify_checkpoint_resumable",
      "resume_from_checkpoint"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CompactionResumeError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
