claude-flow-novice 1.0.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/MIGRATION_SUMMARY.md +222 -0
- package/.claude/agents/README.md +89 -0
- package/.claude/agents/analysis/code-analyzer.md +209 -0
- package/.claude/agents/analysis/code-review/analyze-code-quality.md +180 -0
- package/.claude/agents/architecture/system-design/arch-system-design.md +156 -0
- package/.claude/agents/base-template-generator.md +42 -0
- package/.claude/agents/consensus/README.md +253 -0
- package/.claude/agents/consensus/byzantine-coordinator.md +63 -0
- package/.claude/agents/consensus/consensus-builder.md +242 -0
- package/.claude/agents/consensus/crdt-synchronizer.md +997 -0
- package/.claude/agents/consensus/gossip-coordinator.md +63 -0
- package/.claude/agents/consensus/performance-benchmarker.md +851 -0
- package/.claude/agents/consensus/quorum-manager.md +823 -0
- package/.claude/agents/consensus/raft-manager.md +63 -0
- package/.claude/agents/consensus/security-manager.md +622 -0
- package/.claude/agents/core/coder.md +211 -0
- package/.claude/agents/core/planner.md +116 -0
- package/.claude/agents/core/researcher.md +136 -0
- package/.claude/agents/core/reviewer.md +272 -0
- package/.claude/agents/core/tester.md +266 -0
- package/.claude/agents/data/ml/data-ml-model.md +193 -0
- package/.claude/agents/development/backend/dev-backend-api.md +142 -0
- package/.claude/agents/devops/ci-cd/ops-cicd-github.md +164 -0
- package/.claude/agents/documentation/api-docs/docs-api-openapi.md +174 -0
- package/.claude/agents/flow-nexus/app-store.md +88 -0
- package/.claude/agents/flow-nexus/authentication.md +69 -0
- package/.claude/agents/flow-nexus/challenges.md +81 -0
- package/.claude/agents/flow-nexus/neural-network.md +88 -0
- package/.claude/agents/flow-nexus/payments.md +83 -0
- package/.claude/agents/flow-nexus/sandbox.md +76 -0
- package/.claude/agents/flow-nexus/swarm.md +76 -0
- package/.claude/agents/flow-nexus/user-tools.md +96 -0
- package/.claude/agents/flow-nexus/workflow.md +84 -0
- package/.claude/agents/github/code-review-swarm.md +538 -0
- package/.claude/agents/github/github-modes.md +173 -0
- package/.claude/agents/github/issue-tracker.md +319 -0
- package/.claude/agents/github/multi-repo-swarm.md +553 -0
- package/.claude/agents/github/pr-manager.md +191 -0
- package/.claude/agents/github/project-board-sync.md +509 -0
- package/.claude/agents/github/release-manager.md +367 -0
- package/.claude/agents/github/release-swarm.md +583 -0
- package/.claude/agents/github/repo-architect.md +398 -0
- package/.claude/agents/github/swarm-issue.md +573 -0
- package/.claude/agents/github/swarm-pr.md +428 -0
- package/.claude/agents/github/sync-coordinator.md +452 -0
- package/.claude/agents/github/workflow-automation.md +635 -0
- package/.claude/agents/goal/goal-planner.md +73 -0
- package/.claude/agents/neural/safla-neural.md +74 -0
- package/.claude/agents/optimization/README.md +250 -0
- package/.claude/agents/optimization/benchmark-suite.md +665 -0
- package/.claude/agents/optimization/load-balancer.md +431 -0
- package/.claude/agents/optimization/performance-monitor.md +672 -0
- package/.claude/agents/optimization/resource-allocator.md +674 -0
- package/.claude/agents/optimization/topology-optimizer.md +808 -0
- package/.claude/agents/sparc/architecture.md +472 -0
- package/.claude/agents/sparc/pseudocode.md +318 -0
- package/.claude/agents/sparc/refinement.md +525 -0
- package/.claude/agents/sparc/specification.md +276 -0
- package/.claude/agents/specialized/mobile/spec-mobile-react-native.md +226 -0
- package/.claude/agents/sublinear/consciousness-evolution-agent.md +499 -0
- package/.claude/agents/sublinear/matrix-solver-agent.md +113 -0
- package/.claude/agents/sublinear/nanosecond-scheduler-agent.md +644 -0
- package/.claude/agents/sublinear/pagerank-agent.md +699 -0
- package/.claude/agents/sublinear/phi-calculator-agent.md +749 -0
- package/.claude/agents/sublinear/psycho-symbolic-agent.md +543 -0
- package/.claude/agents/sublinear/sublinear.md +816 -0
- package/.claude/agents/sublinear/temporal-advantage-agent.md +360 -0
- package/.claude/agents/swarm/README.md +190 -0
- package/.claude/agents/swarm/adaptive-coordinator.md +396 -0
- package/.claude/agents/swarm/hierarchical-coordinator.md +300 -0
- package/.claude/agents/swarm/mesh-coordinator.md +435 -0
- package/.claude/agents/templates/automation-smart-agent.md +205 -0
- package/.claude/agents/templates/coordinator-swarm-init.md +90 -0
- package/.claude/agents/templates/github-pr-manager.md +177 -0
- package/.claude/agents/templates/implementer-sparc-coder.md +259 -0
- package/.claude/agents/templates/memory-coordinator.md +187 -0
- package/.claude/agents/templates/migration-plan.md +746 -0
- package/.claude/agents/templates/orchestrator-task.md +139 -0
- package/.claude/agents/templates/performance-analyzer.md +199 -0
- package/.claude/agents/templates/sparc-coordinator.md +183 -0
- package/.claude/agents/testing/e2e/playwright-agent.md +249 -0
- package/.claude/agents/testing/unit/tdd-london-swarm.md +244 -0
- package/.claude/agents/testing/validation/production-validator.md +395 -0
- package/.claude/commands/agents/README.md +10 -0
- package/.claude/commands/agents/agent-capabilities.md +21 -0
- package/.claude/commands/agents/agent-coordination.md +28 -0
- package/.claude/commands/agents/agent-spawning.md +28 -0
- package/.claude/commands/agents/agent-types.md +26 -0
- package/.claude/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +54 -0
- package/.claude/commands/analysis/README.md +9 -0
- package/.claude/commands/analysis/bottleneck-detect.md +162 -0
- package/.claude/commands/analysis/performance-bottlenecks.md +59 -0
- package/.claude/commands/analysis/performance-report.md +25 -0
- package/.claude/commands/analysis/token-efficiency.md +45 -0
- package/.claude/commands/analysis/token-usage.md +25 -0
- package/.claude/commands/automation/README.md +9 -0
- package/.claude/commands/automation/auto-agent.md +122 -0
- package/.claude/commands/automation/self-healing.md +106 -0
- package/.claude/commands/automation/session-memory.md +90 -0
- package/.claude/commands/automation/smart-agents.md +73 -0
- package/.claude/commands/automation/smart-spawn.md +25 -0
- package/.claude/commands/automation/workflow-select.md +25 -0
- package/.claude/commands/coordination/README.md +9 -0
- package/.claude/commands/coordination/agent-spawn.md +25 -0
- package/.claude/commands/coordination/init.md +44 -0
- package/.claude/commands/coordination/orchestrate.md +43 -0
- package/.claude/commands/coordination/spawn.md +45 -0
- package/.claude/commands/coordination/swarm-init.md +85 -0
- package/.claude/commands/coordination/task-orchestrate.md +25 -0
- package/.claude/commands/flow-nexus/app-store.md +124 -0
- package/.claude/commands/flow-nexus/challenges.md +120 -0
- package/.claude/commands/flow-nexus/login-registration.md +65 -0
- package/.claude/commands/flow-nexus/neural-network.md +134 -0
- package/.claude/commands/flow-nexus/payments.md +116 -0
- package/.claude/commands/flow-nexus/sandbox.md +83 -0
- package/.claude/commands/flow-nexus/swarm.md +87 -0
- package/.claude/commands/flow-nexus/user-tools.md +152 -0
- package/.claude/commands/flow-nexus/workflow.md +115 -0
- package/.claude/commands/github/README.md +11 -0
- package/.claude/commands/github/code-review-swarm.md +514 -0
- package/.claude/commands/github/code-review.md +25 -0
- package/.claude/commands/github/github-modes.md +147 -0
- package/.claude/commands/github/github-swarm.md +121 -0
- package/.claude/commands/github/issue-tracker.md +292 -0
- package/.claude/commands/github/issue-triage.md +25 -0
- package/.claude/commands/github/multi-repo-swarm.md +519 -0
- package/.claude/commands/github/pr-enhance.md +26 -0
- package/.claude/commands/github/pr-manager.md +170 -0
- package/.claude/commands/github/project-board-sync.md +471 -0
- package/.claude/commands/github/release-manager.md +338 -0
- package/.claude/commands/github/release-swarm.md +544 -0
- package/.claude/commands/github/repo-analyze.md +25 -0
- package/.claude/commands/github/repo-architect.md +367 -0
- package/.claude/commands/github/swarm-issue.md +482 -0
- package/.claude/commands/github/swarm-pr.md +285 -0
- package/.claude/commands/github/sync-coordinator.md +301 -0
- package/.claude/commands/github/workflow-automation.md +442 -0
- package/.claude/commands/hive-mind/README.md +17 -0
- package/.claude/commands/hive-mind/hive-mind-consensus.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-init.md +18 -0
- package/.claude/commands/hive-mind/hive-mind-memory.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-metrics.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-resume.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-sessions.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-spawn.md +21 -0
- package/.claude/commands/hive-mind/hive-mind-status.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-stop.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-wizard.md +8 -0
- package/.claude/commands/hive-mind/hive-mind.md +27 -0
- package/.claude/commands/hooks/README.md +11 -0
- package/.claude/commands/hooks/overview.md +58 -0
- package/.claude/commands/hooks/post-edit.md +117 -0
- package/.claude/commands/hooks/post-task.md +112 -0
- package/.claude/commands/hooks/pre-edit.md +113 -0
- package/.claude/commands/hooks/pre-task.md +111 -0
- package/.claude/commands/hooks/session-end.md +118 -0
- package/.claude/commands/hooks/setup.md +103 -0
- package/.claude/commands/memory/README.md +9 -0
- package/.claude/commands/memory/memory-persist.md +25 -0
- package/.claude/commands/memory/memory-search.md +25 -0
- package/.claude/commands/memory/memory-usage.md +25 -0
- package/.claude/commands/memory/neural.md +47 -0
- package/.claude/commands/memory/usage.md +46 -0
- package/.claude/commands/monitoring/README.md +9 -0
- package/.claude/commands/monitoring/agent-metrics.md +25 -0
- package/.claude/commands/monitoring/agents.md +44 -0
- package/.claude/commands/monitoring/real-time-view.md +25 -0
- package/.claude/commands/monitoring/status.md +46 -0
- package/.claude/commands/monitoring/swarm-monitor.md +25 -0
- package/.claude/commands/optimization/README.md +9 -0
- package/.claude/commands/optimization/auto-topology.md +62 -0
- package/.claude/commands/optimization/cache-manage.md +25 -0
- package/.claude/commands/optimization/parallel-execute.md +25 -0
- package/.claude/commands/optimization/parallel-execution.md +50 -0
- package/.claude/commands/optimization/topology-optimize.md +25 -0
- package/.claude/commands/pair/README.md +261 -0
- package/.claude/commands/pair/commands.md +546 -0
- package/.claude/commands/pair/config.md +510 -0
- package/.claude/commands/pair/examples.md +512 -0
- package/.claude/commands/pair/modes.md +348 -0
- package/.claude/commands/pair/session.md +407 -0
- package/.claude/commands/pair/start.md +209 -0
- package/.claude/commands/sparc/analyzer.md +52 -0
- package/.claude/commands/sparc/architect.md +53 -0
- package/.claude/commands/sparc/batch-executor.md +54 -0
- package/.claude/commands/sparc/coder.md +54 -0
- package/.claude/commands/sparc/debugger.md +54 -0
- package/.claude/commands/sparc/designer.md +53 -0
- package/.claude/commands/sparc/documenter.md +54 -0
- package/.claude/commands/sparc/innovator.md +54 -0
- package/.claude/commands/sparc/memory-manager.md +54 -0
- package/.claude/commands/sparc/optimizer.md +54 -0
- package/.claude/commands/sparc/orchestrator.md +132 -0
- package/.claude/commands/sparc/researcher.md +54 -0
- package/.claude/commands/sparc/reviewer.md +54 -0
- package/.claude/commands/sparc/sparc-modes.md +174 -0
- package/.claude/commands/sparc/swarm-coordinator.md +54 -0
- package/.claude/commands/sparc/tdd.md +54 -0
- package/.claude/commands/sparc/tester.md +54 -0
- package/.claude/commands/sparc/workflow-manager.md +54 -0
- package/.claude/commands/stream-chain/pipeline.md +121 -0
- package/.claude/commands/stream-chain/run.md +70 -0
- package/.claude/commands/swarm/README.md +15 -0
- package/.claude/commands/swarm/analysis.md +95 -0
- package/.claude/commands/swarm/development.md +96 -0
- package/.claude/commands/swarm/examples.md +168 -0
- package/.claude/commands/swarm/maintenance.md +102 -0
- package/.claude/commands/swarm/optimization.md +117 -0
- package/.claude/commands/swarm/research.md +136 -0
- package/.claude/commands/swarm/swarm-analysis.md +8 -0
- package/.claude/commands/swarm/swarm-background.md +8 -0
- package/.claude/commands/swarm/swarm-init.md +19 -0
- package/.claude/commands/swarm/swarm-modes.md +8 -0
- package/.claude/commands/swarm/swarm-monitor.md +8 -0
- package/.claude/commands/swarm/swarm-spawn.md +19 -0
- package/.claude/commands/swarm/swarm-status.md +8 -0
- package/.claude/commands/swarm/swarm-strategies.md +8 -0
- package/.claude/commands/swarm/swarm.md +27 -0
- package/.claude/commands/swarm/testing.md +131 -0
- package/.claude/commands/testing/playwright-e2e.md +288 -0
- package/.claude/commands/training/README.md +9 -0
- package/.claude/commands/training/model-update.md +25 -0
- package/.claude/commands/training/neural-patterns.md +74 -0
- package/.claude/commands/training/neural-train.md +25 -0
- package/.claude/commands/training/pattern-learn.md +25 -0
- package/.claude/commands/training/specialization.md +63 -0
- package/.claude/commands/truth/start.md +143 -0
- package/.claude/commands/verify/check.md +50 -0
- package/.claude/commands/verify/start.md +128 -0
- package/.claude/commands/workflows/README.md +9 -0
- package/.claude/commands/workflows/development.md +78 -0
- package/.claude/commands/workflows/research.md +63 -0
- package/.claude/commands/workflows/workflow-create.md +25 -0
- package/.claude/commands/workflows/workflow-execute.md +25 -0
- package/.claude/commands/workflows/workflow-export.md +25 -0
- package/.claude/helpers/checkpoint-manager.sh +251 -0
- package/.claude/helpers/github-safe.js +106 -0
- package/.claude/helpers/github-setup.sh +28 -0
- package/.claude/helpers/quick-start.sh +19 -0
- package/.claude/helpers/setup-mcp.sh +18 -0
- package/.claude/helpers/standard-checkpoint-hooks.sh +179 -0
- package/.claude/settings.json +112 -0
- package/.claude/settings.local.json +10 -0
- package/CHANGELOG.md +1517 -0
- package/LICENSE +21 -0
- package/README.md +338 -0
- package/dist/src/adapters/cliffy-node.js +70 -0
- package/dist/src/adapters/cliffy-node.js.map +1 -0
- package/dist/src/agents/agent-loader.js +208 -0
- package/dist/src/agents/agent-loader.js.map +1 -0
- package/dist/src/agents/agent-manager.js +1786 -0
- package/dist/src/agents/agent-manager.js.map +1 -0
- package/dist/src/agents/agent-registry.js +356 -0
- package/dist/src/agents/agent-registry.js.map +1 -0
- package/dist/src/agents/agent-validator.js +273 -0
- package/dist/src/agents/agent-validator.js.map +1 -0
- package/dist/src/agents/github/agent-factory.js +553 -0
- package/dist/src/agents/github/agent-factory.js.map +1 -0
- package/dist/src/agents/github/compatibility/legacy-agent-mappings.js +307 -0
- package/dist/src/agents/github/compatibility/legacy-agent-mappings.js.map +1 -0
- package/dist/src/agents/github/compatibility/legacy-agent-proxy.js +334 -0
- package/dist/src/agents/github/compatibility/legacy-agent-proxy.js.map +1 -0
- package/dist/src/agents/github/core/github-collaboration-manager.js +796 -0
- package/dist/src/agents/github/core/github-collaboration-manager.js.map +1 -0
- package/dist/src/agents/github/core/github-integration-manager.js +546 -0
- package/dist/src/agents/github/core/github-integration-manager.js.map +1 -0
- package/dist/src/agents/github/core/github-release-coordinator.js +718 -0
- package/dist/src/agents/github/core/github-release-coordinator.js.map +1 -0
- package/dist/src/agents/github/index.js +68 -0
- package/dist/src/agents/github/index.js.map +1 -0
- package/dist/src/agents/github/types/index.js +6 -0
- package/dist/src/agents/github/types/index.js.map +1 -0
- package/dist/src/agents/github/utils/error-handling.js +496 -0
- package/dist/src/agents/github/utils/error-handling.js.map +1 -0
- package/dist/src/agents/github/utils/github-client.js +158 -0
- package/dist/src/agents/github/utils/github-client.js.map +1 -0
- package/dist/src/agents/github/utils/hook-integration.js +450 -0
- package/dist/src/agents/github/utils/hook-integration.js.map +1 -0
- package/dist/src/agents/github/utils/performance-optimizer.js +501 -0
- package/dist/src/agents/github/utils/performance-optimizer.js.map +1 -0
- package/dist/src/agents/hierarchical-coordinator.js +775 -0
- package/dist/src/agents/hierarchical-coordinator.js.map +1 -0
- package/dist/src/agents/lifecycle-manager.js +613 -0
- package/dist/src/agents/lifecycle-manager.js.map +1 -0
- package/dist/src/agents/mesh-coordinator.js +580 -0
- package/dist/src/agents/mesh-coordinator.js.map +1 -0
- package/dist/src/agents/simple-agent.js +89 -0
- package/dist/src/agents/simple-agent.js.map +1 -0
- package/dist/src/agents/task-agent-integration.js +240 -0
- package/dist/src/agents/task-agent-integration.js.map +1 -0
- package/dist/src/api/auth-service.js +474 -0
- package/dist/src/api/auth-service.js.map +1 -0
- package/dist/src/api/claude-api-errors.js +171 -0
- package/dist/src/api/claude-api-errors.js.map +1 -0
- package/dist/src/api/claude-client-enhanced.js +473 -0
- package/dist/src/api/claude-client-enhanced.js.map +1 -0
- package/dist/src/api/claude-client.js +527 -0
- package/dist/src/api/claude-client.js.map +1 -0
- package/dist/src/api/database-service.js +666 -0
- package/dist/src/api/database-service.js.map +1 -0
- package/dist/src/api/swarm-api.js +585 -0
- package/dist/src/api/swarm-api.js.map +1 -0
- package/dist/src/automation/test-pipeline/E2ETestGenerator.js +448 -0
- package/dist/src/automation/test-pipeline/E2ETestGenerator.js.map +1 -0
- package/dist/src/automation/test-pipeline/PerformanceMonitor.js +572 -0
- package/dist/src/automation/test-pipeline/PerformanceMonitor.js.map +1 -0
- package/dist/src/automation/test-pipeline/PipelineValidator.js +654 -0
- package/dist/src/automation/test-pipeline/PipelineValidator.js.map +1 -0
- package/dist/src/automation/test-pipeline/RegressionTestManager.js +545 -0
- package/dist/src/automation/test-pipeline/RegressionTestManager.js.map +1 -0
- package/dist/src/automation/test-pipeline/SwarmTestCoordinator.js +450 -0
- package/dist/src/automation/test-pipeline/SwarmTestCoordinator.js.map +1 -0
- package/dist/src/automation/test-pipeline/TestDataManager.js +708 -0
- package/dist/src/automation/test-pipeline/TestDataManager.js.map +1 -0
- package/dist/src/automation/test-pipeline/TestReportingSystem.js +527 -0
- package/dist/src/automation/test-pipeline/TestReportingSystem.js.map +1 -0
- package/dist/src/automation/test-pipeline/utils/chrome-mcp-integration.js +353 -0
- package/dist/src/automation/test-pipeline/utils/chrome-mcp-integration.js.map +1 -0
- package/dist/src/automation/test-pipeline/utils/swarm-coordinator.js +448 -0
- package/dist/src/automation/test-pipeline/utils/swarm-coordinator.js.map +1 -0
- package/dist/src/ci-cd/deployment-orchestrator.js +477 -0
- package/dist/src/ci-cd/deployment-orchestrator.js.map +1 -0
- package/dist/src/ci-cd/github-actions-templates.js +972 -0
- package/dist/src/ci-cd/github-actions-templates.js.map +1 -0
- package/dist/src/ci-cd/performance/PerformanceGate.js +383 -0
- package/dist/src/ci-cd/performance/PerformanceGate.js.map +1 -0
- package/dist/src/cli/agents/analyst.js +788 -0
- package/dist/src/cli/agents/analyst.js.map +1 -0
- package/dist/src/cli/agents/architect.js +846 -0
- package/dist/src/cli/agents/architect.js.map +1 -0
- package/dist/src/cli/agents/base-agent.js +437 -0
- package/dist/src/cli/agents/base-agent.js.map +1 -0
- package/dist/src/cli/agents/capabilities.js +701 -0
- package/dist/src/cli/agents/capabilities.js.map +1 -0
- package/dist/src/cli/agents/coder.js +936 -0
- package/dist/src/cli/agents/coder.js.map +1 -0
- package/dist/src/cli/agents/coordinator.js +489 -0
- package/dist/src/cli/agents/coordinator.js.map +1 -0
- package/dist/src/cli/agents/hive-agents.js +708 -0
- package/dist/src/cli/agents/hive-agents.js.map +1 -0
- package/dist/src/cli/agents/index.js +299 -0
- package/dist/src/cli/agents/index.js.map +1 -0
- package/dist/src/cli/agents/researcher.js +388 -0
- package/dist/src/cli/agents/researcher.js.map +1 -0
- package/dist/src/cli/agents/tester.js +634 -0
- package/dist/src/cli/agents/tester.js.map +1 -0
- package/dist/src/cli/cli-core.js +264 -0
- package/dist/src/cli/cli-core.js.map +1 -0
- package/dist/src/cli/commands/advanced-memory-commands.js +834 -0
- package/dist/src/cli/commands/advanced-memory-commands.js.map +1 -0
- package/dist/src/cli/commands/agent-simple.js +346 -0
- package/dist/src/cli/commands/agent-simple.js.map +1 -0
- package/dist/src/cli/commands/agent.js +368 -0
- package/dist/src/cli/commands/agent.js.map +1 -0
- package/dist/src/cli/commands/claude-api.js +237 -0
- package/dist/src/cli/commands/claude-api.js.map +1 -0
- package/dist/src/cli/commands/claude.js +132 -0
- package/dist/src/cli/commands/claude.js.map +1 -0
- package/dist/src/cli/commands/config-integration.js +395 -0
- package/dist/src/cli/commands/config-integration.js.map +1 -0
- package/dist/src/cli/commands/config.js +67 -0
- package/dist/src/cli/commands/config.js.map +1 -0
- package/dist/src/cli/commands/enterprise.js +1523 -0
- package/dist/src/cli/commands/enterprise.js.map +1 -0
- package/dist/src/cli/commands/goal-init.js +262 -0
- package/dist/src/cli/commands/goal-init.js.map +1 -0
- package/dist/src/cli/commands/help-new.js +276 -0
- package/dist/src/cli/commands/help-new.js.map +1 -0
- package/dist/src/cli/commands/help.js +1055 -0
- package/dist/src/cli/commands/help.js.map +1 -0
- package/dist/src/cli/commands/hive-mind/index.js +20 -0
- package/dist/src/cli/commands/hive-mind/index.js.map +1 -0
- package/dist/src/cli/commands/hive-mind/init.js +58 -0
- package/dist/src/cli/commands/hive-mind/init.js.map +1 -0
- package/dist/src/cli/commands/hive-mind/optimize-memory.js +362 -0
- package/dist/src/cli/commands/hive-mind/optimize-memory.js.map +1 -0
- package/dist/src/cli/commands/hive-mind/pause.js +73 -0
- package/dist/src/cli/commands/hive-mind/pause.js.map +1 -0
- package/dist/src/cli/commands/hive-mind/ps.js +104 -0
- package/dist/src/cli/commands/hive-mind/ps.js.map +1 -0
- package/dist/src/cli/commands/hive-mind/resume.js +56 -0
- package/dist/src/cli/commands/hive-mind/resume.js.map +1 -0
- package/dist/src/cli/commands/hive-mind/spawn.js +242 -0
- package/dist/src/cli/commands/hive-mind/spawn.js.map +1 -0
- package/dist/src/cli/commands/hive-mind/status.js +250 -0
- package/dist/src/cli/commands/hive-mind/status.js.map +1 -0
- package/dist/src/cli/commands/hive-mind/stop.js +116 -0
- package/dist/src/cli/commands/hive-mind/stop.js.map +1 -0
- package/dist/src/cli/commands/hive-mind/task.js +302 -0
- package/dist/src/cli/commands/hive-mind/task.js.map +1 -0
- package/dist/src/cli/commands/hive-mind/wizard.js +705 -0
- package/dist/src/cli/commands/hive-mind/wizard.js.map +1 -0
- package/dist/src/cli/commands/hive.js +506 -0
- package/dist/src/cli/commands/hive.js.map +1 -0
- package/dist/src/cli/commands/hook-types.js +5 -0
- package/dist/src/cli/commands/hook-types.js.map +1 -0
- package/dist/src/cli/commands/hook-validator.js +177 -0
- package/dist/src/cli/commands/hook-validator.js.map +1 -0
- package/dist/src/cli/commands/hook.js +303 -0
- package/dist/src/cli/commands/hook.js.map +1 -0
- package/dist/src/cli/commands/index.js +2745 -0
- package/dist/src/cli/commands/index.js.map +1 -0
- package/dist/src/cli/commands/maestro.js +242 -0
- package/dist/src/cli/commands/maestro.js.map +1 -0
- package/dist/src/cli/commands/mcp.js +148 -0
- package/dist/src/cli/commands/mcp.js.map +1 -0
- package/dist/src/cli/commands/memory.js +193 -0
- package/dist/src/cli/commands/memory.js.map +1 -0
- package/dist/src/cli/commands/migrate.js +107 -0
- package/dist/src/cli/commands/migrate.js.map +1 -0
- package/dist/src/cli/commands/monitor.js +574 -0
- package/dist/src/cli/commands/monitor.js.map +1 -0
- package/dist/src/cli/commands/neural-init.js +211 -0
- package/dist/src/cli/commands/neural-init.js.map +1 -0
- package/dist/src/cli/commands/ruv-swarm.js +555 -0
- package/dist/src/cli/commands/ruv-swarm.js.map +1 -0
- package/dist/src/cli/commands/session.js +517 -0
- package/dist/src/cli/commands/session.js.map +1 -0
- package/dist/src/cli/commands/sparc.js +486 -0
- package/dist/src/cli/commands/sparc.js.map +1 -0
- package/dist/src/cli/commands/start/event-emitter.js +35 -0
- package/dist/src/cli/commands/start/event-emitter.js.map +1 -0
- package/dist/src/cli/commands/start/index.js +9 -0
- package/dist/src/cli/commands/start/index.js.map +1 -0
- package/dist/src/cli/commands/start/process-manager.js +294 -0
- package/dist/src/cli/commands/start/process-manager.js.map +1 -0
- package/dist/src/cli/commands/start/process-ui-simple.js +322 -0
- package/dist/src/cli/commands/start/process-ui-simple.js.map +1 -0
- package/dist/src/cli/commands/start/process-ui.js +5 -0
- package/dist/src/cli/commands/start/process-ui.js.map +1 -0
- package/dist/src/cli/commands/start/start-command.js +463 -0
- package/dist/src/cli/commands/start/start-command.js.map +1 -0
- package/dist/src/cli/commands/start/system-monitor.js +268 -0
- package/dist/src/cli/commands/start/system-monitor.js.map +1 -0
- package/dist/src/cli/commands/start/types.js +22 -0
- package/dist/src/cli/commands/start/types.js.map +1 -0
- package/dist/src/cli/commands/start.js +6 -0
- package/dist/src/cli/commands/start.js.map +1 -0
- package/dist/src/cli/commands/status.js +328 -0
- package/dist/src/cli/commands/status.js.map +1 -0
- package/dist/src/cli/commands/swarm-spawn.js +56 -0
- package/dist/src/cli/commands/swarm-spawn.js.map +1 -0
- package/dist/src/cli/commands/swarm.js +567 -0
- package/dist/src/cli/commands/swarm.js.map +1 -0
- package/dist/src/cli/commands/task.js +44 -0
- package/dist/src/cli/commands/task.js.map +1 -0
- package/dist/src/cli/commands/validate-integration.js +122 -0
- package/dist/src/cli/commands/validate-integration.js.map +1 -0
- package/dist/src/cli/commands/verification.js +351 -0
- package/dist/src/cli/commands/verification.js.map +1 -0
- package/dist/src/cli/commands/workflow.js +615 -0
- package/dist/src/cli/commands/workflow.js.map +1 -0
- package/dist/src/cli/completion.js +578 -0
- package/dist/src/cli/completion.js.map +1 -0
- package/dist/src/cli/consolidated/ConsolidatedCLI.js +379 -0
- package/dist/src/cli/consolidated/ConsolidatedCLI.js.map +1 -0
- package/dist/src/cli/consolidated/core/CommandHandlers.js +833 -0
- package/dist/src/cli/consolidated/core/CommandHandlers.js.map +1 -0
- package/dist/src/cli/consolidated/core/TierManager.js +291 -0
- package/dist/src/cli/consolidated/core/TierManager.js.map +1 -0
- package/dist/src/cli/consolidated/help/InteractiveHelp.js +714 -0
- package/dist/src/cli/consolidated/help/InteractiveHelp.js.map +1 -0
- package/dist/src/cli/consolidated/index.js +62 -0
- package/dist/src/cli/consolidated/index.js.map +1 -0
- package/dist/src/cli/consolidated/intelligence/IntelligenceEngine.js +457 -0
- package/dist/src/cli/consolidated/intelligence/IntelligenceEngine.js.map +1 -0
- package/dist/src/cli/consolidated/routing/CommandRouter.js +526 -0
- package/dist/src/cli/consolidated/routing/CommandRouter.js.map +1 -0
- package/dist/src/cli/consolidated/utils/IntelligentDefaults.js +729 -0
- package/dist/src/cli/consolidated/utils/IntelligentDefaults.js.map +1 -0
- package/dist/src/cli/consolidated/utils/PerformanceOptimizer.js +416 -0
- package/dist/src/cli/consolidated/utils/PerformanceOptimizer.js.map +1 -0
- package/dist/src/cli/formatter.js +284 -0
- package/dist/src/cli/formatter.js.map +1 -0
- package/dist/src/cli/help-formatter.js +111 -0
- package/dist/src/cli/help-formatter.js.map +1 -0
- package/dist/src/cli/index-remote.js +125 -0
- package/dist/src/cli/index-remote.js.map +1 -0
- package/dist/src/cli/index.js +159 -0
- package/dist/src/cli/index.js.map +1 -0
- package/dist/src/cli/init/batch-tools.js +388 -0
- package/dist/src/cli/init/batch-tools.js.map +1 -0
- package/dist/src/cli/init/claude-config.js +401 -0
- package/dist/src/cli/init/claude-config.js.map +1 -0
- package/dist/src/cli/init/directory-structure.js +146 -0
- package/dist/src/cli/init/directory-structure.js.map +1 -0
- package/dist/src/cli/init/index.js +52 -0
- package/dist/src/cli/init/index.js.map +1 -0
- package/dist/src/cli/init/sparc-environment.js +543 -0
- package/dist/src/cli/init/sparc-environment.js.map +1 -0
- package/dist/src/cli/init/swarm-commands.js +796 -0
- package/dist/src/cli/init/swarm-commands.js.map +1 -0
- package/dist/src/cli/init/utils.js +15 -0
- package/dist/src/cli/init/utils.js.map +1 -0
- package/dist/src/cli/maestro-cli-bridge.js +426 -0
- package/dist/src/cli/maestro-cli-bridge.js.map +1 -0
- package/dist/src/cli/main.js +26 -0
- package/dist/src/cli/main.js.map +1 -0
- package/dist/src/cli/node-repl.js +652 -0
- package/dist/src/cli/node-repl.js.map +1 -0
- package/dist/src/cli/repl.js +1078 -0
- package/dist/src/cli/repl.js.map +1 -0
- package/dist/src/cli/simple-cli.js +3026 -0
- package/dist/src/cli/simple-cli.js.map +1 -0
- package/dist/src/cli/simple-mcp.js +87 -0
- package/dist/src/cli/simple-mcp.js.map +1 -0
- package/dist/src/cli/simple-orchestrator.js +857 -0
- package/dist/src/cli/simple-orchestrator.js.map +1 -0
- package/dist/src/cli/ui/compatible-ui.js +322 -0
- package/dist/src/cli/ui/compatible-ui.js.map +1 -0
- package/dist/src/cli/ui/fallback-handler.js +156 -0
- package/dist/src/cli/ui/fallback-handler.js.map +1 -0
- package/dist/src/cli/ui/index.js +32 -0
- package/dist/src/cli/ui/index.js.map +1 -0
- package/dist/src/cli/utils/environment-detector.js +228 -0
- package/dist/src/cli/utils/environment-detector.js.map +1 -0
- package/dist/src/cli/utils/prompt-defaults.js +234 -0
- package/dist/src/cli/utils/prompt-defaults.js.map +1 -0
- package/dist/src/cli/validation-helper.js +66 -0
- package/dist/src/cli/validation-helper.js.map +1 -0
- package/dist/src/communication/message-bus.js +1007 -0
- package/dist/src/communication/message-bus.js.map +1 -0
- package/dist/src/communication/reliable-communication-manager.js +374 -0
- package/dist/src/communication/reliable-communication-manager.js.map +1 -0
- package/dist/src/config/ai/decision-tree-generator.js +763 -0
- package/dist/src/config/ai/decision-tree-generator.js.map +1 -0
- package/dist/src/config/ai/project-detection-engine.js +1081 -0
- package/dist/src/config/ai/project-detection-engine.js.map +1 -0
- package/dist/src/config/config-manager.js +1285 -0
- package/dist/src/config/config-manager.js.map +1 -0
- package/dist/src/config/consent-manager.js +433 -0
- package/dist/src/config/consent-manager.js.map +1 -0
- package/dist/src/config/core/intelligent-configuration-manager.js +674 -0
- package/dist/src/config/core/intelligent-configuration-manager.js.map +1 -0
- package/dist/src/config/index.js +110 -0
- package/dist/src/config/index.js.map +1 -0
- package/dist/src/config/integration/hooks-integration.js +548 -0
- package/dist/src/config/integration/hooks-integration.js.map +1 -0
- package/dist/src/config/migration/config-migration.js +285 -0
- package/dist/src/config/migration/config-migration.js.map +1 -0
- package/dist/src/config/migration/version-migration-engine.js +984 -0
- package/dist/src/config/migration/version-migration-engine.js.map +1 -0
- package/dist/src/config/migration-manager.js +529 -0
- package/dist/src/config/migration-manager.js.map +1 -0
- package/dist/src/config/ruv-swarm-config.js +332 -0
- package/dist/src/config/ruv-swarm-config.js.map +1 -0
- package/dist/src/config/ruv-swarm-integration.js +285 -0
- package/dist/src/config/ruv-swarm-integration.js.map +1 -0
- package/dist/src/config/storage/multi-tier-storage.js +626 -0
- package/dist/src/config/storage/multi-tier-storage.js.map +1 -0
- package/dist/src/config/test-migration-fixer.js +332 -0
- package/dist/src/config/test-migration-fixer.js.map +1 -0
- package/dist/src/config/ui/progressive-disclosure-engine.js +876 -0
- package/dist/src/config/ui/progressive-disclosure-engine.js.map +1 -0
- package/dist/src/config/utils/config-export-import.js +454 -0
- package/dist/src/config/utils/config-export-import.js.map +1 -0
- package/dist/src/config/utils/zero-config-setup.js +238 -0
- package/dist/src/config/utils/zero-config-setup.js.map +1 -0
- package/dist/src/config/validation/config-validator.js +462 -0
- package/dist/src/config/validation/config-validator.js.map +1 -0
- package/dist/src/config/web-portal-config.js +343 -0
- package/dist/src/config/web-portal-config.js.map +1 -0
- package/dist/src/config/zero-config-setup.js +294 -0
- package/dist/src/config/zero-config-setup.js.map +1 -0
- package/dist/src/constants/agent-types.js +51 -0
- package/dist/src/constants/agent-types.js.map +1 -0
- package/dist/src/coordination/advanced-scheduler.js +370 -0
- package/dist/src/coordination/advanced-scheduler.js.map +1 -0
- package/dist/src/coordination/advanced-task-executor.js +481 -0
- package/dist/src/coordination/advanced-task-executor.js.map +1 -0
- package/dist/src/coordination/background-executor.js +366 -0
- package/dist/src/coordination/background-executor.js.map +1 -0
- package/dist/src/coordination/circuit-breaker.js +286 -0
- package/dist/src/coordination/circuit-breaker.js.map +1 -0
- package/dist/src/coordination/conflict-resolution.js +348 -0
- package/dist/src/coordination/conflict-resolution.js.map +1 -0
- package/dist/src/coordination/dependency-graph.js +398 -0
- package/dist/src/coordination/dependency-graph.js.map +1 -0
- package/dist/src/coordination/hive-orchestrator.js +309 -0
- package/dist/src/coordination/hive-orchestrator.js.map +1 -0
- package/dist/src/coordination/hive-protocol.js +363 -0
- package/dist/src/coordination/hive-protocol.js.map +1 -0
- package/dist/src/coordination/index.js +21 -0
- package/dist/src/coordination/index.js.map +1 -0
- package/dist/src/coordination/load-balancer.js +737 -0
- package/dist/src/coordination/load-balancer.js.map +1 -0
- package/dist/src/coordination/manager.js +360 -0
- package/dist/src/coordination/manager.js.map +1 -0
- package/dist/src/coordination/messaging.js +221 -0
- package/dist/src/coordination/messaging.js.map +1 -0
- package/dist/src/coordination/metrics.js +415 -0
- package/dist/src/coordination/metrics.js.map +1 -0
- package/dist/src/coordination/resources.js +276 -0
- package/dist/src/coordination/resources.js.map +1 -0
- package/dist/src/coordination/scheduler.js +322 -0
- package/dist/src/coordination/scheduler.js.map +1 -0
- package/dist/src/coordination/swarm-coordinator.js +585 -0
- package/dist/src/coordination/swarm-coordinator.js.map +1 -0
- package/dist/src/coordination/swarm-monitor.js +359 -0
- package/dist/src/coordination/swarm-monitor.js.map +1 -0
- package/dist/src/coordination/work-stealing.js +164 -0
- package/dist/src/coordination/work-stealing.js.map +1 -0
- package/dist/src/core/agent-manager.js +80 -0
- package/dist/src/core/agent-manager.js.map +1 -0
- package/dist/src/core/config.js +1221 -0
- package/dist/src/core/config.js.map +1 -0
- package/dist/src/core/event-bus.js +136 -0
- package/dist/src/core/event-bus.js.map +1 -0
- package/dist/src/core/index.js +6 -0
- package/dist/src/core/index.js.map +1 -0
- package/dist/src/core/json-persistence.js +112 -0
- package/dist/src/core/json-persistence.js.map +1 -0
- package/dist/src/core/logger.js +245 -0
- package/dist/src/core/logger.js.map +1 -0
- package/dist/src/core/orchestrator-fixed.js +236 -0
- package/dist/src/core/orchestrator-fixed.js.map +1 -0
- package/dist/src/core/orchestrator.js +1136 -0
- package/dist/src/core/orchestrator.js.map +1 -0
- package/dist/src/core/persistence.js +185 -0
- package/dist/src/core/persistence.js.map +1 -0
- package/dist/src/core/project-manager.js +80 -0
- package/dist/src/core/project-manager.js.map +1 -0
- package/dist/src/core/version.js +35 -0
- package/dist/src/core/version.js.map +1 -0
- package/dist/src/crdt/types.js +509 -0
- package/dist/src/crdt/types.js.map +1 -0
- package/dist/src/enterprise/analytics-manager.js +1133 -0
- package/dist/src/enterprise/analytics-manager.js.map +1 -0
- package/dist/src/enterprise/audit-manager.js +1112 -0
- package/dist/src/enterprise/audit-manager.js.map +1 -0
- package/dist/src/enterprise/cloud-manager.js +886 -0
- package/dist/src/enterprise/cloud-manager.js.map +1 -0
- package/dist/src/enterprise/deployment-manager.js +963 -0
- package/dist/src/enterprise/deployment-manager.js.map +1 -0
- package/dist/src/enterprise/index.js +8 -0
- package/dist/src/enterprise/index.js.map +1 -0
- package/dist/src/enterprise/project-manager.js +577 -0
- package/dist/src/enterprise/project-manager.js.map +1 -0
- package/dist/src/enterprise/security-manager.js +987 -0
- package/dist/src/enterprise/security-manager.js.map +1 -0
- package/dist/src/feature-flags/cli/Phase4CLI.js +463 -0
- package/dist/src/feature-flags/cli/Phase4CLI.js.map +1 -0
- package/dist/src/feature-flags/core/FeatureFlagManager.js +324 -0
- package/dist/src/feature-flags/core/FeatureFlagManager.js.map +1 -0
- package/dist/src/feature-flags/index.js +237 -0
- package/dist/src/feature-flags/index.js.map +1 -0
- package/dist/src/feature-flags/monitoring/RolloutMonitor.js +275 -0
- package/dist/src/feature-flags/monitoring/RolloutMonitor.js.map +1 -0
- package/dist/src/feature-flags/rollout/RolloutController.js +301 -0
- package/dist/src/feature-flags/rollout/RolloutController.js.map +1 -0
- package/dist/src/feature-flags/validation/HookInterceptor.js +310 -0
- package/dist/src/feature-flags/validation/HookInterceptor.js.map +1 -0
- package/dist/src/feature-flags/validation/TruthBasedValidator.js +263 -0
- package/dist/src/feature-flags/validation/TruthBasedValidator.js.map +1 -0
- package/dist/src/hive-mind/core/Agent.js +569 -0
- package/dist/src/hive-mind/core/Agent.js.map +1 -0
- package/dist/src/hive-mind/core/Communication.js +411 -0
- package/dist/src/hive-mind/core/Communication.js.map +1 -0
- package/dist/src/hive-mind/core/DatabaseManager.js +599 -0
- package/dist/src/hive-mind/core/DatabaseManager.js.map +1 -0
- package/dist/src/hive-mind/core/HiveMind.js +575 -0
- package/dist/src/hive-mind/core/HiveMind.js.map +1 -0
- package/dist/src/hive-mind/core/Memory.js +1159 -0
- package/dist/src/hive-mind/core/Memory.js.map +1 -0
- package/dist/src/hive-mind/core/MemoryMonitor.js +525 -0
- package/dist/src/hive-mind/core/MemoryMonitor.js.map +1 -0
- package/dist/src/hive-mind/core/Queen.js +753 -0
- package/dist/src/hive-mind/core/Queen.js.map +1 -0
- package/dist/src/hive-mind/index.js +21 -0
- package/dist/src/hive-mind/index.js.map +1 -0
- package/dist/src/hive-mind/integration/ConsensusEngine.js +460 -0
- package/dist/src/hive-mind/integration/ConsensusEngine.js.map +1 -0
- package/dist/src/hive-mind/integration/MCPToolWrapper.js +243 -0
- package/dist/src/hive-mind/integration/MCPToolWrapper.js.map +1 -0
- package/dist/src/hive-mind/integration/SwarmOrchestrator.js +812 -0
- package/dist/src/hive-mind/integration/SwarmOrchestrator.js.map +1 -0
- package/dist/src/hive-mind/types.js +9 -0
- package/dist/src/hive-mind/types.js.map +1 -0
- package/dist/src/hooks/index.js +197 -0
- package/dist/src/hooks/index.js.map +1 -0
- package/dist/src/index.js +11 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/integration/mock-components.js +362 -0
- package/dist/src/integration/mock-components.js.map +1 -0
- package/dist/src/integration/system-integration.js +428 -0
- package/dist/src/integration/system-integration.js.map +1 -0
- package/dist/src/integration/types.js +5 -0
- package/dist/src/integration/types.js.map +1 -0
- package/dist/src/lifecycle/communication-protocols.js +568 -0
- package/dist/src/lifecycle/communication-protocols.js.map +1 -0
- package/dist/src/lifecycle/dependency-tracker.js +799 -0
- package/dist/src/lifecycle/dependency-tracker.js.map +1 -0
- package/dist/src/lifecycle/memory-schema.js +622 -0
- package/dist/src/lifecycle/memory-schema.js.map +1 -0
- package/dist/src/maestro/maestro-swarm-coordinator.js +504 -0
- package/dist/src/maestro/maestro-swarm-coordinator.js.map +1 -0
- package/dist/src/maestro/maestro-types.js +3 -0
- package/dist/src/maestro/maestro-types.js.map +1 -0
- package/dist/src/maestro/tests/native-hive-mind-integration.test.js +382 -0
- package/dist/src/maestro/tests/native-hive-mind-integration.test.js.map +1 -0
- package/dist/src/mcp/auth.js +347 -0
- package/dist/src/mcp/auth.js.map +1 -0
- package/dist/src/mcp/claude-code-wrapper.js +717 -0
- package/dist/src/mcp/claude-code-wrapper.js.map +1 -0
- package/dist/src/mcp/claude-flow-tools.js +1365 -0
- package/dist/src/mcp/claude-flow-tools.js.map +1 -0
- package/dist/src/mcp/client.js +201 -0
- package/dist/src/mcp/client.js.map +1 -0
- package/dist/src/mcp/index.js +192 -0
- package/dist/src/mcp/index.js.map +1 -0
- package/dist/src/mcp/integrate-wrapper.js +85 -0
- package/dist/src/mcp/integrate-wrapper.js.map +1 -0
- package/dist/src/mcp/lifecycle-manager.js +348 -0
- package/dist/src/mcp/lifecycle-manager.js.map +1 -0
- package/dist/src/mcp/load-balancer.js +386 -0
- package/dist/src/mcp/load-balancer.js.map +1 -0
- package/dist/src/mcp/orchestration-integration.js +800 -0
- package/dist/src/mcp/orchestration-integration.js.map +1 -0
- package/dist/src/mcp/performance-monitor.js +489 -0
- package/dist/src/mcp/performance-monitor.js.map +1 -0
- package/dist/src/mcp/protocol-manager.js +376 -0
- package/dist/src/mcp/protocol-manager.js.map +1 -0
- package/dist/src/mcp/recovery/connection-health-monitor.js +240 -0
- package/dist/src/mcp/recovery/connection-health-monitor.js.map +1 -0
- package/dist/src/mcp/recovery/connection-state-manager.js +309 -0
- package/dist/src/mcp/recovery/connection-state-manager.js.map +1 -0
- package/dist/src/mcp/recovery/fallback-coordinator.js +288 -0
- package/dist/src/mcp/recovery/fallback-coordinator.js.map +1 -0
- package/dist/src/mcp/recovery/index.js +10 -0
- package/dist/src/mcp/recovery/index.js.map +1 -0
- package/dist/src/mcp/recovery/reconnection-manager.js +219 -0
- package/dist/src/mcp/recovery/reconnection-manager.js.map +1 -0
- package/dist/src/mcp/recovery/recovery-manager.js +262 -0
- package/dist/src/mcp/recovery/recovery-manager.js.map +1 -0
- package/dist/src/mcp/router.js +220 -0
- package/dist/src/mcp/router.js.map +1 -0
- package/dist/src/mcp/ruv-swarm-tools.js +671 -0
- package/dist/src/mcp/ruv-swarm-tools.js.map +1 -0
- package/dist/src/mcp/server-with-wrapper.js +32 -0
- package/dist/src/mcp/server-with-wrapper.js.map +1 -0
- package/dist/src/mcp/server-wrapper-mode.js +26 -0
- package/dist/src/mcp/server-wrapper-mode.js.map +1 -0
- package/dist/src/mcp/server.js +539 -0
- package/dist/src/mcp/server.js.map +1 -0
- package/dist/src/mcp/session-manager.js +338 -0
- package/dist/src/mcp/session-manager.js.map +1 -0
- package/dist/src/mcp/sparc-modes.js +455 -0
- package/dist/src/mcp/sparc-modes.js.map +1 -0
- package/dist/src/mcp/swarm-tools.js +903 -0
- package/dist/src/mcp/swarm-tools.js.map +1 -0
- package/dist/src/mcp/tests/mcp-integration.test.js +493 -0
- package/dist/src/mcp/tests/mcp-integration.test.js.map +1 -0
- package/dist/src/mcp/tools.js +426 -0
- package/dist/src/mcp/tools.js.map +1 -0
- package/dist/src/mcp/transports/base.js +5 -0
- package/dist/src/mcp/transports/base.js.map +1 -0
- package/dist/src/mcp/transports/http.js +414 -0
- package/dist/src/mcp/transports/http.js.map +1 -0
- package/dist/src/mcp/transports/stdio.js +217 -0
- package/dist/src/mcp/transports/stdio.js.map +1 -0
- package/dist/src/memory/advanced-memory-manager.js +1522 -0
- package/dist/src/memory/advanced-memory-manager.js.map +1 -0
- package/dist/src/memory/backends/base.js +5 -0
- package/dist/src/memory/backends/base.js.map +1 -0
- package/dist/src/memory/backends/markdown.js +235 -0
- package/dist/src/memory/backends/markdown.js.map +1 -0
- package/dist/src/memory/backends/sqlite.js +295 -0
- package/dist/src/memory/backends/sqlite.js.map +1 -0
- package/dist/src/memory/cache.js +177 -0
- package/dist/src/memory/cache.js.map +1 -0
- package/dist/src/memory/distributed-memory.js +745 -0
- package/dist/src/memory/distributed-memory.js.map +1 -0
- package/dist/src/memory/indexer.js +184 -0
- package/dist/src/memory/indexer.js.map +1 -0
- package/dist/src/memory/manager.js +457 -0
- package/dist/src/memory/manager.js.map +1 -0
- package/dist/src/memory/sqlite-enhanced-backend.js +529 -0
- package/dist/src/memory/sqlite-enhanced-backend.js.map +1 -0
- package/dist/src/memory/swarm-memory.js +446 -0
- package/dist/src/memory/swarm-memory.js.map +1 -0
- package/dist/src/migration/index.js +94 -0
- package/dist/src/migration/index.js.map +1 -0
- package/dist/src/migration/logger.js +110 -0
- package/dist/src/migration/logger.js.map +1 -0
- package/dist/src/migration/migration-analyzer.js +255 -0
- package/dist/src/migration/migration-analyzer.js.map +1 -0
- package/dist/src/migration/migration-runner.js +511 -0
- package/dist/src/migration/migration-runner.js.map +1 -0
- package/dist/src/migration/migration-validator.js +272 -0
- package/dist/src/migration/migration-validator.js.map +1 -0
- package/dist/src/migration/progress-reporter.js +139 -0
- package/dist/src/migration/progress-reporter.js.map +1 -0
- package/dist/src/migration/rollback-manager.js +310 -0
- package/dist/src/migration/rollback-manager.js.map +1 -0
- package/dist/src/migration/tests/migration-system.test.js +9 -0
- package/dist/src/migration/tests/migration-system.test.js.map +1 -0
- package/dist/src/migration/types.js +5 -0
- package/dist/src/migration/types.js.map +1 -0
- package/dist/src/monitoring/diagnostics.js +532 -0
- package/dist/src/monitoring/diagnostics.js.map +1 -0
- package/dist/src/monitoring/health-check.js +355 -0
- package/dist/src/monitoring/health-check.js.map +1 -0
- package/dist/src/monitoring/phase4/analytics/consensus-tracker.js +764 -0
- package/dist/src/monitoring/phase4/analytics/consensus-tracker.js.map +1 -0
- package/dist/src/monitoring/phase4/analytics/performance-assessor.js +859 -0
- package/dist/src/monitoring/phase4/analytics/performance-assessor.js.map +1 -0
- package/dist/src/monitoring/phase4/analytics/truth-score-analyzer.js +667 -0
- package/dist/src/monitoring/phase4/analytics/truth-score-analyzer.js.map +1 -0
- package/dist/src/monitoring/phase4/dashboard/monitoring-dashboard.js +1008 -0
- package/dist/src/monitoring/phase4/dashboard/monitoring-dashboard.js.map +1 -0
- package/dist/src/monitoring/phase4/rollout-decision-engine.js +849 -0
- package/dist/src/monitoring/phase4/rollout-decision-engine.js.map +1 -0
- package/dist/src/monitoring/real-time-feedback-system.js +688 -0
- package/dist/src/monitoring/real-time-feedback-system.js.map +1 -0
- package/dist/src/monitoring/real-time-monitor.js +981 -0
- package/dist/src/monitoring/real-time-monitor.js.map +1 -0
- package/dist/src/monitoring/regression/RegressionDetector.js +525 -0
- package/dist/src/monitoring/regression/RegressionDetector.js.map +1 -0
- package/dist/src/neural/NeuralDomainMapper.js +1137 -0
- package/dist/src/neural/NeuralDomainMapper.js.map +1 -0
- package/dist/src/neural/index.js +418 -0
- package/dist/src/neural/index.js.map +1 -0
- package/dist/src/neural/integration.js +590 -0
- package/dist/src/neural/integration.js.map +1 -0
- package/dist/src/providers/anthropic-provider.js +245 -0
- package/dist/src/providers/anthropic-provider.js.map +1 -0
- package/dist/src/providers/base-provider.js +389 -0
- package/dist/src/providers/base-provider.js.map +1 -0
- package/dist/src/providers/cohere-provider.js +405 -0
- package/dist/src/providers/cohere-provider.js.map +1 -0
- package/dist/src/providers/google-provider.js +376 -0
- package/dist/src/providers/google-provider.js.map +1 -0
- package/dist/src/providers/index.js +18 -0
- package/dist/src/providers/index.js.map +1 -0
- package/dist/src/providers/ollama-provider.js +400 -0
- package/dist/src/providers/ollama-provider.js.map +1 -0
- package/dist/src/providers/openai-provider.js +364 -0
- package/dist/src/providers/openai-provider.js.map +1 -0
- package/dist/src/providers/provider-manager.js +487 -0
- package/dist/src/providers/provider-manager.js.map +1 -0
- package/dist/src/providers/types.js +55 -0
- package/dist/src/providers/types.js.map +1 -0
- package/dist/src/providers/utils.js +343 -0
- package/dist/src/providers/utils.js.map +1 -0
- package/dist/src/quality-gates/automated-review-system.js +645 -0
- package/dist/src/quality-gates/automated-review-system.js.map +1 -0
- package/dist/src/resources/resource-manager.js +1275 -0
- package/dist/src/resources/resource-manager.js.map +1 -0
- package/dist/src/rollback/recovery-manager.js +1065 -0
- package/dist/src/rollback/recovery-manager.js.map +1 -0
- package/dist/src/services/agent-manager.js +308 -0
- package/dist/src/services/agent-manager.js.map +1 -0
- package/dist/src/services/agentic-flow-hooks/hook-manager.js +506 -0
- package/dist/src/services/agentic-flow-hooks/hook-manager.js.map +1 -0
- package/dist/src/services/agentic-flow-hooks/index.js +322 -0
- package/dist/src/services/agentic-flow-hooks/index.js.map +1 -0
- package/dist/src/services/agentic-flow-hooks/llm-hooks.js +445 -0
- package/dist/src/services/agentic-flow-hooks/llm-hooks.js.map +1 -0
- package/dist/src/services/agentic-flow-hooks/memory-hooks.js +558 -0
- package/dist/src/services/agentic-flow-hooks/memory-hooks.js.map +1 -0
- package/dist/src/services/agentic-flow-hooks/neural-hooks.js +595 -0
- package/dist/src/services/agentic-flow-hooks/neural-hooks.js.map +1 -0
- package/dist/src/services/agentic-flow-hooks/performance-hooks.js +640 -0
- package/dist/src/services/agentic-flow-hooks/performance-hooks.js.map +1 -0
- package/dist/src/services/agentic-flow-hooks/types.js +8 -0
- package/dist/src/services/agentic-flow-hooks/types.js.map +1 -0
- package/dist/src/services/agentic-flow-hooks/workflow-hooks.js +746 -0
- package/dist/src/services/agentic-flow-hooks/workflow-hooks.js.map +1 -0
- package/dist/src/services/performance-metrics-collector.js +529 -0
- package/dist/src/services/performance-metrics-collector.js.map +1 -0
- package/dist/src/services/swarm-coordinator.js +431 -0
- package/dist/src/services/swarm-coordinator.js.map +1 -0
- package/dist/src/services/swarm-memory-manager.js +513 -0
- package/dist/src/services/swarm-memory-manager.js.map +1 -0
- package/dist/src/services/swarm-relaunch-manager.js +408 -0
- package/dist/src/services/swarm-relaunch-manager.js.map +1 -0
- package/dist/src/services/task-handoff-service.js +361 -0
- package/dist/src/services/task-handoff-service.js.map +1 -0
- package/dist/src/swarm/__tests__/integration.test.js +229 -0
- package/dist/src/swarm/__tests__/integration.test.js.map +1 -0
- package/dist/src/swarm/__tests__/prompt-copier.test.js +346 -0
- package/dist/src/swarm/__tests__/prompt-copier.test.js.map +1 -0
- package/dist/src/swarm/advanced-orchestrator.js +1093 -0
- package/dist/src/swarm/advanced-orchestrator.js.map +1 -0
- package/dist/src/swarm/claude-code-interface.js +959 -0
- package/dist/src/swarm/claude-code-interface.js.map +1 -0
- package/dist/src/swarm/claude-flow-executor.js +218 -0
- package/dist/src/swarm/claude-flow-executor.js.map +1 -0
- package/dist/src/swarm/coordinator.js +3001 -0
- package/dist/src/swarm/coordinator.js.map +1 -0
- package/dist/src/swarm/direct-executor.js +1169 -0
- package/dist/src/swarm/direct-executor.js.map +1 -0
- package/dist/src/swarm/executor-v2.js +312 -0
- package/dist/src/swarm/executor-v2.js.map +1 -0
- package/dist/src/swarm/executor.js +813 -0
- package/dist/src/swarm/executor.js.map +1 -0
- package/dist/src/swarm/hive-mind-integration.js +700 -0
- package/dist/src/swarm/hive-mind-integration.js.map +1 -0
- package/dist/src/swarm/index.js +43 -0
- package/dist/src/swarm/index.js.map +1 -0
- package/dist/src/swarm/json-output-aggregator.js +269 -0
- package/dist/src/swarm/json-output-aggregator.js.map +1 -0
- package/dist/src/swarm/mcp-integration-wrapper.js +623 -0
- package/dist/src/swarm/mcp-integration-wrapper.js.map +1 -0
- package/dist/src/swarm/memory.js +1119 -0
- package/dist/src/swarm/memory.js.map +1 -0
- package/dist/src/swarm/optimizations/__tests__/optimization.test.js +350 -0
- package/dist/src/swarm/optimizations/__tests__/optimization.test.js.map +1 -0
- package/dist/src/swarm/optimizations/async-file-manager.js +273 -0
- package/dist/src/swarm/optimizations/async-file-manager.js.map +1 -0
- package/dist/src/swarm/optimizations/circular-buffer.js +148 -0
- package/dist/src/swarm/optimizations/circular-buffer.js.map +1 -0
- package/dist/src/swarm/optimizations/connection-pool.js +239 -0
- package/dist/src/swarm/optimizations/connection-pool.js.map +1 -0
- package/dist/src/swarm/optimizations/index.js +30 -0
- package/dist/src/swarm/optimizations/index.js.map +1 -0
- package/dist/src/swarm/optimizations/optimized-executor.js +318 -0
- package/dist/src/swarm/optimizations/optimized-executor.js.map +1 -0
- package/dist/src/swarm/optimizations/ttl-map.js +223 -0
- package/dist/src/swarm/optimizations/ttl-map.js.map +1 -0
- package/dist/src/swarm/prompt-cli.js +202 -0
- package/dist/src/swarm/prompt-cli.js.map +1 -0
- package/dist/src/swarm/prompt-copier-enhanced.js +193 -0
- package/dist/src/swarm/prompt-copier-enhanced.js.map +1 -0
- package/dist/src/swarm/prompt-copier.js +376 -0
- package/dist/src/swarm/prompt-copier.js.map +1 -0
- package/dist/src/swarm/prompt-manager.js +287 -0
- package/dist/src/swarm/prompt-manager.js.map +1 -0
- package/dist/src/swarm/prompt-utils.js +299 -0
- package/dist/src/swarm/prompt-utils.js.map +1 -0
- package/dist/src/swarm/result-aggregator.js +713 -0
- package/dist/src/swarm/result-aggregator.js.map +1 -0
- package/dist/src/swarm/sparc-executor.js +1557 -0
- package/dist/src/swarm/sparc-executor.js.map +1 -0
- package/dist/src/swarm/strategies/auto.js +751 -0
- package/dist/src/swarm/strategies/auto.js.map +1 -0
- package/dist/src/swarm/strategies/base.js +117 -0
- package/dist/src/swarm/strategies/base.js.map +1 -0
- package/dist/src/swarm/strategies/research.js +911 -0
- package/dist/src/swarm/strategies/research.js.map +1 -0
- package/dist/src/swarm/strategies/strategy-metrics-patch.js +4 -0
- package/dist/src/swarm/strategies/strategy-metrics-patch.js.map +1 -0
- package/dist/src/swarm/types.js +54 -0
- package/dist/src/swarm/types.js.map +1 -0
- package/dist/src/swarm/workers/copy-worker.js +58 -0
- package/dist/src/swarm/workers/copy-worker.js.map +1 -0
- package/dist/src/swarm-fullstack/adapters/chrome-mcp-adapter.js +412 -0
- package/dist/src/swarm-fullstack/adapters/chrome-mcp-adapter.js.map +1 -0
- package/dist/src/swarm-fullstack/adapters/shadcn-mcp-adapter.js +560 -0
- package/dist/src/swarm-fullstack/adapters/shadcn-mcp-adapter.js.map +1 -0
- package/dist/src/swarm-fullstack/cli/fullstack-cli.js +582 -0
- package/dist/src/swarm-fullstack/cli/fullstack-cli.js.map +1 -0
- package/dist/src/swarm-fullstack/config/fullstack-config.js +369 -0
- package/dist/src/swarm-fullstack/config/fullstack-config.js.map +1 -0
- package/dist/src/swarm-fullstack/core/dynamic-agent-spawner.js +687 -0
- package/dist/src/swarm-fullstack/core/dynamic-agent-spawner.js.map +1 -0
- package/dist/src/swarm-fullstack/core/enhanced-swarm-message-router.js +589 -0
- package/dist/src/swarm-fullstack/core/enhanced-swarm-message-router.js.map +1 -0
- package/dist/src/swarm-fullstack/core/fullstack-orchestrator.js +538 -0
- package/dist/src/swarm-fullstack/core/fullstack-orchestrator.js.map +1 -0
- package/dist/src/swarm-fullstack/types/index.js +8 -0
- package/dist/src/swarm-fullstack/types/index.js.map +1 -0
- package/dist/src/task/commands.js +130 -0
- package/dist/src/task/commands.js.map +1 -0
- package/dist/src/task/coordination.js +737 -0
- package/dist/src/task/coordination.js.map +1 -0
- package/dist/src/task/engine.js +490 -0
- package/dist/src/task/engine.js.map +1 -0
- package/dist/src/task/index.js +269 -0
- package/dist/src/task/index.js.map +1 -0
- package/dist/src/task/types.js +5 -0
- package/dist/src/task/types.js.map +1 -0
- package/dist/src/terminal/adapters/base.js +5 -0
- package/dist/src/terminal/adapters/base.js.map +1 -0
- package/dist/src/terminal/adapters/native.js +473 -0
- package/dist/src/terminal/adapters/native.js.map +1 -0
- package/dist/src/terminal/adapters/vscode.js +285 -0
- package/dist/src/terminal/adapters/vscode.js.map +1 -0
- package/dist/src/terminal/manager.js +237 -0
- package/dist/src/terminal/manager.js.map +1 -0
- package/dist/src/terminal/pool.js +209 -0
- package/dist/src/terminal/pool.js.map +1 -0
- package/dist/src/terminal/session.js +211 -0
- package/dist/src/terminal/session.js.map +1 -0
- package/dist/src/terminal/vscode-bridge.js +186 -0
- package/dist/src/terminal/vscode-bridge.js.map +1 -0
- package/dist/src/testing/performance/PerformanceTestRunner.js +401 -0
- package/dist/src/testing/performance/PerformanceTestRunner.js.map +1 -0
- package/dist/src/testing-integration/chrome-mcp-integration.js +556 -0
- package/dist/src/testing-integration/chrome-mcp-integration.js.map +1 -0
- package/dist/src/testing-integration/continuous-test-runner.js +509 -0
- package/dist/src/testing-integration/continuous-test-runner.js.map +1 -0
- package/dist/src/tests/validation-consistency.test.js +52 -0
- package/dist/src/tests/validation-consistency.test.js.map +1 -0
- package/dist/src/topology/adaptive-coordinator.js +691 -0
- package/dist/src/topology/adaptive-coordinator.js.map +1 -0
- package/dist/src/topology/communication-bridge.js +551 -0
- package/dist/src/topology/communication-bridge.js.map +1 -0
- package/dist/src/topology/enhanced-hierarchical-coordinator.js +1732 -0
- package/dist/src/topology/enhanced-hierarchical-coordinator.js.map +1 -0
- package/dist/src/topology/enhanced-mesh-coordinator.js +1271 -0
- package/dist/src/topology/enhanced-mesh-coordinator.js.map +1 -0
- package/dist/src/topology/topology-manager.js +797 -0
- package/dist/src/topology/topology-manager.js.map +1 -0
- package/dist/src/topology/types.js +8 -0
- package/dist/src/topology/types.js.map +1 -0
- package/dist/src/types/agent-lifecycle-types.js +172 -0
- package/dist/src/types/agent-lifecycle-types.js.map +1 -0
- package/dist/src/types/agent-types.js +11 -0
- package/dist/src/types/agent-types.js.map +1 -0
- package/dist/src/types/cliffy.d.js +9 -0
- package/dist/src/types/cliffy.d.js.map +1 -0
- package/dist/src/types/global.d.js +5 -0
- package/dist/src/types/global.d.js.map +1 -0
- package/dist/src/types/index.js +16 -0
- package/dist/src/types/index.js.map +1 -0
- package/dist/src/types/mcp.d.js +3 -0
- package/dist/src/types/mcp.d.js.map +1 -0
- package/dist/src/types/vscode.d.js +4 -0
- package/dist/src/types/vscode.d.js.map +1 -0
- package/dist/src/ui/hive-dashboard.js +284 -0
- package/dist/src/ui/hive-dashboard.js.map +1 -0
- package/dist/src/utils/error-handler.js +27 -0
- package/dist/src/utils/error-handler.js.map +1 -0
- package/dist/src/utils/errors.js +195 -0
- package/dist/src/utils/errors.js.map +1 -0
- package/dist/src/utils/formatters.js +66 -0
- package/dist/src/utils/formatters.js.map +1 -0
- package/dist/src/utils/helpers.js +451 -0
- package/dist/src/utils/helpers.js.map +1 -0
- package/dist/src/utils/paths.js +43 -0
- package/dist/src/utils/paths.js.map +1 -0
- package/dist/src/utils/type-guards.js +119 -0
- package/dist/src/utils/type-guards.js.map +1 -0
- package/dist/src/utils/types.js +38 -0
- package/dist/src/utils/types.js.map +1 -0
- package/dist/src/verification/agent-scorer.js +633 -0
- package/dist/src/verification/agent-scorer.js.map +1 -0
- package/dist/src/verification/alert-manager.js +1126 -0
- package/dist/src/verification/alert-manager.js.map +1 -0
- package/dist/src/verification/api/types/index.js +6 -0
- package/dist/src/verification/api/types/index.js.map +1 -0
- package/dist/src/verification/checkpoint-manager.js +519 -0
- package/dist/src/verification/checkpoint-manager.js.map +1 -0
- package/dist/src/verification/cli-integration.js +500 -0
- package/dist/src/verification/cli-integration.js.map +1 -0
- package/dist/src/verification/conflict-resolver.js +534 -0
- package/dist/src/verification/conflict-resolver.js.map +1 -0
- package/dist/src/verification/crdt-coordinator.js +506 -0
- package/dist/src/verification/crdt-coordinator.js.map +1 -0
- package/dist/src/verification/dashboard-exporter.js +876 -0
- package/dist/src/verification/dashboard-exporter.js.map +1 -0
- package/dist/src/verification/demo.js +320 -0
- package/dist/src/verification/demo.js.map +1 -0
- package/dist/src/verification/examples.js +508 -0
- package/dist/src/verification/examples.js.map +1 -0
- package/dist/src/verification/hooks.js +961 -0
- package/dist/src/verification/hooks.js.map +1 -0
- package/dist/src/verification/index.js +73 -0
- package/dist/src/verification/index.js.map +1 -0
- package/dist/src/verification/interfaces.js +7 -0
- package/dist/src/verification/interfaces.js.map +1 -0
- package/dist/src/verification/memory-manager.js +510 -0
- package/dist/src/verification/memory-manager.js.map +1 -0
- package/dist/src/verification/middleware.js +579 -0
- package/dist/src/verification/middleware.js.map +1 -0
- package/dist/src/verification/rollback-engine.js +511 -0
- package/dist/src/verification/rollback-engine.js.map +1 -0
- package/dist/src/verification/rollback.js +1710 -0
- package/dist/src/verification/rollback.js.map +1 -0
- package/dist/src/verification/security-bypass-test.js +704 -0
- package/dist/src/verification/security-bypass-test.js.map +1 -0
- package/dist/src/verification/security.js +1125 -0
- package/dist/src/verification/security.js.map +1 -0
- package/dist/src/verification/simple-hooks.js +189 -0
- package/dist/src/verification/simple-hooks.js.map +1 -0
- package/dist/src/verification/system-tracker.js +657 -0
- package/dist/src/verification/system-tracker.js.map +1 -0
- package/dist/src/verification/telemetry.js +922 -0
- package/dist/src/verification/telemetry.js.map +1 -0
- package/dist/src/verification/test-verification.js +43 -0
- package/dist/src/verification/test-verification.js.map +1 -0
- package/dist/src/verification/tests/e2e/verification-pipeline.test.js +1027 -0
- package/dist/src/verification/tests/e2e/verification-pipeline.test.js.map +1 -0
- package/dist/src/verification/tests/integration/cross-agent-communication.test.js +638 -0
- package/dist/src/verification/tests/integration/cross-agent-communication.test.js.map +1 -0
- package/dist/src/verification/tests/mocks/false-reporting-scenarios.test.js +1029 -0
- package/dist/src/verification/tests/mocks/false-reporting-scenarios.test.js.map +1 -0
- package/dist/src/verification/tests/performance/verification-overhead.test.js +587 -0
- package/dist/src/verification/tests/performance/verification-overhead.test.js.map +1 -0
- package/dist/src/verification/tests/unit/truth-scoring.test.js +579 -0
- package/dist/src/verification/tests/unit/truth-scoring.test.js.map +1 -0
- package/dist/src/verification/tests.js +611 -0
- package/dist/src/verification/tests.js.map +1 -0
- package/dist/src/verification/truth-scorer.js +584 -0
- package/dist/src/verification/truth-scorer.js.map +1 -0
- package/dist/src/verification/types.js +56 -0
- package/dist/src/verification/types.js.map +1 -0
- package/dist/src/verification/verification-pipeline.js +884 -0
- package/dist/src/verification/verification-pipeline.js.map +1 -0
- package/dist/src/web/messaging/agent-status-tracker.js +447 -0
- package/dist/src/web/messaging/agent-status-tracker.js.map +1 -0
- package/dist/src/web/messaging/human-intervention-system.js +298 -0
- package/dist/src/web/messaging/human-intervention-system.js.map +1 -0
- package/dist/src/web/messaging/message-filter.js +289 -0
- package/dist/src/web/messaging/message-filter.js.map +1 -0
- package/dist/src/web/messaging/swarm-message-router.js +320 -0
- package/dist/src/web/messaging/swarm-message-router.js.map +1 -0
- package/dist/src/web/messaging/transparency-logger.js +415 -0
- package/dist/src/web/messaging/transparency-logger.js.map +1 -0
- package/dist/src/web/portal-server.js +440 -0
- package/dist/src/web/portal-server.js.map +1 -0
- package/dist/src/web/server.js +311 -0
- package/dist/src/web/server.js.map +1 -0
- package/dist/src/web/websocket/websocket-manager.js +509 -0
- package/dist/src/web/websocket/websocket-manager.js.map +1 -0
- package/dist/src/workflows/feature-lifecycle-manager.js +386 -0
- package/dist/src/workflows/feature-lifecycle-manager.js.map +1 -0
- package/dist/src/workflows/fullstack-coordination-manager.js +801 -0
- package/dist/src/workflows/fullstack-coordination-manager.js.map +1 -0
- package/dist/src/workflows/iterative-development-orchestrator.js +1128 -0
- package/dist/src/workflows/iterative-development-orchestrator.js.map +1 -0
- package/dist/src/workflows/progressive-rollout-manager.js +710 -0
- package/dist/src/workflows/progressive-rollout-manager.js.map +1 -0
- package/package.json +264 -0
- package/scripts/README.md +339 -0
- package/scripts/post-install-claude-md.js +50 -0
- package/src/commands/dependency-recommendations.js +551 -0
- package/src/commands/suggest-improvements.js +492 -0
- package/src/commands/suggest-templates.js +916 -0
- package/src/npx/claude-md-protection.js +169 -0
- package/wiki/INDEX.md +264 -0
- package/wiki/NAVIGATION.md +270 -0
- package/wiki/README.md +101 -0
- package/wiki/accessibility/README.md +103 -0
- package/wiki/accessibility/assistive-tech/screen-reader-support.md +912 -0
- package/wiki/accessibility/automation/agent-testing-automation.md +880 -0
- package/wiki/accessibility/guidelines/wcag-compliance.md +278 -0
- package/wiki/accessibility/i18n/internationalization-strategies.md +1022 -0
- package/wiki/accessibility/motor-accessibility/keyboard-navigation.md +1182 -0
- package/wiki/accessibility/patterns/inclusive-design-patterns.md +715 -0
- package/wiki/accessibility/testing/automated-testing.md +665 -0
- package/wiki/accessibility/visual-design/color-contrast.md +926 -0
- package/wiki/accessibility/workflows/accessibility-first-development.md +916 -0
- package/wiki/accessibility/workflows/inclusive-design-review.md +835 -0
- package/wiki/api-reference/README.md +565 -0
- package/wiki/api-reference/agent-management-api.md +931 -0
- package/wiki/api-reference/cli-api.md +630 -0
- package/wiki/api-reference/configuration-api.md +1355 -0
- package/wiki/api-reference/examples-code-samples.md +2241 -0
- package/wiki/api-reference/hooks-coordination-api.md +1406 -0
- package/wiki/api-reference/mcp-tool-specifications.md +944 -0
- package/wiki/api-reference/plugin-development.md +1695 -0
- package/wiki/api-reference/technical-architecture.md +1729 -0
- package/wiki/command-reference/README.md +305 -0
- package/wiki/command-reference/agent-commands.md +571 -0
- package/wiki/command-reference/cli-commands.md +516 -0
- package/wiki/command-reference/command-syntax.md +676 -0
- package/wiki/command-reference/expert/README.md +616 -0
- package/wiki/command-reference/expert-tier.md +791 -0
- package/wiki/command-reference/intermediate/README.md +628 -0
- package/wiki/command-reference/intermediate-tier.md +1024 -0
- package/wiki/command-reference/mcp-integration.md +412 -0
- package/wiki/command-reference/mcp-tools/README.md +1743 -0
- package/wiki/command-reference/mcp-tools/dual-access-workflows.md +911 -0
- package/wiki/command-reference/mcp-tools/index.md +201 -0
- package/wiki/command-reference/mcp-tools/integration-patterns.md +830 -0
- package/wiki/command-reference/mcp-tools/quick-reference.md +383 -0
- package/wiki/command-reference/mcp-tools/session-management.md +1183 -0
- package/wiki/command-reference/mcp-tools/task-tool-integration.md +827 -0
- package/wiki/command-reference/novice/README.md +661 -0
- package/wiki/command-reference/novice-tier.md +1142 -0
- package/wiki/command-reference/progression-guide.md +772 -0
- package/wiki/command-reference/troubleshooting.md +803 -0
- package/wiki/command-reference/workflows.md +752 -0
- package/wiki/community/README.md +328 -0
- package/wiki/community/contributing/README.md +623 -0
- package/wiki/community/contributing/code-of-conduct.md +388 -0
- package/wiki/community/contributing/collaboration-workflows.md +1 -0
- package/wiki/community/contributing/issue-reporting.md +1 -0
- package/wiki/community/contributing/onboarding-guide.md +1 -0
- package/wiki/community/contributing/recognition-system.md +1 -0
- package/wiki/community/discussions/README.md +54 -0
- package/wiki/community/learning-resources.md +476 -0
- package/wiki/community/showcase/README.md +1 -0
- package/wiki/core-concepts/README.md +656 -0
- package/wiki/core-concepts/agent-feedback-hooks/README.md +298 -0
- package/wiki/core-concepts/agents/README.md +392 -0
- package/wiki/core-concepts/agents/agent-creation-guide.md +431 -0
- package/wiki/core-concepts/agents.md +301 -0
- package/wiki/core-concepts/architecture.md +227 -0
- package/wiki/core-concepts/hooks-lifecycle/README.md +543 -0
- package/wiki/core-concepts/integration.md +507 -0
- package/wiki/core-concepts/memory-system/README.md +521 -0
- package/wiki/core-concepts/performance.md +463 -0
- package/wiki/core-concepts/sparc-methodology/README.md +465 -0
- package/wiki/core-concepts/sparc-workflow.md +407 -0
- package/wiki/core-concepts/swarm-coordination/README.md +525 -0
- package/wiki/core-concepts/swarm-coordination.md +453 -0
- package/wiki/cost-optimization/enterprise-cost-management.md +1356 -0
- package/wiki/deployment/enterprise-deployment-patterns.md +1739 -0
- package/wiki/enterprise-architecture/enterprise-architecture-overview.md +348 -0
- package/wiki/enterprise-architecture/enterprise-scaling-patterns.md +1184 -0
- package/wiki/examples/README.md +288 -0
- package/wiki/examples/automation/cicd-pipeline/README.md +1265 -0
- package/wiki/examples/basic/hello-world/README.md +434 -0
- package/wiki/examples/basic-projects/README.md +427 -0
- package/wiki/examples/enterprise-integration/README.md +602 -0
- package/wiki/examples/integration-patterns.md +825 -0
- package/wiki/examples/legacy-migration/README.md +656 -0
- package/wiki/examples/multi-cloud/README.md +1071 -0
- package/wiki/examples/performance-benchmarks.md +729 -0
- package/wiki/examples/performance-optimization/README.md +1214 -0
- package/wiki/examples/projects/rest-api/README.md +845 -0
- package/wiki/examples/real-time-collaboration/README.md +1092 -0
- package/wiki/examples/scenarios/ecommerce/README.md +1273 -0
- package/wiki/examples/swarm-patterns.md +1026 -0
- package/wiki/examples/templates/download-system.md +993 -0
- package/wiki/examples/templates/javascript/README.md +487 -0
- package/wiki/examples/templates/javascript/package.json +119 -0
- package/wiki/examples/troubleshooting/README.md +1317 -0
- package/wiki/examples/utilities/patterns/README.md +1347 -0
- package/wiki/examples/videos/01-setup.md +403 -0
- package/wiki/examples/workflow-automation/README.md +1023 -0
- package/wiki/getting-started/README.md +398 -0
- package/wiki/getting-started/benefits.md +451 -0
- package/wiki/getting-started/claude-code-mcp/README.md +319 -0
- package/wiki/getting-started/claude-code-mcp/setup.md +431 -0
- package/wiki/getting-started/claude-code-mcp/usage-examples.md +501 -0
- package/wiki/getting-started/cli-access/README.md +300 -0
- package/wiki/getting-started/cli-access/first-commands.md +319 -0
- package/wiki/getting-started/installation/README.md +469 -0
- package/wiki/getting-started/installation/troubleshooting.md +617 -0
- package/wiki/getting-started/learning-path.md +494 -0
- package/wiki/getting-started/learning-plan-generator.md +434 -0
- package/wiki/getting-started/quick-start/README.md +255 -0
- package/wiki/getting-started/quick-start/cli-tutorial.md +680 -0
- package/wiki/getting-started/quick-start/mcp-tutorial.md +544 -0
- package/wiki/governance/multi-project-coordination.md +820 -0
- package/wiki/languages/README.md +349 -0
- package/wiki/languages/go/README.md +124 -0
- package/wiki/languages/go/examples/README.md +1066 -0
- package/wiki/languages/go/frameworks/README.md +708 -0
- package/wiki/languages/go/integration/README.md +748 -0
- package/wiki/languages/go/microservices/README.md +1185 -0
- package/wiki/languages/go/performance/README.md +1310 -0
- package/wiki/languages/go/setup/README.md +397 -0
- package/wiki/languages/go/systems/README.md +1116 -0
- package/wiki/languages/go/testing/README.md +999 -0
- package/wiki/languages/java/README.md +217 -0
- package/wiki/languages/java/claude-flow-integration.md +1220 -0
- package/wiki/languages/java/enterprise-java.md +1247 -0
- package/wiki/languages/java/examples.md +1712 -0
- package/wiki/languages/java/microservices.md +1600 -0
- package/wiki/languages/java/performance.md +1122 -0
- package/wiki/languages/java/project-setup.md +504 -0
- package/wiki/languages/java/spring-boot.md +756 -0
- package/wiki/languages/java/testing.md +1323 -0
- package/wiki/languages/javascript/README.md +575 -0
- package/wiki/languages/javascript/api/README.md +1445 -0
- package/wiki/languages/javascript/backend/README.md +748 -0
- package/wiki/languages/javascript/frontend/README.md +1048 -0
- package/wiki/languages/javascript/integration.md +1107 -0
- package/wiki/languages/javascript/setup/README.md +438 -0
- package/wiki/languages/javascript/testing/README.md +1775 -0
- package/wiki/languages/python/README.md +1002 -0
- package/wiki/languages/python/data-science/README.md +1317 -0
- package/wiki/languages/python/examples/README.md +911 -0
- package/wiki/languages/python/integration.md +1515 -0
- package/wiki/languages/python/mcp-integration.md +843 -0
- package/wiki/languages/python/setup/README.md +622 -0
- package/wiki/languages/python/testing/README.md +1680 -0
- package/wiki/languages/python/web-development/README.md +974 -0
- package/wiki/languages/rust/README.md +936 -0
- package/wiki/languages/rust/examples/cli-mcp-workflows.md +850 -0
- package/wiki/languages/rust/examples/rest-api.md +1927 -0
- package/wiki/languages/rust/setup/cargo-integration.md +780 -0
- package/wiki/languages/rust/testing/quality-validation.md +1098 -0
- package/wiki/languages/rust/web-development/axum.md +1497 -0
- package/wiki/languages/rust/workflows/systems-programming.md +1189 -0
- package/wiki/languages/typescript/README.md +581 -0
- package/wiki/languages/typescript/automation.md +1070 -0
- package/wiki/languages/typescript/coordination.md +971 -0
- package/wiki/languages/typescript/enterprise.md +1368 -0
- package/wiki/languages/typescript/frameworks.md +970 -0
- package/wiki/languages/typescript/migration.md +1384 -0
- package/wiki/languages/typescript/patterns.md +694 -0
- package/wiki/languages/typescript/performance.md +1195 -0
- package/wiki/languages/typescript/setup.md +516 -0
- package/wiki/languages/typescript/workflows.md +481 -0
- package/wiki/monitoring/enterprise-observability.md +1141 -0
- package/wiki/security/enterprise-security-framework.md +1174 -0
- package/wiki/team-coordination/team-scaling-strategies.md +1486 -0
- package/wiki/troubleshooting/README.md +654 -0
- package/wiki/troubleshooting/common-issues/README.md +659 -0
- package/wiki/troubleshooting/common-issues.md +458 -0
- package/wiki/troubleshooting/error-resolution.md +763 -0
- package/wiki/troubleshooting/performance-optimization.md +540 -0
- package/wiki/tutorials/README.md +607 -0
- package/wiki/tutorials/advanced/01-multi-agent-orchestration-patterns.md +585 -0
- package/wiki/tutorials/advanced/02-enterprise-architecture-development.md +661 -0
- package/wiki/tutorials/advanced/03-advanced-sparc-methodology.md +595 -0
- package/wiki/tutorials/advanced/04-performance-optimization-workflows.md +613 -0
- package/wiki/tutorials/advanced/05-custom-agent-development.md +681 -0
- package/wiki/tutorials/advanced/06-legacy-system-integration.md +574 -0
- package/wiki/tutorials/advanced/07-production-deployment-monitoring.md +684 -0
- package/wiki/tutorials/advanced/08-enterprise-scenarios.md +700 -0
- package/wiki/tutorials/advanced/README.md +577 -0
- package/wiki/tutorials/advanced/performance-optimization.md +476 -0
- package/wiki/tutorials/advanced/swarm-orchestration.md +627 -0
- package/wiki/tutorials/beginner/01-first-project.md +532 -0
- package/wiki/tutorials/beginner/02-basic-workflows.md +523 -0
- package/wiki/tutorials/beginner/03-simple-automation.md +641 -0
- package/wiki/tutorials/beginner/04-quality-testing.md +984 -0
- package/wiki/tutorials/beginner/README.md +388 -0
- package/wiki/tutorials/exercises/ecommerce-platform.md +1370 -0
- package/wiki/tutorials/intermediate/01-multi-agent-teams.md +961 -0
- package/wiki/tutorials/intermediate/README.md +452 -0
- package/wiki/tutorials/intermediate/optimization.md +402 -0
- package/wiki/tutorials/skill-assessment.md +522 -0
- package/wiki/tutorials/skill-competency-matrix.md +548 -0
- package/wiki/tutorials/troubleshooting/command-cheatsheet.md +425 -0
- package/wiki/tutorials/troubleshooting/setup-issues.md +717 -0
- package/wiki/video-tutorials/README.md +202 -0
- package/wiki/video-tutorials/accessibility/README.md +1349 -0
- package/wiki/video-tutorials/community/README.md +1366 -0
- package/wiki/video-tutorials/content-organization/README.md +1295 -0
- package/wiki/video-tutorials/distribution/README.md +1093 -0
- package/wiki/video-tutorials/editing/README.md +751 -0
- package/wiki/video-tutorials/interactive/README.md +1151 -0
- package/wiki/video-tutorials/multi-language/README.md +1384 -0
- package/wiki/video-tutorials/planning/README.md +461 -0
- package/wiki/video-tutorials/recording/README.md +619 -0
- package/wiki/video-tutorials/technical-specs/README.md +1018 -0
|
@@ -0,0 +1,1739 @@
|
|
|
1
|
+
# Enterprise Deployment Patterns and DevOps Integration
|
|
2
|
+
|
|
3
|
+
## Executive Summary
|
|
4
|
+
|
|
5
|
+
Enterprise deployment patterns for Claude-Flow enable organizations to deliver AI-powered development workflows with high reliability, security, and scalability. This document outlines proven deployment strategies, DevOps integration patterns, and operational practices for enterprise-scale implementations.
|
|
6
|
+
|
|
7
|
+
## Deployment Architecture Patterns
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
🏗️ ENTERPRISE DEPLOYMENT ARCHITECTURE OVERVIEW
|
|
11
|
+
|
|
12
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
13
|
+
│ DEPLOYMENT ENVIRONMENT HIERARCHY │
|
|
14
|
+
└─────────────────────────┬───────────────────────────────────────┘
|
|
15
|
+
│
|
|
16
|
+
▼
|
|
17
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
18
|
+
│ DEPLOYMENT PROGRESSION │
|
|
19
|
+
│ │
|
|
20
|
+
│ DEV → STAGING → PROD-CANARY → PROD-FULL → DR-STANDBY │
|
|
21
|
+
│ ↓ ↓ ↓ ↓ ↓ │
|
|
22
|
+
│ Feature Integration Limited Full Disaster │
|
|
23
|
+
│ Testing Testing Rollout Deploy Recovery │
|
|
24
|
+
│ 100% 90% 5%→100% 100% 100% │
|
|
25
|
+
│ Auto Auto Manual Manual Auto │
|
|
26
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
27
|
+
│
|
|
28
|
+
┌────────────────────┼────────────────────┐
|
|
29
|
+
│ │ │
|
|
30
|
+
┌────▼────┐ ┌─────▼─────┐ ┌────▼────┐
|
|
31
|
+
│ MULTI- │ │BLUE-GREEN│ │ CANARY │
|
|
32
|
+
│ CLOUD │ │DEPLOYMENT │ │DEPLOYMENT│
|
|
33
|
+
│STRATEGY │ │ PATTERN │ │ PATTERN │
|
|
34
|
+
└────┬────┘ └─────┬─────┘ └────┬────┘
|
|
35
|
+
│ │ │
|
|
36
|
+
▼ ▼ ▼
|
|
37
|
+
┌─────────┐ ┌─────────────┐ ┌─────────────┐
|
|
38
|
+
│AWS 60% │ │INSTANT SWAP │ │GRADUAL ROLL │
|
|
39
|
+
│Azure 30%│ │ZERO DOWNTIME│ │RISK CONTROL │
|
|
40
|
+
│GCP 10% │ │AUTO ROLLBACK│ │PERF MONITOR │
|
|
41
|
+
└─────────┘ └─────────────┘ └─────────────┘
|
|
42
|
+
|
|
43
|
+
🚀 DEPLOYMENT PIPELINE FLOW:
|
|
44
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
45
|
+
│ Code → CI Build → Test → Security → Package → Deploy → Monitor │
|
|
46
|
+
│ ↓ ↓ ↓ ↓ ↓ ↓ ↓ │
|
|
47
|
+
│ Git Compile Unit SAST Docker Blue/ Metrics │
|
|
48
|
+
│ Push Validate Integr DAST Registry Green Alerts │
|
|
49
|
+
│ Quality E2E Vulns Helm Canary Logs │
|
|
50
|
+
│ Gates Perf License Charts Traffic Health │
|
|
51
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### 1. Multi-Environment Strategy
|
|
55
|
+
|
|
56
|
+
```mermaid
|
|
57
|
+
graph TB
|
|
58
|
+
subgraph "Development Environment"
|
|
59
|
+
DEV_LB[Load Balancer]
|
|
60
|
+
DEV_APP[Claude-Flow Dev]
|
|
61
|
+
DEV_DB[Dev Database]
|
|
62
|
+
DEV_CACHE[Dev Cache]
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
subgraph "Staging Environment"
|
|
66
|
+
STAGE_LB[Load Balancer]
|
|
67
|
+
STAGE_APP[Claude-Flow Staging]
|
|
68
|
+
STAGE_DB[Staging Database]
|
|
69
|
+
STAGE_CACHE[Staging Cache]
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
subgraph "Production Environment"
|
|
73
|
+
PROD_LB[Load Balancer]
|
|
74
|
+
PROD_APP[Claude-Flow Production]
|
|
75
|
+
PROD_DB[Production Database]
|
|
76
|
+
PROD_CACHE[Production Cache]
|
|
77
|
+
PROD_DR[Disaster Recovery]
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
subgraph "Shared Services"
|
|
81
|
+
REGISTRY[Container Registry]
|
|
82
|
+
SECRETS[Secret Management]
|
|
83
|
+
MONITORING[Monitoring Stack]
|
|
84
|
+
LOGGING[Centralized Logging]
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
DEV_LB --> DEV_APP
|
|
88
|
+
DEV_APP --> DEV_DB
|
|
89
|
+
DEV_APP --> DEV_CACHE
|
|
90
|
+
|
|
91
|
+
STAGE_LB --> STAGE_APP
|
|
92
|
+
STAGE_APP --> STAGE_DB
|
|
93
|
+
STAGE_APP --> STAGE_CACHE
|
|
94
|
+
|
|
95
|
+
PROD_LB --> PROD_APP
|
|
96
|
+
PROD_APP --> PROD_DB
|
|
97
|
+
PROD_APP --> PROD_CACHE
|
|
98
|
+
PROD_APP --> PROD_DR
|
|
99
|
+
|
|
100
|
+
DEV_APP --> REGISTRY
|
|
101
|
+
STAGE_APP --> REGISTRY
|
|
102
|
+
PROD_APP --> REGISTRY
|
|
103
|
+
|
|
104
|
+
DEV_APP --> SECRETS
|
|
105
|
+
STAGE_APP --> SECRETS
|
|
106
|
+
PROD_APP --> SECRETS
|
|
107
|
+
|
|
108
|
+
DEV_APP --> MONITORING
|
|
109
|
+
STAGE_APP --> MONITORING
|
|
110
|
+
PROD_APP --> MONITORING
|
|
111
|
+
|
|
112
|
+
DEV_APP --> LOGGING
|
|
113
|
+
STAGE_APP --> LOGGING
|
|
114
|
+
PROD_APP --> LOGGING
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### 2. Blue-Green Deployment
|
|
118
|
+
|
|
119
|
+
```yaml
|
|
120
|
+
# Blue-Green deployment configuration
|
|
121
|
+
blue_green_deployment:
|
|
122
|
+
strategy: "blue_green"
|
|
123
|
+
|
|
124
|
+
environments:
|
|
125
|
+
blue:
|
|
126
|
+
name: "claude-flow-blue"
|
|
127
|
+
replicas: 5
|
|
128
|
+
health_check:
|
|
129
|
+
path: "/health"
|
|
130
|
+
timeout: "30s"
|
|
131
|
+
interval: "10s"
|
|
132
|
+
|
|
133
|
+
green:
|
|
134
|
+
name: "claude-flow-green"
|
|
135
|
+
replicas: 5
|
|
136
|
+
health_check:
|
|
137
|
+
path: "/health"
|
|
138
|
+
timeout: "30s"
|
|
139
|
+
interval: "10s"
|
|
140
|
+
|
|
141
|
+
traffic_management:
|
|
142
|
+
load_balancer: "aws-alb"
|
|
143
|
+
switch_strategy: "instant"
|
|
144
|
+
rollback_strategy: "automatic"
|
|
145
|
+
|
|
146
|
+
validation_tests:
|
|
147
|
+
- "health_check"
|
|
148
|
+
- "smoke_tests"
|
|
149
|
+
- "integration_tests"
|
|
150
|
+
- "performance_baseline"
|
|
151
|
+
|
|
152
|
+
automation:
|
|
153
|
+
automated_switching: true
|
|
154
|
+
rollback_triggers:
|
|
155
|
+
- "health_check_failure"
|
|
156
|
+
- "error_rate > 1%"
|
|
157
|
+
- "latency > 500ms"
|
|
158
|
+
- "validation_test_failure"
|
|
159
|
+
|
|
160
|
+
# Canary deployment configuration
|
|
161
|
+
canary_deployment:
|
|
162
|
+
strategy: "canary"
|
|
163
|
+
|
|
164
|
+
phases:
|
|
165
|
+
- name: "initial_canary"
|
|
166
|
+
traffic_percentage: 5
|
|
167
|
+
duration: "10m"
|
|
168
|
+
success_criteria:
|
|
169
|
+
error_rate: "< 0.1%"
|
|
170
|
+
latency_p95: "< 200ms"
|
|
171
|
+
|
|
172
|
+
- name: "expanded_canary"
|
|
173
|
+
traffic_percentage: 25
|
|
174
|
+
duration: "20m"
|
|
175
|
+
success_criteria:
|
|
176
|
+
error_rate: "< 0.1%"
|
|
177
|
+
latency_p95: "< 200ms"
|
|
178
|
+
|
|
179
|
+
- name: "majority_canary"
|
|
180
|
+
traffic_percentage: 75
|
|
181
|
+
duration: "30m"
|
|
182
|
+
success_criteria:
|
|
183
|
+
error_rate: "< 0.1%"
|
|
184
|
+
latency_p95: "< 200ms"
|
|
185
|
+
|
|
186
|
+
- name: "full_deployment"
|
|
187
|
+
traffic_percentage: 100
|
|
188
|
+
duration: "ongoing"
|
|
189
|
+
|
|
190
|
+
monitoring:
|
|
191
|
+
metrics:
|
|
192
|
+
- "request_rate"
|
|
193
|
+
- "error_rate"
|
|
194
|
+
- "latency_percentiles"
|
|
195
|
+
- "agent_spawn_success_rate"
|
|
196
|
+
- "task_completion_rate"
|
|
197
|
+
|
|
198
|
+
alerts:
|
|
199
|
+
- "high_error_rate"
|
|
200
|
+
- "increased_latency"
|
|
201
|
+
- "agent_failures"
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
### 3. Multi-Cloud Deployment
|
|
205
|
+
|
|
206
|
+
```typescript
|
|
207
|
+
// Multi-cloud deployment orchestration
|
|
208
|
+
export interface MultiCloudDeployment {
|
|
209
|
+
|
|
210
|
+
// Cloud provider configurations
|
|
211
|
+
providers: {
|
|
212
|
+
aws: {
|
|
213
|
+
region: "us-east-1";
|
|
214
|
+
backup_region: "us-west-2";
|
|
215
|
+
services: {
|
|
216
|
+
compute: "EKS";
|
|
217
|
+
database: "RDS";
|
|
218
|
+
cache: "ElastiCache";
|
|
219
|
+
storage: "S3";
|
|
220
|
+
networking: "VPC";
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
azure: {
|
|
225
|
+
region: "East US";
|
|
226
|
+
backup_region: "West US 2";
|
|
227
|
+
services: {
|
|
228
|
+
compute: "AKS";
|
|
229
|
+
database: "Azure SQL";
|
|
230
|
+
cache: "Azure Cache for Redis";
|
|
231
|
+
storage: "Blob Storage";
|
|
232
|
+
networking: "Virtual Network";
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
|
|
236
|
+
gcp: {
|
|
237
|
+
region: "us-central1";
|
|
238
|
+
backup_region: "us-east1";
|
|
239
|
+
services: {
|
|
240
|
+
compute: "GKE";
|
|
241
|
+
database: "Cloud SQL";
|
|
242
|
+
cache: "Memorystore";
|
|
243
|
+
storage: "Cloud Storage";
|
|
244
|
+
networking: "VPC";
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
|
|
249
|
+
// Traffic distribution strategy
|
|
250
|
+
traffic_distribution: {
|
|
251
|
+
primary_cloud: "aws";
|
|
252
|
+
secondary_cloud: "azure";
|
|
253
|
+
tertiary_cloud: "gcp";
|
|
254
|
+
|
|
255
|
+
distribution_weights: {
|
|
256
|
+
aws: 60;
|
|
257
|
+
azure: 30;
|
|
258
|
+
gcp: 10;
|
|
259
|
+
};
|
|
260
|
+
|
|
261
|
+
failover_strategy: "automatic";
|
|
262
|
+
health_check_interval: "30s";
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
// Data synchronization
|
|
266
|
+
data_sync: {
|
|
267
|
+
strategy: "active_active";
|
|
268
|
+
consistency_model: "eventual_consistency";
|
|
269
|
+
sync_interval: "real_time";
|
|
270
|
+
conflict_resolution: "last_write_wins";
|
|
271
|
+
};
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
// Multi-cloud orchestrator
|
|
275
|
+
export class MultiCloudOrchestrator {
|
|
276
|
+
|
|
277
|
+
async deployToMultipleCloudProviders(
|
|
278
|
+
deployment_config: MultiCloudDeployment,
|
|
279
|
+
application_manifest: ApplicationManifest
|
|
280
|
+
): Promise<MultiCloudDeploymentResult> {
|
|
281
|
+
|
|
282
|
+
const deployment_tasks = Object.entries(deployment_config.providers).map(
|
|
283
|
+
([provider, config]) => this.deployToCloudProvider(
|
|
284
|
+
provider,
|
|
285
|
+
config,
|
|
286
|
+
application_manifest
|
|
287
|
+
)
|
|
288
|
+
);
|
|
289
|
+
|
|
290
|
+
const results = await Promise.allSettled(deployment_tasks);
|
|
291
|
+
|
|
292
|
+
return {
|
|
293
|
+
deployment_summary: this.summarizeDeploymentResults(results),
|
|
294
|
+
traffic_routing: await this.configureTrafficRouting(deployment_config),
|
|
295
|
+
monitoring_setup: await this.setupCrossCloudMonitoring(deployment_config),
|
|
296
|
+
disaster_recovery: await this.configureDRProcedures(deployment_config)
|
|
297
|
+
};
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
async manageCloudFailover(
|
|
301
|
+
failed_provider: string,
|
|
302
|
+
deployment_config: MultiCloudDeployment
|
|
303
|
+
): Promise<FailoverResult> {
|
|
304
|
+
|
|
305
|
+
// Detect failure
|
|
306
|
+
const failure_assessment = await this.assessProviderFailure(failed_provider);
|
|
307
|
+
|
|
308
|
+
// Redistribute traffic
|
|
309
|
+
const traffic_rebalancing = await this.rebalanceTraffic(
|
|
310
|
+
failed_provider,
|
|
311
|
+
deployment_config.traffic_distribution
|
|
312
|
+
);
|
|
313
|
+
|
|
314
|
+
// Scale remaining providers
|
|
315
|
+
const scaling_adjustment = await this.scaleRemainingProviders(
|
|
316
|
+
failed_provider,
|
|
317
|
+
deployment_config.providers
|
|
318
|
+
);
|
|
319
|
+
|
|
320
|
+
return {
|
|
321
|
+
failure_assessment,
|
|
322
|
+
traffic_rebalancing,
|
|
323
|
+
scaling_adjustment,
|
|
324
|
+
recovery_timeline: this.estimateRecoveryTimeline(failure_assessment),
|
|
325
|
+
communication_plan: this.generateCommunicationPlan(failure_assessment)
|
|
326
|
+
};
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
## CI/CD Pipeline Integration
|
|
332
|
+
|
|
333
|
+
### 1. Advanced CI/CD Architecture
|
|
334
|
+
|
|
335
|
+
```yaml
|
|
336
|
+
# GitOps-based CI/CD pipeline
|
|
337
|
+
ci_cd_pipeline:
|
|
338
|
+
version_control:
|
|
339
|
+
provider: "GitHub Enterprise"
|
|
340
|
+
branching_strategy: "GitFlow"
|
|
341
|
+
|
|
342
|
+
branch_policies:
|
|
343
|
+
main:
|
|
344
|
+
protection_rules:
|
|
345
|
+
- "require_pull_request_reviews"
|
|
346
|
+
- "require_status_checks"
|
|
347
|
+
- "require_signed_commits"
|
|
348
|
+
- "restrict_pushes"
|
|
349
|
+
|
|
350
|
+
develop:
|
|
351
|
+
auto_deploy_to: "development"
|
|
352
|
+
|
|
353
|
+
release/*:
|
|
354
|
+
auto_deploy_to: "staging"
|
|
355
|
+
|
|
356
|
+
hotfix/*:
|
|
357
|
+
auto_deploy_to: "staging"
|
|
358
|
+
fast_track: true
|
|
359
|
+
|
|
360
|
+
continuous_integration:
|
|
361
|
+
triggers:
|
|
362
|
+
- "push_to_any_branch"
|
|
363
|
+
- "pull_request_creation"
|
|
364
|
+
- "pull_request_update"
|
|
365
|
+
- "scheduled_nightly"
|
|
366
|
+
|
|
367
|
+
stages:
|
|
368
|
+
build:
|
|
369
|
+
- "code_compilation"
|
|
370
|
+
- "dependency_resolution"
|
|
371
|
+
- "container_build"
|
|
372
|
+
- "artifact_creation"
|
|
373
|
+
|
|
374
|
+
test:
|
|
375
|
+
- "unit_tests"
|
|
376
|
+
- "integration_tests"
|
|
377
|
+
- "security_scan"
|
|
378
|
+
- "performance_tests"
|
|
379
|
+
- "ai_agent_validation"
|
|
380
|
+
|
|
381
|
+
quality:
|
|
382
|
+
- "code_coverage_check"
|
|
383
|
+
- "code_quality_analysis"
|
|
384
|
+
- "dependency_vulnerability_scan"
|
|
385
|
+
- "license_compliance_check"
|
|
386
|
+
|
|
387
|
+
package:
|
|
388
|
+
- "container_registry_push"
|
|
389
|
+
- "helm_chart_package"
|
|
390
|
+
- "artifact_signing"
|
|
391
|
+
- "sbom_generation"
|
|
392
|
+
|
|
393
|
+
continuous_deployment:
|
|
394
|
+
deployment_strategies:
|
|
395
|
+
development:
|
|
396
|
+
strategy: "rolling_update"
|
|
397
|
+
automation_level: "fully_automated"
|
|
398
|
+
|
|
399
|
+
staging:
|
|
400
|
+
strategy: "blue_green"
|
|
401
|
+
automation_level: "automated_with_approval"
|
|
402
|
+
approvers: ["tech_lead", "qa_lead"]
|
|
403
|
+
|
|
404
|
+
production:
|
|
405
|
+
strategy: "canary"
|
|
406
|
+
automation_level: "manual_approval"
|
|
407
|
+
approvers: ["engineering_manager", "sre_lead"]
|
|
408
|
+
|
|
409
|
+
quality_gates:
|
|
410
|
+
pre_deployment:
|
|
411
|
+
- "all_tests_pass"
|
|
412
|
+
- "security_scan_pass"
|
|
413
|
+
- "performance_baseline_met"
|
|
414
|
+
- "approval_obtained"
|
|
415
|
+
|
|
416
|
+
post_deployment:
|
|
417
|
+
- "health_check_pass"
|
|
418
|
+
- "smoke_tests_pass"
|
|
419
|
+
- "monitoring_baseline_met"
|
|
420
|
+
- "rollback_capability_verified"
|
|
421
|
+
|
|
422
|
+
# Advanced pipeline features
|
|
423
|
+
advanced_features:
|
|
424
|
+
progressive_delivery:
|
|
425
|
+
feature_flags:
|
|
426
|
+
provider: "LaunchDarkly"
|
|
427
|
+
integration: "continuous"
|
|
428
|
+
rollback_capability: true
|
|
429
|
+
|
|
430
|
+
a_b_testing:
|
|
431
|
+
framework: "Optimizely"
|
|
432
|
+
automated_winner_selection: true
|
|
433
|
+
significance_threshold: 0.95
|
|
434
|
+
|
|
435
|
+
infrastructure_as_code:
|
|
436
|
+
provider: "Terraform"
|
|
437
|
+
state_management: "remote_backend"
|
|
438
|
+
plan_review: "required"
|
|
439
|
+
|
|
440
|
+
environments:
|
|
441
|
+
- name: "development"
|
|
442
|
+
auto_apply: true
|
|
443
|
+
- name: "staging"
|
|
444
|
+
auto_apply: false
|
|
445
|
+
- name: "production"
|
|
446
|
+
auto_apply: false
|
|
447
|
+
|
|
448
|
+
security_integration:
|
|
449
|
+
sast_tools: ["SonarQube", "Veracode"]
|
|
450
|
+
dast_tools: ["OWASP ZAP", "Burp Suite"]
|
|
451
|
+
dependency_scan: ["Snyk", "WhiteSource"]
|
|
452
|
+
container_scan: ["Twistlock", "Aqua Security"]
|
|
453
|
+
|
|
454
|
+
policy_enforcement:
|
|
455
|
+
- "no_critical_vulnerabilities"
|
|
456
|
+
- "license_compliance"
|
|
457
|
+
- "container_base_image_approved"
|
|
458
|
+
- "secrets_not_in_code"
|
|
459
|
+
```
|
|
460
|
+
|
|
461
|
+
### 2. GitOps Implementation
|
|
462
|
+
|
|
463
|
+
```typescript
|
|
464
|
+
// GitOps controller for Claude-Flow
|
|
465
|
+
export class GitOpsController {
|
|
466
|
+
|
|
467
|
+
async synchronizeDeployment(
|
|
468
|
+
git_repository: GitRepository,
|
|
469
|
+
target_environment: Environment
|
|
470
|
+
): Promise<SynchronizationResult> {
|
|
471
|
+
|
|
472
|
+
// Fetch latest configuration from Git
|
|
473
|
+
const latest_config = await this.fetchLatestConfiguration(git_repository);
|
|
474
|
+
|
|
475
|
+
// Compare with current deployment state
|
|
476
|
+
const drift_analysis = await this.analyzeDrift(latest_config, target_environment);
|
|
477
|
+
|
|
478
|
+
// Apply changes if drift detected
|
|
479
|
+
if (drift_analysis.has_drift) {
|
|
480
|
+
const sync_result = await this.applyChanges(
|
|
481
|
+
drift_analysis.changes,
|
|
482
|
+
target_environment
|
|
483
|
+
);
|
|
484
|
+
|
|
485
|
+
return {
|
|
486
|
+
synchronization_status: "completed",
|
|
487
|
+
changes_applied: sync_result.changes,
|
|
488
|
+
rollback_info: sync_result.rollback_info,
|
|
489
|
+
next_sync_time: this.calculateNextSyncTime()
|
|
490
|
+
};
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
return {
|
|
494
|
+
synchronization_status: "up_to_date",
|
|
495
|
+
changes_applied: [],
|
|
496
|
+
next_sync_time: this.calculateNextSyncTime()
|
|
497
|
+
};
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
// Automated rollback capabilities
|
|
501
|
+
async performAutomatedRollback(
|
|
502
|
+
deployment_id: string,
|
|
503
|
+
rollback_trigger: RollbackTrigger
|
|
504
|
+
): Promise<RollbackResult> {
|
|
505
|
+
|
|
506
|
+
const rollback_plan = await this.generateRollbackPlan(deployment_id);
|
|
507
|
+
|
|
508
|
+
// Validate rollback plan
|
|
509
|
+
const validation_result = await this.validateRollbackPlan(rollback_plan);
|
|
510
|
+
|
|
511
|
+
if (!validation_result.is_safe) {
|
|
512
|
+
return {
|
|
513
|
+
status: "failed",
|
|
514
|
+
reason: "rollback_validation_failed",
|
|
515
|
+
details: validation_result.errors
|
|
516
|
+
};
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
// Execute rollback
|
|
520
|
+
const execution_result = await this.executeRollback(rollback_plan);
|
|
521
|
+
|
|
522
|
+
// Verify rollback success
|
|
523
|
+
const verification_result = await this.verifyRollback(execution_result);
|
|
524
|
+
|
|
525
|
+
return {
|
|
526
|
+
status: verification_result.success ? "completed" : "failed",
|
|
527
|
+
rollback_plan,
|
|
528
|
+
execution_result,
|
|
529
|
+
verification_result,
|
|
530
|
+
recovery_time: this.calculateRecoveryTime(execution_result)
|
|
531
|
+
};
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
// Configuration drift detection
|
|
536
|
+
export class DriftDetector {
|
|
537
|
+
|
|
538
|
+
async detectConfigurationDrift(
|
|
539
|
+
desired_state: ClusterState,
|
|
540
|
+
actual_state: ClusterState
|
|
541
|
+
): Promise<DriftAnalysis> {
|
|
542
|
+
|
|
543
|
+
const differences = {
|
|
544
|
+
resource_differences: await this.compareResources(
|
|
545
|
+
desired_state.resources,
|
|
546
|
+
actual_state.resources
|
|
547
|
+
),
|
|
548
|
+
configuration_differences: await this.compareConfigurations(
|
|
549
|
+
desired_state.configurations,
|
|
550
|
+
actual_state.configurations
|
|
551
|
+
),
|
|
552
|
+
scaling_differences: await this.compareScaling(
|
|
553
|
+
desired_state.scaling,
|
|
554
|
+
actual_state.scaling
|
|
555
|
+
)
|
|
556
|
+
};
|
|
557
|
+
|
|
558
|
+
return {
|
|
559
|
+
has_drift: this.hasDrift(differences),
|
|
560
|
+
drift_severity: this.calculateDriftSeverity(differences),
|
|
561
|
+
drift_categories: this.categorizeDrift(differences),
|
|
562
|
+
remediation_plan: this.generateRemediationPlan(differences),
|
|
563
|
+
estimated_sync_time: this.estimateSyncTime(differences)
|
|
564
|
+
};
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
```
|
|
568
|
+
|
|
569
|
+
## Container Orchestration
|
|
570
|
+
|
|
571
|
+
### 1. Kubernetes Production Configuration
|
|
572
|
+
|
|
573
|
+
```yaml
|
|
574
|
+
# Production Kubernetes manifests
|
|
575
|
+
apiVersion: apps/v1
|
|
576
|
+
kind: Deployment
|
|
577
|
+
metadata:
|
|
578
|
+
name: claude-flow-api
|
|
579
|
+
namespace: claude-flow-production
|
|
580
|
+
labels:
|
|
581
|
+
app: claude-flow-api
|
|
582
|
+
version: v2.0.0
|
|
583
|
+
environment: production
|
|
584
|
+
spec:
|
|
585
|
+
replicas: 10
|
|
586
|
+
strategy:
|
|
587
|
+
type: RollingUpdate
|
|
588
|
+
rollingUpdate:
|
|
589
|
+
maxSurge: 2
|
|
590
|
+
maxUnavailable: 1
|
|
591
|
+
selector:
|
|
592
|
+
matchLabels:
|
|
593
|
+
app: claude-flow-api
|
|
594
|
+
template:
|
|
595
|
+
metadata:
|
|
596
|
+
labels:
|
|
597
|
+
app: claude-flow-api
|
|
598
|
+
version: v2.0.0
|
|
599
|
+
annotations:
|
|
600
|
+
prometheus.io/scrape: "true"
|
|
601
|
+
prometheus.io/port: "8080"
|
|
602
|
+
prometheus.io/path: "/metrics"
|
|
603
|
+
spec:
|
|
604
|
+
serviceAccountName: claude-flow-service-account
|
|
605
|
+
securityContext:
|
|
606
|
+
runAsNonRoot: true
|
|
607
|
+
runAsUser: 1000
|
|
608
|
+
fsGroup: 2000
|
|
609
|
+
containers:
|
|
610
|
+
- name: claude-flow-api
|
|
611
|
+
image: enterprise.registry.com/claude-flow/api:v2.0.0
|
|
612
|
+
imagePullPolicy: Always
|
|
613
|
+
ports:
|
|
614
|
+
- containerPort: 8080
|
|
615
|
+
name: http
|
|
616
|
+
- containerPort: 8081
|
|
617
|
+
name: admin
|
|
618
|
+
env:
|
|
619
|
+
- name: ENVIRONMENT
|
|
620
|
+
value: "production"
|
|
621
|
+
- name: DATABASE_URL
|
|
622
|
+
valueFrom:
|
|
623
|
+
secretKeyRef:
|
|
624
|
+
name: claude-flow-secrets
|
|
625
|
+
key: database-url
|
|
626
|
+
- name: REDIS_URL
|
|
627
|
+
valueFrom:
|
|
628
|
+
secretKeyRef:
|
|
629
|
+
name: claude-flow-secrets
|
|
630
|
+
key: redis-url
|
|
631
|
+
resources:
|
|
632
|
+
requests:
|
|
633
|
+
memory: "2Gi"
|
|
634
|
+
cpu: "1000m"
|
|
635
|
+
limits:
|
|
636
|
+
memory: "4Gi"
|
|
637
|
+
cpu: "2000m"
|
|
638
|
+
livenessProbe:
|
|
639
|
+
httpGet:
|
|
640
|
+
path: /health
|
|
641
|
+
port: 8080
|
|
642
|
+
initialDelaySeconds: 30
|
|
643
|
+
periodSeconds: 10
|
|
644
|
+
timeoutSeconds: 5
|
|
645
|
+
failureThreshold: 3
|
|
646
|
+
readinessProbe:
|
|
647
|
+
httpGet:
|
|
648
|
+
path: /ready
|
|
649
|
+
port: 8080
|
|
650
|
+
initialDelaySeconds: 5
|
|
651
|
+
periodSeconds: 5
|
|
652
|
+
timeoutSeconds: 3
|
|
653
|
+
failureThreshold: 3
|
|
654
|
+
startupProbe:
|
|
655
|
+
httpGet:
|
|
656
|
+
path: /startup
|
|
657
|
+
port: 8080
|
|
658
|
+
initialDelaySeconds: 10
|
|
659
|
+
periodSeconds: 10
|
|
660
|
+
timeoutSeconds: 3
|
|
661
|
+
failureThreshold: 30
|
|
662
|
+
volumeMounts:
|
|
663
|
+
- name: config-volume
|
|
664
|
+
mountPath: /app/config
|
|
665
|
+
readOnly: true
|
|
666
|
+
- name: secret-volume
|
|
667
|
+
mountPath: /app/secrets
|
|
668
|
+
readOnly: true
|
|
669
|
+
volumes:
|
|
670
|
+
- name: config-volume
|
|
671
|
+
configMap:
|
|
672
|
+
name: claude-flow-config
|
|
673
|
+
- name: secret-volume
|
|
674
|
+
secret:
|
|
675
|
+
secretName: claude-flow-secrets
|
|
676
|
+
nodeSelector:
|
|
677
|
+
workload-type: "api"
|
|
678
|
+
affinity:
|
|
679
|
+
podAntiAffinity:
|
|
680
|
+
preferredDuringSchedulingIgnoredDuringExecution:
|
|
681
|
+
- weight: 100
|
|
682
|
+
podAffinityTerm:
|
|
683
|
+
labelSelector:
|
|
684
|
+
matchExpressions:
|
|
685
|
+
- key: app
|
|
686
|
+
operator: In
|
|
687
|
+
values:
|
|
688
|
+
- claude-flow-api
|
|
689
|
+
topologyKey: kubernetes.io/hostname
|
|
690
|
+
tolerations:
|
|
691
|
+
- key: "workload-type"
|
|
692
|
+
operator: "Equal"
|
|
693
|
+
value: "api"
|
|
694
|
+
effect: "NoSchedule"
|
|
695
|
+
|
|
696
|
+
---
|
|
697
|
+
# Horizontal Pod Autoscaler
|
|
698
|
+
apiVersion: autoscaling/v2
|
|
699
|
+
kind: HorizontalPodAutoscaler
|
|
700
|
+
metadata:
|
|
701
|
+
name: claude-flow-api-hpa
|
|
702
|
+
namespace: claude-flow-production
|
|
703
|
+
spec:
|
|
704
|
+
scaleTargetRef:
|
|
705
|
+
apiVersion: apps/v1
|
|
706
|
+
kind: Deployment
|
|
707
|
+
name: claude-flow-api
|
|
708
|
+
minReplicas: 5
|
|
709
|
+
maxReplicas: 50
|
|
710
|
+
metrics:
|
|
711
|
+
- type: Resource
|
|
712
|
+
resource:
|
|
713
|
+
name: cpu
|
|
714
|
+
target:
|
|
715
|
+
type: Utilization
|
|
716
|
+
averageUtilization: 70
|
|
717
|
+
- type: Resource
|
|
718
|
+
resource:
|
|
719
|
+
name: memory
|
|
720
|
+
target:
|
|
721
|
+
type: Utilization
|
|
722
|
+
averageUtilization: 80
|
|
723
|
+
- type: Pods
|
|
724
|
+
pods:
|
|
725
|
+
metric:
|
|
726
|
+
name: agent_queue_depth
|
|
727
|
+
target:
|
|
728
|
+
type: AverageValue
|
|
729
|
+
averageValue: "30"
|
|
730
|
+
behavior:
|
|
731
|
+
scaleUp:
|
|
732
|
+
stabilizationWindowSeconds: 60
|
|
733
|
+
policies:
|
|
734
|
+
- type: Percent
|
|
735
|
+
value: 100
|
|
736
|
+
periodSeconds: 15
|
|
737
|
+
- type: Pods
|
|
738
|
+
value: 4
|
|
739
|
+
periodSeconds: 15
|
|
740
|
+
selectPolicy: Max
|
|
741
|
+
scaleDown:
|
|
742
|
+
stabilizationWindowSeconds: 300
|
|
743
|
+
policies:
|
|
744
|
+
- type: Percent
|
|
745
|
+
value: 10
|
|
746
|
+
periodSeconds: 60
|
|
747
|
+
selectPolicy: Min
|
|
748
|
+
|
|
749
|
+
---
|
|
750
|
+
# Pod Disruption Budget
|
|
751
|
+
apiVersion: policy/v1
|
|
752
|
+
kind: PodDisruptionBudget
|
|
753
|
+
metadata:
|
|
754
|
+
name: claude-flow-api-pdb
|
|
755
|
+
namespace: claude-flow-production
|
|
756
|
+
spec:
|
|
757
|
+
minAvailable: 70%
|
|
758
|
+
selector:
|
|
759
|
+
matchLabels:
|
|
760
|
+
app: claude-flow-api
|
|
761
|
+
```
|
|
762
|
+
|
|
763
|
+
### 2. Service Mesh Integration
|
|
764
|
+
|
|
765
|
+
```yaml
|
|
766
|
+
# Istio service mesh configuration
|
|
767
|
+
apiVersion: networking.istio.io/v1beta1
|
|
768
|
+
kind: VirtualService
|
|
769
|
+
metadata:
|
|
770
|
+
name: claude-flow-api
|
|
771
|
+
namespace: claude-flow-production
|
|
772
|
+
spec:
|
|
773
|
+
hosts:
|
|
774
|
+
- claude-flow-api
|
|
775
|
+
http:
|
|
776
|
+
- match:
|
|
777
|
+
- headers:
|
|
778
|
+
canary:
|
|
779
|
+
exact: "true"
|
|
780
|
+
route:
|
|
781
|
+
- destination:
|
|
782
|
+
host: claude-flow-api
|
|
783
|
+
subset: canary
|
|
784
|
+
weight: 100
|
|
785
|
+
- route:
|
|
786
|
+
- destination:
|
|
787
|
+
host: claude-flow-api
|
|
788
|
+
subset: stable
|
|
789
|
+
weight: 100
|
|
790
|
+
fault:
|
|
791
|
+
delay:
|
|
792
|
+
percentage:
|
|
793
|
+
value: 0.1
|
|
794
|
+
fixedDelay: 5s
|
|
795
|
+
retries:
|
|
796
|
+
attempts: 3
|
|
797
|
+
perTryTimeout: 10s
|
|
798
|
+
retryOn: gateway-error,connect-failure,refused-stream
|
|
799
|
+
timeout: 30s
|
|
800
|
+
|
|
801
|
+
---
|
|
802
|
+
apiVersion: networking.istio.io/v1beta1
|
|
803
|
+
kind: DestinationRule
|
|
804
|
+
metadata:
|
|
805
|
+
name: claude-flow-api
|
|
806
|
+
namespace: claude-flow-production
|
|
807
|
+
spec:
|
|
808
|
+
host: claude-flow-api
|
|
809
|
+
trafficPolicy:
|
|
810
|
+
connectionPool:
|
|
811
|
+
tcp:
|
|
812
|
+
maxConnections: 100
|
|
813
|
+
http:
|
|
814
|
+
http1MaxPendingRequests: 10
|
|
815
|
+
maxRequestsPerConnection: 2
|
|
816
|
+
loadBalancer:
|
|
817
|
+
simple: LEAST_CONN
|
|
818
|
+
outlierDetection:
|
|
819
|
+
consecutiveErrors: 3
|
|
820
|
+
interval: 30s
|
|
821
|
+
baseEjectionTime: 30s
|
|
822
|
+
maxEjectionPercent: 50
|
|
823
|
+
subsets:
|
|
824
|
+
- name: stable
|
|
825
|
+
labels:
|
|
826
|
+
version: v2.0.0
|
|
827
|
+
- name: canary
|
|
828
|
+
labels:
|
|
829
|
+
version: v2.1.0
|
|
830
|
+
|
|
831
|
+
---
|
|
832
|
+
# Security policies
|
|
833
|
+
apiVersion: security.istio.io/v1beta1
|
|
834
|
+
kind: AuthorizationPolicy
|
|
835
|
+
metadata:
|
|
836
|
+
name: claude-flow-api-policy
|
|
837
|
+
namespace: claude-flow-production
|
|
838
|
+
spec:
|
|
839
|
+
selector:
|
|
840
|
+
matchLabels:
|
|
841
|
+
app: claude-flow-api
|
|
842
|
+
rules:
|
|
843
|
+
- from:
|
|
844
|
+
- source:
|
|
845
|
+
principals: ["cluster.local/ns/claude-flow-production/sa/claude-flow-frontend"]
|
|
846
|
+
to:
|
|
847
|
+
- operation:
|
|
848
|
+
methods: ["GET", "POST"]
|
|
849
|
+
paths: ["/api/*"]
|
|
850
|
+
- from:
|
|
851
|
+
- source:
|
|
852
|
+
principals: ["cluster.local/ns/monitoring/sa/prometheus"]
|
|
853
|
+
to:
|
|
854
|
+
- operation:
|
|
855
|
+
methods: ["GET"]
|
|
856
|
+
paths: ["/metrics"]
|
|
857
|
+
```
|
|
858
|
+
|
|
859
|
+
## Infrastructure as Code
|
|
860
|
+
|
|
861
|
+
```
|
|
862
|
+
⚡ INFRASTRUCTURE DEPLOYMENT ARCHITECTURE
|
|
863
|
+
|
|
864
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
865
|
+
│ CLOUD-NATIVE INFRASTRUCTURE │
|
|
866
|
+
└─────────────────────────┬───────────────────────────────────────┘
|
|
867
|
+
│
|
|
868
|
+
▼
|
|
869
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
870
|
+
│ KUBERNETES CLUSTER │
|
|
871
|
+
│ │
|
|
872
|
+
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌───────────┐ │
|
|
873
|
+
│ │ API NODES │ │AGENT NODES │ │ STORAGE │ │ NETWORK │ │
|
|
874
|
+
│ │ (5-50 pods) │ │(10-200 pods)│ │ LAYER │ │ LAYER │ │
|
|
875
|
+
│ │ │ │ │ │ │ │ │ │
|
|
876
|
+
│ │• Load Bal │ │• Coder │ │• PostgreSQL │ │• ALB/NLB │ │
|
|
877
|
+
│ │• Auth │ │• Reviewer │ │• Redis │ │• VPC │ │
|
|
878
|
+
│ │• API Gateway│ │• Tester │ │• S3 Buckets │ │• Subnets │ │
|
|
879
|
+
│ │• Web UI │ │• Security │ │• EFS/EBS │ │• Route53 │ │
|
|
880
|
+
│ └─────────────┘ └─────────────┘ └─────────────┘ └───────────┘ │
|
|
881
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
882
|
+
│
|
|
883
|
+
▼
|
|
884
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
885
|
+
│ OBSERVABILITY STACK │
|
|
886
|
+
│ │
|
|
887
|
+
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌───────────┐ │
|
|
888
|
+
│ │ MONITORING │ │ LOGGING │ │ TRACING │ │ ALERTS │ │
|
|
889
|
+
│ │ │ │ │ │ │ │ │ │
|
|
890
|
+
│ │• Prometheus │ │• FluentBit │ │• Jaeger │ │• AlertMgr │ │
|
|
891
|
+
│ │• Grafana │ │• ElasticSrch│ │• OpenTelem │ │• PagerDuty│ │
|
|
892
|
+
│ │• Metrics │ │• Kibana │ │• APM │ │• Slack │ │
|
|
893
|
+
│ │• Dashboards │ │• Log Aggr │ │• Dist Trace │ │• Email │ │
|
|
894
|
+
│ └─────────────┘ └─────────────┘ └─────────────┘ └───────────┘ │
|
|
895
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
896
|
+
|
|
897
|
+
🔄 TERRAFORM DEPLOYMENT WORKFLOW:
|
|
898
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
899
|
+
│ Plan → Validate → Apply → Test → Promote → Monitor → Rollback │
|
|
900
|
+
│ ↓ ↓ ↓ ↓ ↓ ↓ ↓ │
|
|
901
|
+
│ IaC Resource Deploy Health Env Metrics Disaster │
|
|
902
|
+
│ Code Validate Infra Check Promo Track Recovery │
|
|
903
|
+
│ Review Security Create E2E Next Alert Previous │
|
|
904
|
+
│ Approve Scan Verify Tests Stage Respond Version │
|
|
905
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
906
|
+
|
|
907
|
+
🏗️ INFRASTRUCTURE COMPONENTS:
|
|
908
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
909
|
+
│ Component → Provider → Config → Scaling → Backup │
|
|
910
|
+
├─────────────────────────────────────────────────────────────────┤
|
|
911
|
+
│ Compute (EKS) → AWS → Multi-AZ → HPA → AMI │
|
|
912
|
+
│ Database (RDS) → AWS → Multi-AZ → Read → Snapshots │
|
|
913
|
+
│ Cache (Redis) → AWS → Cluster → Shards → Persistence │
|
|
914
|
+
│ Storage (S3) → AWS → Global → Auto → Versioning │
|
|
915
|
+
│ Network (VPC) → AWS → Regions → Transit → Flow Logs │
|
|
916
|
+
│ Security (IAM) → AWS → RBAC → Policies→ CloudTrail │
|
|
917
|
+
│ DNS (Route53) → AWS → Global → Health → Monitoring │
|
|
918
|
+
│ CDN (CloudFront) → AWS → Edge → Cache → Access Logs │
|
|
919
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
920
|
+
```
|
|
921
|
+
|
|
922
|
+
### 1. Terraform Enterprise Configuration
|
|
923
|
+
|
|
924
|
+
```hcl
|
|
925
|
+
# Terraform configuration for enterprise deployment
|
|
926
|
+
terraform {
|
|
927
|
+
required_version = ">= 1.0"
|
|
928
|
+
required_providers {
|
|
929
|
+
aws = {
|
|
930
|
+
source = "hashicorp/aws"
|
|
931
|
+
version = "~> 5.0"
|
|
932
|
+
}
|
|
933
|
+
kubernetes = {
|
|
934
|
+
source = "hashicorp/kubernetes"
|
|
935
|
+
version = "~> 2.0"
|
|
936
|
+
}
|
|
937
|
+
helm = {
|
|
938
|
+
source = "hashicorp/helm"
|
|
939
|
+
version = "~> 2.0"
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
backend "s3" {
|
|
944
|
+
bucket = "claude-flow-terraform-state"
|
|
945
|
+
key = "production/terraform.tfstate"
|
|
946
|
+
region = "us-east-1"
|
|
947
|
+
encrypt = true
|
|
948
|
+
dynamodb_table = "terraform-state-lock"
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
# VPC and networking
|
|
953
|
+
module "vpc" {
|
|
954
|
+
source = "./modules/vpc"
|
|
955
|
+
|
|
956
|
+
environment = var.environment
|
|
957
|
+
cidr_block = "10.0.0.0/16"
|
|
958
|
+
|
|
959
|
+
availability_zones = [
|
|
960
|
+
"${var.aws_region}a",
|
|
961
|
+
"${var.aws_region}b",
|
|
962
|
+
"${var.aws_region}c"
|
|
963
|
+
]
|
|
964
|
+
|
|
965
|
+
private_subnets = [
|
|
966
|
+
"10.0.1.0/24",
|
|
967
|
+
"10.0.2.0/24",
|
|
968
|
+
"10.0.3.0/24"
|
|
969
|
+
]
|
|
970
|
+
|
|
971
|
+
public_subnets = [
|
|
972
|
+
"10.0.101.0/24",
|
|
973
|
+
"10.0.102.0/24",
|
|
974
|
+
"10.0.103.0/24"
|
|
975
|
+
]
|
|
976
|
+
|
|
977
|
+
enable_nat_gateway = true
|
|
978
|
+
enable_vpn_gateway = true
|
|
979
|
+
enable_dns_hostnames = true
|
|
980
|
+
enable_dns_support = true
|
|
981
|
+
|
|
982
|
+
tags = {
|
|
983
|
+
Environment = var.environment
|
|
984
|
+
Project = "claude-flow"
|
|
985
|
+
Owner = "platform-team"
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
# EKS cluster
|
|
990
|
+
module "eks" {
|
|
991
|
+
source = "./modules/eks"
|
|
992
|
+
|
|
993
|
+
cluster_name = "claude-flow-${var.environment}"
|
|
994
|
+
cluster_version = "1.27"
|
|
995
|
+
|
|
996
|
+
vpc_id = module.vpc.vpc_id
|
|
997
|
+
subnet_ids = module.vpc.private_subnets
|
|
998
|
+
|
|
999
|
+
node_groups = {
|
|
1000
|
+
api_nodes = {
|
|
1001
|
+
instance_types = ["m5.2xlarge"]
|
|
1002
|
+
min_size = 3
|
|
1003
|
+
max_size = 20
|
|
1004
|
+
desired_size = 5
|
|
1005
|
+
|
|
1006
|
+
labels = {
|
|
1007
|
+
workload-type = "api"
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
taints = [
|
|
1011
|
+
{
|
|
1012
|
+
key = "workload-type"
|
|
1013
|
+
value = "api"
|
|
1014
|
+
effect = "NO_SCHEDULE"
|
|
1015
|
+
}
|
|
1016
|
+
]
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
agent_nodes = {
|
|
1020
|
+
instance_types = ["c5.4xlarge"]
|
|
1021
|
+
min_size = 5
|
|
1022
|
+
max_size = 100
|
|
1023
|
+
desired_size = 10
|
|
1024
|
+
|
|
1025
|
+
labels = {
|
|
1026
|
+
workload-type = "agent"
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
taints = [
|
|
1030
|
+
{
|
|
1031
|
+
key = "workload-type"
|
|
1032
|
+
value = "agent"
|
|
1033
|
+
effect = "NO_SCHEDULE"
|
|
1034
|
+
}
|
|
1035
|
+
]
|
|
1036
|
+
}
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
enable_irsa = true
|
|
1040
|
+
|
|
1041
|
+
tags = {
|
|
1042
|
+
Environment = var.environment
|
|
1043
|
+
Project = "claude-flow"
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
# RDS database
|
|
1048
|
+
module "database" {
|
|
1049
|
+
source = "./modules/rds"
|
|
1050
|
+
|
|
1051
|
+
identifier = "claude-flow-${var.environment}"
|
|
1052
|
+
|
|
1053
|
+
engine = "postgres"
|
|
1054
|
+
engine_version = "14.9"
|
|
1055
|
+
instance_class = "db.r5.2xlarge"
|
|
1056
|
+
allocated_storage = 1000
|
|
1057
|
+
max_allocated_storage = 10000
|
|
1058
|
+
|
|
1059
|
+
db_name = "claudeflow"
|
|
1060
|
+
username = "claudeflow"
|
|
1061
|
+
|
|
1062
|
+
vpc_security_group_ids = [module.security_groups.database_sg_id]
|
|
1063
|
+
db_subnet_group_name = module.vpc.database_subnet_group
|
|
1064
|
+
|
|
1065
|
+
backup_retention_period = 30
|
|
1066
|
+
backup_window = "03:00-04:00"
|
|
1067
|
+
maintenance_window = "sun:04:00-sun:05:00"
|
|
1068
|
+
|
|
1069
|
+
monitoring_interval = 60
|
|
1070
|
+
performance_insights_enabled = true
|
|
1071
|
+
|
|
1072
|
+
deletion_protection = true
|
|
1073
|
+
skip_final_snapshot = false
|
|
1074
|
+
|
|
1075
|
+
tags = {
|
|
1076
|
+
Environment = var.environment
|
|
1077
|
+
Project = "claude-flow"
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
# ElastiCache Redis
|
|
1082
|
+
module "redis" {
|
|
1083
|
+
source = "./modules/elasticache"
|
|
1084
|
+
|
|
1085
|
+
cluster_id = "claude-flow-${var.environment}"
|
|
1086
|
+
|
|
1087
|
+
engine = "redis"
|
|
1088
|
+
node_type = "cache.r6g.2xlarge"
|
|
1089
|
+
num_cache_nodes = 1
|
|
1090
|
+
parameter_group_name = "default.redis7"
|
|
1091
|
+
port = 6379
|
|
1092
|
+
|
|
1093
|
+
subnet_group_name = module.vpc.elasticache_subnet_group
|
|
1094
|
+
security_group_ids = [module.security_groups.redis_sg_id]
|
|
1095
|
+
|
|
1096
|
+
at_rest_encryption_enabled = true
|
|
1097
|
+
transit_encryption_enabled = true
|
|
1098
|
+
|
|
1099
|
+
tags = {
|
|
1100
|
+
Environment = var.environment
|
|
1101
|
+
Project = "claude-flow"
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
# Security groups
|
|
1106
|
+
module "security_groups" {
|
|
1107
|
+
source = "./modules/security-groups"
|
|
1108
|
+
|
|
1109
|
+
vpc_id = module.vpc.vpc_id
|
|
1110
|
+
|
|
1111
|
+
environment = var.environment
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
# Application Load Balancer
|
|
1115
|
+
module "alb" {
|
|
1116
|
+
source = "./modules/alb"
|
|
1117
|
+
|
|
1118
|
+
name = "claude-flow-${var.environment}"
|
|
1119
|
+
|
|
1120
|
+
vpc_id = module.vpc.vpc_id
|
|
1121
|
+
subnets = module.vpc.public_subnets
|
|
1122
|
+
|
|
1123
|
+
security_groups = [module.security_groups.alb_sg_id]
|
|
1124
|
+
|
|
1125
|
+
enable_deletion_protection = true
|
|
1126
|
+
|
|
1127
|
+
target_groups = {
|
|
1128
|
+
api = {
|
|
1129
|
+
name = "claude-flow-api"
|
|
1130
|
+
port = 8080
|
|
1131
|
+
protocol = "HTTP"
|
|
1132
|
+
|
|
1133
|
+
health_check = {
|
|
1134
|
+
enabled = true
|
|
1135
|
+
healthy_threshold = 2
|
|
1136
|
+
interval = 30
|
|
1137
|
+
matcher = "200"
|
|
1138
|
+
path = "/health"
|
|
1139
|
+
port = "traffic-port"
|
|
1140
|
+
protocol = "HTTP"
|
|
1141
|
+
timeout = 5
|
|
1142
|
+
unhealthy_threshold = 2
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
tags = {
|
|
1148
|
+
Environment = var.environment
|
|
1149
|
+
Project = "claude-flow"
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
# Outputs
|
|
1154
|
+
output "cluster_endpoint" {
|
|
1155
|
+
description = "EKS cluster endpoint"
|
|
1156
|
+
value = module.eks.cluster_endpoint
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
output "cluster_name" {
|
|
1160
|
+
description = "EKS cluster name"
|
|
1161
|
+
value = module.eks.cluster_name
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
output "database_endpoint" {
|
|
1165
|
+
description = "RDS instance endpoint"
|
|
1166
|
+
value = module.database.endpoint
|
|
1167
|
+
sensitive = true
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
output "redis_endpoint" {
|
|
1171
|
+
description = "ElastiCache Redis endpoint"
|
|
1172
|
+
value = module.redis.endpoint
|
|
1173
|
+
sensitive = true
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
output "load_balancer_dns" {
|
|
1177
|
+
description = "Load balancer DNS name"
|
|
1178
|
+
value = module.alb.dns_name
|
|
1179
|
+
}
|
|
1180
|
+
```
|
|
1181
|
+
|
|
1182
|
+
### 2. Helm Charts for Application Deployment
|
|
1183
|
+
|
|
1184
|
+
```yaml
|
|
1185
|
+
# Chart.yaml
|
|
1186
|
+
apiVersion: v2
|
|
1187
|
+
name: claude-flow
|
|
1188
|
+
description: A Helm chart for Claude-Flow Enterprise
|
|
1189
|
+
type: application
|
|
1190
|
+
version: 2.0.0
|
|
1191
|
+
appVersion: "2.0.0"
|
|
1192
|
+
|
|
1193
|
+
dependencies:
|
|
1194
|
+
- name: postgresql
|
|
1195
|
+
version: 12.x.x
|
|
1196
|
+
repository: https://charts.bitnami.com/bitnami
|
|
1197
|
+
condition: postgresql.enabled
|
|
1198
|
+
|
|
1199
|
+
- name: redis
|
|
1200
|
+
version: 17.x.x
|
|
1201
|
+
repository: https://charts.bitnami.com/bitnami
|
|
1202
|
+
condition: redis.enabled
|
|
1203
|
+
|
|
1204
|
+
- name: prometheus
|
|
1205
|
+
version: 23.x.x
|
|
1206
|
+
repository: https://prometheus-community.github.io/helm-charts
|
|
1207
|
+
condition: monitoring.prometheus.enabled
|
|
1208
|
+
|
|
1209
|
+
# values.yaml
|
|
1210
|
+
global:
|
|
1211
|
+
imageRegistry: enterprise.registry.com
|
|
1212
|
+
imagePullSecrets:
|
|
1213
|
+
- name: registry-secret
|
|
1214
|
+
storageClass: gp3
|
|
1215
|
+
|
|
1216
|
+
# Application configuration
|
|
1217
|
+
api:
|
|
1218
|
+
image:
|
|
1219
|
+
repository: claude-flow/api
|
|
1220
|
+
tag: v2.0.0
|
|
1221
|
+
pullPolicy: Always
|
|
1222
|
+
|
|
1223
|
+
replicas: 10
|
|
1224
|
+
|
|
1225
|
+
resources:
|
|
1226
|
+
requests:
|
|
1227
|
+
cpu: 1000m
|
|
1228
|
+
memory: 2Gi
|
|
1229
|
+
limits:
|
|
1230
|
+
cpu: 2000m
|
|
1231
|
+
memory: 4Gi
|
|
1232
|
+
|
|
1233
|
+
autoscaling:
|
|
1234
|
+
enabled: true
|
|
1235
|
+
minReplicas: 5
|
|
1236
|
+
maxReplicas: 50
|
|
1237
|
+
targetCPUUtilizationPercentage: 70
|
|
1238
|
+
targetMemoryUtilizationPercentage: 80
|
|
1239
|
+
|
|
1240
|
+
service:
|
|
1241
|
+
type: ClusterIP
|
|
1242
|
+
port: 8080
|
|
1243
|
+
targetPort: 8080
|
|
1244
|
+
|
|
1245
|
+
ingress:
|
|
1246
|
+
enabled: true
|
|
1247
|
+
className: alb
|
|
1248
|
+
annotations:
|
|
1249
|
+
kubernetes.io/ingress.class: alb
|
|
1250
|
+
alb.ingress.kubernetes.io/scheme: internet-facing
|
|
1251
|
+
alb.ingress.kubernetes.io/target-type: ip
|
|
1252
|
+
alb.ingress.kubernetes.io/ssl-policy: ELBSecurityPolicy-TLS-1-2-2017-01
|
|
1253
|
+
alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012
|
|
1254
|
+
hosts:
|
|
1255
|
+
- host: api.claude-flow.company.com
|
|
1256
|
+
paths:
|
|
1257
|
+
- path: /
|
|
1258
|
+
pathType: Prefix
|
|
1259
|
+
tls:
|
|
1260
|
+
- secretName: claude-flow-tls
|
|
1261
|
+
hosts:
|
|
1262
|
+
- api.claude-flow.company.com
|
|
1263
|
+
|
|
1264
|
+
# Agent worker configuration
|
|
1265
|
+
agents:
|
|
1266
|
+
image:
|
|
1267
|
+
repository: claude-flow/agent-worker
|
|
1268
|
+
tag: v2.0.0
|
|
1269
|
+
pullPolicy: Always
|
|
1270
|
+
|
|
1271
|
+
replicas: 20
|
|
1272
|
+
|
|
1273
|
+
resources:
|
|
1274
|
+
requests:
|
|
1275
|
+
cpu: 2000m
|
|
1276
|
+
memory: 4Gi
|
|
1277
|
+
limits:
|
|
1278
|
+
cpu: 4000m
|
|
1279
|
+
memory: 8Gi
|
|
1280
|
+
|
|
1281
|
+
autoscaling:
|
|
1282
|
+
enabled: true
|
|
1283
|
+
minReplicas: 10
|
|
1284
|
+
maxReplicas: 200
|
|
1285
|
+
targetCPUUtilizationPercentage: 60
|
|
1286
|
+
|
|
1287
|
+
nodeSelector:
|
|
1288
|
+
workload-type: agent
|
|
1289
|
+
|
|
1290
|
+
tolerations:
|
|
1291
|
+
- key: workload-type
|
|
1292
|
+
operator: Equal
|
|
1293
|
+
value: agent
|
|
1294
|
+
effect: NoSchedule
|
|
1295
|
+
|
|
1296
|
+
# Database configuration
|
|
1297
|
+
postgresql:
|
|
1298
|
+
enabled: false # Using external RDS
|
|
1299
|
+
|
|
1300
|
+
externalDatabase:
|
|
1301
|
+
host: claude-flow-production.cluster-xyz.us-east-1.rds.amazonaws.com
|
|
1302
|
+
port: 5432
|
|
1303
|
+
database: claudeflow
|
|
1304
|
+
username: claudeflow
|
|
1305
|
+
existingSecret: claude-flow-db-secret
|
|
1306
|
+
existingSecretPasswordKey: password
|
|
1307
|
+
|
|
1308
|
+
# Redis configuration
|
|
1309
|
+
redis:
|
|
1310
|
+
enabled: false # Using external ElastiCache
|
|
1311
|
+
|
|
1312
|
+
externalRedis:
|
|
1313
|
+
host: claude-flow-production.abc123.cache.amazonaws.com
|
|
1314
|
+
port: 6379
|
|
1315
|
+
existingSecret: claude-flow-redis-secret
|
|
1316
|
+
existingSecretPasswordKey: password
|
|
1317
|
+
|
|
1318
|
+
# Monitoring configuration
|
|
1319
|
+
monitoring:
|
|
1320
|
+
prometheus:
|
|
1321
|
+
enabled: true
|
|
1322
|
+
serviceMonitor:
|
|
1323
|
+
enabled: true
|
|
1324
|
+
interval: 30s
|
|
1325
|
+
|
|
1326
|
+
grafana:
|
|
1327
|
+
enabled: true
|
|
1328
|
+
adminPassword: admin123
|
|
1329
|
+
|
|
1330
|
+
dashboards:
|
|
1331
|
+
default: true
|
|
1332
|
+
|
|
1333
|
+
datasources:
|
|
1334
|
+
datasources.yaml:
|
|
1335
|
+
apiVersion: 1
|
|
1336
|
+
datasources:
|
|
1337
|
+
- name: Prometheus
|
|
1338
|
+
type: prometheus
|
|
1339
|
+
url: http://prometheus:9090
|
|
1340
|
+
access: proxy
|
|
1341
|
+
isDefault: true
|
|
1342
|
+
|
|
1343
|
+
# Security configuration
|
|
1344
|
+
security:
|
|
1345
|
+
podSecurityPolicy:
|
|
1346
|
+
enabled: true
|
|
1347
|
+
|
|
1348
|
+
networkPolicy:
|
|
1349
|
+
enabled: true
|
|
1350
|
+
|
|
1351
|
+
serviceAccount:
|
|
1352
|
+
create: true
|
|
1353
|
+
annotations:
|
|
1354
|
+
eks.amazonaws.com/role-arn: arn:aws:iam::123456789012:role/claude-flow-irsa-role
|
|
1355
|
+
```
|
|
1356
|
+
|
|
1357
|
+
## Disaster Recovery and Business Continuity
|
|
1358
|
+
|
|
1359
|
+
### 1. Backup and Recovery Strategy
|
|
1360
|
+
|
|
1361
|
+
```yaml
|
|
1362
|
+
# Backup configuration
|
|
1363
|
+
backup_strategy:
|
|
1364
|
+
database_backup:
|
|
1365
|
+
provider: "AWS RDS"
|
|
1366
|
+
strategy: "automated_snapshots"
|
|
1367
|
+
|
|
1368
|
+
configuration:
|
|
1369
|
+
backup_retention_period: 30 # days
|
|
1370
|
+
backup_window: "03:00-04:00" # UTC
|
|
1371
|
+
point_in_time_recovery: true
|
|
1372
|
+
cross_region_backup: true
|
|
1373
|
+
backup_regions: ["us-west-2", "eu-west-1"]
|
|
1374
|
+
|
|
1375
|
+
testing:
|
|
1376
|
+
restore_test_frequency: "monthly"
|
|
1377
|
+
restore_test_environment: "staging"
|
|
1378
|
+
recovery_time_objective: "4_hours"
|
|
1379
|
+
recovery_point_objective: "15_minutes"
|
|
1380
|
+
|
|
1381
|
+
application_backup:
|
|
1382
|
+
provider: "Velero"
|
|
1383
|
+
storage_location: "s3://claude-flow-backups"
|
|
1384
|
+
|
|
1385
|
+
schedules:
|
|
1386
|
+
daily:
|
|
1387
|
+
schedule: "0 2 * * *"
|
|
1388
|
+
retention: "30d"
|
|
1389
|
+
include_namespaces: ["claude-flow-production"]
|
|
1390
|
+
|
|
1391
|
+
weekly:
|
|
1392
|
+
schedule: "0 1 * * 0"
|
|
1393
|
+
retention: "12w"
|
|
1394
|
+
include_namespaces: ["claude-flow-production"]
|
|
1395
|
+
|
|
1396
|
+
monthly:
|
|
1397
|
+
schedule: "0 0 1 * *"
|
|
1398
|
+
retention: "12m"
|
|
1399
|
+
include_namespaces: ["claude-flow-production"]
|
|
1400
|
+
|
|
1401
|
+
configuration_backup:
|
|
1402
|
+
provider: "Git"
|
|
1403
|
+
repository: "git@github.com:company/claude-flow-config.git"
|
|
1404
|
+
|
|
1405
|
+
automated_commits:
|
|
1406
|
+
frequency: "on_change"
|
|
1407
|
+
commit_message_template: "Automated backup: {timestamp}"
|
|
1408
|
+
|
|
1409
|
+
encryption: true
|
|
1410
|
+
encryption_key: "backup-encryption-key"
|
|
1411
|
+
|
|
1412
|
+
disaster_recovery:
|
|
1413
|
+
primary_region: "us-east-1"
|
|
1414
|
+
dr_region: "us-west-2"
|
|
1415
|
+
|
|
1416
|
+
failover_strategy: "active_passive"
|
|
1417
|
+
|
|
1418
|
+
rto_target: "2_hours" # Recovery Time Objective
|
|
1419
|
+
rpo_target: "15_minutes" # Recovery Point Objective
|
|
1420
|
+
|
|
1421
|
+
automated_failover:
|
|
1422
|
+
enabled: true
|
|
1423
|
+
health_check_interval: "60s"
|
|
1424
|
+
failure_threshold: 3
|
|
1425
|
+
|
|
1426
|
+
triggers:
|
|
1427
|
+
- "region_unavailability"
|
|
1428
|
+
- "database_unavailability"
|
|
1429
|
+
- "application_health_check_failure"
|
|
1430
|
+
|
|
1431
|
+
manual_procedures:
|
|
1432
|
+
documentation: "DR_RUNBOOK.md"
|
|
1433
|
+
contact_list: ["sre-team@company.com", "engineering-lead@company.com"]
|
|
1434
|
+
escalation_policy: "follow_incident_response_plan"
|
|
1435
|
+
```
|
|
1436
|
+
|
|
1437
|
+
### 2. Recovery Automation
|
|
1438
|
+
|
|
1439
|
+
```typescript
|
|
1440
|
+
// Disaster recovery automation
|
|
1441
|
+
export class DisasterRecoveryOrchestrator {
|
|
1442
|
+
|
|
1443
|
+
async executeDisasterRecovery(
|
|
1444
|
+
trigger: DisasterTrigger,
|
|
1445
|
+
recovery_plan: RecoveryPlan
|
|
1446
|
+
): Promise<RecoveryResult> {
|
|
1447
|
+
|
|
1448
|
+
// Step 1: Assess the disaster impact
|
|
1449
|
+
const impact_assessment = await this.assessDisasterImpact(trigger);
|
|
1450
|
+
|
|
1451
|
+
// Step 2: Activate disaster recovery plan
|
|
1452
|
+
const activation_result = await this.activateRecoveryPlan(
|
|
1453
|
+
recovery_plan,
|
|
1454
|
+
impact_assessment
|
|
1455
|
+
);
|
|
1456
|
+
|
|
1457
|
+
// Step 3: Failover to DR site
|
|
1458
|
+
const failover_result = await this.executeFailover(
|
|
1459
|
+
recovery_plan.failover_strategy
|
|
1460
|
+
);
|
|
1461
|
+
|
|
1462
|
+
// Step 4: Restore services
|
|
1463
|
+
const restoration_result = await this.restoreServices(
|
|
1464
|
+
recovery_plan.service_priorities
|
|
1465
|
+
);
|
|
1466
|
+
|
|
1467
|
+
// Step 5: Validate recovery
|
|
1468
|
+
const validation_result = await this.validateRecovery(
|
|
1469
|
+
recovery_plan.validation_criteria
|
|
1470
|
+
);
|
|
1471
|
+
|
|
1472
|
+
return {
|
|
1473
|
+
recovery_id: this.generateRecoveryId(),
|
|
1474
|
+
trigger,
|
|
1475
|
+
impact_assessment,
|
|
1476
|
+
activation_result,
|
|
1477
|
+
failover_result,
|
|
1478
|
+
restoration_result,
|
|
1479
|
+
validation_result,
|
|
1480
|
+
total_recovery_time: this.calculateRecoveryTime(activation_result),
|
|
1481
|
+
next_steps: this.generateNextSteps(validation_result)
|
|
1482
|
+
};
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
async performFailback(
|
|
1486
|
+
recovery_id: string,
|
|
1487
|
+
primary_site_readiness: SiteReadiness
|
|
1488
|
+
): Promise<FailbackResult> {
|
|
1489
|
+
|
|
1490
|
+
// Validate primary site is ready
|
|
1491
|
+
const readiness_validation = await this.validatePrimarySiteReadiness(
|
|
1492
|
+
primary_site_readiness
|
|
1493
|
+
);
|
|
1494
|
+
|
|
1495
|
+
if (!readiness_validation.is_ready) {
|
|
1496
|
+
throw new Error(`Primary site not ready: ${readiness_validation.blockers}`);
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
// Plan failback strategy
|
|
1500
|
+
const failback_plan = await this.generateFailbackPlan(recovery_id);
|
|
1501
|
+
|
|
1502
|
+
// Execute failback
|
|
1503
|
+
const failback_execution = await this.executeFailback(failback_plan);
|
|
1504
|
+
|
|
1505
|
+
// Validate failback success
|
|
1506
|
+
const failback_validation = await this.validateFailback(failback_execution);
|
|
1507
|
+
|
|
1508
|
+
return {
|
|
1509
|
+
failback_id: this.generateFailbackId(),
|
|
1510
|
+
recovery_id,
|
|
1511
|
+
failback_plan,
|
|
1512
|
+
execution_result: failback_execution,
|
|
1513
|
+
validation_result: failback_validation,
|
|
1514
|
+
total_failback_time: this.calculateFailbackTime(failback_execution)
|
|
1515
|
+
};
|
|
1516
|
+
}
|
|
1517
|
+
}
|
|
1518
|
+
```
|
|
1519
|
+
|
|
1520
|
+
## Performance Optimization
|
|
1521
|
+
|
|
1522
|
+
### 1. Application Performance Tuning
|
|
1523
|
+
|
|
1524
|
+
```typescript
|
|
1525
|
+
// Performance optimization strategies
|
|
1526
|
+
export class PerformanceOptimizer {
|
|
1527
|
+
|
|
1528
|
+
async optimizeApplicationPerformance(
|
|
1529
|
+
application_metrics: ApplicationMetrics,
|
|
1530
|
+
optimization_targets: OptimizationTargets
|
|
1531
|
+
): Promise<OptimizationPlan> {
|
|
1532
|
+
|
|
1533
|
+
const bottlenecks = await this.identifyBottlenecks(application_metrics);
|
|
1534
|
+
const optimization_opportunities = await this.analyzeOptimizationOpportunities(
|
|
1535
|
+
bottlenecks,
|
|
1536
|
+
optimization_targets
|
|
1537
|
+
);
|
|
1538
|
+
|
|
1539
|
+
return {
|
|
1540
|
+
current_performance: this.summarizeCurrentPerformance(application_metrics),
|
|
1541
|
+
identified_bottlenecks: bottlenecks,
|
|
1542
|
+
optimization_recommendations: optimization_opportunities.map(opp => ({
|
|
1543
|
+
...opp,
|
|
1544
|
+
implementation_effort: this.estimateImplementationEffort(opp),
|
|
1545
|
+
expected_impact: this.estimatePerformanceImpact(opp),
|
|
1546
|
+
risk_assessment: this.assessOptimizationRisk(opp)
|
|
1547
|
+
})),
|
|
1548
|
+
implementation_roadmap: this.generateImplementationRoadmap(optimization_opportunities),
|
|
1549
|
+
success_metrics: this.defineSuccessMetrics(optimization_targets)
|
|
1550
|
+
};
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
// JVM and container optimization
|
|
1554
|
+
async optimizeJVMSettings(
|
|
1555
|
+
application_profile: ApplicationProfile,
|
|
1556
|
+
resource_constraints: ResourceConstraints
|
|
1557
|
+
): Promise<JVMOptimization> {
|
|
1558
|
+
|
|
1559
|
+
const gc_analysis = await this.analyzeGarbageCollection(application_profile);
|
|
1560
|
+
const memory_analysis = await this.analyzeMemoryUsage(application_profile);
|
|
1561
|
+
const thread_analysis = await this.analyzeThreadUtilization(application_profile);
|
|
1562
|
+
|
|
1563
|
+
return {
|
|
1564
|
+
recommended_heap_size: this.calculateOptimalHeapSize(
|
|
1565
|
+
memory_analysis,
|
|
1566
|
+
resource_constraints
|
|
1567
|
+
),
|
|
1568
|
+
gc_configuration: this.optimizeGarbageCollector(gc_analysis),
|
|
1569
|
+
thread_pool_settings: this.optimizeThreadPools(thread_analysis),
|
|
1570
|
+
jvm_flags: this.generateOptimizedJVMFlags({
|
|
1571
|
+
heap_size: memory_analysis.optimal_heap,
|
|
1572
|
+
gc_settings: gc_analysis.optimal_gc,
|
|
1573
|
+
performance_flags: this.getPerformanceFlags()
|
|
1574
|
+
})
|
|
1575
|
+
};
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
// Database performance optimization
|
|
1579
|
+
async optimizeDatabasePerformance(
|
|
1580
|
+
database_metrics: DatabaseMetrics,
|
|
1581
|
+
query_patterns: QueryPattern[]
|
|
1582
|
+
): Promise<DatabaseOptimization> {
|
|
1583
|
+
|
|
1584
|
+
const slow_queries = await this.identifySlowQueries(database_metrics);
|
|
1585
|
+
const index_analysis = await this.analyzeIndexUsage(query_patterns);
|
|
1586
|
+
const connection_pool_analysis = await this.analyzeConnectionPools(database_metrics);
|
|
1587
|
+
|
|
1588
|
+
return {
|
|
1589
|
+
query_optimizations: slow_queries.map(q => ({
|
|
1590
|
+
query: q.query,
|
|
1591
|
+
current_performance: q.metrics,
|
|
1592
|
+
optimization_suggestions: this.generateQueryOptimizations(q),
|
|
1593
|
+
estimated_improvement: this.estimateQueryImprovement(q)
|
|
1594
|
+
})),
|
|
1595
|
+
index_recommendations: index_analysis.recommendations,
|
|
1596
|
+
connection_pool_optimization: this.optimizeConnectionPool(connection_pool_analysis),
|
|
1597
|
+
configuration_tuning: this.generateDatabaseConfigTuning(database_metrics)
|
|
1598
|
+
};
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
```
|
|
1602
|
+
|
|
1603
|
+
### 2. Infrastructure Performance Optimization
|
|
1604
|
+
|
|
1605
|
+
```yaml
|
|
1606
|
+
# Infrastructure performance tuning
|
|
1607
|
+
infrastructure_optimization:
|
|
1608
|
+
compute_optimization:
|
|
1609
|
+
instance_rightsizing:
|
|
1610
|
+
enabled: true
|
|
1611
|
+
analysis_period: "7d"
|
|
1612
|
+
utilization_threshold: 20
|
|
1613
|
+
recommendation_confidence: 0.8
|
|
1614
|
+
|
|
1615
|
+
auto_scaling_optimization:
|
|
1616
|
+
scale_up_threshold: 70
|
|
1617
|
+
scale_down_threshold: 30
|
|
1618
|
+
cooldown_optimization: true
|
|
1619
|
+
predictive_scaling: true
|
|
1620
|
+
|
|
1621
|
+
network_optimization:
|
|
1622
|
+
cdn_configuration:
|
|
1623
|
+
provider: "CloudFront"
|
|
1624
|
+
cache_behaviors:
|
|
1625
|
+
static_assets:
|
|
1626
|
+
path_pattern: "*.js,*.css,*.png,*.jpg"
|
|
1627
|
+
ttl: "24h"
|
|
1628
|
+
compression: true
|
|
1629
|
+
|
|
1630
|
+
api_responses:
|
|
1631
|
+
path_pattern: "/api/*"
|
|
1632
|
+
ttl: "5m"
|
|
1633
|
+
cache_key_optimization: true
|
|
1634
|
+
|
|
1635
|
+
load_balancer_optimization:
|
|
1636
|
+
connection_draining: "30s"
|
|
1637
|
+
idle_timeout: "60s"
|
|
1638
|
+
keep_alive: true
|
|
1639
|
+
|
|
1640
|
+
storage_optimization:
|
|
1641
|
+
ebs_optimization:
|
|
1642
|
+
volume_type: "gp3"
|
|
1643
|
+
iops_optimization: true
|
|
1644
|
+
throughput_optimization: true
|
|
1645
|
+
|
|
1646
|
+
data_lifecycle:
|
|
1647
|
+
hot_data_retention: "30d"
|
|
1648
|
+
warm_data_retention: "90d"
|
|
1649
|
+
cold_data_retention: "1y"
|
|
1650
|
+
archival_after: "2y"
|
|
1651
|
+
|
|
1652
|
+
# Caching strategy
|
|
1653
|
+
caching_strategy:
|
|
1654
|
+
application_cache:
|
|
1655
|
+
provider: "Redis"
|
|
1656
|
+
configuration:
|
|
1657
|
+
max_memory: "4gb"
|
|
1658
|
+
eviction_policy: "allkeys-lru"
|
|
1659
|
+
persistence: "rdb"
|
|
1660
|
+
|
|
1661
|
+
cache_patterns:
|
|
1662
|
+
user_sessions:
|
|
1663
|
+
ttl: "24h"
|
|
1664
|
+
key_pattern: "session:{user_id}"
|
|
1665
|
+
|
|
1666
|
+
agent_configs:
|
|
1667
|
+
ttl: "1h"
|
|
1668
|
+
key_pattern: "agent_config:{agent_type}"
|
|
1669
|
+
|
|
1670
|
+
api_responses:
|
|
1671
|
+
ttl: "5m"
|
|
1672
|
+
key_pattern: "api:{endpoint}:{params_hash}"
|
|
1673
|
+
|
|
1674
|
+
cdn_caching:
|
|
1675
|
+
provider: "CloudFront"
|
|
1676
|
+
distributions:
|
|
1677
|
+
static_content:
|
|
1678
|
+
origins: ["s3://claude-flow-static"]
|
|
1679
|
+
cache_behaviors:
|
|
1680
|
+
default:
|
|
1681
|
+
ttl: "24h"
|
|
1682
|
+
compress: true
|
|
1683
|
+
|
|
1684
|
+
api_content:
|
|
1685
|
+
origins: ["api.claude-flow.company.com"]
|
|
1686
|
+
cache_behaviors:
|
|
1687
|
+
default:
|
|
1688
|
+
ttl: "0" # No caching by default
|
|
1689
|
+
cacheable_endpoints:
|
|
1690
|
+
path_pattern: "/api/v1/public/*"
|
|
1691
|
+
ttl: "5m"
|
|
1692
|
+
```
|
|
1693
|
+
|
|
1694
|
+
## Implementation Timeline
|
|
1695
|
+
|
|
1696
|
+
### Phase 1: Infrastructure Foundation (Weeks 1-4)
|
|
1697
|
+
- Deploy infrastructure as code
|
|
1698
|
+
- Set up CI/CD pipelines
|
|
1699
|
+
- Implement basic monitoring
|
|
1700
|
+
- Configure security policies
|
|
1701
|
+
|
|
1702
|
+
### Phase 2: Application Deployment (Weeks 5-8)
|
|
1703
|
+
- Deploy applications to staging
|
|
1704
|
+
- Implement blue-green deployment
|
|
1705
|
+
- Set up automated testing
|
|
1706
|
+
- Configure load balancing
|
|
1707
|
+
|
|
1708
|
+
### Phase 3: Production Deployment (Weeks 9-12)
|
|
1709
|
+
- Deploy to production with canary strategy
|
|
1710
|
+
- Implement disaster recovery procedures
|
|
1711
|
+
- Optimize performance and scaling
|
|
1712
|
+
- Complete security audit
|
|
1713
|
+
|
|
1714
|
+
### Phase 4: Optimization and Operations (Weeks 13-16)
|
|
1715
|
+
- Fine-tune performance
|
|
1716
|
+
- Implement advanced monitoring
|
|
1717
|
+
- Automate operational procedures
|
|
1718
|
+
- Conduct disaster recovery testing
|
|
1719
|
+
|
|
1720
|
+
## Success Metrics
|
|
1721
|
+
|
|
1722
|
+
### Deployment Metrics
|
|
1723
|
+
- **Deployment Frequency**: Daily deployments to production
|
|
1724
|
+
- **Lead Time**: < 2 hours from commit to production
|
|
1725
|
+
- **MTTR**: < 30 minutes for production issues
|
|
1726
|
+
- **Change Failure Rate**: < 5%
|
|
1727
|
+
|
|
1728
|
+
### Operational Metrics
|
|
1729
|
+
- **Availability**: 99.9% uptime
|
|
1730
|
+
- **Performance**: < 200ms API response time
|
|
1731
|
+
- **Scalability**: Support 10x traffic spikes
|
|
1732
|
+
- **Recovery**: < 4 hours RTO, < 15 minutes RPO
|
|
1733
|
+
|
|
1734
|
+
## Related Documentation
|
|
1735
|
+
|
|
1736
|
+
- [Enterprise Architecture Overview](../enterprise-architecture/enterprise-architecture-overview.md)
|
|
1737
|
+
- [Security Framework](../security/enterprise-security-framework.md)
|
|
1738
|
+
- [Monitoring and Observability](../monitoring/enterprise-observability.md)
|
|
1739
|
+
- [Cost Optimization](../cost-optimization/enterprise-cost-management.md)
|