[BUG] In mass agent work, prompt is too long
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
I had 14 agents working simultaneously to identify and resolve issues in my project. However, after completing 6-7 tasks, the remaining agents started giving a "prompt is too long" error while tracking their task outputs. The process was halted, and I couldn't continue the conversation.
The issues I was having resolved weren't major problems.
What Should Happen?
When tasks are processing, at least when we tell them to continue, instead of using "too long," they should use "compact" and continue.
Error Messages/Logs
prompt is too long
Steps to Reproduce
tamam api klasörünü build al hatalar var. kodlarda sorun var.
prismaya veritabanıma göre değil baya hata var. bunları paralel eşzamanlı olarak çözmeni istiyorum tek hata kalmaya kadar aynı anda ister 5 ister 500 agent çalıştır.
Claude Model
Opus
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.1.32
Platform
Other
Operating System
macOS
Terminal/Shell
Cursor
Additional Information
<img width="456" height="432" alt="Image" src="https://github.com/user-attachments/assets/a792cf61-284c-48ec-948a-b468bd26249e" />
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗