jkrandom-sudo/dsh-ci-doctor2

dsh-ci-doctor

DeepSeek Harness 的 CI 医生插件:监控 GitHub Actions 失败,诊断日志并生成结构化发现,驱动修复循环

AI 分析

核心用途是自动诊断 GitHub CI 失败原因。适合需要监控和修复 GitHub Actions 构建问题的开发者。前置条件是需要安装并认证 GitHub CLI。

包名
dsh-ci-doctor
版本
0.1.2
许可证
MIT
最近更新
2026年8月14日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:jkrandom-sudo/dsh-ci-doctor

Usage

Just ask your agent in plain language — it picks the right tool:

  • "Watch CI on this repo and tell me when something fails" → starts a ci_watch background job.
  • "Why did the nightly build fail?" → runs ci_diagnose on the latest failed run and hands you the diagnosis card.
  • "Diagnose run 31782742089 on cli/cli" → targeted diagnosis of one specific run.

You get a markdown diagnosis card straight in the chat:


## Configuration

| Option                | Default | Meaning                                   |
| --------------------- | ------- | ----------------------------------------- |
| `pollIntervalSeconds` | `30`    | Seconds between watch polls (min 5).      |
| `watchTimeoutMinutes` | `60`    | Wall-clock lifetime of one watch (min 1). |
| `maxLogLines`         | `200`   | Per-job log excerpt budget (min 20).      |
| `ghBin`               | `gh`    | GitHub CLI executable.                    |
| `ledgerEnabled`       | `true`  | Record signatures into the ledger.        |