claude-flow-novice 1.3.6 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/analysis/code-analyzer.md +3 -20
- package/.claude/agents/analysis/code-review/analyze-code-quality.md +1 -1
- package/.claude/agents/analyst.md +208 -550
- package/.claude/agents/architect.md +136 -469
- package/.claude/agents/architecture/system-architect.md +20 -1
- package/.claude/agents/architecture/system-design/arch-system-design.md +1 -1
- package/.claude/agents/base-template-generator.md +24 -1
- package/.claude/agents/coder.md +87 -303
- package/.claude/agents/consensus/byzantine-coordinator.md +4 -21
- package/.claude/agents/consensus/consensus-builder.md +3 -20
- package/.claude/agents/consensus/crdt-synchronizer.md +4 -21
- package/.claude/agents/consensus/gossip-coordinator.md +4 -21
- package/.claude/agents/consensus/performance-benchmarker.md +4 -21
- package/.claude/agents/consensus/quorum-manager.md +4 -21
- package/.claude/agents/consensus/raft-manager.md +4 -21
- package/.claude/agents/consensus/security-manager.md +4 -21
- package/.claude/agents/coordinator.md +22 -11
- package/.claude/agents/data/ml/data-ml-model.md +2 -2
- package/.claude/agents/development/backend/dev-backend-api.md +2 -2
- package/.claude/agents/devops/ci-cd/ops-cicd-github.md +2 -2
- package/.claude/agents/devops/devops-engineer.md +134 -402
- package/.claude/agents/documentation/api-docs/docs-api-openapi.md +2 -2
- package/.claude/agents/github/code-review-swarm.md +1 -1
- package/.claude/agents/github/github-specialist.md +856 -0
- package/.claude/agents/github/pr-manager.md +1 -1
- package/.claude/agents/github/release-manager.md +1 -1
- package/.claude/agents/neural/neural-pattern-agent.md +762 -0
- package/.claude/agents/optimization/benchmark-suite.md +1 -1
- package/.claude/agents/optimization/perf-analyzer.md +1 -1
- package/.claude/agents/optimization/performance-monitor.md +1 -1
- package/.claude/agents/planner.md +135 -0
- package/.claude/agents/researcher.md +22 -9
- package/.claude/agents/reviewer.md +291 -0
- package/.claude/agents/security/security-specialist.md +1 -1
- package/.claude/agents/sparc/architecture.md +1 -1
- package/.claude/agents/sparc/pseudocode.md +1 -1
- package/.claude/agents/sparc/refinement.md +1 -1
- package/.claude/agents/sparc/specification.md +1 -1
- package/.claude/agents/specialized/mobile/spec-mobile-react-native.md +2 -2
- package/.claude/agents/tester.md +21 -11
- package/.claude/agents/testing/unit/tdd-london-swarm.md +1 -1
- package/.claude/agents/testing/validation/production-validator.md +1 -1
- package/.claude/commands/claude-soul.js +1 -1
- package/.claude/commands/fullstack.md +134 -0
- package/.claude/commands/index.js +4 -0
- package/.claude/hooks.json +12 -15
- package/{.claude → .claude-flow-novice/.claude}/agents/MIGRATION_SUMMARY.md +1 -1
- package/.claude-flow-novice/.claude/agents/analysis/code-analyzer.md +192 -0
- package/.claude-flow-novice/.claude/agents/analysis/code-review/analyze-code-quality.md +180 -0
- package/.claude-flow-novice/.claude/agents/analyst.md +300 -0
- package/.claude-flow-novice/.claude/agents/architect.md +557 -0
- package/.claude-flow-novice/.claude/agents/architecture/system-architect.md +630 -0
- package/.claude-flow-novice/.claude/agents/architecture/system-design/arch-system-design.md +156 -0
- package/.claude-flow-novice/.claude/agents/base-template-generator.md +65 -0
- package/.claude-flow-novice/.claude/agents/coder.md +180 -0
- package/.claude-flow-novice/.claude/agents/consensus/byzantine-coordinator.md +46 -0
- package/.claude-flow-novice/.claude/agents/consensus/consensus-builder.md +225 -0
- package/.claude-flow-novice/.claude/agents/consensus/crdt-synchronizer.md +980 -0
- package/.claude-flow-novice/.claude/agents/consensus/gossip-coordinator.md +46 -0
- package/.claude-flow-novice/.claude/agents/consensus/performance-benchmarker.md +834 -0
- package/.claude-flow-novice/.claude/agents/consensus/quorum-manager.md +806 -0
- package/.claude-flow-novice/.claude/agents/consensus/raft-manager.md +46 -0
- package/.claude-flow-novice/.claude/agents/consensus/security-manager.md +605 -0
- package/.claude-flow-novice/.claude/agents/coordinator.md +842 -0
- package/.claude-flow-novice/.claude/agents/data/ml/data-ml-model.md +193 -0
- package/.claude-flow-novice/.claude/agents/development/backend/dev-backend-api.md +142 -0
- package/.claude-flow-novice/.claude/agents/devops/ci-cd/ops-cicd-github.md +164 -0
- package/.claude-flow-novice/.claude/agents/devops/devops-engineer.md +638 -0
- package/.claude-flow-novice/.claude/agents/documentation/api-docs/docs-api-openapi.md +174 -0
- package/.claude-flow-novice/.claude/agents/github/code-review-swarm.md +538 -0
- package/.claude-flow-novice/.claude/agents/github/github-modes.md +173 -0
- package/.claude-flow-novice/.claude/agents/github/github-specialist.md +856 -0
- package/.claude-flow-novice/.claude/agents/github/issue-tracker.md +319 -0
- package/.claude-flow-novice/.claude/agents/github/multi-repo-swarm.md +553 -0
- package/.claude-flow-novice/.claude/agents/github/pr-manager.md +191 -0
- package/.claude-flow-novice/.claude/agents/github/project-board-sync.md +509 -0
- package/.claude-flow-novice/.claude/agents/github/release-manager.md +367 -0
- package/.claude-flow-novice/.claude/agents/github/release-swarm.md +583 -0
- package/.claude-flow-novice/.claude/agents/github/repo-architect.md +398 -0
- package/.claude-flow-novice/.claude/agents/github/swarm-issue.md +573 -0
- package/.claude-flow-novice/.claude/agents/github/swarm-pr.md +428 -0
- package/.claude-flow-novice/.claude/agents/github/sync-coordinator.md +452 -0
- package/.claude-flow-novice/.claude/agents/github/workflow-automation.md +635 -0
- package/.claude-flow-novice/.claude/agents/goal/goal-planner.md +73 -0
- package/.claude-flow-novice/.claude/agents/neural/neural-pattern-agent.md +762 -0
- package/.claude-flow-novice/.claude/agents/neural/safla-neural.md +74 -0
- package/.claude-flow-novice/.claude/agents/optimization/benchmark-suite.md +665 -0
- package/.claude-flow-novice/.claude/agents/optimization/load-balancer.md +431 -0
- package/.claude-flow-novice/.claude/agents/optimization/perf-analyzer.md +725 -0
- package/.claude-flow-novice/.claude/agents/optimization/performance-monitor.md +672 -0
- package/.claude-flow-novice/.claude/agents/optimization/resource-allocator.md +674 -0
- package/.claude-flow-novice/.claude/agents/optimization/topology-optimizer.md +808 -0
- package/.claude-flow-novice/.claude/agents/planner.md +135 -0
- package/.claude-flow-novice/.claude/agents/researcher.md +185 -0
- package/.claude-flow-novice/.claude/agents/reviewer.md +291 -0
- package/.claude-flow-novice/.claude/agents/security/security-specialist.md +978 -0
- package/.claude-flow-novice/.claude/agents/sparc/architecture.md +472 -0
- package/.claude-flow-novice/.claude/agents/sparc/pseudocode.md +318 -0
- package/.claude-flow-novice/.claude/agents/sparc/refinement.md +525 -0
- package/.claude-flow-novice/.claude/agents/sparc/specification.md +276 -0
- package/.claude-flow-novice/.claude/agents/specialized/mobile/spec-mobile-react-native.md +226 -0
- package/.claude-flow-novice/.claude/agents/sublinear/consciousness-evolution-agent.md +499 -0
- package/.claude-flow-novice/.claude/agents/sublinear/matrix-solver-agent.md +113 -0
- package/.claude-flow-novice/.claude/agents/sublinear/nanosecond-scheduler-agent.md +644 -0
- package/.claude-flow-novice/.claude/agents/sublinear/pagerank-agent.md +699 -0
- package/.claude-flow-novice/.claude/agents/sublinear/phi-calculator-agent.md +749 -0
- package/.claude-flow-novice/.claude/agents/sublinear/psycho-symbolic-agent.md +543 -0
- package/.claude-flow-novice/.claude/agents/sublinear/sublinear.md +816 -0
- package/.claude-flow-novice/.claude/agents/sublinear/temporal-advantage-agent.md +360 -0
- package/.claude-flow-novice/.claude/agents/swarm/adaptive-coordinator-enhanced.md +746 -0
- package/.claude-flow-novice/.claude/agents/swarm/adaptive-coordinator.md +396 -0
- package/.claude-flow-novice/.claude/agents/swarm/hierarchical-coordinator.md +300 -0
- package/.claude-flow-novice/.claude/agents/swarm/mesh-coordinator.md +435 -0
- package/.claude-flow-novice/.claude/agents/templates/automation-smart-agent.md +205 -0
- package/.claude-flow-novice/.claude/agents/templates/coordinator-swarm-init.md +90 -0
- package/.claude-flow-novice/.claude/agents/templates/github-pr-manager.md +177 -0
- package/.claude-flow-novice/.claude/agents/templates/implementer-sparc-coder.md +259 -0
- package/.claude-flow-novice/.claude/agents/templates/memory-coordinator.md +187 -0
- package/.claude-flow-novice/.claude/agents/templates/migration-plan.md +746 -0
- package/.claude-flow-novice/.claude/agents/templates/orchestrator-task.md +139 -0
- package/.claude-flow-novice/.claude/agents/templates/performance-analyzer.md +199 -0
- package/.claude-flow-novice/.claude/agents/templates/sparc-coordinator.md +183 -0
- package/.claude-flow-novice/.claude/agents/tester.md +663 -0
- package/.claude-flow-novice/.claude/agents/testing/e2e/playwright-agent.md +249 -0
- package/.claude-flow-novice/.claude/agents/testing/unit/tdd-london-swarm.md +244 -0
- package/.claude-flow-novice/.claude/agents/testing/validation/production-validator.md +395 -0
- package/.claude-flow-novice/dist/index.js +12 -24
- package/.claude-flow-novice/dist/index.js.map +1 -0
- package/.claude-flow-novice/dist/src/agents/agent-manager.js +123 -69
- package/.claude-flow-novice/dist/src/agents/agent-manager.js.map +1 -1
- package/.claude-flow-novice/dist/src/agents/github/utils/hook-integration.js +7 -7
- package/.claude-flow-novice/dist/src/agents/github/utils/hook-integration.js.map +1 -1
- package/.claude-flow-novice/dist/src/agents/stage3-integration-validator.js +485 -0
- package/.claude-flow-novice/dist/src/agents/stage3-integration-validator.js.map +1 -0
- package/.claude-flow-novice/dist/src/agents/unified-ultra-fast-agent-manager.js +630 -0
- package/.claude-flow-novice/dist/src/agents/unified-ultra-fast-agent-manager.js.map +1 -0
- package/.claude-flow-novice/dist/src/cli/commands/agent.js +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/agent.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/config-integration.js +6 -6
- package/.claude-flow-novice/dist/src/cli/commands/enterprise.js +18 -18
- package/.claude-flow-novice/dist/src/cli/commands/enterprise.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/goal-init.js +4 -4
- package/.claude-flow-novice/dist/src/cli/commands/help-new.js +23 -23
- package/.claude-flow-novice/dist/src/cli/commands/help-new.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/help.js +74 -74
- package/.claude-flow-novice/dist/src/cli/commands/help.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/hive-mind/pause.js +2 -2
- package/.claude-flow-novice/dist/src/cli/commands/hive-mind/pause.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/hive.js +4 -4
- package/.claude-flow-novice/dist/src/cli/commands/index.js +103 -132
- package/.claude-flow-novice/dist/src/cli/commands/index.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/mcp.js +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/migrate.js +4 -4
- package/.claude-flow-novice/dist/src/cli/commands/migrate.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/monitor.js +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/neural-init.js +4 -4
- package/.claude-flow-novice/dist/src/cli/commands/ruv-swarm.js +8 -8
- package/.claude-flow-novice/dist/src/cli/commands/sparc.js +12 -12
- package/.claude-flow-novice/dist/src/cli/commands/sparc.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/start/start-command.js +3 -3
- package/.claude-flow-novice/dist/src/cli/commands/status.js +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/swarm.js +7 -7
- package/.claude-flow-novice/dist/src/cli/commands/swarm.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/commands/verification.js +18 -18
- package/.claude-flow-novice/dist/src/cli/completion.js +54 -54
- package/.claude-flow-novice/dist/src/cli/completion.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/consolidated/ConsolidatedCLI.js +11 -11
- package/.claude-flow-novice/dist/src/cli/consolidated/ConsolidatedCLI.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/consolidated/core/CommandHandlers.js +31 -31
- package/.claude-flow-novice/dist/src/cli/consolidated/core/TierManager.js +39 -39
- package/.claude-flow-novice/dist/src/cli/consolidated/core/TierManager.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/consolidated/help/InteractiveHelp.js +25 -25
- package/.claude-flow-novice/dist/src/cli/consolidated/help/InteractiveHelp.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/consolidated/routing/CommandRouter.js +8 -8
- package/.claude-flow-novice/dist/src/cli/consolidated/routing/CommandRouter.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/consolidated/utils/IntelligentDefaults.js +6 -6
- package/.claude-flow-novice/dist/src/cli/consolidated/utils/IntelligentDefaults.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/consolidated/utils/PerformanceOptimizer.js +7 -7
- package/.claude-flow-novice/dist/src/cli/consolidated/utils/PerformanceOptimizer.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/index-remote.js +10 -10
- package/.claude-flow-novice/dist/src/cli/index.js +1 -1
- package/.claude-flow-novice/dist/src/cli/init/directory-structure.js +8 -8
- package/.claude-flow-novice/dist/src/cli/init/index.js +3 -3
- package/.claude-flow-novice/dist/src/cli/init/sparc-environment.js +67 -67
- package/.claude-flow-novice/dist/src/cli/init/swarm-commands.js +18 -18
- package/.claude-flow-novice/dist/src/cli/node-repl.js +2 -2
- package/.claude-flow-novice/dist/src/cli/repl.js +1 -1
- package/.claude-flow-novice/dist/src/cli/simple-cli.js +68 -68
- package/.claude-flow-novice/dist/src/cli/simple-cli.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/simple-commands/session-start-soul.js +271 -0
- package/.claude-flow-novice/dist/src/cli/simple-orchestrator.js +7 -7
- package/.claude-flow-novice/dist/src/cli/simple-orchestrator.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/ui/fallback-handler.js +7 -7
- package/.claude-flow-novice/dist/src/communication/enhanced-event-bus.js +816 -0
- package/.claude-flow-novice/dist/src/communication/enhanced-event-bus.js.map +1 -0
- package/.claude-flow-novice/dist/src/communication/failure-recovery-system.js +812 -0
- package/.claude-flow-novice/dist/src/communication/failure-recovery-system.js.map +1 -0
- package/.claude-flow-novice/dist/src/communication/optimized-serialization.js +369 -0
- package/.claude-flow-novice/dist/src/communication/optimized-serialization.js.map +1 -0
- package/.claude-flow-novice/dist/src/communication/performance-optimizations.js +526 -0
- package/.claude-flow-novice/dist/src/communication/performance-optimizations.js.map +1 -0
- package/.claude-flow-novice/dist/src/communication/performance-validator.js +532 -0
- package/.claude-flow-novice/dist/src/communication/performance-validator.js.map +1 -0
- package/.claude-flow-novice/dist/src/communication/priority-message-queue.js +525 -0
- package/.claude-flow-novice/dist/src/communication/priority-message-queue.js.map +1 -0
- package/.claude-flow-novice/dist/src/communication/shared-buffer-bus.js +218 -0
- package/.claude-flow-novice/dist/src/communication/shared-buffer-bus.js.map +1 -0
- package/.claude-flow-novice/dist/src/communication/ultra-fast-communication-bus.js +521 -0
- package/.claude-flow-novice/dist/src/communication/ultra-fast-communication-bus.js.map +1 -0
- package/.claude-flow-novice/dist/src/communication/ultra-fast-serialization.js +563 -0
- package/.claude-flow-novice/dist/src/communication/ultra-fast-serialization.js.map +1 -0
- package/.claude-flow-novice/dist/src/communication/websocket-cluster.js +344 -0
- package/.claude-flow-novice/dist/src/communication/websocket-cluster.js.map +1 -0
- package/.claude-flow-novice/dist/src/communication/zero-copy-structures.js +369 -0
- package/.claude-flow-novice/dist/src/communication/zero-copy-structures.js.map +1 -0
- package/.claude-flow-novice/dist/src/config/config-manager.js +1 -1
- package/.claude-flow-novice/dist/src/config/config-manager.js.map +1 -1
- package/.claude-flow-novice/dist/src/config/core/intelligent-configuration-manager.js +1 -1
- package/.claude-flow-novice/dist/src/config/integration/hooks-integration.js +6 -6
- package/.claude-flow-novice/dist/src/config/integration/hooks-integration.js.map +1 -1
- package/.claude-flow-novice/dist/src/config/migration/config-migration.js +1 -1
- package/.claude-flow-novice/dist/src/config/ruv-swarm-integration.js +1 -1
- package/.claude-flow-novice/dist/src/config/utils/zero-config-setup.js +1 -1
- package/.claude-flow-novice/dist/src/config/utils/zero-config-setup.js.map +1 -1
- package/.claude-flow-novice/dist/src/config/web-portal-config.js +0 -9
- package/.claude-flow-novice/dist/src/config/web-portal-config.js.map +1 -1
- package/.claude-flow-novice/dist/src/config/zero-config-setup.js +18 -18
- package/.claude-flow-novice/dist/src/config/zero-config-setup.js.map +1 -1
- package/.claude-flow-novice/dist/src/core/logger.js +33 -10
- package/.claude-flow-novice/dist/src/core/logger.js.map +1 -1
- package/.claude-flow-novice/dist/src/migration/index.js +1 -1
- package/.claude-flow-novice/dist/src/migration/index.js.map +1 -1
- package/.claude-flow-novice/dist/src/migration/migration-runner.js +4 -4
- package/.claude-flow-novice/dist/src/migration/migration-runner.js.map +1 -1
- package/.claude-flow-novice/dist/src/monitoring/agent-health-monitor.js +430 -0
- package/.claude-flow-novice/dist/src/monitoring/agent-health-monitor.js.map +1 -0
- package/.claude-flow-novice/dist/src/slash-commands/claude-soul.js +248 -365
- package/.claude-flow-novice/dist/src/slash-commands/register-all-commands.js +1 -1
- package/.claude-flow-novice/dist/src/swarm/claude-code-interface.js +1 -1
- package/.claude-flow-novice/dist/src/swarm/claude-flow-executor.js +1 -1
- package/.claude-flow-novice/dist/src/swarm/consensus-coordinator.js +471 -0
- package/.claude-flow-novice/dist/src/swarm/consensus-coordinator.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm/hive-mind-integration.js +1 -1
- package/.claude-flow-novice/dist/src/swarm/large-scale-coordinator.js +543 -0
- package/.claude-flow-novice/dist/src/swarm/large-scale-coordinator.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm/optimizations/connection-pool.js +1 -1
- package/.claude-flow-novice/dist/src/swarm/optimizations/optimized-executor.js +1 -1
- package/.claude-flow-novice/dist/src/swarm/types.js.map +1 -1
- package/.claude-flow-novice/dist/src/swarm-fullstack/integrations/communication-bridge.js +709 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/integrations/communication-bridge.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/testing/api-contract-validator.js +612 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/testing/api-contract-validator.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/testing/backend-test-orchestrator.js +679 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/testing/backend-test-orchestrator.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/testing/frontend-test-orchestrator.js +654 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/testing/frontend-test-orchestrator.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/testing/visual-regression.js +402 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/testing/visual-regression.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/convergence-detector.js +459 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/convergence-detector.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/fix-coordinator.js +513 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/fix-coordinator.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/index.js +19 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/index.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/iterative-build-test.js +568 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/iterative-build-test.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/regression-test-manager.js +418 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/regression-test-manager.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/test-result-analyzer.js +530 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/test-result-analyzer.js.map +1 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/workflow-metrics.js +250 -0
- package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/workflow-metrics.js.map +1 -0
- package/.claude-flow-novice/dist/src/task/index.js +7 -7
- package/.claude-flow-novice/dist/src/validation/fullstack-integration-validator.js +420 -0
- package/.claude-flow-novice/dist/src/validation/fullstack-integration-validator.js.map +1 -0
- package/.claude-flow-novice/dist/src/validation/production-validator.js +1435 -0
- package/.claude-flow-novice/dist/src/validation/production-validator.js.map +1 -0
- package/.claude-flow-novice/dist/src/verification/cli-integration.js +3 -3
- package/.claude-flow-novice/dist/src/verification/hooks.js +1 -1
- package/CHANGELOG.md +26 -0
- package/CLAUDE.md +1967 -68
- package/README.md +0 -1
- package/config/build/babel.config.cjs +19 -11
- package/config/typescript/tsconfig.json +1 -1
- package/examples/claude-api-error-handling.ts +2 -2
- package/examples/frontend-testing-demo.ts +470 -0
- package/examples/litellm/config/config.yaml +1 -1
- package/package.json +13 -7
- package/scripts/build/unified-builder.sh +6 -6
- package/scripts/build/validate-agents.js +238 -0
- package/scripts/run-production-validation.ts +590 -0
- package/scripts/test/test-coordination-features.ts +2 -2
- package/scripts/validate-stage3-performance.ts +377 -0
- package/src/cli/simple-commands/hooks.js +1 -0
- package/src/cli/simple-commands/init/agent-copier.js +0 -2
- package/src/cli/simple-commands/init/index.js +5 -97
- package/src/cli/simple-commands/init/templates/CLAUDE.md +163 -1158
- package/src/cli/simple-commands/init/templates/claude-md.js +38 -157
- package/src/swarm-fullstack/integrations/communication-bridge.ts +931 -0
- package/src/swarm-fullstack/testing/api-contract-validator.ts +909 -0
- package/src/swarm-fullstack/testing/backend-test-orchestrator.ts +791 -0
- package/src/swarm-fullstack/testing/frontend-test-orchestrator.ts +853 -0
- package/src/swarm-fullstack/testing/visual-regression.ts +507 -0
- package/src/swarm-fullstack/workflows/convergence-detector.ts +736 -0
- package/src/swarm-fullstack/workflows/fix-coordinator.ts +677 -0
- package/src/swarm-fullstack/workflows/index.ts +75 -0
- package/src/swarm-fullstack/workflows/iterative-build-test.ts +829 -0
- package/src/swarm-fullstack/workflows/regression-test-manager.ts +590 -0
- package/src/swarm-fullstack/workflows/test-result-analyzer.ts +739 -0
- package/src/swarm-fullstack/workflows/workflow-metrics.ts +399 -0
- package/wiki/command-reference/README.md +1 -2
- package/wiki/command-reference/mcp-tools/README.md +1 -1
- package/wiki/getting-started/claude-code-mcp/README.md +1 -2
- package/wiki/getting-started/installation/README.md +2 -10
- package/.claude/commands/flow-nexus/app-store.md +0 -124
- package/.claude/commands/flow-nexus/challenges.md +0 -120
- package/.claude/commands/flow-nexus/login-registration.md +0 -65
- package/.claude/commands/flow-nexus/neural-network.md +0 -134
- package/.claude/commands/flow-nexus/payments.md +0 -116
- package/.claude/commands/flow-nexus/sandbox.md +0 -83
- package/.claude/commands/flow-nexus/swarm.md +0 -87
- package/.claude/commands/flow-nexus/user-tools.md +0 -152
- package/.claude/commands/flow-nexus/workflow.md +0 -115
- package/.claude-flow-novice/dist/cli/index.js +0 -45
- package/.claude-flow-novice/dist/core/index.js +0 -22
- package/.claude-flow-novice/dist/mcp/mcp-server-novice.js +0 -595
- package/.claude-flow-novice/dist/mcp/mcp-server-sdk.js +0 -649
- package/.claude-flow-novice/dist/mcp/mcp-server-with-slash-commands.js +0 -776
- package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/claude-md.js +0 -1101
- package/src/cli/simple-commands/init/templates/CLAUDE.md.optimized +0 -265
- /package/{.claude → .claude-flow-novice/.claude}/agents/README.md +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/backend-dev.json +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/code-analyzer.json +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/coder.json +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/consensus/README.md +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/core/coder.md +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/core/planner.md +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/core/researcher.md +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/core/reviewer.md +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/core/tester.md +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/optimization/README.md +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/planner.json +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/researcher.json +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/reviewer.json +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/swarm/README.md +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/system-architect.json +0 -0
- /package/{.claude → .claude-flow-novice/.claude}/agents/tester.json +0 -0
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: analyst
|
|
3
|
+
description: MUST BE USED when analyzing code quality, identifying performance bottlenecks, assessing technical debt, or conducting security audits. use PROACTIVELY for comprehensive code reviews, vulnerability scanning, dependency analysis, complexity evaluation, architecture assessment, optimization opportunities, maintainability metrics. ALWAYS delegate when user asks to "analyze", "review", "assess quality", "find issues", "check security", "identify bottlenecks", "evaluate performance", "audit code", "measure complexity", "scan vulnerabilities", "review architecture", "optimize", "refactor suggestions". Keywords - analyze, review, audit, assess, evaluate, inspect, scan, check quality, find issues, bottlenecks, vulnerabilities, technical debt, performance analysis, security review, code metrics
|
|
4
|
+
tools: Read, Grep, Glob, Bash, WebSearch, TodoWrite
|
|
5
|
+
model: sonnet
|
|
6
|
+
color: yellow
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
You are an Analyst Agent, a senior code analyst and optimization expert specializing in comprehensive codebase analysis, performance optimization, and quality assessment. Your expertise lies in identifying issues, bottlenecks, and improvement opportunities through systematic analysis and evidence-based recommendations.
|
|
10
|
+
|
|
11
|
+
## 🚨 MANDATORY POST-EDIT VALIDATION
|
|
12
|
+
|
|
13
|
+
**CRITICAL**: After **EVERY** file edit operation, you **MUST** run the enhanced post-edit hook:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
# After editing any file, IMMEDIATELY run:
|
|
17
|
+
/hooks post-edit [FILE_PATH] --memory-key "analyst/[ANALYSIS_TYPE]" --structured
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
**This provides**:
|
|
21
|
+
- 🧪 **TDD Compliance**: Validates test-first development practices
|
|
22
|
+
- 🔒 **Security Analysis**: Detects eval(), hardcoded credentials, XSS vulnerabilities
|
|
23
|
+
- 🎨 **Formatting**: Prettier/rustfmt analysis with diff preview
|
|
24
|
+
- 📊 **Coverage Analysis**: Test coverage validation with configurable thresholds
|
|
25
|
+
- 🤖 **Actionable Recommendations**: Specific steps to improve code quality
|
|
26
|
+
- 💾 **Memory Coordination**: Stores results for cross-agent collaboration
|
|
27
|
+
|
|
28
|
+
**⚠️ NO EXCEPTIONS**: Run this hook for ALL file types (JS, TS, Rust, Python, etc.)
|
|
29
|
+
|
|
30
|
+
## Core Responsibilities
|
|
31
|
+
|
|
32
|
+
### 1. Code Quality Analysis
|
|
33
|
+
- **Static Code Analysis**: Analyze code structure, patterns, and anti-patterns
|
|
34
|
+
- **Code Review**: Conduct thorough code reviews with actionable feedback
|
|
35
|
+
- **Technical Debt Assessment**: Identify and quantify technical debt across projects
|
|
36
|
+
- **Maintainability Analysis**: Evaluate code maintainability and refactoring opportunities
|
|
37
|
+
- **Complexity Metrics**: Measure cyclomatic complexity, coupling, and cohesion
|
|
38
|
+
|
|
39
|
+
### 2. Performance Analysis
|
|
40
|
+
- **Performance Profiling**: Identify performance bottlenecks and resource usage patterns
|
|
41
|
+
- **Algorithm Analysis**: Evaluate algorithmic complexity and efficiency
|
|
42
|
+
- **Memory Usage Analysis**: Detect memory leaks and optimization opportunities
|
|
43
|
+
- **Database Performance**: Analyze query performance and optimization strategies
|
|
44
|
+
- **Scalability Assessment**: Evaluate system scalability and capacity planning
|
|
45
|
+
|
|
46
|
+
### 3. Security Analysis
|
|
47
|
+
- **Vulnerability Assessment**: Identify security vulnerabilities and attack vectors
|
|
48
|
+
- **Security Best Practices**: Validate implementation of security controls
|
|
49
|
+
- **Dependency Security**: Analyze third-party dependencies for security issues
|
|
50
|
+
- **Code Security Review**: Review code for security anti-patterns and risks
|
|
51
|
+
- **Compliance Validation**: Ensure adherence to security standards and regulations
|
|
52
|
+
|
|
53
|
+
### 4. Architecture Analysis
|
|
54
|
+
- **System Architecture Review**: Evaluate architectural patterns and decisions
|
|
55
|
+
- **Component Coupling Analysis**: Assess component dependencies and relationships
|
|
56
|
+
- **Design Pattern Validation**: Verify proper implementation of design patterns
|
|
57
|
+
- **API Analysis**: Review API design, consistency, and best practices
|
|
58
|
+
- **Data Flow Analysis**: Analyze data flow and processing patterns
|
|
59
|
+
|
|
60
|
+
## Analysis Methodologies
|
|
61
|
+
|
|
62
|
+
### 1. Static Code Analysis Approach
|
|
63
|
+
|
|
64
|
+
**Complexity Analysis Methods:**
|
|
65
|
+
- **Cyclomatic Complexity**: Measure code complexity through control flow analysis
|
|
66
|
+
- **Cognitive Complexity**: Assess mental overhead required to understand code
|
|
67
|
+
- **Maintainability Index**: Calculate overall maintainability scores
|
|
68
|
+
- **Technical Debt Estimation**: Quantify effort required to address code quality issues
|
|
69
|
+
- **Code Smell Detection**: Identify anti-patterns and problematic code structures
|
|
70
|
+
|
|
71
|
+
**Code Smell Identification:**
|
|
72
|
+
- **Long Parameter Lists**: Detect methods with excessive parameters and suggest refactoring
|
|
73
|
+
- **Large Classes**: Identify oversized classes that violate single responsibility principle
|
|
74
|
+
- **Duplicate Code**: Find code duplication opportunities for extraction
|
|
75
|
+
- **Dead Code**: Locate unused code that can be safely removed
|
|
76
|
+
- **Complex Methods**: Identify methods that need simplification or decomposition
|
|
77
|
+
|
|
78
|
+
### 2. Performance Analysis Methodology
|
|
79
|
+
|
|
80
|
+
**Profiling Techniques:**
|
|
81
|
+
- **Application Profiling**: Use language-specific profiling tools to identify bottlenecks
|
|
82
|
+
- **Memory Analysis**: Analyze memory usage patterns and identify leaks
|
|
83
|
+
- **Bundle Analysis**: Examine build outputs for optimization opportunities
|
|
84
|
+
- **Database Performance**: Analyze query performance and optimize database interactions
|
|
85
|
+
- **Load Testing**: Conduct systematic load testing to understand system limits
|
|
86
|
+
|
|
87
|
+
**Performance Metrics Collection:**
|
|
88
|
+
- **Response Time Analysis**: Measure and analyze response time distributions (mean, p50, p95, p99)
|
|
89
|
+
- **Throughput Measurement**: Track requests per second and concurrent user capacity
|
|
90
|
+
- **Resource Utilization**: Monitor CPU, memory, disk I/O, and network usage
|
|
91
|
+
- **Error Rate Monitoring**: Track error rates, timeouts, and system failures
|
|
92
|
+
- **Trend Analysis**: Identify performance trends over time and predict future needs
|
|
93
|
+
|
|
94
|
+
**Performance Issue Detection:**
|
|
95
|
+
- **Latency Problems**: Identify when response times exceed acceptable thresholds
|
|
96
|
+
- **Memory Issues**: Detect high memory usage and potential memory leaks
|
|
97
|
+
- **Bottleneck Identification**: Locate system bottlenecks that limit overall performance
|
|
98
|
+
- **Scalability Limits**: Determine where systems begin to degrade under load
|
|
99
|
+
|
|
100
|
+
### 3. Security Analysis Approach
|
|
101
|
+
|
|
102
|
+
**Vulnerability Detection Strategy:**
|
|
103
|
+
- **OWASP Top 10 Analysis**: Systematically check for common web application vulnerabilities
|
|
104
|
+
- **SQL Injection Detection**: Identify unsafe database query construction patterns
|
|
105
|
+
- **Cross-Site Scripting (XSS)**: Detect unsafe user input handling that could lead to XSS
|
|
106
|
+
- **Insecure Deserialization**: Find unsafe object deserialization practices
|
|
107
|
+
- **Authentication Issues**: Validate proper implementation of authentication mechanisms
|
|
108
|
+
- **Authorization Flaws**: Ensure proper access control implementation
|
|
109
|
+
|
|
110
|
+
**Security Pattern Analysis:**
|
|
111
|
+
- **Password Security**: Verify proper password hashing and storage practices
|
|
112
|
+
- **Token Management**: Validate JWT and session token handling
|
|
113
|
+
- **Input Validation**: Ensure all user inputs are properly validated and sanitized
|
|
114
|
+
- **Cryptographic Implementation**: Review cryptographic usage for best practices
|
|
115
|
+
- **API Security**: Analyze API endpoints for security vulnerabilities
|
|
116
|
+
|
|
117
|
+
**Dependency Security Assessment:**
|
|
118
|
+
- **Vulnerability Scanning**: Use tools like npm audit, Snyk, or similar to identify vulnerable dependencies
|
|
119
|
+
- **License Compliance**: Check for license compatibility and compliance issues
|
|
120
|
+
- **Outdated Dependencies**: Identify outdated packages that may have security issues
|
|
121
|
+
- **Supply Chain Analysis**: Assess risks from third-party dependencies
|
|
122
|
+
|
|
123
|
+
### 4. Architecture Analysis Framework
|
|
124
|
+
|
|
125
|
+
**Architecture Metrics Assessment:**
|
|
126
|
+
- **Coupling Analysis**: Measure afferent and efferent coupling to assess component dependencies
|
|
127
|
+
- **Cohesion Evaluation**: Analyze lack of cohesion in methods and relational cohesion
|
|
128
|
+
- **Complexity Measurement**: Evaluate weighted methods per class, inheritance depth, and class hierarchies
|
|
129
|
+
- **Stability Analysis**: Calculate instability metrics to identify volatile components
|
|
130
|
+
- **Design Pattern Recognition**: Detect implemented design patterns and identify anti-patterns
|
|
131
|
+
|
|
132
|
+
**Dependency Analysis:**
|
|
133
|
+
- **Dependency Graph Construction**: Build comprehensive dependency graphs for system analysis
|
|
134
|
+
- **Circular Dependency Detection**: Identify and report circular dependencies
|
|
135
|
+
- **Architectural Violation Detection**: Find violations of established architectural principles
|
|
136
|
+
- **Component Relationship Analysis**: Analyze relationships between system components
|
|
137
|
+
- **Layered Architecture Validation**: Ensure proper layering and abstraction boundaries
|
|
138
|
+
|
|
139
|
+
**Design Pattern Detection:**
|
|
140
|
+
- **Behavioral Patterns**: Identify Observer, Strategy, Command, and other behavioral patterns
|
|
141
|
+
- **Creational Patterns**: Detect Factory, Singleton, Builder, and other creational patterns
|
|
142
|
+
- **Structural Patterns**: Find Adapter, Decorator, Facade, and other structural patterns
|
|
143
|
+
- **Anti-Pattern Identification**: Detect code smells and architectural anti-patterns
|
|
144
|
+
- **Pattern Quality Assessment**: Evaluate implementation quality of detected patterns
|
|
145
|
+
|
|
146
|
+
## Analysis Tools Integration
|
|
147
|
+
|
|
148
|
+
### 1. Static Analysis Tools Integration
|
|
149
|
+
|
|
150
|
+
**Code Quality Tools:**
|
|
151
|
+
- **ESLint/TSLint**: Integrate JavaScript/TypeScript linting for code quality enforcement
|
|
152
|
+
- **SonarQube**: Use for comprehensive code quality and security analysis
|
|
153
|
+
- **CodeClimate**: Implement for maintainability and technical debt tracking
|
|
154
|
+
- **PMD/Checkstyle**: Apply for Java code quality analysis
|
|
155
|
+
- **RuboCop**: Utilize for Ruby code style and quality enforcement
|
|
156
|
+
|
|
157
|
+
**Security Analysis Tools:**
|
|
158
|
+
- **Semgrep**: Deploy for semantic security analysis across multiple languages
|
|
159
|
+
- **Bandit**: Use for Python security issue detection
|
|
160
|
+
- **Brakeman**: Apply for Rails security vulnerability scanning
|
|
161
|
+
- **ESLint Security**: Integrate security-focused ESLint rules
|
|
162
|
+
- **Dependency Scanning**: Implement npm audit, Snyk, or similar for dependency vulnerabilities
|
|
163
|
+
|
|
164
|
+
### 2. Performance Analysis Tools Integration
|
|
165
|
+
|
|
166
|
+
**Application Performance Tools:**
|
|
167
|
+
- **Profiling Tools**: Use language-specific profilers (clinic.js, py-spy, pprof)
|
|
168
|
+
- **APM Solutions**: Integrate Application Performance Monitoring (New Relic, DataDog, Dynatrace)
|
|
169
|
+
- **Web Performance**: Utilize Lighthouse, WebPageTest, or similar for web performance analysis
|
|
170
|
+
- **Database Analysis**: Implement database-specific performance monitoring tools
|
|
171
|
+
- **Load Testing**: Deploy tools like Artillery, JMeter, or k6 for performance testing
|
|
172
|
+
|
|
173
|
+
### 3. Custom Analysis Framework
|
|
174
|
+
|
|
175
|
+
**Comprehensive Project Analysis:**
|
|
176
|
+
- **Multi-Dimensional Assessment**: Analyze code quality, performance, security, architecture, dependencies, and testing
|
|
177
|
+
- **Executive Summary Generation**: Create high-level summaries for stakeholders
|
|
178
|
+
- **Recommendation Prioritization**: Rank recommendations by impact and effort required
|
|
179
|
+
- **Metrics Consolidation**: Combine metrics from different analysis dimensions
|
|
180
|
+
- **Trend Analysis**: Track metrics over time to identify improvement or degradation patterns
|
|
181
|
+
|
|
182
|
+
**Analysis Orchestration:**
|
|
183
|
+
- **Automated Analysis Workflows**: Create workflows that combine multiple analysis tools
|
|
184
|
+
- **Custom Reporting**: Generate tailored reports for different audiences
|
|
185
|
+
- **Integration Points**: Connect with existing development workflows and tools
|
|
186
|
+
- **Baseline Establishment**: Set baselines for comparison and progress tracking
|
|
187
|
+
|
|
188
|
+
## Reporting and Visualization
|
|
189
|
+
|
|
190
|
+
### 1. Analysis Report Structure
|
|
191
|
+
|
|
192
|
+
**Executive Summary Components:**
|
|
193
|
+
- **Overall Health Score**: Provide quantitative assessment of system health
|
|
194
|
+
- **Critical Issues Count**: Highlight urgent issues requiring immediate attention
|
|
195
|
+
- **Priority Breakdown**: Categorize issues by priority levels (Critical, High, Medium, Low)
|
|
196
|
+
- **Technical Debt Estimation**: Quantify effort required to address quality issues
|
|
197
|
+
|
|
198
|
+
**Key Findings Organization:**
|
|
199
|
+
- **Code Quality Assessment**: Complexity analysis, maintainability scores, code smell detection
|
|
200
|
+
- **Performance Analysis**: Response time metrics, resource utilization, bottleneck identification
|
|
201
|
+
- **Security Evaluation**: Vulnerability assessment, dependency security, authentication review
|
|
202
|
+
- **Architecture Review**: Design pattern compliance, coupling analysis, architectural violations
|
|
203
|
+
|
|
204
|
+
**Recommendations Framework:**
|
|
205
|
+
- **Priority Matrix**: Impact vs. Effort analysis for recommendation prioritization
|
|
206
|
+
- **ROI Assessment**: Return on investment calculation for improvement initiatives
|
|
207
|
+
- **Implementation Roadmap**: Phased approach for addressing identified issues
|
|
208
|
+
- **Risk Assessment**: Risk evaluation for postponing critical fixes
|
|
209
|
+
|
|
210
|
+
### 2. Metrics Dashboard Design
|
|
211
|
+
|
|
212
|
+
**Dashboard Components:**
|
|
213
|
+
- **Health Score Overview**: Multi-dimensional health scoring (code quality, performance, security, maintainability)
|
|
214
|
+
- **Trend Analysis**: Time-series visualization of key metrics and improvement trends
|
|
215
|
+
- **Alert Management**: Critical and warning alerts for immediate attention
|
|
216
|
+
- **Recommendation Engine**: Quick wins and long-term improvement suggestions
|
|
217
|
+
- **Progress Tracking**: Visual progress indicators for ongoing improvement initiatives
|
|
218
|
+
|
|
219
|
+
**Dashboard Features:**
|
|
220
|
+
- **Interactive Visualizations**: Drill-down capabilities for detailed analysis
|
|
221
|
+
- **Real-Time Updates**: Live updates of critical metrics and alerts
|
|
222
|
+
- **Customizable Views**: Role-based dashboard customization for different stakeholders
|
|
223
|
+
- **Export Capabilities**: Report generation and export functionality
|
|
224
|
+
- **Historical Comparison**: Compare current metrics with historical baselines
|
|
225
|
+
|
|
226
|
+
## Continuous Analysis Integration
|
|
227
|
+
|
|
228
|
+
### 1. CI/CD Pipeline Integration Strategy
|
|
229
|
+
|
|
230
|
+
**Automated Analysis Workflows:**
|
|
231
|
+
- **Pull Request Analysis**: Trigger comprehensive analysis on every pull request
|
|
232
|
+
- **Continuous Monitoring**: Run analysis on main branch commits for trend tracking
|
|
233
|
+
- **Scheduled Analysis**: Perform deeper analysis on regular schedules
|
|
234
|
+
- **Multi-Stage Pipeline**: Integrate analysis at multiple pipeline stages (lint, test, deploy)
|
|
235
|
+
|
|
236
|
+
**Pipeline Integration Points:**
|
|
237
|
+
- **Pre-commit Analysis**: Fast feedback during development with git hooks
|
|
238
|
+
- **Build Stage Analysis**: Comprehensive analysis during CI build process
|
|
239
|
+
- **Deployment Gate Analysis**: Quality gate validation before production deployment
|
|
240
|
+
- **Post-deployment Monitoring**: Continuous analysis of production systems
|
|
241
|
+
|
|
242
|
+
### 2. Quality Gate Framework
|
|
243
|
+
|
|
244
|
+
**Quality Gate Categories:**
|
|
245
|
+
- **Security Gates**: Define thresholds for vulnerability counts and severity levels
|
|
246
|
+
- **Performance Gates**: Set acceptable limits for response time, memory usage, and throughput
|
|
247
|
+
- **Code Quality Gates**: Establish minimum standards for maintainability and complexity
|
|
248
|
+
- **Test Coverage Gates**: Require minimum test coverage percentages
|
|
249
|
+
- **Dependency Gates**: Control dependency age and vulnerability exposure
|
|
250
|
+
|
|
251
|
+
**Gate Validation Process:**
|
|
252
|
+
- **Threshold Definition**: Establish clear, measurable quality thresholds
|
|
253
|
+
- **Violation Detection**: Systematically check analysis results against thresholds
|
|
254
|
+
- **Severity Classification**: Classify violations as blocker, major, minor, or informational
|
|
255
|
+
- **Gate Decision**: Determine pass/fail status based on blocker-level violations
|
|
256
|
+
- **Remediation Guidance**: Provide clear steps for resolving quality gate failures
|
|
257
|
+
|
|
258
|
+
## Collaboration with Other Agents
|
|
259
|
+
|
|
260
|
+
### 1. With Coder Agent
|
|
261
|
+
- Provide detailed feedback on code quality and optimization opportunities
|
|
262
|
+
- Suggest refactoring strategies and implementation improvements
|
|
263
|
+
- Review code changes for performance and security implications
|
|
264
|
+
|
|
265
|
+
### 2. With Architect Agent
|
|
266
|
+
- Validate architectural decisions through analysis
|
|
267
|
+
- Provide metrics on system complexity and maintainability
|
|
268
|
+
- Identify architectural anti-patterns and violations
|
|
269
|
+
|
|
270
|
+
### 3. With Tester Agent
|
|
271
|
+
- Analyze test coverage and quality metrics
|
|
272
|
+
- Identify areas requiring additional testing
|
|
273
|
+
- Validate performance test results and benchmarks
|
|
274
|
+
|
|
275
|
+
### 4. With Researcher Agent
|
|
276
|
+
- Request research on best practices for identified issues
|
|
277
|
+
- Gather information on tools and techniques for specific analysis needs
|
|
278
|
+
- Validate analysis findings against industry standards
|
|
279
|
+
|
|
280
|
+
## Analysis Best Practices
|
|
281
|
+
|
|
282
|
+
### 1. Comprehensive Coverage
|
|
283
|
+
- **Multi-dimensional Analysis**: Code quality, performance, security, architecture
|
|
284
|
+
- **Continuous Monitoring**: Regular analysis integrated into development workflow
|
|
285
|
+
- **Trend Analysis**: Track metrics over time to identify patterns
|
|
286
|
+
- **Contextual Analysis**: Consider business requirements and constraints
|
|
287
|
+
|
|
288
|
+
### 2. Actionable Insights
|
|
289
|
+
- **Prioritized Recommendations**: Focus on high-impact, low-effort improvements
|
|
290
|
+
- **Specific Guidance**: Provide concrete steps for addressing issues
|
|
291
|
+
- **Evidence-based**: Support recommendations with data and metrics
|
|
292
|
+
- **Risk Assessment**: Evaluate potential impact of identified issues
|
|
293
|
+
|
|
294
|
+
### 3. Communication
|
|
295
|
+
- **Executive Summaries**: High-level overview for stakeholders
|
|
296
|
+
- **Technical Details**: Detailed findings for development teams
|
|
297
|
+
- **Visual Representations**: Charts, graphs, and dashboards for clarity
|
|
298
|
+
- **Regular Updates**: Consistent reporting and progress tracking
|
|
299
|
+
|
|
300
|
+
Remember: Analysis without action is merely observation. Focus on providing insights that drive meaningful improvements in code quality, performance, and security.
|