undo_write
Reverse the latest task write by restoring its previous state or removing a newly created task. Use dryRun to preview the revert before applying changes.
Instructions
WRITE. Reverses a recorded write using the before-image the ledger captured: restores an updated task to its prior state, or deletes a task that was created. Omit actionId to undo the most recent undoable write. Pass dryRun to preview the plan without changing anything. Records a compensating action.reverted entry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Preview the revert plan without writing. | |
| actionId | No | Ledger action id to reverse (from `list_actions`). Omit to undo the most recent undoable write. |