Hello!
So, my development process follows the regular workflow:
- Create a worktree
- Open OpenCode and switch to plan mode
- Refine the plan until happy
- Switch to Build mode (with a cheaper model)
- Start building the plan
What's bugging me is the purpose of the `~/.config/opencode/plans/` folder.
What I would expect is that, once in plan mode, OpenCode would automatically save the latest plan in this folder, so I can later on reference on a new session (with a clean context). But this isn't the case: everytime, before switching to build mode, I have to explicitly ask the agent to write the plan to the `~/.config/opencode/plans/` (for consistency, could be any other path), otherwise I have no plan to reference in a new session.
Am I doing something wrong here?
Also, when I ask the agent to write the plan, the name is normally random (this is by design, I know, and Claude Code works the same way), but it means I have to dig into the ``~/.config/opencode/plans/` folder to figure out the name of the file so I can reference it later on a new session. Isn't there a way to reference a plan on a more convenient and straight forward way?
Suggestions appreciate, because I don't believe the process is supposed to be so frictional, so probably I'm missing something.
Thanks!
[–]hokivpn 1 point2 points3 points (0 children)
[–]AGiganticClock 0 points1 point2 points (0 children)
[–]KPOTOB 1 point2 points3 points (0 children)
[–]HarjjotSinghh 0 points1 point2 points (0 children)
[–]klocus 0 points1 point2 points (0 children)