Cursor is great for refactoring, but if you try to do a bigger change in multiple steps, some challenges emerge.
Imagine working on a new feature and trying out multiple technical approaches one after another. With each prompt you get some code suggestions and you try them out. At some point you might conclude that you need to restore the code state to some previous step. The problem is that this state is not saved anywhere. You do not commit work in progress changes to git and the AI does not remember the state of the code before you apply changes from its suggestions. Now you have the choice of either reverting everything to last git commit or trying to recreate the code either manually or with the help of the AI.
I imagine it would be possible to take a snapshot of files that have been changed from AI chat before applying code changes and provide those points of history for the user in the chat. This way I could instruct the AI to go back to a previous code state.