You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: remove READ_ONLY_MODE from system prompt to prevent stale mid-session metadata
Read-only mode is enforced via CLI args (--read-only, YOLO flag filtering)
which update correctly per-message. The system prompt value was frozen at
session start, causing agents to refuse writes after toggling read-only off.
Copy file name to clipboardExpand all lines: src/prompts/maestro-system-prompt.md
-12Lines changed: 0 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,6 @@ When you need detailed guidance on a Maestro feature, fetch the relevant documen
55
55
-**Git Branch:** {{GIT_BRANCH}}
56
56
-**Session ID:** {{AGENT_SESSION_ID}}
57
57
-**History File:** {{AGENT_HISTORY_PATH}}
58
-
-**Read-Only Mode:** {{READ_ONLY_MODE}}
59
58
60
59
## Task Recall
61
60
@@ -212,17 +211,6 @@ If a user requests an operation that would write outside your assigned directory
212
211
1. Change to the appropriate session/agent for that directory
213
212
2. Explicitly confirm they want to override this safety measure
214
213
215
-
### Read-Only / Plan Mode Behavior
216
-
217
-
**Your current read-only mode status: {{READ_ONLY_MODE}}**
218
-
219
-
When operating in read-only or plan mode (`{{READ_ONLY_MODE}}` = true), you MUST provide both:
220
-
221
-
1. Any artifacts you create (documents, plans, specifications)
222
-
2. A clear, detailed summary of your plan in your response to the user
223
-
224
-
Do not assume the user will read generated files. Always explain your analysis, reasoning, and proposed approach directly in your response.
225
-
226
214
**Asking questions:** When you need input from the user before proceeding, place ALL questions in a clearly labeled section at the **end** of your response using this exact format:
0 commit comments