Search the documentation
4 pages for disable_auto_compact.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Error reference
Claude Code CLI · in the page
errors
…nfig` change would take effect. For example, it doesn't appear when [`DISABLE_AUTO_COMPACT`](/docs/en/env-vars) or [`DISABLE_COMPACT`](/docs/en/env-vars) turned auto-compact off. It also doesn't appea…
Configure server-managed settings
Claude Code CLI · in the page
server-managed-settings
…CODE_EFFORT_LEVEL` * Context window and compaction settings, such as `DISABLE_AUTO_COMPACT` * Terminal UI and accessibility options * Numeric limits, budgets, and timeouts Other delivered variables c…
Claude Code settings
Claude Code CLI · in the page
settings
…nfig` as **Auto-compact**. To disable via environment variable, set [`DISABLE_AUTO_COMPACT`](/docs/en/env-vars) in `env`…
Claude Code settings reference
Claude Code CLI · in the page
settings-reference
…ct automatically * **Default**: `true` * **Per-session overrides**: [`DISABLE_AUTO_COMPACT`](/docs/en/env-vars) turns auto-compact off for one session; whichever of the two turns it off, the other can…