agentic-qe 1.9.2 → 1.9.3
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/helpers/checkpoint-manager.sh +251 -0
- package/.claude/helpers/github-safe.js +106 -0
- package/.claude/helpers/github-setup.sh +28 -0
- package/.claude/helpers/quick-start.sh +19 -0
- package/.claude/helpers/setup-mcp.sh +18 -0
- package/.claude/helpers/standard-checkpoint-hooks.sh +179 -0
- package/CHANGELOG.md +15 -0
- package/README.md +17 -1
- package/docs/README.md +839 -0
- package/docs/reference/agents.md +412 -0
- package/docs/reference/skills.md +796 -0
- package/docs/reference/usage.md +512 -0
- package/package.json +4 -1
- package/templates/agent-code-execution-template.md +619 -0
- package/templates/aqe.sh +20 -0
package/docs/README.md
ADDED
|
@@ -0,0 +1,839 @@
|
|
|
1
|
+
# Agentic QE Fleet Documentation
|
|
2
|
+
|
|
3
|
+
> **Comprehensive documentation for the Agentic Quality Engineering Fleet** - An intelligent, distributed quality engineering system powered by AI agents.
|
|
4
|
+
|
|
5
|
+
[](https://github.com/proffesor-for-testing/agentic-qe)
|
|
6
|
+
[](LICENSE)
|
|
7
|
+
[](https://github.com/ruvnet/claude-flow)
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## 📚 Table of Contents
|
|
12
|
+
|
|
13
|
+
- [Overview](#overview)
|
|
14
|
+
- [Getting Started](#getting-started)
|
|
15
|
+
- [User Guides](#user-guides)
|
|
16
|
+
- [Reference Documentation](#reference-documentation)
|
|
17
|
+
- [Advanced Topics](#advanced-topics)
|
|
18
|
+
- [For Contributors](#for-contributors)
|
|
19
|
+
- [Documentation Structure](#documentation-structure)
|
|
20
|
+
- [Contributing to Documentation](#contributing-to-documentation)
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## Overview
|
|
25
|
+
|
|
26
|
+
The **Agentic QE Fleet** is a revolutionary quality engineering system that combines:
|
|
27
|
+
|
|
28
|
+
- **🤖 16 Specialized AI Agents** - Autonomous quality engineering experts
|
|
29
|
+
- **⚡ Sublinear Algorithms** - O(log n) performance for massive scale
|
|
30
|
+
- **🧠 Claude Flow Integration** - Proven coordination patterns
|
|
31
|
+
- **🚀 95% Coverage Target** - AI-driven test generation and optimization
|
|
32
|
+
- **⚙️ Parallel Execution** - Multi-framework test orchestration
|
|
33
|
+
|
|
34
|
+
### Key Benefits
|
|
35
|
+
|
|
36
|
+
- **70% reduction** in manual test creation time
|
|
37
|
+
- **80% improvement** in defect detection accuracy
|
|
38
|
+
- **60% decrease** in test maintenance overhead
|
|
39
|
+
- **50% faster** quality feedback cycles
|
|
40
|
+
- **90% automation** of routine QE tasks
|
|
41
|
+
|
|
42
|
+
### Architecture at a Glance
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
46
|
+
│ Agentic QE Fleet │
|
|
47
|
+
├─────────────────────────────────────────────────────────────┤
|
|
48
|
+
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
|
|
49
|
+
│ │ Command │ │ MCP │ │ Execution │ │
|
|
50
|
+
│ │ Interface │──│ Coordination │──│ Engine │ │
|
|
51
|
+
│ └──────────────┘ └──────────────┘ └──────────────┘ │
|
|
52
|
+
│ │ │ │ │
|
|
53
|
+
│ ┌──────────────────────────────────────────────────────┐ │
|
|
54
|
+
│ │ 16 Specialized Agents │ │
|
|
55
|
+
│ │ Test Gen • Coverage • Quality Gate • Performance │ │
|
|
56
|
+
│ │ Security • Chaos • Visual • API Contract • Flaky │ │
|
|
57
|
+
│ │ Regression • Requirements • Data Architect • Deploy │ │
|
|
58
|
+
│ │ Production Intelligence • Fleet Commander │ │
|
|
59
|
+
│ └──────────────────────────────────────────────────────┘ │
|
|
60
|
+
└─────────────────────────────────────────────────────────────┘
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## Prerequisites
|
|
66
|
+
|
|
67
|
+
Before using Agentic QE, you must have:
|
|
68
|
+
|
|
69
|
+
### Required
|
|
70
|
+
- **Claude Code**: Install from [claude.ai/code](https://claude.ai/code)
|
|
71
|
+
- **Node.js**: 18.0 or higher
|
|
72
|
+
- **npm**: 8.0 or higher
|
|
73
|
+
|
|
74
|
+
### Installation Steps
|
|
75
|
+
1. Install Claude Code globally or in your workspace
|
|
76
|
+
2. (Optional) Install Claude Flow for advanced coordination:
|
|
77
|
+
```bash
|
|
78
|
+
npm install -g @claude/flow
|
|
79
|
+
# or
|
|
80
|
+
npx claude-flow@alpha setup
|
|
81
|
+
```
|
|
82
|
+
3. The AQE agents use Claude Code's Task tool for execution
|
|
83
|
+
4. Agent definitions are located in `.claude/agents/`
|
|
84
|
+
|
|
85
|
+
**Agent Execution Model:**
|
|
86
|
+
- Agents are Claude Code agent definitions (markdown files in `.claude/agents/`)
|
|
87
|
+
- Executed via Claude Code's Task tool: `Task("description", "prompt", "agent-type")`
|
|
88
|
+
- NOT standalone Node.js processes
|
|
89
|
+
- Integration with Claude Code via MCP (Model Context Protocol)
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## Getting Started
|
|
94
|
+
|
|
95
|
+
### 🚀 Quick Start (5 Minutes)
|
|
96
|
+
|
|
97
|
+
1. **Install the AQE CLI**
|
|
98
|
+
```bash
|
|
99
|
+
npm install -g agentic-qe
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
2. **Initialize in your project**
|
|
103
|
+
```bash
|
|
104
|
+
cd /path/to/your/project
|
|
105
|
+
aqe init
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
**What `aqe init` does:**
|
|
109
|
+
- Creates `.claude/agents/` with 16 specialized QE agent definitions
|
|
110
|
+
- Creates `.claude/commands/` with 8 AQE slash commands
|
|
111
|
+
- Creates `.agentic-qe/` configuration directory
|
|
112
|
+
- Updates or creates `CLAUDE.md` with integration documentation
|
|
113
|
+
- **Note**: Agents are executed through Claude Code's Task tool, not as standalone processes
|
|
114
|
+
|
|
115
|
+
3. **Run your first command**
|
|
116
|
+
```bash
|
|
117
|
+
aqe test user-service # Generate tests
|
|
118
|
+
aqe coverage # Analyze coverage
|
|
119
|
+
aqe status # Check fleet status
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
### 📖 Essential Reading
|
|
123
|
+
|
|
124
|
+
Start with these documents in order:
|
|
125
|
+
|
|
126
|
+
1. **[Getting Started Guide](guides/GETTING-STARTED.md)** (10 min read)
|
|
127
|
+
- Complete beginner's guide with examples
|
|
128
|
+
- Installation and setup
|
|
129
|
+
- Your first tests
|
|
130
|
+
|
|
131
|
+
2. **[MCP Integration Guide](guides/MCP-INTEGRATION.md)** (15 min read) **⭐ NEW!**
|
|
132
|
+
- Claude Code MCP server setup
|
|
133
|
+
- Real-world use cases with examples
|
|
134
|
+
- Orchestrating agents from CLI
|
|
135
|
+
|
|
136
|
+
3. **[AQE CLI Guide](./AQE-CLI.md)** (5 min read)
|
|
137
|
+
- Quick command reference
|
|
138
|
+
- Common workflows
|
|
139
|
+
- Troubleshooting basics
|
|
140
|
+
|
|
141
|
+
4. **[Fleet Specification](./Agentic-QE-Fleet-Specification.md)** (15 min read)
|
|
142
|
+
- System architecture
|
|
143
|
+
- Agent capabilities
|
|
144
|
+
- Success metrics
|
|
145
|
+
|
|
146
|
+
5. **[Claude Code Integration](./CLAUDE-MD-INTEGRATION.md)** (10 min read)
|
|
147
|
+
- Using AQE in Claude Code
|
|
148
|
+
- Project setup
|
|
149
|
+
- Best practices
|
|
150
|
+
|
|
151
|
+
### 🎯 Common Use Cases
|
|
152
|
+
|
|
153
|
+
| I want to... | Command | Documentation |
|
|
154
|
+
|--------------|---------|---------------|
|
|
155
|
+
| Generate tests | `aqe test <module>` | [Test Generation Guide](#test-generation) |
|
|
156
|
+
| Analyze coverage | `aqe coverage` | [Coverage Analysis Guide](#coverage-analysis) |
|
|
157
|
+
| Run quality checks | `aqe quality` | [Quality Gates Guide](#quality-gates) |
|
|
158
|
+
| Performance testing | `aqe benchmark` | [Performance Testing Guide](#performance-testing) |
|
|
159
|
+
| Execute all tests | `aqe execute` | [Test Execution Guide](#test-execution) |
|
|
160
|
+
| Check fleet status | `aqe status` | [Fleet Management Guide](#fleet-management) |
|
|
161
|
+
|
|
162
|
+
---
|
|
163
|
+
|
|
164
|
+
## User Guides
|
|
165
|
+
|
|
166
|
+
Comprehensive guides for common workflows and tasks.
|
|
167
|
+
|
|
168
|
+
### Test Generation
|
|
169
|
+
|
|
170
|
+
**Quick Start:**
|
|
171
|
+
```bash
|
|
172
|
+
aqe test user-service --type unit --framework jest
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
**Learn More:**
|
|
176
|
+
- [Test Generation Best Practices](./guides/test-generation.md) *(coming soon)*
|
|
177
|
+
- [AI-Driven Test Design](./guides/ai-test-design.md) *(coming soon)*
|
|
178
|
+
- Agent: [QE Test Generator](./.claude/agents/qe-test-generator.md)
|
|
179
|
+
|
|
180
|
+
**Features:**
|
|
181
|
+
- ✅ AI-powered test case generation
|
|
182
|
+
- ✅ Multi-framework support (Jest, Mocha, Pytest, JUnit)
|
|
183
|
+
- ✅ Edge case detection
|
|
184
|
+
- ✅ Contract-based testing
|
|
185
|
+
- ✅ Mutation testing integration
|
|
186
|
+
|
|
187
|
+
### Coverage Analysis
|
|
188
|
+
|
|
189
|
+
**Quick Start:**
|
|
190
|
+
```bash
|
|
191
|
+
aqe coverage --threshold 95
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
**Learn More:**
|
|
195
|
+
- [Coverage Gap Detection](./guides/coverage-analysis.md) *(coming soon)*
|
|
196
|
+
- [Sublinear Coverage Algorithms](./guides/sublinear-coverage.md) *(coming soon)*
|
|
197
|
+
- Agent: [QE Coverage Analyzer](./.claude/agents/qe-coverage-analyzer.md)
|
|
198
|
+
|
|
199
|
+
**Features:**
|
|
200
|
+
- ✅ O(log n) gap detection
|
|
201
|
+
- ✅ Intelligent test prioritization
|
|
202
|
+
- ✅ Branch coverage analysis
|
|
203
|
+
- ✅ Mutation score tracking
|
|
204
|
+
- ✅ Real-time visualization
|
|
205
|
+
|
|
206
|
+
### Quality Gates
|
|
207
|
+
|
|
208
|
+
**Quick Start:**
|
|
209
|
+
```bash
|
|
210
|
+
aqe quality --enforce-gates
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
**Learn More:**
|
|
214
|
+
- [Quality Gate Configuration](./guides/quality-gates.md) *(coming soon)*
|
|
215
|
+
- [CI/CD Integration](./guides/cicd-integration.md) *(coming soon)*
|
|
216
|
+
- Agent: [QE Quality Gate](./.claude/agents/qe-quality-gate.md)
|
|
217
|
+
|
|
218
|
+
**Features:**
|
|
219
|
+
- ✅ Automated quality enforcement
|
|
220
|
+
- ✅ Customizable thresholds
|
|
221
|
+
- ✅ Multi-metric validation
|
|
222
|
+
- ✅ CI/CD blocking capabilities
|
|
223
|
+
- ✅ Detailed quality reports
|
|
224
|
+
|
|
225
|
+
### Performance Testing
|
|
226
|
+
|
|
227
|
+
**Quick Start:**
|
|
228
|
+
```bash
|
|
229
|
+
aqe benchmark --duration 5m --users 1000
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
**Learn More:**
|
|
233
|
+
- [Performance Test Design](./guides/performance-testing.md) *(coming soon)*
|
|
234
|
+
- [Load Testing Strategies](./guides/load-testing.md) *(coming soon)*
|
|
235
|
+
- Agent: [QE Performance Tester](./.claude/agents/qe-performance-tester.md)
|
|
236
|
+
|
|
237
|
+
**Features:**
|
|
238
|
+
- ✅ Load and stress testing
|
|
239
|
+
- ✅ Real-time metrics collection
|
|
240
|
+
- ✅ Performance regression detection
|
|
241
|
+
- ✅ Scalability analysis
|
|
242
|
+
- ✅ Resource utilization tracking
|
|
243
|
+
|
|
244
|
+
### Test Execution
|
|
245
|
+
|
|
246
|
+
**Quick Start:**
|
|
247
|
+
```bash
|
|
248
|
+
aqe execute --parallel --coverage
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
**Learn More:**
|
|
252
|
+
- [Parallel Test Execution](./guides/test-execution.md) *(coming soon)*
|
|
253
|
+
- [Test Orchestration](./guides/test-orchestration.md) *(coming soon)*
|
|
254
|
+
- Agent: [QE Test Executor](./.claude/agents/qe-test-executor.md)
|
|
255
|
+
|
|
256
|
+
**Features:**
|
|
257
|
+
- ✅ Parallel test execution
|
|
258
|
+
- ✅ Multi-framework orchestration
|
|
259
|
+
- ✅ Smart test scheduling
|
|
260
|
+
- ✅ Resource management
|
|
261
|
+
- ✅ Real-time reporting
|
|
262
|
+
|
|
263
|
+
### Chaos Engineering
|
|
264
|
+
|
|
265
|
+
**Quick Start:**
|
|
266
|
+
```bash
|
|
267
|
+
aqe chaos --scenario network-failure
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
**Learn More:**
|
|
271
|
+
- [Chaos Engineering Guide](./guides/chaos-engineering.md) *(coming soon)*
|
|
272
|
+
- Agent: [QE Chaos Engineer](./.claude/agents/qe-chaos-engineer.md)
|
|
273
|
+
|
|
274
|
+
**Features:**
|
|
275
|
+
- ✅ Network failure simulation
|
|
276
|
+
- ✅ Service degradation testing
|
|
277
|
+
- ✅ Resource exhaustion scenarios
|
|
278
|
+
- ✅ Data corruption testing
|
|
279
|
+
- ✅ Recovery validation
|
|
280
|
+
|
|
281
|
+
---
|
|
282
|
+
|
|
283
|
+
## Reference Documentation
|
|
284
|
+
|
|
285
|
+
Complete technical reference for all AQE components.
|
|
286
|
+
|
|
287
|
+
### Commands Reference
|
|
288
|
+
|
|
289
|
+
**Primary Documentation:**
|
|
290
|
+
|
|
291
|
+
- **[Slash Commands Specification](./QE-SLASH-COMMANDS-SPECIFICATION.md)** (1,500 lines)
|
|
292
|
+
- Complete specifications for 8 slash commands
|
|
293
|
+
- Parameter definitions
|
|
294
|
+
- Response formats
|
|
295
|
+
- Error handling
|
|
296
|
+
|
|
297
|
+
- **[Commands Quick Reference](./QE-COMMANDS-QUICK-REFERENCE.md)** (900 lines)
|
|
298
|
+
- Developer quick reference
|
|
299
|
+
- Common patterns
|
|
300
|
+
- Usage examples
|
|
301
|
+
|
|
302
|
+
- **[Commands Implementation Guide](./QE-COMMANDS-IMPLEMENTATION-GUIDE.md)** (1,300 lines)
|
|
303
|
+
- Implementation templates
|
|
304
|
+
- Code patterns
|
|
305
|
+
- Best practices
|
|
306
|
+
|
|
307
|
+
- **[Commands Index](./QE-COMMANDS-INDEX.md)** (Overview)
|
|
308
|
+
- Navigation guide
|
|
309
|
+
- Document structure
|
|
310
|
+
- Quick links
|
|
311
|
+
|
|
312
|
+
### Available Commands
|
|
313
|
+
|
|
314
|
+
| Command | Description | Documentation |
|
|
315
|
+
|---------|-------------|---------------|
|
|
316
|
+
| `/aqe-generate` | AI-powered test generation | [Spec §2.1](./QE-SLASH-COMMANDS-SPECIFICATION.md#21-aqe-generate) |
|
|
317
|
+
| `/aqe-execute` | Parallel test execution | [Spec §2.2](./QE-SLASH-COMMANDS-SPECIFICATION.md#22-aqe-execute) |
|
|
318
|
+
| `/aqe-analyze` | Coverage gap detection | [Spec §2.3](./QE-SLASH-COMMANDS-SPECIFICATION.md#23-aqe-analyze) |
|
|
319
|
+
| `/aqe-optimize` | Test suite optimization | [Spec §2.4](./QE-SLASH-COMMANDS-SPECIFICATION.md#24-aqe-optimize) |
|
|
320
|
+
| `/aqe-report` | Quality metrics reporting | [Spec §2.5](./QE-SLASH-COMMANDS-SPECIFICATION.md#25-aqe-report) |
|
|
321
|
+
| `/aqe-benchmark` | Performance benchmarking | [Spec §2.6](./QE-SLASH-COMMANDS-SPECIFICATION.md#26-aqe-benchmark) |
|
|
322
|
+
| `/aqe-chaos` | Chaos testing scenarios | [Spec §2.7](./QE-SLASH-COMMANDS-SPECIFICATION.md#27-aqe-chaos) |
|
|
323
|
+
| `/aqe-fleet-status` | Fleet health monitoring | [Spec §2.8](./QE-SLASH-COMMANDS-SPECIFICATION.md#28-aqe-fleet-status) |
|
|
324
|
+
|
|
325
|
+
### Agent Specifications
|
|
326
|
+
|
|
327
|
+
**16 Specialized Agents:**
|
|
328
|
+
|
|
329
|
+
#### Week 1 Agents (P0 - Critical)
|
|
330
|
+
- **[QE Test Generator](./.claude/agents/qe-test-generator.md)** - AI-powered test generation
|
|
331
|
+
- **[QE Coverage Analyzer](./.claude/agents/qe-coverage-analyzer.md)** - Sublinear coverage analysis
|
|
332
|
+
- **[QE Test Executor](./.claude/agents/qe-test-executor.md)** - Parallel test orchestration
|
|
333
|
+
|
|
334
|
+
#### Week 2 Agents (P0 - Core)
|
|
335
|
+
- **[QE Quality Gate](./.claude/agents/qe-quality-gate.md)** - Automated quality enforcement
|
|
336
|
+
- **[QE Performance Tester](./.claude/agents/qe-performance-tester.md)** - Load and performance testing
|
|
337
|
+
- **[QE Security Scanner](./.claude/agents/qe-security-scanner.md)** - Vulnerability detection
|
|
338
|
+
|
|
339
|
+
#### Week 3 Agents (P1 - Advanced)
|
|
340
|
+
- **[QE Chaos Engineer](./.claude/agents/qe-chaos-engineer.md)** - Chaos testing scenarios
|
|
341
|
+
- **[QE Visual Tester](./.claude/agents/qe-visual-tester.md)** - Visual regression testing
|
|
342
|
+
- **[QE API Contract Validator](./.claude/agents/qe-api-contract-validator.md)** - API contract validation
|
|
343
|
+
- **[QE Flaky Test Hunter](./.claude/agents/qe-flaky-test-hunter.md)** - Flaky test detection
|
|
344
|
+
- **[QE Regression Risk Analyzer](./.claude/agents/qe-regression-risk-analyzer.md)** - Regression risk analysis
|
|
345
|
+
- **[QE Requirements Validator](./.claude/agents/qe-requirements-validator.md)** - Requirements coverage
|
|
346
|
+
- **[QE Test Data Architect](./.claude/agents/qe-test-data-architect.md)** - Test data management
|
|
347
|
+
|
|
348
|
+
#### Week 4 Agents (P1 - Integration)
|
|
349
|
+
- **[QE Deployment Readiness](./.claude/agents/qe-deployment-readiness.md)** - Deployment validation
|
|
350
|
+
- **[QE Production Intelligence](./.claude/agents/qe-production-intelligence.md)** - Production monitoring
|
|
351
|
+
- **[QE Fleet Commander](./.claude/agents/qe-fleet-commander.md)** - Fleet orchestration
|
|
352
|
+
|
|
353
|
+
### API Reference
|
|
354
|
+
|
|
355
|
+
**MCP Tools:**
|
|
356
|
+
|
|
357
|
+
```typescript
|
|
358
|
+
// Test Generation
|
|
359
|
+
mcp__agentic_qe__test_generate({
|
|
360
|
+
path: string,
|
|
361
|
+
type: "unit" | "integration" | "e2e",
|
|
362
|
+
framework: "jest" | "mocha" | "pytest" | "junit"
|
|
363
|
+
})
|
|
364
|
+
|
|
365
|
+
// Test Execution
|
|
366
|
+
mcp__agentic_qe__test_execute({
|
|
367
|
+
parallel: boolean,
|
|
368
|
+
coverage: boolean,
|
|
369
|
+
frameworks: string[]
|
|
370
|
+
})
|
|
371
|
+
|
|
372
|
+
// Coverage Analysis
|
|
373
|
+
mcp__agentic_qe__coverage_analyze({
|
|
374
|
+
threshold: number,
|
|
375
|
+
reportFormat: "json" | "html" | "lcov"
|
|
376
|
+
})
|
|
377
|
+
```
|
|
378
|
+
|
|
379
|
+
**Full API Documentation:**
|
|
380
|
+
- [MCP Tools Reference](./api/mcp-tools.md) *(to be generated)*
|
|
381
|
+
- [Agent API Reference](./api/agent-api.md) *(to be generated)*
|
|
382
|
+
- [Hooks API Reference](./api/hooks-api.md) *(to be generated)*
|
|
383
|
+
|
|
384
|
+
### Type System
|
|
385
|
+
|
|
386
|
+
- **[Type System Updates (Week 1)](./TYPE-SYSTEM-UPDATES-WEEK1.md)** (17KB)
|
|
387
|
+
- Core type definitions
|
|
388
|
+
- Agent interfaces
|
|
389
|
+
- Test execution types
|
|
390
|
+
- Coverage analysis types
|
|
391
|
+
|
|
392
|
+
---
|
|
393
|
+
|
|
394
|
+
## Advanced Topics
|
|
395
|
+
|
|
396
|
+
Deep dives into advanced features and architecture.
|
|
397
|
+
|
|
398
|
+
### Claude Code Integration
|
|
399
|
+
|
|
400
|
+
**Primary Documentation:**
|
|
401
|
+
- **[CLAUDE.md Integration](./CLAUDE-MD-INTEGRATION.md)** (6KB)
|
|
402
|
+
- Automatic project setup
|
|
403
|
+
- Agent usage in Claude Code
|
|
404
|
+
- Best practices
|
|
405
|
+
- Common pitfalls
|
|
406
|
+
|
|
407
|
+
**Features:**
|
|
408
|
+
- ✅ Automatic CLAUDE.md management
|
|
409
|
+
- ✅ Idempotent updates
|
|
410
|
+
- ✅ Target directory support
|
|
411
|
+
- ✅ Agent coordination via hooks
|
|
412
|
+
|
|
413
|
+
**Usage in Claude Code:**
|
|
414
|
+
```javascript
|
|
415
|
+
// Spawn agents via Task tool
|
|
416
|
+
Task("Generate tests", "Create comprehensive test suite", "qe-test-generator")
|
|
417
|
+
Task("Analyze coverage", "Find gaps using O(log n) algorithms", "qe-coverage-analyzer")
|
|
418
|
+
|
|
419
|
+
// Or use MCP tools
|
|
420
|
+
mcp__agentic_qe__test_generate({ type: "unit", framework: "jest" })
|
|
421
|
+
```
|
|
422
|
+
|
|
423
|
+
### Hooks Architecture
|
|
424
|
+
|
|
425
|
+
**Primary Documentation:**
|
|
426
|
+
- **[QE Hooks Architecture](./QE_HOOKS_ARCHITECTURE.md)** (59KB)
|
|
427
|
+
- Hook system design
|
|
428
|
+
- Event-driven coordination
|
|
429
|
+
- Memory integration
|
|
430
|
+
- Performance optimization
|
|
431
|
+
|
|
432
|
+
**Hook Types:**
|
|
433
|
+
- **Pre-hooks**: `pre-task`, `pre-edit`, `pre-bash`
|
|
434
|
+
- **Post-hooks**: `post-task`, `post-edit`, `post-bash`
|
|
435
|
+
- **Session hooks**: `session-start`, `session-restore`, `session-end`
|
|
436
|
+
- **Notification hooks**: `notify`, `alert`, `report`
|
|
437
|
+
|
|
438
|
+
**Example Hook Usage:**
|
|
439
|
+
```bash
|
|
440
|
+
# Before task execution
|
|
441
|
+
npx claude-flow@alpha hooks pre-task --description "Generate unit tests"
|
|
442
|
+
|
|
443
|
+
# After file modification
|
|
444
|
+
npx claude-flow@alpha hooks post-edit --file "tests/user.test.ts" --memory-key "aqe/tests/user"
|
|
445
|
+
|
|
446
|
+
# Session management
|
|
447
|
+
npx claude-flow@alpha hooks session-end --export-metrics true
|
|
448
|
+
```
|
|
449
|
+
|
|
450
|
+
### Security Best Practices
|
|
451
|
+
|
|
452
|
+
**Primary Documentation:**
|
|
453
|
+
- **[AI & Agentic Security Best Practices](./AI & Agentic Security Best Practices.md)** (10KB)
|
|
454
|
+
- Security principles
|
|
455
|
+
- Threat models
|
|
456
|
+
- Mitigation strategies
|
|
457
|
+
- Compliance guidelines
|
|
458
|
+
|
|
459
|
+
**Key Topics:**
|
|
460
|
+
- 🔒 AI model security
|
|
461
|
+
- 🔒 Agent communication security
|
|
462
|
+
- 🔒 Data protection
|
|
463
|
+
- 🔒 Access control
|
|
464
|
+
- 🔒 Audit logging
|
|
465
|
+
- 🔒 Compliance (GDPR, SOC 2)
|
|
466
|
+
|
|
467
|
+
### Architecture & Design
|
|
468
|
+
|
|
469
|
+
**Primary Documentation:**
|
|
470
|
+
- **[Commands Architecture Diagram](./QE-COMMANDS-ARCHITECTURE-DIAGRAM.md)** (53KB)
|
|
471
|
+
- System architecture
|
|
472
|
+
- Data flow diagrams
|
|
473
|
+
- Component interactions
|
|
474
|
+
- Scalability patterns
|
|
475
|
+
|
|
476
|
+
**Architecture Highlights:**
|
|
477
|
+
```
|
|
478
|
+
┌─────────────────────────────────────────────────────────┐
|
|
479
|
+
│ Command Layer │
|
|
480
|
+
│ /aqe-generate • /aqe-execute • /aqe-analyze • ... │
|
|
481
|
+
└────────────────────┬────────────────────────────────────┘
|
|
482
|
+
│
|
|
483
|
+
┌────────────────────┴────────────────────────────────────┐
|
|
484
|
+
│ MCP Coordination │
|
|
485
|
+
│ Agent Spawn • Task Orchestration • Memory Mgmt │
|
|
486
|
+
└────────────────────┬────────────────────────────────────┘
|
|
487
|
+
│
|
|
488
|
+
┌────────────────────┴────────────────────────────────────┐
|
|
489
|
+
│ Agent Fleet (16) │
|
|
490
|
+
│ Specialized agents with domain expertise │
|
|
491
|
+
└────────────────────┬────────────────────────────────────┘
|
|
492
|
+
│
|
|
493
|
+
┌────────────────────┴────────────────────────────────────┐
|
|
494
|
+
│ Sublinear Core Engine │
|
|
495
|
+
│ O(log n) algorithms • WASM acceleration │
|
|
496
|
+
└─────────────────────────────────────────────────────────┘
|
|
497
|
+
```
|
|
498
|
+
|
|
499
|
+
### Golden Documentation Technique
|
|
500
|
+
|
|
501
|
+
**Primary Documentation:**
|
|
502
|
+
- **[Golden Documentation Technique](./Golden Documentation Technique.md)** (3KB)
|
|
503
|
+
- Documentation principles
|
|
504
|
+
- Writing guidelines
|
|
505
|
+
- Structure patterns
|
|
506
|
+
- Quality standards
|
|
507
|
+
|
|
508
|
+
**Principles:**
|
|
509
|
+
- ✍️ Clear, concise, actionable
|
|
510
|
+
- 📊 Examples over explanations
|
|
511
|
+
- 🔗 Progressive disclosure
|
|
512
|
+
- ✅ Validation and testing
|
|
513
|
+
- 🔄 Continuous improvement
|
|
514
|
+
|
|
515
|
+
---
|
|
516
|
+
|
|
517
|
+
## For Contributors
|
|
518
|
+
|
|
519
|
+
Resources for developers contributing to the Agentic QE Fleet.
|
|
520
|
+
|
|
521
|
+
### Framework Documentation
|
|
522
|
+
|
|
523
|
+
**Primary Documentation:**
|
|
524
|
+
- **[Agentic QE Framework](./Agentic-QE-Framework.md)** (2KB)
|
|
525
|
+
- Framework overview
|
|
526
|
+
- Core concepts
|
|
527
|
+
- Extension points
|
|
528
|
+
- Plugin architecture
|
|
529
|
+
|
|
530
|
+
**Contributing to Framework:**
|
|
531
|
+
1. Read the framework docs
|
|
532
|
+
2. Understand agent lifecycle
|
|
533
|
+
3. Follow type system conventions
|
|
534
|
+
4. Write comprehensive tests
|
|
535
|
+
5. Document all public APIs
|
|
536
|
+
|
|
537
|
+
### Type System
|
|
538
|
+
|
|
539
|
+
**Primary Documentation:**
|
|
540
|
+
- **[Type System Updates (Week 1)](./TYPE-SYSTEM-UPDATES-WEEK1.md)** (17KB)
|
|
541
|
+
- Core interfaces
|
|
542
|
+
- Type definitions
|
|
543
|
+
- Generic patterns
|
|
544
|
+
- Type safety guidelines
|
|
545
|
+
|
|
546
|
+
**Key Types:**
|
|
547
|
+
```typescript
|
|
548
|
+
// Agent interface
|
|
549
|
+
interface QEAgent {
|
|
550
|
+
name: string;
|
|
551
|
+
capabilities: string[];
|
|
552
|
+
execute(task: Task): Promise<TaskResult>;
|
|
553
|
+
analyze(context: Context): Promise<Analysis>;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
// Test execution interface
|
|
557
|
+
interface TestExecutor {
|
|
558
|
+
framework: TestFramework;
|
|
559
|
+
execute(tests: Test[]): Promise<TestResult[]>;
|
|
560
|
+
parallel: boolean;
|
|
561
|
+
}
|
|
562
|
+
```
|
|
563
|
+
|
|
564
|
+
### Architecture Diagrams
|
|
565
|
+
|
|
566
|
+
**Primary Documentation:**
|
|
567
|
+
- **[Commands Architecture Diagram](./QE-COMMANDS-ARCHITECTURE-DIAGRAM.md)** (53KB)
|
|
568
|
+
- Complete system architecture
|
|
569
|
+
- Component diagrams
|
|
570
|
+
- Data flow charts
|
|
571
|
+
- Sequence diagrams
|
|
572
|
+
|
|
573
|
+
### Development Workflow
|
|
574
|
+
|
|
575
|
+
1. **Setup Development Environment**
|
|
576
|
+
```bash
|
|
577
|
+
git clone https://github.com/proffesor-for-testing/agentic-qe.git
|
|
578
|
+
cd agentic-qe-cf/agentic-qe
|
|
579
|
+
npm install
|
|
580
|
+
npm run build
|
|
581
|
+
```
|
|
582
|
+
|
|
583
|
+
2. **Run Tests**
|
|
584
|
+
```bash
|
|
585
|
+
npm test # Unit tests
|
|
586
|
+
npm run test:integration # Integration tests
|
|
587
|
+
npm run test:coverage # Coverage report
|
|
588
|
+
```
|
|
589
|
+
|
|
590
|
+
3. **Code Quality**
|
|
591
|
+
```bash
|
|
592
|
+
npm run lint # ESLint
|
|
593
|
+
npm run typecheck # TypeScript
|
|
594
|
+
npm run format # Prettier
|
|
595
|
+
```
|
|
596
|
+
|
|
597
|
+
4. **Build and Deploy**
|
|
598
|
+
```bash
|
|
599
|
+
npm run build # Production build
|
|
600
|
+
npm run start # Start MCP server
|
|
601
|
+
```
|
|
602
|
+
|
|
603
|
+
### Contributing Guidelines
|
|
604
|
+
|
|
605
|
+
1. **Read the Documentation**
|
|
606
|
+
- Start with [Fleet Specification](./Agentic-QE-Fleet-Specification.md)
|
|
607
|
+
- Review [Type System](./TYPE-SYSTEM-UPDATES-WEEK1.md)
|
|
608
|
+
- Understand [Hooks Architecture](./QE_HOOKS_ARCHITECTURE.md)
|
|
609
|
+
|
|
610
|
+
2. **Follow Code Standards**
|
|
611
|
+
- TypeScript strict mode
|
|
612
|
+
- ESLint + Prettier
|
|
613
|
+
- 90%+ test coverage
|
|
614
|
+
- Comprehensive JSDoc comments
|
|
615
|
+
|
|
616
|
+
3. **Submit Quality PRs**
|
|
617
|
+
- Clear description
|
|
618
|
+
- Linked issues
|
|
619
|
+
- Tests included
|
|
620
|
+
- Documentation updated
|
|
621
|
+
|
|
622
|
+
4. **Use Issue Templates**
|
|
623
|
+
- Bug reports
|
|
624
|
+
- Feature requests
|
|
625
|
+
- Documentation improvements
|
|
626
|
+
|
|
627
|
+
---
|
|
628
|
+
|
|
629
|
+
## Documentation Structure
|
|
630
|
+
|
|
631
|
+
Complete overview of documentation organization.
|
|
632
|
+
|
|
633
|
+
### Directory Structure
|
|
634
|
+
|
|
635
|
+
```
|
|
636
|
+
docs/
|
|
637
|
+
├── README.md # This file - Navigation hub
|
|
638
|
+
│
|
|
639
|
+
├── 📖 Getting Started (Quick Start)
|
|
640
|
+
│ ├── AQE-CLI.md # CLI command reference
|
|
641
|
+
│ ├── CLAUDE-MD-INTEGRATION.md # Claude Code integration
|
|
642
|
+
│ └── Agentic-QE-Framework.md # Framework overview
|
|
643
|
+
│
|
|
644
|
+
├── 📋 Reference Documentation (Complete Specs)
|
|
645
|
+
│ ├── Agentic-QE-Fleet-Specification.md # Fleet architecture (18KB)
|
|
646
|
+
│ ├── QE-SLASH-COMMANDS-SPECIFICATION.md # Command specs (34KB)
|
|
647
|
+
│ ├── QE-COMMANDS-INDEX.md # Command index (16KB)
|
|
648
|
+
│ ├── QE-COMMANDS-QUICK-REFERENCE.md # Quick reference (17KB)
|
|
649
|
+
│ ├── QE-COMMANDS-IMPLEMENTATION-GUIDE.md # Implementation (27KB)
|
|
650
|
+
│ ├── QE-COMMANDS-ARCHITECTURE-DIAGRAM.md # Architecture (53KB)
|
|
651
|
+
│ └── TYPE-SYSTEM-UPDATES-WEEK1.md # Type system (17KB)
|
|
652
|
+
│
|
|
653
|
+
├── 🏗️ Advanced Topics (Deep Dives)
|
|
654
|
+
│ ├── QE_HOOKS_ARCHITECTURE.md # Hooks system (59KB)
|
|
655
|
+
│ ├── AI & Agentic Security Best Practices.md # Security (10KB)
|
|
656
|
+
│ └── Golden Documentation Technique.md # Doc standards (3KB)
|
|
657
|
+
│
|
|
658
|
+
├── 📁 guides/ (User Guides - Coming Soon)
|
|
659
|
+
│ ├── test-generation.md
|
|
660
|
+
│ ├── coverage-analysis.md
|
|
661
|
+
│ ├── quality-gates.md
|
|
662
|
+
│ ├── performance-testing.md
|
|
663
|
+
│ ├── chaos-engineering.md
|
|
664
|
+
│ └── cicd-integration.md
|
|
665
|
+
│
|
|
666
|
+
├── 📁 api/ (API Reference - To Be Generated)
|
|
667
|
+
│ ├── mcp-tools.md
|
|
668
|
+
│ ├── agent-api.md
|
|
669
|
+
│ ├── hooks-api.md
|
|
670
|
+
│ └── type-reference.md
|
|
671
|
+
│
|
|
672
|
+
└── 📁 tutorials/ (Step-by-Step Tutorials - Coming Soon)
|
|
673
|
+
├── first-test-suite.md
|
|
674
|
+
├── advanced-coverage.md
|
|
675
|
+
├── custom-agents.md
|
|
676
|
+
└── performance-optimization.md
|
|
677
|
+
```
|
|
678
|
+
|
|
679
|
+
### Documentation by Role
|
|
680
|
+
|
|
681
|
+
**For New Users:**
|
|
682
|
+
1. [AQE CLI Guide](./AQE-CLI.md)
|
|
683
|
+
2. [Claude Code Integration](./CLAUDE-MD-INTEGRATION.md)
|
|
684
|
+
3. [Commands Quick Reference](./QE-COMMANDS-QUICK-REFERENCE.md)
|
|
685
|
+
|
|
686
|
+
**For Developers:**
|
|
687
|
+
1. [Fleet Specification](./Agentic-QE-Fleet-Specification.md)
|
|
688
|
+
2. [Type System Updates](./TYPE-SYSTEM-UPDATES-WEEK1.md)
|
|
689
|
+
3. [Implementation Guide](./QE-COMMANDS-IMPLEMENTATION-GUIDE.md)
|
|
690
|
+
|
|
691
|
+
**For Architects:**
|
|
692
|
+
1. [Architecture Diagram](./QE-COMMANDS-ARCHITECTURE-DIAGRAM.md)
|
|
693
|
+
2. [Hooks Architecture](./QE_HOOKS_ARCHITECTURE.md)
|
|
694
|
+
3. [Framework Overview](./Agentic-QE-Framework.md)
|
|
695
|
+
|
|
696
|
+
**For Security Teams:**
|
|
697
|
+
1. [Security Best Practices](./AI & Agentic Security Best Practices.md)
|
|
698
|
+
2. [Fleet Specification - Security](./Agentic-QE-Fleet-Specification.md#security)
|
|
699
|
+
|
|
700
|
+
### Documentation Size Reference
|
|
701
|
+
|
|
702
|
+
| Document | Lines | Size | Complexity |
|
|
703
|
+
|----------|-------|------|------------|
|
|
704
|
+
| QE Hooks Architecture | 2,000+ | 59KB | Advanced |
|
|
705
|
+
| Commands Architecture | 1,800+ | 53KB | Advanced |
|
|
706
|
+
| Slash Commands Spec | 1,500+ | 34KB | Intermediate |
|
|
707
|
+
| Implementation Guide | 1,300+ | 27KB | Intermediate |
|
|
708
|
+
| Fleet Specification | 800+ | 18KB | Beginner |
|
|
709
|
+
| Commands Quick Ref | 900+ | 17KB | Beginner |
|
|
710
|
+
| Type System Updates | 700+ | 17KB | Intermediate |
|
|
711
|
+
| Commands Index | 600+ | 16KB | Beginner |
|
|
712
|
+
| Security Best Practices | 400+ | 10KB | Intermediate |
|
|
713
|
+
| CLAUDE.md Integration | 300+ | 6KB | Beginner |
|
|
714
|
+
| AQE CLI | 250+ | 6KB | Beginner |
|
|
715
|
+
| Golden Doc Technique | 150+ | 3KB | Beginner |
|
|
716
|
+
| Framework Overview | 100+ | 2KB | Beginner |
|
|
717
|
+
|
|
718
|
+
**Total Documentation: ~5,100 lines, ~260KB**
|
|
719
|
+
|
|
720
|
+
---
|
|
721
|
+
|
|
722
|
+
## Contributing to Documentation
|
|
723
|
+
|
|
724
|
+
We welcome contributions to improve documentation!
|
|
725
|
+
|
|
726
|
+
### How to Contribute
|
|
727
|
+
|
|
728
|
+
1. **Report Issues**
|
|
729
|
+
- Unclear explanations
|
|
730
|
+
- Missing information
|
|
731
|
+
- Outdated content
|
|
732
|
+
- Broken links
|
|
733
|
+
|
|
734
|
+
2. **Submit Improvements**
|
|
735
|
+
- Fix typos and grammar
|
|
736
|
+
- Add missing examples
|
|
737
|
+
- Improve clarity
|
|
738
|
+
- Add diagrams
|
|
739
|
+
|
|
740
|
+
3. **Create New Content**
|
|
741
|
+
- User guides
|
|
742
|
+
- Tutorials
|
|
743
|
+
- API reference
|
|
744
|
+
- Architecture docs
|
|
745
|
+
|
|
746
|
+
### Documentation Standards
|
|
747
|
+
|
|
748
|
+
**Follow the Golden Documentation Technique:**
|
|
749
|
+
- Clear, concise, actionable
|
|
750
|
+
- Examples over explanations
|
|
751
|
+
- Progressive disclosure
|
|
752
|
+
- Validation and testing
|
|
753
|
+
- Continuous improvement
|
|
754
|
+
|
|
755
|
+
**Writing Guidelines:**
|
|
756
|
+
- Use Markdown formatting
|
|
757
|
+
- Include code examples
|
|
758
|
+
- Add diagrams where helpful
|
|
759
|
+
- Link to related docs
|
|
760
|
+
- Keep language simple
|
|
761
|
+
- Test all examples
|
|
762
|
+
|
|
763
|
+
**Structure Guidelines:**
|
|
764
|
+
- Start with overview
|
|
765
|
+
- Include table of contents
|
|
766
|
+
- Use consistent headings
|
|
767
|
+
- Add navigation aids
|
|
768
|
+
- Include examples
|
|
769
|
+
- Provide next steps
|
|
770
|
+
|
|
771
|
+
### Documentation Review Process
|
|
772
|
+
|
|
773
|
+
1. **Self Review**
|
|
774
|
+
- Check spelling and grammar
|
|
775
|
+
- Verify all links work
|
|
776
|
+
- Test all code examples
|
|
777
|
+
- Ensure clarity
|
|
778
|
+
|
|
779
|
+
2. **Peer Review**
|
|
780
|
+
- Request feedback
|
|
781
|
+
- Address comments
|
|
782
|
+
- Validate improvements
|
|
783
|
+
|
|
784
|
+
3. **Final Approval**
|
|
785
|
+
- Documentation team review
|
|
786
|
+
- Technical accuracy check
|
|
787
|
+
- Style guide compliance
|
|
788
|
+
|
|
789
|
+
### Maintenance
|
|
790
|
+
|
|
791
|
+
- **Weekly**: Review for accuracy
|
|
792
|
+
- **Monthly**: Update version info
|
|
793
|
+
- **Quarterly**: Comprehensive audit
|
|
794
|
+
- **As Needed**: Critical updates
|
|
795
|
+
|
|
796
|
+
---
|
|
797
|
+
|
|
798
|
+
## Support & Community
|
|
799
|
+
|
|
800
|
+
### Getting Help
|
|
801
|
+
|
|
802
|
+
- **Documentation**: Start here - you're in the right place!
|
|
803
|
+
- **GitHub Issues**: [Report bugs or request features](https://github.com/proffesor-for-testing/agentic-qe/issues)
|
|
804
|
+
- **GitHub Discussions**: [Ask questions and share ideas](https://github.com/proffesor-for-testing/agentic-qe/discussions)
|
|
805
|
+
- **Claude Flow**: [Main project documentation](https://github.com/ruvnet/claude-flow)
|
|
806
|
+
|
|
807
|
+
### Useful Links
|
|
808
|
+
|
|
809
|
+
- **Project Repository**: [github.com/proffesor-for-testing/agentic-qe](https://github.com/proffesor-for-testing/agentic-qe)
|
|
810
|
+
- **Claude Flow**: [github.com/ruvnet/claude-flow](https://github.com/ruvnet/claude-flow)
|
|
811
|
+
- **npm Package**: [npmjs.com/package/agentic-qe](https://www.npmjs.com/package/agentic-qe)
|
|
812
|
+
- **Change Log**: [CHANGELOG.md](../CHANGELOG.md)
|
|
813
|
+
|
|
814
|
+
---
|
|
815
|
+
|
|
816
|
+
## Quick Links
|
|
817
|
+
|
|
818
|
+
### Most Popular Docs
|
|
819
|
+
- [AQE CLI Guide](./AQE-CLI.md) - Quick command reference
|
|
820
|
+
- [Commands Quick Reference](./QE-COMMANDS-QUICK-REFERENCE.md) - Developer guide
|
|
821
|
+
- [Fleet Specification](./Agentic-QE-Fleet-Specification.md) - System overview
|
|
822
|
+
|
|
823
|
+
### Essential Reference
|
|
824
|
+
- [Slash Commands Spec](./QE-SLASH-COMMANDS-SPECIFICATION.md) - Complete command specs
|
|
825
|
+
- [Type System](./TYPE-SYSTEM-UPDATES-WEEK1.md) - TypeScript definitions
|
|
826
|
+
- [Security Best Practices](./AI & Agentic Security Best Practices.md) - Security guide
|
|
827
|
+
|
|
828
|
+
### Advanced Topics
|
|
829
|
+
- [Hooks Architecture](./QE_HOOKS_ARCHITECTURE.md) - Event-driven system
|
|
830
|
+
- [Commands Architecture](./QE-COMMANDS-ARCHITECTURE-DIAGRAM.md) - System design
|
|
831
|
+
- [Implementation Guide](./QE-COMMANDS-IMPLEMENTATION-GUIDE.md) - Build guide
|
|
832
|
+
|
|
833
|
+
---
|
|
834
|
+
|
|
835
|
+
**Last Updated**: 2025-09-30
|
|
836
|
+
**Version**: 1.0.0
|
|
837
|
+
**Status**: Active Development ✅
|
|
838
|
+
|
|
839
|
+
*Built with ❤️ by the Agentic QE Team*
|