Review tools: let the caller name the GitHub CLI command in `validate-audit-record.py` and `github-review-threads`
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Rust
- 星标
- 532
- 派生
- 56
- 平均合并
- 11 小时 20 分钟
- 30 天内合并 PR
- 282
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
torrust/torrust-tracker 的其他 Issue
-
Bug
难度 2/5 1-3 小时 新手友好度 78/100
torrust/torrust-tracker#3080 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
torrust/torrust-tracker#3069 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
torrust/torrust-tracker#3058 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
torrust/torrust-tracker#2978 ·
维护者通常 1 天内回复
-
Bug
难度 2/5 1-3 小时 新手友好度 73/100
torrust/torrust-tracker#2332 ·
维护者通常 1 天内回复
查看 torrust/torrust-tracker 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
marketing
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
difficulty: easy docs help wanted tooling
难度 2/5 1-3 小时 新手友好度 83/100
-
bug help wanted ui
难度 2/5 1-3 小时 新手友好度 85/100
userFRM/egui-charts#4386 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
eliasstravik/herdr-projects#1605 · 1 条评论 ·