kovey/dsh-engineering-suite--packages-dsh-orchestrator ↗★ 0

dsh-orchestrator

声明、探测并控制工程流水线阶段跳转 适合需要定义和自动化执行多阶段工程任务流水线的团队。

套件
dsh-orchestrator
相容性
待驗證
Harness 依賴範圍
^0.1.5-rc.2
Cordis 依賴範圍
^4.0.2
版本
0.1.0
最近更新
2026年9月20日

同名套件的其他儲存庫

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kovey/dsh-engineering-suite#4a618ac4376c4a075c99c92b69895163bb21b0ce&path:packages/dsh-orchestrator

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 布尔);校验失败则记日志并回退默认流水线,绝不弄坏宿主会话。