JohnXu22786/worktree-mgr
Per-task isolated git worktrees with a full create/sync/finish lifecycle: task names auto-derive branches, merge targets are double-checked, and batch cleanup is built in — zero manual git operations.
Task-isolated workspaces for dsh: when the model processes multiple tasks in parallel, each task completes in its own git workspace (git worktree) on its own branch, without polluting the main workspace; when the task ends, the plugin commits, merges, and cleans up automatically. The full lifecycle — create / sync / overview / finish / batch cleanup — is covered by 5 tools + 1 CLI, with zero manual git operations. Branches derive automatically from task names (<prefix>/<task-slug>, default wtm/add-search-box) and can be specified explicitly.
Install
dsh plugin --profile demo add github:JohnXu22786/worktree-mgrGitHub install per README (English): dsh plugin --profile demo add github:JohnXu22786/worktree-mgr (README uses the demo profile; use your profile name, e.g. web). Local bundle: dsh plugin --profile demo add ./worktree-mgr — package.json declares dsh.bundle.patch → cordis.patch.yml so dsh inserts the plugin line automatically. Remove: dsh plugin --profile demo remove worktree-mgr.
Compatibility
DeepSeek Harness (dsh) on the Cordis plugin framework. Git 2.5+ (worktree support).
Details
- Repo: JohnXu22786/worktree-mgr
- Category: Tools & Capabilities
- Stars: 3
- Version: GitHub source (no npm package)
- Last push: 2026-08-23
- First seen: 2026-08-16
Recent updates
task-isolated git worktrees; 5 tools + 1 CLI; auto commit/merge/cleanup; zero manual git; branch auto-naming.
FAQ
- How are tasks isolated?
- Each task gets its own git worktree on its own branch; parallel tasks never pollute the main workspace.
- Do I need to touch git?
- No — create / sync / overview / finish / batch cleanup are covered by 5 tools + 1 CLI with zero manual git operations.
- How are branches named?
- Automatically from the task name: <prefix>/<task-slug>, default wtm/add-search-box (or explicitly specified).
Alternatives
LaoYueHanNi/dsh-git-worktree · FlashingChen/dsh-worktree · jiesou/dsh-stream-rules