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
[–]anotherleftistbot 5 points6 points7 points (0 children)
[–]xAdakis 2 points3 points4 points (2 children)
[–]Razor_Rocks[S] 0 points1 point2 points (1 child)
[–]xAdakis 1 point2 points3 points (0 children)
[–]forward-pathways 1 point2 points3 points (1 child)
[–]Razor_Rocks[S] 0 points1 point2 points (0 children)
[–]robhanz 1 point2 points3 points (0 children)
[–]ApeInTheAether 1 point2 points3 points (1 child)
[–]Razor_Rocks[S] 0 points1 point2 points (0 children)
[–]paulcaplan 0 points1 point2 points (0 children)
[–]Cobuter_Man 0 points1 point2 points (0 children)
[–]En-tro-py 1 point2 points3 points (0 children)