Keep action-definition history separate from document History and route Undo and Redo to the focused Actions panel. Preserve named calls and function-key bindings when restoring edits, checkpoint recorded steps, and return Undo to document edits after playback.
Add regression coverage for reordering, deletion, renaming, recording, append, redo invalidation and keyboard routing without changing document pixels.