anthropics / anthropics/claude-code

[Bug] Sub-agent spawning ignores user constraints and exhausts token quota

Ouverte
#94,240 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
area:agents area:cost bug platform:macos
Langage dominant
Python
Étoiles
145k
Forks
23.1k
Métriques de merge des PR
Métriques de PR en attente

Description

**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
[]
```

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
cli
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
Active
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.