Cursor (0.46.6) was messing with my files and i wanted to restore to a previous checkpoint as there is a button that should reversing to a previous state, but it then deleted the whole content of the file !
It has done that twice.
I manage to get the content file back using the timeline features.
But i think the restore checkpoint is broken !?