dsh-document-check
One agent tool, 31 document checks: the model verifies a document it produced against a genre's structural rules before delivering it, and gets findings with rule ids and line numbers instead of a document a person has to re-read. The 31 checks existed only as HTTP endpoints — a person had to remember to POST, and an agent had no reason to; a tool is the layer a model can see and decide to call, which is what makes "check it before you hand it over" something that can actually happen. One tool rather than 31, because twenty-seven definitions crowd the prompt and a model cannot tell adr_check from spec_doc_check in its first ten minutes: the genre choice stays in the document it just wrote. It carries no rules of its own, calls each check's exported linter directly, runs locally with no network, no model calls and no port, and answers in 59 ms for all 31 checks measured on 2026-11-23. At most 25 findings per call, with truncation stated, because a checker that dumps two hundred findings into the context gets switched off. Structural only: it says an ADR has a consequences section, never that the consequence is acceptable. The HTTP routes the sibling checks register have no DSH access check, so a web page open in your browser could call them.
Overview
One agent tool, 31 document checks: the model verifies a document it produced against a genre's structural rules before delivering it, and gets findings with rule ids and line numbers instead of a document a person has to re-read. The 31 checks existed only as HTTP endpoints — a person had to remember to POST, and an agent had no reason to; a tool is the layer a model can see and decide to call, which is what makes "check it before you hand it over" something that can actually happen. One tool rather than 31, because twenty-seven definitions crowd the prompt and a model cannot tell adr_check from spec_doc_check in its first ten minutes: the genre choice stays in the document it just wrote. It carries no rules of its own, calls each check's exported linter directly, runs locally with no network, no model calls and no port, and answers in 59 ms for all 31 checks measured on 2026-11-23. At most 25 findings per call, with truncation stated, because a checker that dumps two hundred findings into the context gets switched off. Structural only: it says an ADR has a consequences section, never that the consequence is acceptable. The HTTP routes the sibling checks register have no DSH access check, so a web page open in your browser could call them.
Version compatibility
Compatibility is unconfirmed. Check the project documentation for supported versions.
Installation notes
- May run terminal commands