Compaction is a setting that you control in Claude Code.