Three-Layer Compression Hierarchy

Description

Three-level context compression hierarchy triggered by budget usage. MicroCompact (~80%): zero-API-call direct cache edit, trims old tool outputs and strips is_ephemeral=true tools. AutoCompact (~90%): one Sonnet call for a structured summary; strips Claude's own reasoning. Reactive (~95%): one Opus call producing a full conversation digest + reset. User messages and 'critical instructions' survive all three levels — the architectural basis for the Straiker compaction-persistence attack.

Key claims

Relations

Sources

src-20260419-be936b1b7d4c