GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — core: background shell completion doesn't wake an idle subagent session that ended its turn · Issue #64047 · anomalyco/opencode Closed as not planned Closed as not planned Copy link Labels DescriptionA subagent session that starts a background shell and then ends its turn while the shell is still running is never resumed when the shell completes. The parent only sees the child go idle. No second round of work happens in the child, even though the shell finished long after. What I expected, from the docs (packages/plugin/src/effect/README.md):
The shell was owned by the child itself, so from the parent's side this is exactly "a shell a subagent left running", and the doc says that wake goes to the descendant. From the source I read (packages/core/src/tool/plugin/shell.ts), the completion path (the So my question: is this intended, or is the wake lost for descendant-owned background shells? I couldn't find an admission downgrade that would explain it. The README line "Notices admitted with Steps to reproduce:
Observed: the child was never resumed. Its turn ended and the parent received only the child's completion notification with no phase-2 output in it. The same shape reproduced live, not just in a contrived script. Why this matters in practice: in a multi-agent workflow a child that trusts the auto-resume instruction is stranded, and the coordinating session has to notice the missing work and re-prompt the child from ground truth. We hit this three times in one day (2026-11-14) before switching our delegation prompts to never end the turn on background work. Workaround: don't end the turn on background work. Block on the command or keep the parent waiting on the child explicitly. One diagnostic ask: if the notice admission surfaced whether it woke the session or was admitted with Plugins: none Activity
MetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |