kovey/dsh-engineering-suite--packages-dsh-orchestrator ↗★ 0
dsh-orchestrator
Pipeline orchestrator for DeepSeek Harness: declare which plugin each engineering stage needs, probe that it is mounted, gate the transitions deterministically and roll back (with circuit breaking) instead of silently skipping. 适合需要定义和自动化执行多阶段工程任务流水线的团队。
Other repositories with this package name
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kovey/dsh-engineering-suite#4a618ac4376c4a075c99c92b69895163bb21b0ce&path:packages/dsh-orchestratorREADME
Read the full README ↗6. 配置
- id: orchestrator
name: 'dsh-orchestrator'
config:
enabled: true
logFile: '~/.dsh/orchestrator.log'
layout: { rootDir: '.dsh', missionsDir: '.dsh/missions', specsDir: '.dsh/specs' }
defaultMaxAttempts: 3
# 省略 stages = 默认流水线;提供则整体替换。gate 取 none|spec-approved|test-design|
# quality-pass|receipt,next/onFail 必须指向已知阶段,maxAttempts ≥ 1;
# role 是非空字符串(是否存在由 dsh-role-guard 判定),autoAdvance 是布尔值。
stages:
- { id: spec-clarify, prompt: 澄清需求,产出规格草稿, requiredPlugins: [dsh-spec-gate],
gate: none, maxAttempts: 3, next: test-design-review }
probes: { dsh-quality-gate: { tool: quality_gate_run } }
turnStop: { maxAutoAdvancesPerTurn: 2 } # autoAdvance 阶段的每 turn 自动推进上限
prompt: { enabled: true, order: 660 } # systemPrompt section: eng:orchestrator
stages 严格校验(id 唯一、next/onFail 指向已知阶段、maxAttempts ≥1、gate 类型已知、
role 非空字符串、autoAdvance 布尔);校验失败则记日志并回退默认流水线,绝不弄坏宿主会话。