claude-code - 💡(How to fix) Fix Sleeping/looping background agents incorrectly shown in 'Ready for Review'

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…
RAW_BUFFERClick to expand / collapse

Bug (in Agent View)

Background agents that are sleeping (e.g. waiting 10 minutes via ScheduleWakeup) or running a /loop cycle sometimes appear in the "Ready for Review" section of the UI instead of remaining in their own "Running" or "Sleeping" section.

Expected behaviour

Agents in a sleep/loop state should stay in whatever section represents active-but-waiting background jobs. They haven't produced a final result and aren't awaiting user review.

Actual behaviour

These agents intermittently show up under "Ready for Review", which implies they've completed and need attention. Clicking into them shows they're still mid-loop or sleeping.

Steps to reproduce

  1. open claude with claude agents
  2. Start a background agent with a /loop or a long ScheduleWakeup delay (~10 minutes)
  3. Check the job list while the agent is sleeping
  4. Observe the agent listed under "Ready for Review" instead of an active/sleeping section

Environment

  • Claude Code CLI (macOS)
  • Opus model

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