palinode_rollback
Revert a memory file to a previous version safely, preserving history with a new commit. Defaults to dry run; refuses to undo retirements unless acknowledged.
Instructions
Revert a memory file to a previous version. Safe: creates a new commit preserving the old version in history. Defaults to dry run. A rollback that would undo a retirement (archive/supersede/retraction) is named in the preview and refused unless undo_retirements=true; prefer palinode_restore to bring a retired memory back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit | No | Target commit hash (from palinode_history). Default: previous version. | |
| dry_run | No | If true (default), show what would change without applying. | |
| file_path | Yes | Memory file path to rollback | |
| undo_retirements | No | Acknowledge that applying undoes a retirement and brings the record back as current. Without it such a rollback is refused. |