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

ドキュメント

README 全文を読む ↗

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