Why it matters

Undo shapes user control. Understanding shapes design.

Advertisement

The architecture

Snapshot state pre-action.

Undo local via revert / regenerate.

Undo external via compensations.

Agent undo mechanicsSnapshot statepre-actionUndo localrevert / regenUndo externalcompensationsLocal easy; external compensations complex; document reversibility per action
Agent undo.
Advertisement

How it works end to end

Local state snapshots.

Compensating actions for external.

Undo history stack.

Clear boundary of undoable.