dev-flow-deepseek 0.6.0-beta.1 → 0.7.0

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
@@ -11,14 +11,14 @@ macOS arm64 Core executable。
11
11
 
12
12
  | 项目 | 当前支持 |
13
13
  | --- | --- |
14
- | Package | `dev-flow-deepseek@0.5.2` |
15
- | Bundled Core | `0.5.1` |
14
+ | Package | `dev-flow-deepseek@0.7.0` |
15
+ | Bundled Core | `0.6.0` |
16
16
  | Platform | macOS arm64 |
17
17
  | Node.js | `>=24` |
18
18
  | DSH | `>=0.1.0-rc.6` |
19
- | Release | [deepseek-v0.5.2](https://github.com/Innocent-children/dev-flow/releases/tag/deepseek-v0.5.2) |
19
+ | Release | [deepseek-v0.7.0](https://github.com/Innocent-children/dev-flow/releases/tag/deepseek-v0.7.0) |
20
20
 
21
- `0.5.2` 的 normal release 已通过 registry package 安装、显式触发、Core handshake、
21
+ `0.7.0` 的 normal release 已通过 registry package 安装、显式触发、Core handshake、
22
22
  restart/resume、`DONE`、remove、uninstall、retained reopen 和 repository-unchanged 门禁。上表
23
23
  记录已验证的精确公开版本;下面的安装命令使用 npm `latest` dist-tag 获取当前最新稳定 package。
24
24
 
@@ -89,6 +89,36 @@ Task 可选择 `plain`、`spec-kit` 或 `openspec` profile。Core 管理 current
89
89
  destination、Recovery、blocker 和 terminal outcome;Adapter 负责执行当前节点工作、呈现完整 Action
90
90
  并转发 closed payload。
91
91
 
92
+ ## 两仓声明、Workspace Root 与可选索引
93
+
94
+ 启动 DSH 时的 canonical `Workspace Root` 是完整权限边界,可以是两个 Git 仓库的非 Git 共同父
95
+ 目录。主仓库、附加仓库和 symlink 解析结果都必须位于该 Root 内。以 `/workspace` 为 Root、
96
+ `/workspace/core` 和 `/workspace/docs` 为两个仓库时,可以发送:
97
+
98
+ ```text
99
+ /dev-flow Use /workspace/core as primary repository key core and add repository key docs at /workspace/docs. Update core::internal/api.go and docs::reference/api.md, then run only the targeted checks.
100
+ ```
101
+
102
+ 路径必须替换为真实绝对路径。Scope 总数为一至八,创建后不可变;Adapter 在 task-bearing open 前
103
+ 拒绝 Root 外路径和 symlink escape。系统不扫描父目录、相邻目录、依赖或索引结果来发现仓库。
104
+ 单仓库请求不需要 key,继续使用普通相对路径;从任一参与仓库恢复仍返回同一 Task。
105
+ DeepSeek 与 Codex 共用同一 Repository Scope、scoped path、Action 和唯一
106
+ `repository_binding_digest` Core 合同;Host 权限检查不创建第二套流程状态。
107
+
108
+ 可选代码索引偏好来自只读配置:
109
+
110
+ ```json
111
+ {
112
+ "codex": { "codebase_memory": false },
113
+ "deepseek": { "codebase_memory": true }
114
+ }
115
+ ```
116
+
117
+ 文件路径固定为 `$HOME/.dev-flow/config.json`。文件不存在时偏好为 false,Dev Flow 不创建或修改
118
+ 它。true 只允许使用当前 DSH 会话中已经可见且可用的 codebase-memory;缺失、不完整或中途不可用
119
+ 时,DeepSeek 每个 Dev Flow 会话最多提示一次并立即回退到内置检索,不阻塞 Task,也不安装、配置
120
+ 或启动索引能力。索引覆盖不能放宽 Workspace Root,也不能决定 Scope、权限、Recovery 或流程流转。
121
+
92
122
  ## MCP 工具
93
123
 
94
124
  DeepSeek Adapter 暴露与 Codex 相同的六工具 Core catalog;在 DSH 中会使用限定后的 tool name,
@@ -96,11 +126,11 @@ DeepSeek Adapter 暴露与 Codex 相同的六工具 Core catalog;在 DSH 中
96
126
 
97
127
  | MCP 工具 | 作用 |
98
128
  | --- | --- |
99
- | `dev_flow_server_info` | 读取 Core identity、能力、process、method profile 和工具目录;有效 admission 后必须首先调用。 |
100
- | `dev_flow_open_task` | 为当前 canonical repository 创建新 Task,或恢复其现有 Task。 |
129
+ | `dev_flow_server_info` | 读取 Core identity、能力、process、method profile、工具目录和 DeepSeek 有效索引偏好;有效 admission 后必须首先调用。 |
130
+ | `dev_flow_open_task` | Workspace Root 内显式声明的主/附加仓库创建一个 Task,或从任一参与仓库恢复同一 Task。 |
101
131
  | `dev_flow_get_task` | 读取持久化 Task;可附带 operation probe 获取 Recovery assessment。 |
102
132
  | `dev_flow_get_next_action` | 读取当前节点的权威 Action、验证预算、method steps 和全部合法 transition。 |
103
- | `dev_flow_apply_action` | 使用当前 revision、Action identity、repository binding 和 closed payload 应用一次 Core 声明的 transition |
133
+ | `dev_flow_apply_action` | 使用当前 revision、Action identity、repository binding 和 closed payload 应用一次 Core 声明的 transition;允许写入的 node result 提交精确 `changed_paths` 或 `no_file_changes`,artifact references 只作为证据。 |
104
134
  | `dev_flow_cancel_task` | 使用当前 revision 和明确 reason 取消一个非终态 Task。 |
105
135
 
106
136
  ## 数据与恢复
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dev-flow-deepseek",
3
- "version": "0.6.0-beta.1",
3
+ "version": "0.7.0",
4
4
  "private": false,
5
5
  "description": "Explicit DeepSeek Harness adapter for the Dev Flow process graph.",
6
6
  "license": "Apache-2.0",
Binary file
@@ -21,12 +21,14 @@ Before every ordinary apply:
21
21
  artifact exists, submit `"artifacts": []`.
22
22
  5. Allowed ArtifactReference roles are only `requirements`, `design`, `task_plan`,
23
23
  `implementation`, `test`, `comprehension`, `refactor`, `delivery`, and `other_process`.
24
- For every ArtifactReference path, work-item `expected_paths`, Implementation `changed_paths`, and
25
- Refactor `changed_paths`, use an ordinary repository-relative path for a single-repository Task
24
+ For every ArtifactReference path, work-item `expected_paths`, and node-result `changed_paths`, use
25
+ an ordinary repository-relative path for a single-repository Task
26
26
  and `<repository-key>::<repository-relative-path>` for a multi-repository Task. The key must
27
27
  already belong to the immutable Core Scope. Do not add a payload field or a second digest.
28
- 6. Preserve the complete `node_result` branch wrapper. Never flatten baseline fields or encode an
29
- array as prose.
28
+ 6. Preserve the complete `node_result` branch wrapper. Every standard node result reports exact
29
+ `changed_paths` or `no_file_changes`; exactly one of a nonempty path list or
30
+ `no_file_changes=true` describes the current effect. Artifact references remain evidence and do
31
+ not replace this mutation envelope. Never flatten baseline fields or encode an array as prose.
30
32
  7. Submit exactly one MethodEvidence item for every current Action method step, in Action order.
31
33
  For completed `plain` work use `"status": "plain_fallback"` and `"capability": ""`.
32
34
  8. Replace every value beginning `placeholder-` and every exemplar revision/ID with the current
@@ -59,7 +61,9 @@ Before every ordinary apply:
59
61
  "constraints": ["placeholder-constraint"],
60
62
  "assumptions": []
61
63
  },
62
- "unresolved_questions": []
64
+ "unresolved_questions": [],
65
+ "changed_paths": ["specs/placeholder-feature/spec.md"],
66
+ "no_file_changes": false
63
67
  }
64
68
  }
65
69
  ```
@@ -93,7 +97,9 @@ closed `baseline` object.
93
97
  "complexity_justification": [],
94
98
  "risks": []
95
99
  },
96
- "findings": []
100
+ "findings": [],
101
+ "changed_paths": ["specs/placeholder-feature/plan.md"],
102
+ "no_file_changes": false
97
103
  }
98
104
  }
99
105
  ```
@@ -129,7 +135,9 @@ Use the current requirements revision. The field `complexity` is forbidden; the
129
135
  }
130
136
  ]
131
137
  },
132
- "findings": []
138
+ "findings": [],
139
+ "changed_paths": ["specs/placeholder-feature/tasks.md"],
140
+ "no_file_changes": false
133
141
  }
134
142
  }
135
143
  ```
@@ -183,7 +191,9 @@ implementation result.
183
191
  "failed_items": [],
184
192
  "unverified_items": [],
185
193
  "manual_handoff_items": [],
186
- "findings": []
194
+ "findings": [],
195
+ "changed_paths": [],
196
+ "no_file_changes": true
187
197
  }
188
198
  }
189
199
  ```
@@ -208,7 +218,9 @@ implementation result.
208
218
  "unnecessary_abstractions": ["placeholder-unnecessary-abstraction"],
209
219
  "maintenance_risks": [],
210
220
  "user_confirmation": null,
211
- "findings": ["placeholder-matching-complexity-fact"]
221
+ "findings": ["placeholder-matching-complexity-fact"],
222
+ "changed_paths": [],
223
+ "no_file_changes": true
212
224
  }
213
225
  }
214
226
  ```
@@ -233,7 +245,9 @@ implementation result.
233
245
  "unnecessary_abstractions": [],
234
246
  "maintenance_risks": [],
235
247
  "user_confirmation": {"source": "user", "status": "passed", "summary": "placeholder-explicit-user-verdict-summary"},
236
- "findings": []
248
+ "findings": [],
249
+ "changed_paths": [],
250
+ "no_file_changes": true
237
251
  }
238
252
  }
239
253
  ```
@@ -286,7 +300,9 @@ No AI or method capability may create the passing user confirmation.
286
300
  "comprehension_record_id": "placeholder-current-comprehension-record-id",
287
301
  "unverified_items": [],
288
302
  "risks": [],
289
- "findings": []
303
+ "findings": [],
304
+ "changed_paths": [],
305
+ "no_file_changes": true
290
306
  }
291
307
  }
292
308
  ```