agentic-qe 3.7.11 → 3.7.12

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.
@@ -195,7 +195,23 @@ node /workspaces/agentic-qe-new/dist/cli/bundle.js health 2>&1 | head -10
195
195
  ```
196
196
  These should respond (even if empty results) without errors, confirming the subsystems initialize properly.
197
197
 
198
- #### 8e. Cleanup
198
+ #### 8e. Isolated Dependency Check (catches missing externals)
199
+ ```bash
200
+ # Pack and install in a clean temp directory to simulate real user install
201
+ CLEAN_DIR=$(mktemp -d)
202
+ npm pack --pack-destination "$CLEAN_DIR" 2>&1 | tail -2
203
+ cd "$CLEAN_DIR"
204
+ npm init -y > /dev/null 2>&1
205
+ npm install ./agentic-qe-<version>.tgz 2>&1 | tail -3
206
+ node node_modules/.bin/aqe --version 2>&1
207
+ EXIT=$?
208
+ echo "Exit code: $EXIT"
209
+ cd /workspaces/agentic-qe-new
210
+ rm -rf "$CLEAN_DIR"
211
+ ```
212
+ Must exit 0 and print the correct version. If it crashes with `ERR_MODULE_NOT_FOUND`, a dependency is marked as external in the build scripts but not listed in `dependencies`. Fix by either bundling it, lazy-loading it, or adding it to dependencies.
213
+
214
+ #### 8f. Cleanup
199
215
  ```bash
200
216
  rm -rf /tmp/aqe-release-test
201
217
  ```
@@ -328,11 +344,37 @@ gh run view <run-id> --log-failed
328
344
  ```bash
329
345
  npm view agentic-qe@<version> name version
330
346
  ```
331
- Confirm the published version matches. Test install:
347
+ Confirm the published version matches. Test install in local environment:
332
348
  ```bash
333
349
  npx agentic-qe@<version> --version
334
350
  ```
335
351
 
352
+ ### 15. Isolated Install Verification (CRITICAL)
353
+
354
+ This step catches missing/external dependency issues that only manifest in clean environments (e.g., `typescript` not being available when installed globally). This MUST pass before declaring the release successful.
355
+
356
+ ```bash
357
+ # Create a completely isolated install — no access to project node_modules
358
+ CLEAN_DIR=$(mktemp -d)
359
+ npm install --prefix "$CLEAN_DIR" agentic-qe@<version> 2>&1 | tail -5
360
+
361
+ # Test CLI commands using ONLY the isolated install's dependencies
362
+ NODE_PATH="$CLEAN_DIR/node_modules" node "$CLEAN_DIR/node_modules/.bin/aqe" --version
363
+ NODE_PATH="$CLEAN_DIR/node_modules" node "$CLEAN_DIR/node_modules/.bin/aqe" --help 2>&1 | head -5
364
+
365
+ # Cleanup
366
+ rm -rf "$CLEAN_DIR"
367
+ ```
368
+
369
+ If `--version` crashes (e.g., `ERR_MODULE_NOT_FOUND`), the release has a broken dependency. Diagnose whether the missing package should be:
370
+ - **Bundled** into the CLI (add to build script, remove from externals)
371
+ - **Added to `dependencies`** in package.json (if it's a real runtime dep)
372
+ - **Lazy-loaded** with try/catch (if only needed for optional features)
373
+
374
+ Fix, rebuild, and re-release if this step fails. Never ship a CLI that crashes on `--version`.
375
+
376
+ **STOP — confirm isolated install works.**
377
+
336
378
  ## Rules
337
379
 
338
380
  - **Single package.json** at root — no v3/ subdirectory exists
@@ -904,7 +904,7 @@
904
904
  },
905
905
  "metadata": {
906
906
  "generatedBy": "Agentic QE Fleet",
907
- "fleetVersion": "3.7.11",
907
+ "fleetVersion": "3.7.12",
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.12] - 2026-03-06
9
+
10
+ ### Fixed
11
+
12
+ - **CLI crash on global install** — `aqe --version` crashed with `ERR_MODULE_NOT_FOUND: Cannot find package 'typescript'` when installed globally (`npm i -g agentic-qe`). TypeScript was marked as an external ESM dependency in the build but is only a devDependency, so it's absent in clean environments. Now lazy-loaded via `createRequire` Proxy — only loads when AST parsing features are actually used.
13
+ - **Release skill missing isolated install check** — Added pre-release step 8e (isolated dependency check) and post-publish step 15 (clean-environment install verification) to catch missing external dependencies before they reach users.
14
+
8
15
  ## [3.7.11] - 2026-03-06
9
16
 
10
17
  ### Added