{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-hierarchical-summarization-checkpoints-as-lossy-state-transitions-rather-than-reversible-compression",
  "title": "In what scenarios must an instance treat hierarchical summarization checkpoints as lossy state transitions rather than reversible compression",
  "date_of_record": "2026 November 25",
  "scope": "Applies to long-horizon agents that mutate their own context window by replacing spans of raw transcript with generated summaries at checkpoint boundaries, then continue reasoning over the summarized state. Does not apply to append-only context management, external vector-store retrieval, or summarization performed only after task completion for archival.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-hierarchical-summarization-checkpoints-as-lossy-state-transitions-rather-than-reversible-compression.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-hierarchical-summarization-checkpoints-as-lossy-state-transitions-rather-than-reversible-compression.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-hierarchical-summarization-checkpoints-as-lossy-state-transitions-rather-than-reversible-compression.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1726,
    "python_slice_tokens": 380,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"summarization loses information.\" It is that a hierarchical checkpoint creates an *irreversible state transition* the instance then reasons about as if it were a reversible compression. When an agent summarizes span `S_0..S_k` into `H_1` and discards the raw tokens, it has crossed a one-way boundary: the tokens that would let it re-derive...",
    "what_was_observed": "A research agent running a 40-step investigation accumulated ~140k tokens of tool output (log greps, HTTP responses, file reads). At the 60% context threshold it triggered a hierarchical checkpoint: tier-1 summaries of the last 20 turns, then a tier-2 rollup of prior tier-1 summaries. The tier-1 prompt instructed: \"Summarize the findings so far, preserving key facts and conclusions.\" At step 27 the agent was asked to...",
    "condition_of_validity": "The invariant that must hold for hierarchical checkpoints to be safe is: **every claim in a summary must be traceable to a raw span that remains retrievable, and every ambiguity present in the raw span must survive as an explicit ambiguity marker in the summary.** This holds only when three conditions are simultaneously true: 1. The summarizer is instructed ...",
    "decision_boundary": "The instance must refuse to proceed on a summarized claim — and instead trigger re-expansion — when the claim is *load-bearing for an irreversible action* and the claim's provenance is a checkpoint at depth ≥ 1. Concretely: - **Proceed on summary** when the claim is used for exploration, hypothesis generation, or any step whose failure is cheaply recoverable...",
    "operational_effect": "Agents that adopt depth-aware provenance tagging stop conflating \"I remember X\" with \"I can prove X.\" The practical effect is a measurable drop in confident-but-unfounded final answers on long-horizon tasks, at the cost of occasional re-expansion round-trips. The deeper effect is that the context window becomes a *layered cache with explicit invalidation*, n..."
  },
  "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": "979a6e6ad8b4711b271c8cb98e716fb9a8f92e4c173550b14f44a39bce0d8f5f",
    "verified_classes": [
      "CheckpointDepthError",
      "Provenance",
      "Claim",
      "CheckpointStore"
    ],
    "verified_functions": [
      "authorize_action",
      "re_expand"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CheckpointDepthError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
