@lmzhen/dsh-evolution-review 0.15.2 → 0.16.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/lib/index.js CHANGED
@@ -68,6 +68,9 @@ function noticeAfter(current, event) {
68
68
  * from a hand-written list inside its dispose hook. The list drifted — the
69
69
  * 0.3.38-0.3.42 additions (pendingCadenceReviews, pendingCadenceWarned,
70
70
  * skipNextCadenceFire, cadenceResetWarned) were missing from it until V7-16 —
71
+ * the first and last of those four have since been replaced by the outstanding-
72
+ * notice window (0.15.2: one record per session, and the claim names the turn), so
73
+ * only pendingCadenceReviews, pendingCadenceWarned and cadenceResetWarned remain —
71
74
  * because nothing tied a declaration to its cleanup. Registering at the
72
75
  * declaration site removes the list: a collection clears because it was
73
76
  * registered, and tests/session-state-ownership.spec.ts fails when a new
@@ -313,9 +316,7 @@ function apply(ctx, rawConfig = {}) {
313
316
  */
314
317
  const settleNotice = async (sessionId, why) => {
315
318
  pendingReviewNotices.delete(sessionId);
316
- const settledLine = `dsh-evolution-review: the outstanding review notice settled (${why}) — the review window restarts`;
317
- if (why === "queue-lost") ctx.logger.warn(settledLine);
318
- else ctx.logger.info(settledLine);
319
+ ctx.logger.warn(`dsh-evolution-review: the outstanding review notice settled (${why}) — the review window restarts`);
319
320
  const stateService = ctx.get("evolutionState");
320
321
  try {
321
322
  await withReviewStateLock(sessionId, async () => {
@@ -5,6 +5,9 @@
5
5
  * from a hand-written list inside its dispose hook. The list drifted — the
6
6
  * 0.3.38-0.3.42 additions (pendingCadenceReviews, pendingCadenceWarned,
7
7
  * skipNextCadenceFire, cadenceResetWarned) were missing from it until V7-16 —
8
+ * the first and last of those four have since been replaced by the outstanding-
9
+ * notice window (0.15.2: one record per session, and the claim names the turn), so
10
+ * only pendingCadenceReviews, pendingCadenceWarned and cadenceResetWarned remain —
8
11
  * because nothing tied a declaration to its cleanup. Registering at the
9
12
  * declaration site removes the list: a collection clears because it was
10
13
  * registered, and tests/session-state-ownership.spec.ts fails when a new
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-review",
3
3
  "description": "Background review orchestration (community build)",
4
- "version": "0.15.2",
4
+ "version": "0.16.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,9 +27,9 @@
27
27
  "license": "MIT",
28
28
  "dependencies": {
29
29
  "@deepseek-ai/schemastery": "^3.18.1",
30
- "@lmzhen/dsh-evolution-approval": "^0.15.2",
31
- "@lmzhen/dsh-evolution-core": "^0.15.2",
32
- "@lmzhen/dsh-evolution-plan-validator": "^0.15.2"
30
+ "@lmzhen/dsh-evolution-approval": "^0.16.0",
31
+ "@lmzhen/dsh-evolution-core": "^0.16.0",
32
+ "@lmzhen/dsh-evolution-plan-validator": "^0.16.0"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "@deepseek-ai/cordis": "^4.0.1",
@@ -37,8 +37,8 @@
37
37
  "@deepseek-ai/dsh-llm": "^0.1.5-rc.2",
38
38
  "@deepseek-ai/dsh-session": "^0.1.5-rc.2",
39
39
  "@deepseek-ai/dsh-tools": "^0.1.5-rc.2",
40
- "@lmzhen/dsh-evolution-state": "^0.15.2",
41
- "@lmzhen/dsh-evolution-policy": "^0.15.2"
40
+ "@lmzhen/dsh-evolution-state": "^0.16.0",
41
+ "@lmzhen/dsh-evolution-policy": "^0.16.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@deepseek-ai/dsh-agent": "^0.1.5-rc.2",
@@ -48,10 +48,10 @@
48
48
  "@deepseek-ai/dsh-session-persistence": "^0.1.5-rc.2",
49
49
  "@deepseek-ai/dsh-session-persistence-jsonl": "^0.1.5-rc.2",
50
50
  "@deepseek-ai/dsh-tools": "^0.1.5-rc.2",
51
- "@lmzhen/dsh-evolution-approval": "^0.15.2",
52
- "@lmzhen/dsh-evolution-core": "^0.15.2",
53
- "@lmzhen/dsh-evolution-curator": "^0.15.2",
54
- "@lmzhen/dsh-evolution-plan-validator": "^0.15.2",
55
- "@lmzhen/dsh-evolution-state": "^0.15.2"
51
+ "@lmzhen/dsh-evolution-approval": "^0.16.0",
52
+ "@lmzhen/dsh-evolution-core": "^0.16.0",
53
+ "@lmzhen/dsh-evolution-curator": "^0.16.0",
54
+ "@lmzhen/dsh-evolution-plan-validator": "^0.16.0",
55
+ "@lmzhen/dsh-evolution-state": "^0.16.0"
56
56
  }
57
57
  }