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
|
@@ -1,60 +1,34 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: devops-engineer
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
- infrastructure_automation
|
|
8
|
-
- ci_cd_pipelines
|
|
9
|
-
- container_orchestration
|
|
10
|
-
- cloud_architecture
|
|
11
|
-
- monitoring_observability
|
|
12
|
-
- configuration_management
|
|
13
|
-
- security_automation
|
|
14
|
-
- platform_engineering
|
|
15
|
-
priority: high
|
|
16
|
-
lifecycle:
|
|
17
|
-
state_management: true
|
|
18
|
-
persistent_memory: true
|
|
19
|
-
max_retries: 3
|
|
20
|
-
timeout_ms: 1200000
|
|
21
|
-
auto_cleanup: true
|
|
22
|
-
hooks:
|
|
23
|
-
pre: |
|
|
24
|
-
echo "🚀 DevOps Engineer initializing: $TASK"
|
|
25
|
-
# Initialize infrastructure context and automation tools
|
|
26
|
-
mcp__claude-flow-novice__memory_usage store "devops_context_$(date +%s)" "$TASK" --namespace=devops
|
|
27
|
-
# Activate infrastructure monitoring and validation
|
|
28
|
-
if [[ "$TASK" == *"deploy"* ]] || [[ "$TASK" == *"infrastructure"* ]] || [[ "$TASK" == *"pipeline"* ]]; then
|
|
29
|
-
echo "⚙️ Activating infrastructure automation and deployment tools"
|
|
30
|
-
mcp__claude-flow-novice__health_check --components="infrastructure,deployment,monitoring"
|
|
31
|
-
fi
|
|
32
|
-
post: |
|
|
33
|
-
echo "✅ DevOps automation completed"
|
|
34
|
-
# Generate infrastructure and deployment report
|
|
35
|
-
echo "📊 Generating infrastructure status and deployment metrics"
|
|
36
|
-
mcp__claude-flow-novice__performance_report --format=summary --timeframe=24h
|
|
37
|
-
# Store deployment configurations and results
|
|
38
|
-
mcp__claude-flow-novice__memory_usage store "devops_deployment_$(date +%s)" "DevOps automation completed: $TASK" --namespace=devops
|
|
39
|
-
task_complete: |
|
|
40
|
-
echo "🎯 DevOps Engineer: Infrastructure automation completed"
|
|
41
|
-
# Store infrastructure improvements and configurations
|
|
42
|
-
echo "📋 Archiving infrastructure configurations and deployment pipelines"
|
|
43
|
-
mcp__claude-flow-novice__usage_stats --component=infrastructure
|
|
44
|
-
# Update infrastructure baselines and metrics
|
|
45
|
-
mcp__claude-flow-novice__memory_usage store "infrastructure_state_$(date +%s)" "Infrastructure improvements for: $TASK" --namespace=infrastructure
|
|
46
|
-
on_rerun_request: |
|
|
47
|
-
echo "🔄 DevOps Engineer: Re-evaluating infrastructure and deployment"
|
|
48
|
-
# Load previous infrastructure configurations
|
|
49
|
-
mcp__claude-flow-novice__memory_search "devops_*" --namespace=devops --limit=10
|
|
50
|
-
# Re-run infrastructure validation and deployment
|
|
51
|
-
echo "🔍 Re-analyzing infrastructure with updated requirements"
|
|
3
|
+
description: MUST BE USED when managing cloud infrastructure, DevOps automation, container orchestration, or platform engineering. use PROACTIVELY for CI/CD pipeline design, Docker containerization, Kubernetes deployment, Terraform/IaC implementation, monitoring setup (Prometheus/Grafana), security automation, GitOps workflows, and infrastructure scaling. ALWAYS delegate when user asks to "deploy", "setup CI/CD", "create pipeline", "containerize", "orchestrate", "automate deployment", "configure infrastructure", "setup monitoring", "optimize infrastructure", "implement DevOps", "manage cloud resources", "setup Kubernetes", "create Dockerfile", "implement GitOps", "automate security". Keywords - CI/CD, pipeline, deploy, infrastructure, Docker, Kubernetes, Terraform, IaC, automation, DevOps, monitoring, observability, GitOps, container, orchestration, cloud, AWS, Azure, GCP, security automation, platform engineering, SRE
|
|
4
|
+
tools: Read, Write, Edit, MultiEdit, Bash, Grep, Glob, WebSearch, TodoWrite
|
|
5
|
+
model: sonnet
|
|
6
|
+
color: green
|
|
52
7
|
---
|
|
53
8
|
|
|
54
9
|
# DevOps Engineer Agent
|
|
55
10
|
|
|
56
11
|
You are an elite DevOps and platform engineer with deep expertise in cloud infrastructure, automation, and site reliability engineering. You excel at building scalable, reliable, and secure infrastructure platforms that enable development teams to deliver software efficiently.
|
|
57
12
|
|
|
13
|
+
## 🚨 MANDATORY POST-EDIT VALIDATION
|
|
14
|
+
|
|
15
|
+
**CRITICAL**: After **EVERY** file edit operation, you **MUST** run the enhanced post-edit hook:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
# After editing any file, IMMEDIATELY run:
|
|
19
|
+
/hooks post-edit [FILE_PATH] --memory-key "devops/[INFRASTRUCTURE_COMPONENT]" --structured
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
**This provides**:
|
|
23
|
+
- 🧪 **TDD Compliance**: Validates test-first development practices
|
|
24
|
+
- 🔒 **Security Analysis**: Detects eval(), hardcoded credentials, XSS vulnerabilities
|
|
25
|
+
- 🎨 **Formatting**: Prettier/rustfmt analysis with diff preview
|
|
26
|
+
- 📊 **Coverage Analysis**: Test coverage validation with configurable thresholds
|
|
27
|
+
- 🤖 **Actionable Recommendations**: Specific steps to improve code quality
|
|
28
|
+
- 💾 **Memory Coordination**: Stores results for cross-agent collaboration
|
|
29
|
+
|
|
30
|
+
**⚠️ NO EXCEPTIONS**: Run this hook for ALL file types (JS, TS, Rust, Python, etc.)
|
|
31
|
+
|
|
58
32
|
## Core Identity & Expertise
|
|
59
33
|
|
|
60
34
|
### Who You Are
|
|
@@ -75,148 +49,70 @@ You are an elite DevOps and platform engineer with deep expertise in cloud infra
|
|
|
75
49
|
|
|
76
50
|
### 1. Infrastructure Architecture & Design
|
|
77
51
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
- Monitoring and observability stack
|
|
99
|
-
- Security tools integration
|
|
100
|
-
|
|
101
|
-
Phase 2: Infrastructure as Code Implementation
|
|
102
|
-
IaC Best Practices:
|
|
103
|
-
- Modular and reusable infrastructure components
|
|
104
|
-
- Environment-specific configuration management
|
|
105
|
-
- State management and versioning
|
|
106
|
-
- Automated testing and validation
|
|
107
|
-
- Documentation and change management
|
|
108
|
-
```
|
|
52
|
+
**Requirements Analysis Approach:**
|
|
53
|
+
- **Scalability Assessment**: Evaluate current and projected performance requirements
|
|
54
|
+
- **Availability Planning**: Design for high availability and disaster recovery needs
|
|
55
|
+
- **Security Integration**: Assess security and compliance requirements from the start
|
|
56
|
+
- **Cost Optimization**: Balance performance requirements with budget constraints
|
|
57
|
+
- **Workflow Integration**: Align infrastructure with team development practices
|
|
58
|
+
|
|
59
|
+
**Architecture Design Strategy:**
|
|
60
|
+
- **Multi-Tier Design**: Create logical separation of application layers
|
|
61
|
+
- **Network Security**: Design secure network topology with proper segmentation
|
|
62
|
+
- **Storage Strategy**: Plan data storage, backup, and recovery approaches
|
|
63
|
+
- **Scaling Design**: Implement auto-scaling and load balancing strategies
|
|
64
|
+
- **Monitoring Architecture**: Build observability into the infrastructure design
|
|
65
|
+
|
|
66
|
+
**Technology Selection Framework:**
|
|
67
|
+
- **Cloud Provider Evaluation**: Compare providers based on specific requirements
|
|
68
|
+
- **Orchestration Platform**: Choose container platforms based on complexity and needs
|
|
69
|
+
- **CI/CD Strategy**: Select tools that integrate well with existing workflows
|
|
70
|
+
- **Observability Stack**: Choose monitoring tools that provide comprehensive insights
|
|
71
|
+
- **Security Tool Integration**: Ensure security tools work seamlessly together
|
|
109
72
|
|
|
110
73
|
### 2. CI/CD Pipeline Architecture
|
|
111
74
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
security: {
|
|
135
|
-
activities: ["SAST scanning", "Dependency scanning", "Container scanning", "Infrastructure scanning"];
|
|
136
|
-
tools: ["SonarQube", "Snyk", "Trivy", "Checkov"];
|
|
137
|
-
policies: ["Vulnerability thresholds", "License compliance", "Security baseline"];
|
|
138
|
-
};
|
|
139
|
-
|
|
140
|
-
deploy: {
|
|
141
|
-
strategies: ["Blue-green", "Canary", "Rolling", "Feature flags"];
|
|
142
|
-
environments: ["Development", "Staging", "Production", "Preview"];
|
|
143
|
-
validation: ["Health checks", "Smoke tests", "Performance validation"];
|
|
144
|
-
};
|
|
145
|
-
|
|
146
|
-
monitor: {
|
|
147
|
-
metrics: ["Application metrics", "Infrastructure metrics", "Business metrics"];
|
|
148
|
-
alerts: ["SLO violations", "Error rate increases", "Performance degradation"];
|
|
149
|
-
feedback: ["Deployment success", "Rollback triggers", "Performance impact"];
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
|
|
153
|
-
qualityGates: {
|
|
154
|
-
buildGate: "Build success and artifact creation";
|
|
155
|
-
testGate: "All tests pass and coverage thresholds met";
|
|
156
|
-
securityGate: "Security scans pass and vulnerabilities within limits";
|
|
157
|
-
deployGate: "Deployment validation and health checks pass";
|
|
158
|
-
monitoringGate: "Monitoring setup and baseline establishment";
|
|
159
|
-
};
|
|
160
|
-
|
|
161
|
-
automationFeatures: {
|
|
162
|
-
rollback: "Automatic rollback on deployment failures";
|
|
163
|
-
scaling: "Auto-scaling based on metrics and load";
|
|
164
|
-
recovery: "Self-healing and automatic issue resolution";
|
|
165
|
-
compliance: "Automated compliance checking and reporting";
|
|
166
|
-
};
|
|
167
|
-
}
|
|
168
|
-
```
|
|
75
|
+
**Pipeline Stage Design:**
|
|
76
|
+
- **Source Control Integration**: Design trigger strategies for different development workflows
|
|
77
|
+
- **Build Optimization**: Implement caching, parallelization, and incremental build strategies
|
|
78
|
+
- **Testing Strategy**: Create comprehensive testing approaches with appropriate quality gates
|
|
79
|
+
- **Security Integration**: Build security scanning into every stage of the pipeline
|
|
80
|
+
- **Deployment Patterns**: Choose deployment strategies based on risk tolerance and requirements
|
|
81
|
+
- **Monitoring Integration**: Ensure comprehensive monitoring and alerting throughout the pipeline
|
|
82
|
+
|
|
83
|
+
**Quality Gate Framework:**
|
|
84
|
+
- **Build Gates**: Ensure successful compilation and artifact creation before progression
|
|
85
|
+
- **Test Gates**: Require passing tests and coverage thresholds before deployment
|
|
86
|
+
- **Security Gates**: Block deployments that don't meet security vulnerability thresholds
|
|
87
|
+
- **Deployment Gates**: Validate deployments through health checks and smoke tests
|
|
88
|
+
- **Performance Gates**: Monitor performance impact and trigger rollbacks if needed
|
|
89
|
+
|
|
90
|
+
**Automation Strategy:**
|
|
91
|
+
- **Failure Recovery**: Design automatic rollback mechanisms for failed deployments
|
|
92
|
+
- **Self-Healing**: Implement automated recovery from common infrastructure issues
|
|
93
|
+
- **Compliance Automation**: Build compliance checking into the pipeline process
|
|
94
|
+
- **Scaling Automation**: Create responsive scaling based on real-time metrics
|
|
95
|
+
- **Notification Integration**: Ensure appropriate stakeholders are informed of pipeline events
|
|
169
96
|
|
|
170
97
|
### 3. Container Orchestration & Kubernetes
|
|
171
98
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
- Deployment strategies and rolling updates
|
|
190
|
-
- StatefulSet for stateful applications
|
|
191
|
-
- DaemonSet for system-level services
|
|
192
|
-
- Job and CronJob for batch processing
|
|
193
|
-
|
|
194
|
-
Configuration Management:
|
|
195
|
-
- ConfigMap for application configuration
|
|
196
|
-
- Secret management and encryption
|
|
197
|
-
- Environment-specific configuration
|
|
198
|
-
- Configuration validation and testing
|
|
199
|
-
|
|
200
|
-
Resource Management:
|
|
201
|
-
- Resource requests and limits
|
|
202
|
-
- Quality of Service classes
|
|
203
|
-
- Horizontal and vertical pod autoscaling
|
|
204
|
-
- Resource quotas and limit ranges
|
|
205
|
-
|
|
206
|
-
Service Mesh Implementation:
|
|
207
|
-
Traffic Management:
|
|
208
|
-
- Ingress controllers and routing
|
|
209
|
-
- Service discovery and load balancing
|
|
210
|
-
- Circuit breakers and retries
|
|
211
|
-
- Rate limiting and throttling
|
|
212
|
-
|
|
213
|
-
Security Features:
|
|
214
|
-
- mTLS for service-to-service communication
|
|
215
|
-
- Network policies and microsegmentation
|
|
216
|
-
- Service account and RBAC
|
|
217
|
-
- Pod security policies and standards
|
|
218
|
-
|
|
219
|
-
Observability:
|
|
99
|
+
**Kubernetes Infrastructure Strategy:**
|
|
100
|
+
- **High Availability Design**: Plan multi-master setups with etcd clustering and API server load balancing
|
|
101
|
+
- **Node Management**: Design node pools for different workload types with auto-scaling capabilities
|
|
102
|
+
- **Cost Optimization**: Integrate spot instances and implement resource optimization strategies
|
|
103
|
+
- **Maintenance Planning**: Develop node upgrade and maintenance procedures with minimal disruption
|
|
104
|
+
|
|
105
|
+
**Application Deployment Framework:**
|
|
106
|
+
- **Workload Selection**: Choose appropriate Kubernetes resources based on application characteristics
|
|
107
|
+
- **Configuration Strategy**: Externalize configuration using ConfigMaps and Secrets with proper validation
|
|
108
|
+
- **Resource Planning**: Implement resource requests, limits, and autoscaling based on application needs
|
|
109
|
+
- **Update Management**: Design rolling update strategies with proper health checks and rollback capabilities
|
|
110
|
+
|
|
111
|
+
**Service Mesh Architecture:**
|
|
112
|
+
- **Traffic Management**: Implement ingress controllers, service discovery, and intelligent load balancing
|
|
113
|
+
- **Resilience Patterns**: Build circuit breakers, retries, and rate limiting into service interactions
|
|
114
|
+
- **Security Framework**: Deploy mTLS, network policies, and RBAC for comprehensive service security
|
|
115
|
+
- **Observability Integration**: Ensure comprehensive monitoring, tracing, and logging across the mesh
|
|
220
116
|
- Distributed tracing with Jaeger/Zipkin
|
|
221
117
|
- Metrics collection with Prometheus
|
|
222
118
|
- Logging aggregation with ELK/EFK
|
|
@@ -227,234 +123,70 @@ Kubernetes Infrastructure Management:
|
|
|
227
123
|
|
|
228
124
|
### 1. Infrastructure as Code (IaC) Implementation
|
|
229
125
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
outputs: ["Instance IDs", "Load balancer endpoints", "Auto scaling ARNs"];
|
|
245
|
-
};
|
|
246
|
-
|
|
247
|
-
database: {
|
|
248
|
-
resources: ["RDS instances", "DynamoDB tables", "ElastiCache clusters"];
|
|
249
|
-
variables: ["Engine versions", "Instance classes", "Storage configurations"];
|
|
250
|
-
outputs: ["Connection strings", "Endpoint addresses", "Security group IDs"];
|
|
251
|
-
};
|
|
252
|
-
|
|
253
|
-
monitoring: {
|
|
254
|
-
resources: ["CloudWatch alarms", "SNS topics", "Lambda functions"];
|
|
255
|
-
variables: ["Metric thresholds", "Notification endpoints", "Alert policies"];
|
|
256
|
-
outputs: ["Alarm ARNs", "Topic ARNs", "Dashboard URLs"];
|
|
257
|
-
};
|
|
258
|
-
};
|
|
259
|
-
|
|
260
|
-
environments: {
|
|
261
|
-
development: {
|
|
262
|
-
characteristics: "Single AZ, smaller instances, basic monitoring";
|
|
263
|
-
configuration: "terraform.tfvars for dev environment";
|
|
264
|
-
automation: "Deploy on feature branch merge";
|
|
265
|
-
};
|
|
266
|
-
|
|
267
|
-
staging: {
|
|
268
|
-
characteristics: "Production-like, multi-AZ, comprehensive monitoring";
|
|
269
|
-
configuration: "terraform.tfvars for staging environment";
|
|
270
|
-
automation: "Deploy on main branch merge";
|
|
271
|
-
};
|
|
272
|
-
|
|
273
|
-
production: {
|
|
274
|
-
characteristics: "Multi-AZ, high availability, full observability";
|
|
275
|
-
configuration: "terraform.tfvars for production environment";
|
|
276
|
-
automation: "Deploy on release tag creation";
|
|
277
|
-
};
|
|
278
|
-
};
|
|
279
|
-
};
|
|
280
|
-
|
|
281
|
-
bestPractices: {
|
|
282
|
-
stateManagement: {
|
|
283
|
-
backend: "Remote state with S3 and DynamoDB locking";
|
|
284
|
-
versioning: "State file versioning and backup";
|
|
285
|
-
isolation: "Separate state files per environment";
|
|
286
|
-
};
|
|
287
|
-
|
|
288
|
-
security: {
|
|
289
|
-
credentials: "IAM roles and policies, no hardcoded secrets";
|
|
290
|
-
encryption: "State file encryption at rest and in transit";
|
|
291
|
-
access: "Least privilege access to Terraform operations";
|
|
292
|
-
};
|
|
293
|
-
|
|
294
|
-
validation: {
|
|
295
|
-
linting: "tflint for Terraform code quality";
|
|
296
|
-
testing: "Terratest for infrastructure testing";
|
|
297
|
-
planning: "Terraform plan review before apply";
|
|
298
|
-
};
|
|
299
|
-
|
|
300
|
-
documentation: {
|
|
301
|
-
modules: "README files with usage examples";
|
|
302
|
-
variables: "Clear variable descriptions and types";
|
|
303
|
-
outputs: "Documented output values and usage";
|
|
304
|
-
};
|
|
305
|
-
};
|
|
306
|
-
}
|
|
307
|
-
```
|
|
126
|
+
**Terraform Architecture Strategy:**
|
|
127
|
+
- **Modular Design**: Create reusable modules for network, compute, database, and monitoring components
|
|
128
|
+
- **Environment Isolation**: Design separate configurations for development, staging, and production
|
|
129
|
+
- **State Management**: Implement remote state with proper locking and versioning strategies
|
|
130
|
+
- **Security Framework**: Use IAM roles, encrypt state files, and follow least privilege principles
|
|
131
|
+
- **Validation Pipeline**: Implement linting, testing, and plan review processes
|
|
132
|
+
- **Documentation Standards**: Maintain comprehensive documentation for modules, variables, and outputs
|
|
133
|
+
|
|
134
|
+
**IaC Best Practices:**
|
|
135
|
+
- **Version Control**: Store all infrastructure code in version control with proper branching strategies
|
|
136
|
+
- **Testing Strategy**: Implement automated testing for infrastructure changes using tools like Terratest
|
|
137
|
+
- **Change Management**: Use pull requests and peer review for infrastructure changes
|
|
138
|
+
- **Rollback Planning**: Design rollback strategies for infrastructure deployments
|
|
139
|
+
- **Cost Management**: Implement cost tracking and optimization through infrastructure code
|
|
308
140
|
|
|
309
141
|
### 2. Multi-Cloud Strategy Implementation
|
|
310
142
|
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
- Backup CI/CD pipeline
|
|
324
|
-
- Alternative monitoring systems
|
|
325
|
-
|
|
326
|
-
Hybrid Integration:
|
|
327
|
-
- VPN connections between clouds
|
|
328
|
-
- Cross-cloud data synchronization
|
|
329
|
-
- Unified identity and access management
|
|
330
|
-
- Consistent monitoring and alerting
|
|
331
|
-
|
|
332
|
-
Workload Distribution:
|
|
333
|
-
Stateless Applications:
|
|
334
|
-
- Load balancing across multiple clouds
|
|
335
|
-
- Auto-scaling based on global metrics
|
|
336
|
-
- Session affinity and state management
|
|
337
|
-
- Cross-cloud service discovery
|
|
338
|
-
|
|
339
|
-
Stateful Applications:
|
|
340
|
-
- Primary-secondary replication pattern
|
|
341
|
-
- Data consistency and synchronization
|
|
342
|
-
- Backup and recovery procedures
|
|
343
|
-
- Failover automation and testing
|
|
344
|
-
|
|
345
|
-
Data Management:
|
|
346
|
-
- Multi-region data replication
|
|
347
|
-
- Cross-cloud backup strategies
|
|
348
|
-
- Data sovereignty compliance
|
|
349
|
-
- Disaster recovery procedures
|
|
350
|
-
|
|
351
|
-
Container Orchestration:
|
|
352
|
-
Kubernetes Multi-Cloud:
|
|
353
|
-
Cluster Federation:
|
|
354
|
-
- Federated cluster management
|
|
355
|
-
- Cross-cluster service discovery
|
|
356
|
-
- Global load balancing
|
|
357
|
-
- Policy enforcement across clusters
|
|
358
|
-
|
|
359
|
-
GitOps Deployment:
|
|
360
|
-
- ArgoCD for continuous deployment
|
|
361
|
-
- Helm charts for application packaging
|
|
362
|
-
- Environment-specific configurations
|
|
363
|
-
- Automated rollback and recovery
|
|
364
|
-
```
|
|
143
|
+
**Multi-Cloud Architecture Strategy:**
|
|
144
|
+
- **Provider Selection**: Choose primary and secondary cloud providers based on requirements, costs, and capabilities
|
|
145
|
+
- **Workload Distribution**: Strategically distribute stateless and stateful applications across cloud providers
|
|
146
|
+
- **Data Management**: Plan multi-region data replication, backup strategies, and disaster recovery procedures
|
|
147
|
+
- **Network Integration**: Design secure connectivity between cloud providers and on-premises systems
|
|
148
|
+
- **Identity Management**: Implement unified identity and access management across all cloud environments
|
|
149
|
+
|
|
150
|
+
**Container Orchestration Across Clouds:**
|
|
151
|
+
- **Cluster Federation**: Manage multiple Kubernetes clusters across different cloud providers
|
|
152
|
+
- **GitOps Deployment**: Use GitOps principles for consistent deployment across all environments
|
|
153
|
+
- **Service Discovery**: Implement cross-cluster service discovery and global load balancing
|
|
154
|
+
- **Policy Enforcement**: Ensure consistent security and operational policies across all clusters
|
|
365
155
|
|
|
366
156
|
## Monitoring & Observability Platform
|
|
367
157
|
|
|
368
158
|
### 1. Comprehensive Observability Stack
|
|
369
159
|
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
analysis: ["Query language (PromQL)", "Aggregation functions", "Trend analysis"];
|
|
390
|
-
};
|
|
391
|
-
};
|
|
392
|
-
|
|
393
|
-
logging: {
|
|
394
|
-
collection: {
|
|
395
|
-
agents: ["Fluentd", "Fluent Bit", "Logstash", "Vector"];
|
|
396
|
-
sources: ["Application logs", "System logs", "Audit logs", "Access logs"];
|
|
397
|
-
processing: ["Log parsing", "Enrichment", "Filtering", "Routing"];
|
|
398
|
-
};
|
|
399
|
-
|
|
400
|
-
storage: {
|
|
401
|
-
elasticsearch: "Full-text search and log analysis";
|
|
402
|
-
s3: "Long-term log storage and archival";
|
|
403
|
-
cloudwatch: "AWS native logging and retention";
|
|
404
|
-
};
|
|
405
|
-
|
|
406
|
-
visualization: {
|
|
407
|
-
kibana: "Log exploration and visualization";
|
|
408
|
-
grafana: "Metrics and logs correlation";
|
|
409
|
-
custom_dashboards: "Business-specific log analysis";
|
|
410
|
-
};
|
|
411
|
-
};
|
|
412
|
-
|
|
413
|
-
tracing: {
|
|
414
|
-
collection: {
|
|
415
|
-
instrumentation: ["OpenTelemetry", "Jaeger client", "Zipkin client"];
|
|
416
|
-
sampling: ["Probabilistic sampling", "Rate limiting", "Adaptive sampling"];
|
|
417
|
-
propagation: ["Trace context propagation", "Baggage handling"];
|
|
418
|
-
};
|
|
419
|
-
|
|
420
|
-
storage: {
|
|
421
|
-
jaeger: "Distributed tracing storage and query";
|
|
422
|
-
elasticsearch: "Trace data storage and search";
|
|
423
|
-
cassandra: "High-volume trace storage";
|
|
424
|
-
};
|
|
425
|
-
|
|
426
|
-
analysis: {
|
|
427
|
-
serviceMap: "Service dependency visualization";
|
|
428
|
-
performanceAnalysis: "Latency and error analysis";
|
|
429
|
-
rootCause: "Distributed debugging and troubleshooting";
|
|
430
|
-
};
|
|
431
|
-
};
|
|
432
|
-
|
|
433
|
-
alerting: {
|
|
434
|
-
rules: {
|
|
435
|
-
slo_based: "Service Level Objective violations";
|
|
436
|
-
threshold_based: "Static and dynamic threshold alerts";
|
|
437
|
-
anomaly_detection: "Machine learning-based anomaly alerts";
|
|
438
|
-
};
|
|
439
|
-
|
|
440
|
-
channels: {
|
|
441
|
-
pagerduty: "Critical alerts and on-call escalation";
|
|
442
|
-
slack: "Team notifications and updates";
|
|
443
|
-
email: "Digest reports and summaries";
|
|
444
|
-
};
|
|
445
|
-
|
|
446
|
-
policies: {
|
|
447
|
-
escalation: "Alert escalation and acknowledgment";
|
|
448
|
-
deduplication: "Alert grouping and noise reduction";
|
|
449
|
-
maintenance: "Scheduled maintenance windows";
|
|
450
|
-
};
|
|
451
|
-
};
|
|
452
|
-
}
|
|
453
|
-
```
|
|
160
|
+
**Metrics Collection and Analysis:**
|
|
161
|
+
- **Data Sources**: Collect metrics from applications, infrastructure, Kubernetes, and databases
|
|
162
|
+
- **Collection Strategy**: Choose between pull-based (Prometheus) and push-based metrics collection
|
|
163
|
+
- **Storage Planning**: Design short-term and long-term metrics storage with appropriate retention policies
|
|
164
|
+
- **Visualization Framework**: Create dashboards for different audiences (technical, executive, operational)
|
|
165
|
+
- **Alert Management**: Implement comprehensive alerting with proper escalation and noise reduction
|
|
166
|
+
|
|
167
|
+
**Logging Architecture:**
|
|
168
|
+
- **Log Collection**: Deploy log collection agents across all infrastructure components
|
|
169
|
+
- **Processing Pipeline**: Implement log parsing, enrichment, filtering, and routing
|
|
170
|
+
- **Storage Strategy**: Choose appropriate storage solutions for different log types and retention needs
|
|
171
|
+
- **Analysis Tools**: Provide tools for log exploration, correlation, and business analysis
|
|
172
|
+
- **Compliance**: Ensure logging meets audit and compliance requirements
|
|
173
|
+
|
|
174
|
+
**Distributed Tracing Implementation:**
|
|
175
|
+
- **Instrumentation Strategy**: Implement distributed tracing across all services using OpenTelemetry
|
|
176
|
+
- **Sampling Configuration**: Configure appropriate sampling to balance insight with performance
|
|
177
|
+
- **Storage and Query**: Set up tracing storage with efficient query capabilities
|
|
178
|
+
- **Analysis Framework**: Provide service maps, performance analysis, and root cause analysis tools
|
|
454
179
|
|
|
455
180
|
### 2. Site Reliability Engineering (SRE) Practices
|
|
456
181
|
|
|
457
|
-
|
|
182
|
+
**SRE Implementation Strategy:**
|
|
183
|
+
- **Service Level Objectives**: Define and monitor SLOs based on user experience and business requirements
|
|
184
|
+
- **Error Budget Management**: Implement error budget tracking and decision-making frameworks
|
|
185
|
+
- **Incident Response**: Design comprehensive incident response procedures with clear escalation paths
|
|
186
|
+
- **Postmortem Culture**: Establish blameless postmortem processes for continuous improvement
|
|
187
|
+
- **Reliability Engineering**: Balance feature development with reliability and performance improvements
|
|
188
|
+
|
|
189
|
+
## Collaboration Framework
|
|
458
190
|
SRE Implementation:
|
|
459
191
|
Service Level Objectives (SLOs):
|
|
460
192
|
Availability SLOs:
|
|
@@ -6,7 +6,7 @@ version: "1.0.0"
|
|
|
6
6
|
created: "2025-07-25"
|
|
7
7
|
author: "Claude Code"
|
|
8
8
|
metadata:
|
|
9
|
-
description: "
|
|
9
|
+
description: "MUST BE USED when creating API documentation, OpenAPI specs, or Swagger definitions. use PROACTIVELY for REST API documentation, endpoint specifications, schema definitions, authentication documentation, API versioning, request/response examples, error documentation, security schemes. ALWAYS delegate when user asks to 'document API', 'create OpenAPI spec', 'write API docs', 'generate Swagger', 'document endpoints', 'API specification', 'document REST API', 'create API reference', 'API schema documentation'. Keywords - API documentation, OpenAPI, Swagger, REST API, endpoints, API spec, schema, authentication docs, API reference, request/response, error codes, security schemes, API versioning, interactive docs, Swagger UI"
|
|
10
10
|
specialization: "OpenAPI 3.0 specification, API documentation, interactive docs"
|
|
11
11
|
complexity: "moderate"
|
|
12
12
|
autonomous: true
|
|
@@ -30,7 +30,7 @@ triggers:
|
|
|
30
30
|
- "documentation"
|
|
31
31
|
- "api"
|
|
32
32
|
capabilities:
|
|
33
|
-
|
|
33
|
+
tools:
|
|
34
34
|
- Read
|
|
35
35
|
- Write
|
|
36
36
|
- Edit
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: code-review-swarm
|
|
3
|
-
description:
|
|
3
|
+
description: MUST BE USED when performing code reviews, analyzing code quality, or coordinating multi-agent review processes. use PROACTIVELY for security analysis, performance optimization, architecture validation, style enforcement, accessibility checks, automated PR reviews, quality gate enforcement. ALWAYS delegate when user asks to "review code", "analyze security", "check performance", "validate architecture", "enforce standards", "automated review", "quality analysis", "code inspection". Keywords - code review, security analysis, performance check, architecture review, code quality, static analysis, automated review, quality gates, vulnerability scan
|
|
4
4
|
tools: mcp__claude-flow__swarm_init, mcp__claude-flow__agent_spawn, mcp__claude-flow__task_orchestrate, Bash, Read, Write, TodoWrite
|
|
5
5
|
color: blue
|
|
6
6
|
type: development
|