ca610/dsh-culprit ↗★ 0

dsh-culprit

Regression culprit finder: bisect a failing predicate to the exact commit that broke it, with evidence. 适合需要快速排查代码库回归问题、寻找错误源头的开发者。

패키지
dsh-culprit
호환성
미검증
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 10. 10.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ca610/dsh-culprit

配置

写在 cordis.patch.yml 的 config 里:

- insert:
    - id: culprit
      name: dsh-culprit
      config:
        maxSteps: 24
        timeoutPerStep: 300000
配置项默认说明
workdir会话工作目录默认在哪儿找仓库
maxHistoryScan500最多往回扫多少条历史
maxSteps16二分最多探多少次(上限 40)
maxAutoProbes8自动寻好点最多探几次
skipLimit3连续跳过多少次就放弃
timeoutPerStep120000单次判据超时(毫秒)
totalBudgetMs600000单次调用总预算(毫秒)
stateDir%TEMP%/dsh-culprit续跑状态放哪儿
allowDirtyfalse允许在脏工作树上跑(不推荐,checkout 可能失败并记为跳过)
shell自动powershell / pwsh / cmd / bash / sh
firstParenttrue只看第一父历史
requireBadAtStarttrue先验证坏点确实坏
keepStatetrue是否落盘续跑状态