claude-flow-novice 1.3.3 → 1.3.5
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/github/release-manager.md +1 -1
- package/.claude/agents/github/repo-architect.md +2 -2
- package/.claude/agents/optimization/README.md +12 -12
- package/.claude/agents/optimization/benchmark-suite.md +8 -8
- package/.claude/agents/optimization/load-balancer.md +7 -7
- package/.claude/agents/optimization/performance-monitor.md +8 -8
- package/.claude/agents/optimization/resource-allocator.md +9 -9
- package/.claude/agents/optimization/topology-optimizer.md +8 -8
- package/.claude/agents/swarm/README.md +8 -8
- package/.claude/agents/testing/e2e/playwright-agent.md +1 -1
- package/.claude/commands/agents/agent-capabilities.md +2 -2
- package/.claude/commands/agents/agent-coordination.md +3 -3
- package/.claude/commands/agents/agent-types.md +1 -1
- package/.claude/commands/analysis/bottleneck-detect.md +5 -5
- package/.claude/commands/analysis/performance-report.md +4 -4
- package/.claude/commands/analysis/token-usage.md +4 -4
- package/.claude/commands/automation/auto-agent.md +5 -5
- package/.claude/commands/automation/self-healing.md +1 -1
- package/.claude/commands/automation/session-memory.md +1 -1
- package/.claude/commands/automation/smart-agents.md +1 -1
- package/.claude/commands/automation/smart-spawn.md +4 -4
- package/.claude/commands/automation/workflow-select.md +4 -4
- package/.claude/commands/claude-soul.js +22 -556
- package/.claude/commands/coordination/agent-spawn.md +4 -4
- package/.claude/commands/coordination/coordination-system.md +14 -14
- package/.claude/commands/coordination/swarm-init.md +5 -5
- package/.claude/commands/coordination/task-orchestrate.md +4 -4
- package/.claude/commands/github/code-review.md +4 -4
- package/.claude/commands/github/github-swarm.md +5 -5
- package/.claude/commands/github/issue-triage.md +4 -4
- package/.claude/commands/github/pr-enhance.md +4 -4
- package/.claude/commands/github/release-manager.md +1 -1
- package/.claude/commands/github/repo-analyze.md +4 -4
- package/.claude/commands/github/repo-architect.md +2 -2
- package/.claude/commands/hive-mind/hive-mind-consensus.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-init.md +3 -3
- package/.claude/commands/hive-mind/hive-mind-memory.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-metrics.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-resume.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-sessions.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-spawn.md +4 -4
- package/.claude/commands/hive-mind/hive-mind-status.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-stop.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-wizard.md +1 -1
- package/.claude/commands/hive-mind/hive-mind.md +4 -4
- package/.claude/commands/hooks/overview.md +1 -1
- package/.claude/commands/hooks/post-edit.md +6 -6
- package/.claude/commands/hooks/post-task.md +6 -6
- package/.claude/commands/hooks/pre-edit.md +6 -6
- package/.claude/commands/hooks/pre-task.md +6 -6
- package/.claude/commands/hooks/session-end.md +6 -6
- package/.claude/commands/hooks/setup.md +6 -6
- package/.claude/commands/hooks.md +1 -1
- package/.claude/commands/memory/memory-bank.md +4 -4
- package/.claude/commands/memory/memory-persist.md +4 -4
- package/.claude/commands/memory/memory-search.md +4 -4
- package/.claude/commands/memory/memory-usage.md +4 -4
- package/.claude/commands/monitoring/agent-metrics.md +4 -4
- package/.claude/commands/monitoring/real-time-view.md +4 -4
- package/.claude/commands/monitoring/swarm-monitor.md +4 -4
- package/.claude/commands/optimization/auto-topology.md +2 -2
- package/.claude/commands/optimization/cache-manage.md +4 -4
- package/.claude/commands/optimization/parallel-execute.md +4 -4
- package/.claude/commands/optimization/parallel-execution.md +1 -1
- package/.claude/commands/optimization/topology-optimize.md +4 -4
- package/.claude/commands/pair/README.md +20 -20
- package/.claude/commands/pair/config.md +16 -16
- package/.claude/commands/pair/examples.md +11 -11
- package/.claude/commands/pair/modes.md +17 -17
- package/.claude/commands/pair/session.md +27 -27
- package/.claude/commands/pair/start.md +12 -12
- package/.claude/commands/sparc/analyzer.md +3 -3
- package/.claude/commands/sparc/architect.md +3 -3
- package/.claude/commands/sparc/batch-executor.md +3 -3
- package/.claude/commands/sparc/coder.md +3 -3
- package/.claude/commands/sparc/debugger.md +3 -3
- package/.claude/commands/sparc/designer.md +3 -3
- package/.claude/commands/sparc/documenter.md +3 -3
- package/.claude/commands/sparc/innovator.md +3 -3
- package/.claude/commands/sparc/memory-manager.md +3 -3
- package/.claude/commands/sparc/optimizer.md +3 -3
- package/.claude/commands/sparc/orchestrator.md +10 -10
- package/.claude/commands/sparc/researcher.md +3 -3
- package/.claude/commands/sparc/reviewer.md +3 -3
- package/.claude/commands/sparc/sparc-modes.md +13 -13
- package/.claude/commands/sparc/swarm-coordinator.md +3 -3
- package/.claude/commands/sparc/tdd.md +3 -3
- package/.claude/commands/sparc/tester.md +3 -3
- package/.claude/commands/sparc/workflow-manager.md +3 -3
- package/.claude/commands/stream-chain/pipeline.md +10 -10
- package/.claude/commands/stream-chain/run.md +4 -4
- package/.claude/commands/swarm/analysis.md +1 -1
- package/.claude/commands/swarm/development.md +1 -1
- package/.claude/commands/swarm/examples.md +3 -3
- package/.claude/commands/swarm/maintenance.md +1 -1
- package/.claude/commands/swarm/optimization.md +1 -1
- package/.claude/commands/swarm/research.md +1 -1
- package/.claude/commands/swarm/swarm-analysis.md +1 -1
- package/.claude/commands/swarm/swarm-background.md +1 -1
- package/.claude/commands/swarm/swarm-init.md +3 -3
- package/.claude/commands/swarm/swarm-modes.md +1 -1
- package/.claude/commands/swarm/swarm-monitor.md +1 -1
- package/.claude/commands/swarm/swarm-spawn.md +3 -3
- package/.claude/commands/swarm/swarm-status.md +1 -1
- package/.claude/commands/swarm/swarm-strategies.md +1 -1
- package/.claude/commands/swarm/swarm.md +4 -4
- package/.claude/commands/swarm/testing.md +1 -1
- package/.claude/commands/testing/playwright-e2e.md +36 -36
- package/.claude/commands/training/model-update.md +4 -4
- package/.claude/commands/training/neural-patterns.md +3 -3
- package/.claude/commands/training/neural-train.md +4 -4
- package/.claude/commands/training/pattern-learn.md +4 -4
- package/.claude/commands/training/specialization.md +2 -2
- package/.claude/commands/truth/start.md +10 -10
- package/.claude/commands/verify/check.md +5 -5
- package/.claude/commands/verify/start.md +22 -22
- package/.claude/commands/workflows/development.md +3 -3
- package/.claude/commands/workflows/research.md +2 -2
- package/.claude/commands/workflows/workflow-create.md +4 -4
- package/.claude/commands/workflows/workflow-execute.md +4 -4
- package/.claude/commands/workflows/workflow-export.md +4 -4
- package/examples/01-configurations/README.md +5 -5
- package/examples/02-workflows/README.md +8 -8
- package/examples/04-testing/incremental-updates-guide.md +3 -3
- package/examples/06-tutorials/getting-started/01-first-swarm.md +4 -4
- package/examples/06-tutorials/sparc/sparc-tdd-guide.md +13 -13
- package/examples/06-tutorials/sparc-batchtool-orchestration.md +54 -54
- package/examples/06-tutorials/workflows/multi-agent-coordination.md +9 -9
- package/examples/README-batch-init.md +50 -50
- package/examples/README.md +2 -2
- package/examples/automation-examples.md +13 -13
- package/examples/rest-api-simple/README-ARCHITECTURE.md +7 -7
- package/examples/rest-api-simple/implementation-plan.md +7 -7
- package/examples/rest-api-simple/next-steps.md +5 -5
- package/examples/rest-api-simple/sparc-implementation-roadmap.md +12 -12
- package/package.json +2 -1
- package/src/cli/simple-commands/agent.js +9 -9
- package/src/cli/simple-commands/analysis.js +17 -17
- package/src/cli/simple-commands/automation-executor.js +1 -1
- package/src/cli/simple-commands/automation.js +14 -14
- package/src/cli/simple-commands/batch-manager.js +10 -10
- package/src/cli/simple-commands/config.js +14 -14
- package/src/cli/simple-commands/coordination.js +8 -8
- package/src/cli/simple-commands/fix-hook-variables.js +4 -4
- package/src/cli/simple-commands/github/init.js +2 -2
- package/src/cli/simple-commands/github.js +7 -7
- package/src/cli/simple-commands/goal.js +1 -1
- package/src/cli/simple-commands/hive-mind-optimize.js +10 -10
- package/src/cli/simple-commands/hive-mind-wizard.js +5 -5
- package/src/cli/simple-commands/hive-mind.js +34 -34
- package/src/cli/simple-commands/hive.js +4 -4
- package/src/cli/simple-commands/hook-safety.js +7 -7
- package/src/cli/simple-commands/init/claude-commands/claude-flow-commands.js +74 -74
- package/src/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.js +143 -143
- package/src/cli/simple-commands/init/claude-commands/optimized-slash-commands.js +13 -13
- package/src/cli/simple-commands/init/claude-commands/optimized-sparc-commands.js +41 -41
- package/src/cli/simple-commands/init/claude-commands/slash-commands.js +1 -1
- package/src/cli/simple-commands/init/claude-commands/sparc-commands.js +24 -24
- package/src/cli/simple-commands/init/executable-wrapper.js +11 -11
- package/src/cli/simple-commands/init/help.js +19 -19
- package/src/cli/simple-commands/init/index.js +13 -13
- package/src/cli/simple-commands/init/rollback/recovery-manager.js +1 -1
- package/src/cli/simple-commands/init/rollback/rollback-executor.js +2 -2
- package/src/cli/simple-commands/init/sparc/roo-readme.js +5 -5
- package/src/cli/simple-commands/init/templates/claude-md.js +41 -41
- package/src/cli/simple-commands/init/templates/coordination-md.js +55 -55
- package/src/cli/simple-commands/init/templates/enhanced-templates.js +175 -175
- package/src/cli/simple-commands/init/templates/memory-bank-md.js +22 -22
- package/src/cli/simple-commands/init/templates/safe-hook-patterns.js +4 -4
- package/src/cli/simple-commands/init/templates/settings.json +1 -1
- package/src/cli/simple-commands/init/templates/sparc-modes.js +75 -75
- package/src/cli/simple-commands/init/templates/verification-claude-md.js +39 -39
- package/src/cli/simple-commands/init/validation/config-validator.js +3 -3
- package/src/cli/simple-commands/init/validation/health-checker.js +1 -1
- package/src/cli/simple-commands/init/validation/mode-validator.js +2 -2
- package/src/cli/simple-commands/mcp.js +9 -9
- package/src/cli/simple-commands/migrate-hooks.js +2 -2
- package/src/cli/simple-commands/monitor.js +4 -4
- package/src/cli/simple-commands/neural.js +1 -1
- package/src/cli/simple-commands/pair-autofix-only.js +4 -4
- package/src/cli/simple-commands/pair-basic.js +7 -7
- package/src/cli/simple-commands/pair-old.js +9 -9
- package/src/cli/simple-commands/pair-working.js +4 -4
- package/src/cli/simple-commands/pair.js +4 -4
- package/src/cli/simple-commands/sparc/commands.js +5 -5
- package/src/cli/simple-commands/sparc-modes/architect.js +23 -23
- package/src/cli/simple-commands/sparc-modes/ask.js +21 -21
- package/src/cli/simple-commands/sparc-modes/code.js +23 -23
- package/src/cli/simple-commands/sparc-modes/debug.js +10 -10
- package/src/cli/simple-commands/sparc-modes/devops.js +11 -11
- package/src/cli/simple-commands/sparc-modes/docs-writer.js +3 -3
- package/src/cli/simple-commands/sparc-modes/generic.js +4 -4
- package/src/cli/simple-commands/sparc-modes/index.js +22 -22
- package/src/cli/simple-commands/sparc-modes/integration.js +3 -3
- package/src/cli/simple-commands/sparc-modes/mcp.js +3 -3
- package/src/cli/simple-commands/sparc-modes/monitoring.js +3 -3
- package/src/cli/simple-commands/sparc-modes/optimization.js +3 -3
- package/src/cli/simple-commands/sparc-modes/security-review.js +11 -11
- package/src/cli/simple-commands/sparc-modes/sparc-orchestrator.js +37 -37
- package/src/cli/simple-commands/sparc-modes/spec-pseudocode.js +3 -3
- package/src/cli/simple-commands/sparc-modes/supabase-admin.js +11 -11
- package/src/cli/simple-commands/sparc-modes/swarm.js +34 -34
- package/src/cli/simple-commands/sparc-modes/tdd.js +11 -11
- package/src/cli/simple-commands/sparc-modes/tutorial.js +30 -30
- package/src/cli/simple-commands/sparc.js +14 -14
- package/src/cli/simple-commands/start-ui.js +4 -4
- package/src/cli/simple-commands/start-wrapper.js +17 -17
- package/src/cli/simple-commands/status.js +3 -3
- package/src/cli/simple-commands/stream-chain.js +12 -12
- package/src/cli/simple-commands/swarm-metrics-integration.js +2 -2
- package/src/cli/simple-commands/swarm-ui.js +2 -2
- package/src/cli/simple-commands/swarm.js +19 -19
- package/src/cli/simple-commands/task.js +7 -7
- package/src/cli/simple-commands/training.js +5 -5
- package/src/cli/simple-commands/verification-training-integration.js +1 -1
- package/src/language/language-detector.js +1 -2
- package/src/slash-commands/claude-soul.js +248 -365
- package/src/slash-commands/register-all-commands.js +1 -1
- package/wiki/README.md +2 -2
- package/wiki/accessibility/README.md +4 -4
- package/wiki/accessibility/assistive-tech/screen-reader-support.md +6 -6
- package/wiki/accessibility/automation/agent-testing-automation.md +13 -13
- package/wiki/accessibility/guidelines/wcag-compliance.md +6 -6
- package/wiki/accessibility/i18n/internationalization-strategies.md +6 -6
- package/wiki/accessibility/motor-accessibility/keyboard-navigation.md +7 -7
- package/wiki/accessibility/patterns/inclusive-design-patterns.md +4 -4
- package/wiki/accessibility/testing/automated-testing.md +9 -9
- package/wiki/accessibility/visual-design/color-contrast.md +7 -7
- package/wiki/accessibility/workflows/accessibility-first-development.md +22 -22
- package/wiki/accessibility/workflows/inclusive-design-review.md +9 -9
- package/wiki/api-reference/cli-api.md +15 -15
- package/wiki/api-reference/plugin-development.md +3 -3
- package/wiki/command-reference/README.md +34 -34
- package/wiki/command-reference/agent-commands.md +46 -46
- package/wiki/command-reference/cli-commands.md +21 -21
- package/wiki/command-reference/command-syntax.md +89 -89
- package/wiki/command-reference/expert-tier.md +184 -184
- package/wiki/command-reference/intermediate-tier.md +63 -63
- package/wiki/command-reference/mcp-integration.md +29 -29
- package/wiki/command-reference/mcp-tools/README.md +4 -4
- package/wiki/command-reference/mcp-tools/dual-access-workflows.md +1 -1
- package/wiki/command-reference/mcp-tools/index.md +2 -2
- package/wiki/command-reference/mcp-tools/quick-reference.md +4 -4
- package/wiki/command-reference/mcp-tools/session-management.md +2 -2
- package/wiki/command-reference/mcp-tools/task-tool-integration.md +3 -3
- package/wiki/command-reference/novice/README.md +1 -1
- package/wiki/command-reference/novice-tier.md +152 -152
- package/wiki/command-reference/progression-guide.md +107 -107
- package/wiki/command-reference/troubleshooting.md +113 -113
- package/wiki/command-reference/workflows.md +187 -187
- package/wiki/community/README.md +1 -1
- package/wiki/community/learning-resources.md +1 -1
- package/wiki/core-concepts/agents/agent-creation-guide.md +9 -9
- package/wiki/core-concepts/integration.md +7 -7
- package/wiki/core-concepts/sparc-workflow.md +5 -5
- package/wiki/examples/automation/cicd-pipeline/README.md +3 -3
- package/wiki/examples/basic/hello-world/README.md +7 -7
- package/wiki/examples/integration-patterns.md +15 -15
- package/wiki/examples/performance-benchmarks.md +11 -11
- package/wiki/examples/projects/rest-api/README.md +1 -1
- package/wiki/examples/scenarios/ecommerce/README.md +1 -1
- package/wiki/examples/swarm-patterns.md +63 -63
- package/wiki/examples/templates/download-system.md +1 -1
- package/wiki/examples/templates/javascript/README.md +2 -2
- package/wiki/examples/troubleshooting/README.md +2 -2
- package/wiki/examples/utilities/patterns/README.md +8 -8
- package/wiki/examples/videos/01-setup.md +16 -16
- package/wiki/examples/workflow-automation/README.md +5 -5
- package/wiki/getting-started/claude-code-mcp/README.md +2 -2
- package/wiki/getting-started/installation/README.md +7 -7
- package/wiki/getting-started/learning-path.md +2 -2
- package/wiki/getting-started/quick-start/README.md +2 -2
- package/wiki/getting-started/quick-start/cli-tutorial.md +1 -1
- package/wiki/governance/multi-project-coordination.md +1 -1
- package/wiki/languages/go/README.md +10 -10
- package/wiki/languages/go/examples/README.md +29 -29
- package/wiki/languages/go/frameworks/README.md +18 -18
- package/wiki/languages/go/integration/README.md +34 -34
- package/wiki/languages/go/microservices/README.md +17 -17
- package/wiki/languages/go/performance/README.md +13 -13
- package/wiki/languages/go/setup/README.md +20 -20
- package/wiki/languages/go/systems/README.md +10 -10
- package/wiki/languages/go/testing/README.md +14 -14
- package/wiki/languages/java/README.md +25 -25
- package/wiki/languages/java/claude-flow-integration.md +49 -49
- package/wiki/languages/java/enterprise-java.md +15 -15
- package/wiki/languages/java/examples.md +30 -30
- package/wiki/languages/java/microservices.md +22 -22
- package/wiki/languages/java/performance.md +13 -13
- package/wiki/languages/java/project-setup.md +10 -10
- package/wiki/languages/java/spring-boot.md +12 -12
- package/wiki/languages/java/testing.md +12 -12
- package/wiki/languages/javascript/api/README.md +20 -20
- package/wiki/languages/javascript/backend/README.md +19 -19
- package/wiki/languages/javascript/frontend/README.md +18 -18
- package/wiki/languages/javascript/integration.md +11 -11
- package/wiki/languages/javascript/setup/README.md +28 -28
- package/wiki/languages/javascript/testing/README.md +14 -14
- package/wiki/languages/python/README.md +3 -3
- package/wiki/languages/python/data-science/README.md +11 -11
- package/wiki/languages/python/examples/README.md +5 -5
- package/wiki/languages/python/integration.md +5 -5
- package/wiki/languages/python/mcp-integration.md +1 -1
- package/wiki/languages/python/setup/README.md +5 -5
- package/wiki/languages/python/testing/README.md +3 -3
- package/wiki/languages/python/web-development/README.md +1 -1
- package/wiki/languages/rust/README.md +1 -1
- package/wiki/languages/rust/examples/cli-mcp-workflows.md +33 -33
- package/wiki/languages/rust/examples/rest-api.md +5 -5
- package/wiki/languages/rust/setup/cargo-integration.md +14 -14
- package/wiki/languages/rust/testing/quality-validation.md +9 -9
- package/wiki/languages/rust/web-development/axum.md +6 -6
- package/wiki/languages/rust/workflows/systems-programming.md +5 -5
- package/wiki/languages/typescript/setup.md +2 -2
- package/wiki/troubleshooting/README.md +3 -3
- package/wiki/troubleshooting/common-issues/README.md +6 -6
- package/wiki/troubleshooting/common-issues.md +26 -26
- package/wiki/troubleshooting/error-resolution.md +5 -5
- package/wiki/troubleshooting/performance-optimization.md +11 -11
- package/wiki/tutorials/advanced/06-legacy-system-integration.md +1 -1
- package/wiki/tutorials/advanced/08-enterprise-scenarios.md +3 -3
- package/wiki/tutorials/advanced/performance-optimization.md +43 -43
- package/wiki/tutorials/advanced/swarm-orchestration.md +40 -40
- package/wiki/tutorials/intermediate/optimization.md +35 -35
- package/wiki/tutorials/skill-assessment.md +3 -3
- package/wiki/tutorials/skill-competency-matrix.md +1 -1
- package/wiki/tutorials/troubleshooting/setup-issues.md +3 -3
- package/wiki/video-tutorials/README.md +3 -3
- package/wiki/video-tutorials/accessibility/README.md +4 -4
- package/wiki/video-tutorials/community/README.md +1 -1
- package/wiki/video-tutorials/content-organization/README.md +5 -5
- package/wiki/video-tutorials/interactive/README.md +5 -5
- package/wiki/video-tutorials/planning/README.md +4 -4
- package/wiki/video-tutorials/technical-specs/README.md +2 -2
|
@@ -7,9 +7,9 @@ export function getSecurityReviewOrchestration(taskDescription, memoryNamespace)
|
|
|
7
7
|
- Define audit boundaries for: "${taskDescription}"
|
|
8
8
|
- Query system architecture and sensitive areas:
|
|
9
9
|
\`\`\`bash
|
|
10
|
-
npx claude-flow memory query ${memoryNamespace}_architecture
|
|
11
|
-
npx claude-flow memory query ${memoryNamespace}_auth
|
|
12
|
-
npx claude-flow memory query ${memoryNamespace}_config
|
|
10
|
+
npx claude-flow-novice memory query ${memoryNamespace}_architecture
|
|
11
|
+
npx claude-flow-novice memory query ${memoryNamespace}_auth
|
|
12
|
+
npx claude-flow-novice memory query ${memoryNamespace}_config
|
|
13
13
|
\`\`\`
|
|
14
14
|
- Identify critical assets:
|
|
15
15
|
- User data and PII
|
|
@@ -19,7 +19,7 @@ export function getSecurityReviewOrchestration(taskDescription, memoryNamespace)
|
|
|
19
19
|
- Map data flows and trust boundaries
|
|
20
20
|
- List all external interfaces and integrations
|
|
21
21
|
- Review authentication/authorization points
|
|
22
|
-
- Store scope: \`npx claude-flow memory store ${memoryNamespace}_security_scope "Audit scope: ${taskDescription}. Critical assets: user PII, JWT tokens, payment data. External interfaces: REST API, webhooks, third-party integrations."\`
|
|
22
|
+
- Store scope: \`npx claude-flow-novice memory store ${memoryNamespace}_security_scope "Audit scope: ${taskDescription}. Critical assets: user PII, JWT tokens, payment data. External interfaces: REST API, webhooks, third-party integrations."\`
|
|
23
23
|
|
|
24
24
|
2. **Static Security Analysis** (20 mins)
|
|
25
25
|
- Scan for hardcoded secrets and credentials:
|
|
@@ -47,7 +47,7 @@ export function getSecurityReviewOrchestration(taskDescription, memoryNamespace)
|
|
|
47
47
|
\`\`\`bash
|
|
48
48
|
npm audit
|
|
49
49
|
\`\`\`
|
|
50
|
-
- Store findings: \`npx claude-flow memory store ${memoryNamespace}_vulnerabilities "Critical: 2 hardcoded API keys found. High: Missing input validation in user-controller. Medium: Outdated JWT library. Low: Verbose error messages expose stack traces."\`
|
|
50
|
+
- Store findings: \`npx claude-flow-novice memory store ${memoryNamespace}_vulnerabilities "Critical: 2 hardcoded API keys found. High: Missing input validation in user-controller. Medium: Outdated JWT library. Low: Verbose error messages expose stack traces."\`
|
|
51
51
|
|
|
52
52
|
3. **Dynamic Security Analysis** (10 mins)
|
|
53
53
|
- Test authentication flows:
|
|
@@ -61,7 +61,7 @@ export function getSecurityReviewOrchestration(taskDescription, memoryNamespace)
|
|
|
61
61
|
- Analyze rate limiting and DoS protection
|
|
62
62
|
- Review CORS and CSP policies
|
|
63
63
|
- Test error handling for information leakage
|
|
64
|
-
- Store dynamic findings: \`npx claude-flow memory store ${memoryNamespace}_dynamic_findings "Auth bypass: None found. Rate limiting: Missing on login endpoint. CORS: Overly permissive. Error handling: Leaks database schema in dev mode."\`
|
|
64
|
+
- Store dynamic findings: \`npx claude-flow-novice memory store ${memoryNamespace}_dynamic_findings "Auth bypass: None found. Rate limiting: Missing on login endpoint. CORS: Overly permissive. Error handling: Leaks database schema in dev mode."\`
|
|
65
65
|
|
|
66
66
|
4. **Risk Assessment & Prioritization** (15 mins)
|
|
67
67
|
- Categorize findings by severity (CVSS scores):
|
|
@@ -76,7 +76,7 @@ export function getSecurityReviewOrchestration(taskDescription, memoryNamespace)
|
|
|
76
76
|
- Calculate risk scores (likelihood × impact)
|
|
77
77
|
- Prioritize remediation efforts
|
|
78
78
|
- Document attack vectors and exploit scenarios
|
|
79
|
-
- Store assessment: \`npx claude-flow memory store ${memoryNamespace}_risk_assessment "Critical risks: 2 (hardcoded secrets, missing auth on admin endpoints). High risks: 3 (outdated deps, missing rate limiting, weak session management). Compliance impact: GDPR violation risk due to logging PII."\`
|
|
79
|
+
- Store assessment: \`npx claude-flow-novice memory store ${memoryNamespace}_risk_assessment "Critical risks: 2 (hardcoded secrets, missing auth on admin endpoints). High risks: 3 (outdated deps, missing rate limiting, weak session management). Compliance impact: GDPR violation risk due to logging PII."\`
|
|
80
80
|
|
|
81
81
|
5. **Remediation Plan & Implementation** (10 mins)
|
|
82
82
|
- Create specific fix recommendations:
|
|
@@ -93,7 +93,7 @@ export function getSecurityReviewOrchestration(taskDescription, memoryNamespace)
|
|
|
93
93
|
- Set up security monitoring
|
|
94
94
|
- Create security checklist for future development
|
|
95
95
|
- Implement critical fixes if authorized
|
|
96
|
-
- Store plan: \`npx claude-flow memory store ${memoryNamespace}_remediation_plan "Immediate: Remove hardcoded secrets, fix auth bypass. Next sprint: Implement rate limiting, update dependencies. Future: Add WAF, implement SIEM integration."\`
|
|
96
|
+
- Store plan: \`npx claude-flow-novice memory store ${memoryNamespace}_remediation_plan "Immediate: Remove hardcoded secrets, fix auth bypass. Next sprint: Implement rate limiting, update dependencies. Future: Add WAF, implement SIEM integration."\`
|
|
97
97
|
|
|
98
98
|
## Deliverables
|
|
99
99
|
- security-audit-report.md:
|
|
@@ -124,7 +124,7 @@ export function getSecurityReviewOrchestration(taskDescription, memoryNamespace)
|
|
|
124
124
|
|
|
125
125
|
## Next Steps
|
|
126
126
|
After security review:
|
|
127
|
-
- \`npx claude-flow sparc run code "Implement security remediation plan" --non-interactive\`
|
|
128
|
-
- \`npx claude-flow sparc run tdd "Write security test cases" --non-interactive\`
|
|
129
|
-
- \`npx claude-flow sparc run post-deployment-monitoring-mode "Set up security monitoring and alerts" --non-interactive\``;
|
|
127
|
+
- \`npx claude-flow-novice sparc run code "Implement security remediation plan" --non-interactive\`
|
|
128
|
+
- \`npx claude-flow-novice sparc run tdd "Write security test cases" --non-interactive\`
|
|
129
|
+
- \`npx claude-flow-novice sparc run post-deployment-monitoring-mode "Set up security monitoring and alerts" --non-interactive\``;
|
|
130
130
|
}
|
|
@@ -12,22 +12,22 @@ For maximum efficiency, I can orchestrate multiple SPARC modes concurrently usin
|
|
|
12
12
|
# Full SPARC Workflow with BatchTool (Boomerang Pattern)
|
|
13
13
|
batchtool orchestrate --boomerang --name "${taskDescription}" \\
|
|
14
14
|
--phase1-parallel \\
|
|
15
|
-
"npx claude-flow sparc run ask 'research requirements for ${taskDescription}' --non-interactive" \\
|
|
16
|
-
"npx claude-flow sparc run security-review 'identify security needs for ${taskDescription}' --non-interactive" \\
|
|
15
|
+
"npx claude-flow-novice sparc run ask 'research requirements for ${taskDescription}' --non-interactive" \\
|
|
16
|
+
"npx claude-flow-novice sparc run security-review 'identify security needs for ${taskDescription}' --non-interactive" \\
|
|
17
17
|
--phase2-sequential \\
|
|
18
|
-
"npx claude-flow sparc run spec-pseudocode 'create specifications from research' --non-interactive" \\
|
|
19
|
-
"npx claude-flow sparc run architect 'design system architecture' --non-interactive" \\
|
|
18
|
+
"npx claude-flow-novice sparc run spec-pseudocode 'create specifications from research' --non-interactive" \\
|
|
19
|
+
"npx claude-flow-novice sparc run architect 'design system architecture' --non-interactive" \\
|
|
20
20
|
--phase3-parallel \\
|
|
21
|
-
"npx claude-flow sparc run code 'implement core features' --non-interactive" \\
|
|
22
|
-
"npx claude-flow sparc run code 'implement authentication' --non-interactive" \\
|
|
23
|
-
"npx claude-flow sparc run code 'implement data layer' --non-interactive" \\
|
|
21
|
+
"npx claude-flow-novice sparc run code 'implement core features' --non-interactive" \\
|
|
22
|
+
"npx claude-flow-novice sparc run code 'implement authentication' --non-interactive" \\
|
|
23
|
+
"npx claude-flow-novice sparc run code 'implement data layer' --non-interactive" \\
|
|
24
24
|
--phase4-sequential \\
|
|
25
|
-
"npx claude-flow sparc run integration 'integrate all components' --non-interactive" \\
|
|
26
|
-
"npx claude-flow sparc run tdd 'comprehensive testing' --non-interactive" \\
|
|
25
|
+
"npx claude-flow-novice sparc run integration 'integrate all components' --non-interactive" \\
|
|
26
|
+
"npx claude-flow-novice sparc run tdd 'comprehensive testing' --non-interactive" \\
|
|
27
27
|
--phase5-parallel \\
|
|
28
|
-
"npx claude-flow sparc run optimization 'performance tuning' --non-interactive" \\
|
|
29
|
-
"npx claude-flow sparc run docs-writer 'create documentation' --non-interactive" \\
|
|
30
|
-
"npx claude-flow sparc run devops 'deployment setup' --non-interactive"
|
|
28
|
+
"npx claude-flow-novice sparc run optimization 'performance tuning' --non-interactive" \\
|
|
29
|
+
"npx claude-flow-novice sparc run docs-writer 'create documentation' --non-interactive" \\
|
|
30
|
+
"npx claude-flow-novice sparc run devops 'deployment setup' --non-interactive"
|
|
31
31
|
|
|
32
32
|
# Monitor all parallel executions
|
|
33
33
|
batchtool monitor --dashboard
|
|
@@ -39,8 +39,8 @@ batchtool monitor --dashboard
|
|
|
39
39
|
- Analyze the complex objective: "${taskDescription}"
|
|
40
40
|
- Query existing context:
|
|
41
41
|
\`\`\`bash
|
|
42
|
-
npx claude-flow memory query ${memoryNamespace}
|
|
43
|
-
npx claude-flow memory list
|
|
42
|
+
npx claude-flow-novice memory query ${memoryNamespace}
|
|
43
|
+
npx claude-flow-novice memory list
|
|
44
44
|
\`\`\`
|
|
45
45
|
- Break down into SPARC phases:
|
|
46
46
|
- **S**pecification: Define what needs to be built
|
|
@@ -50,79 +50,79 @@ batchtool monitor --dashboard
|
|
|
50
50
|
- **C**ompletion: Integrate, document, and deploy
|
|
51
51
|
- Identify required specialist modes
|
|
52
52
|
- Create task dependency graph
|
|
53
|
-
- Store plan: \`npx claude-flow memory store ${memoryNamespace}_sparc_plan "Objective: ${taskDescription}. Phases: 5. Estimated subtasks: 12. Critical path: spec->arch->tdd->integration."\`
|
|
53
|
+
- Store plan: \`npx claude-flow-novice memory store ${memoryNamespace}_sparc_plan "Objective: ${taskDescription}. Phases: 5. Estimated subtasks: 12. Critical path: spec->arch->tdd->integration."\`
|
|
54
54
|
|
|
55
55
|
2. **Specification Phase Delegation** (10 mins)
|
|
56
56
|
- Create specification subtasks:
|
|
57
57
|
\`\`\`bash
|
|
58
58
|
# Delegate requirements gathering
|
|
59
|
-
npx claude-flow sparc run spec-pseudocode "Define detailed requirements for ${taskDescription}" --non-interactive
|
|
59
|
+
npx claude-flow-novice sparc run spec-pseudocode "Define detailed requirements for ${taskDescription}" --non-interactive
|
|
60
60
|
|
|
61
61
|
# Store task assignment
|
|
62
|
-
npx claude-flow memory store ${memoryNamespace}_task_spec "Assigned to: spec-pseudocode mode. Status: In progress. Dependencies: None."
|
|
62
|
+
npx claude-flow-novice memory store ${memoryNamespace}_task_spec "Assigned to: spec-pseudocode mode. Status: In progress. Dependencies: None."
|
|
63
63
|
\`\`\`
|
|
64
64
|
- Monitor specification progress
|
|
65
65
|
- Review deliverables: requirements.md, pseudocode.md
|
|
66
66
|
- Validate no hardcoded env vars allowed
|
|
67
|
-
- Store spec results: \`npx claude-flow memory store ${memoryNamespace}_spec_complete "Requirements defined. Pseudocode created. Edge cases identified. Ready for architecture phase."\`
|
|
67
|
+
- Store spec results: \`npx claude-flow-novice memory store ${memoryNamespace}_spec_complete "Requirements defined. Pseudocode created. Edge cases identified. Ready for architecture phase."\`
|
|
68
68
|
|
|
69
69
|
3. **Architecture Phase Delegation** (15 mins)
|
|
70
70
|
- Create architecture subtasks:
|
|
71
71
|
\`\`\`bash
|
|
72
72
|
# Delegate system design
|
|
73
|
-
npx claude-flow sparc run architect "Design scalable architecture for ${taskDescription}" --non-interactive
|
|
73
|
+
npx claude-flow-novice sparc run architect "Design scalable architecture for ${taskDescription}" --non-interactive
|
|
74
74
|
|
|
75
75
|
# Store task assignment
|
|
76
|
-
npx claude-flow memory store ${memoryNamespace}_task_arch "Assigned to: architect mode. Status: In progress. Dependencies: spec_complete."
|
|
76
|
+
npx claude-flow-novice memory store ${memoryNamespace}_task_arch "Assigned to: architect mode. Status: In progress. Dependencies: spec_complete."
|
|
77
77
|
\`\`\`
|
|
78
78
|
- Ensure modular design (< 500 lines per file)
|
|
79
79
|
- Verify extensible service boundaries
|
|
80
80
|
- Review security architecture
|
|
81
|
-
- Store arch results: \`npx claude-flow memory store ${memoryNamespace}_arch_complete "Architecture designed. APIs defined. Security boundaries established. Ready for implementation."\`
|
|
81
|
+
- Store arch results: \`npx claude-flow-novice memory store ${memoryNamespace}_arch_complete "Architecture designed. APIs defined. Security boundaries established. Ready for implementation."\`
|
|
82
82
|
|
|
83
83
|
4. **Refinement Phase Orchestration** (20 mins)
|
|
84
84
|
- Coordinate parallel implementation tasks:
|
|
85
85
|
\`\`\`bash
|
|
86
86
|
# TDD implementation
|
|
87
|
-
npx claude-flow sparc run tdd "Implement core functionality with tests" --non-interactive
|
|
87
|
+
npx claude-flow-novice sparc run tdd "Implement core functionality with tests" --non-interactive
|
|
88
88
|
|
|
89
89
|
# Main code implementation
|
|
90
|
-
npx claude-flow sparc run code "Build modular implementation following architecture" --non-interactive
|
|
90
|
+
npx claude-flow-novice sparc run code "Build modular implementation following architecture" --non-interactive
|
|
91
91
|
|
|
92
92
|
# Security review
|
|
93
|
-
npx claude-flow sparc run security-review "Audit implementation for vulnerabilities" --non-interactive
|
|
93
|
+
npx claude-flow-novice sparc run security-review "Audit implementation for vulnerabilities" --non-interactive
|
|
94
94
|
|
|
95
95
|
# Debugging support
|
|
96
|
-
npx claude-flow sparc run debug "Investigate and fix any issues" --non-interactive
|
|
96
|
+
npx claude-flow-novice sparc run debug "Investigate and fix any issues" --non-interactive
|
|
97
97
|
|
|
98
98
|
# Store parallel task status
|
|
99
|
-
npx claude-flow memory store ${memoryNamespace}_refinement_tasks "TDD: 80% complete. Code: 60% complete. Security: Pending. Debug: On standby."\`
|
|
99
|
+
npx claude-flow-novice memory store ${memoryNamespace}_refinement_tasks "TDD: 80% complete. Code: 60% complete. Security: Pending. Debug: On standby."\`
|
|
100
100
|
- Monitor task progress
|
|
101
101
|
- Resolve dependencies and conflicts
|
|
102
102
|
- Ensure all files < 500 lines
|
|
103
|
-
- Store refinement status: \`npx claude-flow memory store ${memoryNamespace}_refinement_progress "Core features implemented. Tests passing. Security review in progress."\`
|
|
103
|
+
- Store refinement status: \`npx claude-flow-novice memory store ${memoryNamespace}_refinement_progress "Core features implemented. Tests passing. Security review in progress."\`
|
|
104
104
|
|
|
105
105
|
5. **Completion Phase Coordination** (15 mins)
|
|
106
106
|
- Final integration and deployment tasks:
|
|
107
107
|
\`\`\`bash
|
|
108
108
|
# System integration
|
|
109
|
-
npx claude-flow sparc run integration "Integrate all components" --non-interactive
|
|
109
|
+
npx claude-flow-novice sparc run integration "Integrate all components" --non-interactive
|
|
110
110
|
|
|
111
111
|
# Documentation
|
|
112
|
-
npx claude-flow sparc run docs-writer "Create comprehensive documentation" --non-interactive
|
|
112
|
+
npx claude-flow-novice sparc run docs-writer "Create comprehensive documentation" --non-interactive
|
|
113
113
|
|
|
114
114
|
# Optimization
|
|
115
|
-
npx claude-flow sparc run refinement-optimization-mode "Optimize performance and structure" --non-interactive
|
|
115
|
+
npx claude-flow-novice sparc run refinement-optimization-mode "Optimize performance and structure" --non-interactive
|
|
116
116
|
|
|
117
117
|
# DevOps deployment
|
|
118
|
-
npx claude-flow sparc run devops "Deploy to production" --non-interactive
|
|
118
|
+
npx claude-flow-novice sparc run devops "Deploy to production" --non-interactive
|
|
119
119
|
|
|
120
120
|
# Monitoring setup
|
|
121
|
-
npx claude-flow sparc run post-deployment-monitoring-mode "Configure production monitoring" --non-interactive
|
|
121
|
+
npx claude-flow-novice sparc run post-deployment-monitoring-mode "Configure production monitoring" --non-interactive
|
|
122
122
|
\`\`\`
|
|
123
123
|
- Validate all deliverables
|
|
124
124
|
- Ensure continuous improvement setup
|
|
125
|
-
- Store completion: \`npx claude-flow memory store ${memoryNamespace}_sparc_complete "Project delivered. All phases complete. Documentation ready. Deployed to production. Monitoring active."\`
|
|
125
|
+
- Store completion: \`npx claude-flow-novice memory store ${memoryNamespace}_sparc_complete "Project delivered. All phases complete. Documentation ready. Deployed to production. Monitoring active."\`
|
|
126
126
|
|
|
127
127
|
## Task Delegation Strategy
|
|
128
128
|
|
|
@@ -148,16 +148,16 @@ For each subtask, I will:
|
|
|
148
148
|
## Orchestration Commands
|
|
149
149
|
\`\`\`bash
|
|
150
150
|
# Check overall progress
|
|
151
|
-
npx claude-flow memory query ${memoryNamespace}_sparc
|
|
151
|
+
npx claude-flow-novice memory query ${memoryNamespace}_sparc
|
|
152
152
|
|
|
153
153
|
# View specific phase status
|
|
154
|
-
npx claude-flow memory query ${memoryNamespace}_refinement
|
|
154
|
+
npx claude-flow-novice memory query ${memoryNamespace}_refinement
|
|
155
155
|
|
|
156
156
|
# Check task dependencies
|
|
157
|
-
npx claude-flow memory query ${memoryNamespace}_dependencies
|
|
157
|
+
npx claude-flow-novice memory query ${memoryNamespace}_dependencies
|
|
158
158
|
|
|
159
159
|
# Monitor active tasks
|
|
160
|
-
npx claude-flow status
|
|
160
|
+
npx claude-flow-novice status
|
|
161
161
|
\`\`\`
|
|
162
162
|
|
|
163
163
|
## Next Steps
|
|
@@ -8,21 +8,21 @@ export function getSpecPseudocodeOrchestration(taskDescription, memoryNamespace)
|
|
|
8
8
|
- Extract functional requirements
|
|
9
9
|
- Identify constraints and edge cases
|
|
10
10
|
- Define success criteria
|
|
11
|
-
- Store requirements: \`npx claude-flow memory store ${memoryNamespace}_requirements "..."\`
|
|
11
|
+
- Store requirements: \`npx claude-flow-novice memory store ${memoryNamespace}_requirements "..."\`
|
|
12
12
|
|
|
13
13
|
2. **Specification Writing** (20 mins)
|
|
14
14
|
- Create detailed specifications
|
|
15
15
|
- Define input/output contracts
|
|
16
16
|
- Document business rules
|
|
17
17
|
- Specify error conditions
|
|
18
|
-
- Store specs: \`npx claude-flow memory store ${memoryNamespace}_specifications "..."\`
|
|
18
|
+
- Store specs: \`npx claude-flow-novice memory store ${memoryNamespace}_specifications "..."\`
|
|
19
19
|
|
|
20
20
|
3. **Pseudocode Development** (20 mins)
|
|
21
21
|
- Write high-level algorithms
|
|
22
22
|
- Define data structures
|
|
23
23
|
- Map process flows
|
|
24
24
|
- Include TDD anchors
|
|
25
|
-
- Store pseudocode: \`npx claude-flow memory store ${memoryNamespace}_pseudocode "..."\`
|
|
25
|
+
- Store pseudocode: \`npx claude-flow-novice memory store ${memoryNamespace}_pseudocode "..."\`
|
|
26
26
|
|
|
27
27
|
4. **Modular Design** (10 mins)
|
|
28
28
|
- Break into logical modules
|
|
@@ -7,9 +7,9 @@ export function getSupabaseAdminOrchestration(taskDescription, memoryNamespace)
|
|
|
7
7
|
- Analyze database requirements: "${taskDescription}"
|
|
8
8
|
- Query existing project context:
|
|
9
9
|
\`\`\`bash
|
|
10
|
-
npx claude-flow memory query ${memoryNamespace}_architecture
|
|
11
|
-
npx claude-flow memory query ${memoryNamespace}_data_models
|
|
12
|
-
npx claude-flow memory query ${memoryNamespace}_auth_requirements
|
|
10
|
+
npx claude-flow-novice memory query ${memoryNamespace}_architecture
|
|
11
|
+
npx claude-flow-novice memory query ${memoryNamespace}_data_models
|
|
12
|
+
npx claude-flow-novice memory query ${memoryNamespace}_auth_requirements
|
|
13
13
|
\`\`\`
|
|
14
14
|
- Connect to Supabase via MCP:
|
|
15
15
|
- List organizations: \`list_organizations\`
|
|
@@ -18,7 +18,7 @@ export function getSupabaseAdminOrchestration(taskDescription, memoryNamespace)
|
|
|
18
18
|
- Review cost implications:
|
|
19
19
|
- Use \`get_cost\` before creating resources
|
|
20
20
|
- Confirm costs with user via \`confirm_cost\`
|
|
21
|
-
- Store analysis: \`npx claude-flow memory store ${memoryNamespace}_supabase_requirements "Requirements: ${taskDescription}. Tables needed: users, profiles, permissions. Auth: Email + OAuth. Storage: user avatars, documents."\`
|
|
21
|
+
- Store analysis: \`npx claude-flow-novice memory store ${memoryNamespace}_supabase_requirements "Requirements: ${taskDescription}. Tables needed: users, profiles, permissions. Auth: Email + OAuth. Storage: user avatars, documents."\`
|
|
22
22
|
|
|
23
23
|
2. **Database Schema Design** (15 mins)
|
|
24
24
|
- Design PostgreSQL schemas optimized for Supabase:
|
|
@@ -35,7 +35,7 @@ export function getSupabaseAdminOrchestration(taskDescription, memoryNamespace)
|
|
|
35
35
|
- Composite indexes for queries
|
|
36
36
|
- Design audit/history tables if needed
|
|
37
37
|
- Create modular migration approach (<500 lines per file)
|
|
38
|
-
- Store design: \`npx claude-flow memory store ${memoryNamespace}_db_design "Tables: users (id, email, created_at), profiles (user_id, full_name, avatar_url), roles (id, name), user_roles (user_id, role_id). Indexes: users_email_idx, profiles_user_id_idx."\`
|
|
38
|
+
- Store design: \`npx claude-flow-novice memory store ${memoryNamespace}_db_design "Tables: users (id, email, created_at), profiles (user_id, full_name, avatar_url), roles (id, name), user_roles (user_id, role_id). Indexes: users_email_idx, profiles_user_id_idx."\`
|
|
39
39
|
|
|
40
40
|
3. **Schema Implementation via MCP** (20 mins)
|
|
41
41
|
- Create development branch (if needed):
|
|
@@ -59,7 +59,7 @@ export function getSupabaseAdminOrchestration(taskDescription, memoryNamespace)
|
|
|
59
59
|
- Add performance indexes
|
|
60
60
|
- Create database functions and triggers
|
|
61
61
|
- Set up audit trails
|
|
62
|
-
- Store migrations: \`npx claude-flow memory store ${memoryNamespace}_migrations "Created: 5 tables, 8 indexes, 3 functions, 2 triggers. Branch: dev-${Date.now()}. Ready for RLS policies."\`
|
|
62
|
+
- Store migrations: \`npx claude-flow-novice memory store ${memoryNamespace}_migrations "Created: 5 tables, 8 indexes, 3 functions, 2 triggers. Branch: dev-${Date.now()}. Ready for RLS policies."\`
|
|
63
63
|
|
|
64
64
|
4. **Security & RLS Implementation** (15 mins)
|
|
65
65
|
- Implement Row Level Security policies:
|
|
@@ -86,7 +86,7 @@ export function getSupabaseAdminOrchestration(taskDescription, memoryNamespace)
|
|
|
86
86
|
);
|
|
87
87
|
$$ LANGUAGE SQL SECURITY DEFINER;
|
|
88
88
|
\`\`\`
|
|
89
|
-
- Store security config: \`npx claude-flow memory store ${memoryNamespace}_security "RLS enabled on all tables. Policies: 15 created (CRUD + special cases). Auth providers: email, google. Custom claims: user_role, organization_id."\`
|
|
89
|
+
- Store security config: \`npx claude-flow-novice memory store ${memoryNamespace}_security "RLS enabled on all tables. Policies: 15 created (CRUD + special cases). Auth providers: email, google. Custom claims: user_role, organization_id."\`
|
|
90
90
|
|
|
91
91
|
5. **API & Storage Configuration** (10 mins)
|
|
92
92
|
- Generate TypeScript types:
|
|
@@ -102,7 +102,7 @@ export function getSupabaseAdminOrchestration(taskDescription, memoryNamespace)
|
|
|
102
102
|
- Create API documentation
|
|
103
103
|
- Set up Edge Functions (if needed)
|
|
104
104
|
- Test API access patterns
|
|
105
|
-
- Store completion: \`npx claude-flow memory store ${memoryNamespace}_supabase_complete "Supabase setup complete. API URL: https://xxx.supabase.co. Types generated. Storage buckets: avatars (public), documents (authenticated). Ready for integration."\`
|
|
105
|
+
- Store completion: \`npx claude-flow-novice memory store ${memoryNamespace}_supabase_complete "Supabase setup complete. API URL: https://xxx.supabase.co. Types generated. Storage buckets: avatars (public), documents (authenticated). Ready for integration."\`
|
|
106
106
|
|
|
107
107
|
## Deliverables
|
|
108
108
|
- migrations/
|
|
@@ -143,7 +143,7 @@ export function getSupabaseAdminOrchestration(taskDescription, memoryNamespace)
|
|
|
143
143
|
|
|
144
144
|
## Next Steps
|
|
145
145
|
After Supabase setup:
|
|
146
|
-
- \`npx claude-flow sparc run code "Integrate Supabase client in application" --non-interactive\`
|
|
147
|
-
- \`npx claude-flow sparc run tdd "Write tests for Supabase operations" --non-interactive\`
|
|
148
|
-
- \`npx claude-flow sparc run docs-writer "Create Supabase integration guide" --non-interactive\``;
|
|
146
|
+
- \`npx claude-flow-novice sparc run code "Integrate Supabase client in application" --non-interactive\`
|
|
147
|
+
- \`npx claude-flow-novice sparc run tdd "Write tests for Supabase operations" --non-interactive\`
|
|
148
|
+
- \`npx claude-flow-novice sparc run docs-writer "Create Supabase integration guide" --non-interactive\``;
|
|
149
149
|
}
|
|
@@ -115,19 +115,19 @@ You have access to the advanced Claude-Flow swarm system with the following capa
|
|
|
115
115
|
### Basic Swarm Execution:
|
|
116
116
|
\`\`\`bash
|
|
117
117
|
# Start a development swarm for complex implementation
|
|
118
|
-
npx claude-flow swarm "Build a complete REST API with authentication" --strategy development --monitor
|
|
118
|
+
npx claude-flow-novice swarm "Build a complete REST API with authentication" --strategy development --monitor
|
|
119
119
|
|
|
120
120
|
# Research swarm with distributed coordination
|
|
121
|
-
npx claude-flow swarm "Research and analyze blockchain technologies" --strategy research --distributed --ui
|
|
121
|
+
npx claude-flow-novice swarm "Research and analyze blockchain technologies" --strategy research --distributed --ui
|
|
122
122
|
|
|
123
123
|
# Background optimization swarm (for long-running tasks)
|
|
124
|
-
npx claude-flow swarm "Optimize application performance across all modules" --strategy optimization --background --monitor
|
|
124
|
+
npx claude-flow-novice swarm "Optimize application performance across all modules" --strategy optimization --background --monitor
|
|
125
125
|
\`\`\`
|
|
126
126
|
|
|
127
127
|
### Advanced Swarm Configuration:
|
|
128
128
|
\`\`\`bash
|
|
129
129
|
# Full-featured swarm with all enterprise features
|
|
130
|
-
npx claude-flow swarm "Complex enterprise application development" \\
|
|
130
|
+
npx claude-flow-novice swarm "Complex enterprise application development" \\
|
|
131
131
|
--strategy development \\
|
|
132
132
|
--mode distributed \\
|
|
133
133
|
--max-agents 10 \\
|
|
@@ -139,20 +139,20 @@ npx claude-flow swarm "Complex enterprise application development" \\
|
|
|
139
139
|
--verbose
|
|
140
140
|
|
|
141
141
|
# Dry run to see configuration before execution
|
|
142
|
-
npx claude-flow swarm "Your complex task" --dry-run --strategy development
|
|
142
|
+
npx claude-flow-novice swarm "Your complex task" --dry-run --strategy development
|
|
143
143
|
\`\`\`
|
|
144
144
|
|
|
145
145
|
### 🔍 Monitoring and Management:
|
|
146
146
|
\`\`\`bash
|
|
147
147
|
# Real-time swarm monitoring
|
|
148
|
-
npx claude-flow monitor
|
|
148
|
+
npx claude-flow-novice monitor
|
|
149
149
|
|
|
150
150
|
# Check swarm status
|
|
151
|
-
npx claude-flow status
|
|
151
|
+
npx claude-flow-novice status
|
|
152
152
|
|
|
153
153
|
# Memory operations for cross-agent sharing
|
|
154
|
-
npx claude-flow memory store "key" "value" --namespace swarm
|
|
155
|
-
npx claude-flow memory query "search-term" --namespace swarm
|
|
154
|
+
npx claude-flow-novice memory store "key" "value" --namespace swarm
|
|
155
|
+
npx claude-flow-novice memory query "search-term" --namespace swarm
|
|
156
156
|
\`\`\`
|
|
157
157
|
|
|
158
158
|
## 🎯 SWARM METHODOLOGY
|
|
@@ -191,7 +191,7 @@ The swarm system is specifically designed to handle complex, long-running tasks
|
|
|
191
191
|
### 🌙 Background Execution:
|
|
192
192
|
- Use \`--background\` flag for tasks that might take over 60 minutes
|
|
193
193
|
- Background swarms run independently and save results
|
|
194
|
-
- Monitor progress with \`npx claude-flow status\`
|
|
194
|
+
- Monitor progress with \`npx claude-flow-novice status\`
|
|
195
195
|
|
|
196
196
|
### 🔄 Task Splitting:
|
|
197
197
|
- Large tasks are automatically decomposed into smaller chunks
|
|
@@ -208,40 +208,40 @@ The swarm system is specifically designed to handle complex, long-running tasks
|
|
|
208
208
|
### Complex Development Project:
|
|
209
209
|
\`\`\`bash
|
|
210
210
|
# 1. Start comprehensive development swarm
|
|
211
|
-
npx claude-flow swarm "Build microservices e-commerce platform" \\
|
|
211
|
+
npx claude-flow-novice swarm "Build microservices e-commerce platform" \\
|
|
212
212
|
--strategy development --parallel --monitor --review --testing
|
|
213
213
|
|
|
214
214
|
# 2. Monitor progress in real-time
|
|
215
|
-
npx claude-flow monitor
|
|
215
|
+
npx claude-flow-novice monitor
|
|
216
216
|
|
|
217
217
|
# 3. Check specific swarm status
|
|
218
|
-
npx claude-flow status
|
|
218
|
+
npx claude-flow-novice status
|
|
219
219
|
\`\`\`
|
|
220
220
|
|
|
221
221
|
### Research and Analysis:
|
|
222
222
|
\`\`\`bash
|
|
223
223
|
# 1. Launch research swarm with UI
|
|
224
|
-
npx claude-flow swarm "Comprehensive AI/ML market analysis" \\
|
|
224
|
+
npx claude-flow-novice swarm "Comprehensive AI/ML market analysis" \\
|
|
225
225
|
--strategy research --distributed --ui --verbose
|
|
226
226
|
|
|
227
227
|
# 2. Store findings for cross-agent access
|
|
228
|
-
npx claude-flow memory store "research-findings" "key insights" --namespace swarm
|
|
228
|
+
npx claude-flow-novice memory store "research-findings" "key insights" --namespace swarm
|
|
229
229
|
\`\`\`
|
|
230
230
|
|
|
231
231
|
### Long-Running Optimization:
|
|
232
232
|
\`\`\`bash
|
|
233
233
|
# 1. Background optimization swarm
|
|
234
|
-
npx claude-flow swarm "Optimize entire codebase performance" \\
|
|
234
|
+
npx claude-flow-novice swarm "Optimize entire codebase performance" \\
|
|
235
235
|
--strategy optimization --background --testing --encryption
|
|
236
236
|
|
|
237
237
|
# 2. Check background progress
|
|
238
|
-
npx claude-flow status
|
|
238
|
+
npx claude-flow-novice status
|
|
239
239
|
\`\`\`
|
|
240
240
|
|
|
241
241
|
## 🔧 TROUBLESHOOTING
|
|
242
242
|
|
|
243
243
|
### Common Issues:
|
|
244
|
-
1. **Swarm fails to start**: Check if Claude-Flow is initialized with \`npx claude-flow init --sparc\`
|
|
244
|
+
1. **Swarm fails to start**: Check if Claude-Flow is initialized with \`npx claude-flow-novice init --sparc\`
|
|
245
245
|
2. **Agents not coordinating**: Ensure memory namespace is consistent
|
|
246
246
|
3. **Timeout concerns**: Use \`--background\` flag for long tasks
|
|
247
247
|
4. **Performance issues**: Reduce \`--max-agents\` or use \`--monitor\` for insights
|
|
@@ -305,16 +305,16 @@ export function getSwarmOrchestration(taskDescription, memoryNamespace) {
|
|
|
305
305
|
4. **Environment Preparation**
|
|
306
306
|
\`\`\`bash
|
|
307
307
|
# Ensure Claude-Flow is properly initialized
|
|
308
|
-
npx claude-flow status
|
|
308
|
+
npx claude-flow-novice status
|
|
309
309
|
|
|
310
310
|
# Check memory system
|
|
311
|
-
npx claude-flow memory stats
|
|
311
|
+
npx claude-flow-novice memory stats
|
|
312
312
|
\`\`\`
|
|
313
313
|
|
|
314
314
|
5. **Dry Run Validation**
|
|
315
315
|
\`\`\`bash
|
|
316
316
|
# Test swarm configuration before execution
|
|
317
|
-
npx claude-flow swarm "${taskDescription}" --dry-run --strategy <selected-strategy>
|
|
317
|
+
npx claude-flow-novice swarm "${taskDescription}" --dry-run --strategy <selected-strategy>
|
|
318
318
|
\`\`\`
|
|
319
319
|
|
|
320
320
|
### Phase 3: Swarm Execution (Variable)
|
|
@@ -323,22 +323,22 @@ export function getSwarmOrchestration(taskDescription, memoryNamespace) {
|
|
|
323
323
|
|
|
324
324
|
**For Standard Tasks (< 30 minutes):**
|
|
325
325
|
\`\`\`bash
|
|
326
|
-
npx claude-flow swarm "${taskDescription}" --strategy <strategy> --monitor --verbose
|
|
326
|
+
npx claude-flow-novice swarm "${taskDescription}" --strategy <strategy> --monitor --verbose
|
|
327
327
|
\`\`\`
|
|
328
328
|
|
|
329
329
|
**For Complex Tasks (30-60 minutes):**
|
|
330
330
|
\`\`\`bash
|
|
331
|
-
npx claude-flow swarm "${taskDescription}" --strategy <strategy> --parallel --monitor --review
|
|
331
|
+
npx claude-flow-novice swarm "${taskDescription}" --strategy <strategy> --parallel --monitor --review
|
|
332
332
|
\`\`\`
|
|
333
333
|
|
|
334
334
|
**For Long-Running Tasks (> 60 minutes):**
|
|
335
335
|
\`\`\`bash
|
|
336
|
-
npx claude-flow swarm "${taskDescription}" --strategy <strategy> --background --monitor --testing
|
|
336
|
+
npx claude-flow-novice swarm "${taskDescription}" --strategy <strategy> --background --monitor --testing
|
|
337
337
|
\`\`\`
|
|
338
338
|
|
|
339
339
|
**For Enterprise Tasks (Multiple hours):**
|
|
340
340
|
\`\`\`bash
|
|
341
|
-
npx claude-flow swarm "${taskDescription}" \\
|
|
341
|
+
npx claude-flow-novice swarm "${taskDescription}" \\
|
|
342
342
|
--strategy <strategy> \\
|
|
343
343
|
--mode distributed \\
|
|
344
344
|
--max-agents 10 \\
|
|
@@ -355,28 +355,28 @@ export function getSwarmOrchestration(taskDescription, memoryNamespace) {
|
|
|
355
355
|
7. **Real-Time Monitoring**
|
|
356
356
|
\`\`\`bash
|
|
357
357
|
# Monitor swarm progress
|
|
358
|
-
npx claude-flow monitor
|
|
358
|
+
npx claude-flow-novice monitor
|
|
359
359
|
|
|
360
360
|
# Check specific swarm status
|
|
361
|
-
npx claude-flow status
|
|
361
|
+
npx claude-flow-novice status
|
|
362
362
|
|
|
363
363
|
# View agent activities
|
|
364
|
-
npx claude-flow agent list
|
|
364
|
+
npx claude-flow-novice agent list
|
|
365
365
|
\`\`\`
|
|
366
366
|
|
|
367
367
|
8. **Cross-Agent Memory Sharing**
|
|
368
368
|
\`\`\`bash
|
|
369
369
|
# Store important findings for all agents
|
|
370
|
-
npx claude-flow memory store "${memoryNamespace}_findings" "key insights and decisions"
|
|
370
|
+
npx claude-flow-novice memory store "${memoryNamespace}_findings" "key insights and decisions"
|
|
371
371
|
|
|
372
372
|
# Store progress updates
|
|
373
|
-
npx claude-flow memory store "${memoryNamespace}_progress" "current completion status"
|
|
373
|
+
npx claude-flow-novice memory store "${memoryNamespace}_progress" "current completion status"
|
|
374
374
|
|
|
375
375
|
# Store blockers or issues
|
|
376
|
-
npx claude-flow memory store "${memoryNamespace}_blockers" "any impediments or questions"
|
|
376
|
+
npx claude-flow-novice memory store "${memoryNamespace}_blockers" "any impediments or questions"
|
|
377
377
|
|
|
378
378
|
# Query shared knowledge
|
|
379
|
-
npx claude-flow memory query "${memoryNamespace}" --limit 10
|
|
379
|
+
npx claude-flow-novice memory query "${memoryNamespace}" --limit 10
|
|
380
380
|
\`\`\`
|
|
381
381
|
|
|
382
382
|
### Phase 5: Results Integration (5-15 minutes)
|
|
@@ -389,10 +389,10 @@ export function getSwarmOrchestration(taskDescription, memoryNamespace) {
|
|
|
389
389
|
10. **Memory Documentation**
|
|
390
390
|
\`\`\`bash
|
|
391
391
|
# Store final results
|
|
392
|
-
npx claude-flow memory store "${memoryNamespace}_final" "completed task summary and results"
|
|
392
|
+
npx claude-flow-novice memory store "${memoryNamespace}_final" "completed task summary and results"
|
|
393
393
|
|
|
394
394
|
# Store lessons learned
|
|
395
|
-
npx claude-flow memory store "${memoryNamespace}_lessons" "insights for future similar tasks"
|
|
395
|
+
npx claude-flow-novice memory store "${memoryNamespace}_lessons" "insights for future similar tasks"
|
|
396
396
|
\`\`\`
|
|
397
397
|
|
|
398
398
|
## 🎯 SWARM SUCCESS CRITERIA
|
|
@@ -7,14 +7,14 @@ export function getTddOrchestration(taskDescription, memoryNamespace) {
|
|
|
7
7
|
- Analyze requirements: "${taskDescription}"
|
|
8
8
|
- Query existing code and architecture:
|
|
9
9
|
\\\`\\\`\\\`bash
|
|
10
|
-
npx claude-flow memory query ${memoryNamespace}_architecture
|
|
11
|
-
npx claude-flow memory query ${memoryNamespace}_implementation
|
|
12
|
-
npx claude-flow memory query ${memoryNamespace}_tech_specs
|
|
10
|
+
npx claude-flow-novice memory query ${memoryNamespace}_architecture
|
|
11
|
+
npx claude-flow-novice memory query ${memoryNamespace}_implementation
|
|
12
|
+
npx claude-flow-novice memory query ${memoryNamespace}_tech_specs
|
|
13
13
|
\\\`\\\`\\\`
|
|
14
14
|
- Define test boundaries and acceptance criteria
|
|
15
15
|
- Plan test structure (unit, integration, e2e)
|
|
16
16
|
- Identify test doubles needed (mocks, stubs, spies)
|
|
17
|
-
- Store plan: \`npx claude-flow memory store ${memoryNamespace}_test_plan "Test strategy: Unit tests for domain logic, integration for APIs, e2e for workflows. Mocking: External services, database. Coverage target: 95%."\`
|
|
17
|
+
- Store plan: \`npx claude-flow-novice memory store ${memoryNamespace}_test_plan "Test strategy: Unit tests for domain logic, integration for APIs, e2e for workflows. Mocking: External services, database. Coverage target: 95%."\`
|
|
18
18
|
|
|
19
19
|
2. **Red Phase - Write Failing Tests** (20 mins)
|
|
20
20
|
- Create comprehensive test structure:
|
|
@@ -32,7 +32,7 @@ export function getTddOrchestration(taskDescription, memoryNamespace) {
|
|
|
32
32
|
- Ensure NO hardcoded values in tests
|
|
33
33
|
- Create parameterized tests for edge cases
|
|
34
34
|
- Verify all tests fail with meaningful messages
|
|
35
|
-
- Store status: \`npx claude-flow memory store ${memoryNamespace}_red_phase "Written: 25 unit tests (all failing), 10 integration tests (all failing), 5 e2e tests (all failing). Coverage: 0%."\`
|
|
35
|
+
- Store status: \`npx claude-flow-novice memory store ${memoryNamespace}_red_phase "Written: 25 unit tests (all failing), 10 integration tests (all failing), 5 e2e tests (all failing). Coverage: 0%."\`
|
|
36
36
|
|
|
37
37
|
3. **Green Phase - Minimal Implementation** (20 mins)
|
|
38
38
|
- Implement ONLY enough code to pass tests:
|
|
@@ -43,7 +43,7 @@ export function getTddOrchestration(taskDescription, memoryNamespace) {
|
|
|
43
43
|
- Use dependency injection for testability
|
|
44
44
|
- Implement proper error handling
|
|
45
45
|
- Track coverage as you progress
|
|
46
|
-
- Store progress: \`npx claude-flow memory store ${memoryNamespace}_green_phase "Progress: 20/25 unit tests passing, 8/10 integration tests passing. Current coverage: 75%. Remaining: Complex edge cases."\`
|
|
46
|
+
- Store progress: \`npx claude-flow-novice memory store ${memoryNamespace}_green_phase "Progress: 20/25 unit tests passing, 8/10 integration tests passing. Current coverage: 75%. Remaining: Complex edge cases."\`
|
|
47
47
|
|
|
48
48
|
4. **Refactor Phase - Optimize & Clean** (15 mins)
|
|
49
49
|
- Refactor while keeping tests green:
|
|
@@ -55,7 +55,7 @@ export function getTddOrchestration(taskDescription, memoryNamespace) {
|
|
|
55
55
|
- Add performance tests if needed
|
|
56
56
|
- Improve test maintainability
|
|
57
57
|
- Document complex test scenarios
|
|
58
|
-
- Store refactoring: \`npx claude-flow memory store ${memoryNamespace}_refactor "Extracted 3 common utilities, optimized database queries, improved test readability. All tests green. Coverage: 95%."\`
|
|
58
|
+
- Store refactoring: \`npx claude-flow-novice memory store ${memoryNamespace}_refactor "Extracted 3 common utilities, optimized database queries, improved test readability. All tests green. Coverage: 95%."\`
|
|
59
59
|
|
|
60
60
|
5. **Test Documentation & Validation** (10 mins)
|
|
61
61
|
- Generate coverage reports
|
|
@@ -63,7 +63,7 @@ export function getTddOrchestration(taskDescription, memoryNamespace) {
|
|
|
63
63
|
- Create test execution guide
|
|
64
64
|
- Set up CI/CD test configuration
|
|
65
65
|
- Validate against acceptance criteria
|
|
66
|
-
- Store completion: \`npx claude-flow memory store ${memoryNamespace}_tdd_complete "TDD cycle complete. Coverage: 95%. All acceptance criteria met. Tests documented. CI/CD ready."\`
|
|
66
|
+
- Store completion: \`npx claude-flow-novice memory store ${memoryNamespace}_tdd_complete "TDD cycle complete. Coverage: 95%. All acceptance criteria met. Tests documented. CI/CD ready."\`
|
|
67
67
|
|
|
68
68
|
## Directory Safety
|
|
69
69
|
- **IMPORTANT**: All test files should be created in the current working directory
|
|
@@ -106,7 +106,7 @@ export function getTddOrchestration(taskDescription, memoryNamespace) {
|
|
|
106
106
|
|
|
107
107
|
## Next Steps
|
|
108
108
|
After TDD cycle completes:
|
|
109
|
-
- \`npx claude-flow sparc run debug "Investigate any failing edge cases" --non-interactive\`
|
|
110
|
-
- \`npx claude-flow sparc run refinement-optimization-mode "Optimize performance bottlenecks" --non-interactive\`
|
|
111
|
-
- \`npx claude-flow sparc run docs-writer "Create user documentation" --non-interactive\``;
|
|
109
|
+
- \`npx claude-flow-novice sparc run debug "Investigate any failing edge cases" --non-interactive\`
|
|
110
|
+
- \`npx claude-flow-novice sparc run refinement-optimization-mode "Optimize performance bottlenecks" --non-interactive\`
|
|
111
|
+
- \`npx claude-flow-novice sparc run docs-writer "Create user documentation" --non-interactive\``;
|
|
112
112
|
}
|