agentic-qe 3.6.5 → 3.6.6
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/.claude/helpers/statusline-v3.cjs +7 -1
- package/.claude/skills/skills-manifest.json +1 -1
- package/package.json +1 -1
- package/v3/CHANGELOG.md +17 -0
- package/v3/dist/cli/bundle.js +1889 -1906
- package/v3/dist/cli/commands/hooks.d.ts.map +1 -1
- package/v3/dist/cli/commands/hooks.js +17 -15
- package/v3/dist/cli/commands/hooks.js.map +1 -1
- package/v3/dist/cli/commands/learning.d.ts.map +1 -1
- package/v3/dist/cli/commands/learning.js +15 -14
- package/v3/dist/cli/commands/learning.js.map +1 -1
- package/v3/dist/integrations/embeddings/cache/EmbeddingCache.js +2 -2
- package/v3/dist/integrations/embeddings/cache/EmbeddingCache.js.map +1 -1
- package/v3/dist/kernel/unified-memory.d.ts.map +1 -1
- package/v3/dist/kernel/unified-memory.js +2 -3
- package/v3/dist/kernel/unified-memory.js.map +1 -1
- package/v3/dist/learning/pattern-store.d.ts.map +1 -1
- package/v3/dist/learning/pattern-store.js +4 -2
- package/v3/dist/learning/pattern-store.js.map +1 -1
- package/v3/dist/learning/qe-reasoning-bank.d.ts.map +1 -1
- package/v3/dist/learning/qe-reasoning-bank.js +3 -2
- package/v3/dist/learning/qe-reasoning-bank.js.map +1 -1
- package/v3/dist/learning/sqlite-persistence.d.ts.map +1 -1
- package/v3/dist/learning/sqlite-persistence.js +1 -2
- package/v3/dist/learning/sqlite-persistence.js.map +1 -1
- package/v3/dist/learning/v2-to-v3-migration.d.ts.map +1 -1
- package/v3/dist/learning/v2-to-v3-migration.js +1 -2
- package/v3/dist/learning/v2-to-v3-migration.js.map +1 -1
- package/v3/dist/mcp/bundle.js +445 -849
- package/v3/dist/mcp/tools/coherence/audit.js +1 -1
- package/v3/package.json +1 -1
|
@@ -22,6 +22,10 @@ const { execSync, spawnSync } = require('child_process');
|
|
|
22
22
|
let Database;
|
|
23
23
|
try {
|
|
24
24
|
Database = require('better-sqlite3');
|
|
25
|
+
// Verify native bindings actually work (require succeeds but constructor
|
|
26
|
+
// may throw if .node binary isn't compiled for this platform)
|
|
27
|
+
const testDb = new Database(':memory:');
|
|
28
|
+
testDb.close();
|
|
25
29
|
} catch {
|
|
26
30
|
Database = null; // Fallback to CLI if better-sqlite3 not available
|
|
27
31
|
}
|
|
@@ -308,9 +312,11 @@ function getLearningMetrics(projectDir) {
|
|
|
308
312
|
const capturedExp = parseInt(sqlite3Query(dbPath, 'SELECT COUNT(*) FROM captured_experiences')) || 0;
|
|
309
313
|
// Memory entries with learning data (MCP-stored experiences)
|
|
310
314
|
const memoryLearning = parseInt(sqlite3Query(dbPath, "SELECT COUNT(*) FROM memory_entries WHERE key LIKE 'learning%' OR key LIKE 'phase2/learning%'")) || 0;
|
|
315
|
+
// QE pattern usage (hook-recorded outcomes from aqe hooks post-task/post-edit)
|
|
316
|
+
const patternUsage = parseInt(sqlite3Query(dbPath, 'SELECT COUNT(*) FROM qe_pattern_usage')) || 0;
|
|
311
317
|
|
|
312
318
|
// Total experiences = all sources
|
|
313
|
-
const experiences = legacyExperiences + trajectories + capturedExp + memoryLearning;
|
|
319
|
+
const experiences = legacyExperiences + trajectories + capturedExp + memoryLearning + patternUsage;
|
|
314
320
|
|
|
315
321
|
// Transfer learning count
|
|
316
322
|
const transfers = parseInt(sqlite3Query(dbPath, 'SELECT COUNT(*) FROM transfer_registry')) || 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentic-qe",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.6",
|
|
4
4
|
"description": "Agentic Quality Engineering V3 - Domain-Driven Design Architecture with 13 Bounded Contexts, O(log n) coverage analysis, ReasoningBank learning, 59 specialized QE agents, mathematical Coherence verification, deep Claude Flow integration",
|
|
5
5
|
"main": "./v3/dist/index.js",
|
|
6
6
|
"types": "./v3/dist/index.d.ts",
|
package/v3/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,23 @@ All notable changes to Agentic QE will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [3.6.6] - 2026-02-13
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **Node 22+ crash on `npm install -g`** — `aqe --version` failed with `ERR_MODULE_NOT_FOUND: better-sqlite3` because Node 22's ESM resolver cannot handle packages without an `exports` field. Build scripts now use a `createRequire()` shim for all native modules, eliminating bare ESM imports that triggered `legacyMainResolve` failures.
|
|
13
|
+
- **Hooks writing to wrong database** — Self-learning hooks used `process.cwd()` to find the database, which could resolve to the wrong `.agentic-qe/` directory in monorepos or subdirectories. All hooks and learning commands now use `findProjectRoot()` to always write to the project root database.
|
|
14
|
+
- **Silent hook failures for 8+ days** — Removed 9 dead `npx @claude-flow/cli@latest` hooks and 3 `v3-qe-bridge.sh` hooks from settings.json that silently failed on every tool use. Each hook event now has exactly one working `aqe` handler.
|
|
15
|
+
- **Vector dimension mismatch in hooks** — HNSW index initialized at 128 dimensions while database vectors were 768, causing fallback to in-memory mode. Fixed all `embeddingDimension` defaults across hooks, learning, pattern-store, reasoning-bank, and MCP audit to 768.
|
|
16
|
+
- **Learning experiences not tracked** — `recordOutcome` in `post-task` hook only fired when both `--task-id` and `--agent` were passed, but hooks never pass `--agent`. Relaxed guard to only require `--task-id`, with agent defaulting to `"unknown"`.
|
|
17
|
+
- **FK constraint blocking analytics** — `qe_pattern_usage` table had a foreign key to `qe_patterns`, but hooks write synthetic pattern IDs. Removed the FK constraint so analytics writes succeed.
|
|
18
|
+
- **Statusline missing hook experiences** — Statusline experience count didn't include `qe_pattern_usage` table. Added it as a source, so hook-recorded learning now appears in metrics.
|
|
19
|
+
- **Noisy `[PatternStore] Loaded 0 patterns` log** — Suppressed the zero-count log that printed on every CLI invocation.
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- **Build system modernized** — `build-cli.js` and `build-mcp.js` now use esbuild's JavaScript API with a `nativeRequirePlugin` instead of shelling out via `execSync`. Native modules (better-sqlite3, @ruvector/*, hnswlib-node, etc.) are shimmed with `createRequire()` for Node 22+ compatibility. `chalk` externalized to avoid CJS `require('os')` failures in ESM context.
|
|
24
|
+
|
|
8
25
|
## [3.6.5] - 2026-02-13
|
|
9
26
|
|
|
10
27
|
### Fixed
|