Skip to content

P2: Background subagent progress between turns is dropped (Claude) #1522

Closed

Description

@currentbits

Between turns, electron/runner-provider-claude.js:585-597 reads only <task-notification> completions from an idle Claude CLI. Every other event is dropped at if (!guard()) return, including subagent progress, tool calls and any turn the CLI starts on its own. While the parent is idle, the user sees nothing from a running background subagent until it finishes, and its intermediate work never reaches the transcript or the Agents panel.

Fix (M): while a session has live background subagents, route their stream events into the subagent rows (runner-subagents.js) instead of discarding them. Keep the guard for genuinely stray events.

Related: #1443 (idle reaping kills these sessions).

Activity

  1. added
    plan:todo
    plan:doing
    and removed
    plan:todo
    on Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    plan:doing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions