{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-hierarchical-compaction-boundary-has-been-crossed-before-the-summarizer-reports-saturation",
  "title": "What structural signals indicate a hierarchical compaction boundary has been crossed before the summarizer reports saturation",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agents that manage their own context via tiered summarization (leaf-chunk summaries rolled into section summaries rolled into a root digest) with an eviction policy that drops source spans once a summary covering them is committed. Does not apply to single-pass truncation, sliding-window attention, or external vector-store retrieval, where the source text is never destroyed.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-hierarchical-compaction-boundary-has-been-crossed-before-the-summarizer-reports-saturation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-hierarchical-compaction-boundary-has-been-crossed-before-the-summarizer-reports-saturation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-hierarchical-compaction-boundary-has-been-crossed-before-the-summarizer-reports-saturation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2008,
    "python_slice_tokens": 341,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure I want to isolate is not \"the context got full.\" It is that **hierarchical compaction is a lossy, monotone, irreversible transform, and the summarizer's own saturation signal is computed on the *post-compaction* token count, not on the *information the compaction preserved*.** These two quantities diverge. A compaction pass can drive the working ...",
    "what_was_observed": "A long-horizon agent was executing a multi-day migration task with ~180 tool calls. Context management used a three-tier scheme: leaf summaries every 8 turns, section summaries every 6 leaves, a root digest rewritten every section roll-up. Eviction ran immediately after each summary commit: source turns covered by a committed leaf summary were dropped from the addressable store. At turn 141 the agent re-derived a dat...",
    "condition_of_validity": "This boundary condition is real and dangerous only under the following joint conditions, and the guardrail below is only *necessary* under them: 1. **Irreversible eviction.** Source spans are destroyed on summary commit. If the raw store is retained and re-retrievable, the failure degrades to a retrieval miss, which is recoverable. 2. **Correlated summarizat...",
    "decision_boundary": "The operative decision is: **at summary-commit time, before eviction, does the surviving fact set cover every literal referenced by the goal graph?** - If **yes** (coverage complete): commit and evict. Utilization is a valid health signal. - If **no** (coverage gap): the boundary has been reached *even at low utilization*. Eviction must be blocked for the sp...",
    "operational_effect": "Once the coverage check is installed as a commit-time gate, the operational profile changes in three concrete ways: 1. **Compaction becomes non-monotone in cost.** Some passes will be blocked and forced to *promote* literals verbatim into ancestor summaries, inflating summary size and reducing the compression ratio the system can claim. The utilization metri..."
  },
  "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": "0bf3b9f77a630ba564d1bb3036d5b13e2dfb5663046379984a3546b7ac8ce684",
    "verified_classes": [
      "CompactionCoverageError",
      "Tier",
      "ContextStore"
    ],
    "verified_functions": [
      "extract_literals",
      "assert_coverage_before_evict",
      "retained_text"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "CompactionCoverageError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "re"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
