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
We previously decided to disable this for sub-agents because people didn't like it when their sub-agents were calling Submit Plan. But happy to rethink this.
Random data collection here: are you using any tooling like super powers or OhMyOpenCode?
Nope, but I've made a kind of custom one to orchestrate my subagent with basic routing according to usecases. Would be nice to make a select choice as for the after approval switch agent one, maybe 🙏🏾
It would be very very nice to decide by ourself 🙏🏾🙏🏾🙏🏾
For reference, PR #318 implements the current design for PLANNOTATOR_ALLOW_SUBAGENTS:
config hook: skips adding submit_plan to primary_tools, making the tool visible to subagents
system.transform: still skips prompt injection for subagents — intentionally
The env var is a visibility toggle, not a "turn this subagent into a planner" switch. Subagents that need submit_plan are custom workflows with their own instructions — injecting the full planning prompt (directory paths, file naming rules, "don't edit codebase", question tool usage) would conflict with whatever the subagent is configured to do. The tool description itself is sufficient for a subagent that's been set up to use it.
Activity
backnotprop commentedon Mar 14, 2026
Thanks @sfpmld -
We previously decided to disable this for sub-agents because people didn't like it when their sub-agents were calling Submit Plan. But happy to rethink this.
Random data collection here: are you using any tooling like super powers or OhMyOpenCode?
sfpmld commentedon Mar 14, 2026
Nope, but I've made a kind of custom one to orchestrate my subagent with basic routing according to usecases. Would be nice to make a select choice as for the after approval switch agent one, maybe 🙏🏾
It would be very very nice to decide by ourself 🙏🏾🙏🏾🙏🏾
feat: Pi-style iterative planning for OpenCode plugin
backnotprop commentedon Mar 16, 2026
For reference, PR #318 implements the current design for
PLANNOTATOR_ALLOW_SUBAGENTS:confighook: skips addingsubmit_plantoprimary_tools, making the tool visible to subagentssystem.transform: still skips prompt injection for subagents — intentionallyThe env var is a visibility toggle, not a "turn this subagent into a planner" switch. Subagents that need
submit_planare custom workflows with their own instructions — injecting the full planning prompt (directory paths, file naming rules, "don't edit codebase", question tool usage) would conflict with whatever the subagent is configured to do. The tool description itself is sufficient for a subagent that's been set up to use it.feat: Pi-style iterative planning for OpenCode plugin (#318)
sfpmld commentedon Mar 16, 2026
Hi, thank you so much. I'll give it a try tomorrow 🤓