Skip to main content
Every time the agent edits a file, stagewise tracks the change so you stay in full control. You can see exactly what changed, keep the parts you like, and undo anything you don’t.

Reviewing changes in the sidebar

After the agent modifies files, a compact diff summary appears in the chat. It shows:
  • Which files were changed
  • How many lines were added or removed
  • A preview of the actual changes
Click on the summary to expand the full diff inline.

The diff review page

For bigger changes across multiple files, open the dedicated Diff Review page. This gives you:
  • A scrollable list of every modified file
  • Full side-by-side diff with syntax highlighting
  • Per-file and per-section controls

Accepting changes

Click the ✓ Accept button on any section of a diff. This confirms you want to keep that change. Accepted sections disappear from the pending review.

Rejecting changes

Click the ✗ Reject button to undo a specific section. stagewise reverts that part of the file on disk immediately, restoring it to how it was before.

Accept or reject everything

Use the file-level buttons to accept or reject all changes in a file at once — no need to go section by section.

Undo and redo

Changed your mind? stagewise tracks the full history of agent edits:
  • Undo — Roll back all changes from a specific agent action
  • Redo — Reapply changes you previously undid
This works at the tool-call level, so you can step backward and forward through the agent’s edit history.

Opening files in your IDE

From the diff review page, click the IDE icon next to any file to jump straight to it in your code editor. Set your preferred IDE in Settings → Agent → General. Supported editors: Cursor, VS Code, VS Code Insiders, Zed, Windsurf, WebStorm.