Skip to content

[Bug]: Muse background subagents show the worktree as done while they are still running #28090

Closed

Description

@mmarabel

Operating system

Linux

Orca version

1.4.223. The agent ran on a Linux orca serve host and I watched it from a macOS client. Muse Code 1.4.6. I read the code on main at 1df7d7dd7a.

Details

Summary

If Muse starts subagents in the background and then ends its turn, the sidebar marks the worktree as done while those subagents are still running.

What happened

I asked Muse to run a multi-agent workflow. Muse started it in the background (Running in background · /workflows to monitor) and ended its turn. Muse's own footer kept showing the workflow as running (0/7+ agents done). The Orca sidebar row turned green (done) as soon as the lead's turn ended and stayed green while the agents worked.

How to reproduce

  1. Launch Muse in an Orca terminal with Orca's hooks installed.
  2. Ask it to run a workflow, or anything else that starts subagents in the background, so the lead's turn ends before the subagents finish.
  3. Watch the worktree's sidebar row while the subagents are still running.

Expected: the row stays working until the background subagents finish. Orca already does this for Claude (background_tasks on Stop), Codex, Grok and Pi.

Actual: the row switches to done when the lead's turn ends.

Cause (from reading main)

Dropping child events was deliberate. It keeps a child's own Stop from marking the lead done. What's missing is the other direction: while children are known to be running, the lead's Stop shouldn't end the pane's work.

Anything else that might help

Activity

  1. added
    os:linux
    on Oct 12, 2026
  2. AmethystLiang commented on Oct 12, 2026

    @AmethystLiang
    Contributor

    Thanks for reporting. Looking into it

  3. added a commit that references this issue on Nov 6, 2026
    14e698a
  4. added a commit that references this issue on Nov 7, 2026
    121e8ba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

os:linux

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions