anthropics / anthropics/claude-code
[Bug] Sub-agent spawning ignores user constraints and exhausts token quota
- Ngôn ngữ chính
- Python
- Star
- 145k
- Fork
- 23.1k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
**Bug Description**
I have specifically asked not to spawn multiple sub agents and still it exhausted all my tokens by spawning so many subagents. Also, on checking the usage, the usage always showed lower number after recent update. to get correct usage stats, I need to restart claude everytime.
**Environment Info**
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.270
- Feedback ID: 9d73191d-0210-4b79-b373-6f836d93d662
**Errors**
```json
[]
```
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Reproduce on darwin with iTerm.app and version 2.1.270, checking both sub-agent behavior after a no-multiple-agents instruction and usage immediately after activity. Trace the relevant sub-agent spawning and usage-stat paths; done means user constraints prevent excess spawning and usage remains accurate without restarting Claude.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- cli
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100