agent_send reply mishandles parallel and chain background lanes
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
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- backend-api-design
Direzione di ricerca
The issue is in the agent_send reply handling for parallel and chain background lanes. Look at the code that processes replies for background lanes, likely in the agent or session management modules. The fix needs to ensure replies continue the existing transcript and are delivered to all child sessions in a parallel lane. Start by examining the tests mentioned to understand the expected behavior and the current failure.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happened?
agent_send replies do not behave correctly for multi-task background lanes.
For a completed parallel or chain lane, reply restarts the lane with the original tasks/chain still present, so the new reply prompt is ignored by mode selection and the original work runs again. For a running parallel lane, reply only targets the base sessionId, so sibling child sessions such as sessionId-1 do not receive it.
This conflicts with the documented agent_send behavior that replies continue the lane's existing transcript. I reproduced both cases on clean main @ adcf37b in core subagent tests, without external extensions. I have a local fix and regression tests ready and would like to submit a PR.
Steps to reproduce
- Start a background parallel lane:
{ "tasks": [ { "agent": "general", "task": "A" }, { "agent": "general", "task": "B" } ], "run_in_background": true, "alias": "lane" } - Wait for it to complete.
- Send
agent_sendwithaction: "reply"and promptC. - The original A/B tasks run again; C is not delivered as the new turn.
- The same completed-lane behavior reproduces with
chain. - While a parallel lane is still running, a reply reaches the base child but not sibling
sessionId-Nchildren.
Expected behavior
A reply should continue the existing lane transcript with the new prompt, preserve the lane topology, and not silently rerun the original prompt. Running parallel replies should not be delivered to only part of the lane.
Version
main @ adcf37b / @step-harness/coding-agent 0.84.4
- Lingua principale
- TypeScript
- Stelle
- 1k
- Fork
- 71
- Merge medio
- 13h 14m
- PR unite (30g)
- 66
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di stepfun-ai/Step-Code
-
area/build bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
stepfun-ai/Step-Code#190 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
area/tools bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
stepfun-ai/Step-Code#184 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
stepfun-ai/Step-Code#179 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
install.sh fails when awk is not installedForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertauntriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
stepfun-ai/Step-Code#149 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Fix documentation typos and broken linksForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertauntriaged
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
stepfun-ai/Step-Code#144 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di stepfun-ai/Step-Code
Issue simili
-
ci-cd desktop size:low telemetry-improvement telemetry-round-1
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
vfarcic/dot-agent-deck#2079 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Broken links in the docsAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno
-
status:in-linear
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
n8n-io/n8n#43006 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
🔊 a11y
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
betagouv/mon-entreprise#4726 ·
I maintainer di solito rispondono entro 9 giorni