mirror of
https://github.com/proffesor-for-testing/agentic-qe.git
synced 2026-09-19 08:45:47 +08:00
1eaf262d4a
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1.7 KiB
1.7 KiB
v3.6.6 Release Notes
Release Date: 2026-02-13
Highlights
Fixes aqe crash on Node 22+ (ERR_MODULE_NOT_FOUND: better-sqlite3), restores self-learning hooks pipeline that was broken for 8+ days, and ensures all CLI commands write to a single project root database.
Fixed
- Node 22+ crash on global install —
aqe --versionfailed withERR_MODULE_NOT_FOUNDbecause Node 22's ESM resolver cannot handle native packages without anexportsfield. Build now usescreateRequire()shims for all native modules. - Hooks writing to wrong database — Self-learning hooks could create a duplicate
.agentic-qe/database in subdirectories. All hooks and learning commands now usefindProjectRoot()to always resolve to the project root. - Silent hook failures — Removed 12 dead hooks (
npx @claude-flow/cli@latestandv3-qe-bridge.sh) that silently failed on every tool use. Each hook event now has one working handler. - Vector dimension mismatch in hooks — HNSW index initialized at 128-dim while DB vectors were 768-dim, causing in-memory fallback. All embedding dimension defaults fixed to 768.
- Learning experiences not tracked —
post-taskhook'srecordOutcomeonly fired when--agentwas explicitly passed. Relaxed to always fire when--task-idis present. - FK constraint blocking analytics — Removed foreign key on
qe_pattern_usagethat rejected synthetic pattern IDs from hooks. - Statusline missing hook data — Experience count now includes
qe_pattern_usageentries.
Changed
- Build system modernized —
build-cli.jsandbuild-mcp.jsuse esbuild's JavaScript API withnativeRequirePluginfor Node 22+ compatibility.chalkexternalized to avoid CJS/ESM conflicts.