agentic-qe 3.5.4 → 3.5.5
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/debug-loop/SKILL.md +61 -0
- package/.claude/skills/pr-review/SKILL.md +61 -0
- package/.claude/skills/release/SKILL.md +333 -0
- package/.claude/skills/skills-manifest.json +1 -1
- package/package.json +1 -1
- package/v3/CHANGELOG.md +18 -0
- package/v3/dist/cli/bundle.js +1614 -332
- package/v3/dist/cli/commands/coverage.d.ts.map +1 -1
- package/v3/dist/cli/commands/coverage.js +29 -0
- package/v3/dist/cli/commands/coverage.js.map +1 -1
- package/v3/dist/cli/commands/learning.d.ts.map +1 -1
- package/v3/dist/cli/commands/learning.js +9 -0
- package/v3/dist/cli/commands/learning.js.map +1 -1
- package/v3/dist/domains/coverage-analysis/coordinator.d.ts +8 -0
- package/v3/dist/domains/coverage-analysis/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/coverage-analysis/coordinator.js +67 -0
- package/v3/dist/domains/coverage-analysis/coordinator.js.map +1 -1
- package/v3/dist/domains/coverage-analysis/interfaces.d.ts +33 -0
- package/v3/dist/domains/coverage-analysis/interfaces.d.ts.map +1 -1
- package/v3/dist/domains/coverage-analysis/plugin.d.ts.map +1 -1
- package/v3/dist/domains/coverage-analysis/plugin.js +17 -0
- package/v3/dist/domains/coverage-analysis/plugin.js.map +1 -1
- package/v3/dist/domains/coverage-analysis/services/ghost-coverage-analyzer.d.ts +125 -0
- package/v3/dist/domains/coverage-analysis/services/ghost-coverage-analyzer.d.ts.map +1 -0
- package/v3/dist/domains/coverage-analysis/services/ghost-coverage-analyzer.js +317 -0
- package/v3/dist/domains/coverage-analysis/services/ghost-coverage-analyzer.js.map +1 -0
- package/v3/dist/domains/coverage-analysis/services/index.d.ts +1 -0
- package/v3/dist/domains/coverage-analysis/services/index.d.ts.map +1 -1
- package/v3/dist/domains/coverage-analysis/services/index.js +4 -0
- package/v3/dist/domains/coverage-analysis/services/index.js.map +1 -1
- package/v3/dist/domains/test-execution/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/coordinator.js +34 -0
- package/v3/dist/domains/test-execution/coordinator.js.map +1 -1
- package/v3/dist/kernel/anti-drift-middleware.d.ts +94 -0
- package/v3/dist/kernel/anti-drift-middleware.d.ts.map +1 -0
- package/v3/dist/kernel/anti-drift-middleware.js +235 -0
- package/v3/dist/kernel/anti-drift-middleware.js.map +1 -0
- package/v3/dist/kernel/event-bus.d.ts +15 -1
- package/v3/dist/kernel/event-bus.d.ts.map +1 -1
- package/v3/dist/kernel/event-bus.js +52 -6
- package/v3/dist/kernel/event-bus.js.map +1 -1
- package/v3/dist/kernel/interfaces.d.ts +35 -0
- package/v3/dist/kernel/interfaces.d.ts.map +1 -1
- package/v3/dist/kernel/kernel.d.ts.map +1 -1
- package/v3/dist/kernel/kernel.js +11 -0
- package/v3/dist/kernel/kernel.js.map +1 -1
- package/v3/dist/learning/asymmetric-learning.d.ts +133 -0
- package/v3/dist/learning/asymmetric-learning.d.ts.map +1 -0
- package/v3/dist/learning/asymmetric-learning.js +170 -0
- package/v3/dist/learning/asymmetric-learning.js.map +1 -0
- package/v3/dist/learning/pattern-lifecycle.d.ts +26 -0
- package/v3/dist/learning/pattern-lifecycle.d.ts.map +1 -1
- package/v3/dist/learning/pattern-lifecycle.js +83 -0
- package/v3/dist/learning/pattern-lifecycle.js.map +1 -1
- package/v3/dist/learning/qe-patterns.d.ts +8 -0
- package/v3/dist/learning/qe-patterns.d.ts.map +1 -1
- package/v3/dist/learning/qe-patterns.js.map +1 -1
- package/v3/dist/learning/real-qe-reasoning-bank.d.ts +8 -0
- package/v3/dist/learning/real-qe-reasoning-bank.d.ts.map +1 -1
- package/v3/dist/learning/real-qe-reasoning-bank.js +33 -4
- package/v3/dist/learning/real-qe-reasoning-bank.js.map +1 -1
- package/v3/dist/mcp/bundle.js +1613 -333
- package/v3/dist/mcp/tools/coverage-analysis/index.d.ts +7 -0
- package/v3/dist/mcp/tools/coverage-analysis/index.d.ts.map +1 -1
- package/v3/dist/mcp/tools/coverage-analysis/index.js +30 -0
- package/v3/dist/mcp/tools/coverage-analysis/index.js.map +1 -1
- package/v3/dist/shared/types/index.d.ts +19 -0
- package/v3/dist/shared/types/index.d.ts.map +1 -1
- package/v3/dist/shared/types/index.js.map +1 -1
- package/v3/package.json +9 -6
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: debug-loop
|
|
3
|
+
description: Hypothesis-driven autonomous debugging with real command validation
|
|
4
|
+
trust_tier: 3
|
|
5
|
+
domain: debugging
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Debug Loop
|
|
9
|
+
|
|
10
|
+
Autonomous hypothesis-driven debugging against real data. No guessing, no simulating.
|
|
11
|
+
|
|
12
|
+
## Arguments
|
|
13
|
+
|
|
14
|
+
- `<symptom>` — Description of the bug or unexpected behavior. If omitted, prompt the user.
|
|
15
|
+
|
|
16
|
+
## Phases
|
|
17
|
+
|
|
18
|
+
### Phase 1 — Reproduce
|
|
19
|
+
Run the exact command that shows the bug. Capture and display the REAL output. Confirm the bug is visible.
|
|
20
|
+
|
|
21
|
+
If the bug cannot be reproduced, stop and explain what was tried.
|
|
22
|
+
|
|
23
|
+
### Phase 2 — Hypothesize and Test (up to 5 iterations)
|
|
24
|
+
For each iteration:
|
|
25
|
+
1. State a specific hypothesis (e.g., "the query targets v2 tables but data is in v3 tables")
|
|
26
|
+
2. Run a REAL command to test it (e.g., `sqlite3 [db path] '.tables'` then `SELECT COUNT(*) FROM [table]`)
|
|
27
|
+
3. Record whether the hypothesis was confirmed or rejected
|
|
28
|
+
4. If rejected, form the next hypothesis based on what you learned
|
|
29
|
+
|
|
30
|
+
**Do NOT make code changes until you have a confirmed root cause.**
|
|
31
|
+
|
|
32
|
+
Important checks:
|
|
33
|
+
- Always check both v2 and v3 SQLite tables when data issues are suspected
|
|
34
|
+
- Check dependency versions (e.g., sqlite3 vs better-sqlite3)
|
|
35
|
+
- Check for hardcoded values that may have been missed
|
|
36
|
+
|
|
37
|
+
### Phase 3 — Fix
|
|
38
|
+
Make the minimal targeted fix. Explain:
|
|
39
|
+
- What the root cause was
|
|
40
|
+
- What you're changing and why
|
|
41
|
+
- What the blast radius is (which other code paths are affected)
|
|
42
|
+
|
|
43
|
+
Before applying, grep for ALL instances of the problematic pattern across the entire codebase.
|
|
44
|
+
|
|
45
|
+
### Phase 4 — Verify
|
|
46
|
+
Run the SAME reproduction command from Phase 1. The output must now show correct values. If it doesn't, go back to Phase 2.
|
|
47
|
+
|
|
48
|
+
Show before/after output comparison.
|
|
49
|
+
|
|
50
|
+
### Phase 5 — Regression
|
|
51
|
+
```bash
|
|
52
|
+
npm test
|
|
53
|
+
```
|
|
54
|
+
Run the full test suite. If tests fail, fix them before committing.
|
|
55
|
+
|
|
56
|
+
## Rules
|
|
57
|
+
|
|
58
|
+
- NEVER guess or simulate output — always run real commands
|
|
59
|
+
- NEVER make code changes before confirming root cause
|
|
60
|
+
- Always check for the pattern across the entire codebase, not just one file
|
|
61
|
+
- If blocked after 5 hypotheses, stop and ask the user for guidance
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: pr-review
|
|
3
|
+
description: Scope-aware GitHub PR review with user-friendly tone and trust tier validation
|
|
4
|
+
trust_tier: 3
|
|
5
|
+
domain: code-review
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# PR Review Workflow
|
|
9
|
+
|
|
10
|
+
Review pull requests with correct AQE scope boundaries, clear communication, and actionable feedback.
|
|
11
|
+
|
|
12
|
+
## Arguments
|
|
13
|
+
|
|
14
|
+
- `<pr-number>` — GitHub PR number to review. If omitted, prompt the user.
|
|
15
|
+
|
|
16
|
+
## Steps
|
|
17
|
+
|
|
18
|
+
### 1. Read the Full Diff
|
|
19
|
+
```bash
|
|
20
|
+
gh pr diff <pr-number>
|
|
21
|
+
gh pr view <pr-number>
|
|
22
|
+
```
|
|
23
|
+
Read the complete diff and PR description. Do not skim — read every changed file.
|
|
24
|
+
|
|
25
|
+
### 2. Scope Check
|
|
26
|
+
- Only analyze AQE/QE skills (NOT Claude Flow platform skills)
|
|
27
|
+
- Platform skills to EXCLUDE: v3-*, flow-nexus-*, agentdb-*, reasoningbank-*, swarm-advanced, swarm-orchestration
|
|
28
|
+
- If the PR touches skills, verify the count/scope matches expectations (~63 AQE skills)
|
|
29
|
+
- Flag any platform skill changes that may have leaked into an AQE-focused PR
|
|
30
|
+
|
|
31
|
+
### 3. Summarize Changes
|
|
32
|
+
Write a user-friendly summary of what changed and why:
|
|
33
|
+
- Focus on outcomes, not implementation details
|
|
34
|
+
- Avoid overly technical jargon
|
|
35
|
+
- Keep it to 3-5 bullet points
|
|
36
|
+
|
|
37
|
+
### 4. Trust Tier Validation
|
|
38
|
+
For any skill changes, validate trust_tier assignments:
|
|
39
|
+
- **tier 3** = has eval infrastructure (evals/, schemas/, scripts/)
|
|
40
|
+
- **tier 2** = tested but no eval framework
|
|
41
|
+
- **tier 1** = untested
|
|
42
|
+
- Flag inconsistencies (e.g., a skill with evals at tier 2 should be tier 3)
|
|
43
|
+
|
|
44
|
+
### 5. Code Quality Review
|
|
45
|
+
Check for:
|
|
46
|
+
- Hardcoded version strings
|
|
47
|
+
- Production safety concerns (adapter changes, breaking changes)
|
|
48
|
+
- Missing test coverage for new code
|
|
49
|
+
- Security issues (exposed secrets, injection risks)
|
|
50
|
+
|
|
51
|
+
### 6. Post Review
|
|
52
|
+
```bash
|
|
53
|
+
gh pr review <pr-number> --body "review comments"
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Communication Rules
|
|
57
|
+
|
|
58
|
+
- Keep tone constructive and actionable
|
|
59
|
+
- Be outcome-focused: what should the author do, not what's wrong
|
|
60
|
+
- Group related comments together instead of posting many small ones
|
|
61
|
+
- If approving with minor suggestions, use APPROVE with comments, not REQUEST_CHANGES
|
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: release
|
|
3
|
+
description: End-to-end npm release workflow with verification gates and hardcoded-version protection
|
|
4
|
+
trust_tier: 3
|
|
5
|
+
domain: release-management
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Release Workflow
|
|
9
|
+
|
|
10
|
+
Execute a safe, verified npm release for the `agentic-qe` monorepo. STOP after each phase for user confirmation.
|
|
11
|
+
|
|
12
|
+
## Architecture
|
|
13
|
+
|
|
14
|
+
This project has a **dual-package structure** — both must stay in sync:
|
|
15
|
+
|
|
16
|
+
| File | Package Name | Role |
|
|
17
|
+
|------|-------------|------|
|
|
18
|
+
| `package.json` (root) | `agentic-qe` | **Published to npm** — the installable package |
|
|
19
|
+
| `v3/package.json` | `@agentic-qe/v3` | **Actual implementation** — CLI, MCP, domains |
|
|
20
|
+
|
|
21
|
+
- Root `prepublishOnly` hook runs `cd v3 && npm run build`
|
|
22
|
+
- `npm publish` runs from the **root** directory
|
|
23
|
+
- GitHub Actions triggers on `release: published` event via `.github/workflows/npm-publish.yml`
|
|
24
|
+
|
|
25
|
+
## Arguments
|
|
26
|
+
|
|
27
|
+
- `<version>` — Target version (e.g., `3.5.5`). If omitted, prompt the user.
|
|
28
|
+
|
|
29
|
+
## Steps
|
|
30
|
+
|
|
31
|
+
### 1. Pre-Flight: Ensure Clean State
|
|
32
|
+
```bash
|
|
33
|
+
git status
|
|
34
|
+
git branch --show-current
|
|
35
|
+
```
|
|
36
|
+
Verify working directory is clean and you know which branch you're on. If there are uncommitted changes, stop and ask the user. The release prep happens on the **current working branch** — we PR to main later.
|
|
37
|
+
|
|
38
|
+
**STOP — confirm clean state and current branch.**
|
|
39
|
+
|
|
40
|
+
### 2. Version Audit
|
|
41
|
+
Read the current version from `package.json` (source of truth). Then grep the ENTIRE codebase for hardcoded version strings — current version, old versions, and any version-like patterns. Check both package.json files are in sync.
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
# Read current version
|
|
45
|
+
node -p "require('./package.json').version"
|
|
46
|
+
node -p "require('./v3/package.json').version"
|
|
47
|
+
|
|
48
|
+
# Search for version strings in source files
|
|
49
|
+
grep -rn --include="*.ts" --include="*.js" --include="*.json" '"3\.[0-9]\+\.[0-9]\+"' . \
|
|
50
|
+
--exclude-dir=node_modules --exclude-dir=dist --exclude-dir=.git
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
If any stale version strings are found, fix them ALL before continuing. Both `package.json` and `v3/package.json` must match.
|
|
54
|
+
|
|
55
|
+
**STOP — show findings and wait for user confirmation.**
|
|
56
|
+
|
|
57
|
+
### 3. Bump Version
|
|
58
|
+
Update both package.json files to the target version:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
# Bump v3 first (no git tag — we tag manually)
|
|
62
|
+
cd /workspaces/agentic-qe-new/v3 && npm version <version> --no-git-tag-version
|
|
63
|
+
|
|
64
|
+
# Bump root to match
|
|
65
|
+
cd /workspaces/agentic-qe-new && npm version <version> --no-git-tag-version
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Verify both match:
|
|
69
|
+
```bash
|
|
70
|
+
grep '"version"' package.json v3/package.json
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
**STOP — confirm versions match.**
|
|
74
|
+
|
|
75
|
+
### 4. Update CHANGELOG
|
|
76
|
+
Add a new section to `v3/CHANGELOG.md` following Keep a Changelog format:
|
|
77
|
+
|
|
78
|
+
```markdown
|
|
79
|
+
## [<version>] - YYYY-MM-DD
|
|
80
|
+
|
|
81
|
+
### Added
|
|
82
|
+
- ...
|
|
83
|
+
|
|
84
|
+
### Fixed
|
|
85
|
+
- ...
|
|
86
|
+
|
|
87
|
+
### Changed
|
|
88
|
+
- ...
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Write user-friendly descriptions focused on value, not implementation details.
|
|
92
|
+
|
|
93
|
+
**STOP — show changelog entry for review.**
|
|
94
|
+
|
|
95
|
+
### 5. Build
|
|
96
|
+
```bash
|
|
97
|
+
npm run build
|
|
98
|
+
```
|
|
99
|
+
This runs `cd v3 && npm run build` which executes `tsc && build:cli && build:mcp`. Verify zero errors. If build fails, diagnose and fix.
|
|
100
|
+
|
|
101
|
+
**STOP — show build output.**
|
|
102
|
+
|
|
103
|
+
### 6. Type Check
|
|
104
|
+
```bash
|
|
105
|
+
npm run typecheck
|
|
106
|
+
```
|
|
107
|
+
This runs `cd v3 && tsc --noEmit`. Must produce zero errors.
|
|
108
|
+
|
|
109
|
+
**STOP — show type check output.**
|
|
110
|
+
|
|
111
|
+
### 7. Unit Tests
|
|
112
|
+
```bash
|
|
113
|
+
cd /workspaces/agentic-qe-new/v3 && npx vitest run tests/unit/
|
|
114
|
+
```
|
|
115
|
+
Run REAL tests against the actual codebase. Do NOT simulate, mock, or skip any tests. ALL unit tests must pass.
|
|
116
|
+
|
|
117
|
+
**STOP — show test results.**
|
|
118
|
+
|
|
119
|
+
### 8. Artifact & Integration Verification
|
|
120
|
+
|
|
121
|
+
This is the critical pre-release gate. Verify the built package works end-to-end as a user would experience it.
|
|
122
|
+
|
|
123
|
+
#### 8a. Verify Build Artifacts
|
|
124
|
+
```bash
|
|
125
|
+
# Verify v3/dist/ exists with expected bundles
|
|
126
|
+
ls -la v3/dist/cli/bundle.js
|
|
127
|
+
ls -la v3/dist/index.js
|
|
128
|
+
ls -la v3/dist/mcp/
|
|
129
|
+
```
|
|
130
|
+
All three must exist: CLI bundle, main entry point, MCP server.
|
|
131
|
+
|
|
132
|
+
#### 8b. Test `aqe init --auto` in a Fresh Project
|
|
133
|
+
```bash
|
|
134
|
+
# Create a temporary test project
|
|
135
|
+
mkdir -p /tmp/aqe-release-test && cd /tmp/aqe-release-test
|
|
136
|
+
|
|
137
|
+
# Run init using the LOCAL build (not published version)
|
|
138
|
+
node /workspaces/agentic-qe-new/v3/dist/cli/bundle.js init --auto
|
|
139
|
+
```
|
|
140
|
+
Verify init completes without errors and creates the expected project structure (`.agentic-qe/` directory, config files).
|
|
141
|
+
|
|
142
|
+
#### 8c. Verify CLI
|
|
143
|
+
```bash
|
|
144
|
+
# Version output
|
|
145
|
+
node /workspaces/agentic-qe-new/v3/dist/cli/bundle.js --version
|
|
146
|
+
|
|
147
|
+
# Doctor check
|
|
148
|
+
node /workspaces/agentic-qe-new/v3/dist/cli/bundle.js doctor
|
|
149
|
+
```
|
|
150
|
+
Both must succeed without errors.
|
|
151
|
+
|
|
152
|
+
#### 8d. Verify MCP Tools
|
|
153
|
+
```bash
|
|
154
|
+
# Verify MCP server can start and list tools
|
|
155
|
+
node /workspaces/agentic-qe-new/v3/dist/cli/bundle.js mcp --list-tools 2>&1 | head -30
|
|
156
|
+
```
|
|
157
|
+
Should list available MCP tools without crashing.
|
|
158
|
+
|
|
159
|
+
#### 8e. Verify Self-Learning & Fleet Capabilities
|
|
160
|
+
```bash
|
|
161
|
+
cd /tmp/aqe-release-test
|
|
162
|
+
|
|
163
|
+
# Verify memory/learning subsystem
|
|
164
|
+
node /workspaces/agentic-qe-new/v3/dist/cli/bundle.js memory list 2>&1 | head -10
|
|
165
|
+
|
|
166
|
+
# Verify agent spawning works
|
|
167
|
+
node /workspaces/agentic-qe-new/v3/dist/cli/bundle.js agent list 2>&1 | head -10
|
|
168
|
+
```
|
|
169
|
+
These should respond (even if empty results) without errors, confirming the subsystems initialize properly.
|
|
170
|
+
|
|
171
|
+
#### 8f. Cleanup
|
|
172
|
+
```bash
|
|
173
|
+
rm -rf /tmp/aqe-release-test
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
**STOP — show all verification results. Every check must pass before continuing.**
|
|
177
|
+
|
|
178
|
+
### 9. Local CI Test Suite
|
|
179
|
+
|
|
180
|
+
Run the same tests that CI runs on PRs (`optimized-ci.yml`) and during publish (`npm-publish.yml`). Skip e2e browser tests unless the user explicitly requests them.
|
|
181
|
+
|
|
182
|
+
```bash
|
|
183
|
+
cd /workspaces/agentic-qe-new/v3
|
|
184
|
+
|
|
185
|
+
# Journey tests (highest-value signal, from optimized-ci.yml)
|
|
186
|
+
npm run test:journeys
|
|
187
|
+
|
|
188
|
+
# Code Intelligence tests (MinCut/Graph algorithms, from optimized-ci.yml)
|
|
189
|
+
npm run test:code-intelligence
|
|
190
|
+
|
|
191
|
+
# Contract tests (if they exist, from optimized-ci.yml)
|
|
192
|
+
npm run test:contracts 2>/dev/null || echo "No contract tests"
|
|
193
|
+
|
|
194
|
+
# Infrastructure tests (from optimized-ci.yml)
|
|
195
|
+
npm run test:infrastructure 2>/dev/null || echo "No infrastructure tests"
|
|
196
|
+
|
|
197
|
+
# Regression tests (from optimized-ci.yml)
|
|
198
|
+
npm run test:regression 2>/dev/null || echo "No regression tests"
|
|
199
|
+
|
|
200
|
+
# Performance gates (from optimized-ci.yml)
|
|
201
|
+
npm run performance:gate
|
|
202
|
+
|
|
203
|
+
# Full test:ci suite (from npm-publish.yml — excludes browser/e2e)
|
|
204
|
+
npm run test:ci
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
All mandatory test suites must pass. If any fail, diagnose and fix before continuing.
|
|
208
|
+
|
|
209
|
+
**STOP — show all test results.**
|
|
210
|
+
|
|
211
|
+
### 10. Commit & Create PR to Main
|
|
212
|
+
```bash
|
|
213
|
+
cd /workspaces/agentic-qe-new
|
|
214
|
+
|
|
215
|
+
# Stage version bump + changelog
|
|
216
|
+
git add package.json v3/package.json v3/CHANGELOG.md
|
|
217
|
+
# Also stage any files that were fixed during version audit
|
|
218
|
+
git status
|
|
219
|
+
|
|
220
|
+
git commit -m "chore(release): bump version to v<version>"
|
|
221
|
+
git push origin <current-branch>
|
|
222
|
+
|
|
223
|
+
# Create PR to main
|
|
224
|
+
gh pr create \
|
|
225
|
+
--base main \
|
|
226
|
+
--title "chore(release): v<version>" \
|
|
227
|
+
--body "$(cat <<'EOF'
|
|
228
|
+
## Release v<version>
|
|
229
|
+
|
|
230
|
+
### Verification Checklist
|
|
231
|
+
- [x] Both package.json versions match
|
|
232
|
+
- [x] Build succeeds (tsc + CLI + MCP bundles)
|
|
233
|
+
- [x] Type check passes
|
|
234
|
+
- [x] All unit tests pass
|
|
235
|
+
- [x] `aqe init --auto` works in fresh project
|
|
236
|
+
- [x] CLI commands functional
|
|
237
|
+
- [x] MCP tools load correctly
|
|
238
|
+
- [x] Self-learning subsystem initializes
|
|
239
|
+
- [x] Journey tests pass
|
|
240
|
+
- [x] Code Intelligence tests pass
|
|
241
|
+
- [x] Performance gates pass
|
|
242
|
+
- [x] Full test:ci suite passes
|
|
243
|
+
|
|
244
|
+
See [CHANGELOG](v3/CHANGELOG.md) for details.
|
|
245
|
+
EOF
|
|
246
|
+
)"
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
**STOP — show PR URL and wait for CI checks to pass.**
|
|
250
|
+
|
|
251
|
+
### 11. Merge PR
|
|
252
|
+
Once CI passes on the PR:
|
|
253
|
+
```bash
|
|
254
|
+
gh pr merge <pr-number> --merge
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
Pull the merged main:
|
|
258
|
+
```bash
|
|
259
|
+
git checkout main && git pull origin main
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
**STOP — confirm merge successful.**
|
|
263
|
+
|
|
264
|
+
### 12. Create GitHub Release
|
|
265
|
+
```bash
|
|
266
|
+
gh release create v<version> \
|
|
267
|
+
--title "v<version>: <Short Title>" \
|
|
268
|
+
--notes "$(cat <<'EOF'
|
|
269
|
+
## What's New
|
|
270
|
+
|
|
271
|
+
<User-friendly summary — focus on value, not technical details>
|
|
272
|
+
|
|
273
|
+
## Getting Started
|
|
274
|
+
|
|
275
|
+
\`\`\`bash
|
|
276
|
+
npx agentic-qe init --auto
|
|
277
|
+
\`\`\`
|
|
278
|
+
|
|
279
|
+
See [CHANGELOG](v3/CHANGELOG.md) for full details.
|
|
280
|
+
EOF
|
|
281
|
+
)"
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
This automatically:
|
|
285
|
+
- Creates a git tag `v<version>`
|
|
286
|
+
- Triggers the `npm-publish.yml` GitHub Actions workflow
|
|
287
|
+
|
|
288
|
+
**STOP — show release URL.**
|
|
289
|
+
|
|
290
|
+
### 13. Monitor Publish Workflow
|
|
291
|
+
```bash
|
|
292
|
+
# Watch the GitHub Actions workflow
|
|
293
|
+
gh run list --workflow=npm-publish.yml --limit 1
|
|
294
|
+
gh run watch <run-id>
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
The workflow:
|
|
298
|
+
1. Checks out code, installs deps
|
|
299
|
+
2. Runs `npm run typecheck`
|
|
300
|
+
3. Runs `npm run build`
|
|
301
|
+
4. Verifies `v3/dist/` exists with CLI and MCP bundles
|
|
302
|
+
5. Runs `npm run test:ci` (unit tests, excludes browser/e2e)
|
|
303
|
+
6. Verifies package version matches git tag
|
|
304
|
+
7. Runs `npm publish --access public --provenance`
|
|
305
|
+
|
|
306
|
+
Wait for the workflow to succeed. If it fails, diagnose from the logs:
|
|
307
|
+
```bash
|
|
308
|
+
gh run view <run-id> --log-failed
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
**STOP — confirm workflow succeeded.**
|
|
312
|
+
|
|
313
|
+
### 14. Post-Publish Verification
|
|
314
|
+
```bash
|
|
315
|
+
npm view agentic-qe@<version> name version
|
|
316
|
+
```
|
|
317
|
+
Confirm the published version matches. Test install:
|
|
318
|
+
```bash
|
|
319
|
+
npx agentic-qe@<version> --version
|
|
320
|
+
```
|
|
321
|
+
|
|
322
|
+
## Rules
|
|
323
|
+
|
|
324
|
+
- **Both package.json files must match** — root and v3
|
|
325
|
+
- Never hardcode version strings — always read from package.json
|
|
326
|
+
- Always run REAL tests, never simulated
|
|
327
|
+
- Publish happens via GitHub Actions, not locally (uses `--provenance` for attestation)
|
|
328
|
+
- Release notes must be **user-friendly** — focus on value, not implementation internals
|
|
329
|
+
- If anything unexpected is found at any step, stop and explain before proceeding
|
|
330
|
+
- Never push tags or create releases without user confirmation
|
|
331
|
+
- The `prepublishOnly` hook must `cd v3` before building — this is handled by root package.json
|
|
332
|
+
- **No e2e browser tests** unless user explicitly requests them
|
|
333
|
+
- All verification (step 8) must pass before creating the PR — this catches issues before they reach main
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentic-qe",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.5",
|
|
4
4
|
"description": "Agentic Quality Engineering V3 - Domain-Driven Design Architecture with 12 Bounded Contexts, O(log n) coverage analysis, ReasoningBank learning, 51 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",
|
package/v3/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,24 @@ 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.5.5] - 2026-02-06
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **Ghost Intent Coverage Analysis (ADR-059)** - Detect untested behavioral intents ("phantom gaps") that traditional line/branch coverage misses. Surfaces hidden coverage gaps in error handling, edge cases, and implicit behavioral contracts.
|
|
13
|
+
- **Semantic Anti-Drift Middleware (ADR-060)** - Event pipeline middleware that attaches semantic fingerprints to domain events and verifies payload integrity across agent-hop boundaries using cosine similarity checks.
|
|
14
|
+
- **Asymmetric Learning Rates (ADR-061)** - 10:1 penalty-to-reward ratio for learning from failures vs successes. Failed patterns are quarantined with exponential confidence decay; successful patterns earn gradual trust through consecutive wins.
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- **Dynamic package version in init** - `aqe init --auto` now reads version from package.json instead of hardcoded `3.0.0` (#240)
|
|
19
|
+
- **Init upgrade path** - Resolved issues with `aqe init --auto` when upgrading existing projects (#239)
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- **CLAUDE.md** - Added insights-driven rules and custom skills for improved agent coordination
|
|
24
|
+
- **Release workflow** - Updated `/release` skill with artifact verification gates and working-branch-first PR flow
|
|
25
|
+
|
|
8
26
|
## [3.5.2] - 2026-02-05
|
|
9
27
|
|
|
10
28
|
### Added
|