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

Agent teams: in-process teammates never claim tasks from the team's task list

Aperta Adatta ai principianti
#163 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Sagar07Kr ci sta già lavorando.

Dal 23/10/2026.

  • #183 di @Sagar07Kr — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
76/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
backend

Direzione di ricerca

Inizia da src/utils/tasks.ts:199-207 e dai due punti in cui viene richiesta un’attività in src/utils/swarm/inProcessRunner.ts:1038 e :1395; confronta come il lead e i compagni in-process risolvono l’elenco delle attività. Aggiungi o individua un test per un lead con un team e un compagno inattivo che richiede un’attività non assegnata. Il lavoro è concluso quando entrambi i punti di chiamata usano la risoluzione dell’elenco delle attività del lead e il test passa.

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

Descrizione

bug

Part of #162.

Problem

In-process teammates never claim tasks from the team's task list, so the lead ends up doing everything or the tasks sit unowned.

  • The lead's tasks live under the team's task list. Once a team exists, getTaskListId() returns the team name (src/utils/tasks.ts:199-207), so tasks are written to tasks/<team-name>/.
  • In-process teammates claim with the lead's session id instead: at spawn (src/utils/swarm/inProcessRunner.ts:1038) and in the idle loop (inProcessRunner.ts:1395). The comment there says the leader creates tasks under its session id, which is no longer true once a team exists.
  • So the teammates read tasks/<lead-session-id>/, which never exists, and find nothing to claim.

Reproduced on c49c1fb

  • Agent teams on, lead in bypass mode. The lead created team verify1, three unowned tasks, and two in-process teammates. Both replied "ready" and went idle.
  • The tasks were written to tasks/verify1/1.json–3.json. No tasks/<lead-session-id>/ folder was ever created.
  • About 9 minutes later all three tasks were still owner: null, status: pending, and none of the files they asked for existed.
  • The team panel showed the two teammates but never the tasks.

Expected

Idle teammates claim pending, unblocked tasks from the same task list the lead writes to.

Done when

  • In-process teammates resolve the task list the same way the lead does, both at spawn and in the idle loop.
  • A test covers a lead with a team creating tasks and an idle in-process teammate claiming one.
Lingua principale
TypeScript
Stelle
490
Fork
47
Merge medio
9h 38m
PR unite (30g)
75

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 GoDiao/dreamcoder

Tutte le issue di GoDiao/dreamcoder

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.