← 返回列表
D

dsh-ci-doctor

v0.1.2 · 3 天前发布

CI doctor plugin for DeepSeek Harness: watch GitHub Actions failures, diagnose logs into structured findings, and drive the fix loop

deepseek-harnessdshdsh-plugincigithub-actionsdiagnostics

README

dsh-ci-doctor

English · npm · DeepSeek Harness

CI 失败了?诊断结果在你打开日志之前就已经就绪。 dsh-ci-doctor 监视 GitHub Actions 的新失败,把原始作业日志变成结构化发现 —— 归一化错误签名、失败分类、嫌疑文件、裁剪后的日志摘录 —— 并记住它见过的每一个签名,老问题复发时一眼认出。全部通过两个 agent 工具和你本机已登录的 gh CLI 完成。

使用方法

直接用自然语言向 agent 提问即可,它会自动选对工具:

  • _「帮我盯着这个仓库的 CI,挂了告诉我」_ → 启动 ci_watch 后台监视作业。

  • _「 nightly 构建为什么挂了?」_ → 对最近一次失败运行执行 ci_diagnose,直接给出诊断卡。

  • _「诊断一下 cli/cli 的 31782742089 这次运行」_ → 针对指定运行的定向诊断。
  • 诊断卡会以 markdown 形式直接出现在对话里:

    ``markdown

    CI diagnosis: cli/cli run #31782742089

    Conclusion: failure · run

    Job: Issue Triage (skills-driven)

    Failed steps: triage
    Signatures:

  • 版本兼容矩阵

    DSH 版本状态说明
    dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
    dsh@0.1.0 ✅ 兼容 标准 patch ✅
    dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
    dsh@0.3.0+ ❓ 未知 尚未发布

    💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

    元数据

    License
    MIT
    npm
    dsh-ci-doctor
    Repo
    Engines
    {"node":"^22.19.0 || >=24.0.0"}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"}}