-
Notifications
You must be signed in to change notification settings - Fork 246
feat: Disk-based prompt system with user customization UI #541
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
peterjmorgan
wants to merge
25
commits into
RunMaestro:main
Choose a base branch
from
peterjmorgan:symphony/issue-197-mmifmr74
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
56c84cb
[Symphony] Start contribution for #197
peterjmorgan 6fcc0c4
MAESTRO: Add prompt-manager.ts for disk-based prompt loading
peterjmorgan fc18608
MAESTRO: Add extraResources config to bundle core prompts for all pla…
peterjmorgan 675c246
MAESTRO: Add IPC handlers and preload bridge for core prompts API
peterjmorgan 51152bc
MAESTRO: Initialize core prompts at app startup before IPC handlers
peterjmorgan 53ee6d7
MAESTRO: Migrate main process and CLI imports to disk-based prompts
peterjmorgan 645022d
MAESTRO: Migrate renderer prompt imports to disk-based IPC loading
peterjmorgan 182aa5b
MAESTRO: Migrate renderer Part 2 prompt imports to disk-based IPC loa…
peterjmorgan 38b46af
MAESTRO: Add centralized renderer prompt initialization
peterjmorgan 15cb9fb
MAESTRO: Remove legacy build:prompts script and generate-prompts.mjs
peterjmorgan b780648
MAESTRO: Replace prompts re-exports with PROMPT_IDS constants and mig…
peterjmorgan 9407fae
MAESTRO: Remove src/generated/ from .gitignore after disk-based promp…
peterjmorgan fdead52
MAESTRO: Add Maestro Prompts tab to Right Bar for browsing and editin…
peterjmorgan 18836c3
MAESTRO: Add Cmd+Shift+2 keyboard shortcut for Maestro Prompts tab
peterjmorgan 6978503
MAESTRO: Add prompt-manager unit tests for disk-based prompts
peterjmorgan 6ca186f
MAESTRO: Add prompt customization documentation to CLAUDE.md and user…
peterjmorgan b38d4f0
MAESTRO: Clean up outdated migration comment in CLI index
peterjmorgan 8ad893b
MAESTRO: address PR 541 review gaps and harden prompt loading
peterjmorgan 03c3b98
Fix prompt initialization and reset flow regressions
peterjmorgan 63ec177
Fix latest PR review findings on prompt and batch flows
peterjmorgan 3cbe7ff
Address latest PR review feedback for Symphony auto-run
peterjmorgan 090295e
Address latest CodeRabbit nits for Symphony contribution flow
peterjmorgan 5c566ea
Fix missing registerPromptsHandlers() call in main process startup
peterjmorgan 711db58
Merge branch 'main' into symphony/issue-197-mmifmr74
peterjmorgan 3f026dd
Merge branch 'main' into symphony/issue-197-mmifmr74
peterjmorgan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,7 +21,6 @@ node_modules/ | |
| # Build outputs | ||
| dist/ | ||
| release/ | ||
| src/generated/ | ||
| *.log | ||
| tmp/ | ||
| scratch/ | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| --- | ||
| title: Maestro Prompts | ||
| description: Browse, edit, and customize the core system prompts that power Maestro's AI features. | ||
| icon: file-pen | ||
| --- | ||
|
|
||
| The **Maestro Prompts** tab in the Right Bar lets you browse and customize the core system prompts that drive Maestro's AI-powered features — the Onboarding Wizard, Auto Run, Group Chat, and more. | ||
|
|
||
| ## Opening Maestro Prompts | ||
|
|
||
| **Keyboard shortcut:** | ||
|
|
||
| - macOS: `Cmd+Shift+2` | ||
| - Windows/Linux: `Ctrl+Shift+2` | ||
|
|
||
| **From the Right Bar:** | ||
|
|
||
| - Open the Right Bar and select the "Maestro Prompts" tab | ||
|
|
||
| ## Browsing Prompts | ||
|
|
||
| Prompts are organized by category: | ||
|
|
||
| - **Wizard** — Onboarding and setup prompts | ||
| - **Auto Run** — Prompts used during Auto Run sessions | ||
| - **Group Chat** — Multi-agent coordination prompts | ||
| - **Other** — Additional system prompts | ||
|
|
||
| Select a prompt from the list to view its content in the editor panel. | ||
|
|
||
| ## Editing Prompts | ||
|
|
||
| 1. Select a prompt from the list | ||
| 2. Modify the content in the editor | ||
| 3. Click **Save** to apply your changes | ||
|
|
||
| Changes take effect immediately — no restart required. Your edits are stored separately from the bundled defaults, so app updates won't overwrite your customizations. | ||
|
|
||
| ## Resetting to Default | ||
|
|
||
| Click **Reset to Default** to restore any prompt to its original bundled version. The reset takes effect immediately. | ||
|
|
||
| ## How It Works | ||
|
|
||
| - **Bundled prompts** ship with each release in the app's bundled resources prompts directory (example: `Resources/prompts/core/`; exact resource location can vary by platform) | ||
| - **User customizations** are stored in `userData/core-prompts-customizations.json` | ||
| - When loading a prompt, Maestro checks for a user customization first; if none exists, it falls back to the bundled default | ||
|
|
||
| <Note> | ||
| Unlike SpecKit and OpenSpec commands, core prompts do not have an "Update from GitHub" button — they ship with each Maestro release. | ||
| </Note> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.