agent_send reply mishandles parallel and chain background lanes
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- backend-api-design
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- TypeScript
- Star
- 1k
- Fork
- 68
- Merge trung bình
- 13 giờ 14 phút
- Pull request đã merge (30 ngày)
- 66
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của stepfun-ai/Step-Code
-
area/build bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
stepfun-ai/Step-Code#190 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/tools bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
stepfun-ai/Step-Code#184 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
stepfun-ai/Step-Code#179 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
install.sh fails when awk is not installedCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởuntriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
stepfun-ai/Step-Code#149 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Fix documentation typos and broken linksCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởuntriaged
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
stepfun-ai/Step-Code#144 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của stepfun-ai/Step-Code
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
LucasSantana-Dev/Lucky#2951 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
danielmiessler/LifeOS#2567 ·
Maintainer thường phản hồi trong vòng 9 ngày
-
refactor(react-pi): classify base64 images with core's parseBase64Có thể đã có người làm @jimmyallinai đã nhận hôm nay. Đang mởmaintenance
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
assistant-ui/assistant-ui#10293 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
brijeshb42/monaco-vim#175 ·