Raphaelutumn/dsh-change-budget ↗★ 1

@raphelutumn/dsh-change-budget

DeepSeek Harness guardrail that limits how many files an AI coding agent can edit per turn 适合需要为 AI 编码代理设置安全护栏、限制单次修改文件数和字节数的用户。

パッケージ
@raphelutumn/dsh-change-budget
互換性
未検証
Harness ピア範囲
^0.1.0-rc.5
Cordis ピア範囲
^4.0.1
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/20

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Raphaelutumn/dsh-change-budget

ドキュメント

README 全文を読む ↗

Configuration

FieldDefaultMeaning
maxFilesPerTurn12Maximum distinct normalized paths in one Agent turn
maxMutationsPerTurn24Maximum admitted structured mutation calls in one Agent turn
maxPayloadBytesPerTurn262144Maximum UTF-8 bytes submitted as new text in one Agent turn

Override the plugin row in the profile's cordis.patch.yml:

- id: change-budget
  config:
    maxFilesPerTurn: 20
    maxMutationsPerTurn: 40
    maxPayloadBytesPerTurn: 524288

Every value must be a positive integer. Invalid configuration fails plugin loading instead of silently weakening the guardrail.