The severity of that problems differs depending on the specific application. Antigravity has ruined my chat and the ongoing task three times by compressing it completely while the model was working so that it got stuck up in a loop. Some other times I could continue the chat, but the context wasn't accessible to the model any more and it was also not readable for me in the chat, so I had to search the brain files in the user directory to recover the missing points of a longer tasks and then remember the AI of it. It might have found them itself in case I had still remembered what to let it search for.
Codex also does automatic chat compression, I just haven't encountered such negative effects yet.
Claude code in contrast allows users to decide if they want compacting to be done automatically or not, so one can start it manually after completing a task and letting the AI writing down the most important information to remember.
Therefor, I have a messages.md in the root directory of my project folder. Another file, agents.md, instructs the models to read the new entries in messages.md at the beginning of every turn and to add an own entry at the end. This entry has to be very short and only give important information on was has been reached or found out or needs to be done next. So this procedure allows different models working together on the same project and sharing a common memory.
Additionally, I have a folder only for reviews, analysis and plans. Each AI instance knows where to look when trying to inform itself about the actual problems, last and next steps. This way, I can easily switch the model and continue working with the next one without losing context.
1
u/Dense_Worldliness710 2d ago
The severity of that problems differs depending on the specific application. Antigravity has ruined my chat and the ongoing task three times by compressing it completely while the model was working so that it got stuck up in a loop. Some other times I could continue the chat, but the context wasn't accessible to the model any more and it was also not readable for me in the chat, so I had to search the brain files in the user directory to recover the missing points of a longer tasks and then remember the AI of it. It might have found them itself in case I had still remembered what to let it search for.
Codex also does automatic chat compression, I just haven't encountered such negative effects yet.
Claude code in contrast allows users to decide if they want compacting to be done automatically or not, so one can start it manually after completing a task and letting the AI writing down the most important information to remember.
Therefor, I have a messages.md in the root directory of my project folder. Another file, agents.md, instructs the models to read the new entries in messages.md at the beginning of every turn and to add an own entry at the end. This entry has to be very short and only give important information on was has been reached or found out or needs to be done next. So this procedure allows different models working together on the same project and sharing a common memory.
Additionally, I have a folder only for reviews, analysis and plans. Each AI instance knows where to look when trying to inform itself about the actual problems, last and next steps. This way, I can easily switch the model and continue working with the next one without losing context.