bug: even after changing the mode from Plan mode to Build mode, agent still think it is in read-only mode. #1425

Closed
opened 2026-02-16 17:30:55 -05:00 by yindo · 4 comments
Owner

Originally created by @kishanhitk on GitHub (Aug 21, 2025).

Originally assigned to: @rekram1-node on GitHub.

Image
Originally created by @kishanhitk on GitHub (Aug 21, 2025). Originally assigned to: @rekram1-node on GitHub. <img width="857" height="942" alt="Image" src="https://github.com/user-attachments/assets/00000604-ce65-40e5-a923-5030e06ba6d4" />
yindo closed this issue 2026-02-16 17:30:55 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Aug 21, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #2105: BUG: Sonic gets stuck in plan mode - reports similar issue where agent refuses to switch out of plan mode constraints
  • #1682: BUG: dumps system prompt in an infinite loop - shows agent repeatedly outputting plan mode restrictions even after mode changes
  • #1965: Gemini uses sed to edit files in plan mode - demonstrates agents not properly respecting mode switching and tool restrictions

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Aug 21, 2025): This issue might be a duplicate of existing issues. Please check: - #2105: BUG: Sonic gets stuck in plan mode - reports similar issue where agent refuses to switch out of plan mode constraints - #1682: BUG: dumps system prompt in an infinite loop - shows agent repeatedly outputting plan mode restrictions even after mode changes - #1965: Gemini uses `sed` to edit files in `plan` mode - demonstrates agents not properly respecting mode switching and tool restrictions Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Aug 21, 2025):

Yeah I just had a prompt merge to help w this, it is a prompting issue so it may take a few iterations.

My prompt change didnt ship yet, I will use this issue to track progress

@rekram1-node commented on GitHub (Aug 21, 2025): Yeah I just had a prompt merge to help w this, it is a prompting issue so it may take a few iterations. My prompt change didnt ship yet, I will use this issue to track progress
Author
Owner

@rekram1-node commented on GitHub (Aug 21, 2025):

Latest release has prompt update, lmk if it help!

@rekram1-node commented on GitHub (Aug 21, 2025): Latest release has prompt update, lmk if it help!
Author
Owner

@rekram1-node commented on GitHub (Aug 26, 2025):

Only really seeing this happen w/ Sonic can reopen later if it continues happening but latest prompt changes seem to have fixed this in most cases

@rekram1-node commented on GitHub (Aug 26, 2025): Only really seeing this happen w/ Sonic can reopen later if it continues happening but latest prompt changes seem to have fixed this in most cases
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1425