Description
After reverting a conversation to a point where the most recent agent was Plan, switching the active agent to Build does not correctly restore Build’s agent context. Build keeps receiving the Plan-mode system reminder and refuses file edits or other implementation work.
Expected behavior
After selecting Build, it should receive Build’s system context and be allowed to perform implementation work, independent of the agent active at the reverted point.
Actual behavior
Build still receives the Plan-mode reminder telling it that it is in Plan mode and cannot edit or create files. It refuses to build despite Build being selected.
Workaround
After reverting, send any additional message while still using Plan. Then switch to Build. Build receives the correct context and works normally.
Plugins
No response
OpenCode version
0.0.0-next-17403 (next channel)
Steps to reproduce
Steps to reproduce
- Start a session and use the Plan agent.
- Use revert to restore the conversation to a point where the last retained agent message/state is Plan.
- Switch the active agent to Build.
- Ask Build to make an implementation change.
Screenshot and/or share link
No response
Operating System
Linux 6.18.33.2-microsoft-standard-WSL2 (x86_64)
Terminal
windows terminal
Description
After reverting a conversation to a point where the most recent agent was Plan, switching the active agent to Build does not correctly restore Build’s agent context. Build keeps receiving the Plan-mode system reminder and refuses file edits or other implementation work.
Expected behavior
After selecting Build, it should receive Build’s system context and be allowed to perform implementation work, independent of the agent active at the reverted point.
Actual behavior
Build still receives the Plan-mode reminder telling it that it is in Plan mode and cannot edit or create files. It refuses to build despite Build being selected.
Workaround
After reverting, send any additional message while still using Plan. Then switch to Build. Build receives the correct context and works normally.
Plugins
No response
OpenCode version
0.0.0-next-17403 (next channel)
Steps to reproduce
Steps to reproduce
Screenshot and/or share link
No response
Operating System
Linux 6.18.33.2-microsoft-standard-WSL2 (x86_64)
Terminal
windows terminal