{"name":"autoCompactEnabled","slug":"autocompactenabled","family":"setting","title":"Settings keys","noun":"settings key","description":"Turn [automatic compaction](\/docs\/en\/context-window) off or on","description_source":"docs","described_by":{"doc":"claude-code\/settings-reference","title":"All settings"},"presence":{"first_seen":"2.1.138","removed_in":"2.1.284","in_current_build":false,"newest_mined":"2.1.308","builds":126,"mined_builds":149,"first_cited":{"version":"2.1.260","released_at":"2026-09-03 22:32:02","spans":3}},"aliases":[],"entries":[{"version":"2.1.282","anchor":"project-thread-remote-control-children-get-auto-compact-turn","heading":"Remote Control project-thread child sessions get automatic compaction","line":"Child sessions started for a project thread over Remote Control now have automatic compaction turned on unless you have set it yourself","released_at":"2026-09-24 15:56:22","reason":"found in this entry's text"},{"version":"2.1.282","anchor":"remote-control-project-thread-child-sessions-launched-with-a","heading":"Remote Control project-thread sessions now run with auto-compact turned on","line":"Sessions that Remote Control starts for a project thread can now be launched with auto-compact forced on, controlled by a remote switch that is on by default","released_at":"2026-09-24 15:56:22","reason":"found in this entry's text, named in this entry"},{"version":"2.1.235","anchor":"context-limit-banner-now-tells-you-auto-compact-is-switched","heading":"Context-limit banner now tells you auto-compact is switched off","line":"Context-limit banner now tells you when auto-compact is off and points you at \/config","released_at":"2026-08-18 18:24:10","reason":"found in this entry's text"},{"version":"0.2.36","anchor":"improvements","heading":"Improvements","line":null,"released_at":"2025-03-10 23:28:47","reason":"found in this entry's text"}],"entries_total":4,"docs":[{"source":"claude-code","path":"settings-reference","title":"All settings","documented":true},{"source":"claude-code","path":"settings","title":"Claude Code settings","documented":true},{"source":"claude-code","path":"agent-sdk\/python","title":"Agent SDK reference - Python","documented":false},{"source":"claude-code","path":"agent-sdk\/typescript","title":"Agent SDK reference - TypeScript","documented":false},{"source":"claude-code","path":"errors","title":"Error reference","documented":false}],"docs_total":5,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/autocompactenabled","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}