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
Task tool permission override no longer works for nested sub-agents #8114
The old agent schema had a tools: z.record(z.string(), z.boolean()) field that enabled this override. With the new permission system, this capability was lost.
Environment
opencode version: v1.1.15+
Affects: Any agent trying to use nested sub-agents
Activity
le0nidas commentedon Jan 14, 2026
Not sure if it is related but I'm on OpenCode v1.1.19 and I still cannot spawn a subagent from another.
Here is the frontmatter part of the subagent the needs to spawn:
Should I open a new issue? Is it something that I'm missing in the setup? Any help is appreciated, thank you in advance.
malhashemi commentedon Jan 14, 2026
Hey the permissions are sequential now, so that deny at the bottom is overriding your allow list, just move it to the top and it should work
le0nidas commentedon Jan 14, 2026
That did the trick! Thank you!