Raphaelutumn/dsh-change-budget

Raphaelutumn★ 0TypeScript最后同步: 2026-08-17

在 GitHub 打开

DeepSeek Harness file-safety guardrail that limits AI coding-agent file edits per turn and prevents too many file changes, with call and UTF-8 byte budgets. 限制 DSH Agent 每轮修改文件数量。

README 摘要

dsh-change-budget Stop runaway file edits before they reach the tool body. 中文 dsh-change-budget gives every DeepSeek Harness Agent turn a configurable budget for structured file mutations. It counts distinct files, mutation calls, and submitted UTF-8 bytes before supported tools run—then rejects the first call that would cross a limit. Machine-readable project facts: llms.txt [!IMPORTANT] This is an independent community plugin. It is not an official DeepSeek project. Why change budgets? Coding Agents are good at moving quickly. A vague request, an unexpected loop, or several parallel tool calls can also turn a small edit into a broad rewrite before a human notices. dsh-change-budget adds a deterministic boundary at the tool pipeline. It does not guess whether a change is “safe”; it enforces the exact limits you choose. Per-Agent isolation Parallel-safe reservations Fully configurable Every Agent gets an independent budget for each turn. Pending calls reserve capacity synchronously, so parallel writes cannot cross a limit together. Set positive-integer limits for files, calls, and payload bytes. Use cases - Keep a small request small. A vague instruction can make an AI coding agent…

在 GitHub 查看完整 README →
Agent/智能体agent-safetyai-agentcircuit-breakercoding-agentdeepseekdeepseek-harnessdeveloper-toolsdsh-plugin

分类