dsh-search-path-guard: Intercepting Invalid Search Paths Before ripgrep Launches
chocobo77's DSH workflow plugin `dsh-search-path-guard` intercepts grep/glob tool calls targeting non-existent paths during the `tools/pre-execute` stage and returns a one-line self-healing suggestion before ripgrep is launched, preventing localized stderr garbled output from polluting the model context. It also supports read/edit pre-checks, zero-result loop circuit-breaking for grep, and consecutive-rejection escalation guidance. To install, build the package and run `dsh plugin add` with the `.tgz` file under `release/`. Configuration options include `disabled`, `maxEditBytes`, and `zeroResultBlock`.
Read More