Cursor deletes active git worktree regulary

Hey @PlanB!

This looks a lot like Cursor removes active worktree directories and then closes/crashes unexpectedly, which spawned a bug report that is still open on our side. Could you have a look?

@kevinn also shared some tweaks that might help