Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Bug]: Multiple delegated subagents can remain stuck in Delegating without registering all children

Aperta
#392 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
cli

Direzione di ricerca

Start with the CLI interactive TUI delegation/task projection and the local runtime session state, then reproduce the three independent read-only delegation calls described in the issue. Trace how each child is dispatched and registered; done means every requested child has a stable visible runtime status and the parent does not remain indefinitely in Running with unresolved Delegating rows.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug needs-triage tui
Product or interface

CLI - interactive TUI

Version

0.5.2

Platform

Linux

OS version and architecture

Ubuntu x64

Issue area

Agent stuck / slow / repeated loop; UI / UX

Steps to reproduce
  1. Start mcode and ask the main agent to split three independent, read-only audits into three explore subagents in the same turn.
  2. Let the main agent emit the three delegation calls.
  3. Observe the TUI delegation/task projection and the local runtime session state.
Expected and actual behavior

Expected: Each independent delegation is either started concurrently or placed in an explicit visible queue. Every requested child gets a stable runtime session/status, and the parent does not remain indefinitely in Running with unresolved Delegating rows.

Actual: The TUI shows multiple Delegated/Delegating rows, but the runtime does not register all children as independent active sessions. In the reproduction, the first child was created and later became idle; the second child was created roughly 18 minutes later; the third requested child never appeared as a runtime child session. The parent remained Running, while the task summary showed 2 failed, 1 agent active, and 4 cancelled, with no actionable error explaining the undelivered third delegation.

This looks like a delegation dispatch/registration or observability bug rather than a model-quality issue. It is reproducible with independent read-only tasks and does not require parallel writers or shared-file conflicts.

Redacted error summary

No panic or stack trace. The observable state is:

Delegated (explore · audit A)
Delegating (explore · audit B)
Delegating
Tasks: 2 failed · 1 agent active · 4 cancelled
Parent: Running
Runtime children: first -> idle, second -> started much later, third -> absent
Additional context
  • The repository already has feature discussions about scheduling and parallel subagents (#357 and #366). This report is specifically about the current observable behavior when the main agent issues multiple independent delegation calls: the TUI claims delegation activity that is not reflected consistently in runtime state.
  • No credentials, private paths, account data, or raw session logs are included.
Lingua principale
TypeScript
Stelle
2.1k
Fork
271
Merge medio
14h 23m
PR unite (30g)
35

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di MiniMax-AI/minimax-code

Tutte le issue di MiniMax-AI/minimax-code

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.