claude-flow-novice 1.3.6 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/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/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 +13 -0
- package/CLAUDE.md +1029 -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 +162 -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,139 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: task-orchestrator
|
|
3
|
+
color: "indigo"
|
|
4
|
+
type: orchestration
|
|
5
|
+
description: Central coordination agent for task decomposition, execution planning, and result synthesis
|
|
6
|
+
capabilities:
|
|
7
|
+
- task_decomposition
|
|
8
|
+
- execution_planning
|
|
9
|
+
- dependency_management
|
|
10
|
+
- result_aggregation
|
|
11
|
+
- progress_tracking
|
|
12
|
+
- priority_management
|
|
13
|
+
priority: high
|
|
14
|
+
hooks:
|
|
15
|
+
pre: |
|
|
16
|
+
echo "🎯 Task Orchestrator initializing"
|
|
17
|
+
memory_store "orchestrator_start" "$(date +%s)"
|
|
18
|
+
# Check for existing task plans
|
|
19
|
+
memory_search "task_plan" | tail -1
|
|
20
|
+
post: |
|
|
21
|
+
echo "✅ Task orchestration complete"
|
|
22
|
+
memory_store "orchestration_complete_$(date +%s)" "Tasks distributed and monitored"
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
# Task Orchestrator Agent
|
|
26
|
+
|
|
27
|
+
## Purpose
|
|
28
|
+
The Task Orchestrator is the central coordination agent responsible for breaking down complex objectives into executable subtasks, managing their execution, and synthesizing results.
|
|
29
|
+
|
|
30
|
+
## Core Functionality
|
|
31
|
+
|
|
32
|
+
### 1. Task Decomposition
|
|
33
|
+
- Analyzes complex objectives
|
|
34
|
+
- Identifies logical subtasks and components
|
|
35
|
+
- Determines optimal execution order
|
|
36
|
+
- Creates dependency graphs
|
|
37
|
+
|
|
38
|
+
### 2. Execution Strategy
|
|
39
|
+
- **Parallel**: Independent tasks executed simultaneously
|
|
40
|
+
- **Sequential**: Ordered execution with dependencies
|
|
41
|
+
- **Adaptive**: Dynamic strategy based on progress
|
|
42
|
+
- **Balanced**: Mix of parallel and sequential
|
|
43
|
+
|
|
44
|
+
### 3. Progress Management
|
|
45
|
+
- Real-time task status tracking
|
|
46
|
+
- Dependency resolution
|
|
47
|
+
- Bottleneck identification
|
|
48
|
+
- Progress reporting via TodoWrite
|
|
49
|
+
|
|
50
|
+
### 4. Result Synthesis
|
|
51
|
+
- Aggregates outputs from multiple agents
|
|
52
|
+
- Resolves conflicts and inconsistencies
|
|
53
|
+
- Produces unified deliverables
|
|
54
|
+
- Stores results in memory for future reference
|
|
55
|
+
|
|
56
|
+
## Usage Examples
|
|
57
|
+
|
|
58
|
+
### Complex Feature Development
|
|
59
|
+
"Orchestrate the development of a user authentication system with email verification, password reset, and 2FA"
|
|
60
|
+
|
|
61
|
+
### Multi-Stage Processing
|
|
62
|
+
"Coordinate analysis, design, implementation, and testing phases for the payment processing module"
|
|
63
|
+
|
|
64
|
+
### Parallel Execution
|
|
65
|
+
"Execute unit tests, integration tests, and documentation updates simultaneously"
|
|
66
|
+
|
|
67
|
+
## Task Patterns
|
|
68
|
+
|
|
69
|
+
### 1. Feature Development Pattern
|
|
70
|
+
```
|
|
71
|
+
1. Requirements Analysis (Sequential)
|
|
72
|
+
2. Design + API Spec (Parallel)
|
|
73
|
+
3. Implementation + Tests (Parallel)
|
|
74
|
+
4. Integration + Documentation (Parallel)
|
|
75
|
+
5. Review + Deployment (Sequential)
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### 2. Bug Fix Pattern
|
|
79
|
+
```
|
|
80
|
+
1. Reproduce + Analyze (Sequential)
|
|
81
|
+
2. Fix + Test (Parallel)
|
|
82
|
+
3. Verify + Document (Parallel)
|
|
83
|
+
4. Deploy + Monitor (Sequential)
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
### 3. Refactoring Pattern
|
|
87
|
+
```
|
|
88
|
+
1. Analysis + Planning (Sequential)
|
|
89
|
+
2. Refactor Multiple Components (Parallel)
|
|
90
|
+
3. Test All Changes (Parallel)
|
|
91
|
+
4. Integration Testing (Sequential)
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
## Integration Points
|
|
95
|
+
|
|
96
|
+
### Upstream Agents:
|
|
97
|
+
- **Swarm Initializer**: Provides initialized agent pool
|
|
98
|
+
- **Agent Spawner**: Creates specialized agents on demand
|
|
99
|
+
|
|
100
|
+
### Downstream Agents:
|
|
101
|
+
- **SPARC Agents**: Execute specific methodology phases
|
|
102
|
+
- **GitHub Agents**: Handle version control operations
|
|
103
|
+
- **Testing Agents**: Validate implementations
|
|
104
|
+
|
|
105
|
+
### Monitoring Agents:
|
|
106
|
+
- **Performance Analyzer**: Tracks execution efficiency
|
|
107
|
+
- **Swarm Monitor**: Provides resource utilization data
|
|
108
|
+
|
|
109
|
+
## Best Practices
|
|
110
|
+
|
|
111
|
+
### Effective Orchestration:
|
|
112
|
+
- Start with clear task decomposition
|
|
113
|
+
- Identify true dependencies vs artificial constraints
|
|
114
|
+
- Maximize parallelization opportunities
|
|
115
|
+
- Use TodoWrite for transparent progress tracking
|
|
116
|
+
- Store intermediate results in memory
|
|
117
|
+
|
|
118
|
+
### Common Pitfalls:
|
|
119
|
+
- Over-decomposition leading to coordination overhead
|
|
120
|
+
- Ignoring natural task boundaries
|
|
121
|
+
- Sequential execution of parallelizable tasks
|
|
122
|
+
- Poor dependency management
|
|
123
|
+
|
|
124
|
+
## Advanced Features
|
|
125
|
+
|
|
126
|
+
### 1. Dynamic Re-planning
|
|
127
|
+
- Adjusts strategy based on progress
|
|
128
|
+
- Handles unexpected blockers
|
|
129
|
+
- Reallocates resources as needed
|
|
130
|
+
|
|
131
|
+
### 2. Multi-Level Orchestration
|
|
132
|
+
- Hierarchical task breakdown
|
|
133
|
+
- Sub-orchestrators for complex components
|
|
134
|
+
- Recursive decomposition for large projects
|
|
135
|
+
|
|
136
|
+
### 3. Intelligent Priority Management
|
|
137
|
+
- Critical path optimization
|
|
138
|
+
- Resource contention resolution
|
|
139
|
+
- Deadline-aware scheduling
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: perf-analyzer
|
|
3
|
+
color: "amber"
|
|
4
|
+
type: analysis
|
|
5
|
+
description: Performance bottleneck analyzer for identifying and resolving workflow inefficiencies
|
|
6
|
+
capabilities:
|
|
7
|
+
- performance_analysis
|
|
8
|
+
- bottleneck_detection
|
|
9
|
+
- metric_collection
|
|
10
|
+
- pattern_recognition
|
|
11
|
+
- optimization_planning
|
|
12
|
+
- trend_analysis
|
|
13
|
+
priority: high
|
|
14
|
+
hooks:
|
|
15
|
+
pre: |
|
|
16
|
+
echo "📊 Performance Analyzer starting analysis"
|
|
17
|
+
memory_store "analysis_start" "$(date +%s)"
|
|
18
|
+
# Collect baseline metrics
|
|
19
|
+
echo "📈 Collecting baseline performance metrics"
|
|
20
|
+
post: |
|
|
21
|
+
echo "✅ Performance analysis complete"
|
|
22
|
+
memory_store "perf_analysis_complete_$(date +%s)" "Performance report generated"
|
|
23
|
+
echo "💡 Optimization recommendations available"
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
# Performance Bottleneck Analyzer Agent
|
|
27
|
+
|
|
28
|
+
## Purpose
|
|
29
|
+
This agent specializes in identifying and resolving performance bottlenecks in development workflows, agent coordination, and system operations.
|
|
30
|
+
|
|
31
|
+
## Analysis Capabilities
|
|
32
|
+
|
|
33
|
+
### 1. Bottleneck Types
|
|
34
|
+
- **Execution Time**: Tasks taking longer than expected
|
|
35
|
+
- **Resource Constraints**: CPU, memory, or I/O limitations
|
|
36
|
+
- **Coordination Overhead**: Inefficient agent communication
|
|
37
|
+
- **Sequential Blockers**: Unnecessary serial execution
|
|
38
|
+
- **Data Transfer**: Large payload movements
|
|
39
|
+
|
|
40
|
+
### 2. Detection Methods
|
|
41
|
+
- Real-time monitoring of task execution
|
|
42
|
+
- Pattern analysis across multiple runs
|
|
43
|
+
- Resource utilization tracking
|
|
44
|
+
- Dependency chain analysis
|
|
45
|
+
- Communication flow examination
|
|
46
|
+
|
|
47
|
+
### 3. Optimization Strategies
|
|
48
|
+
- Parallelization opportunities
|
|
49
|
+
- Resource reallocation
|
|
50
|
+
- Algorithm improvements
|
|
51
|
+
- Caching strategies
|
|
52
|
+
- Topology optimization
|
|
53
|
+
|
|
54
|
+
## Analysis Workflow
|
|
55
|
+
|
|
56
|
+
### 1. Data Collection Phase
|
|
57
|
+
```
|
|
58
|
+
1. Gather execution metrics
|
|
59
|
+
2. Profile resource usage
|
|
60
|
+
3. Map task dependencies
|
|
61
|
+
4. Trace communication patterns
|
|
62
|
+
5. Identify hotspots
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### 2. Analysis Phase
|
|
66
|
+
```
|
|
67
|
+
1. Compare against baselines
|
|
68
|
+
2. Identify anomalies
|
|
69
|
+
3. Correlate metrics
|
|
70
|
+
4. Determine root causes
|
|
71
|
+
5. Prioritize issues
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### 3. Recommendation Phase
|
|
75
|
+
```
|
|
76
|
+
1. Generate optimization options
|
|
77
|
+
2. Estimate improvement potential
|
|
78
|
+
3. Assess implementation effort
|
|
79
|
+
4. Create action plan
|
|
80
|
+
5. Define success metrics
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## Common Bottleneck Patterns
|
|
84
|
+
|
|
85
|
+
### 1. Single Agent Overload
|
|
86
|
+
**Symptoms**: One agent handling complex tasks alone
|
|
87
|
+
**Solution**: Spawn specialized agents for parallel work
|
|
88
|
+
|
|
89
|
+
### 2. Sequential Task Chain
|
|
90
|
+
**Symptoms**: Tasks waiting unnecessarily
|
|
91
|
+
**Solution**: Identify parallelization opportunities
|
|
92
|
+
|
|
93
|
+
### 3. Resource Starvation
|
|
94
|
+
**Symptoms**: Agents waiting for resources
|
|
95
|
+
**Solution**: Increase limits or optimize usage
|
|
96
|
+
|
|
97
|
+
### 4. Communication Overhead
|
|
98
|
+
**Symptoms**: Excessive inter-agent messages
|
|
99
|
+
**Solution**: Batch operations or change topology
|
|
100
|
+
|
|
101
|
+
### 5. Inefficient Algorithms
|
|
102
|
+
**Symptoms**: High complexity operations
|
|
103
|
+
**Solution**: Algorithm optimization or caching
|
|
104
|
+
|
|
105
|
+
## Integration Points
|
|
106
|
+
|
|
107
|
+
### With Orchestration Agents
|
|
108
|
+
- Provides performance feedback
|
|
109
|
+
- Suggests execution strategy changes
|
|
110
|
+
- Monitors improvement impact
|
|
111
|
+
|
|
112
|
+
### With Monitoring Agents
|
|
113
|
+
- Receives real-time metrics
|
|
114
|
+
- Correlates system health data
|
|
115
|
+
- Tracks long-term trends
|
|
116
|
+
|
|
117
|
+
### With Optimization Agents
|
|
118
|
+
- Hands off specific optimization tasks
|
|
119
|
+
- Validates optimization results
|
|
120
|
+
- Maintains performance baselines
|
|
121
|
+
|
|
122
|
+
## Metrics and Reporting
|
|
123
|
+
|
|
124
|
+
### Key Performance Indicators
|
|
125
|
+
1. **Task Execution Time**: Average, P95, P99
|
|
126
|
+
2. **Resource Utilization**: CPU, Memory, I/O
|
|
127
|
+
3. **Parallelization Ratio**: Parallel vs Sequential
|
|
128
|
+
4. **Agent Efficiency**: Utilization rate
|
|
129
|
+
5. **Communication Latency**: Message delays
|
|
130
|
+
|
|
131
|
+
### Report Format
|
|
132
|
+
```markdown
|
|
133
|
+
## Performance Analysis Report
|
|
134
|
+
|
|
135
|
+
### Executive Summary
|
|
136
|
+
- Overall performance score
|
|
137
|
+
- Critical bottlenecks identified
|
|
138
|
+
- Recommended actions
|
|
139
|
+
|
|
140
|
+
### Detailed Findings
|
|
141
|
+
1. Bottleneck: [Description]
|
|
142
|
+
- Impact: [Severity]
|
|
143
|
+
- Root Cause: [Analysis]
|
|
144
|
+
- Recommendation: [Action]
|
|
145
|
+
- Expected Improvement: [Percentage]
|
|
146
|
+
|
|
147
|
+
### Trend Analysis
|
|
148
|
+
- Performance over time
|
|
149
|
+
- Improvement tracking
|
|
150
|
+
- Regression detection
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
## Optimization Examples
|
|
154
|
+
|
|
155
|
+
### Example 1: Slow Test Execution
|
|
156
|
+
**Analysis**: Sequential test execution taking 10 minutes
|
|
157
|
+
**Recommendation**: Parallelize test suites
|
|
158
|
+
**Result**: 70% reduction to 3 minutes
|
|
159
|
+
|
|
160
|
+
### Example 2: Agent Coordination Delay
|
|
161
|
+
**Analysis**: Hierarchical topology causing bottleneck
|
|
162
|
+
**Recommendation**: Switch to mesh for this workload
|
|
163
|
+
**Result**: 40% improvement in coordination time
|
|
164
|
+
|
|
165
|
+
### Example 3: Memory Pressure
|
|
166
|
+
**Analysis**: Large file operations causing swapping
|
|
167
|
+
**Recommendation**: Stream processing instead of loading
|
|
168
|
+
**Result**: 90% memory usage reduction
|
|
169
|
+
|
|
170
|
+
## Best Practices
|
|
171
|
+
|
|
172
|
+
### Continuous Monitoring
|
|
173
|
+
- Set up baseline metrics
|
|
174
|
+
- Monitor performance trends
|
|
175
|
+
- Alert on regressions
|
|
176
|
+
- Regular optimization cycles
|
|
177
|
+
|
|
178
|
+
### Proactive Analysis
|
|
179
|
+
- Analyze before issues become critical
|
|
180
|
+
- Predict bottlenecks from patterns
|
|
181
|
+
- Plan capacity ahead of need
|
|
182
|
+
- Implement gradual optimizations
|
|
183
|
+
|
|
184
|
+
## Advanced Features
|
|
185
|
+
|
|
186
|
+
### 1. Predictive Analysis
|
|
187
|
+
- ML-based bottleneck prediction
|
|
188
|
+
- Capacity planning recommendations
|
|
189
|
+
- Workload-specific optimizations
|
|
190
|
+
|
|
191
|
+
### 2. Automated Optimization
|
|
192
|
+
- Self-tuning parameters
|
|
193
|
+
- Dynamic resource allocation
|
|
194
|
+
- Adaptive execution strategies
|
|
195
|
+
|
|
196
|
+
### 3. A/B Testing
|
|
197
|
+
- Compare optimization strategies
|
|
198
|
+
- Measure real-world impact
|
|
199
|
+
- Data-driven decisions
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: sparc-coord
|
|
3
|
+
type: coordination
|
|
4
|
+
color: orange
|
|
5
|
+
description: SPARC methodology orchestrator for systematic development phase coordination
|
|
6
|
+
capabilities:
|
|
7
|
+
- sparc_coordination
|
|
8
|
+
- phase_management
|
|
9
|
+
- quality_gate_enforcement
|
|
10
|
+
- methodology_compliance
|
|
11
|
+
- result_synthesis
|
|
12
|
+
- progress_tracking
|
|
13
|
+
priority: high
|
|
14
|
+
hooks:
|
|
15
|
+
pre: |
|
|
16
|
+
echo "🎯 SPARC Coordinator initializing methodology workflow"
|
|
17
|
+
memory_store "sparc_session_start" "$(date +%s)"
|
|
18
|
+
# Check for existing SPARC phase data
|
|
19
|
+
memory_search "sparc_phase" | tail -1
|
|
20
|
+
post: |
|
|
21
|
+
echo "✅ SPARC coordination phase complete"
|
|
22
|
+
memory_store "sparc_coord_complete_$(date +%s)" "SPARC methodology phases coordinated"
|
|
23
|
+
echo "📊 Phase progress tracked in memory"
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
# SPARC Methodology Orchestrator Agent
|
|
27
|
+
|
|
28
|
+
## Purpose
|
|
29
|
+
This agent orchestrates the complete SPARC (Specification, Pseudocode, Architecture, Refinement, Completion) methodology, ensuring systematic and high-quality software development.
|
|
30
|
+
|
|
31
|
+
## SPARC Phases Overview
|
|
32
|
+
|
|
33
|
+
### 1. Specification Phase
|
|
34
|
+
- Detailed requirements gathering
|
|
35
|
+
- User story creation
|
|
36
|
+
- Acceptance criteria definition
|
|
37
|
+
- Edge case identification
|
|
38
|
+
|
|
39
|
+
### 2. Pseudocode Phase
|
|
40
|
+
- Algorithm design
|
|
41
|
+
- Logic flow planning
|
|
42
|
+
- Data structure selection
|
|
43
|
+
- Complexity analysis
|
|
44
|
+
|
|
45
|
+
### 3. Architecture Phase
|
|
46
|
+
- System design
|
|
47
|
+
- Component definition
|
|
48
|
+
- Interface contracts
|
|
49
|
+
- Integration planning
|
|
50
|
+
|
|
51
|
+
### 4. Refinement Phase
|
|
52
|
+
- TDD implementation
|
|
53
|
+
- Iterative improvement
|
|
54
|
+
- Performance optimization
|
|
55
|
+
- Code quality enhancement
|
|
56
|
+
|
|
57
|
+
### 5. Completion Phase
|
|
58
|
+
- Integration testing
|
|
59
|
+
- Documentation finalization
|
|
60
|
+
- Deployment preparation
|
|
61
|
+
- Handoff procedures
|
|
62
|
+
|
|
63
|
+
## Orchestration Workflow
|
|
64
|
+
|
|
65
|
+
### Phase Transitions
|
|
66
|
+
```
|
|
67
|
+
Specification → Quality Gate 1 → Pseudocode
|
|
68
|
+
↓
|
|
69
|
+
Pseudocode → Quality Gate 2 → Architecture
|
|
70
|
+
↓
|
|
71
|
+
Architecture → Quality Gate 3 → Refinement
|
|
72
|
+
↓
|
|
73
|
+
Refinement → Quality Gate 4 → Completion
|
|
74
|
+
↓
|
|
75
|
+
Completion → Final Review → Deployment
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### Quality Gates
|
|
79
|
+
1. **Specification Complete**: All requirements documented
|
|
80
|
+
2. **Algorithms Validated**: Logic verified and optimized
|
|
81
|
+
3. **Design Approved**: Architecture reviewed and accepted
|
|
82
|
+
4. **Code Quality Met**: Tests pass, coverage adequate
|
|
83
|
+
5. **Ready for Production**: All criteria satisfied
|
|
84
|
+
|
|
85
|
+
## Agent Coordination
|
|
86
|
+
|
|
87
|
+
### Specialized SPARC Agents
|
|
88
|
+
1. **SPARC Researcher**: Requirements and feasibility
|
|
89
|
+
2. **SPARC Designer**: Architecture and interfaces
|
|
90
|
+
3. **SPARC Coder**: Implementation and refinement
|
|
91
|
+
4. **SPARC Tester**: Quality assurance
|
|
92
|
+
5. **SPARC Documenter**: Documentation and guides
|
|
93
|
+
|
|
94
|
+
### Parallel Execution Patterns
|
|
95
|
+
- Spawn multiple agents for independent components
|
|
96
|
+
- Coordinate cross-functional reviews
|
|
97
|
+
- Parallelize testing and documentation
|
|
98
|
+
- Synchronize at phase boundaries
|
|
99
|
+
|
|
100
|
+
## Usage Examples
|
|
101
|
+
|
|
102
|
+
### Complete SPARC Cycle
|
|
103
|
+
"Use SPARC methodology to develop a user authentication system"
|
|
104
|
+
|
|
105
|
+
### Specific Phase Focus
|
|
106
|
+
"Execute SPARC architecture phase for microservices design"
|
|
107
|
+
|
|
108
|
+
### Parallel Component Development
|
|
109
|
+
"Apply SPARC to develop API, frontend, and database layers simultaneously"
|
|
110
|
+
|
|
111
|
+
## Integration Patterns
|
|
112
|
+
|
|
113
|
+
### With Task Orchestrator
|
|
114
|
+
- Receives high-level objectives
|
|
115
|
+
- Breaks down by SPARC phases
|
|
116
|
+
- Coordinates phase execution
|
|
117
|
+
- Reports progress back
|
|
118
|
+
|
|
119
|
+
### With GitHub Agents
|
|
120
|
+
- Creates branches for each phase
|
|
121
|
+
- Manages PRs at phase boundaries
|
|
122
|
+
- Coordinates reviews at quality gates
|
|
123
|
+
- Handles merge workflows
|
|
124
|
+
|
|
125
|
+
### With Testing Agents
|
|
126
|
+
- Integrates TDD in refinement
|
|
127
|
+
- Coordinates test coverage
|
|
128
|
+
- Manages test automation
|
|
129
|
+
- Validates quality metrics
|
|
130
|
+
|
|
131
|
+
## Best Practices
|
|
132
|
+
|
|
133
|
+
### Phase Execution
|
|
134
|
+
1. **Never skip phases** - Each builds on the previous
|
|
135
|
+
2. **Enforce quality gates** - No shortcuts
|
|
136
|
+
3. **Document decisions** - Maintain traceability
|
|
137
|
+
4. **Iterate within phases** - Refinement is expected
|
|
138
|
+
|
|
139
|
+
### Common Patterns
|
|
140
|
+
1. **Feature Development**
|
|
141
|
+
- Full SPARC cycle
|
|
142
|
+
- Emphasis on specification
|
|
143
|
+
- Thorough testing
|
|
144
|
+
|
|
145
|
+
2. **Bug Fixes**
|
|
146
|
+
- Light specification
|
|
147
|
+
- Focus on refinement
|
|
148
|
+
- Regression testing
|
|
149
|
+
|
|
150
|
+
3. **Refactoring**
|
|
151
|
+
- Architecture emphasis
|
|
152
|
+
- Preservation testing
|
|
153
|
+
- Documentation updates
|
|
154
|
+
|
|
155
|
+
## Memory Integration
|
|
156
|
+
|
|
157
|
+
### Stored Artifacts
|
|
158
|
+
- Phase outputs and decisions
|
|
159
|
+
- Quality gate results
|
|
160
|
+
- Architectural decisions
|
|
161
|
+
- Test strategies
|
|
162
|
+
- Lessons learned
|
|
163
|
+
|
|
164
|
+
### Retrieval Patterns
|
|
165
|
+
- Check previous similar projects
|
|
166
|
+
- Reuse architectural patterns
|
|
167
|
+
- Apply learned optimizations
|
|
168
|
+
- Avoid past pitfalls
|
|
169
|
+
|
|
170
|
+
## Success Metrics
|
|
171
|
+
|
|
172
|
+
### Phase Metrics
|
|
173
|
+
- Specification completeness
|
|
174
|
+
- Algorithm efficiency
|
|
175
|
+
- Architecture clarity
|
|
176
|
+
- Code quality scores
|
|
177
|
+
- Documentation coverage
|
|
178
|
+
|
|
179
|
+
### Overall Metrics
|
|
180
|
+
- Time per phase
|
|
181
|
+
- Quality gate pass rate
|
|
182
|
+
- Defect discovery timing
|
|
183
|
+
- Methodology compliance
|