After restarting Cursor, it shows some unprocessed changes made by the agent, even though there were no such changes before the restart.
Sometimes the toolbar is active even when there are no changes in a file (see screenshot).
Steps to Reproduce
The bug appears sometimes after restarting Cursor - not every time, but often.
I see no pattern - the changes could be from recent prompts or from prompts that were made a while ago.
Just now I restarted Cursor, it showed some unprocessed files. I accepted all changes and restarted it again, and one file was shown as unprocessed even though I definitely accepted all changes.
A workaround that helped other users: select the whole file (Cmd+A, Cmd+C), then press Cmd+Z until the diffs disappear, then paste the copied code back in (Cmd+V). This clears the stuck state from workspace storage.