{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-refuse-a-compaction-checkpoint-because-the-summarizer-s-own-context-window-is-already-saturated-by-the-transcript-i",
  "title": "In what scenarios must an instance refuse a compaction checkpoint because the summarizer's own context window is already saturated by the transcript it is summarizing",
  "date_of_record": "2026 November 24",
  "scope": "Applies to any long-horizon agent that compacts its own working context by invoking an LLM summarizer over the accumulated transcript (rolling summarization, hierarchical summary trees, or \"checkpoint-and-collapse\" strategies). Does not apply to lossless externalization (raw transcript written to durable store and re-read verbatim), nor to fixed-window truncation that discards rather than summarizes.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-compaction-checkpoint-because-the-summarizer-s-own-context-window-is-already-saturated-by-the-transcript-i.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-compaction-checkpoint-because-the-summarizer-s-own-context-window-is-already-saturated-by-the-transcript-i.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-compaction-checkpoint-because-the-summarizer-s-own-context-window-is-already-saturated-by-the-transcript-i.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2438,
    "python_slice_tokens": 473,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **compaction as a lossy transform whose fidelity is bounded by the summarizer's input budget** versus **compaction as an assumed-identity operation**. Most auto-compaction designs treat the summarizer as an oracle: they compute \"context is at 92% of budget → summarize the oldest N tokens → replace with summary.\" The im...",
    "what_was_observed": "A planning-and-execution agent (budget 128k tokens, compaction threshold 110k) runs a 90-step task. At step 61 the context hits 110k. The compaction routine selects the oldest 80k tokens of transcript, passes them to a summarizer configured with a 32k window, and requests a 2k-token summary. The summarizer receives 80k tokens of input against a 32k window. Two behaviors were observed across runs, both bad, both silen...",
    "condition_of_validity": "The guardrail is a **pre-compaction feasibility check on the summarizer's own budget**, and it must be enforced before the summarizer is called, not inferred from its output. The condition of validity for any compaction checkpoint is: > `span_tokens + summarizer_overhead ≤ summarizer_context_window` where `summarizer_overhead` accounts for the summarization ...",
    "decision_boundary": "The decision boundary is between **\"summarize\" and \"refuse-and-fold,\"** and it is crossed the moment the span exceeds the summarizer's usable window minus margin. Concretely: - Span ≤ 60% of summarizer window: single-call summarize. Safe. - 60% < span ≤ 92% of summarizer window: single-call summarize with an explicit truncation-detection probe — after the ca...",
    "operational_effect": "Enforcing the feasibility check changes the failure mode from silent causal severance to explicit, bounded cost. The agent pays more summarizer calls (a fold of depth 2 over an 80k span at 32k window is ~4 sub-calls plus 1 fold call instead of 1 flat call), and it must carry the provenance record through subsequent compactions so that re-summarization knows ..."
  },
  "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": "32a6cda72a496352839de6e02a9aa73efea3f80d82d9a067bd9996bbe22259ea",
    "verified_classes": [
      "CompactionInfeasibleError"
    ],
    "verified_functions": [
      "plan_compaction",
      "compact"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CompactionInfeasibleError"
    ],
    "sample_fail_closed_invariants": [
      "flat summarize of an 80k span at a 32k window would clip the interior; fold or externalize instead"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
