dsh-auto-goal-resume
Run the following command in DeepSeek Harness:
dsh plugin install tmeeli/dsh-auto-goal-resume
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install tmeeli/dsh-auto-goal-resume in the DeepSeek Harness terminal to install this plugin; source code is available at https://github.com/tmeeli/dsh-auto-goal-resume .
About this plugin
DSH's goal system intentionally does not persist execution authorization across restarts. As a result, any in-progress multi-phase task is disarmed the moment the process restarts, and the goal-round-driver sits idle until a human explicitly says "continue." dsh-auto-goal-resume removes that manual step: after DSH starts, the plugin scans all sessions, identifies active goals that have been disarmed, cold-restores the matching agent (resolving presets from the session log to keep toolsets and personas consistent), and re-arms the goal so the driver seamlessly picks up remaining rounds.
The plugin is idempotent and fault-tolerant by design: already-armed sessions or goals whose phase has changed are skipped; a cold-restore failure in one session does not affect others; and if DSH services are not yet ready it retries automatically (up to 15 times, 60-second intervals). All of DSH's original guardrails are preserved—it only restores active goals, respects paused / blocked / complete states, and the round cap defined on each goal prevents unbounded execution. The logic is self-contained with zero external dependencies and changes no official DSH semantics; it simply performs the one resume call a human would otherwise have to make.
If you rely on DSH's goal tool for long-running, multi-round tasks (batch generation, step-by-step debugging, cross-API orchestration, etc.) and are comfortable with the policy of auto-resuming after a restart, this plugin saves you the manual trigger while leaving your pauses and round caps fully intact.
Use Cases
- After a DSH process restart or upgrade, multi-phase goal tasks automatically resume remaining rounds without manual intervention.
- When running multiple goal sessions in batch, a single restart triggers recovery of all active goals at once, eliminating per-session manual triggers.
- Running DSH as a long-lived service with zero-touch task recovery—goal-round-driver picks up automatically after any restart.
Best For
- Advanced DSH users who frequently run multi-round, multi-phase tasks via the goal tool.
- Teams deploying DSH as a production service that requires seamless post-restart task continuation with minimal human input.
- Automation-workflow users who want reduced manual intervention while retaining safety guardrails like round caps and pause states.
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.