@suifei/dsh-ai-team 0.4.52 → 0.4.53
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/CHANGELOG.md +10 -0
- package/index.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.53 - 2026-11-12
|
|
4
|
+
|
|
5
|
+
**修 0.4.52 引入的回归:PMO tick 每轮抛 ReferenceError**
|
|
6
|
+
|
|
7
|
+
0.4.52 的 reconcile 锁把返回值写在 `try` 块里(`const reconciled = ...`),而我加的「跳过诊断」在 `try/catch` **之外**读它——于是每个 tick 都抛 `ReferenceError: reconciled is not defined`,被 tick 外层的 `console.warn` 吞成一行日志:**PMO 派发与 job 收割整条链路当时是停的**。
|
|
8
|
+
|
|
9
|
+
- 修复:`let reconciled = true;` 提到 `try` 之前。
|
|
10
|
+
- **加一道守卫**:`management` 用例现在接管 `console.error` 与 `console.warn`,正常流程结束后不允许出现 `[ai-team] … failed/error`。这条守卫我做了对照组:撤掉 `let reconciled` 后用例立即失败,恢复后通过——0.4.52 那个 bug 正是「断言全绿但日志里在报错」溜过去的。
|
|
11
|
+
- 测试:`node --test` **253 通过 / 1 跳过**。
|
|
12
|
+
|
|
3
13
|
## 0.4.52 - 2026-11-12
|
|
4
14
|
|
|
5
15
|
**批 17:reconcile 项目级互斥 + 修复区间上报**
|
package/index.js
CHANGED
|
@@ -789,8 +789,9 @@ export function apply(ctx, config = {}) {
|
|
|
789
789
|
// PMO 自动关闭时也必须收敛(否则 job 永远停在 generating)。
|
|
790
790
|
// 两阶段异步优化 job 收割:与任务派发无关,放在停止门之前——
|
|
791
791
|
// Human 启动的 job 必须在任意运行态下收敛(生成/评审/落盘)。
|
|
792
|
+
let reconciled = true;
|
|
792
793
|
try {
|
|
793
|
-
|
|
794
|
+
reconciled = await reconcileWithLock(projectRuntime.dir, {
|
|
794
795
|
ctx,
|
|
795
796
|
// job 归属项目数据目录(与 skillopt_optimize 写入处一致):
|
|
796
797
|
// 与工作区/激活项目无关,保证任意 tick 都能找到待收割 job。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@suifei/dsh-ai-team",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.53",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "文渊阁 (Wenyuan Pavilion) — AI Team mode for DeepSeek Harness: concurrent projects, owned tasks, threads, inbox and an append-only team ledger",
|
|
6
6
|
"license": "MIT",
|