It would be very nice indeed if Cursor’s agent’s were aware of the branches they were working on, and stopped work/paused if the branch changes out from underneath them. With GPT-5 thinkign soooooo long I find myself mutitasking a lot more (which is not great by any stretch) but it also means I’ve inadvertently switched branches out from under the agents a few times and they keep grinding away in the wrong place. They should detect a branch change and pause until they get back to their branch.
Or even better, each agent should have its own branch and git environment checked out and the editor should be able to switch between those environments based on the chat window active. So the agents can keep working and you can work in multiple branches at once.
Win