Skip to content

Plan Mode system reminder persists for entire conversation after switching back to Build mode #24121

Closed as not planned

Description

@alexndala

Description

Once Plan Mode is activated (via Tab) and then deactivated (via Tab again), the Plan Mode system reminder continues to be injected into every subsequent message for the remainder of the conversation. The model cannot write or edit any files even though the UI shows Build mode is active.

Expected behavior
Switching back to Build mode should stop injecting the Plan Mode system reminder. File writes and edits should work normally.

Actual behavior
The system reminder CRITICAL: Plan mode ACTIVE - you are in READ-ONLY phase continues to be appended to every user message for the rest of the conversation. The only workaround is starting a completely new conversation.

Impact
Any work done in Plan mode is lost for that session — the user must start a new conversation and manually re-establish context to actually execute.

Plugins

No response

OpenCode version

1.14.22

Steps to reproduce

To reproduce

  1. Start a conversation in Build mode
  2. Press Tab to switch to Plan mode
  3. Send a message (plan mode reminder gets injected)
  4. Press Tab to switch back to Build mode
  5. Ask the model to create or edit a file
  6. Model refuses — plan mode system reminder is still being injected on every message

Screenshot and/or share link

No response

Operating System

OS: Windows (WSL)

Terminal

Windows Terminal

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Apr 24, 2026
  2. github-actions commented on Apr 24, 2026

    @github-actions
    Contributor

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

  3. removed
    bugSomething isn't working
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  4. github-actions commented on Jul 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions