agentic-qe 1.9.1 โ 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 +36 -0
- package/README.md +33 -1
- package/dist/core/memory/SwarmMemoryManager.d.ts.map +1 -1
- package/dist/core/memory/SwarmMemoryManager.js +45 -5
- package/dist/core/memory/SwarmMemoryManager.js.map +1 -1
- package/dist/mcp/handlers/memory/memory-store.d.ts +6 -2
- package/dist/mcp/handlers/memory/memory-store.d.ts.map +1 -1
- package/dist/mcp/handlers/memory/memory-store.js +26 -4
- package/dist/mcp/handlers/memory/memory-store.js.map +1 -1
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +2 -1
- package/dist/mcp/server.js.map +1 -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/.claude/commands/github/code-review-swarm.md +0 -514
- package/.claude/commands/github/github-modes.md +0 -147
- package/.claude/commands/github/issue-tracker.md +0 -292
- package/.claude/commands/github/multi-repo-swarm.md +0 -519
- package/.claude/commands/github/pr-manager.md +0 -170
- package/.claude/commands/github/project-board-sync.md +0 -471
- package/.claude/commands/github/release-manager.md +0 -338
- package/.claude/commands/github/release-swarm.md +0 -544
- package/.claude/commands/github/repo-architect.md +0 -367
- package/.claude/commands/github/swarm-issue.md +0 -482
- package/.claude/commands/github/swarm-pr.md +0 -285
- package/.claude/commands/github/sync-coordinator.md +0 -301
- package/.claude/commands/github/workflow-automation.md +0 -442
- package/.claude/commands/hooks/overview.md +0 -132
- package/.claude/commands/pair/commands.md +0 -546
- package/.claude/commands/pair/config.md +0 -510
- package/.claude/commands/pair/examples.md +0 -512
- package/.claude/commands/pair/modes.md +0 -348
- package/.claude/commands/pair/session.md +0 -407
- package/.claude/commands/pair/start.md +0 -209
- package/.claude/commands/sparc/orchestrator.md +0 -132
- package/.claude/commands/sparc/sparc-modes.md +0 -174
- package/.claude/commands/stream-chain/pipeline.md +0 -121
- package/.claude/commands/stream-chain/run.md +0 -70
- package/.claude/commands/swarm/analysis.md +0 -95
- package/.claude/commands/swarm/development.md +0 -96
- package/.claude/commands/swarm/examples.md +0 -168
- package/.claude/commands/swarm/maintenance.md +0 -102
- package/.claude/commands/swarm/optimization.md +0 -117
- package/.claude/commands/swarm/research.md +0 -136
- package/.claude/commands/swarm/testing.md +0 -131
- package/.claude/commands/truth/start.md +0 -143
- package/.claude/commands/verify/check.md +0 -50
- package/.claude/commands/verify/start.md +0 -128
|
@@ -1,407 +0,0 @@
|
|
|
1
|
-
# Pair Programming Session Management
|
|
2
|
-
|
|
3
|
-
Complete guide to managing pair programming sessions.
|
|
4
|
-
|
|
5
|
-
## Session Lifecycle
|
|
6
|
-
|
|
7
|
-
### 1. Initialization
|
|
8
|
-
```bash
|
|
9
|
-
claude-flow pair --start
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
### 2. Active Session
|
|
13
|
-
- Real-time collaboration
|
|
14
|
-
- Continuous verification
|
|
15
|
-
- Quality monitoring
|
|
16
|
-
- Role management
|
|
17
|
-
|
|
18
|
-
### 3. Completion
|
|
19
|
-
```bash
|
|
20
|
-
claude-flow pair --end
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
## Session Commands
|
|
24
|
-
|
|
25
|
-
During an active session, use these commands:
|
|
26
|
-
|
|
27
|
-
### Basic Commands
|
|
28
|
-
```
|
|
29
|
-
/help - Show all available commands
|
|
30
|
-
/status - Current session status
|
|
31
|
-
/metrics - View quality metrics
|
|
32
|
-
/pause - Pause current session
|
|
33
|
-
/resume - Resume paused session
|
|
34
|
-
/end - End current session
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
### Code Commands
|
|
38
|
-
```
|
|
39
|
-
/explain - Explain current code
|
|
40
|
-
/suggest - Get improvement suggestions
|
|
41
|
-
/refactor - Refactor selected code
|
|
42
|
-
/optimize - Optimize for performance
|
|
43
|
-
/document - Add documentation
|
|
44
|
-
/comment - Add inline comments
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
### Testing Commands
|
|
48
|
-
```
|
|
49
|
-
/test - Run test suite
|
|
50
|
-
/test-gen - Generate tests
|
|
51
|
-
/coverage - Check test coverage
|
|
52
|
-
/test-watch - Enable test watching
|
|
53
|
-
/mock - Generate mocks
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
### Review Commands
|
|
57
|
-
```
|
|
58
|
-
/review - Full code review
|
|
59
|
-
/security - Security analysis
|
|
60
|
-
/perf - Performance review
|
|
61
|
-
/quality - Quality metrics
|
|
62
|
-
/lint - Run linters
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
### Navigation Commands
|
|
66
|
-
```
|
|
67
|
-
/goto <file> - Navigate to file
|
|
68
|
-
/find <text> - Search in project
|
|
69
|
-
/recent - Recent files
|
|
70
|
-
/bookmark - Bookmark location
|
|
71
|
-
/history - Command history
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
### Role Commands
|
|
75
|
-
```
|
|
76
|
-
/switch - Switch driver/navigator
|
|
77
|
-
/mode <type> - Change mode
|
|
78
|
-
/role - Show current role
|
|
79
|
-
/handoff - Prepare role handoff
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
### Git Commands
|
|
83
|
-
```
|
|
84
|
-
/diff - Show changes
|
|
85
|
-
/commit - Commit with verification
|
|
86
|
-
/branch - Branch operations
|
|
87
|
-
/stash - Stash changes
|
|
88
|
-
/log - View git log
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
## Session Status
|
|
92
|
-
|
|
93
|
-
Check current session status:
|
|
94
|
-
|
|
95
|
-
```bash
|
|
96
|
-
claude-flow pair --status
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
Output:
|
|
100
|
-
```
|
|
101
|
-
๐ฅ Pair Programming Session
|
|
102
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
103
|
-
|
|
104
|
-
Session ID: pair_1755021234567
|
|
105
|
-
Duration: 45 minutes
|
|
106
|
-
Status: Active
|
|
107
|
-
|
|
108
|
-
Partner: senior-dev
|
|
109
|
-
Current Role: DRIVER (you)
|
|
110
|
-
Mode: Switch (10m intervals)
|
|
111
|
-
Next Switch: in 3 minutes
|
|
112
|
-
|
|
113
|
-
๐ Metrics:
|
|
114
|
-
โโโ Truth Score: 0.982 โ
|
|
115
|
-
โโโ Lines Changed: 234
|
|
116
|
-
โโโ Files Modified: 5
|
|
117
|
-
โโโ Tests Added: 12
|
|
118
|
-
โโโ Coverage: 87% โ3%
|
|
119
|
-
โโโ Commits: 3
|
|
120
|
-
|
|
121
|
-
๐ฏ Focus: Implementation
|
|
122
|
-
๐ Current File: src/auth/login.js
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
## Session History
|
|
126
|
-
|
|
127
|
-
View past sessions:
|
|
128
|
-
|
|
129
|
-
```bash
|
|
130
|
-
claude-flow pair --history
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
Output:
|
|
134
|
-
```
|
|
135
|
-
๐ Session History
|
|
136
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
137
|
-
|
|
138
|
-
1. 2024-01-15 14:30 - 16:45 (2h 15m)
|
|
139
|
-
Partner: expert-coder
|
|
140
|
-
Focus: Refactoring
|
|
141
|
-
Truth Score: 0.975
|
|
142
|
-
Changes: +340 -125 lines
|
|
143
|
-
|
|
144
|
-
2. 2024-01-14 10:00 - 11:30 (1h 30m)
|
|
145
|
-
Partner: tdd-specialist
|
|
146
|
-
Focus: Testing
|
|
147
|
-
Truth Score: 0.991
|
|
148
|
-
Tests Added: 24
|
|
149
|
-
|
|
150
|
-
3. 2024-01-13 15:00 - 17:00 (2h)
|
|
151
|
-
Partner: debugger-expert
|
|
152
|
-
Focus: Bug Fixing
|
|
153
|
-
Truth Score: 0.968
|
|
154
|
-
Issues Fixed: 5
|
|
155
|
-
```
|
|
156
|
-
|
|
157
|
-
## Session Metrics
|
|
158
|
-
|
|
159
|
-
Real-time metrics during session:
|
|
160
|
-
|
|
161
|
-
### Truth Score
|
|
162
|
-
```
|
|
163
|
-
Current: 0.982 โ
|
|
164
|
-
Average: 0.975
|
|
165
|
-
Minimum: 0.951
|
|
166
|
-
Threshold: 0.950
|
|
167
|
-
```
|
|
168
|
-
|
|
169
|
-
### Productivity
|
|
170
|
-
```
|
|
171
|
-
Lines Changed: 234
|
|
172
|
-
Files Modified: 5
|
|
173
|
-
Functions Added: 8
|
|
174
|
-
Functions Refactored: 3
|
|
175
|
-
```
|
|
176
|
-
|
|
177
|
-
### Quality
|
|
178
|
-
```
|
|
179
|
-
Test Coverage: 87% โ3%
|
|
180
|
-
Lint Issues: 0
|
|
181
|
-
Security Issues: 0
|
|
182
|
-
Performance Issues: 1 โ ๏ธ
|
|
183
|
-
```
|
|
184
|
-
|
|
185
|
-
### Collaboration
|
|
186
|
-
```
|
|
187
|
-
Suggestions Given: 45
|
|
188
|
-
Suggestions Accepted: 38 (84%)
|
|
189
|
-
Reviews Completed: 12
|
|
190
|
-
Rollbacks: 1
|
|
191
|
-
```
|
|
192
|
-
|
|
193
|
-
## Session Persistence
|
|
194
|
-
|
|
195
|
-
### Save Session
|
|
196
|
-
```bash
|
|
197
|
-
claude-flow pair --save [--name <name>]
|
|
198
|
-
```
|
|
199
|
-
|
|
200
|
-
### Load Session
|
|
201
|
-
```bash
|
|
202
|
-
claude-flow pair --load <session-id>
|
|
203
|
-
```
|
|
204
|
-
|
|
205
|
-
### Export Session
|
|
206
|
-
```bash
|
|
207
|
-
claude-flow pair --export <session-id> [--format json|md]
|
|
208
|
-
```
|
|
209
|
-
|
|
210
|
-
## Background Sessions
|
|
211
|
-
|
|
212
|
-
Run pair programming in background:
|
|
213
|
-
|
|
214
|
-
### Start Background Session
|
|
215
|
-
```bash
|
|
216
|
-
claude-flow pair --start --background
|
|
217
|
-
```
|
|
218
|
-
|
|
219
|
-
### Monitor Background Session
|
|
220
|
-
```bash
|
|
221
|
-
claude-flow pair --monitor
|
|
222
|
-
```
|
|
223
|
-
|
|
224
|
-
### Attach to Background Session
|
|
225
|
-
```bash
|
|
226
|
-
claude-flow pair --attach <session-id>
|
|
227
|
-
```
|
|
228
|
-
|
|
229
|
-
## Session Configuration
|
|
230
|
-
|
|
231
|
-
### Default Settings
|
|
232
|
-
```json
|
|
233
|
-
{
|
|
234
|
-
"pair": {
|
|
235
|
-
"session": {
|
|
236
|
-
"autoSave": true,
|
|
237
|
-
"saveInterval": "5m",
|
|
238
|
-
"maxDuration": "4h",
|
|
239
|
-
"idleTimeout": "15m",
|
|
240
|
-
"metricsInterval": "1m"
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
```
|
|
245
|
-
|
|
246
|
-
### Per-Session Config
|
|
247
|
-
```bash
|
|
248
|
-
claude-flow pair --start \
|
|
249
|
-
--config custom-config.json
|
|
250
|
-
```
|
|
251
|
-
|
|
252
|
-
## Session Templates
|
|
253
|
-
|
|
254
|
-
### Refactoring Template
|
|
255
|
-
```bash
|
|
256
|
-
claude-flow pair --template refactor
|
|
257
|
-
```
|
|
258
|
-
- Focus: Code improvement
|
|
259
|
-
- Verification: High (0.98)
|
|
260
|
-
- Testing: After each change
|
|
261
|
-
- Review: Continuous
|
|
262
|
-
|
|
263
|
-
### Feature Template
|
|
264
|
-
```bash
|
|
265
|
-
claude-flow pair --template feature
|
|
266
|
-
```
|
|
267
|
-
- Focus: Implementation
|
|
268
|
-
- Verification: Standard (0.95)
|
|
269
|
-
- Testing: On completion
|
|
270
|
-
- Review: Pre-commit
|
|
271
|
-
|
|
272
|
-
### Debug Template
|
|
273
|
-
```bash
|
|
274
|
-
claude-flow pair --template debug
|
|
275
|
-
```
|
|
276
|
-
- Focus: Problem solving
|
|
277
|
-
- Verification: Moderate (0.90)
|
|
278
|
-
- Testing: Regression tests
|
|
279
|
-
- Review: Root cause
|
|
280
|
-
|
|
281
|
-
### Learning Template
|
|
282
|
-
```bash
|
|
283
|
-
claude-flow pair --template learn
|
|
284
|
-
```
|
|
285
|
-
- Mode: Mentor
|
|
286
|
-
- Pace: Slow
|
|
287
|
-
- Explanations: Detailed
|
|
288
|
-
- Examples: Many
|
|
289
|
-
|
|
290
|
-
## Session Reports
|
|
291
|
-
|
|
292
|
-
Generate session report:
|
|
293
|
-
|
|
294
|
-
```bash
|
|
295
|
-
claude-flow pair --report <session-id>
|
|
296
|
-
```
|
|
297
|
-
|
|
298
|
-
Report includes:
|
|
299
|
-
- Session summary
|
|
300
|
-
- Metrics overview
|
|
301
|
-
- Code changes
|
|
302
|
-
- Test results
|
|
303
|
-
- Quality scores
|
|
304
|
-
- Learning points
|
|
305
|
-
- Recommendations
|
|
306
|
-
|
|
307
|
-
## Multi-Session Management
|
|
308
|
-
|
|
309
|
-
### List Active Sessions
|
|
310
|
-
```bash
|
|
311
|
-
claude-flow pair --list
|
|
312
|
-
```
|
|
313
|
-
|
|
314
|
-
### Switch Between Sessions
|
|
315
|
-
```bash
|
|
316
|
-
claude-flow pair --switch <session-id>
|
|
317
|
-
```
|
|
318
|
-
|
|
319
|
-
### Merge Sessions
|
|
320
|
-
```bash
|
|
321
|
-
claude-flow pair --merge <session-1> <session-2>
|
|
322
|
-
```
|
|
323
|
-
|
|
324
|
-
## Session Recovery
|
|
325
|
-
|
|
326
|
-
### Auto-Recovery
|
|
327
|
-
Sessions auto-save every 5 minutes with recovery points.
|
|
328
|
-
|
|
329
|
-
### Manual Recovery
|
|
330
|
-
```bash
|
|
331
|
-
claude-flow pair --recover [--point <timestamp>]
|
|
332
|
-
```
|
|
333
|
-
|
|
334
|
-
### Crash Recovery
|
|
335
|
-
```bash
|
|
336
|
-
claude-flow pair --crash-recovery
|
|
337
|
-
```
|
|
338
|
-
|
|
339
|
-
## Session Sharing
|
|
340
|
-
|
|
341
|
-
### Share with Team
|
|
342
|
-
```bash
|
|
343
|
-
claude-flow pair --share <session-id> \
|
|
344
|
-
--team <team-id>
|
|
345
|
-
```
|
|
346
|
-
|
|
347
|
-
### Export for Review
|
|
348
|
-
```bash
|
|
349
|
-
claude-flow pair --export-review <session-id>
|
|
350
|
-
```
|
|
351
|
-
|
|
352
|
-
### Create Learning Material
|
|
353
|
-
```bash
|
|
354
|
-
claude-flow pair --create-tutorial <session-id>
|
|
355
|
-
```
|
|
356
|
-
|
|
357
|
-
## Advanced Features
|
|
358
|
-
|
|
359
|
-
### Session Recording
|
|
360
|
-
```bash
|
|
361
|
-
claude-flow pair --start --record
|
|
362
|
-
```
|
|
363
|
-
Records all interactions for playback.
|
|
364
|
-
|
|
365
|
-
### Session Replay
|
|
366
|
-
```bash
|
|
367
|
-
claude-flow pair --replay <session-id>
|
|
368
|
-
```
|
|
369
|
-
Replay recorded session for learning.
|
|
370
|
-
|
|
371
|
-
### Session Analytics
|
|
372
|
-
```bash
|
|
373
|
-
claude-flow pair --analytics <session-id>
|
|
374
|
-
```
|
|
375
|
-
Deep analysis of session patterns.
|
|
376
|
-
|
|
377
|
-
## Troubleshooting
|
|
378
|
-
|
|
379
|
-
### Session Won't Start
|
|
380
|
-
- Check agent availability
|
|
381
|
-
- Verify configuration
|
|
382
|
-
- Ensure clean workspace
|
|
383
|
-
|
|
384
|
-
### Session Disconnected
|
|
385
|
-
- Use `--recover` to restore
|
|
386
|
-
- Check network connection
|
|
387
|
-
- Verify background processes
|
|
388
|
-
|
|
389
|
-
### Poor Performance
|
|
390
|
-
- Reduce verification threshold
|
|
391
|
-
- Disable continuous testing
|
|
392
|
-
- Check system resources
|
|
393
|
-
|
|
394
|
-
## Best Practices
|
|
395
|
-
|
|
396
|
-
1. **Regular Saves** - Auto-save enabled
|
|
397
|
-
2. **Clear Goals** - Define objectives
|
|
398
|
-
3. **Appropriate Duration** - 1-2 hour sessions
|
|
399
|
-
4. **Breaks** - Take regular breaks
|
|
400
|
-
5. **Review** - End with summary
|
|
401
|
-
|
|
402
|
-
## Related Commands
|
|
403
|
-
|
|
404
|
-
- `pair --start` - Start new session
|
|
405
|
-
- `pair --config` - Configure settings
|
|
406
|
-
- `pair --templates` - Manage templates
|
|
407
|
-
- `pair --analytics` - View analytics
|
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
# pair --start
|
|
2
|
-
|
|
3
|
-
Start a new pair programming session with AI assistance.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
claude-flow pair --start [options]
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Options
|
|
12
|
-
|
|
13
|
-
- `--agent <name>` - AI pair partner (default: auto-select)
|
|
14
|
-
- `--mode <type>` - Programming mode: driver, navigator, switch
|
|
15
|
-
- `--verify` - Enable real-time verification
|
|
16
|
-
- `--threshold <0-1>` - Verification threshold (default: 0.95)
|
|
17
|
-
- `--focus <area>` - Focus area: refactor, test, debug, implement
|
|
18
|
-
- `--language <lang>` - Primary programming language
|
|
19
|
-
- `--review` - Enable continuous code review
|
|
20
|
-
- `--test` - Run tests after each change
|
|
21
|
-
- `--interval <time>` - Switch interval for switch mode (default: 10m)
|
|
22
|
-
|
|
23
|
-
## Examples
|
|
24
|
-
|
|
25
|
-
### Basic Start
|
|
26
|
-
```bash
|
|
27
|
-
claude-flow pair --start
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
### Expert Refactoring Session
|
|
31
|
-
```bash
|
|
32
|
-
claude-flow pair --start \
|
|
33
|
-
--agent senior-dev \
|
|
34
|
-
--focus refactor \
|
|
35
|
-
--verify \
|
|
36
|
-
--threshold 0.98
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
### TDD Session
|
|
40
|
-
```bash
|
|
41
|
-
claude-flow pair --start \
|
|
42
|
-
--mode driver \
|
|
43
|
-
--focus test \
|
|
44
|
-
--test \
|
|
45
|
-
--language javascript
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
### Debugging Session
|
|
49
|
-
```bash
|
|
50
|
-
claude-flow pair --start \
|
|
51
|
-
--agent debugger-expert \
|
|
52
|
-
--focus debug \
|
|
53
|
-
--review
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
## Session Initialization
|
|
57
|
-
|
|
58
|
-
When starting a session, the system:
|
|
59
|
-
|
|
60
|
-
1. **Selects AI Partner** - Matches expertise to your needs
|
|
61
|
-
2. **Configures Environment** - Sets up verification and testing
|
|
62
|
-
3. **Establishes Roles** - Defines driver/navigator responsibilities
|
|
63
|
-
4. **Loads Context** - Imports project information
|
|
64
|
-
5. **Begins Monitoring** - Tracks quality metrics
|
|
65
|
-
|
|
66
|
-
## Modes Explained
|
|
67
|
-
|
|
68
|
-
### Driver Mode
|
|
69
|
-
You write code while AI:
|
|
70
|
-
- Provides real-time suggestions
|
|
71
|
-
- Reviews changes instantly
|
|
72
|
-
- Catches potential issues
|
|
73
|
-
- Suggests improvements
|
|
74
|
-
|
|
75
|
-
### Navigator Mode
|
|
76
|
-
AI writes code while you:
|
|
77
|
-
- Provide high-level guidance
|
|
78
|
-
- Review generated code
|
|
79
|
-
- Request modifications
|
|
80
|
-
- Control direction
|
|
81
|
-
|
|
82
|
-
### Switch Mode
|
|
83
|
-
Automatically alternates roles:
|
|
84
|
-
- Default: 10-minute intervals
|
|
85
|
-
- Configurable timing
|
|
86
|
-
- Smooth handoffs
|
|
87
|
-
- Shared context
|
|
88
|
-
|
|
89
|
-
## Focus Areas
|
|
90
|
-
|
|
91
|
-
### Refactor
|
|
92
|
-
- Code structure improvements
|
|
93
|
-
- Pattern implementation
|
|
94
|
-
- Performance optimization
|
|
95
|
-
- Readability enhancement
|
|
96
|
-
|
|
97
|
-
### Test
|
|
98
|
-
- Test-driven development
|
|
99
|
-
- Test coverage improvement
|
|
100
|
-
- Edge case identification
|
|
101
|
-
- Mock creation
|
|
102
|
-
|
|
103
|
-
### Debug
|
|
104
|
-
- Issue identification
|
|
105
|
-
- Root cause analysis
|
|
106
|
-
- Fix suggestions
|
|
107
|
-
- Prevention strategies
|
|
108
|
-
|
|
109
|
-
### Implement
|
|
110
|
-
- Feature development
|
|
111
|
-
- API creation
|
|
112
|
-
- UI components
|
|
113
|
-
- Business logic
|
|
114
|
-
|
|
115
|
-
## Quality Features
|
|
116
|
-
|
|
117
|
-
### Verification
|
|
118
|
-
- Real-time truth scoring
|
|
119
|
-
- Automatic rollback on failures
|
|
120
|
-
- Quality gates before commits
|
|
121
|
-
- Continuous monitoring
|
|
122
|
-
|
|
123
|
-
### Code Review
|
|
124
|
-
- Instant feedback
|
|
125
|
-
- Best practice enforcement
|
|
126
|
-
- Security scanning
|
|
127
|
-
- Performance analysis
|
|
128
|
-
|
|
129
|
-
### Testing
|
|
130
|
-
- Automatic test generation
|
|
131
|
-
- Coverage tracking
|
|
132
|
-
- Integration suggestions
|
|
133
|
-
- Regression prevention
|
|
134
|
-
|
|
135
|
-
## Session Output
|
|
136
|
-
|
|
137
|
-
```
|
|
138
|
-
๐ฅ Pair Programming Session Started
|
|
139
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
140
|
-
|
|
141
|
-
Session ID: pair_1755021234567
|
|
142
|
-
Partner: senior-dev
|
|
143
|
-
Mode: Switch (10m intervals)
|
|
144
|
-
Focus: Implementation
|
|
145
|
-
Language: JavaScript
|
|
146
|
-
|
|
147
|
-
Verification: โ
Enabled (0.95 threshold)
|
|
148
|
-
Testing: โ
Auto-run on save
|
|
149
|
-
Review: โ
Continuous
|
|
150
|
-
|
|
151
|
-
Current Role: DRIVER (you)
|
|
152
|
-
Navigator: senior-dev is ready...
|
|
153
|
-
|
|
154
|
-
๐ Workspace: /workspaces/my-project
|
|
155
|
-
๐ Truth Score: 0.972 โ
|
|
156
|
-
๐งช Test Coverage: 84%
|
|
157
|
-
|
|
158
|
-
Type /help for commands or start coding...
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
## Background Execution
|
|
162
|
-
|
|
163
|
-
Start sessions in background for long-running collaboration:
|
|
164
|
-
|
|
165
|
-
```bash
|
|
166
|
-
# Start in background
|
|
167
|
-
claude-flow pair --start --background
|
|
168
|
-
|
|
169
|
-
# Monitor session
|
|
170
|
-
claude-flow pair status
|
|
171
|
-
|
|
172
|
-
# View session output
|
|
173
|
-
claude-flow pair output session_id
|
|
174
|
-
|
|
175
|
-
# End background session
|
|
176
|
-
claude-flow pair --end session_id
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
## Integration
|
|
180
|
-
|
|
181
|
-
### With Git
|
|
182
|
-
```bash
|
|
183
|
-
claude-flow pair --start --git --auto-commit
|
|
184
|
-
```
|
|
185
|
-
|
|
186
|
-
### With CI/CD
|
|
187
|
-
```bash
|
|
188
|
-
claude-flow pair --start --ci --non-interactive
|
|
189
|
-
```
|
|
190
|
-
|
|
191
|
-
### With IDE
|
|
192
|
-
```bash
|
|
193
|
-
claude-flow pair --start --ide vscode
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
## Best Practices
|
|
197
|
-
|
|
198
|
-
1. **Clear Goals** - Define session objectives
|
|
199
|
-
2. **Appropriate Mode** - Choose based on task
|
|
200
|
-
3. **Enable Verification** - For critical code
|
|
201
|
-
4. **Regular Testing** - Maintain quality
|
|
202
|
-
5. **Session Notes** - Document decisions
|
|
203
|
-
|
|
204
|
-
## Related Commands
|
|
205
|
-
|
|
206
|
-
- `pair --end` - End current session
|
|
207
|
-
- `pair --status` - Check session status
|
|
208
|
-
- `pair --history` - View past sessions
|
|
209
|
-
- `pair --config` - Configure defaults
|