cutbolt_session_undo
Undo the latest applied change in a saved session, creating a new revision that preserves history. Repeat to step back through revisions.
Instructions
Undo the latest applied state as a new revision, preserving history. Repeated undo walks backward. Retry with identical request_id/expected_revision.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ID of a project saved in store_root. | |
| request_id | Yes | Caller-chosen ID for this change, 1-128 bytes, unique within the project. Resend identical arguments with it to retry safely. | |
| store_root | No | Existing local directory holding the session database (projects.sqlite3) | |
| expected_revision | Yes | Head revision this change was prepared against; a different head fails with REVISION_CONFLICT. |