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
Permissions and questions from nested subagents don't bubble up to root, causing stuck sessions #24644
When a subagent spawns its own subagents (depth > 1), permission and question requests from those nested sessions are never displayed in the root session's TUI. The subagents block forever waiting for approval that no user can see or grant.
The permissions and questions memos in the TUI session view only collect from direct children (depth 1) via the children() memo. Any grandchild or deeper descendant session is excluded, so their permission prompts are invisible.
The web/desktop app already handles this correctly via sessionTreeRequest() which does a full BFS traversal of the session tree.
No issue template was used. Bug reports must follow the Bug Report template, which includes fields like Description, Steps to reproduce, OpenCode version, Operating System, and Terminal.
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
Permission asks from nested subagent sessions silently hang #13715: "Permission asks from nested subagent sessions silently hang" — same root cause (TUI only collects permissions/questions from direct children, not grandchildren), same symptom (session hangs forever)
Activity
github-actions commentedon Apr 27, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
If you believe this was flagged incorrectly, please let a maintainer know.
michalsalat commentedon Apr 27, 2026
Duplicate of #13715 and #7654. Fix in #24638.