Developer Toolsdsh-plugin
dsh-plugin-guard
dsh-plugin-guard is described as an install safety net for DeepSeek Harness. It takes pre-install snapshots, supports one-click or automatic rollback, provides guarded boot, and creates incident reports that prompt agent analysis. It includes agent tools, a CLI, and a Backup Manager settings panel.
Stars
24
Forks
2
Open issues
1
Last push
Aug 18, 2026
Latest release
v0.3.2
24h Growth
+0
7d Growth
+0
Installation
dsh plugin --profile web add github:lxzy-7/dsh-plugin-guardOverview
dsh-plugin-guard is described as an install safety net for DeepSeek Harness. It takes pre-install snapshots, supports one-click or automatic rollback, provides guarded boot, and creates incident reports that prompt agent analysis. It includes agent tools, a CLI, and a Backup Manager settings panel.
- Automatically snapshots 5 profile config files before plugin installs through the tools.guard hook.
- Boot-guard script snapshots before boot, starts dsh web, health-checks HTTP /, and rolls back on failure.
- Automatic rollback restores the last good snapshot and retries once when boot health checks fail.
- Incident reports record logs, server stderr, and config diffs, and set a pending marker for the next session.
- Agent tools include dsh_snapshot, dsh_rollback, and incident_resolved.
- CLI dsh-guard supports snapshot, list, rollback, keep, health, incident, resolve, and profiles.
- Web UI Backup Manager lists snapshots, loads backups, creates manual snapshots, and sets per-environment keep counts.
- Rollback writes a pre-rollback snapshot first; last good is the newest snapshot not tagged pre-boot or pre-rollback.