Palaiologos1453/dsh-worktree-studio ↗★ 0
dsh-worktree-studio
Session-linked Git worktree task board and guarded delivery workflow for DeepSeek Harness
AI 분석
核心用途是为 DSH 任务自动创建和管理隔离的 Git worktree。适合需要让 Agent 在独立的分支/目录中安全编写代码、避免污染主工作区,并提供规范交付工作流的专业开发者。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Palaiologos1453/dsh-worktree-studioConfiguration
The bundle inserts Host and command entries with schema defaults. Override the dsh-worktree-studio row in the Web profile's final cordis.patch.yml when a deployment needs different paths or limits.
| Field | Default | Meaning |
|---|---|---|
managedRoot | $DSH_HOME/plugins/dsh-worktree-studio/worktrees | Parent directory for plugin-created worktrees. |
statePath | $DSH_HOME/plugins/dsh-worktree-studio/tasks.json | Atomic JSON task state; it must stay outside managedRoot. |
gitTimeoutMs | 60000 | Deadline for one Git operation. |
terminationGraceMs | 3000 | TERM-to-KILL grace for managed process trees. |
validationTimeoutMs | 600000 | Deadline for one validation command. |
maxOutputBytes | 1048576 | Per-stream output retained for Git diagnostics and validation. |
reviewMaxBytes | 524288 | Maximum diff and untracked-path output retained for review. |
requireValidation | true | Require a passing result bound to the current content token before delivery. |
Relative paths are resolved when the Host loads. Empty paths, non-positive limits, and a state file inside the managed worktree root fail during plugin activation.