dsh-test-autofix: Test Auto-Fix Workflow for run_tests in DSH Agent
dsh-test-autofix (Raysnows, workflow type) registers `run_tests` for the DSH Agent: it automatically detects and executes test frameworks such as pytest, jest, vitest, cargo, go, and npm, then consolidates failures into structured JSON containing file paths, line numbers, and assertion details, thereby reducing verbose log output and token consumption. It supports Windows Chinese assertion encoding handling, loop termination upon repeated identical failure signatures, and configurable `repeatLimit` and `timeoutMs` in `cordis.patch.yml`. Installation requires specifying a profile via `dsh plugin --profile`; the recommended command is `add dsh-test-autofix`. The plugin executes tests under the current DSH process permissions. Please review the source code and MIT license before use.
Read MoreDSH Test AutoFix: A run_tests and Structured Failure Repair Loop for Agents
DSH Test AutoFix (dsh-test-autofix) provides the run_tests tool for the DeepSeek Harness agent: it automatically identifies frameworks such as pytest, jest, vitest, cargo, go, and npm, then executes tests, compresses failures into JSON containing file paths, line numbers, and assertion messages, supports handling Chinese assertion encoding on Windows, and provides loop protection to prevent repeated failures. This article describes its positioning, installation commands, typical usage and configuration, and explains its differences from dsh-test-runner, along with permission and security considerations when using it.
Read More