Recently I started getting this question popping up a lot as I iterate on plans.
It’s super annoying… not only because the phrasing is unclear… but because I don’t even want to be asked the question. I’m interating on the plan… yes, of course, please overwrite the old plan with the new plan… if that’s even what this is saying.
So at a minimum fix this phrasing, what is it even saying… that my changes are newer and not yet saved? If I choose revert with the changes from the current plan revisions be reverted?
I end up just dismissing this because I’m not sure what either button click will do… and do be fair, I’m not sure what dismissing it does either.
This is the file conflict dialog that shows up when the editor detects a mismatch between the file on disk and the version in the editor buffer. During plan mode iterations, the agent often updates files on disk, which can trigger this dialog if you have unsaved changes in the same file.
To clarify the options:
Overwrite saves your editor version over the disk version
Revert discards your editor changes and reloads the disk version (the one the agent wrote)
Dismiss keeps the editor version without saving, so the conflict stays until you save
For plan iterations, you usually want Revert, since it pulls in the latest changes made by the agent.
That said, I agree the UX here isn’t great, especially during plan iterations where this should ideally be handled automatically.
I got here from a Google search of this same issue of not making any manual edits to a plan but still constantly seeing “The content of the file is newer. Do you want to overwrite the file with your changes, or revert your changes?”
Was hoping for an answer but seems like there may not be one yet. Will follow this thread.