Skip to content

v5.1.4

Choose a tag to compare

@326sun 326sun released this 03 Jul 01:38
· 23 commits to main since this release

v5.1.4 - 性能护栏 + 简化治理收口

在已发布的 v5.1.3 之上完成性能计划 P6-P10 与简化计划 S1-S6,并收口 C-005 复杂度预算决策。

Highlights

  • index.js onload 从 552 行单函数拆为 27 行阶段链 + 17 个具名阶段函数。
  • complexity:report/check 纳入 index.js / install.cjs 根入口文件扫描。
  • tests/pattern-detector.test.js 按行为拆分,42 个用例总数不变。
  • libModuleCount 预算调整为 hard 118 / soft 105,并固化“新建文件是最后手段”。
  • 性能计划 P6-P10 收口:benchmark 17/17,perf 全部在阈值内。

Validation

  • npm run build: passed
  • npm run check: passed
  • npm test: 938 tests, 933 passed, 5 skipped, 0 failed
  • npm run benchmark: passed, 17/17 scenarios
  • npm run perf: passed, all metrics within thresholds
  • npm run release:check: ready / score 100
  • npm audit --audit-level=high: found 0 vulnerabilities

Asset

  • hanako-runtime-learner-dist.zip
  • SHA256: 08C6F48A18998AD2F645F3DFF647E0660ED4AD12B0670713CF4C974F91EE92A1