Hey, thanks for the report.
This is a known issue. There’s a conflict between the Agent Review tab and the regular editor. If the same file is open in both places, changes can get reverted.
Quick workaround: close the Agent Review tab before opening files, or close the file in the regular editor when you’re working through Review.
Can you confirm if you were using the Review feature when this happened? Here’s a related thread with more details: Agent code changes are automatically deleted
The team is aware of this. Let me know if the workaround helps.