cnwutianhao/dsh-safe-workflow

cnwutianhao★ 0TypeScript最后同步: 2026-08-16

在 GitHub 打开

Safety-first workflow plugin for DeepSeek Harness with task contracts, approval gates, checkpoints, verification evidence, and best-effort rollback. 为 DeepSeek Harness 提供任务契约、审批门禁、检查点和验证能力,让 Agent 工作流更安全。

README 摘要

dsh-safe-workflow English 简体中文 An independent DeepSeek Harness plugin for safer, evidence-backed coding workflows. It provides one model-facing tool, safe workflow , with these operations: - start : create a task contract; - status : inspect the active contract; - checkpoint : snapshot the selected workspace state; - restore : restore a checkpoint; - verify : run a verification command and record its output; - close : close the contract. It also installs two native policy listeners: - tools/pre-execute : checks path rules and asks for approval before mutating tools; - tools/execute : creates an automatic best-effort checkpoint before mutation. Install into a DSH source checkout Build this project first: Then, from the DSH checkout, install this directory into the Web profile: After installation, the plugin appears in the DSH plugin list and is enabled for the Web profile: The plugin writes state into the current session workspace under .dsh-safe-workflow/ : Example workflow Then ask the agent to use safe workflow verify after the implementation and safe workflow close only when the acceptance checks pass. When a mutating tool is about to run, the approval gate explains the requeste…

在 GitHub 查看完整 README →
Agent/智能体deepseekdeepseek-harnessdshdsh-plugindsh-pluginsagent

分类