HISTORY_SNIP Snip Compaction

Description

Layer 2 of the five-layer compaction architecture. A feature-gated, zero-cost compaction step that edits cached conversation content in-place to trim older tool outputs locally, without spawning a hidden API call. Distinct from Microcompaction (per-turn, Layer 3) by being configurable and operating on snipped ranges of prior history rather than the current turn's scratch material. Keeps the prompt prefix cache-stable by writing changes only to the cacheable tail.

Key claims

Relations

Sources

src-20260409-09a1b2325b23