@godv61/dsh-task-engine 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # dsh-task-engine
2
2
 
3
- 一个**可安装、项目无关、硬约束**的工程化交付引擎,把「需求评审 → 设计 → 开发 → 交付 → 代码审核」这套流程做成 DeepSeek Harness 的一个 bundle。同事 `dsh plugin add` 装一下,再选一个预设,就能在自己项目里用——**不需要**在每个项目手写 `.agents` / `.claude` / `.harness`。
3
+ 一个**可安装、项目无关、硬约束**的工程化交付引擎,把「需求评审 → 设计 → 开发 → 交付 → 代码审核」这套流程做成 DeepSeek Harness 的一个 bundle。同事 `dsh plugin add` 装一下就能在自己项目里用——**不需要**每个项目手写 `.agents` / `.claude` / `.harness`,也**不需要**建预设(`eng-delivery` 技能带 `whenToUse`,模型遇到开发类请求会自己加载并走 `dev_task`)。
4
4
 
5
5
  核心是一个 `dev_task` 工具 + 内置技能。工具的硬约束在代码里执行,不是"提醒模型":
6
6
 
@@ -41,11 +41,17 @@ dsh plugin --profile <name> add github:<你的org>/dsh-task-engine
41
41
  dsh plugin --profile <name> add .
42
42
  ```
43
43
 
44
- ## 启用(opt-in)
44
+ ## 启用
45
45
 
46
- 1. 用 roster `copy('standard', 'eng', '工程化开发引擎')` 复制一个预设(或手动建目录)。
47
- 2. 把该预设的 persona 替换成 `preset/persona.md` 内容。
48
- 3. 新会话选该预设即可。`dev_task` 工具与 `eng-delivery` 技能由 bundle 提供。
46
+ 装完即用:`eng-delivery` 技能带 `whenToUse`,模型遇到开发、改 bug、加功能、评审、提交类请求会先加载它,再按技能铁律走 `dev_task`——不需要预设。
47
+
48
+ ### 可选:专用「工程化开发引擎」预设
49
+
50
+ 想要团队有个固定人设(新会话选它即进入工程化流程),才需要建预设:
51
+
52
+ 1. 复制 `standard` 预设为 `eng`(GUI 预设管理里的「复制」,或手动建 `~/.dsh/.agent-presets/eng/` 目录)。
53
+ 2. 把该预设的 persona 换成 `preset/persona.md` 内容。
54
+ 3. 新会话选「工程化开发引擎」。`dev_task` 工具与 `eng-delivery` 技能由 bundle 提供。
49
55
 
50
56
  ## 项目配置(让流程贴合你的项目)
51
57
 
@@ -60,6 +66,6 @@ dsh plugin --profile <name> add .
60
66
  ## 已知待办(Phase 0 边界)
61
67
 
62
68
  - 已用 monorepo TypeScript 工具链对真实 harness API 跑过 strict 编译(`exactOptionalPropertyTypes` + `noUncheckedIndexedAccess`)零错误,3 个此前标记的 API 校验点全部确认;并临时挂进 workspace 做了真实 `tsc` 构建 + 运行时冒烟——`dev_task` 工具与 `eng-delivery` 技能注册成功,非法流转/未过 guard/非法提交在运行时被硬拒绝。
63
- - 已实测:`npm install`(公网 `0.1.2-rc.1`)+ `npm run typecheck`/`build` 全过,构建产物在运行时注册 `dev_task`/`eng-delivery` 并硬拒绝非法流转/未过 guard/非法提交。剩下没亲自跑的是 `dsh plugin add` 装进 profile + 真实模型会话(要 `DEEPSEEK_API_KEY`)。
69
+ - 已实测:`npm install`(公网 `0.1.2-rc.1`)+ `npm run typecheck`/`build` 全过,构建产物在运行时注册 `dev_task`/`eng-delivery` 并硬拒绝非法流转/未过 guard/非法提交。已实测 `dsh plugin add` 装进独立实例 web profile、`--dump-config` 确认 `task-engine` 进了组合树、可选 `eng` 预设建进 `.agent-presets` 并被 roster 发现;剩真实模型会话(要 `DEEPSEEK_API_KEY`)没亲自跑。
64
70
  - 提交仍是"工具校验 + 模型执行 git";要彻底防止绕过 `git commit`,需项目加 pre-commit hook(机械门禁,下一步)。
65
71
  - 阶段产物(设计文档/评审字段)的硬 schema 校验属于你未选的"更重"档,Phase 0 不包含。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@godv61/dsh-task-engine",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Config-driven engineering delivery engine for DeepSeek Harness: a `dev_task` tool that hard-gates workflow stage transitions and commit scope/message, plus bundled skills and an opt-in preset.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: eng-delivery
3
3
  description: 使用 dev_task 工具编排工程化交付流程;按当前分支任务、配置的状态机与提交门禁推进需求评审、设计、开发、交付、代码审核。
4
+ whenToUse: 开始任何开发、改 bug、加功能、代码评审或提交任务前;dev_task 是工程化交付状态机的唯一闸门,阶段流转与提交必须经它,禁止绕过。
4
5
  ---
5
6
 
6
7
  # 工程化交付