Last reviewed
Correct answer: A. Already edited on disk — Agent applies its edits as it works, and the diff view is where you reject unwanted ones.
Explanation
The principle — Agent's edits are applied as it works. Review them in the diff view and reject anything you don't want. The diff records changes already on disk, not a proposal awaiting consent.
Why the key is correct — Nothing asks permission before a file is written, so an unattended run on uncommitted work is risky. Commit or stash first, and treat checkpoints as an undo, not version control: they are local and separate from Git.
Why the others are wrong — Reading the diff as a preview inverts the order of events, and it leaves unsaved work exposed. Agent stages nothing in Git, so a reset recovers only what you committed. A normal run edits your workspace directly, not a scratch copy.
Remember this — The diff is a review, not a preview; commit before you walk away.
Sources — Cursor's Agent mode help documentation.
Sources
“Agent's edits are applied as it works. Review them in the diff view and reject anything you don't want.”
Practise 10 questions on this topic
Take Cursor AI Features — Timed Test 1 (10 questions) — scored instantly, explanation for every question, no login.