claude-flow-novice 1.3.3 → 1.3.4
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/agents/github/release-manager.md +1 -1
- package/.claude/agents/github/repo-architect.md +2 -2
- package/.claude/agents/optimization/README.md +12 -12
- package/.claude/agents/optimization/benchmark-suite.md +8 -8
- package/.claude/agents/optimization/load-balancer.md +7 -7
- package/.claude/agents/optimization/performance-monitor.md +8 -8
- package/.claude/agents/optimization/resource-allocator.md +9 -9
- package/.claude/agents/optimization/topology-optimizer.md +8 -8
- package/.claude/agents/swarm/README.md +8 -8
- package/.claude/agents/testing/e2e/playwright-agent.md +1 -1
- package/.claude/commands/agents/agent-capabilities.md +2 -2
- package/.claude/commands/agents/agent-coordination.md +3 -3
- package/.claude/commands/agents/agent-types.md +1 -1
- package/.claude/commands/analysis/bottleneck-detect.md +5 -5
- package/.claude/commands/analysis/performance-report.md +4 -4
- package/.claude/commands/analysis/token-usage.md +4 -4
- package/.claude/commands/automation/auto-agent.md +5 -5
- package/.claude/commands/automation/self-healing.md +1 -1
- package/.claude/commands/automation/session-memory.md +1 -1
- package/.claude/commands/automation/smart-agents.md +1 -1
- package/.claude/commands/automation/smart-spawn.md +4 -4
- package/.claude/commands/automation/workflow-select.md +4 -4
- package/.claude/commands/claude-soul.js +22 -556
- package/.claude/commands/coordination/agent-spawn.md +4 -4
- package/.claude/commands/coordination/coordination-system.md +14 -14
- package/.claude/commands/coordination/swarm-init.md +5 -5
- package/.claude/commands/coordination/task-orchestrate.md +4 -4
- package/.claude/commands/github/code-review.md +4 -4
- package/.claude/commands/github/github-swarm.md +5 -5
- package/.claude/commands/github/issue-triage.md +4 -4
- package/.claude/commands/github/pr-enhance.md +4 -4
- package/.claude/commands/github/release-manager.md +1 -1
- package/.claude/commands/github/repo-analyze.md +4 -4
- package/.claude/commands/github/repo-architect.md +2 -2
- package/.claude/commands/hive-mind/hive-mind-consensus.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-init.md +3 -3
- package/.claude/commands/hive-mind/hive-mind-memory.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-metrics.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-resume.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-sessions.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-spawn.md +4 -4
- package/.claude/commands/hive-mind/hive-mind-status.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-stop.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-wizard.md +1 -1
- package/.claude/commands/hive-mind/hive-mind.md +4 -4
- package/.claude/commands/hooks/overview.md +1 -1
- package/.claude/commands/hooks/post-edit.md +6 -6
- package/.claude/commands/hooks/post-task.md +6 -6
- package/.claude/commands/hooks/pre-edit.md +6 -6
- package/.claude/commands/hooks/pre-task.md +6 -6
- package/.claude/commands/hooks/session-end.md +6 -6
- package/.claude/commands/hooks/setup.md +6 -6
- package/.claude/commands/hooks.md +1 -1
- package/.claude/commands/memory/memory-bank.md +4 -4
- package/.claude/commands/memory/memory-persist.md +4 -4
- package/.claude/commands/memory/memory-search.md +4 -4
- package/.claude/commands/memory/memory-usage.md +4 -4
- package/.claude/commands/monitoring/agent-metrics.md +4 -4
- package/.claude/commands/monitoring/real-time-view.md +4 -4
- package/.claude/commands/monitoring/swarm-monitor.md +4 -4
- package/.claude/commands/optimization/auto-topology.md +2 -2
- package/.claude/commands/optimization/cache-manage.md +4 -4
- package/.claude/commands/optimization/parallel-execute.md +4 -4
- package/.claude/commands/optimization/parallel-execution.md +1 -1
- package/.claude/commands/optimization/topology-optimize.md +4 -4
- package/.claude/commands/pair/README.md +20 -20
- package/.claude/commands/pair/config.md +16 -16
- package/.claude/commands/pair/examples.md +11 -11
- package/.claude/commands/pair/modes.md +17 -17
- package/.claude/commands/pair/session.md +27 -27
- package/.claude/commands/pair/start.md +12 -12
- package/.claude/commands/sparc/analyzer.md +3 -3
- package/.claude/commands/sparc/architect.md +3 -3
- package/.claude/commands/sparc/batch-executor.md +3 -3
- package/.claude/commands/sparc/coder.md +3 -3
- package/.claude/commands/sparc/debugger.md +3 -3
- package/.claude/commands/sparc/designer.md +3 -3
- package/.claude/commands/sparc/documenter.md +3 -3
- package/.claude/commands/sparc/innovator.md +3 -3
- package/.claude/commands/sparc/memory-manager.md +3 -3
- package/.claude/commands/sparc/optimizer.md +3 -3
- package/.claude/commands/sparc/orchestrator.md +10 -10
- package/.claude/commands/sparc/researcher.md +3 -3
- package/.claude/commands/sparc/reviewer.md +3 -3
- package/.claude/commands/sparc/sparc-modes.md +13 -13
- package/.claude/commands/sparc/swarm-coordinator.md +3 -3
- package/.claude/commands/sparc/tdd.md +3 -3
- package/.claude/commands/sparc/tester.md +3 -3
- package/.claude/commands/sparc/workflow-manager.md +3 -3
- package/.claude/commands/stream-chain/pipeline.md +10 -10
- package/.claude/commands/stream-chain/run.md +4 -4
- package/.claude/commands/swarm/analysis.md +1 -1
- package/.claude/commands/swarm/development.md +1 -1
- package/.claude/commands/swarm/examples.md +3 -3
- package/.claude/commands/swarm/maintenance.md +1 -1
- package/.claude/commands/swarm/optimization.md +1 -1
- package/.claude/commands/swarm/research.md +1 -1
- package/.claude/commands/swarm/swarm-analysis.md +1 -1
- package/.claude/commands/swarm/swarm-background.md +1 -1
- package/.claude/commands/swarm/swarm-init.md +3 -3
- package/.claude/commands/swarm/swarm-modes.md +1 -1
- package/.claude/commands/swarm/swarm-monitor.md +1 -1
- package/.claude/commands/swarm/swarm-spawn.md +3 -3
- package/.claude/commands/swarm/swarm-status.md +1 -1
- package/.claude/commands/swarm/swarm-strategies.md +1 -1
- package/.claude/commands/swarm/swarm.md +4 -4
- package/.claude/commands/swarm/testing.md +1 -1
- package/.claude/commands/testing/playwright-e2e.md +36 -36
- package/.claude/commands/training/model-update.md +4 -4
- package/.claude/commands/training/neural-patterns.md +3 -3
- package/.claude/commands/training/neural-train.md +4 -4
- package/.claude/commands/training/pattern-learn.md +4 -4
- package/.claude/commands/training/specialization.md +2 -2
- package/.claude/commands/truth/start.md +10 -10
- package/.claude/commands/verify/check.md +5 -5
- package/.claude/commands/verify/start.md +22 -22
- package/.claude/commands/workflows/development.md +3 -3
- package/.claude/commands/workflows/research.md +2 -2
- package/.claude/commands/workflows/workflow-create.md +4 -4
- package/.claude/commands/workflows/workflow-execute.md +4 -4
- package/.claude/commands/workflows/workflow-export.md +4 -4
- package/examples/01-configurations/README.md +5 -5
- package/examples/02-workflows/README.md +8 -8
- package/examples/04-testing/incremental-updates-guide.md +3 -3
- package/examples/06-tutorials/getting-started/01-first-swarm.md +4 -4
- package/examples/06-tutorials/sparc/sparc-tdd-guide.md +13 -13
- package/examples/06-tutorials/sparc-batchtool-orchestration.md +54 -54
- package/examples/06-tutorials/workflows/multi-agent-coordination.md +9 -9
- package/examples/README-batch-init.md +50 -50
- package/examples/README.md +2 -2
- package/examples/automation-examples.md +13 -13
- package/examples/rest-api-simple/README-ARCHITECTURE.md +7 -7
- package/examples/rest-api-simple/implementation-plan.md +7 -7
- package/examples/rest-api-simple/next-steps.md +5 -5
- package/examples/rest-api-simple/sparc-implementation-roadmap.md +12 -12
- package/package.json +1 -1
- package/src/cli/simple-commands/agent.js +9 -9
- package/src/cli/simple-commands/analysis.js +17 -17
- package/src/cli/simple-commands/automation-executor.js +1 -1
- package/src/cli/simple-commands/automation.js +14 -14
- package/src/cli/simple-commands/batch-manager.js +10 -10
- package/src/cli/simple-commands/config.js +14 -14
- package/src/cli/simple-commands/coordination.js +8 -8
- package/src/cli/simple-commands/fix-hook-variables.js +4 -4
- package/src/cli/simple-commands/github/init.js +2 -2
- package/src/cli/simple-commands/github.js +7 -7
- package/src/cli/simple-commands/goal.js +1 -1
- package/src/cli/simple-commands/hive-mind-optimize.js +10 -10
- package/src/cli/simple-commands/hive-mind-wizard.js +5 -5
- package/src/cli/simple-commands/hive-mind.js +34 -34
- package/src/cli/simple-commands/hive.js +4 -4
- package/src/cli/simple-commands/hook-safety.js +7 -7
- package/src/cli/simple-commands/init/claude-commands/claude-flow-commands.js +74 -74
- package/src/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.js +143 -143
- package/src/cli/simple-commands/init/claude-commands/optimized-slash-commands.js +13 -13
- package/src/cli/simple-commands/init/claude-commands/optimized-sparc-commands.js +41 -41
- package/src/cli/simple-commands/init/claude-commands/slash-commands.js +1 -1
- package/src/cli/simple-commands/init/claude-commands/sparc-commands.js +24 -24
- package/src/cli/simple-commands/init/executable-wrapper.js +11 -11
- package/src/cli/simple-commands/init/help.js +19 -19
- package/src/cli/simple-commands/init/index.js +13 -13
- package/src/cli/simple-commands/init/rollback/recovery-manager.js +1 -1
- package/src/cli/simple-commands/init/rollback/rollback-executor.js +2 -2
- package/src/cli/simple-commands/init/sparc/roo-readme.js +5 -5
- package/src/cli/simple-commands/init/templates/claude-md.js +41 -41
- package/src/cli/simple-commands/init/templates/coordination-md.js +55 -55
- package/src/cli/simple-commands/init/templates/enhanced-templates.js +175 -175
- package/src/cli/simple-commands/init/templates/memory-bank-md.js +22 -22
- package/src/cli/simple-commands/init/templates/safe-hook-patterns.js +4 -4
- package/src/cli/simple-commands/init/templates/settings.json +1 -1
- package/src/cli/simple-commands/init/templates/sparc-modes.js +75 -75
- package/src/cli/simple-commands/init/templates/verification-claude-md.js +39 -39
- package/src/cli/simple-commands/init/validation/config-validator.js +3 -3
- package/src/cli/simple-commands/init/validation/health-checker.js +1 -1
- package/src/cli/simple-commands/init/validation/mode-validator.js +2 -2
- package/src/cli/simple-commands/mcp.js +9 -9
- package/src/cli/simple-commands/migrate-hooks.js +2 -2
- package/src/cli/simple-commands/monitor.js +4 -4
- package/src/cli/simple-commands/neural.js +1 -1
- package/src/cli/simple-commands/pair-autofix-only.js +4 -4
- package/src/cli/simple-commands/pair-basic.js +7 -7
- package/src/cli/simple-commands/pair-old.js +9 -9
- package/src/cli/simple-commands/pair-working.js +4 -4
- package/src/cli/simple-commands/pair.js +4 -4
- package/src/cli/simple-commands/sparc/commands.js +5 -5
- package/src/cli/simple-commands/sparc-modes/architect.js +23 -23
- package/src/cli/simple-commands/sparc-modes/ask.js +21 -21
- package/src/cli/simple-commands/sparc-modes/code.js +23 -23
- package/src/cli/simple-commands/sparc-modes/debug.js +10 -10
- package/src/cli/simple-commands/sparc-modes/devops.js +11 -11
- package/src/cli/simple-commands/sparc-modes/docs-writer.js +3 -3
- package/src/cli/simple-commands/sparc-modes/generic.js +4 -4
- package/src/cli/simple-commands/sparc-modes/index.js +22 -22
- package/src/cli/simple-commands/sparc-modes/integration.js +3 -3
- package/src/cli/simple-commands/sparc-modes/mcp.js +3 -3
- package/src/cli/simple-commands/sparc-modes/monitoring.js +3 -3
- package/src/cli/simple-commands/sparc-modes/optimization.js +3 -3
- package/src/cli/simple-commands/sparc-modes/security-review.js +11 -11
- package/src/cli/simple-commands/sparc-modes/sparc-orchestrator.js +37 -37
- package/src/cli/simple-commands/sparc-modes/spec-pseudocode.js +3 -3
- package/src/cli/simple-commands/sparc-modes/supabase-admin.js +11 -11
- package/src/cli/simple-commands/sparc-modes/swarm.js +34 -34
- package/src/cli/simple-commands/sparc-modes/tdd.js +11 -11
- package/src/cli/simple-commands/sparc-modes/tutorial.js +30 -30
- package/src/cli/simple-commands/sparc.js +14 -14
- package/src/cli/simple-commands/start-ui.js +4 -4
- package/src/cli/simple-commands/start-wrapper.js +17 -17
- package/src/cli/simple-commands/status.js +3 -3
- package/src/cli/simple-commands/stream-chain.js +12 -12
- package/src/cli/simple-commands/swarm-metrics-integration.js +2 -2
- package/src/cli/simple-commands/swarm-ui.js +2 -2
- package/src/cli/simple-commands/swarm.js +19 -19
- package/src/cli/simple-commands/task.js +7 -7
- package/src/cli/simple-commands/training.js +5 -5
- package/src/cli/simple-commands/verification-training-integration.js +1 -1
- package/src/slash-commands/claude-soul.js +248 -365
- package/src/slash-commands/register-all-commands.js +1 -1
- package/wiki/README.md +2 -2
- package/wiki/accessibility/README.md +4 -4
- package/wiki/accessibility/assistive-tech/screen-reader-support.md +6 -6
- package/wiki/accessibility/automation/agent-testing-automation.md +13 -13
- package/wiki/accessibility/guidelines/wcag-compliance.md +6 -6
- package/wiki/accessibility/i18n/internationalization-strategies.md +6 -6
- package/wiki/accessibility/motor-accessibility/keyboard-navigation.md +7 -7
- package/wiki/accessibility/patterns/inclusive-design-patterns.md +4 -4
- package/wiki/accessibility/testing/automated-testing.md +9 -9
- package/wiki/accessibility/visual-design/color-contrast.md +7 -7
- package/wiki/accessibility/workflows/accessibility-first-development.md +22 -22
- package/wiki/accessibility/workflows/inclusive-design-review.md +9 -9
- package/wiki/api-reference/cli-api.md +15 -15
- package/wiki/api-reference/plugin-development.md +3 -3
- package/wiki/command-reference/README.md +34 -34
- package/wiki/command-reference/agent-commands.md +46 -46
- package/wiki/command-reference/cli-commands.md +21 -21
- package/wiki/command-reference/command-syntax.md +89 -89
- package/wiki/command-reference/expert-tier.md +184 -184
- package/wiki/command-reference/intermediate-tier.md +63 -63
- package/wiki/command-reference/mcp-integration.md +29 -29
- package/wiki/command-reference/mcp-tools/README.md +4 -4
- package/wiki/command-reference/mcp-tools/dual-access-workflows.md +1 -1
- package/wiki/command-reference/mcp-tools/index.md +2 -2
- package/wiki/command-reference/mcp-tools/quick-reference.md +4 -4
- package/wiki/command-reference/mcp-tools/session-management.md +2 -2
- package/wiki/command-reference/mcp-tools/task-tool-integration.md +3 -3
- package/wiki/command-reference/novice/README.md +1 -1
- package/wiki/command-reference/novice-tier.md +152 -152
- package/wiki/command-reference/progression-guide.md +107 -107
- package/wiki/command-reference/troubleshooting.md +113 -113
- package/wiki/command-reference/workflows.md +187 -187
- package/wiki/community/README.md +1 -1
- package/wiki/community/learning-resources.md +1 -1
- package/wiki/core-concepts/agents/agent-creation-guide.md +9 -9
- package/wiki/core-concepts/integration.md +7 -7
- package/wiki/core-concepts/sparc-workflow.md +5 -5
- package/wiki/examples/automation/cicd-pipeline/README.md +3 -3
- package/wiki/examples/basic/hello-world/README.md +7 -7
- package/wiki/examples/integration-patterns.md +15 -15
- package/wiki/examples/performance-benchmarks.md +11 -11
- package/wiki/examples/projects/rest-api/README.md +1 -1
- package/wiki/examples/scenarios/ecommerce/README.md +1 -1
- package/wiki/examples/swarm-patterns.md +63 -63
- package/wiki/examples/templates/download-system.md +1 -1
- package/wiki/examples/templates/javascript/README.md +2 -2
- package/wiki/examples/troubleshooting/README.md +2 -2
- package/wiki/examples/utilities/patterns/README.md +8 -8
- package/wiki/examples/videos/01-setup.md +16 -16
- package/wiki/examples/workflow-automation/README.md +5 -5
- package/wiki/getting-started/claude-code-mcp/README.md +2 -2
- package/wiki/getting-started/installation/README.md +7 -7
- package/wiki/getting-started/learning-path.md +2 -2
- package/wiki/getting-started/quick-start/README.md +2 -2
- package/wiki/getting-started/quick-start/cli-tutorial.md +1 -1
- package/wiki/governance/multi-project-coordination.md +1 -1
- package/wiki/languages/go/README.md +10 -10
- package/wiki/languages/go/examples/README.md +29 -29
- package/wiki/languages/go/frameworks/README.md +18 -18
- package/wiki/languages/go/integration/README.md +34 -34
- package/wiki/languages/go/microservices/README.md +17 -17
- package/wiki/languages/go/performance/README.md +13 -13
- package/wiki/languages/go/setup/README.md +20 -20
- package/wiki/languages/go/systems/README.md +10 -10
- package/wiki/languages/go/testing/README.md +14 -14
- package/wiki/languages/java/README.md +25 -25
- package/wiki/languages/java/claude-flow-integration.md +49 -49
- package/wiki/languages/java/enterprise-java.md +15 -15
- package/wiki/languages/java/examples.md +30 -30
- package/wiki/languages/java/microservices.md +22 -22
- package/wiki/languages/java/performance.md +13 -13
- package/wiki/languages/java/project-setup.md +10 -10
- package/wiki/languages/java/spring-boot.md +12 -12
- package/wiki/languages/java/testing.md +12 -12
- package/wiki/languages/javascript/api/README.md +20 -20
- package/wiki/languages/javascript/backend/README.md +19 -19
- package/wiki/languages/javascript/frontend/README.md +18 -18
- package/wiki/languages/javascript/integration.md +11 -11
- package/wiki/languages/javascript/setup/README.md +28 -28
- package/wiki/languages/javascript/testing/README.md +14 -14
- package/wiki/languages/python/README.md +3 -3
- package/wiki/languages/python/data-science/README.md +11 -11
- package/wiki/languages/python/examples/README.md +5 -5
- package/wiki/languages/python/integration.md +5 -5
- package/wiki/languages/python/mcp-integration.md +1 -1
- package/wiki/languages/python/setup/README.md +5 -5
- package/wiki/languages/python/testing/README.md +3 -3
- package/wiki/languages/python/web-development/README.md +1 -1
- package/wiki/languages/rust/README.md +1 -1
- package/wiki/languages/rust/examples/cli-mcp-workflows.md +33 -33
- package/wiki/languages/rust/examples/rest-api.md +5 -5
- package/wiki/languages/rust/setup/cargo-integration.md +14 -14
- package/wiki/languages/rust/testing/quality-validation.md +9 -9
- package/wiki/languages/rust/web-development/axum.md +6 -6
- package/wiki/languages/rust/workflows/systems-programming.md +5 -5
- package/wiki/languages/typescript/setup.md +2 -2
- package/wiki/troubleshooting/README.md +3 -3
- package/wiki/troubleshooting/common-issues/README.md +6 -6
- package/wiki/troubleshooting/common-issues.md +26 -26
- package/wiki/troubleshooting/error-resolution.md +5 -5
- package/wiki/troubleshooting/performance-optimization.md +11 -11
- package/wiki/tutorials/advanced/06-legacy-system-integration.md +1 -1
- package/wiki/tutorials/advanced/08-enterprise-scenarios.md +3 -3
- package/wiki/tutorials/advanced/performance-optimization.md +43 -43
- package/wiki/tutorials/advanced/swarm-orchestration.md +40 -40
- package/wiki/tutorials/intermediate/optimization.md +35 -35
- package/wiki/tutorials/skill-assessment.md +3 -3
- package/wiki/tutorials/skill-competency-matrix.md +1 -1
- package/wiki/tutorials/troubleshooting/setup-issues.md +3 -3
- package/wiki/video-tutorials/README.md +3 -3
- package/wiki/video-tutorials/accessibility/README.md +4 -4
- package/wiki/video-tutorials/community/README.md +1 -1
- package/wiki/video-tutorials/content-organization/README.md +5 -5
- package/wiki/video-tutorials/interactive/README.md +5 -5
- package/wiki/video-tutorials/planning/README.md +4 -4
- package/wiki/video-tutorials/technical-specs/README.md +2 -2
|
@@ -232,7 +232,7 @@ npx claude-flow@alpha memory rebuild-indexes
|
|
|
232
232
|
|
|
233
233
|
**Symptoms:**
|
|
234
234
|
- "MCP server not responding" errors
|
|
235
|
-
- Claude Code can't access claude-flow tools
|
|
235
|
+
- Claude Code can't access claude-flow-novice tools
|
|
236
236
|
- Connection timeout messages
|
|
237
237
|
|
|
238
238
|
**Diagnostic Steps:**
|
|
@@ -254,7 +254,7 @@ claude mcp restart claude-flow
|
|
|
254
254
|
|
|
255
255
|
# Method 2: Reinstall MCP server
|
|
256
256
|
claude mcp remove claude-flow
|
|
257
|
-
claude mcp add claude-flow npx claude-flow@alpha mcp start
|
|
257
|
+
claude mcp add claude-flow-novice npx claude-flow@alpha mcp start
|
|
258
258
|
|
|
259
259
|
# Method 3: Check Node.js version
|
|
260
260
|
node --version # Should be 18+
|
|
@@ -280,7 +280,7 @@ npm update -g claude-flow-novice
|
|
|
280
280
|
|
|
281
281
|
# Re-register MCP server
|
|
282
282
|
claude mcp remove claude-flow
|
|
283
|
-
claude mcp add claude-flow npx claude-flow@alpha mcp start
|
|
283
|
+
claude mcp add claude-flow-novice npx claude-flow@alpha mcp start
|
|
284
284
|
|
|
285
285
|
# Check tool availability
|
|
286
286
|
claude mcp tools claude-flow
|
|
@@ -180,7 +180,7 @@ claude mcp restart claude-flow
|
|
|
180
180
|
4. **If connection fails, reinstall:**
|
|
181
181
|
```bash
|
|
182
182
|
claude mcp remove claude-flow
|
|
183
|
-
claude mcp add claude-flow npx claude-flow@alpha mcp start
|
|
183
|
+
claude mcp add claude-flow-novice npx claude-flow@alpha mcp start
|
|
184
184
|
```
|
|
185
185
|
|
|
186
186
|
5. **Verify Node.js version:**
|
|
@@ -192,7 +192,7 @@ claude mcp restart claude-flow
|
|
|
192
192
|
```bash
|
|
193
193
|
# If using custom port
|
|
194
194
|
claude mcp remove claude-flow
|
|
195
|
-
claude mcp add claude-flow npx claude-flow@alpha mcp start --port 3001
|
|
195
|
+
claude mcp add claude-flow-novice npx claude-flow@alpha mcp start --port 3001
|
|
196
196
|
```
|
|
197
197
|
|
|
198
198
|
### Issue: MCP Tools Not Available in Claude Code
|
|
@@ -210,7 +210,7 @@ claude mcp tools claude-flow
|
|
|
210
210
|
```
|
|
211
211
|
|
|
212
212
|
**Detailed Solution:**
|
|
213
|
-
1. **Verify claude-flow installation:**
|
|
213
|
+
1. **Verify claude-flow-novice installation:**
|
|
214
214
|
```bash
|
|
215
215
|
npx claude-flow@alpha --version
|
|
216
216
|
```
|
|
@@ -223,7 +223,7 @@ claude mcp tools claude-flow
|
|
|
223
223
|
3. **Re-register MCP server:**
|
|
224
224
|
```bash
|
|
225
225
|
claude mcp remove claude-flow
|
|
226
|
-
claude mcp add claude-flow npx claude-flow@alpha mcp start
|
|
226
|
+
claude mcp add claude-flow-novice npx claude-flow@alpha mcp start
|
|
227
227
|
```
|
|
228
228
|
|
|
229
229
|
4. **Check available tools:**
|
|
@@ -471,7 +471,7 @@ npx claude-flow@alpha optimize --auto-tune
|
|
|
471
471
|
### Issue: High Memory Usage
|
|
472
472
|
|
|
473
473
|
**Symptoms:**
|
|
474
|
-
- System becomes sluggish during claude-flow operations
|
|
474
|
+
- System becomes sluggish during claude-flow-novice operations
|
|
475
475
|
- Out of memory errors
|
|
476
476
|
- System warns about high memory usage
|
|
477
477
|
|
|
@@ -545,7 +545,7 @@ npx claude-flow@alpha --version
|
|
|
545
545
|
3. **Try global installation:**
|
|
546
546
|
```bash
|
|
547
547
|
npm install -g claude-flow-novice
|
|
548
|
-
claude-flow --version
|
|
548
|
+
claude-flow-novice --version
|
|
549
549
|
```
|
|
550
550
|
|
|
551
551
|
4. **Fix PATH issues (if global install doesn't work):**
|
|
@@ -31,9 +31,9 @@ START: Is there an issue?
|
|
|
31
31
|
│
|
|
32
32
|
└─ NO → System running normally
|
|
33
33
|
└─ Consider preventive maintenance
|
|
34
|
-
├─ Run: claude-flow health-check
|
|
34
|
+
├─ Run: claude-flow-novice health-check
|
|
35
35
|
├─ Update dependencies: npm update
|
|
36
|
-
└─ Clear cache: claude-flow cache clear
|
|
36
|
+
└─ Clear cache: claude-flow-novice cache clear
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
## 🚀 Performance Issues Decision Tree
|
|
@@ -106,8 +106,8 @@ AGENT_SPAWN_TREE: Agents not spawning
|
|
|
106
106
|
│ │
|
|
107
107
|
│ ├─ Too many agents running?
|
|
108
108
|
│ │ ├─ YES → Wait or terminate inactive agents
|
|
109
|
-
│ │ │ ├─ Check: claude-flow agent list
|
|
110
|
-
│ │ │ ├─ Terminate: claude-flow agent kill <id>
|
|
109
|
+
│ │ │ ├─ Check: claude-flow-novice agent list
|
|
110
|
+
│ │ │ ├─ Terminate: claude-flow-novice agent kill <id>
|
|
111
111
|
│ │ │ └─ Adjust max agents setting
|
|
112
112
|
│ │ │
|
|
113
113
|
│ │ └─ NO → Check configuration
|
|
@@ -133,7 +133,7 @@ AGENT_RESPONSE_TREE: Agents unresponsive
|
|
|
133
133
|
│
|
|
134
134
|
├─ Check agent status
|
|
135
135
|
│ │
|
|
136
|
-
│ ├─ Run: claude-flow agent status
|
|
136
|
+
│ ├─ Run: claude-flow-novice agent status
|
|
137
137
|
│ │ │
|
|
138
138
|
│ │ ├─ Agent shows as "running"?
|
|
139
139
|
│ │ │ ├─ YES → Network connectivity issue
|
|
@@ -142,9 +142,9 @@ AGENT_RESPONSE_TREE: Agents unresponsive
|
|
|
142
142
|
│ │ │ │ └─ Restart networking
|
|
143
143
|
│ │ │ │
|
|
144
144
|
│ │ │ └─ NO → Agent crashed
|
|
145
|
-
│ │ │ ├─ Check logs: claude-flow logs agent <id>
|
|
145
|
+
│ │ │ ├─ Check logs: claude-flow-novice logs agent <id>
|
|
146
146
|
│ │ │ ├─ Look for error patterns
|
|
147
|
-
│ │ │ ├─ Restart agent: claude-flow agent restart <id>
|
|
147
|
+
│ │ │ ├─ Restart agent: claude-flow-novice agent restart <id>
|
|
148
148
|
│ │ │ └─ If persistent → Investigate root cause
|
|
149
149
|
│ │ │
|
|
150
150
|
│ │ └─ Agent not found?
|
|
@@ -170,7 +170,7 @@ CONFIG_TREE: Configuration problems
|
|
|
170
170
|
├─ Which config issue?
|
|
171
171
|
│ │
|
|
172
172
|
│ ├─ Commands not recognized
|
|
173
|
-
│ │ ├─ Is claude-flow installed?
|
|
173
|
+
│ │ ├─ Is claude-flow-novice installed?
|
|
174
174
|
│ │ │ ├─ NO → Install: npm install -g claude-flow
|
|
175
175
|
│ │ │ └─ YES → Check PATH
|
|
176
176
|
│ │ │ ├─ Run: which claude-flow
|
|
@@ -178,15 +178,15 @@ CONFIG_TREE: Configuration problems
|
|
|
178
178
|
│ │ │ └─ Restart terminal
|
|
179
179
|
│ │ │
|
|
180
180
|
│ │ └─ Specific command not found?
|
|
181
|
-
│ │ ├─ Check available commands: claude-flow --help
|
|
181
|
+
│ │ ├─ Check available commands: claude-flow-novice --help
|
|
182
182
|
│ │ ├─ Verify spelling
|
|
183
183
|
│ │ └─ Update if outdated
|
|
184
184
|
│ │
|
|
185
185
|
│ ├─ Invalid configuration
|
|
186
186
|
│ │ ├─ Check config file exists
|
|
187
|
-
│ │ │ ├─ NO → Generate: claude-flow init
|
|
187
|
+
│ │ │ ├─ NO → Generate: claude-flow-novice init
|
|
188
188
|
│ │ │ └─ YES → Validate syntax
|
|
189
|
-
│ │ │ ├─ Run: claude-flow config validate
|
|
189
|
+
│ │ │ ├─ Run: claude-flow-novice config validate
|
|
190
190
|
│ │ │ ├─ Fix JSON/YAML errors
|
|
191
191
|
│ │ │ └─ Check required fields
|
|
192
192
|
│ │ │
|
|
@@ -322,11 +322,11 @@ VERSION_TREE: Version conflicts
|
|
|
322
322
|
│ │ ├─ Run npm install
|
|
323
323
|
│ │ └─ Commit new lockfile
|
|
324
324
|
│ │
|
|
325
|
-
│ └─ claude-flow version issues
|
|
326
|
-
│ ├─ Check current version: claude-flow --version
|
|
327
|
-
│ ├─ Check latest: npm info claude-flow version
|
|
325
|
+
│ └─ claude-flow-novice version issues
|
|
326
|
+
│ ├─ Check current version: claude-flow-novice --version
|
|
327
|
+
│ ├─ Check latest: npm info claude-flow-novice version
|
|
328
328
|
│ ├─ Update: npm update -g claude-flow
|
|
329
|
-
│ └─ Force reinstall: npm uninstall -g claude-flow && npm install -g claude-flow
|
|
329
|
+
│ └─ Force reinstall: npm uninstall -g claude-flow-novice && npm install -g claude-flow
|
|
330
330
|
```
|
|
331
331
|
|
|
332
332
|
```
|
|
@@ -376,25 +376,25 @@ PERMISSION_TREE: Permission errors
|
|
|
376
376
|
### Immediate Diagnostics
|
|
377
377
|
```bash
|
|
378
378
|
# Quick health check
|
|
379
|
-
claude-flow status --health
|
|
379
|
+
claude-flow-novice status --health
|
|
380
380
|
|
|
381
381
|
# Check resource usage
|
|
382
|
-
claude-flow monitor --real-time --duration=30
|
|
382
|
+
claude-flow-novice monitor --real-time --duration=30
|
|
383
383
|
|
|
384
384
|
# List active agents
|
|
385
|
-
claude-flow agent list --status
|
|
385
|
+
claude-flow-novice agent list --status
|
|
386
386
|
|
|
387
387
|
# Check recent errors
|
|
388
|
-
claude-flow logs --level=error --tail=50
|
|
388
|
+
claude-flow-novice logs --level=error --tail=50
|
|
389
389
|
```
|
|
390
390
|
|
|
391
391
|
### Common Quick Fixes
|
|
392
392
|
```bash
|
|
393
393
|
# Clear all caches
|
|
394
|
-
claude-flow cache clear --all
|
|
394
|
+
claude-flow-novice cache clear --all
|
|
395
395
|
|
|
396
396
|
# Restart all agents
|
|
397
|
-
claude-flow agent restart --all
|
|
397
|
+
claude-flow-novice agent restart --all
|
|
398
398
|
|
|
399
399
|
# Force garbage collection (if available)
|
|
400
400
|
node --expose-gc -e "global.gc(); console.log('GC forced')"
|
|
@@ -403,12 +403,12 @@ node --expose-gc -e "global.gc(); console.log('GC forced')"
|
|
|
403
403
|
npm update && npm audit fix
|
|
404
404
|
|
|
405
405
|
# Reset configuration to defaults
|
|
406
|
-
claude-flow config reset --confirm
|
|
406
|
+
claude-flow-novice config reset --confirm
|
|
407
407
|
```
|
|
408
408
|
|
|
409
409
|
### Emergency Recovery
|
|
410
410
|
```bash
|
|
411
|
-
# Kill all claude-flow processes
|
|
411
|
+
# Kill all claude-flow-novice processes
|
|
412
412
|
pkill -f claude-flow
|
|
413
413
|
|
|
414
414
|
# Clean install
|
|
@@ -416,8 +416,8 @@ rm -rf node_modules package-lock.json
|
|
|
416
416
|
npm install
|
|
417
417
|
|
|
418
418
|
# Full system reset
|
|
419
|
-
claude-flow system reset --confirm
|
|
420
|
-
claude-flow init --force
|
|
419
|
+
claude-flow-novice system reset --confirm
|
|
420
|
+
claude-flow-novice init --force
|
|
421
421
|
```
|
|
422
422
|
|
|
423
423
|
## 📊 Issue Tracking Matrix
|
|
@@ -446,7 +446,7 @@ When reporting issues, include:
|
|
|
446
446
|
|
|
447
447
|
```
|
|
448
448
|
Issue: [Brief description]
|
|
449
|
-
Environment: [OS, Node version, claude-flow version]
|
|
449
|
+
Environment: [OS, Node version, claude-flow-novice version]
|
|
450
450
|
Steps to reproduce: [Numbered steps]
|
|
451
451
|
Expected behavior: [What should happen]
|
|
452
452
|
Actual behavior: [What actually happens]
|
|
@@ -124,7 +124,7 @@ AGENT_ERROR_TREE: Agent-related errors
|
|
|
124
124
|
│ │ ├─ Check error message type
|
|
125
125
|
│ │ │ ├─ "Cannot spawn agent: <type>"
|
|
126
126
|
│ │ │ │ ├─ Verify agent type exists
|
|
127
|
-
│ │ │ │ │ ├─ Check available types: claude-flow agent types
|
|
127
|
+
│ │ │ │ │ ├─ Check available types: claude-flow-novice agent types
|
|
128
128
|
│ │ │ │ │ ├─ Fix typos in agent type
|
|
129
129
|
│ │ │ │ │ └─ Use valid agent type
|
|
130
130
|
│ │ │ │ │
|
|
@@ -642,16 +642,16 @@ CONFIG_ERROR_TREE: Configuration-related errors
|
|
|
642
642
|
### Error Pattern Analysis
|
|
643
643
|
```bash
|
|
644
644
|
# Analyze error frequency and patterns
|
|
645
|
-
claude-flow analyze errors --timeframe=24h --group-by=type
|
|
645
|
+
claude-flow-novice analyze errors --timeframe=24h --group-by=type
|
|
646
646
|
|
|
647
647
|
# Error trend analysis
|
|
648
|
-
claude-flow analyze trends --metric=error-rate --period=7d
|
|
648
|
+
claude-flow-novice analyze trends --metric=error-rate --period=7d
|
|
649
649
|
|
|
650
650
|
# Correlation analysis
|
|
651
|
-
claude-flow analyze correlations --events=errors,performance,resources
|
|
651
|
+
claude-flow-novice analyze correlations --events=errors,performance,resources
|
|
652
652
|
|
|
653
653
|
# Root cause analysis
|
|
654
|
-
claude-flow analyze root-cause --error-id=<error-id>
|
|
654
|
+
claude-flow-novice analyze root-cause --error-id=<error-id>
|
|
655
655
|
```
|
|
656
656
|
|
|
657
657
|
### Automated Error Recovery
|
|
@@ -456,19 +456,19 @@ THROUGHPUT_TREE: Low task completion rate
|
|
|
456
456
|
### Quick Performance Wins
|
|
457
457
|
```bash
|
|
458
458
|
# Enable performance monitoring
|
|
459
|
-
claude-flow monitor enable --metrics=all
|
|
459
|
+
claude-flow-novice monitor enable --metrics=all
|
|
460
460
|
|
|
461
461
|
# Optimize agent pooling
|
|
462
|
-
claude-flow config set agent.pooling.enabled=true
|
|
463
|
-
claude-flow config set agent.pooling.size=5
|
|
462
|
+
claude-flow-novice config set agent.pooling.enabled=true
|
|
463
|
+
claude-flow-novice config set agent.pooling.size=5
|
|
464
464
|
|
|
465
465
|
# Enable intelligent caching
|
|
466
|
-
claude-flow config set caching.enabled=true
|
|
467
|
-
claude-flow config set caching.strategy=adaptive
|
|
466
|
+
claude-flow-novice config set caching.enabled=true
|
|
467
|
+
claude-flow-novice config set caching.strategy=adaptive
|
|
468
468
|
|
|
469
469
|
# Optimize coordination
|
|
470
|
-
claude-flow config set coordination.topology=mesh
|
|
471
|
-
claude-flow config set coordination.batch_size=10
|
|
470
|
+
claude-flow-novice config set coordination.topology=mesh
|
|
471
|
+
claude-flow-novice config set coordination.batch_size=10
|
|
472
472
|
```
|
|
473
473
|
|
|
474
474
|
### Advanced Optimizations
|
|
@@ -509,16 +509,16 @@ const performanceMonitor = {
|
|
|
509
509
|
### Performance Testing Framework
|
|
510
510
|
```bash
|
|
511
511
|
# Benchmark current performance
|
|
512
|
-
claude-flow benchmark run --suite=comprehensive
|
|
512
|
+
claude-flow-novice benchmark run --suite=comprehensive
|
|
513
513
|
|
|
514
514
|
# Load testing
|
|
515
|
-
claude-flow load-test --concurrent=50 --duration=300
|
|
515
|
+
claude-flow-novice load-test --concurrent=50 --duration=300
|
|
516
516
|
|
|
517
517
|
# Performance regression testing
|
|
518
|
-
claude-flow test performance --baseline=last-release
|
|
518
|
+
claude-flow-novice test performance --baseline=last-release
|
|
519
519
|
|
|
520
520
|
# Memory profiling
|
|
521
|
-
claude-flow profile memory --duration=600 --gc-analysis
|
|
521
|
+
claude-flow-novice profile memory --duration=600 --gc-analysis
|
|
522
522
|
```
|
|
523
523
|
|
|
524
524
|
## 📊 Performance Metrics Dashboard
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Tutorial 06: Legacy System Integration and Migration
|
|
2
2
|
|
|
3
3
|
## Overview
|
|
4
|
-
Master the complex integration of claude-flow with legacy enterprise systems, featuring gradual migration strategies, adapter patterns, data transformation, and risk mitigation for large-scale enterprise environments.
|
|
4
|
+
Master the complex integration of claude-flow-novice with legacy enterprise systems, featuring gradual migration strategies, adapter patterns, data transformation, and risk mitigation for large-scale enterprise environments.
|
|
5
5
|
|
|
6
6
|
**Duration**: 4-5 hours
|
|
7
7
|
**Difficulty**: ⭐⭐⭐⭐⭐
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Tutorial 08: Real-World Enterprise Scenarios
|
|
2
2
|
|
|
3
3
|
## Overview
|
|
4
|
-
Apply advanced claude-flow mastery to complex real-world enterprise scenarios, featuring multi-industry case studies, cross-functional team coordination, and sophisticated business-technology integration patterns.
|
|
4
|
+
Apply advanced claude-flow-novice mastery to complex real-world enterprise scenarios, featuring multi-industry case studies, cross-functional team coordination, and sophisticated business-technology integration patterns.
|
|
5
5
|
|
|
6
6
|
**Duration**: 5-6 hours
|
|
7
7
|
**Difficulty**: ⭐⭐⭐⭐⭐
|
|
@@ -10,7 +10,7 @@ Apply advanced claude-flow mastery to complex real-world enterprise scenarios, f
|
|
|
10
10
|
## Learning Objectives
|
|
11
11
|
|
|
12
12
|
By completing this tutorial, you will:
|
|
13
|
-
- Apply claude-flow to complex multi-industry enterprise scenarios
|
|
13
|
+
- Apply claude-flow-novice to complex multi-industry enterprise scenarios
|
|
14
14
|
- Master cross-functional team coordination and stakeholder management
|
|
15
15
|
- Implement sophisticated business-technology integration patterns
|
|
16
16
|
- Handle real-world constraints, compliance, and regulatory requirements
|
|
@@ -666,7 +666,7 @@ mcp__claude-flow__performance_report({
|
|
|
666
666
|
|
|
667
667
|
### Expert Mastery Validation
|
|
668
668
|
|
|
669
|
-
You have successfully completed all advanced claude-flow tutorials and demonstrated mastery in:
|
|
669
|
+
You have successfully completed all advanced claude-flow-novice tutorials and demonstrated mastery in:
|
|
670
670
|
|
|
671
671
|
1. ✅ **Complex Multi-Agent Orchestration** - Enterprise-scale coordination
|
|
672
672
|
2. ✅ **Enterprise Architecture Development** - Large-scale system design
|
|
@@ -10,7 +10,7 @@ This comprehensive tutorial guides you through optimizing Claude Flow performanc
|
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
12
|
# Establish baseline metrics
|
|
13
|
-
npx claude-flow perf baseline --duration 300 --output baseline.json
|
|
13
|
+
npx claude-flow-novice perf baseline --duration 300 --output baseline.json
|
|
14
14
|
|
|
15
15
|
# Example baseline results:
|
|
16
16
|
{
|
|
@@ -86,7 +86,7 @@ Adaptive █████████████ ██████
|
|
|
86
86
|
|
|
87
87
|
```bash
|
|
88
88
|
# Monitor topology efficiency
|
|
89
|
-
npx claude-flow topology analyze --current mesh
|
|
89
|
+
npx claude-flow-novice topology analyze --current mesh
|
|
90
90
|
|
|
91
91
|
# Results:
|
|
92
92
|
Current Topology: Mesh
|
|
@@ -101,7 +101,7 @@ Recommendations:
|
|
|
101
101
|
3. Enable compression for inter-agent communication
|
|
102
102
|
|
|
103
103
|
# Apply optimization
|
|
104
|
-
npx claude-flow topology optimize --auto-switch --memory-limit 2GB
|
|
104
|
+
npx claude-flow-novice topology optimize --auto-switch --memory-limit 2GB
|
|
105
105
|
```
|
|
106
106
|
|
|
107
107
|
### 2. Memory Usage Optimization
|
|
@@ -147,18 +147,18 @@ After: 987MB peak, 12 GC events/hour (32% improvement)
|
|
|
147
147
|
|
|
148
148
|
```bash
|
|
149
149
|
# Enable memory optimization
|
|
150
|
-
npx claude-flow memory optimize --strategy adaptive
|
|
150
|
+
npx claude-flow-novice memory optimize --strategy adaptive
|
|
151
151
|
|
|
152
152
|
# Configure memory limits
|
|
153
|
-
npx claude-flow config set memory.agent_limit 64MB
|
|
154
|
-
npx claude-flow config set memory.cache_limit 256MB
|
|
155
|
-
npx claude-flow config set memory.gc_threshold 80%
|
|
153
|
+
npx claude-flow-novice config set memory.agent_limit 64MB
|
|
154
|
+
npx claude-flow-novice config set memory.cache_limit 256MB
|
|
155
|
+
npx claude-flow-novice config set memory.gc_threshold 80%
|
|
156
156
|
|
|
157
157
|
# Monitor memory patterns
|
|
158
|
-
npx claude-flow memory monitor --track-leaks --gc-analysis
|
|
158
|
+
npx claude-flow-novice memory monitor --track-leaks --gc-analysis
|
|
159
159
|
|
|
160
160
|
# Memory profiling report
|
|
161
|
-
npx claude-flow memory profile --duration 600 --heap-snapshots 10
|
|
161
|
+
npx claude-flow-novice memory profile --duration 600 --heap-snapshots 10
|
|
162
162
|
```
|
|
163
163
|
|
|
164
164
|
### 3. Agent Performance Tuning
|
|
@@ -203,7 +203,7 @@ Optimal Agent Assignment Strategy:
|
|
|
203
203
|
|
|
204
204
|
```bash
|
|
205
205
|
# Analyze current agent performance
|
|
206
|
-
npx claude-flow agents analyze --metrics efficiency,speed,accuracy
|
|
206
|
+
npx claude-flow-novice agents analyze --metrics efficiency,speed,accuracy
|
|
207
207
|
|
|
208
208
|
# Results:
|
|
209
209
|
Agent Pool Analysis:
|
|
@@ -216,10 +216,10 @@ Agent Pool Analysis:
|
|
|
216
216
|
- Increase memory allocation for 3 agents
|
|
217
217
|
|
|
218
218
|
# Implement optimizations
|
|
219
|
-
npx claude-flow agents optimize --replace-inefficient --retrain-patterns
|
|
219
|
+
npx claude-flow-novice agents optimize --replace-inefficient --retrain-patterns
|
|
220
220
|
|
|
221
221
|
# Configure adaptive scaling
|
|
222
|
-
npx claude-flow agents scale --strategy adaptive --min 8 --max 32 --target-efficiency 85%
|
|
222
|
+
npx claude-flow-novice agents scale --strategy adaptive --min 8 --max 32 --target-efficiency 85%
|
|
223
223
|
```
|
|
224
224
|
|
|
225
225
|
### 4. Network and I/O Optimization
|
|
@@ -262,20 +262,20 @@ After: 1.4s avg response, 198MB/s peak bandwidth (50% improvement)
|
|
|
262
262
|
|
|
263
263
|
```bash
|
|
264
264
|
# Analyze I/O patterns
|
|
265
|
-
npx claude-flow io analyze --duration 300
|
|
265
|
+
npx claude-flow-novice io analyze --duration 300
|
|
266
266
|
|
|
267
267
|
# Configure connection pooling
|
|
268
|
-
npx claude-flow config set network.pool_size 200
|
|
269
|
-
npx claude-flow config set network.keep_alive true
|
|
270
|
-
npx claude-flow config set network.compression_level 6
|
|
268
|
+
npx claude-flow-novice config set network.pool_size 200
|
|
269
|
+
npx claude-flow-novice config set network.keep_alive true
|
|
270
|
+
npx claude-flow-novice config set network.compression_level 6
|
|
271
271
|
|
|
272
272
|
# Enable async I/O
|
|
273
|
-
npx claude-flow config set io.async_enabled true
|
|
274
|
-
npx claude-flow config set io.buffer_size 64KB
|
|
275
|
-
npx claude-flow config set io.batch_operations true
|
|
273
|
+
npx claude-flow-novice config set io.async_enabled true
|
|
274
|
+
npx claude-flow-novice config set io.buffer_size 64KB
|
|
275
|
+
npx claude-flow-novice config set io.batch_operations true
|
|
276
276
|
|
|
277
277
|
# Monitor improvements
|
|
278
|
-
npx claude-flow io monitor --real-time --alerts
|
|
278
|
+
npx claude-flow-novice io monitor --real-time --alerts
|
|
279
279
|
```
|
|
280
280
|
|
|
281
281
|
### 5. Neural Network Performance Optimization
|
|
@@ -313,16 +313,16 @@ Memory Usage: 890MB → 678MB (24% reduction)
|
|
|
313
313
|
|
|
314
314
|
```bash
|
|
315
315
|
# Optimize neural training
|
|
316
|
-
npx claude-flow neural optimize --strategy efficient
|
|
316
|
+
npx claude-flow-novice neural optimize --strategy efficient
|
|
317
317
|
|
|
318
318
|
# Configure training parameters
|
|
319
|
-
npx claude-flow neural config --learning-rate 0.001 --batch-size 64 --epochs 50
|
|
319
|
+
npx claude-flow-novice neural config --learning-rate 0.001 --batch-size 64 --epochs 50
|
|
320
320
|
|
|
321
321
|
# Enable distributed training
|
|
322
|
-
npx claude-flow neural distributed --nodes 4 --sync-frequency 10
|
|
322
|
+
npx claude-flow-novice neural distributed --nodes 4 --sync-frequency 10
|
|
323
323
|
|
|
324
324
|
# Monitor training progress
|
|
325
|
-
npx claude-flow neural monitor --track-loss --save-checkpoints
|
|
325
|
+
npx claude-flow-novice neural monitor --track-loss --save-checkpoints
|
|
326
326
|
```
|
|
327
327
|
|
|
328
328
|
## Performance Monitoring and Alerts
|
|
@@ -331,15 +331,15 @@ npx claude-flow neural monitor --track-loss --save-checkpoints
|
|
|
331
331
|
|
|
332
332
|
```bash
|
|
333
333
|
# Start comprehensive monitoring
|
|
334
|
-
npx claude-flow monitor start --components all --interval 5s
|
|
334
|
+
npx claude-flow-novice monitor start --components all --interval 5s
|
|
335
335
|
|
|
336
336
|
# Configure performance alerts
|
|
337
|
-
npx claude-flow alerts add --metric cpu_usage --threshold 80 --action scale_up
|
|
338
|
-
npx claude-flow alerts add --metric memory_usage --threshold 90 --action gc_force
|
|
339
|
-
npx claude-flow alerts add --metric latency_p99 --threshold 500ms --action optimize
|
|
337
|
+
npx claude-flow-novice alerts add --metric cpu_usage --threshold 80 --action scale_up
|
|
338
|
+
npx claude-flow-novice alerts add --metric memory_usage --threshold 90 --action gc_force
|
|
339
|
+
npx claude-flow-novice alerts add --metric latency_p99 --threshold 500ms --action optimize
|
|
340
340
|
|
|
341
341
|
# Dashboard view
|
|
342
|
-
npx claude-flow dashboard --port 3000 --auth-token secure123
|
|
342
|
+
npx claude-flow-novice dashboard --port 3000 --auth-token secure123
|
|
343
343
|
```
|
|
344
344
|
|
|
345
345
|
### Performance Alert Dashboard
|
|
@@ -378,31 +378,31 @@ Auto-optimization Actions Taken:
|
|
|
378
378
|
|
|
379
379
|
```bash
|
|
380
380
|
# Enable predictive scaling based on historical patterns
|
|
381
|
-
npx claude-flow scale predictive --enable --window 7d --confidence 85%
|
|
381
|
+
npx claude-flow-novice scale predictive --enable --window 7d --confidence 85%
|
|
382
382
|
|
|
383
383
|
# Configure scaling rules
|
|
384
|
-
npx claude-flow scale rules add --metric throughput --trigger "rate>2000" --action "agents+2"
|
|
385
|
-
npx claude-flow scale rules add --metric latency --trigger "p99>100ms" --action "optimize"
|
|
384
|
+
npx claude-flow-novice scale rules add --metric throughput --trigger "rate>2000" --action "agents+2"
|
|
385
|
+
npx claude-flow-novice scale rules add --metric latency --trigger "p99>100ms" --action "optimize"
|
|
386
386
|
```
|
|
387
387
|
|
|
388
388
|
### 2. Resource Pooling
|
|
389
389
|
|
|
390
390
|
```bash
|
|
391
391
|
# Configure shared resource pools
|
|
392
|
-
npx claude-flow resources pool --type memory --size 2GB --agents all
|
|
393
|
-
npx claude-flow resources pool --type network --connections 500 --timeout 30s
|
|
394
|
-
npx claude-flow resources pool --type compute --threads 16 --priority high
|
|
392
|
+
npx claude-flow-novice resources pool --type memory --size 2GB --agents all
|
|
393
|
+
npx claude-flow-novice resources pool --type network --connections 500 --timeout 30s
|
|
394
|
+
npx claude-flow-novice resources pool --type compute --threads 16 --priority high
|
|
395
395
|
```
|
|
396
396
|
|
|
397
397
|
### 3. Caching Strategies
|
|
398
398
|
|
|
399
399
|
```bash
|
|
400
400
|
# Enable intelligent caching
|
|
401
|
-
npx claude-flow cache enable --strategy adaptive --size 512MB
|
|
402
|
-
npx claude-flow cache config --ttl 3600 --eviction lru --compression true
|
|
401
|
+
npx claude-flow-novice cache enable --strategy adaptive --size 512MB
|
|
402
|
+
npx claude-flow-novice cache config --ttl 3600 --eviction lru --compression true
|
|
403
403
|
|
|
404
404
|
# Monitor cache performance
|
|
405
|
-
npx claude-flow cache stats --detailed
|
|
405
|
+
npx claude-flow-novice cache stats --detailed
|
|
406
406
|
```
|
|
407
407
|
|
|
408
408
|
## Performance Testing Framework
|
|
@@ -411,10 +411,10 @@ npx claude-flow cache stats --detailed
|
|
|
411
411
|
|
|
412
412
|
```bash
|
|
413
413
|
# Run comprehensive load tests
|
|
414
|
-
npx claude-flow test load --suite comprehensive --duration 1800
|
|
414
|
+
npx claude-flow-novice test load --suite comprehensive --duration 1800
|
|
415
415
|
|
|
416
416
|
# Custom load test
|
|
417
|
-
npx claude-flow test load \
|
|
417
|
+
npx claude-flow-novice test load \
|
|
418
418
|
--agents 32 \
|
|
419
419
|
--rps 500 \
|
|
420
420
|
--duration 300 \
|
|
@@ -422,17 +422,17 @@ npx claude-flow test load \
|
|
|
422
422
|
--scenarios file,network,compute
|
|
423
423
|
|
|
424
424
|
# Stress testing
|
|
425
|
-
npx claude-flow test stress --max-load --duration 600 --monitor-resources
|
|
425
|
+
npx claude-flow-novice test stress --max-load --duration 600 --monitor-resources
|
|
426
426
|
```
|
|
427
427
|
|
|
428
428
|
### Performance Regression Testing
|
|
429
429
|
|
|
430
430
|
```bash
|
|
431
431
|
# Baseline comparison
|
|
432
|
-
npx claude-flow test regression --baseline v1.0.0 --current main
|
|
432
|
+
npx claude-flow-novice test regression --baseline v1.0.0 --current main
|
|
433
433
|
|
|
434
434
|
# Continuous performance testing
|
|
435
|
-
npx claude-flow test ci --threshold 5% --fail-on-regression --report junit
|
|
435
|
+
npx claude-flow-novice test ci --threshold 5% --fail-on-regression --report junit
|
|
436
436
|
```
|
|
437
437
|
|
|
438
438
|
## Optimization Results Summary
|