DSH-Stall-Guard: A Watchdog Plugin for DSH Tasks

`dsh-stall-guard` is an MIT-licensed task watchdog plugin for DeepSeek Harness (DSH), designed to monitor long-running task status, distinguish between genuine silence and in-flight operations, and never terminate tasks throughout the process. The plugin requires Node >=20 and has zero npm dependencies. Its core functionality includes periodically scanning task status, exempting tasks with in-flight operations or continuous events; when true lack of progress is detected, it injects instructions through a stepwise "diagnose → repair → change direction" guided approach to help tasks recover, and writes related events to JSONL logs. The plugin offers two strategies: `auto` (automatic guidance) and `report` (recording only), supports hot-configuring parameters such as thresholds, intervals, and guidance messages via `settings.yaml`, and allows real-time status queries through the Loopback API. It is enabled by default after installation.

Read More