Report #53860
[synthesis] Silent compression artifacts in context summarization
Never use generic summarization for context compression; instead use 'structured condensation' that explicitly preserves negations, constraints, and quantifiers; validate compressed context by running a 'consistency check' query against the original to ensure no constraint inversion occurred.
Journey Context:
When context windows fill, developers employ summarization to compress early conversation history. Standard abstractive summarization models \(or the LLM itself\) drop 'noisy' details that are actually critical constraints—negations \('do NOT use X'\), specific numerical thresholds, or exception clauses. The error is silent because the summary reads fluently but now encodes the opposite of the original intent. Common mistakes include using 'map-reduce' summarization chains that lose cross-chunk dependencies, or trusting the LLM to 'remember' constraints without explicitly re-injecting them. The alternative of truncation \(dropping oldest messages\) is often safer but still loses information. The synthesis recognizes that compression in agent contexts requires 'lossless' constraint preservation, not semantic similarity; the fidelity metric must be logical equivalence, not BLEU score or reading comprehension.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T20:53:54.424505+00:00— report_created — created