@suifei/dsh-ai-team 0.3.60 → 0.3.61

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/index.js +13 -1
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.61 — 2026-11-11
4
+
5
+ - 修复验收死锁放大器:`pending_acceptance` 的 review 催办分支 `continue` 会跳过 60 分钟升级,QA 每 10 分钟被叫、Thread 裁定的执行手永不唤醒;现在验收滞留 ≥60 分钟同样触发 escalate(配合 085085d 同时唤醒 Project owner)。
6
+
3
7
  ## 0.3.60 — 2026-11-11
4
8
 
5
9
  执行计划第二批(管理视角算法与账本工具面,docs/phase1-2026-11-10/12-详细执行计划 T-201~T-210 部分):
package/index.js CHANGED
@@ -41,7 +41,7 @@ export const name = 'ai-team';
41
41
  /** The workbench only makes sense where the Web carrier exists. */
42
42
  export const inject = ['webServer', 'permissionPresets', 'sandboxPolicy'];
43
43
 
44
- const VERSION = '0.3.60';
44
+ const VERSION = '0.3.61';
45
45
  const PROJECT_ID = 'prj_main';
46
46
  const HUMAN_ID = 'mem_human';
47
47
 
@@ -532,6 +532,18 @@ export function apply(ctx, config = {}) {
532
532
  event: { type: 'pmo/review', payload: { taskId: task.id, bucket: Math.floor(now / 600_000) } },
533
533
  }, {});
534
534
  }
535
+ // Acceptance waiting on a Thread-only handoff needs the same
536
+ // hourly escalation as in-progress work, or the review loop
537
+ // nudges QA forever while the decided executor never wakes.
538
+ if (idleFor >= 60 * 60_000) {
539
+ const lastEscalate = pmoLastEscalate.get(task.id) ?? 0;
540
+ if (now - lastEscalate >= 60 * 60_000) {
541
+ pmoLastEscalate.set(task.id, now);
542
+ await wakeFromResult(projectRuntime, {
543
+ event: { type: 'pmo/escalate', payload: { taskId: task.id, bucket: Math.floor(now / 3_600_000) } },
544
+ }, {});
545
+ }
546
+ }
535
547
  continue;
536
548
  }
537
549
  if (idleFor >= 10 * 60_000 && idleFor < 30 * 60_000) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suifei/dsh-ai-team",
3
- "version": "0.3.60",
3
+ "version": "0.3.61",
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",