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
{{ message }}
Repository navigation
Plan/build mode auto-toggles every turn, spamming reminders and burning tokens #42764
In OpenCode TUI 1.15.13 on Windows, the operational mode automatically toggles between plan and build on every turn, producing a "Your operational mode has changed from plan to build" system reminder each turn.
This started after installing @plannotator/opencode with workflow: "plan-agent", but it CONTINUES after completely removing the plugin (removed from opencode.jsonc, deleted ~/.cache/opencode/packages/@plannotator, no processes left) and restarting the TUI 5 times.
Impact
The agent reacts to each auto-generated system reminder with a short empty reply ("ready"/"waiting"), which spams the user AND burns tokens on every turn - over a long session these empty generations can exhaust the entire token budget.
Expected behavior
Mode should change only via the Tab key (or an explicit command), not automatically on every turn.
Steps to reproduce
Open any project in OpenCode TUI on Windows.
Send a few messages.
Observe the mode indicator (bottom-right) toggling plan <-> build by itself, with a system reminder injected each turn.
but it CONTINUES after completely removing the plugin (removed from opencode.jsonc, deleted ~/.cache/opencode/packages/https://github.com/plannotator, no processes left) and restarting the TUI 5 times.
Opencode's fault cannot be denied, as the plugin corrupted something in Opencode.
Only installing Opencode over the existing one helped.
Opencode used up 35% of my monthly quota and 100% of my weekly quota for Opencode Go in about 4 hours and blocked development for 1 day. So, I've switched to ZCode for now.
Activity
simonklee commentedon Aug 15, 2026
This seems like a plugin problem. I'd also upgrade to 1.18.x branch
mflow42 commentedon Aug 16, 2026
but it CONTINUES after completely removing the plugin (removed from opencode.jsonc, deleted ~/.cache/opencode/packages/https://github.com/plannotator, no processes left) and restarting the TUI 5 times.
Opencode's fault cannot be denied, as the plugin corrupted something in Opencode.
Only installing Opencode over the existing one helped.
Opencode used up 35% of my monthly quota and 100% of my weekly quota for Opencode Go in about 4 hours and blocked development for 1 day. So, I've switched to ZCode for now.