Skip to main content
CODING-WITH-CURSOR5 MIN READ

Stop a drifting Agent without losing the session

Respond to Agent drift with checkpoint rollback and a tighter restart instruction.

Your Agent run is drifting into unrelated files. Choose the reply that saves the session. The run is widening. It just opened auth and billing too. fromTop Your move. fromBottom Stop this run, restore the last clean checkpoint, then restart with only the analytics files, forbidden auth/billing paths, and the spec command. Best. It uses Cursor's checkpoint recovery, stops scope drift, and gives the restart a clear file boundary plus verification. Let it finish first; if the summary is confident, we can trust that the extra files were necessary. Confidence is not proof. Letting drift finish expands review surface and…

Read the full lesson

Sign up free — one personalized lesson every day, matched to your role and goals.

Already have an account? Sign in

← Back to library
Contact us