So I was using Claude Code to create an n8n workflow for a routine/app over the weekend. Surprisingly, the workflow that I figured would be rather straightforward and simple needed multiple iterative updates and fixes. At one point, CC came back and stopped the work altogether for an hour because I had reached a limit. What limit?
After that, I became aware of an indicator in the chat window that showed % context used (or something like that). So I asked CC to automatically compact the session, if it reached 80%, save this request to the CLAUDE.md file, and also in its memory, but do each compaction prior to starting any work that may exceed the limit and stop the work. It failed to do it automatically and proactively the few times, so I had to do it manually and remind CC. I asked CC to create and update a WIP summary pertaining to the project so I can come back to it to see the changes made, but it created something called STATUS file and kept it outside of the project file. I guess this lengthy post is so that I can share a lesson learned about context length that I never knew about before. But has anyone encountered a situation like this? How have you managed it? How can I manage WIP and STATUS without unnecessarily duplicating things?
Cheers,
Roger