claude-flow-novice 1.3.6 → 1.5.1
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/analysis/code-analyzer.md +3 -20
- package/.claude/agents/analysis/code-review/analyze-code-quality.md +1 -1
- package/.claude/agents/analyst.md +208 -550
- package/.claude/agents/architect.md +136 -469
- package/.claude/agents/architecture/system-architect.md +20 -1
- package/.claude/agents/architecture/system-design/arch-system-design.md +1 -1
- package/.claude/agents/base-template-generator.md +24 -1
- package/.claude/agents/coder.md +87 -303
- package/.claude/agents/consensus/byzantine-coordinator.md +4 -21
- package/.claude/agents/consensus/consensus-builder.md +3 -20
- package/.claude/agents/consensus/crdt-synchronizer.md +4 -21
- package/.claude/agents/consensus/gossip-coordinator.md +4 -21
- package/.claude/agents/consensus/performance-benchmarker.md +4 -21
- package/.claude/agents/consensus/quorum-manager.md +4 -21
- package/.claude/agents/consensus/raft-manager.md +4 -21
- package/.claude/agents/consensus/security-manager.md +4 -21
- package/.claude/agents/coordinator.md +22 -11
- package/.claude/agents/data/ml/data-ml-model.md +2 -2
- package/.claude/agents/development/backend/dev-backend-api.md +2 -2
- package/.claude/agents/devops/ci-cd/ops-cicd-github.md +2 -2
- package/.claude/agents/devops/devops-engineer.md +134 -402
- package/.claude/agents/documentation/api-docs/docs-api-openapi.md +2 -2
- package/.claude/agents/github/code-review-swarm.md +1 -1
- package/.claude/agents/github/github-specialist.md +856 -0
- package/.claude/agents/github/pr-manager.md +1 -1
- package/.claude/agents/github/release-manager.md +1 -1
- package/.claude/agents/neural/neural-pattern-agent.md +762 -0
- package/.claude/agents/optimization/benchmark-suite.md +1 -1
- package/.claude/agents/optimization/perf-analyzer.md +1 -1
- package/.claude/agents/optimization/performance-monitor.md +1 -1
- package/.claude/agents/planner.md +135 -0
- package/.claude/agents/researcher.md +22 -9
- package/.claude/agents/reviewer.md +291 -0
- package/.claude/agents/security/security-specialist.md +1 -1
- package/.claude/agents/sparc/architecture.md +1 -1
- package/.claude/agents/sparc/pseudocode.md +1 -1
- package/.claude/agents/sparc/refinement.md +1 -1
- package/.claude/agents/sparc/specification.md +1 -1
- package/.claude/agents/specialized/mobile/spec-mobile-react-native.md +2 -2
- package/.claude/agents/tester.md +21 -11
- package/.claude/agents/testing/unit/tdd-london-swarm.md +1 -1
- package/.claude/agents/testing/validation/production-validator.md +1 -1
- package/.claude/commands/claude-soul.js +1 -1
- package/.claude/commands/fullstack.md +134 -0
- package/.claude/commands/index.js +4 -0
- package/.claude/hooks.json +12 -15
- package/{.claude → .claude-flow-novice/.claude}/agents/MIGRATION_SUMMARY.md +1 -1
- package/.claude-flow-novice/.claude/agents/analysis/code-analyzer.md +192 -0
- package/.claude-flow-novice/.claude/agents/analysis/code-review/analyze-code-quality.md +180 -0
- package/.claude-flow-novice/.claude/agents/analyst.md +300 -0
- package/.claude-flow-novice/.claude/agents/architect.md +557 -0
- package/.claude-flow-novice/.claude/agents/architecture/system-architect.md +630 -0
- package/.claude-flow-novice/.claude/agents/architecture/system-design/arch-system-design.md +156 -0
- package/.claude-flow-novice/.claude/agents/base-template-generator.md +65 -0
- package/.claude-flow-novice/.claude/agents/coder.md +180 -0
- package/.claude-flow-novice/.claude/agents/consensus/byzantine-coordinator.md +46 -0
- package/.claude-flow-novice/.claude/agents/consensus/consensus-builder.md +225 -0
- package/.claude-flow-novice/.claude/agents/consensus/crdt-synchronizer.md +980 -0
- package/.claude-flow-novice/.claude/agents/consensus/gossip-coordinator.md +46 -0
- package/.claude-flow-novice/.claude/agents/consensus/performance-benchmarker.md +834 -0
- package/.claude-flow-novice/.claude/agents/consensus/quorum-manager.md +806 -0
- package/.claude-flow-novice/.claude/agents/consensus/raft-manager.md +46 -0
- package/.claude-flow-novice/.claude/agents/consensus/security-manager.md +605 -0
- package/.claude-flow-novice/.claude/agents/coordinator.md +842 -0
- package/.claude-flow-novice/.claude/agents/data/ml/data-ml-model.md +193 -0
- package/.claude-flow-novice/.claude/agents/development/backend/dev-backend-api.md +142 -0
- package/.claude-flow-novice/.claude/agents/devops/ci-cd/ops-cicd-github.md +164 -0
- package/.claude-flow-novice/.claude/agents/devops/devops-engineer.md +638 -0
- package/.claude-flow-novice/.claude/agents/documentation/api-docs/docs-api-openapi.md +174 -0
- package/.claude-flow-novice/.claude/agents/github/code-review-swarm.md +538 -0
- package/.claude-flow-novice/.claude/agents/github/github-modes.md +173 -0
- package/.claude-flow-novice/.claude/agents/github/github-specialist.md +856 -0
- package/.claude-flow-novice/.claude/agents/github/issue-tracker.md +319 -0
- package/.claude-flow-novice/.claude/agents/github/multi-repo-swarm.md +553 -0
- package/.claude-flow-novice/.claude/agents/github/pr-manager.md +191 -0
- package/.claude-flow-novice/.claude/agents/github/project-board-sync.md +509 -0
- package/.claude-flow-novice/.claude/agents/github/release-manager.md +367 -0
- package/.claude-flow-novice/.claude/agents/github/release-swarm.md +583 -0
- package/.claude-flow-novice/.claude/agents/github/repo-architect.md +398 -0
- package/.claude-flow-novice/.claude/agents/github/swarm-issue.md +573 -0
- package/.claude-flow-novice/.claude/agents/github/swarm-pr.md +428 -0
- package/.claude-flow-novice/.claude/agents/github/sync-coordinator.md +452 -0
- package/.claude-flow-novice/.claude/agents/github/workflow-automation.md +635 -0
- package/.claude-flow-novice/.claude/agents/goal/goal-planner.md +73 -0
- package/.claude-flow-novice/.claude/agents/neural/neural-pattern-agent.md +762 -0
- package/.claude-flow-novice/.claude/agents/neural/safla-neural.md +74 -0
- package/.claude-flow-novice/.claude/agents/optimization/benchmark-suite.md +665 -0
- package/.claude-flow-novice/.claude/agents/optimization/load-balancer.md +431 -0
- package/.claude-flow-novice/.claude/agents/optimization/perf-analyzer.md +725 -0
- package/.claude-flow-novice/.claude/agents/optimization/performance-monitor.md +672 -0
- package/.claude-flow-novice/.claude/agents/optimization/resource-allocator.md +674 -0
- package/.claude-flow-novice/.claude/agents/optimization/topology-optimizer.md +808 -0
- package/.claude-flow-novice/.claude/agents/planner.md +135 -0
- package/.claude-flow-novice/.claude/agents/researcher.md +185 -0
- package/.claude-flow-novice/.claude/agents/reviewer.md +291 -0
- package/.claude-flow-novice/.claude/agents/security/security-specialist.md +978 -0
- package/.claude-flow-novice/.claude/agents/sparc/architecture.md +472 -0
- package/.claude-flow-novice/.claude/agents/sparc/pseudocode.md +318 -0
- package/.claude-flow-novice/.claude/agents/sparc/refinement.md +525 -0
- package/.claude-flow-novice/.claude/agents/sparc/specification.md +276 -0
- package/.claude-flow-novice/.claude/agents/specialized/mobile/spec-mobile-react-native.md +226 -0
- package/.claude-flow-novice/.claude/agents/sublinear/consciousness-evolution-agent.md +499 -0
- package/.claude-flow-novice/.claude/agents/sublinear/matrix-solver-agent.md +113 -0
- package/.claude-flow-novice/.claude/agents/sublinear/nanosecond-scheduler-agent.md +644 -0
- package/.claude-flow-novice/.claude/agents/sublinear/pagerank-agent.md +699 -0
- package/.claude-flow-novice/.claude/agents/sublinear/phi-calculator-agent.md +749 -0
- package/.claude-flow-novice/.claude/agents/sublinear/psycho-symbolic-agent.md +543 -0
- package/.claude-flow-novice/.claude/agents/sublinear/sublinear.md +816 -0
- package/.claude-flow-novice/.claude/agents/sublinear/temporal-advantage-agent.md +360 -0
- package/.claude-flow-novice/.claude/agents/swarm/adaptive-coordinator-enhanced.md +746 -0
- package/.claude-flow-novice/.claude/agents/swarm/adaptive-coordinator.md +396 -0
- package/.claude-flow-novice/.claude/agents/swarm/hierarchical-coordinator.md +300 -0
- package/.claude-flow-novice/.claude/agents/swarm/mesh-coordinator.md +435 -0
- package/.claude-flow-novice/.claude/agents/templates/automation-smart-agent.md +205 -0
- package/.claude-flow-novice/.claude/agents/templates/coordinator-swarm-init.md +90 -0
- package/.claude-flow-novice/.claude/agents/templates/github-pr-manager.md +177 -0
- package/.claude-flow-novice/.claude/agents/templates/implementer-sparc-coder.md +259 -0
- package/.claude-flow-novice/.claude/agents/templates/memory-coordinator.md +187 -0
- package/.claude-flow-novice/.claude/agents/templates/migration-plan.md +746 -0
- package/.claude-flow-novice/.claude/agents/templates/orchestrator-task.md +139 -0
- package/.claude-flow-novice/.claude/agents/templates/performance-analyzer.md +199 -0
- package/.claude-flow-novice/.claude/agents/templates/sparc-coordinator.md +183 -0
- package/.claude-flow-novice/.claude/agents/tester.md +663 -0
- package/.claude-flow-novice/.claude/agents/testing/e2e/playwright-agent.md +249 -0
- package/.claude-flow-novice/.claude/agents/testing/unit/tdd-london-swarm.md +244 -0
- package/.claude-flow-novice/.claude/agents/testing/validation/production-validator.md +395 -0
- package/.claude-flow-novice/dist/index.js +12 -24
- package/.claude-flow-novice/dist/index.js.map +1 -0
- package/.claude-flow-novice/dist/src/agents/agent-manager.js +123 -69
- package/.claude-flow-novice/dist/src/agents/agent-manager.js.map +1 -1
- package/.claude-flow-novice/dist/src/agents/github/utils/hook-integration.js +7 -7
- package/.claude-flow-novice/dist/src/agents/github/utils/hook-integration.js.map +1 -1
- package/.claude-flow-novice/dist/src/agents/stage3-integration-validator.js +485 -0
- package/.claude-flow-novice/dist/src/agents/stage3-integration-validator.js.map +1 -0
- package/.claude-flow-novice/dist/src/agents/unified-ultra-fast-agent-manager.js +630 -0
- package/.claude-flow-novice/dist/src/agents/unified-ultra-fast-agent-manager.js.map +1 -0
- package/.claude-flow-novice/dist/src/cli/commands/agent.js +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/agent.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/config-integration.js +6 -6
- package/.claude-flow-novice/dist/src/cli/commands/enterprise.js +18 -18
- package/.claude-flow-novice/dist/src/cli/commands/enterprise.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/goal-init.js +4 -4
- package/.claude-flow-novice/dist/src/cli/commands/help-new.js +23 -23
- package/.claude-flow-novice/dist/src/cli/commands/help-new.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/help.js +74 -74
- package/.claude-flow-novice/dist/src/cli/commands/help.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/hive-mind/pause.js +2 -2
- package/.claude-flow-novice/dist/src/cli/commands/hive-mind/pause.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/hive.js +4 -4
- package/.claude-flow-novice/dist/src/cli/commands/index.js +103 -132
- package/.claude-flow-novice/dist/src/cli/commands/index.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/mcp.js +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/migrate.js +4 -4
- package/.claude-flow-novice/dist/src/cli/commands/migrate.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/monitor.js +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/neural-init.js +4 -4
- package/.claude-flow-novice/dist/src/cli/commands/ruv-swarm.js +8 -8
- package/.claude-flow-novice/dist/src/cli/commands/sparc.js +12 -12
- package/.claude-flow-novice/dist/src/cli/commands/sparc.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/start/start-command.js +3 -3
- package/.claude-flow-novice/dist/src/cli/commands/status.js +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/swarm.js +7 -7
- package/.claude-flow-novice/dist/src/cli/commands/swarm.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/verification.js +18 -18
- package/.claude-flow-novice/dist/src/cli/completion.js +54 -54
- package/.claude-flow-novice/dist/src/cli/completion.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/consolidated/ConsolidatedCLI.js +11 -11
- package/.claude-flow-novice/dist/src/cli/consolidated/ConsolidatedCLI.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/consolidated/core/CommandHandlers.js +31 -31
- package/.claude-flow-novice/dist/src/cli/consolidated/core/TierManager.js +39 -39
- package/.claude-flow-novice/dist/src/cli/consolidated/core/TierManager.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/consolidated/help/InteractiveHelp.js +25 -25
- package/.claude-flow-novice/dist/src/cli/consolidated/help/InteractiveHelp.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/consolidated/routing/CommandRouter.js +8 -8
- package/.claude-flow-novice/dist/src/cli/consolidated/routing/CommandRouter.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/consolidated/utils/IntelligentDefaults.js +6 -6
- package/.claude-flow-novice/dist/src/cli/consolidated/utils/IntelligentDefaults.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/consolidated/utils/PerformanceOptimizer.js +7 -7
- package/.claude-flow-novice/dist/src/cli/consolidated/utils/PerformanceOptimizer.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/index-remote.js +10 -10
- package/.claude-flow-novice/dist/src/cli/index.js +1 -1
- package/.claude-flow-novice/dist/src/cli/init/directory-structure.js +8 -8
- package/.claude-flow-novice/dist/src/cli/init/index.js +3 -3
- package/.claude-flow-novice/dist/src/cli/init/sparc-environment.js +67 -67
- package/.claude-flow-novice/dist/src/cli/init/swarm-commands.js +18 -18
- package/.claude-flow-novice/dist/src/cli/node-repl.js +2 -2
- package/.claude-flow-novice/dist/src/cli/repl.js +1 -1
- package/.claude-flow-novice/dist/src/cli/simple-cli.js +68 -68
- package/.claude-flow-novice/dist/src/cli/simple-cli.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/simple-commands/session-start-soul.js +271 -0
- package/.claude-flow-novice/dist/src/cli/simple-orchestrator.js +7 -7
- package/.claude-flow-novice/dist/src/cli/simple-orchestrator.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/ui/fallback-handler.js +7 -7
- package/.claude-flow-novice/dist/src/communication/enhanced-event-bus.js +816 -0
- package/.claude-flow-novice/dist/src/communication/enhanced-event-bus.js.map +1 -0
- package/.claude-flow-novice/dist/src/communication/failure-recovery-system.js +812 -0
- package/.claude-flow-novice/dist/src/communication/failure-recovery-system.js.map +1 -0
- package/.claude-flow-novice/dist/src/communication/optimized-serialization.js +369 -0
- package/.claude-flow-novice/dist/src/communication/optimized-serialization.js.map +1 -0
- package/.claude-flow-novice/dist/src/communication/performance-optimizations.js +526 -0
- package/.claude-flow-novice/dist/src/communication/performance-optimizations.js.map +1 -0
- package/.claude-flow-novice/dist/src/communication/performance-validator.js +532 -0
- package/.claude-flow-novice/dist/src/communication/performance-validator.js.map +1 -0
- package/.claude-flow-novice/dist/src/communication/priority-message-queue.js +525 -0
- package/.claude-flow-novice/dist/src/communication/priority-message-queue.js.map +1 -0
- package/.claude-flow-novice/dist/src/communication/shared-buffer-bus.js +218 -0
- package/.claude-flow-novice/dist/src/communication/shared-buffer-bus.js.map +1 -0
- package/.claude-flow-novice/dist/src/communication/ultra-fast-communication-bus.js +521 -0
- package/.claude-flow-novice/dist/src/communication/ultra-fast-communication-bus.js.map +1 -0
- package/.claude-flow-novice/dist/src/communication/ultra-fast-serialization.js +563 -0
- package/.claude-flow-novice/dist/src/communication/ultra-fast-serialization.js.map +1 -0
- package/.claude-flow-novice/dist/src/communication/websocket-cluster.js +344 -0
- package/.claude-flow-novice/dist/src/communication/websocket-cluster.js.map +1 -0
- package/.claude-flow-novice/dist/src/communication/zero-copy-structures.js +369 -0
- package/.claude-flow-novice/dist/src/communication/zero-copy-structures.js.map +1 -0
- package/.claude-flow-novice/dist/src/config/config-manager.js +1 -1
- package/.claude-flow-novice/dist/src/config/config-manager.js.map +1 -1
- package/.claude-flow-novice/dist/src/config/core/intelligent-configuration-manager.js +1 -1
- package/.claude-flow-novice/dist/src/config/integration/hooks-integration.js +6 -6
- package/.claude-flow-novice/dist/src/config/integration/hooks-integration.js.map +1 -1
- package/.claude-flow-novice/dist/src/config/migration/config-migration.js +1 -1
- package/.claude-flow-novice/dist/src/config/ruv-swarm-integration.js +1 -1
- package/.claude-flow-novice/dist/src/config/utils/zero-config-setup.js +1 -1
- package/.claude-flow-novice/dist/src/config/utils/zero-config-setup.js.map +1 -1
- package/.claude-flow-novice/dist/src/config/web-portal-config.js +0 -9
- package/.claude-flow-novice/dist/src/config/web-portal-config.js.map +1 -1
- package/.claude-flow-novice/dist/src/config/zero-config-setup.js +18 -18
- package/.claude-flow-novice/dist/src/config/zero-config-setup.js.map +1 -1
- package/.claude-flow-novice/dist/src/core/logger.js +33 -10
- package/.claude-flow-novice/dist/src/core/logger.js.map +1 -1
- package/.claude-flow-novice/dist/src/migration/index.js +1 -1
- package/.claude-flow-novice/dist/src/migration/index.js.map +1 -1
- package/.claude-flow-novice/dist/src/migration/migration-runner.js +4 -4
- package/.claude-flow-novice/dist/src/migration/migration-runner.js.map +1 -1
- package/.claude-flow-novice/dist/src/monitoring/agent-health-monitor.js +430 -0
- package/.claude-flow-novice/dist/src/monitoring/agent-health-monitor.js.map +1 -0
- package/.claude-flow-novice/dist/src/slash-commands/claude-soul.js +248 -365
- package/.claude-flow-novice/dist/src/slash-commands/register-all-commands.js +1 -1
- package/.claude-flow-novice/dist/src/swarm/claude-code-interface.js +1 -1
- package/.claude-flow-novice/dist/src/swarm/claude-flow-executor.js +1 -1
- package/.claude-flow-novice/dist/src/swarm/consensus-coordinator.js +471 -0
- package/.claude-flow-novice/dist/src/swarm/consensus-coordinator.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm/hive-mind-integration.js +1 -1
- package/.claude-flow-novice/dist/src/swarm/large-scale-coordinator.js +543 -0
- package/.claude-flow-novice/dist/src/swarm/large-scale-coordinator.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm/optimizations/connection-pool.js +1 -1
- package/.claude-flow-novice/dist/src/swarm/optimizations/optimized-executor.js +1 -1
- package/.claude-flow-novice/dist/src/swarm/types.js.map +1 -1
- package/.claude-flow-novice/dist/src/swarm-fullstack/integrations/communication-bridge.js +709 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/integrations/communication-bridge.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/testing/api-contract-validator.js +612 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/testing/api-contract-validator.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/testing/backend-test-orchestrator.js +679 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/testing/backend-test-orchestrator.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/testing/frontend-test-orchestrator.js +654 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/testing/frontend-test-orchestrator.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/testing/visual-regression.js +402 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/testing/visual-regression.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/convergence-detector.js +459 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/convergence-detector.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/fix-coordinator.js +513 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/fix-coordinator.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/index.js +19 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/index.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/iterative-build-test.js +568 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/iterative-build-test.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/regression-test-manager.js +418 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/regression-test-manager.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/test-result-analyzer.js +530 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/test-result-analyzer.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/workflow-metrics.js +250 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/workflow-metrics.js.map +1 -0
- package/.claude-flow-novice/dist/src/task/index.js +7 -7
- package/.claude-flow-novice/dist/src/validation/fullstack-integration-validator.js +420 -0
- package/.claude-flow-novice/dist/src/validation/fullstack-integration-validator.js.map +1 -0
- package/.claude-flow-novice/dist/src/validation/production-validator.js +1435 -0
- package/.claude-flow-novice/dist/src/validation/production-validator.js.map +1 -0
- package/.claude-flow-novice/dist/src/verification/cli-integration.js +3 -3
- package/.claude-flow-novice/dist/src/verification/hooks.js +1 -1
- package/CHANGELOG.md +26 -0
- package/CLAUDE.md +1967 -68
- package/README.md +0 -1
- package/config/build/babel.config.cjs +19 -11
- package/config/typescript/tsconfig.json +1 -1
- package/examples/claude-api-error-handling.ts +2 -2
- package/examples/frontend-testing-demo.ts +470 -0
- package/examples/litellm/config/config.yaml +1 -1
- package/package.json +13 -7
- package/scripts/build/unified-builder.sh +6 -6
- package/scripts/build/validate-agents.js +238 -0
- package/scripts/run-production-validation.ts +590 -0
- package/scripts/test/test-coordination-features.ts +2 -2
- package/scripts/validate-stage3-performance.ts +377 -0
- package/src/cli/simple-commands/hooks.js +1 -0
- package/src/cli/simple-commands/init/agent-copier.js +0 -2
- package/src/cli/simple-commands/init/index.js +5 -97
- package/src/cli/simple-commands/init/templates/CLAUDE.md +163 -1158
- package/src/cli/simple-commands/init/templates/claude-md.js +38 -157
- package/src/swarm-fullstack/integrations/communication-bridge.ts +931 -0
- package/src/swarm-fullstack/testing/api-contract-validator.ts +909 -0
- package/src/swarm-fullstack/testing/backend-test-orchestrator.ts +791 -0
- package/src/swarm-fullstack/testing/frontend-test-orchestrator.ts +853 -0
- package/src/swarm-fullstack/testing/visual-regression.ts +507 -0
- package/src/swarm-fullstack/workflows/convergence-detector.ts +736 -0
- package/src/swarm-fullstack/workflows/fix-coordinator.ts +677 -0
- package/src/swarm-fullstack/workflows/index.ts +75 -0
- package/src/swarm-fullstack/workflows/iterative-build-test.ts +829 -0
- package/src/swarm-fullstack/workflows/regression-test-manager.ts +590 -0
- package/src/swarm-fullstack/workflows/test-result-analyzer.ts +739 -0
- package/src/swarm-fullstack/workflows/workflow-metrics.ts +399 -0
- package/wiki/command-reference/README.md +1 -2
- package/wiki/command-reference/mcp-tools/README.md +1 -1
- package/wiki/getting-started/claude-code-mcp/README.md +1 -2
- package/wiki/getting-started/installation/README.md +2 -10
- package/.claude/commands/flow-nexus/app-store.md +0 -124
- package/.claude/commands/flow-nexus/challenges.md +0 -120
- package/.claude/commands/flow-nexus/login-registration.md +0 -65
- package/.claude/commands/flow-nexus/neural-network.md +0 -134
- package/.claude/commands/flow-nexus/payments.md +0 -116
- package/.claude/commands/flow-nexus/sandbox.md +0 -83
- package/.claude/commands/flow-nexus/swarm.md +0 -87
- package/.claude/commands/flow-nexus/user-tools.md +0 -152
- package/.claude/commands/flow-nexus/workflow.md +0 -115
- package/.claude-flow-novice/dist/cli/index.js +0 -45
- package/.claude-flow-novice/dist/core/index.js +0 -22
- package/.claude-flow-novice/dist/mcp/mcp-server-novice.js +0 -595
- package/.claude-flow-novice/dist/mcp/mcp-server-sdk.js +0 -649
- package/.claude-flow-novice/dist/mcp/mcp-server-with-slash-commands.js +0 -776
- package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/claude-md.js +0 -1101
- package/src/cli/simple-commands/init/templates/CLAUDE.md.optimized +0 -265
- /package/{.claude → .claude-flow-novice/.claude}/agents/README.md +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/backend-dev.json +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/code-analyzer.json +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/coder.json +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/consensus/README.md +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/core/coder.md +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/core/planner.md +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/core/researcher.md +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/core/reviewer.md +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/core/tester.md +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/optimization/README.md +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/planner.json +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/researcher.json +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/reviewer.json +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/swarm/README.md +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/system-architect.json +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/tester.json +0 -0
|
@@ -0,0 +1,746 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: migration-planner
|
|
3
|
+
type: planning
|
|
4
|
+
color: red
|
|
5
|
+
description: Comprehensive migration plan for converting commands to agent-based system
|
|
6
|
+
capabilities:
|
|
7
|
+
- migration-planning
|
|
8
|
+
- system-transformation
|
|
9
|
+
- agent-mapping
|
|
10
|
+
- compatibility-analysis
|
|
11
|
+
- rollout-coordination
|
|
12
|
+
priority: medium
|
|
13
|
+
hooks:
|
|
14
|
+
pre: |
|
|
15
|
+
echo "📋 Agent System Migration Planner activated"
|
|
16
|
+
echo "🔄 Analyzing current command structure for migration"
|
|
17
|
+
# Check existing command structure
|
|
18
|
+
if [ -d ".claude/commands" ]; then
|
|
19
|
+
echo "📁 Found existing command directory - will map to agents"
|
|
20
|
+
find .claude/commands -name "*.md" | wc -l | xargs echo "Commands to migrate:"
|
|
21
|
+
fi
|
|
22
|
+
post: |
|
|
23
|
+
echo "✅ Migration planning completed"
|
|
24
|
+
echo "📊 Agent mapping strategy defined"
|
|
25
|
+
echo "🚀 Ready for systematic agent system rollout"
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
# Claude Flow Commands to Agent System Migration Plan
|
|
29
|
+
|
|
30
|
+
## Overview
|
|
31
|
+
This document provides a comprehensive migration plan to convert existing .claude/commands to the new agent-based system. Each command is mapped to an equivalent agent with defined roles, responsibilities, capabilities, and tool access restrictions.
|
|
32
|
+
|
|
33
|
+
## Agent Definition Format
|
|
34
|
+
Each agent uses YAML frontmatter with the following structure:
|
|
35
|
+
```yaml
|
|
36
|
+
---
|
|
37
|
+
role: agent-type
|
|
38
|
+
name: Agent Display Name
|
|
39
|
+
responsibilities:
|
|
40
|
+
- Primary responsibility
|
|
41
|
+
- Secondary responsibility
|
|
42
|
+
capabilities:
|
|
43
|
+
- capability-1
|
|
44
|
+
- capability-2
|
|
45
|
+
tools:
|
|
46
|
+
allowed:
|
|
47
|
+
- tool-name
|
|
48
|
+
restricted:
|
|
49
|
+
- restricted-tool
|
|
50
|
+
triggers:
|
|
51
|
+
- pattern: "regex pattern"
|
|
52
|
+
priority: high|medium|low
|
|
53
|
+
- keyword: "activation keyword"
|
|
54
|
+
---
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Migration Categories
|
|
58
|
+
|
|
59
|
+
### 1. Coordination Agents
|
|
60
|
+
|
|
61
|
+
#### Swarm Initializer Agent
|
|
62
|
+
**Command**: `.claude/commands/coordination/init.md`
|
|
63
|
+
```yaml
|
|
64
|
+
---
|
|
65
|
+
role: coordinator
|
|
66
|
+
name: Swarm Initializer
|
|
67
|
+
responsibilities:
|
|
68
|
+
- Initialize agent swarms with optimal topology
|
|
69
|
+
- Configure distributed coordination systems
|
|
70
|
+
- Set up inter-agent communication channels
|
|
71
|
+
capabilities:
|
|
72
|
+
- swarm-initialization
|
|
73
|
+
- topology-optimization
|
|
74
|
+
- resource-allocation
|
|
75
|
+
- network-configuration
|
|
76
|
+
tools:
|
|
77
|
+
allowed:
|
|
78
|
+
- mcp__claude-flow__swarm_init
|
|
79
|
+
- mcp__claude-flow__topology_optimize
|
|
80
|
+
- mcp__claude-flow__memory_usage
|
|
81
|
+
- TodoWrite
|
|
82
|
+
restricted:
|
|
83
|
+
- Bash
|
|
84
|
+
- Write
|
|
85
|
+
- Edit
|
|
86
|
+
triggers:
|
|
87
|
+
- pattern: "init.*swarm|create.*swarm|setup.*agents"
|
|
88
|
+
priority: high
|
|
89
|
+
- keyword: "swarm-init"
|
|
90
|
+
---
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
#### Agent Spawner
|
|
94
|
+
**Command**: `.claude/commands/coordination/spawn.md`
|
|
95
|
+
```yaml
|
|
96
|
+
---
|
|
97
|
+
role: coordinator
|
|
98
|
+
name: Agent Spawner
|
|
99
|
+
responsibilities:
|
|
100
|
+
- Create specialized cognitive patterns for task execution
|
|
101
|
+
- Assign capabilities to agents based on requirements
|
|
102
|
+
- Manage agent lifecycle and resource allocation
|
|
103
|
+
capabilities:
|
|
104
|
+
- agent-creation
|
|
105
|
+
- capability-assignment
|
|
106
|
+
- resource-management
|
|
107
|
+
- pattern-recognition
|
|
108
|
+
tools:
|
|
109
|
+
allowed:
|
|
110
|
+
- mcp__claude-flow__agent_spawn
|
|
111
|
+
- mcp__claude-flow__daa_agent_create
|
|
112
|
+
- mcp__claude-flow__agent_list
|
|
113
|
+
- mcp__claude-flow__memory_usage
|
|
114
|
+
restricted:
|
|
115
|
+
- Bash
|
|
116
|
+
- Write
|
|
117
|
+
- Edit
|
|
118
|
+
triggers:
|
|
119
|
+
- pattern: "spawn.*agent|create.*agent|add.*agent"
|
|
120
|
+
priority: high
|
|
121
|
+
- keyword: "agent-spawn"
|
|
122
|
+
---
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
#### Task Orchestrator
|
|
126
|
+
**Command**: `.claude/commands/coordination/orchestrate.md`
|
|
127
|
+
```yaml
|
|
128
|
+
---
|
|
129
|
+
role: orchestrator
|
|
130
|
+
name: Task Orchestrator
|
|
131
|
+
responsibilities:
|
|
132
|
+
- Decompose complex tasks into manageable subtasks
|
|
133
|
+
- Coordinate parallel and sequential execution strategies
|
|
134
|
+
- Monitor task progress and dependencies
|
|
135
|
+
- Synthesize results from multiple agents
|
|
136
|
+
capabilities:
|
|
137
|
+
- task-decomposition
|
|
138
|
+
- execution-planning
|
|
139
|
+
- dependency-management
|
|
140
|
+
- result-aggregation
|
|
141
|
+
- progress-tracking
|
|
142
|
+
tools:
|
|
143
|
+
allowed:
|
|
144
|
+
- mcp__claude-flow__task_orchestrate
|
|
145
|
+
- mcp__claude-flow__task_status
|
|
146
|
+
- mcp__claude-flow__task_results
|
|
147
|
+
- mcp__claude-flow__parallel_execute
|
|
148
|
+
- TodoWrite
|
|
149
|
+
- TodoRead
|
|
150
|
+
restricted:
|
|
151
|
+
- Bash
|
|
152
|
+
- Write
|
|
153
|
+
- Edit
|
|
154
|
+
triggers:
|
|
155
|
+
- pattern: "orchestrate|coordinate.*task|manage.*workflow"
|
|
156
|
+
priority: high
|
|
157
|
+
- keyword: "orchestrate"
|
|
158
|
+
---
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
### 2. GitHub Integration Agents
|
|
162
|
+
|
|
163
|
+
#### PR Manager Agent
|
|
164
|
+
**Command**: `.claude/commands/github/pr-manager.md`
|
|
165
|
+
```yaml
|
|
166
|
+
---
|
|
167
|
+
role: github-specialist
|
|
168
|
+
name: Pull Request Manager
|
|
169
|
+
responsibilities:
|
|
170
|
+
- Manage complete pull request lifecycle
|
|
171
|
+
- Coordinate multi-reviewer workflows
|
|
172
|
+
- Handle merge strategies and conflict resolution
|
|
173
|
+
- Track PR progress with issue integration
|
|
174
|
+
capabilities:
|
|
175
|
+
- pr-creation
|
|
176
|
+
- review-coordination
|
|
177
|
+
- merge-management
|
|
178
|
+
- conflict-resolution
|
|
179
|
+
- status-tracking
|
|
180
|
+
tools:
|
|
181
|
+
allowed:
|
|
182
|
+
- Bash # For gh CLI commands
|
|
183
|
+
- mcp__claude-flow__swarm_init
|
|
184
|
+
- mcp__claude-flow__agent_spawn
|
|
185
|
+
- mcp__claude-flow__task_orchestrate
|
|
186
|
+
- mcp__claude-flow__memory_usage
|
|
187
|
+
- TodoWrite
|
|
188
|
+
- Read
|
|
189
|
+
restricted:
|
|
190
|
+
- Write # Should use gh CLI for GitHub operations
|
|
191
|
+
- Edit
|
|
192
|
+
triggers:
|
|
193
|
+
- pattern: "pr|pull.?request|merge.*request"
|
|
194
|
+
priority: high
|
|
195
|
+
- keyword: "pr-manager"
|
|
196
|
+
---
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
#### Code Review Swarm Agent
|
|
200
|
+
**Command**: `.claude/commands/github/code-review-swarm.md`
|
|
201
|
+
```yaml
|
|
202
|
+
---
|
|
203
|
+
role: reviewer
|
|
204
|
+
name: Code Review Coordinator
|
|
205
|
+
responsibilities:
|
|
206
|
+
- Orchestrate multi-agent code reviews
|
|
207
|
+
- Ensure code quality and standards compliance
|
|
208
|
+
- Coordinate security and performance reviews
|
|
209
|
+
- Generate comprehensive review reports
|
|
210
|
+
capabilities:
|
|
211
|
+
- code-analysis
|
|
212
|
+
- quality-assessment
|
|
213
|
+
- security-scanning
|
|
214
|
+
- performance-review
|
|
215
|
+
- report-generation
|
|
216
|
+
tools:
|
|
217
|
+
allowed:
|
|
218
|
+
- Bash # For gh CLI
|
|
219
|
+
- Read
|
|
220
|
+
- Grep
|
|
221
|
+
- mcp__claude-flow__swarm_init
|
|
222
|
+
- mcp__claude-flow__agent_spawn
|
|
223
|
+
- mcp__claude-flow__github_code_review
|
|
224
|
+
- mcp__claude-flow__memory_usage
|
|
225
|
+
restricted:
|
|
226
|
+
- Write
|
|
227
|
+
- Edit
|
|
228
|
+
triggers:
|
|
229
|
+
- pattern: "review.*code|code.*review|check.*pr"
|
|
230
|
+
priority: high
|
|
231
|
+
- keyword: "code-review"
|
|
232
|
+
---
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
#### Release Manager Agent
|
|
236
|
+
**Command**: `.claude/commands/github/release-manager.md`
|
|
237
|
+
```yaml
|
|
238
|
+
---
|
|
239
|
+
role: release-coordinator
|
|
240
|
+
name: Release Manager
|
|
241
|
+
responsibilities:
|
|
242
|
+
- Coordinate release preparation and deployment
|
|
243
|
+
- Manage version tagging and changelog generation
|
|
244
|
+
- Orchestrate multi-repository releases
|
|
245
|
+
- Handle rollback procedures
|
|
246
|
+
capabilities:
|
|
247
|
+
- release-planning
|
|
248
|
+
- version-management
|
|
249
|
+
- changelog-generation
|
|
250
|
+
- deployment-coordination
|
|
251
|
+
- rollback-execution
|
|
252
|
+
tools:
|
|
253
|
+
allowed:
|
|
254
|
+
- Bash
|
|
255
|
+
- Read
|
|
256
|
+
- mcp__claude-flow__github_release_coord
|
|
257
|
+
- mcp__claude-flow__swarm_init
|
|
258
|
+
- mcp__claude-flow__task_orchestrate
|
|
259
|
+
- TodoWrite
|
|
260
|
+
restricted:
|
|
261
|
+
- Write # Use version control for releases
|
|
262
|
+
- Edit
|
|
263
|
+
triggers:
|
|
264
|
+
- pattern: "release|deploy|tag.*version|create.*release"
|
|
265
|
+
priority: high
|
|
266
|
+
- keyword: "release-manager"
|
|
267
|
+
---
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
### 3. SPARC Methodology Agents
|
|
271
|
+
|
|
272
|
+
#### SPARC Orchestrator Agent
|
|
273
|
+
**Command**: `.claude/commands/sparc/orchestrator.md`
|
|
274
|
+
```yaml
|
|
275
|
+
---
|
|
276
|
+
role: sparc-coordinator
|
|
277
|
+
name: SPARC Orchestrator
|
|
278
|
+
responsibilities:
|
|
279
|
+
- Coordinate SPARC methodology phases
|
|
280
|
+
- Manage task decomposition and agent allocation
|
|
281
|
+
- Track progress across all SPARC phases
|
|
282
|
+
- Synthesize results from specialized agents
|
|
283
|
+
capabilities:
|
|
284
|
+
- sparc-coordination
|
|
285
|
+
- phase-management
|
|
286
|
+
- task-planning
|
|
287
|
+
- resource-allocation
|
|
288
|
+
- result-synthesis
|
|
289
|
+
tools:
|
|
290
|
+
allowed:
|
|
291
|
+
- mcp__claude-flow__sparc_mode
|
|
292
|
+
- mcp__claude-flow__swarm_init
|
|
293
|
+
- mcp__claude-flow__agent_spawn
|
|
294
|
+
- mcp__claude-flow__task_orchestrate
|
|
295
|
+
- TodoWrite
|
|
296
|
+
- TodoRead
|
|
297
|
+
- mcp__claude-flow__memory_usage
|
|
298
|
+
restricted:
|
|
299
|
+
- Bash
|
|
300
|
+
- Write
|
|
301
|
+
- Edit
|
|
302
|
+
triggers:
|
|
303
|
+
- pattern: "sparc.*orchestrat|coordinate.*sparc"
|
|
304
|
+
priority: high
|
|
305
|
+
- keyword: "sparc-orchestrator"
|
|
306
|
+
---
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
#### SPARC Coder Agent
|
|
310
|
+
**Command**: `.claude/commands/sparc/coder.md`
|
|
311
|
+
```yaml
|
|
312
|
+
---
|
|
313
|
+
role: implementer
|
|
314
|
+
name: SPARC Implementation Specialist
|
|
315
|
+
responsibilities:
|
|
316
|
+
- Transform specifications into working code
|
|
317
|
+
- Implement TDD practices with parallel test creation
|
|
318
|
+
- Ensure code quality and standards compliance
|
|
319
|
+
- Optimize implementation for performance
|
|
320
|
+
capabilities:
|
|
321
|
+
- code-generation
|
|
322
|
+
- test-implementation
|
|
323
|
+
- refactoring
|
|
324
|
+
- optimization
|
|
325
|
+
- documentation
|
|
326
|
+
tools:
|
|
327
|
+
allowed:
|
|
328
|
+
- Read
|
|
329
|
+
- Write
|
|
330
|
+
- Edit
|
|
331
|
+
- MultiEdit
|
|
332
|
+
- Bash
|
|
333
|
+
- mcp__claude-flow__sparc_mode
|
|
334
|
+
- TodoWrite
|
|
335
|
+
restricted:
|
|
336
|
+
- mcp__claude-flow__swarm_init # Focus on implementation
|
|
337
|
+
triggers:
|
|
338
|
+
- pattern: "implement|code|develop|build.*feature"
|
|
339
|
+
priority: high
|
|
340
|
+
- keyword: "sparc-coder"
|
|
341
|
+
---
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
#### SPARC Tester Agent
|
|
345
|
+
**Command**: `.claude/commands/sparc/tester.md`
|
|
346
|
+
```yaml
|
|
347
|
+
---
|
|
348
|
+
role: quality-assurance
|
|
349
|
+
name: SPARC Testing Specialist
|
|
350
|
+
responsibilities:
|
|
351
|
+
- Design comprehensive test strategies
|
|
352
|
+
- Implement parallel test execution
|
|
353
|
+
- Ensure coverage requirements are met
|
|
354
|
+
- Coordinate testing across different levels
|
|
355
|
+
capabilities:
|
|
356
|
+
- test-design
|
|
357
|
+
- test-implementation
|
|
358
|
+
- coverage-analysis
|
|
359
|
+
- performance-testing
|
|
360
|
+
- security-testing
|
|
361
|
+
tools:
|
|
362
|
+
allowed:
|
|
363
|
+
- Read
|
|
364
|
+
- Write
|
|
365
|
+
- Edit
|
|
366
|
+
- Bash
|
|
367
|
+
- mcp__claude-flow__sparc_mode
|
|
368
|
+
- TodoWrite
|
|
369
|
+
- mcp__claude-flow__parallel_execute
|
|
370
|
+
restricted:
|
|
371
|
+
- mcp__claude-flow__swarm_init
|
|
372
|
+
triggers:
|
|
373
|
+
- pattern: "test|verify|validate|check.*quality"
|
|
374
|
+
priority: high
|
|
375
|
+
- keyword: "sparc-tester"
|
|
376
|
+
---
|
|
377
|
+
```
|
|
378
|
+
|
|
379
|
+
### 4. Analysis Agents
|
|
380
|
+
|
|
381
|
+
#### Performance Analyzer Agent
|
|
382
|
+
**Command**: `.claude/commands/analysis/performance-bottlenecks.md`
|
|
383
|
+
```yaml
|
|
384
|
+
---
|
|
385
|
+
role: analyst
|
|
386
|
+
name: Performance Bottleneck Analyzer
|
|
387
|
+
responsibilities:
|
|
388
|
+
- Identify performance bottlenecks in workflows
|
|
389
|
+
- Analyze execution patterns and resource usage
|
|
390
|
+
- Recommend optimization strategies
|
|
391
|
+
- Monitor improvement metrics
|
|
392
|
+
capabilities:
|
|
393
|
+
- performance-analysis
|
|
394
|
+
- bottleneck-detection
|
|
395
|
+
- metric-collection
|
|
396
|
+
- pattern-recognition
|
|
397
|
+
- optimization-planning
|
|
398
|
+
tools:
|
|
399
|
+
allowed:
|
|
400
|
+
- mcp__claude-flow__bottleneck_analyze
|
|
401
|
+
- mcp__claude-flow__performance_report
|
|
402
|
+
- mcp__claude-flow__metrics_collect
|
|
403
|
+
- mcp__claude-flow__trend_analysis
|
|
404
|
+
- Read
|
|
405
|
+
- Grep
|
|
406
|
+
restricted:
|
|
407
|
+
- Write
|
|
408
|
+
- Edit
|
|
409
|
+
- Bash
|
|
410
|
+
triggers:
|
|
411
|
+
- pattern: "analyze.*performance|bottleneck|slow.*execution"
|
|
412
|
+
priority: high
|
|
413
|
+
- keyword: "performance-analyzer"
|
|
414
|
+
---
|
|
415
|
+
```
|
|
416
|
+
|
|
417
|
+
#### Token Efficiency Analyst Agent
|
|
418
|
+
**Command**: `.claude/commands/analysis/token-efficiency.md`
|
|
419
|
+
```yaml
|
|
420
|
+
---
|
|
421
|
+
role: analyst
|
|
422
|
+
name: Token Efficiency Analyzer
|
|
423
|
+
responsibilities:
|
|
424
|
+
- Monitor token consumption across operations
|
|
425
|
+
- Identify inefficient token usage patterns
|
|
426
|
+
- Recommend optimization strategies
|
|
427
|
+
- Track cost implications
|
|
428
|
+
capabilities:
|
|
429
|
+
- token-analysis
|
|
430
|
+
- cost-optimization
|
|
431
|
+
- usage-tracking
|
|
432
|
+
- pattern-detection
|
|
433
|
+
- report-generation
|
|
434
|
+
tools:
|
|
435
|
+
allowed:
|
|
436
|
+
- mcp__claude-flow__token_usage
|
|
437
|
+
- mcp__claude-flow__cost_analysis
|
|
438
|
+
- mcp__claude-flow__usage_stats
|
|
439
|
+
- mcp__claude-flow__memory_analytics
|
|
440
|
+
- Read
|
|
441
|
+
restricted:
|
|
442
|
+
- Write
|
|
443
|
+
- Edit
|
|
444
|
+
- Bash
|
|
445
|
+
triggers:
|
|
446
|
+
- pattern: "token.*usage|analyze.*cost|efficiency.*report"
|
|
447
|
+
priority: medium
|
|
448
|
+
- keyword: "token-analyzer"
|
|
449
|
+
---
|
|
450
|
+
```
|
|
451
|
+
|
|
452
|
+
### 5. Memory Management Agents
|
|
453
|
+
|
|
454
|
+
#### Memory Coordinator Agent
|
|
455
|
+
**Command**: `.claude/commands/memory/usage.md`
|
|
456
|
+
```yaml
|
|
457
|
+
---
|
|
458
|
+
role: memory-manager
|
|
459
|
+
name: Memory Coordination Specialist
|
|
460
|
+
responsibilities:
|
|
461
|
+
- Manage persistent memory across sessions
|
|
462
|
+
- Coordinate memory namespaces and TTL
|
|
463
|
+
- Optimize memory usage and compression
|
|
464
|
+
- Facilitate cross-agent memory sharing
|
|
465
|
+
capabilities:
|
|
466
|
+
- memory-management
|
|
467
|
+
- namespace-coordination
|
|
468
|
+
- data-persistence
|
|
469
|
+
- compression-optimization
|
|
470
|
+
- synchronization
|
|
471
|
+
tools:
|
|
472
|
+
allowed:
|
|
473
|
+
- mcp__claude-flow__memory_usage
|
|
474
|
+
- mcp__claude-flow__memory_search
|
|
475
|
+
- mcp__claude-flow__memory_namespace
|
|
476
|
+
- mcp__claude-flow__memory_compress
|
|
477
|
+
- mcp__claude-flow__memory_sync
|
|
478
|
+
restricted:
|
|
479
|
+
- Write
|
|
480
|
+
- Edit
|
|
481
|
+
- Bash
|
|
482
|
+
triggers:
|
|
483
|
+
- pattern: "memory|remember|store.*context|retrieve.*data"
|
|
484
|
+
priority: high
|
|
485
|
+
- keyword: "memory-manager"
|
|
486
|
+
---
|
|
487
|
+
```
|
|
488
|
+
|
|
489
|
+
#### Neural Pattern Agent
|
|
490
|
+
**Command**: `.claude/commands/memory/neural.md`
|
|
491
|
+
```yaml
|
|
492
|
+
---
|
|
493
|
+
role: ai-specialist
|
|
494
|
+
name: Neural Pattern Coordinator
|
|
495
|
+
responsibilities:
|
|
496
|
+
- Train and manage neural patterns
|
|
497
|
+
- Coordinate cognitive behavior analysis
|
|
498
|
+
- Implement adaptive learning strategies
|
|
499
|
+
- Optimize AI model performance
|
|
500
|
+
capabilities:
|
|
501
|
+
- neural-training
|
|
502
|
+
- pattern-recognition
|
|
503
|
+
- cognitive-analysis
|
|
504
|
+
- model-optimization
|
|
505
|
+
- transfer-learning
|
|
506
|
+
tools:
|
|
507
|
+
allowed:
|
|
508
|
+
- mcp__claude-flow__neural_train
|
|
509
|
+
- mcp__claude-flow__neural_patterns
|
|
510
|
+
- mcp__claude-flow__neural_predict
|
|
511
|
+
- mcp__claude-flow__cognitive_analyze
|
|
512
|
+
- mcp__claude-flow__learning_adapt
|
|
513
|
+
restricted:
|
|
514
|
+
- Write
|
|
515
|
+
- Edit
|
|
516
|
+
- Bash
|
|
517
|
+
triggers:
|
|
518
|
+
- pattern: "neural|ai.*pattern|cognitive|machine.*learning"
|
|
519
|
+
priority: high
|
|
520
|
+
- keyword: "neural-patterns"
|
|
521
|
+
---
|
|
522
|
+
```
|
|
523
|
+
|
|
524
|
+
### 6. Automation Agents
|
|
525
|
+
|
|
526
|
+
#### Smart Agent Coordinator
|
|
527
|
+
**Command**: `.claude/commands/automation/smart-agents.md`
|
|
528
|
+
```yaml
|
|
529
|
+
---
|
|
530
|
+
role: automation-specialist
|
|
531
|
+
name: Smart Agent Coordinator
|
|
532
|
+
responsibilities:
|
|
533
|
+
- Automate agent spawning based on task requirements
|
|
534
|
+
- Implement intelligent capability matching
|
|
535
|
+
- Manage dynamic agent allocation
|
|
536
|
+
- Optimize resource utilization
|
|
537
|
+
capabilities:
|
|
538
|
+
- intelligent-spawning
|
|
539
|
+
- capability-matching
|
|
540
|
+
- resource-optimization
|
|
541
|
+
- pattern-learning
|
|
542
|
+
- auto-scaling
|
|
543
|
+
tools:
|
|
544
|
+
allowed:
|
|
545
|
+
- mcp__claude-flow__daa_agent_create
|
|
546
|
+
- mcp__claude-flow__daa_capability_match
|
|
547
|
+
- mcp__claude-flow__daa_resource_alloc
|
|
548
|
+
- mcp__claude-flow__swarm_scale
|
|
549
|
+
- mcp__claude-flow__agent_metrics
|
|
550
|
+
restricted:
|
|
551
|
+
- Write
|
|
552
|
+
- Edit
|
|
553
|
+
- Bash
|
|
554
|
+
triggers:
|
|
555
|
+
- pattern: "smart.*agent|auto.*spawn|intelligent.*coordination"
|
|
556
|
+
priority: high
|
|
557
|
+
- keyword: "smart-agents"
|
|
558
|
+
---
|
|
559
|
+
```
|
|
560
|
+
|
|
561
|
+
#### Self-Healing Coordinator Agent
|
|
562
|
+
**Command**: `.claude/commands/automation/self-healing.md`
|
|
563
|
+
```yaml
|
|
564
|
+
---
|
|
565
|
+
role: reliability-engineer
|
|
566
|
+
name: Self-Healing System Coordinator
|
|
567
|
+
responsibilities:
|
|
568
|
+
- Detect and recover from system failures
|
|
569
|
+
- Implement fault tolerance strategies
|
|
570
|
+
- Coordinate automatic recovery procedures
|
|
571
|
+
- Monitor system health continuously
|
|
572
|
+
capabilities:
|
|
573
|
+
- fault-detection
|
|
574
|
+
- automatic-recovery
|
|
575
|
+
- health-monitoring
|
|
576
|
+
- resilience-planning
|
|
577
|
+
- error-analysis
|
|
578
|
+
tools:
|
|
579
|
+
allowed:
|
|
580
|
+
- mcp__claude-flow__daa_fault_tolerance
|
|
581
|
+
- mcp__claude-flow__health_check
|
|
582
|
+
- mcp__claude-flow__error_analysis
|
|
583
|
+
- mcp__claude-flow__diagnostic_run
|
|
584
|
+
- Bash # For system commands
|
|
585
|
+
restricted:
|
|
586
|
+
- Write # Prevent accidental file modifications during recovery
|
|
587
|
+
- Edit
|
|
588
|
+
triggers:
|
|
589
|
+
- pattern: "self.*heal|auto.*recover|fault.*toleran|system.*health"
|
|
590
|
+
priority: high
|
|
591
|
+
- keyword: "self-healing"
|
|
592
|
+
---
|
|
593
|
+
```
|
|
594
|
+
|
|
595
|
+
### 7. Optimization Agents
|
|
596
|
+
|
|
597
|
+
#### Parallel Execution Optimizer Agent
|
|
598
|
+
**Command**: `.claude/commands/optimization/parallel-execution.md`
|
|
599
|
+
```yaml
|
|
600
|
+
---
|
|
601
|
+
role: optimizer
|
|
602
|
+
name: Parallel Execution Optimizer
|
|
603
|
+
responsibilities:
|
|
604
|
+
- Optimize task execution for parallelism
|
|
605
|
+
- Identify parallelization opportunities
|
|
606
|
+
- Coordinate concurrent operations
|
|
607
|
+
- Monitor parallel execution efficiency
|
|
608
|
+
capabilities:
|
|
609
|
+
- parallelization-analysis
|
|
610
|
+
- execution-optimization
|
|
611
|
+
- load-balancing
|
|
612
|
+
- performance-monitoring
|
|
613
|
+
- bottleneck-removal
|
|
614
|
+
tools:
|
|
615
|
+
allowed:
|
|
616
|
+
- mcp__claude-flow__parallel_execute
|
|
617
|
+
- mcp__claude-flow__load_balance
|
|
618
|
+
- mcp__claude-flow__batch_process
|
|
619
|
+
- mcp__claude-flow__performance_report
|
|
620
|
+
- TodoWrite
|
|
621
|
+
restricted:
|
|
622
|
+
- Write
|
|
623
|
+
- Edit
|
|
624
|
+
triggers:
|
|
625
|
+
- pattern: "parallel|concurrent|simultaneous|batch.*execution"
|
|
626
|
+
priority: high
|
|
627
|
+
- keyword: "parallel-optimizer"
|
|
628
|
+
---
|
|
629
|
+
```
|
|
630
|
+
|
|
631
|
+
#### Auto-Topology Optimizer Agent
|
|
632
|
+
**Command**: `.claude/commands/optimization/auto-topology.md`
|
|
633
|
+
```yaml
|
|
634
|
+
---
|
|
635
|
+
role: optimizer
|
|
636
|
+
name: Topology Optimization Specialist
|
|
637
|
+
responsibilities:
|
|
638
|
+
- Analyze and optimize swarm topology
|
|
639
|
+
- Adapt topology based on workload
|
|
640
|
+
- Balance communication overhead
|
|
641
|
+
- Ensure optimal agent distribution
|
|
642
|
+
capabilities:
|
|
643
|
+
- topology-analysis
|
|
644
|
+
- graph-optimization
|
|
645
|
+
- network-design
|
|
646
|
+
- load-distribution
|
|
647
|
+
- adaptive-configuration
|
|
648
|
+
tools:
|
|
649
|
+
allowed:
|
|
650
|
+
- mcp__claude-flow__topology_optimize
|
|
651
|
+
- mcp__claude-flow__swarm_monitor
|
|
652
|
+
- mcp__claude-flow__coordination_sync
|
|
653
|
+
- mcp__claude-flow__swarm_status
|
|
654
|
+
- mcp__claude-flow__metrics_collect
|
|
655
|
+
restricted:
|
|
656
|
+
- Write
|
|
657
|
+
- Edit
|
|
658
|
+
- Bash
|
|
659
|
+
triggers:
|
|
660
|
+
- pattern: "topology|optimize.*swarm|network.*structure"
|
|
661
|
+
priority: medium
|
|
662
|
+
- keyword: "topology-optimizer"
|
|
663
|
+
---
|
|
664
|
+
```
|
|
665
|
+
|
|
666
|
+
### 8. Monitoring Agents
|
|
667
|
+
|
|
668
|
+
#### Swarm Monitor Agent
|
|
669
|
+
**Command**: `.claude/commands/monitoring/status.md`
|
|
670
|
+
```yaml
|
|
671
|
+
---
|
|
672
|
+
role: monitor
|
|
673
|
+
name: Swarm Status Monitor
|
|
674
|
+
responsibilities:
|
|
675
|
+
- Monitor swarm health and performance
|
|
676
|
+
- Track agent status and utilization
|
|
677
|
+
- Generate real-time status reports
|
|
678
|
+
- Alert on anomalies or failures
|
|
679
|
+
capabilities:
|
|
680
|
+
- health-monitoring
|
|
681
|
+
- performance-tracking
|
|
682
|
+
- status-reporting
|
|
683
|
+
- anomaly-detection
|
|
684
|
+
- alert-generation
|
|
685
|
+
tools:
|
|
686
|
+
allowed:
|
|
687
|
+
- mcp__claude-flow__swarm_status
|
|
688
|
+
- mcp__claude-flow__swarm_monitor
|
|
689
|
+
- mcp__claude-flow__agent_metrics
|
|
690
|
+
- mcp__claude-flow__health_check
|
|
691
|
+
- mcp__claude-flow__performance_report
|
|
692
|
+
restricted:
|
|
693
|
+
- Write
|
|
694
|
+
- Edit
|
|
695
|
+
- Bash
|
|
696
|
+
triggers:
|
|
697
|
+
- pattern: "monitor|status|health.*check|swarm.*status"
|
|
698
|
+
priority: medium
|
|
699
|
+
- keyword: "swarm-monitor"
|
|
700
|
+
---
|
|
701
|
+
```
|
|
702
|
+
|
|
703
|
+
## Implementation Guidelines
|
|
704
|
+
|
|
705
|
+
### 1. Agent Activation
|
|
706
|
+
- Agents are activated by pattern matching in user messages
|
|
707
|
+
- Higher priority patterns take precedence
|
|
708
|
+
- Multiple agents can be activated for complex tasks
|
|
709
|
+
|
|
710
|
+
### 2. Tool Restrictions
|
|
711
|
+
- Each agent has specific allowed and restricted tools
|
|
712
|
+
- Restrictions ensure agents stay within their domain
|
|
713
|
+
- Critical operations require specialized agents
|
|
714
|
+
|
|
715
|
+
### 3. Inter-Agent Communication
|
|
716
|
+
- Agents communicate through shared memory
|
|
717
|
+
- Task orchestrator coordinates multi-agent workflows
|
|
718
|
+
- Results are aggregated by coordinator agents
|
|
719
|
+
|
|
720
|
+
### 4. Migration Steps
|
|
721
|
+
1. Create `.claude/agents/` directory structure
|
|
722
|
+
2. Convert each command to agent definition format
|
|
723
|
+
3. Update activation patterns for natural language
|
|
724
|
+
4. Test agent interactions and handoffs
|
|
725
|
+
5. Implement gradual rollout with fallbacks
|
|
726
|
+
|
|
727
|
+
### 5. Backwards Compatibility
|
|
728
|
+
- Keep command files during transition
|
|
729
|
+
- Map command invocations to agent activations
|
|
730
|
+
- Provide migration warnings for deprecated commands
|
|
731
|
+
|
|
732
|
+
## Monitoring Migration Success
|
|
733
|
+
|
|
734
|
+
### Key Metrics
|
|
735
|
+
- Agent activation accuracy
|
|
736
|
+
- Task completion rates
|
|
737
|
+
- Inter-agent coordination efficiency
|
|
738
|
+
- User satisfaction scores
|
|
739
|
+
- Performance improvements
|
|
740
|
+
|
|
741
|
+
### Validation Criteria
|
|
742
|
+
- All commands have equivalent agents
|
|
743
|
+
- No functionality loss during migration
|
|
744
|
+
- Improved natural language understanding
|
|
745
|
+
- Better task decomposition and parallelization
|
|
746
|
+
- Enhanced error handling and recovery
|