hy-sde/dsh-orchestration-policy--packages-orchestration-policy ↗★ 0
@hy-sde-org/dsh-orchestration-policy
Parallelize-by-default orchestration policy: config-driven fan-out rules, fail-closed task-isolation guard, review-gate posture resolution, and the `orchestration:policy` system-prompt section (firstmate dispatch-profile shape) — a standalone plugin for DeepSeek Harness. 提供配置驱动的并行分发与隔离保护。适合需要高并发子智能体协作的场景。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗Configuration knobs (all optional)
| Key | Default | Meaning |
|---|---|---|
enabled | false | Master switch: guard and prompt text are inert until true. |
defaultMode | parallel | Posture for decomposable work: parallel (default) or serial. |
maxFanOut | 3 | Ceiling on one fan-out wave; beyond it the remainder is a follow-up wave. |
isolation | required | required = fail-closed isolation; suggested = prompt-only. |
enforceWorkspace | true | Whether the seam guard enforces isolation when isolation: required. |
serializeReasons | all four | Accepted reasons to serialize: same-file-edit, semantic-dependency, shared-mutable-state, incompatible-concurrency. |
announcePlan | true | Show the captain one plan summary before a wave is dispatched. |
reviewGate.enabled | active | The gate is active whenever the policy is enabled; false exits it. |
reviewGate.default | review-gated | Standing posture for repositories without an explicit entry. |
reviewGate.posture | {} | Explicit standing posture per repository-root prefix (* = global; longest matching prefix wins). Host-owned config — never repo files. |
reviewGate.requireVerdict | ship | The only verdict that releases a push today. |
reviewGate.onUnavailable | block | No current ship verdict: block (fail-closed refusal) or warn (loud degrade). A reject verdict always blocks in both modes. |
scoutPolicy.knowledgeOnly | the five labels | Intent labels whose output is scout, not PR-shaped (prompt-rendered guidance). |
reporting.mode | outcomes | Captain-facing prose follows the outcome contract; verbose = today's behavior (debugging). |
reporting.includePerTask | summary | Per-task detail in the one-block wave summary: summary (one line per task) or detail (blocks). |
reporting.forbiddenTerms | the seven terms | Mechanics vocabulary to translate or omit in captain-facing text (default: subagent, workspace, lease, worktree, pool, continuation, provider). |
Precedence is fixed (firstmate precedence): explicit captain instruction in the moment > configured rule > configured default > built-in default. Malformed configuration fails at LOAD with an actionable message — never silently ignored or selected around.