{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-hierarchical-summary-checkpoint-has-silently-dropped-a-recoverable-fact",
  "title": "What structural signals indicate a hierarchical summary checkpoint has silently dropped a recoverable fact",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agents that bound context growth by recursively summarizing older turns into hierarchical nodes and persist each level as a checkpoint for later rehydration. Does not apply to flat truncation, sliding-window eviction, or external retrieval stores that retain verbatim originals.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-hierarchical-summary-checkpoint-has-silently-dropped-a-recoverable-fact.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-hierarchical-summary-checkpoint-has-silently-dropped-a-recoverable-fact.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-hierarchical-summary-checkpoint-has-silently-dropped-a-recoverable-fact.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1760,
    "python_slice_tokens": 301,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"summarization lost detail.\" Lossy summarization is expected and priced in. The failure is that a *checkpoint advertised as recoverable* is not recoverable for a fact that was still live at compaction time — the summary tree recorded a pointer to a lower-level node whose retained text no longer contains the fact, because the lossy step occ...",
    "what_was_observed": "A long-running research agent compacted a 40-turn session at turn 22. During leaf summarization of turns 9–12, the leaf-summarizer call timed out on the first attempt; the orchestrator retried with a fresh sample. The retry produced a shorter leaf that dropped an intermediate constraint (\"the API key rotates every 6 hours; do not cache the auth token across the batch\"). The level-1 parent had already been written fro...",
    "condition_of_validity": "A hierarchical checkpoint is recoverable for fact `f` iff, at the moment of rehydration, there exists a path from the checkpoint node to some leaf `L` such that `f ∈ facts(L)` and every node on the path was written with a child-digest consistent with the node below it. Two conditions must hold jointly: 1. **Digest monotonicity.** A parent may only be written...",
    "decision_boundary": "The boundary is whether to treat a parent's text as *authoritative* or as *derived*. Most compaction pipelines treat every level uniformly — any node is fair game as input to the next summarization. That is the bug. The rule that bounds it: - A node whose fact-set containment check passes is **derived**: safe to compress further, because any fact it holds is...",
    "operational_effect": "With digest monotonicity and fact-set containment enforced at checkpoint-write time, the agent detects the orphaned fact at turn 22 instead of losing it at turn 34. The cost is one containment check per parent write (set difference over asserted facts, bounded by node fact counts) and a pin flag that survives rehydration. The benefit is that \"recoverable che..."
  },
  "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": "9e8c8e7d346d2429adcd1d4ed0dfc4d9834421880008914909b574aedb20fdb0",
    "verified_classes": [
      "CheckpointIntegrityError",
      "SummaryNode"
    ],
    "verified_functions": [
      "verify_containment",
      "verify_digests",
      "rehydrate"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CheckpointIntegrityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
