LING71671

Teamwork Dsh — Development skill for Claude Code

Development community

Portable multi-agent orchestration runtime with DeepSeek Harness plugins, independent review and acceptance gates.

How to install Teamwork Dsh

This entry records only its repository, not the path inside it, so there is no exact command to give. Open LING71671/teamwork-dsh and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Teamwork Dsh does

Portable multi-agent orchestration runtime with DeepSeek Harness plugins, independent review and acceptance gates.

Alternatives in Development

  • IPolloWork — Enterprise-grade, local-first Agent Workbench for people and agent teams 4.9k ★
  • Petdex — A public gallery of animated pets for Codex, Claude Code, DeepSeek Harness, Hermes, OpenCode, Gemini CLI, and 4k ★
  • Oh My Agent — Portable multi-agent harness for .agents-based skills, workflows, and standards-aware agent teams across Antig 786 ★

README

Teamwork for DeepSeek Harness

A portable teamwork orchestration runtime, with DeepSeek Harness (DSH) as its first integration.

面向多种 Harness 的独立编排核心,优先接入 DSH。公开版本为 **0.2.0-dev.1 预发布版**;当前工作树是尚未发布的 **0.3.0-dev.1**,新增有限次数修复、暂停/恢复和候选验证队列恢复。不是完整产品。

本项目为独立实现,不是 DeepSeek 或 Google 的官方产品,也不包含其私有运行样本或内部提示词。

当前能力

  • Host 工具:teamwork_startteamwork_statusteamwork_control(取消;0.3 还支持暂停、恢复和显式需求修订)。
  • 0.3 的 teamwork_inspect 提供摘要校验后的产物分页读取、变更清单,以及针对当前项目的只读三方集成冲突预览。
  • 独立 Runtime:SQLite 状态、幂等命令、dispatch outbox、可补读的 SSE 事件。
  • 每个 Attempt 使用独立工作副本、DSH SDK 进程和作用域凭证;支持超时与取消。
  • 可选验证:候选内容摘要 → 全新只读评审 → 独立验收命令 → 确定性 Gate。
  • 0.3 的 start 支持结构化需求及文件/目录变更范围;评审逐项回答需求,Runtime 检查范围并拒绝越界候选。
  • revise 保存旧版本证据、冻结当前项目为新基线,撤销旧 Gate 并使已停止的派生工作过期;新版本重新实现、评审和验收。
  • 可选 budget.maxModelAttempts 是跨实现、评审、修复、恢复、需求修订和派生任务的总额度,不是逐步审批;预留额度内自动派发,耗尽后才暂停。它不是 Token 或金额限额。
  • 未授权自动集成时不改写原项目。verified 表示候选通过当前验收策略,不表示已集成。
  • 0.3 可显式启用 teamwork_integrate:先预览并授权,再串行写回、保留备份并验收最终合并树;支持取消与有条件的“保留当前文件”处理。
  • 创建时提供 autonomy: {"integration":"on-gate-pass"} 与明确 spec,即可一次授权后自动完成 Gate → 预检 → 串行写回 → 最终验收,不需要第二次集成批准。再提供 conflicts:"resolve" 和共享总预算,可自动创建冲突修复子任务并重新评审、验收和写回。
  • teamwork_status / teamwork_controlscope: "workflow" 在根任务上汇总和控制整条派生链。使用聚合版本一次暂停、恢复或取消所有相关任务及集成派发;无需逐个操作子任务。这是可选人工控制,不是自主执行中的审批步骤。
  • 冲突可通过 teamwork_integrateresolve 创建新工作项:以当前项目为基线,只读查看三方输入,重新实现、独立评审并验收;有已接受的自动写回策略时通过后自动集成,否则仍用显式集成命令。

0.3 工作树还支持操作者配置的 1–5 轮有限修复和逐轮证据保留;默认只执行一轮。暂停提供 drain / interrupt;恢复使用新会话而非重新连接旧进程。集成默认关闭,必须配置 `integration.enabled: true` 并通过创建时策略或显式命令授权,示例见 `examples/runtime.integration.example.json`。尚未实现:完整 RunSpec、未知进程强证据对账、批量产物导出、slash commands、OpenCode/Pi 适配。完整开发方向见 [ROADMAP](ROADMAP.md)。后续适配顺序为 DSH → OpenCode → Pi。

从源码使用

要求 Node.js >=22.13,当前测试基线为 Windows / Node.js 22.22.1。

git clone https://github.com/LING71671/teamwork-dsh.git
cd teamwork-dsh
git checkout v0.2.0-dev.1
npm ci --registry=https://registry.npmjs.org
npm test

`v0.2.0-dev.1` 有 35 项测试,当前 0.3 工作树有 207 项。`npm test` 会构建源码并执行测试,包括真实