Never Compact a Compaction: Re-Derive From the Raw Tail, Not the Last Summary

Up to ~50% cost on bounded-context long-horizon runs Advanced 3 min read

Long agents compact repeatedly, and the common rolling-summary pattern compacts last round's summary again โ€” so drift compounds copy-of-a-copy and you keep re-billing to launder old notes. Instead, keep a verbatim raw tail and re-run deterministic truncation over the ORIGINAL turns each time, discarding the previous compacted output: never compact a compaction.

๐Ÿ”’ Pro tip ยท Advanced

Unlock this tip โ€” and 127 more

This is one of 128 advanced, fact-checked tactics reserved for Pro. Get the full 150-tip library, a searchable archive, and a new tip every morning. Free for 7 days, then $9/mo.

Prefer to browse? The 22 Beginner tips are free forever.