Never-interrupt
StvLi/dsh-phoenix · skills
Never-interrupt, resumable lifecycle for DeepSeek Harness (dsh): graceful restart + client auto-reconnect + cross-restart goal continuation.
★ 4GitHub stars
0Forks
2026-09-05Last updated
JavaScriptLanguage
MITLicense
Key features
- Detects a plugin (re)activation through the dsh plugin tools (cordis_run) and does not restart immediately.
- Registers a /__dsh_health endpoint that returns a per-boot token.
- Goals are durable (session-log backed), but dsh disarms an active goal on every restart, so automatic continuation stops.
- Combine the three and you get a cross-restart autonomous evolution loop (reproducible steps in docs/VERIFY.md)
- Checks every live agent (including sub-agents): if any is running, it defers and re-checks every few seconds, restarting only when the agent goes idle (a 5-minute cap prevents a never-restart).
Requirements
- On those, either set DSH_PHOENIX_RESTART_CMD to a command that restarts your dsh process, or accept that only client auto-reconnect and goal re-arm are active.
- The plugin detects this at startup and logs graceful restart DISABLED so it never silently fails.
Install command
dsh plugin --profile web add github:StvLi/dsh-phoenix