agentic-qe 3.7.11 → 3.7.13
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.
- package/.claude/skills/.validation/schemas/skill-frontmatter.schema.json +5 -0
- package/.claude/skills/release/SKILL.md +44 -2
- package/.claude/skills/skills-manifest.json +1 -1
- package/CHANGELOG.md +20 -0
- package/assets/skills/.validation/schemas/skill-frontmatter.schema.json +5 -0
- package/dist/cli/bundle.js +357 -307
- package/dist/domains/test-generation/services/pattern-matcher.js +1 -1
- package/dist/domains/test-generation/services/pattern-matcher.js.map +1 -1
- package/dist/domains/test-generation/services/test-generator.js +1 -1
- package/dist/domains/test-generation/services/test-generator.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/mcp/bundle.js +206 -165
- package/dist/shared/parsers/typescript-parser.d.ts +1 -1
- package/dist/shared/parsers/typescript-parser.d.ts.map +1 -1
- package/dist/shared/parsers/typescript-parser.js +1 -1
- package/dist/shared/parsers/typescript-parser.js.map +1 -1
- package/dist/validation/index.d.ts +4 -0
- package/dist/validation/index.d.ts.map +1 -1
- package/dist/validation/index.js +8 -0
- package/dist/validation/index.js.map +1 -1
- package/dist/validation/trigger-optimizer.d.ts +61 -0
- package/dist/validation/trigger-optimizer.d.ts.map +1 -0
- package/dist/validation/trigger-optimizer.js +356 -0
- package/dist/validation/trigger-optimizer.js.map +1 -0
- package/dist/validation/version-comparator.d.ts +115 -0
- package/dist/validation/version-comparator.d.ts.map +1 -0
- package/dist/validation/version-comparator.js +322 -0
- package/dist/validation/version-comparator.js.map +1 -0
- package/package.json +1 -1
- package/scripts/build-cli.mjs +62 -11
- package/scripts/build-mcp.mjs +53 -11
|
@@ -226,6 +226,11 @@
|
|
|
226
226
|
"default": 0,
|
|
227
227
|
"description": "Trust tier level for validation. 0=Declarative (SKILL.md only), 1=Structured (+ JSON output schema), 2=Validated (+ executable validator), 3=Evaluated (+ evaluation test suite)"
|
|
228
228
|
},
|
|
229
|
+
"skill_intent": {
|
|
230
|
+
"type": "string",
|
|
231
|
+
"enum": ["capability_uplift", "encoded_preference", "hybrid"],
|
|
232
|
+
"description": "Skill intent classification. 'capability_uplift' = fills gaps in base model abilities, needs regression testing as models improve. 'encoded_preference' = automates established workflows/standards, needs fidelity verification. 'hybrid' = combines both intents."
|
|
233
|
+
},
|
|
229
234
|
"validation": {
|
|
230
235
|
"type": "object",
|
|
231
236
|
"description": "Validation configuration for Trust But Verify system (required for trust_tier >= 1)",
|
|
@@ -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.
|
|
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
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,26 @@ 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.13] - 2026-03-07
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **Trigger Optimizer** — Analyzes skill descriptions and tags to detect false positive/negative activation risks. Calculates Jaccard similarity across the skill fleet, identifies confusable skills, and generates actionable suggestions to improve trigger precision.
|
|
13
|
+
- **Version Comparator** — A/B testing between skill versions using Cohen's d effect size and confidence scoring. Produces per-test-case comparisons and Markdown reports for data-driven skill improvement decisions.
|
|
14
|
+
- **Skill Intent Classification** — New `skill_intent` frontmatter field classifies skills as `capability_uplift` (fills model gaps), `encoded_preference` (encodes team workflows), or `hybrid`. Drives different validation strategies per intent type.
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- ADR-056 updated with Phase 6 (Blog-Inspired Improvements) documenting the three new features.
|
|
19
|
+
- Validation module index now exports TriggerOptimizer, VersionComparator, and all associated types.
|
|
20
|
+
|
|
21
|
+
## [3.7.12] - 2026-03-06
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- **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.
|
|
26
|
+
- **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.
|
|
27
|
+
|
|
8
28
|
## [3.7.11] - 2026-03-06
|
|
9
29
|
|
|
10
30
|
### Added
|
|
@@ -226,6 +226,11 @@
|
|
|
226
226
|
"default": 0,
|
|
227
227
|
"description": "Trust tier level for validation. 0=Declarative (SKILL.md only), 1=Structured (+ JSON output schema), 2=Validated (+ executable validator), 3=Evaluated (+ evaluation test suite)"
|
|
228
228
|
},
|
|
229
|
+
"skill_intent": {
|
|
230
|
+
"type": "string",
|
|
231
|
+
"enum": ["capability_uplift", "encoded_preference", "hybrid"],
|
|
232
|
+
"description": "Skill intent classification. 'capability_uplift' = fills gaps in base model abilities, needs regression testing as models improve. 'encoded_preference' = automates established workflows/standards, needs fidelity verification. 'hybrid' = combines both intents."
|
|
233
|
+
},
|
|
229
234
|
"validation": {
|
|
230
235
|
"type": "object",
|
|
231
236
|
"description": "Validation configuration for Trust But Verify system (required for trust_tier >= 1)",
|