HISTORY_SNIP Snip Compaction
- Entity ID:
ent-20260419-d3e4f5a0b1c2 - Type:
concept - Scope:
shared - Status:
active - Aliases: HISTORY_SNIP, snip-compaction, layer-2-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
- Compaction has five layers, not two
- Five pre-model context shapers run sequentially before every model call
Relations
- Five-Layer Compaction Architecture --[contains]--> HISTORY_SNIP Snip Compaction