agentic-qe 3.7.17 → 3.7.18

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.
@@ -904,7 +904,7 @@
904
904
  },
905
905
  "metadata": {
906
906
  "generatedBy": "Agentic QE Fleet",
907
- "fleetVersion": "3.7.17",
907
+ "fleetVersion": "3.7.18",
908
908
  "manifestVersion": "1.3.0",
909
909
  "lastUpdated": "2026-02-04T00:00:00.000Z",
910
910
  "contributors": [
package/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@ All notable changes to the Agentic QE project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [3.7.18] - 2026-03-11
9
+
10
+ ### Fixed
11
+
12
+ - **Critical: `aqe init --auto` not installing agents on upgrade** — `preserveOverridesDir()` used `__dirname` (unavailable in ESM bundles), causing a TypeError that crashed the agents installer. Skills were silently installed but agents were skipped, and the phase reported 0/0. Fixed by using `import.meta.url` path resolution with fallback.
13
+ - **Assets phase error isolation** — Agents installer errors no longer crash the entire assets phase. Skills and agents install independently, so a failure in one doesn't prevent the other from completing and reporting counts.
14
+
8
15
  ## [3.7.17] - 2026-03-11
9
16
 
10
17
  ### Added
@@ -135299,7 +135299,7 @@ var ALL_DOMAINS2 = [
135299
135299
  "enterprise-integration"
135300
135300
  ];
135301
135301
  function getAQEVersion() {
135302
- return true ? "3.7.17" : "3.0.0";
135302
+ return true ? "3.7.18" : "3.0.0";
135303
135303
  }
135304
135304
  function createDefaultConfig(projectName, projectRoot) {
135305
135305
  return {
@@ -137955,15 +137955,20 @@ var AgentsInstaller = class {
137955
137955
  }
137956
137956
  const exampleDest = join24(overridesDir, "_example.yaml");
137957
137957
  if (!existsSync20(exampleDest)) {
137958
- const templateSources = [
137959
- join24(__dirname, "..", "..", "assets", "templates", "agent-override-example.yaml"),
137960
- join24(__dirname, "..", "assets", "templates", "agent-override-example.yaml")
137961
- ];
137962
- for (const src of templateSources) {
137963
- if (existsSync20(src)) {
137964
- copyFileSync6(src, exampleDest);
137965
- break;
137958
+ try {
137959
+ const moduleDir = dirname7(fileURLToPath2(import.meta.url));
137960
+ const templateSources = [
137961
+ join24(moduleDir, "..", "..", "assets", "templates", "agent-override-example.yaml"),
137962
+ join24(moduleDir, "..", "assets", "templates", "agent-override-example.yaml"),
137963
+ join24(this.projectRoot, "node_modules", "agentic-qe", "assets", "templates", "agent-override-example.yaml")
137964
+ ];
137965
+ for (const src of templateSources) {
137966
+ if (existsSync20(src)) {
137967
+ copyFileSync6(src, exampleDest);
137968
+ break;
137969
+ }
137966
137970
  }
137971
+ } catch {
137967
137972
  }
137968
137973
  }
137969
137974
  }
@@ -141626,16 +141631,20 @@ var AssetsPhase = class extends BasePhase {
141626
141631
  context2.services.warn(`Skills warnings: ${skillsResult.errors.join(", ")}`);
141627
141632
  }
141628
141633
  }
141629
- const agentsInstaller = createAgentsInstaller({
141630
- projectRoot,
141631
- installQEAgents: true,
141632
- installSubagents: true,
141633
- overwrite: shouldOverwrite
141634
- });
141635
- const agentsResult = await agentsInstaller.install();
141636
- agentsInstalled = agentsResult.installed.length;
141637
- if (agentsResult.errors.length > 0) {
141638
- context2.services.warn(`Agents warnings: ${agentsResult.errors.join(", ")}`);
141634
+ try {
141635
+ const agentsInstaller = createAgentsInstaller({
141636
+ projectRoot,
141637
+ installQEAgents: true,
141638
+ installSubagents: true,
141639
+ overwrite: shouldOverwrite
141640
+ });
141641
+ const agentsResult = await agentsInstaller.install();
141642
+ agentsInstalled = agentsResult.installed.length;
141643
+ if (agentsResult.errors.length > 0) {
141644
+ context2.services.warn(`Agents warnings: ${agentsResult.errors.join(", ")}`);
141645
+ }
141646
+ } catch (error) {
141647
+ context2.services.warn(`Agents install error: ${error instanceof Error ? error.message : error}`);
141639
141648
  }
141640
141649
  initializeOverlays(projectRoot);
141641
141650
  if (options.withN8n) {
@@ -166095,7 +166104,7 @@ async function cleanupAndExit(code = 0) {
166095
166104
  process.exit(code);
166096
166105
  }
166097
166106
  var program = new Command21();
166098
- var VERSION = true ? "3.7.17" : "0.0.0-dev";
166107
+ var VERSION = true ? "3.7.18" : "0.0.0-dev";
166099
166108
  program.name("aqe").description("Agentic QE - Domain-Driven Quality Engineering").version(VERSION);
166100
166109
  var registry2 = createCommandRegistry(context, cleanupAndExit, ensureInitialized, ensureInitializedStrict);
166101
166110
  registry2.registerAll(program);
@@ -182,16 +182,23 @@ export class AgentsInstaller {
182
182
  // Copy the example overlay template if not already present
183
183
  const exampleDest = join(overridesDir, '_example.yaml');
184
184
  if (!existsSync(exampleDest)) {
185
- const templateSources = [
186
- join(__dirname, '..', '..', 'assets', 'templates', 'agent-override-example.yaml'),
187
- join(__dirname, '..', 'assets', 'templates', 'agent-override-example.yaml'),
188
- ];
189
- for (const src of templateSources) {
190
- if (existsSync(src)) {
191
- copyFileSync(src, exampleDest);
192
- break;
185
+ try {
186
+ const moduleDir = dirname(fileURLToPath(import.meta.url));
187
+ const templateSources = [
188
+ join(moduleDir, '..', '..', 'assets', 'templates', 'agent-override-example.yaml'),
189
+ join(moduleDir, '..', 'assets', 'templates', 'agent-override-example.yaml'),
190
+ join(this.projectRoot, 'node_modules', 'agentic-qe', 'assets', 'templates', 'agent-override-example.yaml'),
191
+ ];
192
+ for (const src of templateSources) {
193
+ if (existsSync(src)) {
194
+ copyFileSync(src, exampleDest);
195
+ break;
196
+ }
193
197
  }
194
198
  }
199
+ catch {
200
+ // Template copy is non-critical — skip silently
201
+ }
195
202
  }
196
203
  }
197
204
  /**
@@ -56,16 +56,21 @@ export class AssetsPhase extends BasePhase {
56
56
  }
57
57
  }
58
58
  // Install agents
59
- const agentsInstaller = createAgentsInstaller({
60
- projectRoot,
61
- installQEAgents: true,
62
- installSubagents: true,
63
- overwrite: shouldOverwrite,
64
- });
65
- const agentsResult = await agentsInstaller.install();
66
- agentsInstalled = agentsResult.installed.length;
67
- if (agentsResult.errors.length > 0) {
68
- context.services.warn(`Agents warnings: ${agentsResult.errors.join(', ')}`);
59
+ try {
60
+ const agentsInstaller = createAgentsInstaller({
61
+ projectRoot,
62
+ installQEAgents: true,
63
+ installSubagents: true,
64
+ overwrite: shouldOverwrite,
65
+ });
66
+ const agentsResult = await agentsInstaller.install();
67
+ agentsInstalled = agentsResult.installed.length;
68
+ if (agentsResult.errors.length > 0) {
69
+ context.services.warn(`Agents warnings: ${agentsResult.errors.join(', ')}`);
70
+ }
71
+ }
72
+ catch (error) {
73
+ context.services.warn(`Agents install error: ${error instanceof Error ? error.message : error}`);
69
74
  }
70
75
  // Initialize overlay configs in agent registry for runtime use
71
76
  initializeOverlays(projectRoot);
@@ -173903,7 +173903,7 @@ async function handleAQEHealth() {
173903
173903
  success: true,
173904
173904
  data: {
173905
173905
  status: healthStatus,
173906
- version: true ? "3.7.17" : "3.7.2",
173906
+ version: true ? "3.7.18" : "3.7.2",
173907
173907
  loadedDomains: domainCount,
173908
173908
  memory: memoryStats,
173909
173909
  hnsw: hnswStats,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-qe",
3
- "version": "3.7.17",
3
+ "version": "3.7.18",
4
4
  "description": "Agentic Quality Engineering V3 - Domain-Driven Design Architecture with 13 Bounded Contexts, O(log n) coverage analysis, ReasoningBank learning, 60 specialized QE agents, mathematical Coherence verification, deep Claude Flow integration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",