Checkpoints automatically save snapshots of your workspace after each step in a task, allowing you to track changes, roll back when needed, and experiment confidently with your code.
Elastic Copilot creates a checkpoint after each tool use (file edits, commands, browser actions, etc.). These checkpoints:
Work alongside your Git workflow without interference
Maintain context between restores
Use a shadow Git repository to track changes
Store snapshots in VS Code’s global storage
For example, if you’re working on a feature and Elastic Copilot makes multiple file changes, each change creates a checkpoint. This means you can review each modification and, if needed, roll back to any point without affecting your main Git repository.
The message editing feature uses checkpoints when you select the “Restore All” option, allowing you to edit and resubmit messages while restoring your workspace to that conversation point.
Checkpoints are created asynchronously to avoid blocking development
Only tracks relevant files to minimize storage overhead
Automatic cleanup of temporary files and excluded content
The checkpoint system provides a powerful safety net that encourages experimentation and rapid iteration while maintaining the ability to recover from any unwanted changes or explore alternative approaches.