dsh-drill
提供带证据门禁的Bug修复演练与审计工具 适合进行代码Bug修复演练、自动化审计与PR生成的开发者。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:EnRaiha/dsh-drill-kit说明文档
阅读完整 README ↗Configuration
Every key has a schema default; override by re-stating the row's whole config in your profile patch.
| Key | Default | Meaning |
|---|---|---|
stateRoot | .drill | Per-task state directory, relative to the session workspace. |
reminder | true | Register the turn-stopping gate reminder. |
provider | spawn | Subagent provider used by drill_review (spawn = fresh context; fork inherits the parent prefix). A role file's provider/model win when both are present. |
model | '' | Optional reviewer model override. |
defaultRole | drill-auditor | Role id drill_review audits with. |
maxReviewToolCalls | 40 | Fallback budget when the role sets none; 0 disables the cap. A role's own maxToolCalls always wins, including 0 — v0.8.1 fixed a case where a role saying 0 was silently overridden by this fallback. Exceeding the budget aborts the child and records FAIL. |
runTimeoutMs | 900000 | Default timeout for drill_run. |
errorMaxResolve | 12 | Cap on frames drill_error resolves against the graph. |
prLint | true | Score the rendered PR body with the PR-craft core before recording it. |
prCore | ~/scripts/pr_craft.py | Path to the shared PR-craft core (Kilo and Hermes use the same file). |
pythonBin | python3 | Interpreter used to call the PR-craft core. |
c2gEnabled | true | Enable the code2graph-backed stage 1–2 tools. |
c2gCacheDir | ~/.cache/code2graph/projects | c2g cache root. |
sqliteBin | sqlite3 | sqlite3 executable used for read-only queries. |
c2gDepth | 3 | Default transitive-caller depth for drill_blast. |
rippleDepth | 2 | Default reverse-edge depth for drill_diff dependents. |
searchEngine | auto | auto picks tgrep when an index covers the root (out-of-tree cache first, then /.tgrep), otherwise rg; force with rg or tgrep. |
tgrepIndexDir | /tgrep | Where out-of-tree tgrep indexes live (one directory per root). |
cacheDir | ~/.cache/dsh-drill | Cache root for derived data. Never /tmp. |
cacheTtlDays | 7 | Idle time before a cache entry is removed; 0 disables expiry. |
embedEnabled | true | Use the merged c2g store as the second resolution layer. |
embedStore | ~/Embed/c2g/graph_index.sqlite | Path to the merged c2g graph store. |
embedRepoMap | '' | Override shard labels, e.g. nd_src=nodedb/src,nd_sql=nodedb-sql. |
autoIndex | false | When true, a missing index is built on the first search instead of falling back to rg. Off by default so a search never writes unexpectedly. |
rgBin | rg | ripgrep binary name or absolute path. |
tgrepBin | tgrep | tgrep binary name or absolute path; ~/.local/bin and ~/.cargo/bin are searched after PATH. |
searchMaxHits | 200 | Cap on returned hits; the result reports when it truncated. |