dsh-research-first: Let DSH agents research first, then act.
**Introduction** A common pitfall when using coding agents to modify code is acting without investigation: failing to check current API signatures in documentation, reviewing existing implementations in the repository, or checking if the community has encountered similar issues, and resorting to trial and error after writing the code. One remedy is to hard-intercept before tool calls, forcing an investigation first. However, the investigation itself might be impossible—due to offline environments, network restrictions, or the inability to fetch documentation—causing the task to stall. *dsh-research-first* takes a different approach: it does not block by default. Instead, when an agent attempts to write, modify, or execute code without having investigated, it injects a model-visible reminder into the session and logs it. If investigation tools fail, it alerts the user, allowing them to decide whether to proceed. The following sections introduce the functionality, installation, and configuration of this plugin. **What is dsh-research-first**
Read More