Worktree changes not saved

yes, there are two issues i am experiencing:

  1. when clicking “apply all”, not all of the modified files are moved over (there is a selection between “pending changes” and “all changes” to be moved from the worktree and in my experience both of these fail to move over all the changes)
  2. when agent modifies a file within the worktree, it is not actually written to the file on disk and only visible within cursor ide → this is a problem because i might task the agent to create tests in the worktree, it writes them and when it tries to run the tests within the worktree to verify they are correct → they do not work because they are empty files

on top of that, if im not mistaken, once i accept the changes from the worktree to be moved over, i have the option to revert but after reverting no option to apply again and also once i apply changes, the “review changes” button disappears from the chat so unless i kept the review tab open, i have no option to revert or review changes that were made

6 Likes