Review tools: let the caller name the GitHub CLI command in `validate-audit-record.py` and `github-review-threads`
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
Hướng nghiên cứu
Read .claude/skills/process-pr-review/scripts/validate-audit-record.py, contrib/dev-tools/github/github-review-threads/src/lib.rs, and the scripts under .claude/skills/resolve-review-threads/scripts/; compare their command handling with the wait-for-pr-review design from #2822. Decide and document one command-selection convention, update the calling skills, and add tests using a fake command without a PATH shim. Done when each scoped tool can use the caller-selected GitHub CLI command and its tests cover that behavior.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Parent EPIC: #2003 - Overhaul: Automation Tools and AI Agent Guardrails
Goal
Let the caller name the GitHub CLI command in the review tools that still hardcode gh, as #2822 did for wait-for-pr-review with --gh-command.
Problem
Checked on develop at 7bc30738a:
.claude/skills/process-pr-review/scripts/validate-audit-record.pyline 98 runssubprocess.run(["gh", "api", ...]).contrib/dev-tools/github/github-review-threads/src/lib.rsline 66 runsCommand::new("gh"), and the tool has no option to change it.- The scripts in
.claude/skills/resolve-review-threads/scripts/also callgh(not checked one by one).
A contributor who must run as a GitHub identity other than the default gh login has no supported way to do it with these tools. The only general way is a gh on PATH that runs the other identity's command, which is the stand-in that #2822 was opened to make unnecessary (it called itself without end and crashed a desktop session four times). Today the workaround is to set the token in the environment for that one command, or to patch the call at run time.
An agent that cannot choose the command can also act under the wrong identity without noticing.
Proposed scope
- A way to name the command in each tool (an option or an environment variable; decide one convention in the specification and reuse the #2822 design where it fits).
- The skills that call these tools say how to pass it.
- Tests that pass a fake command, with no
PATHshim.
Notes
- Not started. The order among the EPIC's sub-issues is decided when a slot is free. The specification and the EPIC table row are written when the work starts.
- Filed by the EPIC #2003 coordinator session (AI assistant, Claude Code) on 2026-11-19 at the maintainer's request, so the idea is not lost.
- Ngôn ngữ chính
- Rust
- Star
- 532
- Fork
- 56
- Merge trung bình
- 11 giờ 20 phút
- Pull request đã merge (30 ngày)
- 282
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 torrust/torrust-tracker
-
Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
torrust/torrust-tracker#3080 ·
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
torrust/torrust-tracker#3069 ·
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
torrust/torrust-tracker#3058 ·
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
torrust/torrust-tracker#2978 ·
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 73/100
torrust/torrust-tracker#2332 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của torrust/torrust-tracker
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày
-
marketing
Độ khó 2/5 1-3 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
-
Start here: how to contributeĐang mởdifficulty: easy docs help wanted tooling
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
-
bug help wanted ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
userFRM/egui-charts#4386 ·
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
eliasstravik/herdr-projects#1605 · 1 bình luận ·