session-flow: remove a delivered absence's away state so idle hook cost returns to the cheap path
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 18/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- performance, tooling
Hướng nghiên cứu
Start with the session-flow away hooks and the deliver and end paths that write the away/<session> state under the plugin data dir. Check whether the Python startup cost only appears once that directory exists. Done means a delivered absence leaves no away/<session> directory (or one within the stated retention), the report stays readable as long as that retention allows, tests cover the cleanup, and the idle hook timing is recorded. Linked PR #17396 is already open, so coordinate there first.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
session-flow's always-registered away hooks cost about 0.02 s per prompt and turn end when no away state exists (Python never starts). Once any away/ directory exists under the plugin data dir, the cost is about 0.09 s. A finished absence's state stays in place, so every later session pays the higher cost.
Done looks like
deliver(orend) removes a finished absence's state, or keeps it for a stated bounded retention.- After a delivered absence, no
away/<session>directory remains (or only within the retention bound). - Measured idle hook cost in a session with no active absence is back to about 0.02 s, with the measurement recorded in the PR.
- Tests cover the cleanup, and the report remains readable after delivery for as long as the retention says.
Refs: #17337
- Ngôn ngữ chính
- Shell
- Star
- 22
- Fork
- 2
- Merge trung bình
- 1 giờ 47 phút
- Pull request đã merge (30 ngày)
- 942
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
-
Own-agent checks: reject the Actions bot id in admit.mjs and test the source label in pr-verifyĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
melodic-software/claude-code-plugins#17374 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
docs(prompts): loop-lane template prose still says the merge partition reads work-class labelsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 71/100
melodic-software/claude-code-plugins#17364 · 4 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 66/100
melodic-software/claude-code-plugins#17039 · 7 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 78/100
melodic-software/claude-code-plugins#16931 · 3 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 67/100
melodic-software/claude-code-plugins#15498 · 3 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ự
-
Broken app label: nvivo15/nvivoĐang mởapplication-issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
Installomator/Installomator#3657 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
nekko-labs/nekko-agent#2998 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] 最新代码编译失败,原因是下载没有对应资源Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 60/100
kenzok8/openwrt-honk#35 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug severity:medium triage:confirmed triage:in-progress
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Cotal-AI/Cotal#7795 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày