Skip to content

Replace legacy history management with structured PromptSession model #64

@banagale

Description

@banagale

Remove the current list/index-based history tracking mechanism and replace it with the new PromptSession model defined in history_model.py. All undo/redo and state mutation logic should flow through this new structure.

Ensure that session state transitions, UI refreshes, and prompt generation behave identically to current behavior.

Acceptance Criteria:

  • PromptSession is instantiated in place of previous history state mechanism
  • Undo and redo work using session.undo() / session.redo() with correct view updates
  • App behavior is unchanged from the user’s perspective
  • No legacy history list/index logic remains active

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions