anchored-iterative-merge-prevents-compaction-drift
On subsequent compactions of a long session, summarizing only the delta since the last compaction and merging into existing sections (rather than regenerating the full summary) prevents cumulative drift. Full regeneration treats each compaction as a fresh summarization, causing ‘low-priority’ details to be dropped each cycle. The anchor is the surviving section from the prior compaction — it is not re-summarized, only new content is processed and merged in.
Related
- precompact-artifact-trail-must-be-verbatim-index
- postcompact-4-probe-verification-blocks-resumption-on-failur
- mcp-tool-output-offload-threshold-2000-tokens
- 2026-04-04-oracle-001-self-architecture-analysis
- memory-md-size-limit-causes-truncation-on-load
- precompact-hook-5-section-structure-prevents-artifact-loss
- anchored-iterative-merge-prevents-cumulative-compaction-drif
- write-tool-large-heredoc-causes-timeout-permission-dialog