dsh-block-placeholder-edits: Intercepting Placeholder Comments and Whole-File Shrinkage Writes
2026-10-22
DeepSeek Harness plugin
DeepSeek
DSH
dsh-block-placeholder-edits
model inference
Plugin Security
Maintained by acus9345, `dsh-block-placeholder-edits` is a DeepSeek Harness community plugin designed to detect placeholder comments (e.g., `// ... existing code ...`) and patterns involving drastic line count reductions following large-file rewrites before any write/edit operations are committed. It rejects hazardous writes and returns problematic lines along with repair suggestions. The plugin supports independent installation across web, headless, and ACP profiles, and allows configuration of `mode`, `shrinkRatio`, and `ignore` via the sidebar or `cordis.patch.yml`. Licensed under MIT, it is ideal for reducing the risk of silent code deletion during frequent agent-driven coding tasks.
Read More