agentic-qe 3.6.14 → 3.6.16

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.
Files changed (69) hide show
  1. package/.claude/skills/skills-manifest.json +1 -1
  2. package/package.json +3 -2
  3. package/v3/CHANGELOG.md +42 -0
  4. package/v3/dist/cli/bundle.js +911 -354
  5. package/v3/dist/cli/commands/test.d.ts.map +1 -1
  6. package/v3/dist/cli/commands/test.js +6 -3
  7. package/v3/dist/cli/commands/test.js.map +1 -1
  8. package/v3/dist/cli/completions/index.d.ts +1 -1
  9. package/v3/dist/cli/completions/index.d.ts.map +1 -1
  10. package/v3/dist/cli/completions/index.js +1 -1
  11. package/v3/dist/cli/completions/index.js.map +1 -1
  12. package/v3/dist/cli/wizards/test-wizard.d.ts +1 -1
  13. package/v3/dist/cli/wizards/test-wizard.d.ts.map +1 -1
  14. package/v3/dist/cli/wizards/test-wizard.js +8 -1
  15. package/v3/dist/cli/wizards/test-wizard.js.map +1 -1
  16. package/v3/dist/coordination/task-executor.js.map +1 -1
  17. package/v3/dist/domains/test-generation/factories/test-generator-factory.d.ts.map +1 -1
  18. package/v3/dist/domains/test-generation/factories/test-generator-factory.js +4 -1
  19. package/v3/dist/domains/test-generation/factories/test-generator-factory.js.map +1 -1
  20. package/v3/dist/domains/test-generation/generators/base-test-generator.d.ts.map +1 -1
  21. package/v3/dist/domains/test-generation/generators/base-test-generator.js +74 -27
  22. package/v3/dist/domains/test-generation/generators/base-test-generator.js.map +1 -1
  23. package/v3/dist/domains/test-generation/generators/index.d.ts +1 -0
  24. package/v3/dist/domains/test-generation/generators/index.d.ts.map +1 -1
  25. package/v3/dist/domains/test-generation/generators/index.js +1 -0
  26. package/v3/dist/domains/test-generation/generators/index.js.map +1 -1
  27. package/v3/dist/domains/test-generation/generators/jest-vitest-generator.d.ts.map +1 -1
  28. package/v3/dist/domains/test-generation/generators/jest-vitest-generator.js +77 -21
  29. package/v3/dist/domains/test-generation/generators/jest-vitest-generator.js.map +1 -1
  30. package/v3/dist/domains/test-generation/generators/mocha-generator.d.ts.map +1 -1
  31. package/v3/dist/domains/test-generation/generators/mocha-generator.js +92 -17
  32. package/v3/dist/domains/test-generation/generators/mocha-generator.js.map +1 -1
  33. package/v3/dist/domains/test-generation/generators/node-test-generator.d.ts +54 -0
  34. package/v3/dist/domains/test-generation/generators/node-test-generator.d.ts.map +1 -0
  35. package/v3/dist/domains/test-generation/generators/node-test-generator.js +222 -0
  36. package/v3/dist/domains/test-generation/generators/node-test-generator.js.map +1 -0
  37. package/v3/dist/domains/test-generation/generators/pytest-generator.d.ts.map +1 -1
  38. package/v3/dist/domains/test-generation/generators/pytest-generator.js +74 -15
  39. package/v3/dist/domains/test-generation/generators/pytest-generator.js.map +1 -1
  40. package/v3/dist/domains/test-generation/interfaces/test-generator.interface.d.ts +1 -1
  41. package/v3/dist/domains/test-generation/interfaces/test-generator.interface.d.ts.map +1 -1
  42. package/v3/dist/domains/test-generation/interfaces.d.ts +2 -2
  43. package/v3/dist/domains/test-generation/interfaces.d.ts.map +1 -1
  44. package/v3/dist/domains/test-generation/plugin.js.map +1 -1
  45. package/v3/dist/domains/test-generation/services/pattern-matcher.d.ts.map +1 -1
  46. package/v3/dist/domains/test-generation/services/pattern-matcher.js +34 -7
  47. package/v3/dist/domains/test-generation/services/pattern-matcher.js.map +1 -1
  48. package/v3/dist/domains/test-generation/services/test-generator.d.ts.map +1 -1
  49. package/v3/dist/domains/test-generation/services/test-generator.js +42 -9
  50. package/v3/dist/domains/test-generation/services/test-generator.js.map +1 -1
  51. package/v3/dist/mcp/bundle.js +550 -78
  52. package/v3/dist/mcp/tools/test-generation/generate.d.ts +1 -1
  53. package/v3/dist/mcp/tools/test-generation/generate.d.ts.map +1 -1
  54. package/v3/dist/mcp/tools/test-generation/generate.js.map +1 -1
  55. package/v3/dist/shared/sql-safety.d.ts +3 -0
  56. package/v3/dist/shared/sql-safety.d.ts.map +1 -1
  57. package/v3/dist/shared/sql-safety.js +12 -2
  58. package/v3/dist/shared/sql-safety.js.map +1 -1
  59. package/v3/dist/sync/cloud/postgres-writer.d.ts +6 -1
  60. package/v3/dist/sync/cloud/postgres-writer.d.ts.map +1 -1
  61. package/v3/dist/sync/cloud/postgres-writer.js +121 -46
  62. package/v3/dist/sync/cloud/postgres-writer.js.map +1 -1
  63. package/v3/dist/sync/interfaces.d.ts.map +1 -1
  64. package/v3/dist/sync/interfaces.js +97 -32
  65. package/v3/dist/sync/interfaces.js.map +1 -1
  66. package/v3/dist/sync/sync-agent.d.ts.map +1 -1
  67. package/v3/dist/sync/sync-agent.js +8 -24
  68. package/v3/dist/sync/sync-agent.js.map +1 -1
  69. package/v3/package.json +1 -1
@@ -904,7 +904,7 @@
904
904
  },
905
905
  "metadata": {
906
906
  "generatedBy": "Agentic QE Fleet",
907
- "fleetVersion": "3.6.14",
907
+ "fleetVersion": "3.6.16",
908
908
  "manifestVersion": "1.3.0",
909
909
  "lastUpdated": "2026-02-04T00:00:00.000Z",
910
910
  "contributors": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-qe",
3
- "version": "3.6.14",
3
+ "version": "3.6.16",
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",
@@ -87,10 +87,11 @@
87
87
  "commander": "^14.0.1",
88
88
  "fast-glob": "^3.3.3",
89
89
  "fast-json-patch": "^3.1.1",
90
- "jose": "^6.1.3",
91
90
  "hnswlib-node": "^3.0.0",
91
+ "jose": "^6.1.3",
92
92
  "lodash": "^4.17.23",
93
93
  "ora": "^5.4.1",
94
+ "pg": "^8.18.0",
94
95
  "secure-json-parse": "^4.1.0",
95
96
  "typescript": "^5.9.3",
96
97
  "uuid": "^11.0.5",
package/v3/CHANGELOG.md CHANGED
@@ -5,6 +5,48 @@ 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.16] - 2026-02-21
9
+
10
+ ### Added
11
+
12
+ - **Node.js `node:test` runner** — 5th test framework using `node:test` describe/it and `node:assert`. Generate tests with `--framework node-test` for zero-dependency testing on Node.js 18+.
13
+ - **Smart assertions** — Test generators now infer assertion type from function name (`is*` → boolean, `get*` → not undefined, `create*` → truthy) and return type, across all 5 generators including class methods.
14
+ - **Destructured parameter handling** — Functions with `({ a, b })` or `([x, y])` parameters now get proper test values instead of broken variable references. Multiple destructured params get indexed names to avoid collisions.
15
+
16
+ ### Fixed
17
+
18
+ - **`convertToAssert()` double-lambda bug** — `assert.throws(() => action)` never threw because `action` was already a function. Now correctly passes `assert.throws(action)`.
19
+ - **`convertToAssert()` regex ordering** — Specific patterns (`typeof`, `Array.isArray`) now fire before generic `toBe`, preventing garbled output.
20
+ - **Missing `toBeInstanceOf` conversion** — Node:test generator now converts `expect(e).toBeInstanceOf(Error)` to `assert.ok(e instanceof Error)`.
21
+ - **Unconverted `expect()` in action fields** — Boundary/edge-case test actions containing `expect()` are now converted to `assert.*` for node:test output.
22
+ - **`is`/`has`/`can` prefix false positives** — Smart assertions now require uppercase after prefix (e.g., `isValid` matches but `isolate` does not).
23
+ - **Mocha/Pytest missing `#` private method filter** — ES private methods (`#method`) are now excluded from generated tests in all frameworks.
24
+ - **`node-test` missing from runtime paths** — Added to task executor, CLI wizard, shell completions, MCP tools, and plugin interfaces.
25
+
26
+ ### Changed
27
+
28
+ - Smart assertions now apply to class method tests across all generators (previously only standalone functions)
29
+ - Factory test suite expanded to cover all 5 frameworks in integration tests
30
+
31
+ ## [3.6.15] - 2026-02-20
32
+
33
+ ### Fixed
34
+
35
+ - **Test generation produces unusable stub code** (#295) — Fixed 11 bugs across 8 files in the test-generation domain:
36
+ - Python import regex matching `{` from TypeScript destructured imports as a dependency
37
+ - Non-exported functions/classes getting test stubs (all 4 generators: Jest, Vitest, Mocha, Pytest)
38
+ - Undefined `mockXxx` variables from unknown types — now returns safe inline values
39
+ - Missing void return type handling in Mocha and Pytest generators
40
+ - `pattern-matcher` `generateMockValue()` returning bare variable references
41
+ - Generated test files only printed to stdout, never written to disk
42
+ - Blanket `toThrow()` assertions for undefined params — now wrapped in try-catch
43
+ - **Cloud sync silently falls back to mock mode** — `await import('pg')` fails inside esbuild bundles. Changed to `createRequire(import.meta.url)('pg')` which resolves correctly at runtime. Separated "pg not installed" from "connection failed" error paths.
44
+ - **Cloud sync source paths resolve to wrong directory** — JSON source paths used `../` prefix that resolved relative to `v3/` instead of project root. Fixed all sync source paths to use `./` prefix.
45
+
46
+ ### Added
47
+
48
+ - Data protection rules in CLAUDE.md to prevent accidental database deletion or corruption by AI agents
49
+
8
50
  ## [3.6.14] - 2026-02-20
9
51
 
10
52
  ### Fixed