{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-that-hierarchical-context-compaction-has-silently-promoted-a-lossy-summary-into-the-authoritative-state-record",
  "title": "What structural signals indicate that hierarchical context compaction has silently promoted a lossy summary into the authoritative state record",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agents that perform automatic context compaction via hierarchical summarization (leaf → parent → root rollups) where summarized nodes are retained alongside or in place of raw episodic traces, and where downstream reasoning or tool calls read from the compacted tree as if it were ground truth. Does not apply to pure truncation policies or to single-pass summarization without a retention hierarchy.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-hierarchical-context-compaction-has-silently-promoted-a-lossy-summary-into-the-authoritative-state-record.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-hierarchical-context-compaction-has-silently-promoted-a-lossy-summary-into-the-authoritative-state-record.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-hierarchical-context-compaction-has-silently-promoted-a-lossy-summary-into-the-authoritative-state-record.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2226,
    "python_slice_tokens": 301,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different things a compaction system can produce, and they are routinely conflated by the agent that consumes them: 1. **A representational convenience** — a summary that exists to fit within a token budget while the raw source remains retrievable by reference. Lossy, but *recoverable*. The summary is a pointer with a lossy preview...",
    "what_was_observed": "A long-running tool-using agent maintained a three-level compaction tree over a 340-step session. Leaf summaries were generated every 20 raw turns; parent summaries rolled up 5 leaf summaries; a root summary rolled up parents. The retention policy was configured \"lossless-where-budget-allows\": raw leaves were kept until a global token ceiling was hit, then evicted oldest-first. The trigger condition was mundane. At s...",
    "condition_of_validity": "The invariant that bounds this failure is: **a summary node may be read as authoritative state only if it is provably the terminal representation of its span — i.e., its `source_refs` are all either live-and-retrievable or explicitly tombstoned with a recorded reason.** This holds only under three conditions: - The retention policy distinguishes *eviction of...",
    "decision_boundary": "The operational question is: *when the agent reads a compacted node, does it need to know whether that node is the last surviving copy of its span?* The boundary is crossed the moment a raw source is evicted while a summary referencing it stays live. Before that point, reading the summary is cheap and safe — the raw source is a retrieval away. After that poi...",
    "operational_effect": "The practical consequences, in order of how they bite: - **Silent quantitative drift.** Paraphrased numbers, IDs, and enumerated sets become authoritative and unrecoverable. The agent cannot detect the drift because the drift happened at summarization time, before eviction, and eviction only removed the ability to check. - **Confidence laundering across leve..."
  },
  "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": "1fb47103b6ff4e6e4c4d337ad33db119572b9c04f637c46d9b17bff494824717",
    "verified_classes": [
      "CompactionAuthorityError"
    ],
    "verified_functions": [
      "read_compacted_node"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CompactionAuthorityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
