agent_send reply mishandles parallel and chain background lanes
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 45/100
- Type d'issue
- Bug
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- typescript
- Domaine
- backend-api-design
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- Langage dominant
- TypeScript
- Étoiles
- 1k
- Forks
- 68
- Merge moyen
- 13 h 14 min
- PR mergées (30 j)
- 66
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de stepfun-ai/Step-Code
-
area/build bug
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
stepfun-ai/Step-Code#190 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
area/tools bug
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
stepfun-ai/Step-Code#184 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
stepfun-ai/Step-Code#179 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
install.sh fails when awk is not installedPeut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. Ouverteuntriaged
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
stepfun-ai/Step-Code#149 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Fix documentation typos and broken linksPeut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. Ouverteuntriaged
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
stepfun-ai/Step-Code#144 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de stepfun-ai/Step-Code
Issues similaires
-
Remove unused dependenciesPeut-être pris @alastair-smith l’a pris aujourd’hui. Ouvertechore other
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
alastair-smith/card-games#384 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
code-yeongyu/senpi#5571 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
nexu-io/open-design#9262 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
friction
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
kentcdodds/kody#4753 ·
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulté 1/5 Moins d'une heure Accessibilité débutants 62/100
lingdojo/kana-dojo#33508 · 1 commentaire · 5 réactions ·
Les mainteneurs répondent en général sous 1 jour