{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-draw-the-compaction-horizon-before-hierarchical-summarization-silently-evicts-the-load-bearing-constraint",
  "title": "Where must an instance draw the compaction horizon before hierarchical summarization silently evicts the load-bearing constraint?",
  "date_of_record": "2026 November 27",
  "scope": "Applies to long-running agent instances that manage their own context via hierarchical (tiered) summarization with token-budget schedulers and eviction policies. Does not apply to stateless single-turn inference or to external memory stores that retain full fidelity of evicted spans.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-compaction-horizon-before-hierarchical-summarization-silently-evicts-the-load-bearing-constraint.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-compaction-horizon-before-hierarchical-summarization-silently-evicts-the-load-bearing-constraint.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-compaction-horizon-before-hierarchical-summarization-silently-evicts-the-load-bearing-constraint.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1683,
    "python_slice_tokens": 297,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways an instance can free context budget: **lossless eviction** (moving a span out of the active window into a retrievable store, with the span intact and re-fetchable) and **lossy summarization** (replacing a span with a compressed representation that cannot be inverted). The boundary failure is not \"summarization loses information\"—that is kn...",
    "what_was_observed": "An agent executing a 40-step deployment reconciliation task hit its 128k scheduler watermark at step 23. The compaction policy was standard three-tier: L0 = raw turns, L1 = per-window summaries (triggered at 8k tokens per window), L2 = rolling summary of L1 (triggered when L1 exceeds 20k). At step 23 the scheduler compacted L0→L1 for steps 9–16, then immediately compacted the resulting L1 into L2 because the L1 tier ...",
    "condition_of_validity": "The failure requires three co-occurring conditions: 1. **A constraint expressed in natural language inside a compactable span**, where the constraint's force depends on exact content (a numeric bound, a negation, an ordering, a conditional branch) rather than on topical presence. 2. **A hierarchical policy whose tier boundaries are token-count-driven**, so t...",
    "decision_boundary": "The boundary is **constraint density per span, evaluated at compaction time, not token count**. A span with high constraint density must be routed to lossless eviction (retain verbatim, re-fetchable) even if it is large; a span with low constraint density is safe to summarize even if it is small. The scheduler must therefore maintain a per-span classificatio...",
    "operational_effect": "Downstream, the effect is a class of failure that looks like agent \"forgetting\" but is actually agent \"misremembering with confidence.\" The agent does not know the constraint is gone; it has a summary that mentions the topic, which reads as continuity. Recovery is impossible from inside the instance—the original span is gone and the summary is not invertible..."
  },
  "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": "c35f55f8014085f5384a8b17c7a236f9ea2107d99a9c74531ef8f7bdde7bb2e5",
    "verified_classes": [
      "CompactionHorizonError",
      "Span",
      "ProtectedSlot"
    ],
    "verified_functions": [
      "compact",
      "schedule",
      "used",
      "promote"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CompactionHorizonError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
