BeforeAgentOpen one trusted local project folder in desktop VS Code. Finish any running edits, then click Checkpoint in the status bar and wait for confirmation before submitting your AI prompt. When the agent finishes, click Roll Back and confirm to restore the most recent manual checkpoint. To recover the rejected implementation or revisit an older checkpoint, run BeforeAgent: Restore from History from the Command Palette. Each checkpoint saves the current files, including uncommitted and untracked files, binary assets and empty directories. Rollback restores modified and deleted files and removes included files created later. Named dirty editors in the project are saved first. Close or pause other tools writing to the folder while saving or restoring. If a restore fails partway, resolve the reported problem and retry, or select the pre-rollback copy from history. The extension stores full local copies in VS Code's global extension storage, keyed by the project's absolute path. Copies accumulate until manually removed. Files such as .env and ignored files are included. Directories and files named .git, node_modules, .venv and pycache are excluded everywhere, as are symbolic links and special files. Restore covers file contents and folder structure. Git history, staging, running processes, databases outside the project and external services are outside its scope. DevelopmentThe VSIX is a ZIP archive. Extract it and open its extension folder in VS Code to inspect or edit the JavaScript source. No build or dependencies are required. |