zcx369658780/governed-workflow-for-dsh ↗★ 1
dsh-governed-workflow
DSH 策略约束、证据优先的受控工作流插件,提供 V0 阶段的插件包骨架,用于规范 Agent 的开发与评审流程。
AI 分析
核心用途是探索和规范受控的 Agent 协作流程。目前为 V0 基础骨架,适合对 Agent 行为合规性、工作流治理感兴趣的开发者。
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zcx369658780/governed-workflow-for-dsh说明文档
阅读完整 README ↗governed-workflow-for-dsh
Independent community plugin for DeepSeek Harness. Not affiliated with or endorsed by DeepSeek.
Policy-enforced, evidence-first governed workflows for DeepSeek Harness agents.
dsh-governed-workflow migrates a GPT-issued, builder-executed development
workflow onto DeepSeek Harness
("dsh"): an authoritative GitHub task is issued, an agent builder implements it
on a dedicated branch, and a reviewer accepts independently. The long-term goal
is a runtime plugin that makes the workflow's invariants non-bypassable, paired
with a governed-builder Skill for instruction-level guidance.
Status
V0.1 governance core. The V0 bootstrap skeleton (installable/loadable
bundle) is accepted. This stage adds the first real runtime primitive: a pure,
fail-closed builder-side lifecycle state machine and a typed governance
Cordis service (ctx.governance). It does not yet enforce shell/Git/path
behavior, and it is not yet governance-enforcing. See
docs/architecture.md for the design map.
Install
# from npm (when published)
dsh plugin --profile demo add dsh-governed-workflow
# from this git checkout (TypeScript sources build via the prepare script;
# pnpm >=10 requires an allowBuilds entry the first time)
dsh plugin --profile demo add github:zcx369658780/governed-workflow-for-dsh
dsh --profile demo --dump-config # confirm the governed-workflow layer
dsh --profile demo # observe "[governed-workflow] governance service loaded"
Development
pnpm install
pnpm build # transpile src/ -> lib/
pnpm typecheck # tsc --noEmit
pnpm test # vitest run
Documentation
- Architecture and module boundaries
- DSH compatibility
- Contributing
- Security
- AI assistance
- Trademark notice