claude-code - 💡(How to fix) Fix Status line shows stale subagent description after subagent completes [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52637Fetched 2026-04-24 06:01:49
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1cross-referenced ×1

When a subagent (launched via the Agent tool) completes a long-running task, the parent conversation's status line continues displaying the subagent's task description indefinitely. This makes it appear that work is still in progress when it has already finished, leading to user confusion ("why is this taking so long?").

Root Cause

When a subagent (launched via the Agent tool) completes a long-running task, the parent conversation's status line continues displaying the subagent's task description indefinitely. This makes it appear that work is still in progress when it has already finished, leading to user confusion ("why is this taking so long?").

RAW_BUFFERClick to expand / collapse

Description

When a subagent (launched via the Agent tool) completes a long-running task, the parent conversation's status line continues displaying the subagent's task description indefinitely. This makes it appear that work is still in progress when it has already finished, leading to user confusion ("why is this taking so long?").

Steps to Reproduce

  1. In a conversation, launch a subagent for a task that takes 1+ minutes (e.g., filing a cross-repo GitHub issue via gh issue create)
  2. Wait for the subagent to complete
  3. Observe the parent conversation's status line

Expected Behavior

The status line should update when the subagent completes — either clearing, reverting to the parent's current activity, or showing a completion indicator.

Actual Behavior

The status line continues showing the subagent's task description (e.g., "Filing gyro columns DCR in gnar-data-lake… (5m 3s)") with an incrementing timer, even though the subagent finished minutes ago. The stale description persists until the parent emits new output (e.g., the next tool call or text response).

Impact

  • User sees a timer climbing and assumes work is blocked or hung
  • Prompts unnecessary "why is this taking so long?" interruptions
  • Erodes trust in the status line as a progress indicator

Environment

  • Claude Code CLI on Windows 11
  • Model: claude-opus-4-6
  • Observed during multi-agent session with foreground subagents

🤖 Generated with Claude Code

extent analysis

TL;DR

Update the parent conversation's status line when a subagent completes its task to reflect the actual progress.

Guidance

  • Investigate the Agent tool's implementation to determine why the parent conversation's status line is not updated when a subagent completes its task.
  • Verify that the subagent is sending a completion signal or event that can be used to trigger an update to the parent conversation's status line.
  • Consider adding a timeout or periodic check to clear the status line if no update is received from the subagent within a reasonable timeframe.
  • Review the Claude Code CLI documentation to see if there are any existing APIs or hooks that can be used to update the status line.

Example

No code snippet is provided as the issue lacks specific implementation details.

Notes

The solution may require modifications to the Agent tool or the Claude Code CLI, and may involve adding new APIs or hooks to update the status line.

Recommendation

Apply a workaround, such as implementing a periodic check to clear the status line if no update is received from the subagent within a reasonable timeframe, until a permanent fix can be implemented.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Status line shows stale subagent description after subagent completes [1 comments, 2 participants]