fix(session-flow): settle in-flight work the handoff depends on before writing it
Maintainer thường phản hồi trong vòng 1 ngà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
- 38/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- markdown, shell
- Lĩnh vực
- developer-experience, tooling
Hướng nghiên cứu
Read plugins/session-flow/skills/handoff/SKILL.md (the Named subagents inventoried this turn checklist) and plugins/session-flow/reference/off-thread-work.md. The skill currently inventories running subagents and still writes the save-point; change that path so work the handoff depends on is waited on, folded in, or explicitly left in flight after the user chooses. Done when a handoff is written only after everything it describes is settled, without free-hand edits to the handoff file.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
/session-flow:handoff writes the save-point while subagents the session spawned are still running. When one of them returns after the save, its result lands in the old session, and the handoff file is already stale: its brief, environment, remaining actions and Next: headlines describe the work as still in flight. The user then has to ask for the handoff to be updated, and the update is a hand repair (Edit plus save_point.py validate) of a file the skill says must never be written free-hand.
Observed 2026-10-05: a session wrote a handoff while a naming-tournament subagent was running. The tournament finished seconds later, the user picked a name in the same session, and the handoff had to be patched in five places (brief, completion criteria, environment, open questions, Next:).
Proposed fix
Before new, the skill settles in-flight work instead of only inventorying it:
- For every subagent this session spawned that is still running, decide whether the handoff's content depends on its result (its output changes the brief, the next action, a decision or a criterion).
- Dependent and expected to finish: wait for it (the harness re-invokes the session on completion), fold its result in, then write the save-point.
- Independent of the handoff's content (for example a background dynamic workflow that writes its own durable output and that the next session only reads): hand off without waiting and record it in Environment to re-establish, as today.
- Stuck or long-running dependent work: say so and let the user choose between waiting, cancelling, or handing off with it recorded as in flight.
The rule in one line: hand off only once everything the handoff describes is settled.
Out of scope
The continuation router's choice between handoff, compaction and clear; prompt-only handoffs with no in-flight work.
Related
plugins/session-flow/skills/handoff/SKILL.md"Named subagents inventoried this turn" checklist item (inventories, does not wait)plugins/session-flow/reference/off-thread-work.md
🤖 Generated with Claude Code
- Ngôn ngữ chính
- Shell
- Star
- 22
- Fork
- 2
- Merge trung bình
- 7 giờ 57 phút
- Pull request đã merge (30 ngày)
- 938
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không 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 melodic-software/claude-code-plugins
-
priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
melodic-software/claude-code-plugins#8831 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority: medium status: confirmed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
melodic-software/claude-code-plugins#8801 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority: low status: confirmed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
melodic-software/claude-code-plugins#8799 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
fix(links): make the online link check green (23 errors since 2026-10-11)Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởpriority: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
melodic-software/claude-code-plugins#8730 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
melodic-software/claude-code-plugins#8709 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của melodic-software/claude-code-plugins
Issue tương tự
-
data only (no code) good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
kind/bug needs-triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
projectbluefin/common#1521 · 1 bình luận ·
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 74/100
-
GNU nano 9.3 released upstreamĐang mởupstream-release
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
pypa/advisory-database#401 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày