Files
Dragan Spiridonov 77d3f09159 chore(release): bump version to v3.9.6
Headline change: native HNSW search actually works again. The previous
NativeHnswBackend wrapped @ruvector/router 0.1.28's VectorDb, which a
fresh investigation found to have four serious bugs:

  1. HNSW search returned essentially random results — recall@10 ≈ 0%
     on the project's FNV fixture and 10% on textbook unit-Gaussian
     random vectors. The graph walk could not find self-vectors when
     querying with a stored vector.
  2. The VectorDb constructor unconditionally wrote a vectors.db redb
     file to the user's project root, polluting CWD with multi-MB
     files outside .agentic-qe/, in a non-SQLite format that no AQE
     migration or backup tooling knew about.
  3. Process-wide singleton lock — only ONE VectorDb instance could
     exist per process. Subsequent constructors threw "Database error:
     Database already open. Cannot acquire lock."
  4. NAPI dispose did not synchronously release the redb lock — root
     cause of v3.9.5's futex deadlock.

NativeHnswBackend was rewritten to wrap hnswlib-node@^3.0.0 (the
canonical Yury Malkov C++ Hnswlib reference implementation, used by
Pinecone, Weaviate, Qdrant, LangChain, ChromaDB). All four bugs are
gone in one swap. Empirical verification: 100% recall@10 vs the old
10%, faster inserts, multiple instances coexist, no CWD pollution.

useNativeHNSW default is flipped back from false to true (reverting
the v3.9.5 hotfix). Users with large codebases get sublinear HNSW
search by default again.

aqe init now warns when it detects a stale `vectors.db` from the
previous version and suggests `rm vectors.db`. It does NOT auto-delete
(per the data protection rules).

No new dependency was added — hnswlib-node was already in package.json.

Bumps fleetVersion in skills-manifest.json from 3.9.2 (stale) to
3.9.6 to match.

Adds release notes at docs/releases/v3.9.6.md and updates the
release index.

Closes #399. Closes #396 (test-suite cleanup carried over from the
closed PR #403, also in this release).

See ADR-090 for the full decision record and CHANGELOG.md for the
user-facing summary.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 19:13:42 +00:00
..
2026-04-05 18:51:49 +02:00

Release Notes

All Agentic QE release notes organized by version.

Version Date Highlights
v3.9.6 2026-04-06 Native HNSW works again — replaced @ruvector/router with hnswlib-node, no more vectors.db cruft
v3.9.5 2026-04-06 Root-cause fix: disable native HNSW (deadlocks on certain inputs), faster JS backend by default
v3.9.4 2026-04-06 Hotfix: governance phase chunk-split regression, --skip-code-index escape hatch, per-file logging
v3.9.3 2026-04-06 Proper fix: aqe init watchdog, lazy bootstrap, remove daemon spawn, MCP entry regression
v3.9.2 2026-04-06 Hotfix: aqe init --auto RVF lock deadlock, CLI exit hang
v3.9.1 2026-04-05 RVF persistent vectors, agent COW branching, HNSW unification, StrongDM
v3.9.0 2026-04-02 11 CC-internals improvements, 4-tier compaction, plugin system, QE daemon
v3.8.14 2026-03-31 SQL injection fix, remove faker from generators (~6 MB), 3 P0 blockers resolved
v3.8.13 2026-03-30 Code intelligence CLI (complexity, --incremental, --git-since), security fix, doc cleanup
v3.8.12 2026-03-29 RuVector Phase 5: pattern intelligence, graph learning, scale optimization
v3.8.11 2026-03-27 YAML pipelines, heartbeat CLI, economic routing, session cache (Tier 3)
v3.8.10 2026-03-26 Fix coverage data pipeline — eliminate fabricated scores, unify key ecosystem
v3.8.9 2026-03-25 Multi-language coverage parsers, SHA-256 witness security, P1 scale benchmarks
v3.8.8 2026-03-24 MCP-free agents, aqe memory CLI, WASM parsers, skill description improvements
v3.8.7 2026-03-23 Unified hypergraph persistence, CLI/MCP query tools, code index extractor
v3.8.6 2026-03-23 Security ReDoS fixes, flaky timer elimination, module decomposition
v3.8.5 2026-03-21 Both P1 items resolved, structured logging, hooks decomposition, test stability
v3.8.4 2026-03-19 P0 security fixes, DB corruption repair, 30-40% smaller bundles, CI parallelization
v3.8.3 2026-03-18 ADR-086 skill overhaul (84 skills), 5 new skills, 7 bug fixes
v3.8.2 2026-03-17 8 bug fixes from user testing, validation pipeline helper, ruflo rebrand
v3.8.1 2026-03-17 Fix MCP tool prefix mismatch in 8 agent files, permission pattern fix
v3.8.0 2026-03-16 RuVector: native HNSW (150x faster), neural routing, coherence safety gates
v3.7.22 2026-03-14 Hook path resolution fix, SQLite corruption prevention, v2 migration removal
v3.7.21 2026-03-13 Agent dependency intelligence, shell injection fixes, semgrep parallel SAST
v3.7.20 2026-03-12 Fix duplicate brain-checkpoint hooks and governance time budget blocking tools
v3.7.19 2026-03-12 YAML pipelines, validation pipeline, cross-phase signals, heartbeat scheduler, context sources
v3.7.18 2026-03-11 Hotfix: agents not installed on aqe init --auto upgrade
v3.7.17 2026-03-11 BMAD-inspired: adversarial review, agent overlays, validation pipelines, branch enumerator
v3.7.16 2026-03-10 Critical: test DB isolation fix, Tier 3 baselines, MCP persistence pipeline
v3.7.15 2026-03-09 Six Hats learning improvements, Proof-of-Quality CLI, MCP tool scoping, test stability
v3.7.14 2026-03-08 Brain export v3.0 (25 tables), witness chain v3, streaming, npm packaging fix
v3.7.13 2026-03-07 Trigger optimizer, version comparator, skill intent classification
v3.7.12 2026-03-06 Fix CLI crash on global install (lazy-load typescript), release verification hardening
v3.7.11 2026-03-06 Full @claude-flow/guidance governance integration across all 8 modules
v3.7.10 2026-03-05 Fix MCP path resolution, CRLF skill parsing, stale v3/ refs; README rewrite
v3.7.9 2026-03-05 Multi-language test gen (8 langs), 384-dim embedding standardization, trust tier evals
v3.7.8 2026-03-04 Loki-Mode: 7 adversarial quality gates (anti-sycophancy, test gates, EMA, auto-escalation)
v3.7.7 2026-03-02 Scrapling-inspired browser: adaptive locators, resource blocking, stealth client, page pool
v3.7.6 2026-03-02 30 MCP tools wired, 9 security fixes, dependency cleanup, dead code removal
v3.7.5 2026-03-01 Flat project structure, RVF binary brain export, native module crash fix
v3.7.4 2026-02-28 8 new platform integrations (Copilot, Cursor, Cline, Kilo, Roo, Codex, Windsurf, Continue.dev), 202 new tests
v3.7.3 2026-02-27 17 bug fixes (Phase 0), CI-native exit codes, Phase 1 complete
v3.7.2 2026-02-25 AWS Kiro IDE integration, hono security patch
v3.7.1 2026-02-24 OpenCode integration, RVF production wiring, 8 bug fixes
v3.7.0 2026-02-23 RVF Cognitive Container integration: MinCut routing, witness chain, brain CLI, HNSW unification
v3.6.19 2026-02-22 6 learning pipeline fixes, event-driven trajectories, 25 new tests
v3.6.18 2026-02-21 6 new Agent Teams MCP tools, auto-team-wiring, team enriched responses
v3.6.17 2026-02-21 QE Queen Coordinator 7 fixes, HNSW semantic search, hierarchical topology
v3.6.16 2026-02-21 Node.js node:test generator, smart assertions, 12 bug fixes
v3.6.15 2026-02-20 Fix 11 test generation bugs (#295), fix cloud sync pg loading
v3.6.14 2026-02-20 Fix test OOM crashes, CI artifact upload, flaky test stabilization
v3.6.13 2026-02-19 Fix test stubs, MCP crash, vector mismatch, coverage, security scan
v3.6.12 2026-02-19 Fix HNSW crash, real security scanning, hooks directory, 5 issues fixed
v3.6.11 2026-02-18 MCP stability, multi-language support, smart init merge, 9 issues fixed
v3.6.10 2026-02-18 QCSD Production Telemetry, eval-driven workflow, KG test generation
v3.6.9 2026-02-17 Code quality overhaul, self-learning feedback loop, P0 security fixes
v3.6.8 2026-02-15 MCP auto-init fleet, unified experience persistence, fix #262
v3.6.7 2026-02-14 Fix DB corruption, remove VACUUM, eliminate dual-DB split-brain
v3.6.6 2026-02-13 Fix Node 22+ crash, restore self-learning hooks, single-DB resolution
v3.6.5 2026-02-13 Fix fleet_init dimension mismatch (#255), agent asset sync, README fixes
v3.6.4 2026-02-12 Security hardening, Dream Scheduler, QE pattern seeding, delta scanning
v3.6.3 2026-02-11 QX Analysis, SFDIPOT product factors, cross-platform compatibility
v3.6.2 2026-02-10 Init stability fixes (YAML parser, agent helper file placement)
v3.6.1 2026-02-09 Agent Teams Integration, Distributed Tracing, Dynamic Scaling
v3.6.0 2026-02-08 Enterprise Integration Domain, 8 new agents, Pentest Validation
v3.5.0 2026-02-04 Governance by default, QCSD 2.0 Lifecycle, Self-Healing Enterprise
v3.4.2 2026-02-02 Skill Validation System, Trust Tiers
v3.4.0 2026-02-01 AG-UI, A2A, A2UI Protocols

For the full changelog with all minor and patch versions, see v3/CHANGELOG.md.