refactor(improvement): share find's filing rules with the architecture-scan lane
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
- 58/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, shell
Hướng nghiên cứu
Start with plugins/improvement/README.md, plugins/improvement/reference/config.md, and .github/scripts/maintenance-scan-architecture/file-findings.mjs to locate the duplicated filing rules and each path's filing step. Then identify the existing test setup and add coverage feeding the same sample items through both paths. Done means both paths make the same decisions for the per-label cap, duplicate check, and label creation.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Context
The daily architecture-scan lane (#18862, PR #19361) runs /improvement:find in its model job but files the returned items with .github/scripts/maintenance-scan-architecture/file-findings.mjs, so the model never holds an issue-writing token. That script carries its own copy of three filing rules /improvement:find also states: the per-label cap (find_open_item_cap), the duplicate check, and never creating a label. The owner accepted the split and asked for the shared rules as a follow-up (2026-11-27T03:47Z, "go w/ recommendations" on Q5). Two copies can drift: a change to find's duplicate rule would not reach the lane.
Proposed work
- Put the three rules in one module that both
/improvement:find's filing step andfile-findings.mjscall, or havefile-findings.mjscall find's existing helper if one exists. - Add a test that fails when the two paths disagree on a sample input.
Acceptance criteria
- The per-label cap, duplicate check and never-create-a-label rule have one implementation, called by both
/improvement:findandfile-findings.mjs. - A test feeds the same items to both paths and asserts the same filing decisions.
References
- #18862, PR #19361.
plugins/improvement/README.md(find's filing rules),plugins/improvement/reference/config.md(find_open_item_cap).
- Ngôn ngữ chính
- Shell
- Star
- 22
- Fork
- 2
- Merge trung bình
- 2 giờ 1 phút
- Pull request đã merge (30 ngày)
- 972
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
-
session-owned
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
melodic-software/claude-code-plugins#19371 ·
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
melodic-software/claude-code-plugins#19225 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
melodic-software/claude-code-plugins#17779 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
melodic-software/claude-code-plugins#19380 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
melodic-software/claude-code-plugins#19379 ·
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ự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
The-AIOS/aios#405 · 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 72/100
dracut-ng/dracut#2843 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
severity: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
luainkernel/lunatik#2752 ·
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 65/100
DaoCloud/public-image-mirror#46361 · 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 68/100
jdx/jactionlint#360 ·
Maintainer thường phản hồi trong vòng 1 ngày