Review & rollback
changesTrack AI edits in Godot with undoable revisions: record baselines, diff modifications, approve or discard, and restore checkpoints.
Instructions
Changesets make AI work reviewable and reversible (like a sandbox). A changeset opens automatically before the first edit and records a baseline of the whole project; the user sees pending files in the editor's Forge dock with Approve/Discard buttons. Use checkpoints before risky steps and restore if an approach fails. Backed by a private git history in .godot/forge (the user's own git is untouched; requires git).
Actions:
status: {} open changeset (label, baseline, checkpoints) and changed files.
diff: {path?, checkpoint?} unified diff of text files since the baseline (or a checkpoint) + stat.
begin: {label, accept_previous?=true} start a named changeset for a new task (closes the previous one as accepted).
checkpoint: {name?} save a restore point.
restore: {checkpoint} roll every file back to a checkpoint (changeset stays open).
revert_files: {paths} restore selected files to the baseline.
approve: {message?} accept all pending changes (only when the user asked you to, or at the end of a task they approved).
discard: {} restore everything to the baseline and close the changeset. Destructive: confirm with the user first.
history: {limit?} past changesets with outcomes and ids.
revert_changeset: {id} undo a previously approved changeset (opens a new changeset for the revert).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Changeset id. | |
| name | No | Checkpoint name. | |
| path | No | res:// file. | |
| label | No | Task label shown to the user. | |
| paths | No | res:// files. | |
| action | Yes | What to do. See the tool description for each action's parameters. | |
| message | No | Note stored with the approval. | |
| checkpoint | No | Checkpoint name or commit prefix. |