Review and Undo
Last updated October 28, 2026
Every time the agent answers in Project Mode, Classgrid takes a snapshot of your project. That means you can see exactly what changed, reject single files, or undo the whole answer with one click.
The "files changed" box
Under each answer that changed code, you'll see a box like this:
3 files changed +42 -7 Review Undo
Review changes
Click Review to open Review changes. It shows the diff for each file, with added lines and removed lines marked.
For each file you can click Reject to throw away the agent's changes to that file. There are also buttons for all files at once:
"Accept all" does not save to GitHub. It only marks the answer as kept on your screen. It doesn't commit or push anything. When you're happy, use Push to GitHub to save your work. See Pull requests and backups.
Undo an answer
Click Undo in the files changed box. Classgrid asks you to confirm:
"Put the project back to how it was before this answer? Changes made after it, by you or the AI, are undone too."
Read this carefully. Undo goes back to the snapshot taken before that answer. Anything that happened after it is undone too, including:
- Later answers from the agent.
- Edits you made yourself after that answer.
If you only want to remove one file's changes, use Reject in Review changes instead.
After you review
The box updates to show what you chose:
A good review routine
- Ask the agent for a change.
- Click Review and read each file's diff.
- Reject any file you don't want.
- Ask the agent to run the build or tests, for example "Run the build and fix any errors."
- When everything looks right, click Push to GitHub.
When review and undo stop working
Snapshots are kept while your project is open. A while after you close the editor, the working copy is removed. The next time you open the project, it downloads fresh from GitHub, and the old answers can no longer be reviewed or undone.
Push your work before you leave, or rely on the automatic backup branch. Don't count on Undo for changes from a past session.