dsh-block-placeholder-edits:拦截占位注释与整文件缩水写入

dsh-block-placeholder-edits 是 acus9345 维护的 DeepSeek Harness 社区插件,在每次 write/edit 落地前检测占位注释(如 // ... existing code ...)及大文件整写后行数骤减的模式,拒绝危险写入并返回问题行与修复建议。支持 web/headless/acp 各 profile 独立安装,可通过侧栏或 cordis.patch.yml 配置 mode、shrinkRatio、ignore 等。MIT 许可,适合智能体频繁改码时降低静默删代码风险。

阅读全文