Skip to content

No status when an agent is waiting on work it handed off #42

Closed

Description

@currentbits

What happens

When a thread hands work off — thread_fork / thread_send via the coder-threads MCP server (electron/orchServer.js), or an in-agent subagent — the UI shows nothing about the handoff. The orchestrator just sits there. Nothing says:

  • that it is blocked on delegated work at all
  • which thread(s) it is waiting on
  • what those workers are doing right now
  • how long it has been waiting

Runs are async, so the orchestrator's own status reads idle/working like any other thread. From the outside a healthy wait and a hung wait look identical.

Why it matters

This is the shared root behind several existing reports — you can't see the stall because there's no surface for "waiting on X":

The parent/child relation already exists in the data (handoffFrom, used in src/components/AgentsPanel.tsx:1605 and src/components/Sidebar.tsx:2122) — it's just never rendered as live wait state.

What I'd expect

On the orchestrator thread, while it has live children:

  • a badge/row like the existing Waiting badge (src/components/Sidebar.tsx:223), e.g. "waiting on 2 workers", with elapsed time
  • the child names, their status, and their last assistant line — thread_status already returns exactly this (electron/orchServer.js:223), it just isn't shown to the user
  • a click-through from the orchestrator to each worker
  • something visibly different when a child is failed / awaiting input / stopped, so a stuck fan-out is obvious without opening every worker

Same for in-agent handoffs: when the agent is parked on a delegated task, say so and say what it's waiting on.

Activity

  1. added a commit that references this issue on Aug 15, 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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions