Skip to content

Transaction/Undo/Redo Capabilities for Shell State #11

@zinthose

Description

@zinthose

Why it's good:

A common need in stateful applications (especially UIs, games, or complex business processes) is the ability to revert or replay state changes.

Thoughts:

  • Command Pattern: The Shell could internally manage a history of "commands" (which could be the results of Ruleset calls).
  • Memento Pattern: Allow the Shell to take "snapshots" of its state and revert to them. Since our core aim is immutability in its processing, the state objects themselves should lend well to snapshotting.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions