claude-flow-novice 2.10.9 โ 2.12.0
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/commands/README.md +157 -0
- package/.claude/hooks/cfn-invoke-post-edit.sh +1 -1
- package/.claude/skills/cfn-backlog-management/SKILL.md +199 -0
- package/.claude/skills/cfn-backlog-management/add-backlog-item.sh +210 -0
- package/.claude/skills/cfn-changelog-management/SKILL.md +349 -0
- package/.claude/skills/cfn-changelog-management/add-changelog-entry.sh +200 -0
- package/claude-assets/agents/cfn-dev-team/architecture/base-template-generator.md +7 -21
- package/claude-assets/agents/cfn-dev-team/testing/test-validation-agent.md +312 -0
- package/claude-assets/agents/cfn-dev-team/utility/agent-builder.md +480 -115
- package/claude-assets/hooks/cfn-invoke-post-edit.sh +1 -1
- package/claude-assets/skills/cfn-backlog-management/SKILL.md +199 -0
- package/claude-assets/skills/cfn-backlog-management/add-backlog-item.sh +210 -0
- package/claude-assets/skills/cfn-changelog-management/SKILL.md +349 -0
- package/claude-assets/skills/cfn-changelog-management/add-changelog-entry.sh +200 -0
- package/dist/cli/config-manager.js.map +1 -1
- package/package.json +4 -2
- package/scripts/init-project.js +38 -3
- package/claude-assets/commands/agents/README.md +0 -10
- package/claude-assets/commands/agents/agent-capabilities.md +0 -21
- package/claude-assets/commands/agents/agent-coordination.md +0 -28
- package/claude-assets/commands/agents/agent-spawning.md +0 -28
- package/claude-assets/commands/agents/agent-types.md +0 -26
- package/claude-assets/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +0 -54
- package/claude-assets/commands/analysis/README.md +0 -9
- package/claude-assets/commands/analysis/bottleneck-detect.md +0 -162
- package/claude-assets/commands/analysis/performance-bottlenecks.md +0 -59
- package/claude-assets/commands/analysis/performance-report.md +0 -25
- package/claude-assets/commands/analysis/token-efficiency.md +0 -45
- package/claude-assets/commands/analysis/token-usage.md +0 -25
- package/claude-assets/commands/automation/README.md +0 -9
- package/claude-assets/commands/automation/auto-agent.md +0 -122
- package/claude-assets/commands/automation/self-healing.md +0 -106
- package/claude-assets/commands/automation/session-memory.md +0 -90
- package/claude-assets/commands/automation/smart-agents.md +0 -73
- package/claude-assets/commands/automation/smart-spawn.md +0 -25
- package/claude-assets/commands/automation/workflow-select.md +0 -25
- package/claude-assets/commands/claude-md.js +0 -237
- package/claude-assets/commands/claude-soul.js +0 -28
- package/claude-assets/commands/cli-integration.js +0 -216
- package/claude-assets/commands/coordination/README.md +0 -9
- package/claude-assets/commands/coordination/agent-spawn.md +0 -25
- package/claude-assets/commands/coordination/coordination-system.md +0 -88
- package/claude-assets/commands/coordination/init.md +0 -44
- package/claude-assets/commands/coordination/orchestrate.md +0 -43
- package/claude-assets/commands/coordination/spawn.md +0 -45
- package/claude-assets/commands/coordination/swarm-init.md +0 -85
- package/claude-assets/commands/coordination/task-orchestrate.md +0 -25
- package/claude-assets/commands/github/README.md +0 -11
- package/claude-assets/commands/github/code-review-swarm.md +0 -514
- package/claude-assets/commands/github/code-review.md +0 -25
- package/claude-assets/commands/github/github-modes.md +0 -147
- package/claude-assets/commands/github/github-swarm.md +0 -121
- package/claude-assets/commands/github/issue-tracker.md +0 -292
- package/claude-assets/commands/github/issue-triage.md +0 -25
- package/claude-assets/commands/github/multi-repo-swarm.md +0 -519
- package/claude-assets/commands/github/pr-enhance.md +0 -26
- package/claude-assets/commands/github/pr-manager.md +0 -170
- package/claude-assets/commands/github/project-board-sync.md +0 -471
- package/claude-assets/commands/github/release-manager.md +0 -338
- package/claude-assets/commands/github/release-swarm.md +0 -544
- package/claude-assets/commands/github/repo-analyze.md +0 -25
- package/claude-assets/commands/github/repo-architect.md +0 -367
- package/claude-assets/commands/github/swarm-issue.md +0 -482
- package/claude-assets/commands/github/swarm-pr.md +0 -285
- package/claude-assets/commands/github/sync-coordinator.md +0 -301
- package/claude-assets/commands/github/workflow-automation.md +0 -442
- package/claude-assets/commands/github.js +0 -638
- package/claude-assets/commands/hive-mind/README.md +0 -17
- package/claude-assets/commands/hive-mind/hive-mind-consensus.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-init.md +0 -18
- package/claude-assets/commands/hive-mind/hive-mind-memory.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-metrics.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-resume.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-sessions.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-spawn.md +0 -21
- package/claude-assets/commands/hive-mind/hive-mind-status.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-stop.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-wizard.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind.md +0 -27
- package/claude-assets/commands/hooks/README.md +0 -11
- package/claude-assets/commands/hooks/overview.md +0 -58
- package/claude-assets/commands/hooks/post-edit.md +0 -117
- package/claude-assets/commands/hooks/post-task.md +0 -112
- package/claude-assets/commands/hooks/pre-edit.md +0 -113
- package/claude-assets/commands/hooks/pre-task.md +0 -111
- package/claude-assets/commands/hooks/session-end.md +0 -118
- package/claude-assets/commands/hooks/session-start.md +0 -9
- package/claude-assets/commands/hooks/setup.md +0 -103
- package/claude-assets/commands/hooks.js +0 -651
- package/claude-assets/commands/index.js +0 -119
- package/claude-assets/commands/memory/README.md +0 -9
- package/claude-assets/commands/memory/memory-bank.md +0 -58
- package/claude-assets/commands/memory/memory-persist.md +0 -25
- package/claude-assets/commands/memory/memory-search.md +0 -25
- package/claude-assets/commands/memory/memory-usage.md +0 -25
- package/claude-assets/commands/memory/neural.md +0 -47
- package/claude-assets/commands/memory/usage.md +0 -46
- package/claude-assets/commands/monitoring/README.md +0 -9
- package/claude-assets/commands/monitoring/agent-metrics.md +0 -25
- package/claude-assets/commands/monitoring/agents.md +0 -44
- package/claude-assets/commands/monitoring/real-time-view.md +0 -25
- package/claude-assets/commands/monitoring/status.md +0 -46
- package/claude-assets/commands/monitoring/swarm-monitor.md +0 -25
- package/claude-assets/commands/neural.js +0 -572
- package/claude-assets/commands/optimization/README.md +0 -9
- package/claude-assets/commands/optimization/auto-topology.md +0 -62
- package/claude-assets/commands/optimization/cache-manage.md +0 -25
- package/claude-assets/commands/optimization/parallel-execute.md +0 -25
- package/claude-assets/commands/optimization/parallel-execution.md +0 -50
- package/claude-assets/commands/optimization/topology-optimize.md +0 -25
- package/claude-assets/commands/pair/README.md +0 -261
- package/claude-assets/commands/pair/commands.md +0 -546
- package/claude-assets/commands/pair/config.md +0 -510
- package/claude-assets/commands/pair/examples.md +0 -512
- package/claude-assets/commands/pair/modes.md +0 -348
- package/claude-assets/commands/pair/session.md +0 -407
- package/claude-assets/commands/pair/start.md +0 -209
- package/claude-assets/commands/parse-epic.js +0 -180
- package/claude-assets/commands/performance.js +0 -582
- package/claude-assets/commands/register-all-commands.js +0 -320
- package/claude-assets/commands/register-claude-md.js +0 -82
- package/claude-assets/commands/register-claude-soul.js +0 -80
- package/claude-assets/commands/sparc/analyzer.md +0 -52
- package/claude-assets/commands/sparc/architect.md +0 -53
- package/claude-assets/commands/sparc/batch-executor.md +0 -54
- package/claude-assets/commands/sparc/coder.md +0 -54
- package/claude-assets/commands/sparc/debugger.md +0 -54
- package/claude-assets/commands/sparc/designer.md +0 -53
- package/claude-assets/commands/sparc/documenter.md +0 -54
- package/claude-assets/commands/sparc/innovator.md +0 -54
- package/claude-assets/commands/sparc/memory-manager.md +0 -54
- package/claude-assets/commands/sparc/optimizer.md +0 -54
- package/claude-assets/commands/sparc/orchestrator.md +0 -132
- package/claude-assets/commands/sparc/researcher.md +0 -54
- package/claude-assets/commands/sparc/reviewer.md +0 -54
- package/claude-assets/commands/sparc/sparc-modes.md +0 -174
- package/claude-assets/commands/sparc/swarm-coordinator.md +0 -54
- package/claude-assets/commands/sparc/tdd.md +0 -54
- package/claude-assets/commands/sparc/tester.md +0 -54
- package/claude-assets/commands/sparc/workflow-manager.md +0 -54
- package/claude-assets/commands/sparc.js +0 -110
- package/claude-assets/commands/stream-chain/pipeline.md +0 -121
- package/claude-assets/commands/stream-chain/run.md +0 -70
- package/claude-assets/commands/swarm/README.md +0 -15
- package/claude-assets/commands/swarm/analysis.md +0 -95
- package/claude-assets/commands/swarm/development.md +0 -96
- package/claude-assets/commands/swarm/examples.md +0 -168
- package/claude-assets/commands/swarm/maintenance.md +0 -102
- package/claude-assets/commands/swarm/optimization.md +0 -117
- package/claude-assets/commands/swarm/research.md +0 -136
- package/claude-assets/commands/swarm/swarm-analysis.md +0 -8
- package/claude-assets/commands/swarm/swarm-background.md +0 -8
- package/claude-assets/commands/swarm/swarm-init.md +0 -19
- package/claude-assets/commands/swarm/swarm-modes.md +0 -8
- package/claude-assets/commands/swarm/swarm-monitor.md +0 -8
- package/claude-assets/commands/swarm/swarm-spawn.md +0 -19
- package/claude-assets/commands/swarm/swarm-status.md +0 -8
- package/claude-assets/commands/swarm/swarm-strategies.md +0 -8
- package/claude-assets/commands/swarm/swarm.md +0 -27
- package/claude-assets/commands/swarm/testing.md +0 -131
- package/claude-assets/commands/swarm.js +0 -423
- package/claude-assets/commands/testing/playwright-e2e.md +0 -288
- package/claude-assets/commands/training/README.md +0 -9
- package/claude-assets/commands/training/model-update.md +0 -25
- package/claude-assets/commands/training/neural-patterns.md +0 -74
- package/claude-assets/commands/training/neural-train.md +0 -25
- package/claude-assets/commands/training/pattern-learn.md +0 -25
- package/claude-assets/commands/training/specialization.md +0 -63
- package/claude-assets/commands/truth/start.md +0 -143
- package/claude-assets/commands/validate-commands.js +0 -223
- package/claude-assets/commands/verify/check.md +0 -50
- package/claude-assets/commands/verify/start.md +0 -128
- package/claude-assets/commands/workflow.js +0 -606
- package/claude-assets/commands/workflows/README.md +0 -9
- package/claude-assets/commands/workflows/development.md +0 -78
- package/claude-assets/commands/workflows/research.md +0 -63
- package/claude-assets/commands/workflows/workflow-create.md +0 -25
- package/claude-assets/commands/workflows/workflow-execute.md +0 -25
- package/claude-assets/commands/workflows/workflow-export.md +0 -25
- package/claude-assets/hooks/post-edit.config.json +0 -23
|
@@ -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-novice 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-novice 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-novice 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-novice 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-novice pair --save [--name <name>]
|
|
198
|
-
```
|
|
199
|
-
|
|
200
|
-
### Load Session
|
|
201
|
-
```bash
|
|
202
|
-
claude-flow-novice pair --load <session-id>
|
|
203
|
-
```
|
|
204
|
-
|
|
205
|
-
### Export Session
|
|
206
|
-
```bash
|
|
207
|
-
claude-flow-novice 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-novice pair --start --background
|
|
217
|
-
```
|
|
218
|
-
|
|
219
|
-
### Monitor Background Session
|
|
220
|
-
```bash
|
|
221
|
-
claude-flow-novice pair --monitor
|
|
222
|
-
```
|
|
223
|
-
|
|
224
|
-
### Attach to Background Session
|
|
225
|
-
```bash
|
|
226
|
-
claude-flow-novice 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-novice pair --start \
|
|
249
|
-
--config custom-config.json
|
|
250
|
-
```
|
|
251
|
-
|
|
252
|
-
## Session Templates
|
|
253
|
-
|
|
254
|
-
### Refactoring Template
|
|
255
|
-
```bash
|
|
256
|
-
claude-flow-novice 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-novice 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-novice 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-novice 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-novice 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-novice pair --list
|
|
312
|
-
```
|
|
313
|
-
|
|
314
|
-
### Switch Between Sessions
|
|
315
|
-
```bash
|
|
316
|
-
claude-flow-novice pair --switch <session-id>
|
|
317
|
-
```
|
|
318
|
-
|
|
319
|
-
### Merge Sessions
|
|
320
|
-
```bash
|
|
321
|
-
claude-flow-novice 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-novice pair --recover [--point <timestamp>]
|
|
332
|
-
```
|
|
333
|
-
|
|
334
|
-
### Crash Recovery
|
|
335
|
-
```bash
|
|
336
|
-
claude-flow-novice pair --crash-recovery
|
|
337
|
-
```
|
|
338
|
-
|
|
339
|
-
## Session Sharing
|
|
340
|
-
|
|
341
|
-
### Share with Team
|
|
342
|
-
```bash
|
|
343
|
-
claude-flow-novice pair --share <session-id> \
|
|
344
|
-
--team <team-id>
|
|
345
|
-
```
|
|
346
|
-
|
|
347
|
-
### Export for Review
|
|
348
|
-
```bash
|
|
349
|
-
claude-flow-novice pair --export-review <session-id>
|
|
350
|
-
```
|
|
351
|
-
|
|
352
|
-
### Create Learning Material
|
|
353
|
-
```bash
|
|
354
|
-
claude-flow-novice pair --create-tutorial <session-id>
|
|
355
|
-
```
|
|
356
|
-
|
|
357
|
-
## Advanced Features
|
|
358
|
-
|
|
359
|
-
### Session Recording
|
|
360
|
-
```bash
|
|
361
|
-
claude-flow-novice pair --start --record
|
|
362
|
-
```
|
|
363
|
-
Records all interactions for playback.
|
|
364
|
-
|
|
365
|
-
### Session Replay
|
|
366
|
-
```bash
|
|
367
|
-
claude-flow-novice pair --replay <session-id>
|
|
368
|
-
```
|
|
369
|
-
Replay recorded session for learning.
|
|
370
|
-
|
|
371
|
-
### Session Analytics
|
|
372
|
-
```bash
|
|
373
|
-
claude-flow-novice 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-novice 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-novice pair --start
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
### Expert Refactoring Session
|
|
31
|
-
```bash
|
|
32
|
-
claude-flow-novice 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-novice pair --start \
|
|
42
|
-
--mode driver \
|
|
43
|
-
--focus test \
|
|
44
|
-
--test \
|
|
45
|
-
--language javascript
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
### Debugging Session
|
|
49
|
-
```bash
|
|
50
|
-
claude-flow-novice 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-novice pair --start --background
|
|
168
|
-
|
|
169
|
-
# Monitor session
|
|
170
|
-
claude-flow-novice pair status
|
|
171
|
-
|
|
172
|
-
# View session output
|
|
173
|
-
claude-flow-novice pair output session_id
|
|
174
|
-
|
|
175
|
-
# End background session
|
|
176
|
-
claude-flow-novice pair --end session_id
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
## Integration
|
|
180
|
-
|
|
181
|
-
### With Git
|
|
182
|
-
```bash
|
|
183
|
-
claude-flow-novice pair --start --git --auto-commit
|
|
184
|
-
```
|
|
185
|
-
|
|
186
|
-
### With CI/CD
|
|
187
|
-
```bash
|
|
188
|
-
claude-flow-novice pair --start --ci --non-interactive
|
|
189
|
-
```
|
|
190
|
-
|
|
191
|
-
### With IDE
|
|
192
|
-
```bash
|
|
193
|
-
claude-flow-novice 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
|