@hmharness/cli 0.23.42 → 0.23.43

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.
@@ -62,10 +62,16 @@ let PACKAGES = ['cli', 'web', 'agent', 'kernel', 'sandbox', 'evolution',
62
62
  // Known-good pin set (offline fallback when the registry is unreachable).
63
63
  // The release bot keeps versions synced; the NAMES must cover the full
64
64
  // first-party set so the offline path cannot produce an incomplete tree.
65
+ // 2026-10-27 fix: this list had only 10 names while PACKAGES had grown to 15 —
66
+ // pins[n] was undefined for cognitive/environments/lsp/browser/extension, so
67
+ // the offline path tried <name>-undefined.tgz → 404 → INSTALL FAILED (directly
68
+ // contradicting the promise above; evidence: cli 0.23.42 declares 14 deps).
65
69
  const FALLBACK_PINS = {
66
- cli: '0.23.42', web: '0.23.42', agent: '0.23.42', kernel: '0.23.42',
67
- sandbox: '0.23.42', evolution: '0.23.42', 'domain-ops': '0.23.42',
68
- evaluation: '0.23.42', observability: '0.23.42', 'domain-harmony': '0.23.42',
70
+ cli: '0.23.43', web: '0.23.43', agent: '0.23.43', kernel: '0.23.43',
71
+ sandbox: '0.23.43', evolution: '0.23.43', 'domain-ops': '0.23.43',
72
+ evaluation: '0.23.43', observability: '0.23.43', 'domain-harmony': '0.23.43',
73
+ cognitive: '0.23.43', environments: '0.23.43', lsp: '0.23.43',
74
+ browser: '0.23.43', extension: '0.23.43',
69
75
  };
70
76
 
71
77
  // ---------- helpers ---------------------------------------------------------
@@ -66,7 +66,11 @@ function runHmh(args, timeoutMs) {
66
66
  }
67
67
  async function cycle() {
68
68
  try {
69
- const evo = await runHmh(['evolve'], 600000);
69
+ // 30min: a HEALTHY evolve cycle does 40+ real judge/model calls and can
70
+ // exceed the old 10min cap — the 401 era finished in seconds (every trap
71
+ // failed fast), so 600s never bit until the fix landed and real work
72
+ // resumed. The cap must cover real work, not the failure mode.
73
+ const evo = await runHmh(['evolve'], 1800000);
70
74
  console.log(stamp(), 'evolve cycle done', evo.err ? ('err ' + String(evo.err).slice(0, 120)) : '');
71
75
  } catch (e) { console.error(stamp(), 'evolve error:', String(e).slice(0, 200)); }
72
76
  // finetune gate after every evolve cycle - the command itself decides
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmharness/cli",
3
- "version": "0.23.42",
3
+ "version": "0.23.43",
4
4
  "description": "hmharness command line: one-shot tasks, an interactive REPL, a fullscreen TUI, the web frontend, and direct tool invocation.",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
@@ -45,20 +45,20 @@
45
45
  "build": "tsc -p tsconfig.build.json"
46
46
  },
47
47
  "dependencies": {
48
- "@hmharness/agent": "0.23.42",
49
- "@hmharness/browser": "0.23.42",
50
- "@hmharness/cognitive": "0.23.42",
51
- "@hmharness/domain-harmony": "0.23.42",
52
- "@hmharness/domain-ops": "0.23.42",
53
- "@hmharness/environments": "0.23.42",
54
- "@hmharness/evaluation": "0.23.42",
55
- "@hmharness/evolution": "0.23.42",
56
- "@hmharness/extension": "0.23.42",
57
- "@hmharness/kernel": "0.23.42",
58
- "@hmharness/observability": "0.23.42",
59
- "@hmharness/sandbox": "0.23.42",
60
- "@hmharness/web": "0.23.42",
48
+ "@hmharness/agent": "0.23.43",
49
+ "@hmharness/browser": "0.23.43",
50
+ "@hmharness/cognitive": "0.23.43",
51
+ "@hmharness/domain-harmony": "0.23.43",
52
+ "@hmharness/domain-ops": "0.23.43",
53
+ "@hmharness/environments": "0.23.43",
54
+ "@hmharness/evaluation": "0.23.43",
55
+ "@hmharness/evolution": "0.23.43",
56
+ "@hmharness/extension": "0.23.43",
57
+ "@hmharness/kernel": "0.23.43",
58
+ "@hmharness/observability": "0.23.43",
59
+ "@hmharness/sandbox": "0.23.43",
60
+ "@hmharness/web": "0.23.43",
61
61
  "qrcode": "^1.5.4",
62
- "@hmharness/lsp": "0.23.42"
62
+ "@hmharness/lsp": "0.23.43"
63
63
  }
64
64
  }
@@ -1,5 +1,10 @@
1
1
  {
2
2
  "notes": [
3
+ {
4
+ "v": "0.23.43",
5
+ "date": "2026-10-27",
6
+ "note": "沙箱隔离诚实化+fail-closed(Docker 兜底谎言根除/TrustLevel 四档/单一证据源)+演化守护 30min+FALLBACK_PINS 15 名;993 测试"
7
+ },
3
8
  {
4
9
  "v": "0.23.42",
5
10
  "date": "2026-10-27",