Ship Stories

Cursor agent ran git restore and wiped uncommitted work

Cursorgitagentprocess
Tried
Let Cursor agent use the terminal on a dirty git tree while asking it not to touch some files
Broke
Agent executed git restore on a tracked file and discarded uncommitted bibliography/edits with no confirm
Fix
Disable Auto-Run for terminal; commit/stash before agent git tasks; rule: never git restore/reset --hard/clean without explicit confirm

Original source · ← All stories