Claude Code Overwrote My Uncommitted Changes: Recover With /rewind + Local History
Two hours of uncommitted edits gone after the agent ran. Try /rewind first, then editor local history and reflog — then lock it down with commit-before-agent, deny rules, and worktrees.