claude-code - 💡(How to fix) Fix [Bug] FleetView: background agent stuck in 'working' state when it enters plan mode or asks a question

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…

In FleetView (the Claude Code CLI background-agents view), when a running agent calls ExitPlanMode (plan approval) or AskUserQuestion, the job row continues to show the "working" state and never surfaces the prompt that needs my response. The job sits indefinitely without indicating that human input is required.

Root Cause

In FleetView (the Claude Code CLI background-agents view), when a running agent calls ExitPlanMode (plan approval) or AskUserQuestion, the job row continues to show the "working" state and never surfaces the prompt that needs my response. The job sits indefinitely without indicating that human input is required.

RAW_BUFFERClick to expand / collapse

[Bug] FleetView: background agent stuck in "working" state when it enters plan mode or asks a question

Summary

In FleetView (the Claude Code CLI background-agents view), when a running agent calls ExitPlanMode (plan approval) or AskUserQuestion, the job row continues to show the "working" state and never surfaces the prompt that needs my response. The job sits indefinitely without indicating that human input is required.

Expected behavior

When a background agent emits a plan for approval or asks a clarifying question, the FleetView job row should:

  • Transition out of the "working" state into a "needs input" / "awaiting response" state
  • Surface the plan or the question inline so I can approve / answer without opening the full session
  • Ideally trigger a notification (terminal bell, system notification, or status-line indicator) so I know I'm now the bottleneck

Actual behavior

  • The job row continues to show the "working" spinner / state
  • There is no visible affordance to respond
  • The agent is effectively idle (waiting on me) but I have no way to know that without manually opening the session

Reproduction

  1. From FleetView, kick off a background task that will plausibly enter plan mode or ask a question (e.g. anything ambiguous, or anything where you've prompted the agent to plan first)
  2. Wait
  3. Observe that the job stays in "working" forever instead of flipping to a state that prompts me

Impact

This silently blocks long-running background work. The whole point of FleetView is to fan out work and check back later — if the UI doesn't tell me when an agent is waiting on me, I have to open every running session to find the blocked one. In practice this means I miss plan-mode prompts and questions for hours.

Environment

  • Surface: FleetView (Claude Code CLI background agents view)
  • Platform: macOS (Darwin 25.4.0)
  • Terminal: Ghostty

Suggested fix sketch

Treat ExitPlanMode and AskUserQuestion tool calls (and any other tool that explicitly waits on a human) as state transitions in the FleetView job-list, not as continued work. The classifier that drives the job row's status should map these tools to a distinct "needs input" state with a visible CTA.

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…

FAQ

Expected behavior

When a background agent emits a plan for approval or asks a clarifying question, the FleetView job row should:

  • Transition out of the "working" state into a "needs input" / "awaiting response" state
  • Surface the plan or the question inline so I can approve / answer without opening the full session
  • Ideally trigger a notification (terminal bell, system notification, or status-line indicator) so I know I'm now the bottleneck

Still need to ship something?

×6

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

Back to top recommendations

TRENDING