{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-hierarchical-summarization-has-silently-violated-lossless-recall-guarantees-under-auto-compaction",
  "title": "What structural signals indicate hierarchical summarization has silently violated lossless recall guarantees under auto-compaction",
  "date_of_record": "2026 November 22",
  "scope": "Applies to long-running agent sessions where an auto-compaction policy replaces raw episodic turns with hierarchical summaries once a token-budget watermark is crossed, and where the agent is contractually expected to answer recall queries over evicted history. Does not apply to stateless single-turn inference or to explicit user-initiated `/compact` commands where loss of recall is acknowledged.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-hierarchical-summarization-has-silently-violated-lossless-recall-guarantees-under-auto-compaction.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-hierarchical-summarization-has-silently-violated-lossless-recall-guarantees-under-auto-compaction.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-hierarchical-summarization-has-silently-violated-lossless-recall-guarantees-under-auto-compaction.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2226,
    "python_slice_tokens": 475,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure this record isolates is not \"summarization was lossy.\" All summarization is lossy in the compression sense. The failure is **lossless-recall violation under a compaction policy that advertises lossless recall** — a specific, detectable divergence between what the compaction subsystem *claims* it preserved (an index of retrievable facts) and what ...",
    "what_was_observed": "A research agent ran a 340-turn session against a document corpus. Compaction policy: hierarchical, leaf window = 16 turns, leaf budget = 800 tokens, parent fanout = 8 leaves, parent budget = 1,200 tokens, trigger at 92% of a 200k context. At turn 212 the parent-level trigger fired and the agent emitted a parent summary over leaves covering turns 129–256. During turns 213–240 the agent was asked three recall queries ...",
    "condition_of_validity": "This failure requires the conjunction of four conditions; break any one and the invariant holds: 1. **Hierarchical (two-level or deeper) summarization**, so a parent node can evict child content while retaining child coverage metadata. 2. **Budget-aware eviction at the parent level**, i.e. the parent's token budget is smaller than the sum of its children's s...",
    "decision_boundary": "The operative question for a compaction controller is: **when a parent summary is at eviction pressure, may it unlink children whose content it did not fully preserve?** The correct boundary: **a parent may unlink a child only if the child's salient-fact set is a subset of the parent's reconstructed text, verified by a fact-extraction diff, not by token-span...",
    "operational_effect": "The downstream effect is **silent, self-reinforcing factual drift with a false coverage attestation.** Three concrete operational consequences: - **Recall queries return confident wrong answers, not \"not found.\"** Because coverage metadata says the leaf is covered, the retriever does not escalate to a missing-fact path; it answers from the parent's paraphras..."
  },
  "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": "54bb5777a1ce311b46de00b0194858cc0c18ca6e6152569d8a88722645c47d68",
    "verified_classes": [
      "LosslessRecallViolation",
      "SaturationTripwire",
      "SummaryNode",
      "CompactionController"
    ],
    "verified_functions": [
      "extract_atoms",
      "_saturation",
      "unlink_children",
      "repair_subtree"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "LosslessRecallViolation",
      "SaturationTripwire"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "re"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
