Skip to content
This repository was archived by the owner on Aug 17, 2025. It is now read-only.
This repository was archived by the owner on Aug 17, 2025. It is now read-only.

Unable to Edit and Persist MainPrompt #2

@GaboCapo

Description

@GaboCapo

Summary:
Currently, there is no command such as mainprompt edit to directly edit the active MainPrompt and persist changes.

Problem:
When the active MainPrompt is manually modified, any changes are lost after switching prompts, since there is no backup or persistence mechanism in place. This behavior undermines the purpose of having a MainPrompt as the central configuration.

Expected Behavior:
A command like mainprompt edit should:

  • Open the currently active MainPrompt in the default text editor (e.g., $EDITOR)
  • Save the changes persistently
  • Optionally create a backup of the previous version (e.g., mainprompt.bak or versioned copy)

Goal:

  • Improve user experience through a consistent editing workflow
  • Prevent accidental data loss
  • Reinforce the concept of a stable, editable MainPrompt

💡 Proposed Command

mainprompt edit

➡️ Opens the active prompt in the default text editor
➡️ Creates a backup before saving changes
➡️ Saves changes persistently for future prompt switching


🔥 Importance

High: For professional or frequent users, persistent editing and version safety of the MainPrompt are critical to maintaining workflow stability.

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