⌨️DISABLE_COMPACT
Also known as DISABLE_COMPACT=1
Set to 1, it turns off all compaction, /compact too.
Think of it like
It is like you lock the tidy box. No one can squeeze the desk, not even you.
Example
Jack tests how a model reads a whole chat, and a summary would spoil the test. He sets this, so the chat is never squeezed.
Why it matters
Some tests and audits need the full chat kept word for word.
Definition
Example code
bash
export DISABLE_COMPACT=1
claude -p "Review this file"Common mistake
Key takeaways
- 1All compaction off. Auto and by hand.
- 2Stricter. Than the auto one.
- 3Runs to the limit. Then stops.