claude-code - 💡(How to fix) Fix [Bug] Claude Code enters infinite task loop on state persistence request while Codebase Agent handles identical prompt correctly

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…

Code Example

[]
RAW_BUFFERClick to expand / collapse

Bug Description Claude Code, when you tell it "save all you state, update all docs, then make very very sure that everything is updated. Finally write me a script to continue the session {after the bounce to update you, when I get {to the office,home, back up from bed}" starts doing all kinds of side tasks that need user interaction without end, an obvious delaying tactic. Cowork, which is using the same configuration, the same fs structures (they work together sometimes) does not show any such behavior on the identical prompt. It starts saving and updating everything, commits what needs to be commited and then generates the prompt and withes me good night/good travels/see you on the other side of the bounce etc.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.146
  • Feedback ID: 898fe4f6-330d-4222-ba96-c3fa3f1ba378

Errors

[]

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 [Bug] Claude Code enters infinite task loop on state persistence request while Codebase Agent handles identical prompt correctly