FenrirCait/dsh-fail-guard ↗★ 0

dsh-fail-guard

Stop the agent when it keeps failing: after N consecutive failures on the same tool, push a four-part stop instruction so it reports instead of trying again.

包名
dsh-fail-guard
兼容性
待验证
Harness 依赖范围
>=0.2.1-0 <0.3.0-0
Cordis 依赖范围
^4.0.5
版本
0.2.0
许可证
MIT
最近更新
2026年10月31日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:FenrirCait/dsh-fail-guard

Configuration

Edit it in Plugins → dsh-fail-guard → details. Fields are marked .volatile(): saving takes effect immediately, no restart.

KeyDefaultMeaning
threshold2Consecutive failures before stopping
sameToolOnlytrueCount per tool; turn off to share one counter across all tools
stopTextbuilt inThe instruction pushed into the conversation
stopSummarybuilt inThe one-line summary shown in the panel
debugfalseWrite events, counts and trips to a log file
logFile`
/fail-guard.log`Where debug writes

Or set it directly in cordis.patch.yml:

- id: dsh-fail-guard
  config:
    threshold: 3