paradoxSCH/dsh-worktree

paradoxSCH★ 2TypeScript最后同步: 2026-08-15

在 GitHub 打开

Durable Git worktree isolation and delivery plugin for DeepSeek Harness

README 摘要

dsh-worktree 面向 DeepSeek Harness 的独立、可全局安装的 Git worktree 产品。每个 one-shot 或 continuable 子代理在受管理的 checkout 中工作;主工作区不会被并发任务直接修改。任务结束后可在同一套持久化状态上审阅、验证、提交、交付、归档或恢复。 本项目是独立发布仓库,不属于 Harness monorepo。DSH 上游只提供通用 child cwd seam;Git snapshot、锁、journal、恢复、交付策略、工具、命令和 Web dashboard 全部由本仓库维护。 产品能力 - fresh 、 head 、 working-state 三种 source mode; - staged、unstaged、untracked 状态无损重建;ignored 内容只按 .worktreeinclude /配置 allowlist 带入,敏感文件需要显式放行; - managed detached HEAD、ephemeral、permanent 三种 lifetime; - subagent worktree :foreground、background、continuable 共用的隔离子代理入口; - durable JSONL journal、跨进程锁、每仓库 topology lock、多 owner lease、启动 reconciliation; - 每个外部副作用前先写 plan,并覆盖 create、commit、branch、handoff、merge、push、PR、archive、restore、discard 的崩溃恢复; - review diff、验证命令、change token、Git identity 与路径复核; - worktree 模型工具、 /worktree 命令和 loopback-only Web dashboard; - dashboard 展示状态、owner、diff、doctor,并提供 commit/branch/handoff/merge/push/PR/archive/restore/discard; - GitHub CLI PR provider;没有 gh 或凭据时 branch、handoff、archive 等本地能力仍可用; - Windows、Linux、macOS CI,真实 Git 仓库与 bare remote 测试。 当前版本仍标记为 alpha,原因是所需 child cwd seam 尚未进入正式 DSH release,而不是因为插件只实现了 MVP。 DSH 兼容性 插件要求 provider-prepared child cwd 接口。对应实现提交是 0647d61abf ,分支为 f…

在 GitHub 查看完整 README →
Agent/智能体ai-agentsdeepseek-harnessdsh-plugingit-worktreeagent

分类