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.

Tools & Capabilities ★ 3 updated 2026-08-23
View on GitHub ↗

Install

dsh plugin --profile demo add github:JohnXu22786/worktree-mgr

GitHub 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

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

More plugins in Tools & Capabilities

Browse more in Tools & Capabilities

Guides for Tools & Capabilities plugins