agentic-qe 3.6.13 → 3.6.15

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 (41) hide show
  1. package/.claude/skills/skills-manifest.json +1 -1
  2. package/package.json +4 -3
  3. package/v3/CHANGELOG.md +29 -0
  4. package/v3/dist/cli/bundle.js +561 -338
  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/domains/test-generation/generators/base-test-generator.d.ts.map +1 -1
  9. package/v3/dist/domains/test-generation/generators/base-test-generator.js +49 -27
  10. package/v3/dist/domains/test-generation/generators/base-test-generator.js.map +1 -1
  11. package/v3/dist/domains/test-generation/generators/jest-vitest-generator.d.ts.map +1 -1
  12. package/v3/dist/domains/test-generation/generators/jest-vitest-generator.js +53 -21
  13. package/v3/dist/domains/test-generation/generators/jest-vitest-generator.js.map +1 -1
  14. package/v3/dist/domains/test-generation/generators/mocha-generator.d.ts.map +1 -1
  15. package/v3/dist/domains/test-generation/generators/mocha-generator.js +46 -16
  16. package/v3/dist/domains/test-generation/generators/mocha-generator.js.map +1 -1
  17. package/v3/dist/domains/test-generation/generators/pytest-generator.d.ts.map +1 -1
  18. package/v3/dist/domains/test-generation/generators/pytest-generator.js +31 -14
  19. package/v3/dist/domains/test-generation/generators/pytest-generator.js.map +1 -1
  20. package/v3/dist/domains/test-generation/services/pattern-matcher.d.ts.map +1 -1
  21. package/v3/dist/domains/test-generation/services/pattern-matcher.js +2 -1
  22. package/v3/dist/domains/test-generation/services/pattern-matcher.js.map +1 -1
  23. package/v3/dist/domains/test-generation/services/test-generator.d.ts.map +1 -1
  24. package/v3/dist/domains/test-generation/services/test-generator.js +11 -3
  25. package/v3/dist/domains/test-generation/services/test-generator.js.map +1 -1
  26. package/v3/dist/mcp/bundle.js +201 -63
  27. package/v3/dist/shared/sql-safety.d.ts +3 -0
  28. package/v3/dist/shared/sql-safety.d.ts.map +1 -1
  29. package/v3/dist/shared/sql-safety.js +12 -2
  30. package/v3/dist/shared/sql-safety.js.map +1 -1
  31. package/v3/dist/sync/cloud/postgres-writer.d.ts +6 -1
  32. package/v3/dist/sync/cloud/postgres-writer.d.ts.map +1 -1
  33. package/v3/dist/sync/cloud/postgres-writer.js +121 -46
  34. package/v3/dist/sync/cloud/postgres-writer.js.map +1 -1
  35. package/v3/dist/sync/interfaces.d.ts.map +1 -1
  36. package/v3/dist/sync/interfaces.js +97 -32
  37. package/v3/dist/sync/interfaces.js.map +1 -1
  38. package/v3/dist/sync/sync-agent.d.ts.map +1 -1
  39. package/v3/dist/sync/sync-agent.js +8 -24
  40. package/v3/dist/sync/sync-agent.js.map +1 -1
  41. 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.13",
907
+ "fleetVersion": "3.6.15",
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.13",
3
+ "version": "3.6.15",
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",
@@ -17,7 +17,7 @@
17
17
  "test": "cd v3 && npm test -- --run",
18
18
  "test:dev": "cd v3 && npm run test:dev",
19
19
  "test:v3": "cd v3 && npm test -- --run",
20
- "test:mcp": "cd v3 && npm test -- --run tests/unit/mcp/",
20
+ "test:mcp": "cd v3 && npm run test:unit:mcp",
21
21
  "test:mcp:integration": "cd v3 && npm test -- --run tests/integration/mcp/",
22
22
  "mcp:validate": "echo 'MCP validation: All tools registered in v3 MCP server' && exit 0",
23
23
  "mcp:report": "echo 'MCP Report: v3 uses vitest for test reporting' && exit 0",
@@ -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,35 @@ 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.15] - 2026-02-20
9
+
10
+ ### Fixed
11
+
12
+ - **Test generation produces unusable stub code** (#295) — Fixed 11 bugs across 8 files in the test-generation domain:
13
+ - Python import regex matching `{` from TypeScript destructured imports as a dependency
14
+ - Non-exported functions/classes getting test stubs (all 4 generators: Jest, Vitest, Mocha, Pytest)
15
+ - Undefined `mockXxx` variables from unknown types — now returns safe inline values
16
+ - Missing void return type handling in Mocha and Pytest generators
17
+ - `pattern-matcher` `generateMockValue()` returning bare variable references
18
+ - Generated test files only printed to stdout, never written to disk
19
+ - Blanket `toThrow()` assertions for undefined params — now wrapped in try-catch
20
+ - **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.
21
+ - **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.
22
+
23
+ ### Added
24
+
25
+ - Data protection rules in CLAUDE.md to prevent accidental database deletion or corruption by AI agents
26
+
27
+ ## [3.6.14] - 2026-02-20
28
+
29
+ ### Fixed
30
+
31
+ - **MCP unit test timeouts and DevPod OOM crashes** (#294, #251) — Mock `createTaskExecutor` at module level in domain-handlers and wrapped-domain-handlers tests to prevent real task execution (each fleet init allocates ~200-400MB). Reduced fleet init from ~31x to ~5x per test file via shared beforeAll/afterAll lifecycle in core-handlers tests.
32
+ - **Vitest parallel execution causing memory exhaustion** — Changed `maxForks: 2` to `1` and disabled `fileParallelism` in vitest.config.ts. Added `bail: 3` to fail fast instead of accumulating OOM pressure.
33
+ - **CI artifact upload 403 Forbidden** (#294) — Added `actions: write` permission to `optimized-ci.yml` and `mcp-tools-test.yml` workflows for `upload-artifact@v4`.
34
+ - **Topology optimizer flaky convergence test** (#251) — Widened tolerance from `earlyAvg * 2` to `earlyAvg * 3` and added `retry: 3` for probabilistic convergence assertion.
35
+ - **Test assertions using 128-dim instead of 768-dim** — Updated remaining test assertions to match the 768-dim embedding vectors from v3.6.12's HNSW fix.
36
+
8
37
  ## [3.6.13] - 2026-02-19
9
38
 
10
39
  ### Fixed