Review and rollback

Checkpoints, accepting changes, and what a rollback can and cannot undo.

 Ask a question

Checkpoints

Before the agent's write or edit tool first changes a file, Sylphyx saves what the file held, or that it did not exist, with the session. That is the file's checkpoint. The change then waits for review until you accept it or roll it back, and keeps waiting if you close the app.

  1. Checkpoint saved
  2. File changed
  3. Waits for review
  4. Accepted: yoursRolled back: as it was

Reviewing

  • App: the Review panel lists each waiting file with its diff. Accept (Alt+A) keeps it, Roll back (Alt+R) restores it; a file with several hunks has Accept and Undo on each one, and Accept all and Roll back all cover every file.
  • CLI: /diff shows what waits, /accept keeps it, /rollback restores every waiting file, and /commit MESSAGE accepts and commits the waiting files in this folder.

What a rollback restores

  • Every file the session's edits changed, exactly as it was at its checkpoint.
  • A file the session created is removed.
  • The whole file goes back, so edits you made to the same file by hand since then go too. Accept what you want to keep first.

What it cannot undo

  • The effects of shell commands. Files a command wrote, moved or deleted (a formatter, a package install, git checkout, rm) have no checkpoint.
  • Git history and pushes: commits, branches, a push, a pull request.
  • Anything outside your computer: requests to services and APIs, database changes, messages sent, and whatever an MCP server's tools did.
  • Changes you already accepted. Once accepted, a change is yours; undo it with git.