anthropics / anthropics/claude-code

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

Abierto
#94,240 0 comentarios 0 reacciones 0 asignados Ver en GitHub
area:agents area:cost bug platform:macos
Lenguaje dominante
Python
Estrellas
145k
Forks
23.1k
Métricas de merge de PR
Métricas de PR pendientes

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
cli
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Activo
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.