dsh-trajectory-governor: Providing Closed-Loop Agent Trajectory Control for DeepSeek Harness

dsh-trajectory-governor is a DSH workflow plugin maintained by chunsi-w. It manages Task Episodes, validates debts, and enforces benchmark gates and completion gates on real event streams, rather than relying solely on prompt-based agent constraints. It supports Native and Code Mode tool observation, shadow/active modes, and local decision ledgers. This paper introduces its closed-loop mechanism, installation command (npm package @chunsi-m/dsh-trajectory-governor@0.2.0), cordis.patch.yml configuration items, and recommended deployment sequence. It is suitable for long-chain Agent scenarios that require "verification after any change" and "complete benchmarking for performance modifications."

Read More