claude-flow-novice 2.10.8 → 2.11.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/hooks/cfn-invoke-pre-edit.sh +88 -0
- package/.claude/skills/cfn-agent-spawning/spawn-worker.sh +176 -0
- package/.claude/skills/cfn-backlog-management/SKILL.md +199 -0
- package/.claude/skills/cfn-backlog-management/add-backlog-item.sh +210 -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/agents/csuite/cto-agent.md +371 -0
- package/claude-assets/agents/marketing_hybrid/cost_tracker.md +13 -0
- package/claude-assets/agents/marketing_hybrid/docker_deployer.md +13 -0
- package/claude-assets/agents/marketing_hybrid/zai_worker_spawner.md +13 -0
- package/claude-assets/hooks/cfn-invoke-post-edit.sh +1 -1
- package/claude-assets/hooks/cfn-invoke-pre-edit.sh +88 -0
- package/claude-assets/skills/cfn-agent-spawning/spawn-worker.sh +176 -0
- 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/pre-edit-backup/backup.sh +130 -0
- package/claude-assets/skills/pre-edit-backup/cleanup.sh +155 -0
- package/claude-assets/skills/pre-edit-backup/restore.sh +128 -0
- package/claude-assets/skills/pre-edit-backup/revert-file.sh +168 -0
- package/dist/agents/agent-loader.js +315 -0
- package/dist/agents/agent-loader.js.map +1 -1
- package/package.json +3 -2
- package/scripts/init-project.js +38 -3
- package/scripts/marketing_hybrid_deployment.sh +45 -0
- package/scripts/redis-prometheus-exporter.sh +33 -0
- package/scripts/track-zai-costs.sh +19 -0
- 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 -12
- package/claude-assets/skills/team-provider-routing/spawn-worker.sh +0 -91
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# Parallel Task Execution
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
Execute independent subtasks in parallel for maximum efficiency.
|
|
5
|
-
|
|
6
|
-
## Coordination Strategy
|
|
7
|
-
|
|
8
|
-
### 1. Task Decomposition
|
|
9
|
-
```
|
|
10
|
-
Tool: mcp__claude-flow__task_orchestrate
|
|
11
|
-
Parameters: {
|
|
12
|
-
"task": "Build complete REST API with auth, CRUD operations, and tests",
|
|
13
|
-
"strategy": "parallel",
|
|
14
|
-
"maxAgents": 8
|
|
15
|
-
}
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
### 2. Parallel Workflows
|
|
19
|
-
The system automatically:
|
|
20
|
-
- Identifies independent components
|
|
21
|
-
- Assigns specialized agents
|
|
22
|
-
- Executes in parallel where possible
|
|
23
|
-
- Synchronizes at dependency points
|
|
24
|
-
|
|
25
|
-
### 3. Example Breakdown
|
|
26
|
-
For the REST API task:
|
|
27
|
-
- **Agent 1 (Architect)**: Design API structure
|
|
28
|
-
- **Agent 2-3 (Coders)**: Implement auth & CRUD in parallel
|
|
29
|
-
- **Agent 4 (Tester)**: Write tests as features complete
|
|
30
|
-
- **Agent 5 (Documenter)**: Update docs continuously
|
|
31
|
-
|
|
32
|
-
## CLI Usage
|
|
33
|
-
```bash
|
|
34
|
-
# Execute parallel tasks via CLI
|
|
35
|
-
npx claude-flow-novice parallel "Build REST API" --max-agents 8
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
## Performance Gains
|
|
39
|
-
- 🚀 2.8-4.4x faster execution
|
|
40
|
-
- 💪 Optimal CPU utilization
|
|
41
|
-
- 🔄 Automatic load balancing
|
|
42
|
-
- 📈 Linear scalability with agents
|
|
43
|
-
|
|
44
|
-
## Monitoring
|
|
45
|
-
```
|
|
46
|
-
Tool: mcp__claude-flow__swarm_monitor
|
|
47
|
-
Parameters: {"interval": 1000, "swarmId": "current"}
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
Watch real-time parallel execution progress!
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# topology-optimize
|
|
2
|
-
|
|
3
|
-
Optimize swarm topology for current workload.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
```bash
|
|
7
|
-
npx claude-flow-novice optimization topology-optimize [options]
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
## Options
|
|
11
|
-
- `--analyze-first` - Analyze before optimizing
|
|
12
|
-
- `--target <metric>` - Optimization target
|
|
13
|
-
- `--apply` - Apply optimizations
|
|
14
|
-
|
|
15
|
-
## Examples
|
|
16
|
-
```bash
|
|
17
|
-
# Analyze and suggest
|
|
18
|
-
npx claude-flow-novice optimization topology-optimize --analyze-first
|
|
19
|
-
|
|
20
|
-
# Optimize for speed
|
|
21
|
-
npx claude-flow-novice optimization topology-optimize --target speed
|
|
22
|
-
|
|
23
|
-
# Apply changes
|
|
24
|
-
npx claude-flow-novice optimization topology-optimize --target efficiency --apply
|
|
25
|
-
```
|
|
@@ -1,261 +0,0 @@
|
|
|
1
|
-
# 👥 Pair Programming Command
|
|
2
|
-
|
|
3
|
-
Collaborative development with real-time verification and AI assistance.
|
|
4
|
-
|
|
5
|
-
## Overview
|
|
6
|
-
|
|
7
|
-
The `pair` command enables collaborative pair programming between you and AI agents, with real-time verification, code review, and quality enforcement.
|
|
8
|
-
|
|
9
|
-
## Usage
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
claude-flow-novice pair [--start] [options]
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Quick Start
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
# Start pair programming session
|
|
19
|
-
claude-flow-novice pair --start
|
|
20
|
-
|
|
21
|
-
# Start with specific agent
|
|
22
|
-
claude-flow-novice pair --start --agent senior-dev
|
|
23
|
-
|
|
24
|
-
# Start with verification
|
|
25
|
-
claude-flow-novice pair --start --verify --threshold 0.98
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## Options
|
|
29
|
-
|
|
30
|
-
- `--start` - Start new pair programming session
|
|
31
|
-
- `--agent <name>` - Specify AI pair partner (default: auto-select)
|
|
32
|
-
- `--verify` - Enable real-time verification
|
|
33
|
-
- `--threshold <0-1>` - Verification threshold (default: 0.95)
|
|
34
|
-
- `--mode <type>` - Programming mode: driver, navigator, switch
|
|
35
|
-
- `--focus <area>` - Focus area: refactor, test, debug, implement
|
|
36
|
-
- `--language <lang>` - Primary language for session
|
|
37
|
-
- `--review` - Enable continuous code review
|
|
38
|
-
- `--test` - Run tests after each change
|
|
39
|
-
|
|
40
|
-
## Modes
|
|
41
|
-
|
|
42
|
-
### Driver Mode
|
|
43
|
-
You write code, AI provides suggestions and reviews.
|
|
44
|
-
```bash
|
|
45
|
-
claude-flow-novice pair --start --mode driver
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
### Navigator Mode
|
|
49
|
-
AI writes code, you provide guidance and review.
|
|
50
|
-
```bash
|
|
51
|
-
claude-flow-novice pair --start --mode navigator
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
### Switch Mode (Default)
|
|
55
|
-
Alternate between driver and navigator roles.
|
|
56
|
-
```bash
|
|
57
|
-
claude-flow-novice pair --start --mode switch --interval 10m
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
## Features
|
|
61
|
-
|
|
62
|
-
### Real-Time Verification
|
|
63
|
-
- Continuous truth checking (0.95 threshold)
|
|
64
|
-
- Automatic rollback on verification failure
|
|
65
|
-
- Quality gates before commits
|
|
66
|
-
|
|
67
|
-
### Code Review
|
|
68
|
-
- Instant feedback on code changes
|
|
69
|
-
- Best practice suggestions
|
|
70
|
-
- Security vulnerability detection
|
|
71
|
-
- Performance optimization tips
|
|
72
|
-
|
|
73
|
-
### Test Integration
|
|
74
|
-
- Automatic test generation
|
|
75
|
-
- Test-driven development support
|
|
76
|
-
- Coverage monitoring
|
|
77
|
-
- Integration test suggestions
|
|
78
|
-
|
|
79
|
-
### Collaboration Tools
|
|
80
|
-
- Shared context between you and AI
|
|
81
|
-
- Session history and replay
|
|
82
|
-
- Code explanation on demand
|
|
83
|
-
- Learning from your preferences
|
|
84
|
-
|
|
85
|
-
## Session Management
|
|
86
|
-
|
|
87
|
-
### Start Session
|
|
88
|
-
```bash
|
|
89
|
-
# Basic start
|
|
90
|
-
claude-flow-novice pair --start
|
|
91
|
-
|
|
92
|
-
# With configuration
|
|
93
|
-
claude-flow-novice pair --start \
|
|
94
|
-
--agent expert-coder \
|
|
95
|
-
--verify \
|
|
96
|
-
--test \
|
|
97
|
-
--focus refactor
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
### During Session
|
|
101
|
-
```commands
|
|
102
|
-
/help - Show available commands
|
|
103
|
-
/explain - Explain current code
|
|
104
|
-
/suggest - Get improvement suggestions
|
|
105
|
-
/test - Run tests
|
|
106
|
-
/verify - Check verification score
|
|
107
|
-
/switch - Switch driver/navigator roles
|
|
108
|
-
/focus <area> - Change focus area
|
|
109
|
-
/commit - Commit with verification
|
|
110
|
-
/pause - Pause session
|
|
111
|
-
/resume - Resume session
|
|
112
|
-
/end - End session
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
### End Session
|
|
116
|
-
```bash
|
|
117
|
-
# End and save session
|
|
118
|
-
claude-flow-novice pair --end --save
|
|
119
|
-
|
|
120
|
-
# End and generate report
|
|
121
|
-
claude-flow-novice pair --end --report
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
## Examples
|
|
125
|
-
|
|
126
|
-
### Refactoring Session
|
|
127
|
-
```bash
|
|
128
|
-
claude-flow-novice pair --start \
|
|
129
|
-
--focus refactor \
|
|
130
|
-
--verify \
|
|
131
|
-
--threshold 0.98
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
### Test-Driven Development
|
|
135
|
-
```bash
|
|
136
|
-
claude-flow-novice pair --start \
|
|
137
|
-
--focus test \
|
|
138
|
-
--mode tdd \
|
|
139
|
-
--language javascript
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
### Bug Fixing
|
|
143
|
-
```bash
|
|
144
|
-
claude-flow-novice pair --start \
|
|
145
|
-
--focus debug \
|
|
146
|
-
--agent debugger-expert \
|
|
147
|
-
--test
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
### Code Review Session
|
|
151
|
-
```bash
|
|
152
|
-
claude-flow-novice pair --start \
|
|
153
|
-
--review \
|
|
154
|
-
--verify \
|
|
155
|
-
--agent senior-reviewer
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
## Integration
|
|
159
|
-
|
|
160
|
-
### With Git
|
|
161
|
-
```bash
|
|
162
|
-
# Auto-commit with verification
|
|
163
|
-
claude-flow-novice pair --start --git --auto-commit
|
|
164
|
-
|
|
165
|
-
# Review before commit
|
|
166
|
-
claude-flow-novice pair --start --git --review-commit
|
|
167
|
-
```
|
|
168
|
-
|
|
169
|
-
### With Testing Frameworks
|
|
170
|
-
```bash
|
|
171
|
-
# Jest integration
|
|
172
|
-
claude-flow-novice pair --start --test-framework jest
|
|
173
|
-
|
|
174
|
-
# Pytest integration
|
|
175
|
-
claude-flow-novice pair --start --test-framework pytest
|
|
176
|
-
```
|
|
177
|
-
|
|
178
|
-
### With CI/CD
|
|
179
|
-
```bash
|
|
180
|
-
# CI-friendly mode
|
|
181
|
-
claude-flow-novice pair --start --ci --non-interactive
|
|
182
|
-
```
|
|
183
|
-
|
|
184
|
-
## Session Output
|
|
185
|
-
|
|
186
|
-
```
|
|
187
|
-
👥 Pair Programming Session Started
|
|
188
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
189
|
-
|
|
190
|
-
Partner: expert-coder
|
|
191
|
-
Mode: Switch (10m intervals)
|
|
192
|
-
Focus: Implementation
|
|
193
|
-
Verification: ✅ Enabled (0.95)
|
|
194
|
-
Testing: ✅ Auto-run
|
|
195
|
-
|
|
196
|
-
Current Role: DRIVER (you)
|
|
197
|
-
Navigator: expert-coder is reviewing...
|
|
198
|
-
|
|
199
|
-
📝 Working on: src/auth/login.js
|
|
200
|
-
Truth Score: 0.972 ✅
|
|
201
|
-
Test Coverage: 84% 📈
|
|
202
|
-
|
|
203
|
-
💡 Suggestion: Consider adding input validation for email field
|
|
204
|
-
🔍 Review: Line 23 - Potential SQL injection vulnerability
|
|
205
|
-
|
|
206
|
-
Type /help for commands or start coding...
|
|
207
|
-
```
|
|
208
|
-
|
|
209
|
-
## Quality Metrics
|
|
210
|
-
|
|
211
|
-
- **Session Duration**: Total pair programming time
|
|
212
|
-
- **Code Quality**: Average truth score during session
|
|
213
|
-
- **Productivity**: Lines changed, features completed
|
|
214
|
-
- **Learning**: Patterns learned from collaboration
|
|
215
|
-
- **Test Coverage**: Coverage improvement during session
|
|
216
|
-
|
|
217
|
-
## Configuration
|
|
218
|
-
|
|
219
|
-
Configure pair programming in `.claude-flow/config.json`:
|
|
220
|
-
|
|
221
|
-
```json
|
|
222
|
-
{
|
|
223
|
-
"pair": {
|
|
224
|
-
"defaultAgent": "expert-coder",
|
|
225
|
-
"defaultMode": "switch",
|
|
226
|
-
"switchInterval": "10m",
|
|
227
|
-
"verification": {
|
|
228
|
-
"enabled": true,
|
|
229
|
-
"threshold": 0.95,
|
|
230
|
-
"autoRollback": true
|
|
231
|
-
},
|
|
232
|
-
"testing": {
|
|
233
|
-
"autoRun": true,
|
|
234
|
-
"framework": "jest",
|
|
235
|
-
"coverage": {
|
|
236
|
-
"minimum": 80,
|
|
237
|
-
"enforce": true
|
|
238
|
-
}
|
|
239
|
-
},
|
|
240
|
-
"review": {
|
|
241
|
-
"continuous": true,
|
|
242
|
-
"preCommit": true
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
```
|
|
247
|
-
|
|
248
|
-
## Best Practices
|
|
249
|
-
|
|
250
|
-
1. **Start with Clear Goals**: Define what you want to accomplish
|
|
251
|
-
2. **Use Verification**: Enable verification for critical code
|
|
252
|
-
3. **Test Frequently**: Run tests after significant changes
|
|
253
|
-
4. **Review Together**: Use review features for learning
|
|
254
|
-
5. **Document Decisions**: AI will help document why choices were made
|
|
255
|
-
|
|
256
|
-
## Related Commands
|
|
257
|
-
|
|
258
|
-
- `verify` - Standalone verification
|
|
259
|
-
- `truth` - View quality metrics
|
|
260
|
-
- `test` - Run test suites
|
|
261
|
-
- `review` - Code review tools
|