acus9345/dsh-block-placeholder-edits
Refuses write and edit calls that stand in for real code with a placeholder comment, or that replace most of a large file, before the damage lands.
Models sometimes write // ... existing code ... where they did not want to retype forty lines, and the edit tool takes that literally — the file now holds a comment where working code used to be, and the build may still pass. This plugin checks every write and edit before it lands: a placeholder comment standing in for code, or a whole-file write that discards most of a large file, is refused and the file is left untouched. The model is told exactly which line was the problem, so the retry has a target.
Install
dsh plugin --profile web add dsh-block-placeholder-editsThe install line from the README, which calls the web profile the browser UI and says to use headless or acp for other profiles; each profile has its own plugin list. npm package dsh-block-placeholder-edits, latest 0.2.3, registry repository resolves to this repo.
Compatibility
Turns on as soon as it is installed and removes with dsh plugin --profile web remove dsh-block-placeholder-edits. Covers every profile it is added to, since profile plugin lists are separate; the README's local tarball route is for development.
Details
- Repo: acus9345/dsh-block-placeholder-edits
- Category: Coding & Development
- Stars: 2
- Version: 0.2.3 (npm); MIT
Alternatives
acus9345/dsh-protect-generated-files · Easy19613/dsh-opencode-go-quota · Hu9956/dsh-codex-provider