Reduce the duplicate short-flag baseline allowlist to zero
@dsanh14 đang làm issue này rồi.
Từ ngày 12/10/2026.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 42/100
Hướng nghiên cứu
Start with SHORT_FLAG_CONFLICT_BASELINE and the invariant test in command-signatures/src/lib.rs, then inspect the 13 listed handwritten JSON files and each command's actual CLI semantics. Resolve conflicts incrementally, removing only the baseline entries each fix addresses. When no entries remain, remove the allowlist mechanism and make diagnostics unconditional failures.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Background
#400 added a hard "no new conflicts" gate for duplicate short flags directly authored on one handwritten command/subcommand node (completion-metadata/src/validation.rs, invariant test in command-signatures/src/lib.rs). Because fixing the 45 pre-existing offenders would require researching each command's intended CLI semantics, that PR intentionally left them in place behind a temporary, exact baseline allowlist rather than blocking the validator change on cleanup.
Task
Reduce the baseline allowlist (command-signatures/src/lib.rs, SHORT_FLAG_CONFLICT_BASELINE) to zero by fixing each of the 45 documented conflicts across 13 handwritten JSON files, then removing the corresponding baseline entry (and eventually the allowlist mechanism itself once it is empty):
brew.json: 2copilot.json: 27flutter.json: 2kubecolor.json: 1kubectl.json: 1oc.json: 1pscale.json: 2pulumi.json: 1rsync.json: 1sfdx.json: 1stripe.json: 4yarn.json: 1zapier.json: 1
Each fix requires understanding the command's actual CLI to decide which option should keep the short flag (or whether both should lose it), rather than a mechanical change. Fixes can land incrementally, file by file, each removing only the baseline entries it resolves.
Acceptance criteria
- Every entry in the baseline allowlist is removed because the underlying command spec no longer has that conflict (not because the allowlist mechanism itself is weakened).
- Once the baseline is empty, remove the allowlist mechanism entirely and make every diagnostic a direct, unconditional test failure.
- Ngôn ngữ chính
- Rust
- Star
- 6
- Fork
- 12
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 warpdotdev/command-signatures
-
enhancement good first issue repro:high triaged
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
warpdotdev/command-signatures#372 · 1 bình luận ·
-
SSH host completion drops hosts when ~/.ssh/config uses a Windows drive-letter `Include` pathCó thể đã có người làm @SkyNotSilent đã nhận 128 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
warpdotdev/command-signatures#282 · 1 bình luận ·
-
testing heyĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
warpdotdev/command-signatures#421 · 1 bình luận ·
-
Testing againĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
warpdotdev/command-signatures#420 · 1 bình luận ·
-
testĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 1/100
warpdotdev/command-signatures#419 ·
Tất cả issue của warpdotdev/command-signatures
Issue tương tự
-
bug dependencies kind:fix priority: P3 ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
shep-pm/shep#1318 · 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 76/100
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
swc-project/swc-next#1165 ·
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 73/100
Alive24/shea-symphony#574 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày