Most of the members of my team are very cautious to not hit context limits and trigger compaction. I, on the other hand, have a workflow where I am either,
- Running agentic loop so the actions are very constrained and compaction doesn’t affect me there because the core prompt is loaded back in in some way to keep the claude aligned. I do have a few logging procedures mentioned in the program file to ensure progress is check-pointed in some way between compaction, or
- Have separate sessions to brainstorm several independent pocs, so as the session progresses, the old context normally becomes irrelevant anyways So I haven’t had any problems with sessions compacting so far. But I have heard it enough that I was curious to find if I have been overlooking any quirks. Can people in here shed light on how they deal with compaction? P.S. my team and I are still new to agentic workflows, so I hope this isn’t an absurd question submitted by /u/Razor_Rocks
Originally posted by u/Razor_Rocks on r/ClaudeCode
You must log in or # to comment.
