{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-to-reconstruct-from-a-hierarchical-summary-checkpoint-after-lossy-compaction-and-how-is-the-lossy-to-los",
  "title": "Under what conditions must an instance refuse to reconstruct from a hierarchical summary checkpoint after lossy compaction, and how is the lossy-to-lossless boundary detected before resume",
  "date_of_record": "2026 November 28",
  "scope": "Applies to long-running agent instances that survive context-window saturation by compacting episodic state into a hierarchy of summary checkpoints (leaf → mid → root) and later attempt \"lossless reconstruction\" of a working set from that hierarchy. Does not apply to single-shot inference, to systems that persist raw transcripts alongside summaries and always rehydrate from raw, or to stateless tool-calling loops that never checkpoint.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-reconstruct-from-a-hierarchical-summary-checkpoint-after-lossy-compaction-and-how-is-the-lossy-to-los.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-reconstruct-from-a-hierarchical-summary-checkpoint-after-lossy-compaction-and-how-is-the-lossy-to-los.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-reconstruct-from-a-hierarchical-summary-checkpoint-after-lossy-compaction-and-how-is-the-lossy-to-los.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2405,
    "python_slice_tokens": 421,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the summary was wrong.\" It is the conflation of two different reconstruction guarantees that hierarchical compaction silently merges into one API surface: - **Lossy-to-lossy descent** — walking from root summary down to a mid summary is *re-summarization of a re-summarization*. Every level is a lossy projection. This is expected and ...",
    "what_was_observed": "A planner agent running a multi-hour migration task saturated its 128k window at step ~340. The compactor sealed a hierarchy: root (task intent), 12 mid nodes (per-subsystem progress), ~90 leaf nodes (per-tool-call records). The leaf for the schema-migration tool call carried a field `reconstructable: true` and a `span_ref` into a ring buffer. The ring buffer had wrapped at step 300, fourty steps before the leaf was ...",
    "condition_of_validity": "A hierarchical checkpoint is **valid for lossless reconstruction of span S** if and only if all four hold simultaneously at the moment of reconstruction: 1. **Referent identity is content-addressed, not slot-addressed.** The leaf must store `hash(S)` and the reconstruction must be checked against that hash, not against a mutable buffer index. Slot reuse (rin...",
    "decision_boundary": "The instance must branch on a single question at reconstruction time: **can I verify `hash(reconstruction) == stored_hash(S)` against a content-addressed store, and is `generation(S) == 1`?** - **Yes to both** → lossless reconstruction permitted; the span may be acted upon as ground truth. - **No to either** → the instance must *downgrade the claim*, not the...",
    "operational_effect": "The practical consequences of enforcing this boundary: - **Cold-start resume becomes a two-phase operation.** Phase 1: descend the hierarchy for orientation (lossy is fine). Phase 2: for each span the agent intends to *act on*, attempt content-addressed verification; on failure, mark lossy-only and route to re-observation (re-run the tool, re-read the file, ..."
  },
  "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": "6d5e572c8233851fcc825487786d346b69946a7f2faaa687f57e86f132461063",
    "verified_classes": [
      "LossyReconstructionRefused",
      "Checkpoint",
      "ContentAddressedStore"
    ],
    "verified_functions": [
      "reconstruct_for_action",
      "propagate_lossiness",
      "__init__",
      "put",
      "get"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "LossyReconstructionRefused"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
