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,250 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workflow Metrics - Track and Calculate Iteration Performance Metrics
|
|
3
|
+
*
|
|
4
|
+
* Provides comprehensive metrics tracking for the iterative workflow,
|
|
5
|
+
* including efficiency, quality, velocity, and convergence metrics.
|
|
6
|
+
*/ import { EventEmitter } from 'events';
|
|
7
|
+
export class WorkflowMetrics extends EventEmitter {
|
|
8
|
+
logger;
|
|
9
|
+
snapshots = new Map();
|
|
10
|
+
constructor(logger){
|
|
11
|
+
super(), this.logger = logger;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Calculate metrics for an iteration
|
|
15
|
+
*/ async calculateIterationMetrics(iteration) {
|
|
16
|
+
const startTime = new Date(iteration.startTime).getTime();
|
|
17
|
+
const endTime = iteration.endTime ? new Date(iteration.endTime).getTime() : Date.now();
|
|
18
|
+
const duration = endTime - startTime;
|
|
19
|
+
// Test metrics
|
|
20
|
+
const testsExecuted = iteration.testResults.totalTests;
|
|
21
|
+
const testPassRate = testsExecuted > 0 ? iteration.testResults.passed / testsExecuted : 0;
|
|
22
|
+
// Fix metrics
|
|
23
|
+
const fixesApplied = iteration.fixResults.length;
|
|
24
|
+
const successfulFixes = iteration.fixResults.filter((f)=>f.status === 'completed').length;
|
|
25
|
+
const fixSuccessRate = fixesApplied > 0 ? successfulFixes / fixesApplied : 0;
|
|
26
|
+
// Code churn (total lines changed)
|
|
27
|
+
const codeChurn = iteration.fixResults.reduce((sum, fix)=>sum + fix.changes.reduce((lineSum, change)=>lineSum + change.linesChanged, 0), 0);
|
|
28
|
+
// Convergence rate (how quickly approaching convergence)
|
|
29
|
+
const convergenceRate = this.calculateConvergenceRate(iteration);
|
|
30
|
+
// Efficiency (value delivered per time)
|
|
31
|
+
const efficiency = this.calculateEfficiency(testPassRate, fixSuccessRate, duration, testsExecuted);
|
|
32
|
+
// Quality score
|
|
33
|
+
const qualityScore = this.calculateQualityScore(iteration);
|
|
34
|
+
const metrics = {
|
|
35
|
+
duration,
|
|
36
|
+
testsExecuted,
|
|
37
|
+
testPassRate,
|
|
38
|
+
fixesApplied,
|
|
39
|
+
fixSuccessRate,
|
|
40
|
+
codeChurn,
|
|
41
|
+
convergenceRate,
|
|
42
|
+
efficiency,
|
|
43
|
+
qualityScore
|
|
44
|
+
};
|
|
45
|
+
// Store snapshot
|
|
46
|
+
await this.storeSnapshot(iteration.featureId, iteration.iterationNumber, metrics);
|
|
47
|
+
// Emit metrics event
|
|
48
|
+
this.emit('metrics:updated', {
|
|
49
|
+
featureId: iteration.featureId,
|
|
50
|
+
iteration: iteration.iterationNumber,
|
|
51
|
+
metrics
|
|
52
|
+
});
|
|
53
|
+
return metrics;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Calculate convergence rate
|
|
57
|
+
*/ calculateConvergenceRate(iteration) {
|
|
58
|
+
const passRate = iteration.testResults.passed / iteration.testResults.totalTests || 0;
|
|
59
|
+
// Get historical pass rates
|
|
60
|
+
const history = this.snapshots.get(iteration.featureId) || [];
|
|
61
|
+
if (history.length === 0) {
|
|
62
|
+
return passRate; // First iteration
|
|
63
|
+
}
|
|
64
|
+
const previousPassRate = history[history.length - 1].metrics.testPassRate;
|
|
65
|
+
const improvement = passRate - previousPassRate;
|
|
66
|
+
// Convergence rate is the improvement rate
|
|
67
|
+
return Math.max(improvement, 0);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Calculate efficiency score
|
|
71
|
+
*/ calculateEfficiency(testPassRate, fixSuccessRate, duration, testsExecuted) {
|
|
72
|
+
// Efficiency = (quality * throughput) / time
|
|
73
|
+
const quality = (testPassRate + fixSuccessRate) / 2;
|
|
74
|
+
const throughput = testsExecuted / 100; // normalized
|
|
75
|
+
const time = duration / 1800000; // normalized to 30-min units
|
|
76
|
+
const efficiency = time > 0 ? quality * throughput / time : 0;
|
|
77
|
+
return Math.min(efficiency, 1);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Calculate quality score
|
|
81
|
+
*/ calculateQualityScore(iteration) {
|
|
82
|
+
let score = 100;
|
|
83
|
+
// Deduct for test failures
|
|
84
|
+
const { testResults } = iteration;
|
|
85
|
+
const criticalFailures = testResults.failures.filter((f)=>f.severity === 'critical').length;
|
|
86
|
+
const highFailures = testResults.failures.filter((f)=>f.severity === 'high').length;
|
|
87
|
+
const mediumFailures = testResults.failures.filter((f)=>f.severity === 'medium').length;
|
|
88
|
+
score -= criticalFailures * 15;
|
|
89
|
+
score -= highFailures * 10;
|
|
90
|
+
score -= mediumFailures * 5;
|
|
91
|
+
// Deduct for warnings
|
|
92
|
+
const highWarnings = testResults.warnings.filter((w)=>w.severity === 'high').length;
|
|
93
|
+
const mediumWarnings = testResults.warnings.filter((w)=>w.severity === 'medium').length;
|
|
94
|
+
score -= highWarnings * 3;
|
|
95
|
+
score -= mediumWarnings * 1;
|
|
96
|
+
// Deduct for failed fixes
|
|
97
|
+
const failedFixes = iteration.fixResults.filter((f)=>f.status === 'failed').length;
|
|
98
|
+
score -= failedFixes * 5;
|
|
99
|
+
// Bonus for coverage
|
|
100
|
+
const avgCoverage = (testResults.coverage.lines + testResults.coverage.functions + testResults.coverage.branches + testResults.coverage.statements) / 4;
|
|
101
|
+
score += (avgCoverage - 80) * 0.2; // Bonus for coverage above 80%
|
|
102
|
+
return Math.max(Math.min(score, 100), 0);
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Store metric snapshot
|
|
106
|
+
*/ async storeSnapshot(featureId, iteration, metrics) {
|
|
107
|
+
if (!this.snapshots.has(featureId)) {
|
|
108
|
+
this.snapshots.set(featureId, []);
|
|
109
|
+
}
|
|
110
|
+
const history = this.snapshots.get(featureId);
|
|
111
|
+
const trends = this.calculateTrends(history, metrics);
|
|
112
|
+
const snapshot = {
|
|
113
|
+
timestamp: new Date().toISOString(),
|
|
114
|
+
featureId,
|
|
115
|
+
iteration,
|
|
116
|
+
metrics,
|
|
117
|
+
trends
|
|
118
|
+
};
|
|
119
|
+
history.push(snapshot);
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Calculate metric trends
|
|
123
|
+
*/ calculateTrends(history, current) {
|
|
124
|
+
if (history.length === 0) {
|
|
125
|
+
return {
|
|
126
|
+
testPassRateTrend: 0,
|
|
127
|
+
fixSuccessRateTrend: 0,
|
|
128
|
+
convergenceRateTrend: 0,
|
|
129
|
+
efficiencyTrend: 0,
|
|
130
|
+
velocityChange: 0
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
const previous = history[history.length - 1].metrics;
|
|
134
|
+
return {
|
|
135
|
+
testPassRateTrend: current.testPassRate - previous.testPassRate,
|
|
136
|
+
fixSuccessRateTrend: current.fixSuccessRate - previous.fixSuccessRate,
|
|
137
|
+
convergenceRateTrend: current.convergenceRate - previous.convergenceRate,
|
|
138
|
+
efficiencyTrend: current.efficiency - previous.efficiency,
|
|
139
|
+
velocityChange: this.calculateVelocityChange(history)
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Calculate velocity change (iterations per hour)
|
|
144
|
+
*/ calculateVelocityChange(history) {
|
|
145
|
+
if (history.length < 2) return 0;
|
|
146
|
+
const recent = history.slice(-2);
|
|
147
|
+
const timeDiff = new Date(recent[1].timestamp).getTime() - new Date(recent[0].timestamp).getTime();
|
|
148
|
+
const iterationTime = timeDiff / 3600000; // hours
|
|
149
|
+
return 1 / iterationTime; // iterations per hour
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Get aggregate metrics for a feature
|
|
153
|
+
*/ getAggregateMetrics(featureId) {
|
|
154
|
+
const history = this.snapshots.get(featureId);
|
|
155
|
+
if (!history || history.length === 0) return null;
|
|
156
|
+
const totalIterations = history.length;
|
|
157
|
+
const totalDuration = history.reduce((sum, s)=>sum + s.metrics.duration, 0);
|
|
158
|
+
const averageIterationTime = totalDuration / totalIterations;
|
|
159
|
+
const totalTests = history.reduce((sum, s)=>sum + s.metrics.testsExecuted, 0);
|
|
160
|
+
const avgTestPassRate = history.reduce((sum, s)=>sum + s.metrics.testPassRate, 0) / totalIterations;
|
|
161
|
+
const totalFixes = history.reduce((sum, s)=>sum + s.metrics.fixesApplied, 0);
|
|
162
|
+
const avgFixSuccessRate = history.reduce((sum, s)=>sum + s.metrics.fixSuccessRate, 0) / totalIterations;
|
|
163
|
+
const avgConvergenceRate = history.reduce((sum, s)=>sum + s.metrics.convergenceRate, 0) / totalIterations;
|
|
164
|
+
const avgEfficiency = history.reduce((sum, s)=>sum + s.metrics.efficiency, 0) / totalIterations;
|
|
165
|
+
const avgQualityScore = history.reduce((sum, s)=>sum + s.metrics.qualityScore, 0) / totalIterations;
|
|
166
|
+
const timeToConvergence = totalDuration;
|
|
167
|
+
return {
|
|
168
|
+
featureId,
|
|
169
|
+
totalIterations,
|
|
170
|
+
totalDuration,
|
|
171
|
+
averageIterationTime,
|
|
172
|
+
totalTests,
|
|
173
|
+
overallPassRate: avgTestPassRate,
|
|
174
|
+
totalFixes,
|
|
175
|
+
overallFixSuccessRate: avgFixSuccessRate,
|
|
176
|
+
averageConvergenceRate: avgConvergenceRate,
|
|
177
|
+
averageEfficiency: avgEfficiency,
|
|
178
|
+
overallQualityScore: avgQualityScore,
|
|
179
|
+
timeToConvergence
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Get metric snapshots for a feature
|
|
184
|
+
*/ getSnapshots(featureId) {
|
|
185
|
+
return this.snapshots.get(featureId) || [];
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Get current metrics
|
|
189
|
+
*/ getCurrentMetrics(featureId) {
|
|
190
|
+
const history = this.snapshots.get(featureId);
|
|
191
|
+
if (!history || history.length === 0) return null;
|
|
192
|
+
return history[history.length - 1];
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Compare metrics across features
|
|
196
|
+
*/ compareFeatures(featureIds) {
|
|
197
|
+
const comparison = new Map();
|
|
198
|
+
for (const featureId of featureIds){
|
|
199
|
+
comparison.set(featureId, this.getAggregateMetrics(featureId));
|
|
200
|
+
}
|
|
201
|
+
return comparison;
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Export metrics for reporting
|
|
205
|
+
*/ exportMetrics(featureId) {
|
|
206
|
+
return {
|
|
207
|
+
feature: featureId,
|
|
208
|
+
snapshots: this.getSnapshots(featureId),
|
|
209
|
+
aggregate: this.getAggregateMetrics(featureId),
|
|
210
|
+
exportedAt: new Date().toISOString()
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* Clear metrics for a feature
|
|
215
|
+
*/ clearMetrics(featureId) {
|
|
216
|
+
this.snapshots.delete(featureId);
|
|
217
|
+
this.logger.info('Cleared metrics', {
|
|
218
|
+
featureId
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* Get performance summary
|
|
223
|
+
*/ getPerformanceSummary() {
|
|
224
|
+
const allFeatures = Array.from(this.snapshots.keys());
|
|
225
|
+
const totalFeatures = allFeatures.length;
|
|
226
|
+
if (totalFeatures === 0) {
|
|
227
|
+
return {
|
|
228
|
+
totalFeatures: 0,
|
|
229
|
+
totalIterations: 0,
|
|
230
|
+
averageIterationsPerFeature: 0,
|
|
231
|
+
averageTimeToConvergence: 0,
|
|
232
|
+
overallQualityScore: 0
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
const aggregates = allFeatures.map((f)=>this.getAggregateMetrics(f)).filter(Boolean);
|
|
236
|
+
const totalIterations = aggregates.reduce((sum, a)=>sum + a.totalIterations, 0);
|
|
237
|
+
const averageIterationsPerFeature = totalIterations / totalFeatures;
|
|
238
|
+
const averageTimeToConvergence = aggregates.reduce((sum, a)=>sum + a.timeToConvergence, 0) / totalFeatures;
|
|
239
|
+
const overallQualityScore = aggregates.reduce((sum, a)=>sum + a.overallQualityScore, 0) / totalFeatures;
|
|
240
|
+
return {
|
|
241
|
+
totalFeatures,
|
|
242
|
+
totalIterations,
|
|
243
|
+
averageIterationsPerFeature,
|
|
244
|
+
averageTimeToConvergence,
|
|
245
|
+
overallQualityScore
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
//# sourceMappingURL=workflow-metrics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/swarm-fullstack/workflows/workflow-metrics.ts"],"names":["EventEmitter","WorkflowMetrics","snapshots","Map","logger","calculateIterationMetrics","iteration","startTime","Date","getTime","endTime","now","duration","testsExecuted","testResults","totalTests","testPassRate","passed","fixesApplied","fixResults","length","successfulFixes","filter","f","status","fixSuccessRate","codeChurn","reduce","sum","fix","changes","lineSum","change","linesChanged","convergenceRate","calculateConvergenceRate","efficiency","calculateEfficiency","qualityScore","calculateQualityScore","metrics","storeSnapshot","featureId","iterationNumber","emit","passRate","history","get","previousPassRate","improvement","Math","max","quality","throughput","time","min","score","criticalFailures","failures","severity","highFailures","mediumFailures","highWarnings","warnings","w","mediumWarnings","failedFixes","avgCoverage","coverage","lines","functions","branches","statements","has","set","trends","calculateTrends","snapshot","timestamp","toISOString","push","current","testPassRateTrend","fixSuccessRateTrend","convergenceRateTrend","efficiencyTrend","velocityChange","previous","calculateVelocityChange","recent","slice","timeDiff","iterationTime","getAggregateMetrics","totalIterations","totalDuration","s","averageIterationTime","avgTestPassRate","totalFixes","avgFixSuccessRate","avgConvergenceRate","avgEfficiency","avgQualityScore","timeToConvergence","overallPassRate","overallFixSuccessRate","averageConvergenceRate","averageEfficiency","overallQualityScore","getSnapshots","getCurrentMetrics","compareFeatures","featureIds","comparison","exportMetrics","feature","aggregate","exportedAt","clearMetrics","delete","info","getPerformanceSummary","allFeatures","Array","from","keys","totalFeatures","averageIterationsP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MC,gBAAgBJ,YAAYvG,MAAM;QAExC,IAAI2G,kBAAkB,GAAG;YACvB,OAAO;gBACLA,eAAe;gBACfjC,iBAAiB;gBACjBkC,6BAA6B;gBAC7BC,0BAA0B;gBAC1BpB,qBAAqB;YACvB;QACF;QAEA,MAAMqB,aAAaP,YAChBQ,GAAG,CAAC,CAAC5G,IAAM,IAAI,CAACsE,mBAAmB,CAACtE,IACpCD,MAAM,CAAC8G;QAEV,MAAMtC,kBAAkBoC,WAAWvG,MAAM,CAAC,CAACC,KAAKyG,IAAMzG,MAAMyG,EAAEvC,eAAe,EAAE;QAC/E,MAAMkC,8BAA8BlC,kBAAkBiC;QACtD,MAAME,2BACJC,WAAWvG,MAAM,CAAC,CAACC,KAAKyG,IAAMzG,MAAMyG,EAAE7B,iBAAiB,EAAE,KAAKuB;QAChE,MAAMlB,sBACJqB,WAAWvG,MAAM,CAAC,CAACC,KAAKyG,IAAMzG,MAAMyG,EAAExB,mBAAmB,EAAE,KAAKkB;QAElE,OAAO;YACLA;YACAjC;YACAkC;YACAC;YACApB;QACF;IACF;AACF"}
|
|
@@ -197,7 +197,7 @@ await coordinator.coordinateSwarm(
|
|
|
197
197
|
*/ export const CLI_EXAMPLES = {
|
|
198
198
|
taskCreate: `
|
|
199
199
|
# Create a complex task with dependencies and scheduling
|
|
200
|
-
claude-flow task create development "Implement user authentication system" \\
|
|
200
|
+
claude-flow-novice task create development "Implement user authentication system" \\
|
|
201
201
|
--priority 80 \\
|
|
202
202
|
--dependencies "task-123,task-456" \\
|
|
203
203
|
--dep-type finish-to-start \\
|
|
@@ -211,7 +211,7 @@ claude-flow task create development "Implement user authentication system" \\
|
|
|
211
211
|
`,
|
|
212
212
|
taskList: `
|
|
213
213
|
# List tasks with advanced filtering and visualization
|
|
214
|
-
claude-flow task list \\
|
|
214
|
+
claude-flow-novice task list \\
|
|
215
215
|
--status running,pending \\
|
|
216
216
|
--priority 70-100 \\
|
|
217
217
|
--tags auth,security \\
|
|
@@ -224,7 +224,7 @@ claude-flow task list \\
|
|
|
224
224
|
`,
|
|
225
225
|
taskStatus: `
|
|
226
226
|
# Get detailed task status with all metrics
|
|
227
|
-
claude-flow task status task-789 \\
|
|
227
|
+
claude-flow-novice task status task-789 \\
|
|
228
228
|
--show-logs \\
|
|
229
229
|
--show-checkpoints \\
|
|
230
230
|
--show-metrics \\
|
|
@@ -234,24 +234,24 @@ claude-flow task status task-789 \\
|
|
|
234
234
|
`,
|
|
235
235
|
taskCancel: `
|
|
236
236
|
# Cancel task with safe rollback and cascade
|
|
237
|
-
claude-flow task cancel task-789 \\
|
|
237
|
+
claude-flow-novice task cancel task-789 \\
|
|
238
238
|
--reason "Requirements changed" \\
|
|
239
239
|
--cascade \\
|
|
240
240
|
--dry-run
|
|
241
241
|
`,
|
|
242
242
|
taskWorkflow: `
|
|
243
243
|
# Create and execute workflows
|
|
244
|
-
claude-flow task workflow create "E-commerce Platform" \\
|
|
244
|
+
claude-flow-novice task workflow create "E-commerce Platform" \\
|
|
245
245
|
--description "Complete e-commerce development workflow" \\
|
|
246
246
|
--max-concurrent 8 \\
|
|
247
247
|
--strategy priority-based \\
|
|
248
248
|
--error-handling continue-on-error
|
|
249
249
|
|
|
250
|
-
claude-flow task workflow execute workflow-123 \\
|
|
250
|
+
claude-flow-novice task workflow execute workflow-123 \\
|
|
251
251
|
--variables '{"environment":"staging","version":"2.1.0"}' \\
|
|
252
252
|
--monitor
|
|
253
253
|
|
|
254
|
-
claude-flow task workflow visualize workflow-123 \\
|
|
254
|
+
claude-flow-novice task workflow visualize workflow-123 \\
|
|
255
255
|
--format dot \\
|
|
256
256
|
--output workflow-graph.dot
|
|
257
257
|
`
|