[FEATURE] per-session autoCompactEnabled override for concurrent sessions
Resolved 💬 3 comments Opened Jan 20, 2026 by ThbltLmr Closed Feb 27, 2026
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
I want to be able to simultaneously run a Claude session with autocompact on and another one with autocompact off, on the same machine.
Proposed Solution
Add a per-session overwrite for the autoCompactEnabled global setting, e.g. claude --sessionAutoCompact [boolean]
Alternative Solutions
Currently I believe you can work around this by creating a second config directory and using the CLAUDE_CONFIG_DIR environment variable
Priority
Medium - Would be very helpful
Feature Category
CLI commands and flags
Use Case Example
I want to be able to launch Claude Code in long-running Ralph loops for simple tasks, while managing context manually on tasks I am actively monitoring and steering
Additional Context
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗