dsh-writing-discipline: A gate for writing that 'strips away defensive noise and locks the factual layer'
The DSH plugin `dsh-writing-discipline` (maintainer: oobitoooo, category: admin-security, version: v0.2.1, license: MIT) is a zero-network, zero-LLM writing discipline gate that relies purely on local regex and statistics. It targets five types of defensive writing—disclaimers, self-deprecation, preachy discouragement, meaningless hedging, and process narration—using five deterministic tools (`wd_scan`, `wd_rules`, `wd_rewrite`, `wd_conservation`, and `wd_stats`) to detect and clean up noise. It also employs a "conservation lock" to check for drifts in numbers, citations, paragraph negations, applicable boundary terms, and claim strength, ensuring the factual layer remains unchanged before and after rewriting. Additionally, it provides a standalone CLI (`wd-lint`), exit codes, a WARN budget, and integration methods for `pre-commit` and CI, enabling the gradual tightening of the budget for existing projects. It is suitable for DSH developers who need to standardize Chinese technical documentation within their pipelines; users should verify the source code and license before installation.
Read More