[FEATURE]:An "OpenSpec" Plan mode.
Feature hasn't been suggested before.
- [x] I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
This feature would just allow the plan mode to also write, create, and validate OpenSpec (https://github.com/Fission-AI/OpenSpec) documents. Right now - I have to switch to Build mode to create these documents - but the AI agents keep wanting to start coding changes when I have not finished planning everything. It would be nice to allow Plan mode to be able to modify and create the OpenSpec documents - since these are really for planning.
This issue might be a duplicate of existing issues. Please check:
- #3858: [FEATURE]: EDIT PLAN mode or allow editing of only certain (.md) files in PLAN mode
- #7579: [FEATURE]: Save plan to file for token efficiency and compaction persistence
- #7801: [FEATURE]: Plan Mode + Question tool can auto switch to Build mode
- #4536: [FEATURE]: QOL improvement of plan -> build
Feel free to ignore if none of these address your specific case.
I also encountered this, I see you closed the issue, is there any solution?
Hey @Dano4Droid, I ran into this too so I built a plugin for it. It adds an "OpenSpec Architect" agent that only has write permissions for spec files (project.md, specs/**). This stops the agent from writing code while you're still planning. Repo is here: https://github.com/Octane0411/opencode-plugin-openspec
Hey @Dano4Droid, I ran into this too so I built a plugin for it.嘿,我也遇到过这个问题,所以我为此做了一个插件。 It adds an "OpenSpec Architect" agent that only has write permissions for spec files (project.md, specs/). This stops the agent from writing code while you're still planning.它添加了一个“OpenSpec Architect”代理,只对规范文件(project.md、specs/)拥有写权限。这样可以防止代理在你还在规划时写代码。 Repo is here: https://github.com/Octane0411/opencode-plugin-openspec仓库在这里:https://github.com/Octane0411/opencode-plugin-openspec
You're doing such a great job, my friend—I was really struggling with this problem and couldn't figure it out.👍