Skip to content

v3.12.0 β€” Rewind a whole turn

Choose a tag to compare

@eniz1806 eniz1806 released this 06 Jun 17:22

An "undo everything the AI just did" safety net.

Added

  • /rewind [n] β€” revert all file changes the AI made over the last n turns (default 1), in one step. It lists exactly which files will be restored or deleted (newly-created files are removed), asks for confirmation, then reverts. Works in any directory β€” it's content-based, no git required. Each turn's pre-edit file states are snapshotted automatically (last 10 turns).

Tests

  • test_rewind.py β€” turn-snapshot capture, do_rewind, and the command's merge/confirm/pop logic. 427 total; ruff + CI green.