dsh-startup-guard: Repair session logs before DSH startup, pre-check plugin combinations, and isolate crash sources
dsh-startup-guard is a third-party startup guard plugin for DeepSeek Harness (DSH), maintained by aokamoaki and licensed under the MIT License. It aims to address startup delays caused by missing plugins, corrupted logs, or runtime errors, improving system stability through pre-startup checks and fallback mechanisms. Core features include repairing corrupted session.jsonl logs and backing up originals; generating a plugin manifest and source code snapshot to establish a rollback baseline; verifying and rolling back bundles that fail to parse; detecting combined configuration errors (such as ID duplication, YAML fatal errors) and supporting automatic disabling; verifying client artifacts within a VM sandbox; and executing host plugin apply() smoke tests in a subprocess environment to identify startup anomalies. The plugin uses...
Read More