claude-flow-novice 2.10.8 → 2.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/.claude/commands/README.md +157 -0
  2. package/.claude/hooks/cfn-invoke-post-edit.sh +1 -1
  3. package/.claude/hooks/cfn-invoke-pre-edit.sh +88 -0
  4. package/.claude/skills/cfn-agent-spawning/spawn-worker.sh +176 -0
  5. package/.claude/skills/cfn-backlog-management/SKILL.md +199 -0
  6. package/.claude/skills/cfn-backlog-management/add-backlog-item.sh +210 -0
  7. package/claude-assets/agents/cfn-dev-team/architecture/base-template-generator.md +7 -21
  8. package/claude-assets/agents/cfn-dev-team/testing/test-validation-agent.md +312 -0
  9. package/claude-assets/agents/cfn-dev-team/utility/agent-builder.md +480 -115
  10. package/claude-assets/agents/csuite/cto-agent.md +371 -0
  11. package/claude-assets/agents/marketing_hybrid/cost_tracker.md +13 -0
  12. package/claude-assets/agents/marketing_hybrid/docker_deployer.md +13 -0
  13. package/claude-assets/agents/marketing_hybrid/zai_worker_spawner.md +13 -0
  14. package/claude-assets/hooks/cfn-invoke-post-edit.sh +1 -1
  15. package/claude-assets/hooks/cfn-invoke-pre-edit.sh +88 -0
  16. package/claude-assets/skills/cfn-agent-spawning/spawn-worker.sh +176 -0
  17. package/claude-assets/skills/cfn-backlog-management/SKILL.md +199 -0
  18. package/claude-assets/skills/cfn-backlog-management/add-backlog-item.sh +210 -0
  19. package/claude-assets/skills/pre-edit-backup/backup.sh +130 -0
  20. package/claude-assets/skills/pre-edit-backup/cleanup.sh +155 -0
  21. package/claude-assets/skills/pre-edit-backup/restore.sh +128 -0
  22. package/claude-assets/skills/pre-edit-backup/revert-file.sh +168 -0
  23. package/dist/agents/agent-loader.js +315 -0
  24. package/dist/agents/agent-loader.js.map +1 -1
  25. package/package.json +3 -2
  26. package/scripts/init-project.js +38 -3
  27. package/scripts/marketing_hybrid_deployment.sh +45 -0
  28. package/scripts/redis-prometheus-exporter.sh +33 -0
  29. package/scripts/track-zai-costs.sh +19 -0
  30. package/claude-assets/commands/agents/README.md +0 -10
  31. package/claude-assets/commands/agents/agent-capabilities.md +0 -21
  32. package/claude-assets/commands/agents/agent-coordination.md +0 -28
  33. package/claude-assets/commands/agents/agent-spawning.md +0 -28
  34. package/claude-assets/commands/agents/agent-types.md +0 -26
  35. package/claude-assets/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +0 -54
  36. package/claude-assets/commands/analysis/README.md +0 -9
  37. package/claude-assets/commands/analysis/bottleneck-detect.md +0 -162
  38. package/claude-assets/commands/analysis/performance-bottlenecks.md +0 -59
  39. package/claude-assets/commands/analysis/performance-report.md +0 -25
  40. package/claude-assets/commands/analysis/token-efficiency.md +0 -45
  41. package/claude-assets/commands/analysis/token-usage.md +0 -25
  42. package/claude-assets/commands/automation/README.md +0 -9
  43. package/claude-assets/commands/automation/auto-agent.md +0 -122
  44. package/claude-assets/commands/automation/self-healing.md +0 -106
  45. package/claude-assets/commands/automation/session-memory.md +0 -90
  46. package/claude-assets/commands/automation/smart-agents.md +0 -73
  47. package/claude-assets/commands/automation/smart-spawn.md +0 -25
  48. package/claude-assets/commands/automation/workflow-select.md +0 -25
  49. package/claude-assets/commands/claude-md.js +0 -237
  50. package/claude-assets/commands/claude-soul.js +0 -28
  51. package/claude-assets/commands/cli-integration.js +0 -216
  52. package/claude-assets/commands/coordination/README.md +0 -9
  53. package/claude-assets/commands/coordination/agent-spawn.md +0 -25
  54. package/claude-assets/commands/coordination/coordination-system.md +0 -88
  55. package/claude-assets/commands/coordination/init.md +0 -44
  56. package/claude-assets/commands/coordination/orchestrate.md +0 -43
  57. package/claude-assets/commands/coordination/spawn.md +0 -45
  58. package/claude-assets/commands/coordination/swarm-init.md +0 -85
  59. package/claude-assets/commands/coordination/task-orchestrate.md +0 -25
  60. package/claude-assets/commands/github/README.md +0 -11
  61. package/claude-assets/commands/github/code-review-swarm.md +0 -514
  62. package/claude-assets/commands/github/code-review.md +0 -25
  63. package/claude-assets/commands/github/github-modes.md +0 -147
  64. package/claude-assets/commands/github/github-swarm.md +0 -121
  65. package/claude-assets/commands/github/issue-tracker.md +0 -292
  66. package/claude-assets/commands/github/issue-triage.md +0 -25
  67. package/claude-assets/commands/github/multi-repo-swarm.md +0 -519
  68. package/claude-assets/commands/github/pr-enhance.md +0 -26
  69. package/claude-assets/commands/github/pr-manager.md +0 -170
  70. package/claude-assets/commands/github/project-board-sync.md +0 -471
  71. package/claude-assets/commands/github/release-manager.md +0 -338
  72. package/claude-assets/commands/github/release-swarm.md +0 -544
  73. package/claude-assets/commands/github/repo-analyze.md +0 -25
  74. package/claude-assets/commands/github/repo-architect.md +0 -367
  75. package/claude-assets/commands/github/swarm-issue.md +0 -482
  76. package/claude-assets/commands/github/swarm-pr.md +0 -285
  77. package/claude-assets/commands/github/sync-coordinator.md +0 -301
  78. package/claude-assets/commands/github/workflow-automation.md +0 -442
  79. package/claude-assets/commands/github.js +0 -638
  80. package/claude-assets/commands/hive-mind/README.md +0 -17
  81. package/claude-assets/commands/hive-mind/hive-mind-consensus.md +0 -8
  82. package/claude-assets/commands/hive-mind/hive-mind-init.md +0 -18
  83. package/claude-assets/commands/hive-mind/hive-mind-memory.md +0 -8
  84. package/claude-assets/commands/hive-mind/hive-mind-metrics.md +0 -8
  85. package/claude-assets/commands/hive-mind/hive-mind-resume.md +0 -8
  86. package/claude-assets/commands/hive-mind/hive-mind-sessions.md +0 -8
  87. package/claude-assets/commands/hive-mind/hive-mind-spawn.md +0 -21
  88. package/claude-assets/commands/hive-mind/hive-mind-status.md +0 -8
  89. package/claude-assets/commands/hive-mind/hive-mind-stop.md +0 -8
  90. package/claude-assets/commands/hive-mind/hive-mind-wizard.md +0 -8
  91. package/claude-assets/commands/hive-mind/hive-mind.md +0 -27
  92. package/claude-assets/commands/hooks/README.md +0 -11
  93. package/claude-assets/commands/hooks/overview.md +0 -58
  94. package/claude-assets/commands/hooks/post-edit.md +0 -117
  95. package/claude-assets/commands/hooks/post-task.md +0 -112
  96. package/claude-assets/commands/hooks/pre-edit.md +0 -113
  97. package/claude-assets/commands/hooks/pre-task.md +0 -111
  98. package/claude-assets/commands/hooks/session-end.md +0 -118
  99. package/claude-assets/commands/hooks/session-start.md +0 -9
  100. package/claude-assets/commands/hooks/setup.md +0 -103
  101. package/claude-assets/commands/hooks.js +0 -651
  102. package/claude-assets/commands/index.js +0 -119
  103. package/claude-assets/commands/memory/README.md +0 -9
  104. package/claude-assets/commands/memory/memory-bank.md +0 -58
  105. package/claude-assets/commands/memory/memory-persist.md +0 -25
  106. package/claude-assets/commands/memory/memory-search.md +0 -25
  107. package/claude-assets/commands/memory/memory-usage.md +0 -25
  108. package/claude-assets/commands/memory/neural.md +0 -47
  109. package/claude-assets/commands/memory/usage.md +0 -46
  110. package/claude-assets/commands/monitoring/README.md +0 -9
  111. package/claude-assets/commands/monitoring/agent-metrics.md +0 -25
  112. package/claude-assets/commands/monitoring/agents.md +0 -44
  113. package/claude-assets/commands/monitoring/real-time-view.md +0 -25
  114. package/claude-assets/commands/monitoring/status.md +0 -46
  115. package/claude-assets/commands/monitoring/swarm-monitor.md +0 -25
  116. package/claude-assets/commands/neural.js +0 -572
  117. package/claude-assets/commands/optimization/README.md +0 -9
  118. package/claude-assets/commands/optimization/auto-topology.md +0 -62
  119. package/claude-assets/commands/optimization/cache-manage.md +0 -25
  120. package/claude-assets/commands/optimization/parallel-execute.md +0 -25
  121. package/claude-assets/commands/optimization/parallel-execution.md +0 -50
  122. package/claude-assets/commands/optimization/topology-optimize.md +0 -25
  123. package/claude-assets/commands/pair/README.md +0 -261
  124. package/claude-assets/commands/pair/commands.md +0 -546
  125. package/claude-assets/commands/pair/config.md +0 -510
  126. package/claude-assets/commands/pair/examples.md +0 -512
  127. package/claude-assets/commands/pair/modes.md +0 -348
  128. package/claude-assets/commands/pair/session.md +0 -407
  129. package/claude-assets/commands/pair/start.md +0 -209
  130. package/claude-assets/commands/parse-epic.js +0 -180
  131. package/claude-assets/commands/performance.js +0 -582
  132. package/claude-assets/commands/register-all-commands.js +0 -320
  133. package/claude-assets/commands/register-claude-md.js +0 -82
  134. package/claude-assets/commands/register-claude-soul.js +0 -80
  135. package/claude-assets/commands/sparc/analyzer.md +0 -52
  136. package/claude-assets/commands/sparc/architect.md +0 -53
  137. package/claude-assets/commands/sparc/batch-executor.md +0 -54
  138. package/claude-assets/commands/sparc/coder.md +0 -54
  139. package/claude-assets/commands/sparc/debugger.md +0 -54
  140. package/claude-assets/commands/sparc/designer.md +0 -53
  141. package/claude-assets/commands/sparc/documenter.md +0 -54
  142. package/claude-assets/commands/sparc/innovator.md +0 -54
  143. package/claude-assets/commands/sparc/memory-manager.md +0 -54
  144. package/claude-assets/commands/sparc/optimizer.md +0 -54
  145. package/claude-assets/commands/sparc/orchestrator.md +0 -132
  146. package/claude-assets/commands/sparc/researcher.md +0 -54
  147. package/claude-assets/commands/sparc/reviewer.md +0 -54
  148. package/claude-assets/commands/sparc/sparc-modes.md +0 -174
  149. package/claude-assets/commands/sparc/swarm-coordinator.md +0 -54
  150. package/claude-assets/commands/sparc/tdd.md +0 -54
  151. package/claude-assets/commands/sparc/tester.md +0 -54
  152. package/claude-assets/commands/sparc/workflow-manager.md +0 -54
  153. package/claude-assets/commands/sparc.js +0 -110
  154. package/claude-assets/commands/stream-chain/pipeline.md +0 -121
  155. package/claude-assets/commands/stream-chain/run.md +0 -70
  156. package/claude-assets/commands/swarm/README.md +0 -15
  157. package/claude-assets/commands/swarm/analysis.md +0 -95
  158. package/claude-assets/commands/swarm/development.md +0 -96
  159. package/claude-assets/commands/swarm/examples.md +0 -168
  160. package/claude-assets/commands/swarm/maintenance.md +0 -102
  161. package/claude-assets/commands/swarm/optimization.md +0 -117
  162. package/claude-assets/commands/swarm/research.md +0 -136
  163. package/claude-assets/commands/swarm/swarm-analysis.md +0 -8
  164. package/claude-assets/commands/swarm/swarm-background.md +0 -8
  165. package/claude-assets/commands/swarm/swarm-init.md +0 -19
  166. package/claude-assets/commands/swarm/swarm-modes.md +0 -8
  167. package/claude-assets/commands/swarm/swarm-monitor.md +0 -8
  168. package/claude-assets/commands/swarm/swarm-spawn.md +0 -19
  169. package/claude-assets/commands/swarm/swarm-status.md +0 -8
  170. package/claude-assets/commands/swarm/swarm-strategies.md +0 -8
  171. package/claude-assets/commands/swarm/swarm.md +0 -27
  172. package/claude-assets/commands/swarm/testing.md +0 -131
  173. package/claude-assets/commands/swarm.js +0 -423
  174. package/claude-assets/commands/testing/playwright-e2e.md +0 -288
  175. package/claude-assets/commands/training/README.md +0 -9
  176. package/claude-assets/commands/training/model-update.md +0 -25
  177. package/claude-assets/commands/training/neural-patterns.md +0 -74
  178. package/claude-assets/commands/training/neural-train.md +0 -25
  179. package/claude-assets/commands/training/pattern-learn.md +0 -25
  180. package/claude-assets/commands/training/specialization.md +0 -63
  181. package/claude-assets/commands/truth/start.md +0 -143
  182. package/claude-assets/commands/validate-commands.js +0 -223
  183. package/claude-assets/commands/verify/check.md +0 -50
  184. package/claude-assets/commands/verify/start.md +0 -128
  185. package/claude-assets/commands/workflow.js +0 -606
  186. package/claude-assets/commands/workflows/README.md +0 -9
  187. package/claude-assets/commands/workflows/development.md +0 -78
  188. package/claude-assets/commands/workflows/research.md +0 -63
  189. package/claude-assets/commands/workflows/workflow-create.md +0 -25
  190. package/claude-assets/commands/workflows/workflow-execute.md +0 -25
  191. package/claude-assets/commands/workflows/workflow-export.md +0 -25
  192. package/claude-assets/hooks/post-edit.config.json +0 -12
  193. package/claude-assets/skills/team-provider-routing/spawn-worker.sh +0 -91
@@ -1,288 +0,0 @@
1
- # Playwright E2E Testing Commands
2
-
3
- ## Command Overview
4
- End-to-end testing commands using Playwright framework with MCP integration for web portal testing.
5
-
6
- ## Usage Patterns
7
-
8
- ### Basic Commands
9
- ```bash
10
- # Run all E2E tests
11
- npx claude-flow-novice sparc run playwright-tester "Execute full E2E test suite"
12
-
13
- # Run specific test file
14
- npx claude-flow-novice sparc run playwright-tester "Test web portal dashboard functionality"
15
-
16
- # Run with specific browser
17
- npx claude-flow-novice sparc run playwright-tester "Test mobile responsiveness on webkit"
18
- ```
19
-
20
- ### Interactive Commands
21
- ```bash
22
- # Open Playwright UI for interactive testing
23
- npm run test:e2e:playwright:ui
24
-
25
- # Debug specific test
26
- npm run test:e2e:playwright:debug -- --grep "user authentication"
27
-
28
- # Generate new test code
29
- npm run playwright:codegen
30
- ```
31
-
32
- ### MCP Integration Commands
33
- ```bash
34
- # Test MCP server connectivity via Playwright
35
- npx claude-flow-novice mcp-test playwright-server
36
-
37
- # Execute MCP commands through web interface
38
- npx claude-flow-novice sparc batch playwright-tester,mcp-integration "Test command execution flow"
39
-
40
- # Monitor real-time MCP responses
41
- npx claude-flow-novice swarm monitor --include-playwright-tests
42
- ```
43
-
44
- ## Command Categories
45
-
46
- ### 1. **Test Execution**
47
-
48
- #### Full Suite Execution
49
- ```bash
50
- # All browsers, all tests
51
- npx claude-flow-novice sparc run playwright-tester "Execute comprehensive E2E test suite across all browsers"
52
-
53
- # Performance-focused testing
54
- npx claude-flow-novice sparc run playwright-tester "Run performance tests with network monitoring"
55
-
56
- # Accessibility validation
57
- npx claude-flow-novice sparc run playwright-tester "Validate web portal accessibility compliance"
58
- ```
59
-
60
- #### Targeted Testing
61
- ```bash
62
- # Authentication flow testing
63
- npx claude-flow-novice sparc run playwright-tester "Test complete user authentication workflow"
64
-
65
- # MCP integration testing
66
- npx claude-flow-novice sparc run playwright-tester "Validate MCP server communication and command execution"
67
-
68
- # Responsive design testing
69
- npx claude-flow-novice sparc run playwright-tester "Test responsive design across mobile, tablet, and desktop"
70
- ```
71
-
72
- ### 2. **Development & Debugging**
73
-
74
- #### Test Development
75
- ```bash
76
- # Generate test code interactively
77
- npm run playwright:codegen
78
-
79
- # Record new test scenarios
80
- npx playwright codegen --target playwright-test
81
-
82
- # Create test from existing user flow
83
- npx playwright codegen --save-storage auth.json http://localhost:3000
84
- ```
85
-
86
- #### Debugging Commands
87
- ```bash
88
- # Debug mode with browser UI
89
- npm run test:e2e:playwright:debug
90
-
91
- # Headed mode for visual debugging
92
- npm run test:e2e:playwright:headed
93
-
94
- # Step through test execution
95
- npx playwright test --debug --grep "specific test name"
96
- ```
97
-
98
- #### Trace Analysis
99
- ```bash
100
- # Show test traces
101
- npx playwright show-trace trace.zip
102
-
103
- # Generate trace for failing tests
104
- npx playwright test --trace on-failure-retry
105
- ```
106
-
107
- ### 3. **Reporting & Analysis**
108
-
109
- #### Report Generation
110
- ```bash
111
- # Open HTML report
112
- npx playwright show-report
113
-
114
- # Generate custom report
115
- npx claude-flow-novice sparc run playwright-tester "Generate comprehensive test report with performance metrics"
116
-
117
- # Export test results
118
- npx playwright test --reporter=junit --output-dir=reports
119
- ```
120
-
121
- #### Performance Analysis
122
- ```bash
123
- # Performance-focused test run
124
- npx claude-flow-novice sparc run playwright-tester "Execute performance benchmark tests with detailed timing analysis"
125
-
126
- # Network monitoring tests
127
- npx claude-flow-novice sparc run playwright-tester "Monitor network requests and identify bottlenecks"
128
- ```
129
-
130
- ### 4. **CI/CD Integration**
131
-
132
- #### Continuous Integration
133
- ```bash
134
- # CI-optimized test execution
135
- npm run test:e2e:playwright -- --workers=1 --reporter=github
136
-
137
- # Headless execution for CI
138
- CI=true npm run test:e2e:playwright
139
-
140
- # With retry for flaky tests
141
- npx playwright test --retries=2
142
- ```
143
-
144
- #### Docker Integration
145
- ```bash
146
- # Run tests in Docker container
147
- docker run --rm -v $(pwd):/app -w /app mcr.microsoft.com/playwright:latest npm run test:e2e:playwright
148
-
149
- # With custom Docker setup
150
- npx claude-flow-novice sparc run playwright-tester "Execute E2E tests in containerized environment"
151
- ```
152
-
153
- ## Swarm Coordination Commands
154
-
155
- ### Multi-Agent Coordination
156
- ```bash
157
- # Coordinate with multiple testing agents
158
- npx claude-flow-novice swarm init hierarchical --max-agents 5
159
- npx cfn-spawn agent spawn playwright-tester
160
- npx cfn-spawn agent spawn performance-analyzer
161
- npx claude-flow-novice task orchestrate "Execute comprehensive web portal testing with performance analysis"
162
- ```
163
-
164
- ### Memory-Integrated Testing
165
- ```bash
166
- # Store test results in swarm memory
167
- npx claude-flow-novice sparc run playwright-tester "Execute tests and store results in coordination memory for team review"
168
-
169
- # Load previous test context
170
- npx claude-flow-novice sparc run playwright-tester "Continue testing from previous session state"
171
- ```
172
-
173
- ### Real-Time Coordination
174
- ```bash
175
- # Monitor testing progress
176
- npx claude-flow-novice swarm monitor --agent-type playwright-tester
177
-
178
- # Stream test results
179
- npx claude-flow-novice swarm status --include-test-metrics
180
- ```
181
-
182
- ## Advanced Usage Patterns
183
-
184
- ### 1. **Parallel Test Execution**
185
- ```bash
186
- # Parallel execution across multiple agents
187
- npx claude-flow-novice sparc batch playwright-tester,playwright-tester,playwright-tester "Split test suite across three parallel agents"
188
-
189
- # Browser-specific parallel testing
190
- npx claude-flow-novice sparc concurrent playwright-tester "tests-chromium.txt,tests-firefox.txt,tests-webkit.txt"
191
- ```
192
-
193
- ### 2. **Environment-Specific Testing**
194
- ```bash
195
- # Staging environment testing
196
- BASEURL=https://staging.example.com npx claude-flow-novice sparc run playwright-tester "Test staging environment functionality"
197
-
198
- # Production smoke tests
199
- ENVIRONMENT=production npx claude-flow-novice sparc run playwright-tester "Execute production smoke test suite"
200
- ```
201
-
202
- ### 3. **API Integration Testing**
203
- ```bash
204
- # Combined API and UI testing
205
- npx claude-flow-novice sparc batch api-tester,playwright-tester "Test API endpoints and UI integration"
206
-
207
- # Mock API testing
208
- npx claude-flow-novice sparc run playwright-tester "Test UI with mocked API responses"
209
- ```
210
-
211
- ## Configuration Commands
212
-
213
- ### Setup and Installation
214
- ```bash
215
- # Install Playwright browsers
216
- npm run playwright:install
217
-
218
- # Install specific browser
219
- npx playwright install chromium
220
-
221
- # Update Playwright
222
- npm update @playwright/test playwright
223
- ```
224
-
225
- ### Configuration Management
226
- ```bash
227
- # Validate configuration
228
- npx playwright test --list
229
-
230
- # Show configuration
231
- npx playwright --version
232
- npx playwright show-report --help
233
- ```
234
-
235
- ## Troubleshooting Commands
236
-
237
- ### Diagnostic Commands
238
- ```bash
239
- # Check Playwright installation
240
- npx playwright --version
241
-
242
- # Verify browser installation
243
- npx playwright install --dry-run
244
-
245
- # Test connectivity
246
- npx claude-flow-novice health-check --include-playwright
247
- ```
248
-
249
- ### Error Resolution
250
- ```bash
251
- # Clear test artifacts
252
- rm -rf test-results/ playwright-report/
253
-
254
- # Reset test state
255
- npx claude-flow-novice sparc run playwright-tester "Reset and clean test environment state"
256
-
257
- # Debug specific failure
258
- npx playwright test tests/e2e/web-portal.spec.ts --debug --grep "failing test name"
259
- ```
260
-
261
- ## Integration Patterns
262
-
263
- ### With GitHub Actions
264
- ```yaml
265
- # .github/workflows/e2e-tests.yml
266
- - name: Run Playwright tests
267
- run: |
268
- npx claude-flow-novice sparc run playwright-tester "Execute E2E tests for CI/CD pipeline"
269
- ```
270
-
271
- ### With MCP Servers
272
- ```bash
273
- # Ensure MCP servers are running
274
- npx claude-flow-novice mcp status
275
-
276
- # Test MCP integration specifically
277
- npx claude-flow-novice sparc run playwright-tester "Validate all MCP server integrations via web interface"
278
- ```
279
-
280
- ### With Performance Monitoring
281
- ```bash
282
- # Combined performance and functional testing
283
- npx claude-flow-novice sparc batch playwright-tester,performance-analyzer "Execute E2E tests with comprehensive performance monitoring"
284
- ```
285
-
286
- ---
287
-
288
- **Note**: All commands follow the CLAUDE.md concurrent execution patterns and integrate with the swarm coordination system for optimal performance and result sharing.
@@ -1,9 +0,0 @@
1
- # Training Commands
2
-
3
- Commands for training operations in Claude Flow.
4
-
5
- ## Available Commands
6
-
7
- - [neural-train](./neural-train.md)
8
- - [pattern-learn](./pattern-learn.md)
9
- - [model-update](./model-update.md)
@@ -1,25 +0,0 @@
1
- # model-update
2
-
3
- Update neural models with new data.
4
-
5
- ## Usage
6
- ```bash
7
- npx claude-flow-novice training model-update [options]
8
- ```
9
-
10
- ## Options
11
- - `--model <name>` - Model to update
12
- - `--incremental` - Incremental update
13
- - `--validate` - Validate after update
14
-
15
- ## Examples
16
- ```bash
17
- # Update all models
18
- npx claude-flow-novice training model-update
19
-
20
- # Specific model
21
- npx claude-flow-novice training model-update --model agent-selector
22
-
23
- # Incremental with validation
24
- npx claude-flow-novice training model-update --incremental --validate
25
- ```
@@ -1,74 +0,0 @@
1
- # Neural Pattern Training
2
-
3
- ## Purpose
4
- Continuously improve coordination through neural network learning.
5
-
6
- ## How Training Works
7
-
8
- ### 1. Automatic Learning
9
- Every successful operation trains the neural networks:
10
- - Edit patterns for different file types
11
- - Search strategies that find results faster
12
- - Task decomposition approaches
13
- - Agent coordination patterns
14
-
15
- ### 2. Manual Training
16
- ```
17
- Tool: mcp__claude-flow__neural_train
18
- Parameters: {
19
- "pattern_type": "coordination",
20
- "training_data": "successful task patterns",
21
- "epochs": 50
22
- }
23
- ```
24
-
25
- ### 3. Pattern Types
26
-
27
- **Cognitive Patterns:**
28
- - Convergent: Focused problem-solving
29
- - Divergent: Creative exploration
30
- - Lateral: Alternative approaches
31
- - Systems: Holistic thinking
32
- - Critical: Analytical evaluation
33
- - Abstract: High-level design
34
-
35
- ### 4. Improvement Tracking
36
- ```
37
- Tool: mcp__claude-flow__neural_status
38
- Result: {
39
- "patterns": {
40
- "convergent": 0.92,
41
- "divergent": 0.87,
42
- "lateral": 0.85
43
- },
44
- "improvement": "5.3% since last session",
45
- "confidence": 0.89
46
- }
47
- ```
48
-
49
- ## Pattern Analysis
50
- ```
51
- Tool: mcp__claude-flow__neural_patterns
52
- Parameters: {
53
- "action": "analyze",
54
- "operation": "recent_edits"
55
- }
56
- ```
57
-
58
- ## Benefits
59
- - 🧠 Learns your coding style
60
- - 📈 Improves with each use
61
- - 🎯 Better task predictions
62
- - ⚡ Faster coordination
63
-
64
- ## CLI Usage
65
- ```bash
66
- # Train neural patterns via CLI
67
- npx claude-flow-novice neural train --type coordination --epochs 50
68
-
69
- # Check neural status
70
- npx claude-flow-novice neural status
71
-
72
- # Analyze patterns
73
- npx claude-flow-novice neural patterns --analyze
74
- ```
@@ -1,25 +0,0 @@
1
- # neural-train
2
-
3
- Train neural patterns from operations.
4
-
5
- ## Usage
6
- ```bash
7
- npx claude-flow-novice training neural-train [options]
8
- ```
9
-
10
- ## Options
11
- - `--data <source>` - Training data source
12
- - `--model <name>` - Target model
13
- - `--epochs <n>` - Training epochs
14
-
15
- ## Examples
16
- ```bash
17
- # Train from recent ops
18
- npx claude-flow-novice training neural-train --data recent
19
-
20
- # Specific model
21
- npx claude-flow-novice training neural-train --model task-predictor
22
-
23
- # Custom epochs
24
- npx claude-flow-novice training neural-train --epochs 100
25
- ```
@@ -1,25 +0,0 @@
1
- # pattern-learn
2
-
3
- Learn patterns from successful operations.
4
-
5
- ## Usage
6
- ```bash
7
- npx claude-flow-novice training pattern-learn [options]
8
- ```
9
-
10
- ## Options
11
- - `--source <type>` - Pattern source
12
- - `--threshold <score>` - Success threshold
13
- - `--save <name>` - Save pattern set
14
-
15
- ## Examples
16
- ```bash
17
- # Learn from all ops
18
- npx claude-flow-novice training pattern-learn
19
-
20
- # High success only
21
- npx claude-flow-novice training pattern-learn --threshold 0.9
22
-
23
- # Save patterns
24
- npx claude-flow-novice training pattern-learn --save optimal-patterns
25
- ```
@@ -1,63 +0,0 @@
1
- # Agent Specialization Training
2
-
3
- ## Purpose
4
- Train agents to become experts in specific domains for better performance.
5
-
6
- ## Specialization Areas
7
-
8
- ### 1. By File Type
9
- Agents automatically specialize based on file extensions:
10
- - **.js/.ts**: Modern JavaScript patterns
11
- - **.py**: Pythonic idioms
12
- - **.go**: Go best practices
13
- - **.rs**: Rust safety patterns
14
-
15
- ### 2. By Task Type
16
- ```
17
- Tool: mcp__claude-flow__agent_spawn
18
- Parameters: {
19
- "type": "coder",
20
- "capabilities": ["react", "typescript", "testing"],
21
- "name": "React Specialist"
22
- }
23
- ```
24
-
25
- ### 3. Training Process
26
- The system trains through:
27
- - Successful edit operations
28
- - Code review patterns
29
- - Error fix approaches
30
- - Performance optimizations
31
-
32
- ### 4. Specialization Benefits
33
- ```
34
- # Check agent specializations
35
- Tool: mcp__claude-flow__agent_list
36
- Parameters: {"swarmId": "current"}
37
-
38
- Result shows expertise levels:
39
- {
40
- "agents": [
41
- {
42
- "id": "coder-123",
43
- "specializations": {
44
- "javascript": 0.95,
45
- "react": 0.88,
46
- "testing": 0.82
47
- }
48
- }
49
- ]
50
- }
51
- ```
52
-
53
- ## Continuous Improvement
54
- Agents share learnings across sessions for cumulative expertise!
55
-
56
- ## CLI Usage
57
- ```bash
58
- # Train agent specialization via CLI
59
- npx claude-flow-novice train agent --type coder --capabilities "react,typescript"
60
-
61
- # Check specializations
62
- npx cfn-spawn agent list --specializations
63
- ```
@@ -1,143 +0,0 @@
1
- # 📊 Truth Command
2
-
3
- View truth scores and reliability metrics for your codebase and agent tasks.
4
-
5
- ## Overview
6
-
7
- The `truth` command provides comprehensive insights into code quality, agent performance, and verification metrics.
8
-
9
- ## Usage
10
-
11
- ```bash
12
- claude-flow-novice truth [options]
13
- ```
14
-
15
- ## Options
16
-
17
- - `--format <type>` - Output format: table (default), json, csv, html
18
- - `--period <time>` - Time period: 1h, 24h, 7d, 30d
19
- - `--agent <name>` - Filter by specific agent
20
- - `--threshold <0-1>` - Show only scores below threshold
21
- - `--export <file>` - Export metrics to file
22
- - `--watch` - Real-time monitoring mode
23
-
24
- ## Metrics Displayed
25
-
26
- ### Truth Scores
27
- - **Overall Score**: Aggregate truth score (0.0-1.0)
28
- - **File Scores**: Individual file truth ratings
29
- - **Agent Scores**: Per-agent reliability metrics
30
- - **Task Scores**: Task completion quality
31
-
32
- ### Trends
33
- - **Improvement Rate**: Quality trend over time
34
- - **Regression Detection**: Identifies declining scores
35
- - **Agent Learning**: Shows agent improvement curves
36
-
37
- ### Statistics
38
- - **Mean Score**: Average truth score
39
- - **Median Score**: Middle value of scores
40
- - **Standard Deviation**: Score consistency
41
- - **Confidence Interval**: Statistical reliability
42
-
43
- ## Examples
44
-
45
- ### Basic Usage
46
- ```bash
47
- # View current truth scores
48
- claude-flow-novice truth
49
-
50
- # View scores for last 7 days
51
- claude-flow-novice truth --period 7d
52
-
53
- # Export to HTML report
54
- claude-flow-novice truth --export report.html --format html
55
- ```
56
-
57
- ### Advanced Analysis
58
- ```bash
59
- # Monitor real-time scores
60
- claude-flow-novice truth --watch
61
-
62
- # Find problematic files
63
- claude-flow-novice truth --threshold 0.8
64
-
65
- # Agent-specific metrics
66
- claude-flow-novice truth --agent coder --period 24h
67
-
68
- # JSON for processing
69
- claude-flow-novice truth --format json | jq '.overall_score'
70
- ```
71
-
72
- ## Dashboard View
73
-
74
- ```
75
- 📊 Truth Metrics Dashboard
76
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
77
-
78
- Overall Truth Score: 0.947 ✅
79
- Trend: ↗️ +2.3% (7d)
80
-
81
- Top Performers:
82
- verification-agent 0.982 ⭐
83
- code-analyzer 0.971 ⭐
84
- test-generator 0.958 ✅
85
-
86
- Needs Attention:
87
- refactor-agent 0.821 ⚠️
88
- docs-generator 0.794 ⚠️
89
-
90
- Recent Tasks:
91
- task-456 0.991 ✅ "Implement auth"
92
- task-455 0.967 ✅ "Add tests"
93
- task-454 0.743 ❌ "Refactor API"
94
- ```
95
-
96
- ## Integration
97
-
98
- ### With CI/CD
99
- ```yaml
100
- # GitHub Actions example
101
- - name: Check Truth Scores
102
- run: |
103
- claude-flow-novice truth --format json > truth.json
104
- score=$(jq '.overall_score' truth.json)
105
- if (( $(echo "$score < 0.95" | bc -l) )); then
106
- echo "Truth score too low: $score"
107
- exit 1
108
- fi
109
- ```
110
-
111
- ### With Monitoring
112
- ```bash
113
- # Send to monitoring system
114
- claude-flow-novice truth --format json | \
115
- curl -X POST https://metrics.example.com/api/truth \
116
- -H "Content-Type: application/json" \
117
- -d @-
118
- ```
119
-
120
- ## Configuration
121
-
122
- Set truth display preferences in `.claude-flow/config.json`:
123
-
124
- ```json
125
- {
126
- "truth": {
127
- "defaultFormat": "table",
128
- "defaultPeriod": "24h",
129
- "warningThreshold": 0.85,
130
- "criticalThreshold": 0.75,
131
- "autoExport": {
132
- "enabled": true,
133
- "path": ".claude-flow/metrics/truth-daily.json"
134
- }
135
- }
136
- }
137
- ```
138
-
139
- ## Related Commands
140
-
141
- - `verify` - Run verification checks
142
- - `pair` - Collaborative development with truth tracking
143
- - `report` - Generate detailed reports