dsh-task-worktree:在 DSH 里按任务隔离 Git worktree

dsh-task-worktree 是 epik7th 维护的 DSH 社区插件(fork Letter2025/dsh-task-worktree),面向 0.2.0-rc.1 及以上宿主线。每个任务在独立 git worktree 与 worktree/ 分支上开发,状态写入 per-repo manifest,会话标题 badge 标记绑定关系且不新增 sidebar workspace。模型可用 worktree_create、worktree_list、worktree_status;合并、提交、删除由 /worktree 人类命令完成。安装:dsh plugin --profile desktop add github:epik7th/dsh-task-worktree。需 Git 2.31+、Node 20+,MIT 许可。

Read More
dsh-task-worktree: Isolated git worktree checkouts for each task

# Introduction A common issue when letting agents work in a repository is that all changes end up in the same workspace: changes from the previous task haven't been committed yet while the next task has started, mixing uncommitted content together. If you try to use branch switching for isolation, you must first deal with the current state. Git's native worktree allows maintaining multiple checkouts of the same repository simultaneously, each with its own attached branch. `dsh-task-worktree` integrates this capability into the DeepSeek Harness (hereinafter referred to as DSH) session model: it provides one isolated checkout per task, keeps the main workspace static, and leaves handover and cleanup actions to be performed by humans. Below, we introduce its positioning, features, and usage. # What is this `dsh-task-worktree` is Letter202

Read More