@lmzhen/dsh-evolution-curator 0.3.64 → 0.3.65

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 (2) hide show
  1. package/lib/index.js +10 -4
  2. package/package.json +7 -7
package/lib/index.js CHANGED
@@ -17,7 +17,7 @@ const DEFAULT_QUALITY_WARN_STALE_AFTER_DAYS = 7;
17
17
  * 120s matches the review subagent default; the 32-bit ceiling is Node's
18
18
  * timer-delay limit (`AbortSignal.timeout` throws above it). */
19
19
  const DEFAULT_CURATOR_REVIEW_TIMEOUT_MS = 12e4;
20
- const MAX_TIMER_DELAY_MS = 4294967295;
20
+ const MAX_TIMER_DELAY_MS = 2147483647;
21
21
  /**
22
22
  * Block LLM-nominated consolidations that would touch a gate-protected name:
23
23
  * exclude / referenced / suppressed skills must never merge (neither as the
@@ -768,7 +768,9 @@ var EvolutionCurator = class extends Service {
768
768
  let skipped = [];
769
769
  await mutateUsage(root, this.io, (disk) => {
770
770
  skipped = foldCuratorFields(disk, usage, stateOwned, runStartStates);
771
- });
771
+ }, { onQuarantine: (message) => {
772
+ this.ctx.logger.warn(`evolution-curator: ${message}`);
773
+ } });
772
774
  if (skipped.length > 0) this.ctx.logger.warn(`evolution-curator: lifecycle fold skipped ${skipped.length} name(s) whose on-disk state moved during the run (a concurrent curator/tool won): ${skipped.join(", ")}`);
773
775
  } catch {
774
776
  this.ctx.logger.warn("evolution-curator: failed to persist usage sidecar");
@@ -974,7 +976,9 @@ var EvolutionCurator = class extends Service {
974
976
  record.archived_at = (/* @__PURE__ */ new Date()).toISOString();
975
977
  }
976
978
  }
977
- });
979
+ }, { onQuarantine: (message) => {
980
+ this.ctx.logger.warn(`evolution-curator: ${message}`);
981
+ } });
978
982
  } catch (error) {
979
983
  this.ctx.logger.warn(`evolution-curator: failed to persist consolidate usage state: ${error instanceof Error ? error.message : String(error)}`);
980
984
  }
@@ -1003,7 +1007,9 @@ var EvolutionCurator = class extends Service {
1003
1007
  record.state = "active";
1004
1008
  record.archived_at = null;
1005
1009
  }
1006
- });
1010
+ }, { onQuarantine: (message) => {
1011
+ this.ctx.logger.warn(`evolution-curator: ${message}`);
1012
+ } });
1007
1013
  } catch (error) {
1008
1014
  this.ctx.logger.warn(`evolution-curator: failed to persist restore usage state: ${error instanceof Error ? error.message : String(error)}`);
1009
1015
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-curator",
3
3
  "description": "Deterministic skill lifecycle and recovery (community build)",
4
- "version": "0.3.64",
4
+ "version": "0.3.65",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -31,20 +31,20 @@
31
31
  "license": "MIT",
32
32
  "dependencies": {
33
33
  "@deepseek-ai/schemastery": "^3.18.1",
34
- "@lmzhen/dsh-evolution-core": "^0.3.64"
34
+ "@lmzhen/dsh-evolution-core": "^0.3.65"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "@deepseek-ai/cordis": "^4.0.1",
38
38
  "@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
39
39
  "@deepseek-ai/dsh-llm": "^0.1.1-rc.2",
40
- "@lmzhen/dsh-evolution-io": "^0.3.64",
41
- "@lmzhen/dsh-evolution-state": "^0.3.64"
40
+ "@lmzhen/dsh-evolution-io": "^0.3.65",
41
+ "@lmzhen/dsh-evolution-state": "^0.3.65"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
45
45
  "@deepseek-ai/dsh-llm": "^0.1.1-rc.2",
46
- "@lmzhen/dsh-evolution-core": "^0.3.64",
47
- "@lmzhen/dsh-evolution-io": "^0.3.64",
48
- "@lmzhen/dsh-evolution-state": "^0.3.64"
46
+ "@lmzhen/dsh-evolution-core": "^0.3.65",
47
+ "@lmzhen/dsh-evolution-io": "^0.3.65",
48
+ "@lmzhen/dsh-evolution-state": "^0.3.65"
49
49
  }
50
50
  }