rollback_frankability
Restore a Symbols project to its pre-operation state using snapshots. Roll back to any prior op ID to undo changes or walk backward through the op history.
Instructions
Restore a Symbols project to its state before a specific op ran.
Every apply-edits run snapshots affected files under
<symbols_dir>/.frank-audit/snapshots/<opId>/ before mutating. Use this
to undo a specific op (or a chain by walking backwards through opIds
listed by snapshots_frankability).
Args: symbols_dir: Absolute path to the symbols/ directory. op_id: The opId to roll back to (from a prior apply-edits result).
Returns: JSON with { ok, restored: [...filePaths], opId }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op_id | Yes | ||
| symbols_dir | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |