groove-utilities-task-doctor
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesegroove-utilities-task-doctor
groove-utilities-task-doctor
Outcome
执行结果
All task backend health checks pass. User knows if the task backend is correctly configured, installed, and reachable.
所有任务后端健康检查通过。用户可得知任务后端是否配置正确、安装成功且可访问。
Acceptance Criteria
验收标准
- Each check is reported with ✓ or ✗
- Each failure includes a specific remediation command
- Checks cover config, CLI installation, and reachability
- 每项检查结果用 ✓ 或 ✗ 标识
- 每项失败结果都附带具体的修复命令
- 检查覆盖配置、CLI安装、可访问性三个维度
Checks (run in order)
检查项(按顺序执行)
- exists at git root
.groove/index.md - key is present and has a valid value (
tasks:,beans,linear, orgithub)none - If — report no-op and exit (all green)
tasks: none - Backend CLI is installed:
- :
beansbeans --version - :
linearlinear --version - :
githubgh --version
- Backend-specific config file exists:
- :
beansat git root.beans.yml - : auth token configured
linear - :
githubgh auth status
- Backend is reachable (lightweight read operation):
- :
beans(or equivalent)beans list --json - : list one issue
linear - :
githubgh issue list --limit 1
- contains
AGENTS.mdsection (if<!-- groove:task:start -->)tasks: beans
- git根目录下存在
.groove/index.md - 存在 配置项且值合法(可选值为
tasks:、beans、linear或github)none - 若 — 提示无操作并退出(全部检查通过)
tasks: none - 后端CLI已安装:
- :
beansbeans --version - :
linearlinear --version - :
githubgh --version
- 后端专属配置文件存在:
- : git根目录下存在
beans.beans.yml - : 已配置身份认证令牌
linear - :
github校验通过gh auth status
- 后端可访问(执行轻量读操作校验):
- :
beans(或等效命令)beans list --json - : 成功列出1个issue
linear - :
github执行成功gh issue list --limit 1
- 若 ,则
tasks: beans中包含AGENTS.md标记段<!-- groove:task:start -->
Remediation hints
修复提示
| Failure | Remediation |
|---|---|
| |
| Backend not installed | |
| |
| Backend unreachable | Check auth / network, re-run |
| |
| 失败场景 | 修复方案 |
|---|---|
缺少 | |
| 后端未安装 | |
缺少 | |
| 后端不可访问 | 检查认证信息/网络,重新执行 |
缺少 | |
Constraints
约束条件
- Report all checks even if an early one fails — give the full picture
- Do not attempt to fix issues — report and suggest only
- If , show one green line: "tasks: none — task commands disabled" and exit
tasks: none
- 即使前期检查项失败,也要返回所有检查项的结果,提供完整的状态全景
- 不要尝试自动修复问题,仅上报问题并给出建议
- 若 ,仅展示一行通过提示:"tasks: none — 任务命令已禁用" 后退出
tasks: none