Recover when a coding agent takes the wrong path. Compare Git, checkpoints, and agent history, and learn what to inspect before rolling back.