Skip to content

v3.9.35: Restore HnswAdapter subpath + split heavy learning tests

Choose a tag to compare

@proffesor-for-testing proffesor-for-testing released this 19 May 13:02
· 123 commits to main since this release
2f60d17

What's New

A test-infrastructure release. Two things land together:

import 'agentic-qe/kernel/hnsw-adapter' works again (PR #497, merged earlier). The compiled file shipped in dist/kernel/hnsw-adapter.js, but the subpath was missing from package.json#exports, so Node ESM strict resolution refused the import. Fixed, with a contract test pinning every declared subpath against future regressions.

Vitest fork workers no longer time out on the heaviest learning tests (issue #448 steps 2 + 3):

  • Split qe-reasoning-bank.test.ts (1019 → 386 lines core, + utilities and feedback-loop companions) and aqe-learning-engine.test.ts (622 → 366 lines core, + patterns and factory companions). Each thematic group runs in its own sequential fork, capping per-fork heap.
  • Release module-level singletons between tests: clearEmbeddingCache() + a new _resetWitnessChainForTests() in afterEach, resetInitialization() in afterAll. Per-test memory growth no longer compounds across the file.

No production-code behavior changes. The two cheap split files (*-utilities.test.ts, *-factory.test.ts) are re-included in test:unit:fast, restoring coverage that was previously dark.

Getting Started

npx agentic-qe init --auto

See CHANGELOG for full details.