Sypha AI Docs
Sypha CLI

Change Review & Safety

Review every change in a diff before it applies, and undo/redo whole session snapshots.

Sypha shows a diff of every change and asks before applying it — nothing touches your files without approval.

The review dialog

When the agent wants to write, edit, or run a command, you get a choice:

Allow once

Apply this single change.

Allow always

Apply and stop asking for this tool for the rest of the session.

Reject

Skip the change and tell the agent why.

Every change is shown as a real colored diff before you decide.

Press Ctrl+Y to toggle auto-accept — approve all operations for the session without prompting. On a Teams plan, admin-restricted actions are still enforced.

Undo & redo

Sypha snapshots session state, so you can roll back code and chat together:

CommandAction
/undo (alias /rewind)Revert the previous message and its file changes.
/redoRe-apply an undone message.

There is no automatic "checkpoint / hard git reset," and no /checkpoint list / /checkpoint restore. Undo is session-scoped and reversible with /redo.

Built-in guards

Sensitive files (.env, .git, .pem) and destructive shell commands are guarded — Sypha flags them for explicit confirmation instead of applying silently.

On this page