Undo/redo history over Commands. Executing a command pushes it onto
the undo stack and clears the redo stack (standard editor semantics — a new
action after undo forks history). A command whose execute fails is not
recorded, so history only ever contains successfully applied changes.
A read-only projection of the history for a history/timeline UI: undo is
the applied commands oldest→newest, redo the undone commands next→last.
Labels only — the commands themselves stay encapsulated.
Undo/redo history over Commands. Executing a command pushes it onto the undo stack and clears the redo stack (standard editor semantics — a new action after undo forks history). A command whose
executefails is not recorded, so history only ever contains successfully applied changes.