claude-flow-novice 2.10.9 → 2.12.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 (180) hide show
  1. package/.claude/commands/README.md +157 -0
  2. package/.claude/hooks/cfn-invoke-post-edit.sh +1 -1
  3. package/.claude/skills/cfn-backlog-management/SKILL.md +199 -0
  4. package/.claude/skills/cfn-backlog-management/add-backlog-item.sh +210 -0
  5. package/.claude/skills/cfn-changelog-management/SKILL.md +349 -0
  6. package/.claude/skills/cfn-changelog-management/add-changelog-entry.sh +200 -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/hooks/cfn-invoke-post-edit.sh +1 -1
  11. package/claude-assets/skills/cfn-backlog-management/SKILL.md +199 -0
  12. package/claude-assets/skills/cfn-backlog-management/add-backlog-item.sh +210 -0
  13. package/claude-assets/skills/cfn-changelog-management/SKILL.md +349 -0
  14. package/claude-assets/skills/cfn-changelog-management/add-changelog-entry.sh +200 -0
  15. package/dist/cli/config-manager.js.map +1 -1
  16. package/package.json +4 -2
  17. package/scripts/init-project.js +38 -3
  18. package/claude-assets/commands/agents/README.md +0 -10
  19. package/claude-assets/commands/agents/agent-capabilities.md +0 -21
  20. package/claude-assets/commands/agents/agent-coordination.md +0 -28
  21. package/claude-assets/commands/agents/agent-spawning.md +0 -28
  22. package/claude-assets/commands/agents/agent-types.md +0 -26
  23. package/claude-assets/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +0 -54
  24. package/claude-assets/commands/analysis/README.md +0 -9
  25. package/claude-assets/commands/analysis/bottleneck-detect.md +0 -162
  26. package/claude-assets/commands/analysis/performance-bottlenecks.md +0 -59
  27. package/claude-assets/commands/analysis/performance-report.md +0 -25
  28. package/claude-assets/commands/analysis/token-efficiency.md +0 -45
  29. package/claude-assets/commands/analysis/token-usage.md +0 -25
  30. package/claude-assets/commands/automation/README.md +0 -9
  31. package/claude-assets/commands/automation/auto-agent.md +0 -122
  32. package/claude-assets/commands/automation/self-healing.md +0 -106
  33. package/claude-assets/commands/automation/session-memory.md +0 -90
  34. package/claude-assets/commands/automation/smart-agents.md +0 -73
  35. package/claude-assets/commands/automation/smart-spawn.md +0 -25
  36. package/claude-assets/commands/automation/workflow-select.md +0 -25
  37. package/claude-assets/commands/claude-md.js +0 -237
  38. package/claude-assets/commands/claude-soul.js +0 -28
  39. package/claude-assets/commands/cli-integration.js +0 -216
  40. package/claude-assets/commands/coordination/README.md +0 -9
  41. package/claude-assets/commands/coordination/agent-spawn.md +0 -25
  42. package/claude-assets/commands/coordination/coordination-system.md +0 -88
  43. package/claude-assets/commands/coordination/init.md +0 -44
  44. package/claude-assets/commands/coordination/orchestrate.md +0 -43
  45. package/claude-assets/commands/coordination/spawn.md +0 -45
  46. package/claude-assets/commands/coordination/swarm-init.md +0 -85
  47. package/claude-assets/commands/coordination/task-orchestrate.md +0 -25
  48. package/claude-assets/commands/github/README.md +0 -11
  49. package/claude-assets/commands/github/code-review-swarm.md +0 -514
  50. package/claude-assets/commands/github/code-review.md +0 -25
  51. package/claude-assets/commands/github/github-modes.md +0 -147
  52. package/claude-assets/commands/github/github-swarm.md +0 -121
  53. package/claude-assets/commands/github/issue-tracker.md +0 -292
  54. package/claude-assets/commands/github/issue-triage.md +0 -25
  55. package/claude-assets/commands/github/multi-repo-swarm.md +0 -519
  56. package/claude-assets/commands/github/pr-enhance.md +0 -26
  57. package/claude-assets/commands/github/pr-manager.md +0 -170
  58. package/claude-assets/commands/github/project-board-sync.md +0 -471
  59. package/claude-assets/commands/github/release-manager.md +0 -338
  60. package/claude-assets/commands/github/release-swarm.md +0 -544
  61. package/claude-assets/commands/github/repo-analyze.md +0 -25
  62. package/claude-assets/commands/github/repo-architect.md +0 -367
  63. package/claude-assets/commands/github/swarm-issue.md +0 -482
  64. package/claude-assets/commands/github/swarm-pr.md +0 -285
  65. package/claude-assets/commands/github/sync-coordinator.md +0 -301
  66. package/claude-assets/commands/github/workflow-automation.md +0 -442
  67. package/claude-assets/commands/github.js +0 -638
  68. package/claude-assets/commands/hive-mind/README.md +0 -17
  69. package/claude-assets/commands/hive-mind/hive-mind-consensus.md +0 -8
  70. package/claude-assets/commands/hive-mind/hive-mind-init.md +0 -18
  71. package/claude-assets/commands/hive-mind/hive-mind-memory.md +0 -8
  72. package/claude-assets/commands/hive-mind/hive-mind-metrics.md +0 -8
  73. package/claude-assets/commands/hive-mind/hive-mind-resume.md +0 -8
  74. package/claude-assets/commands/hive-mind/hive-mind-sessions.md +0 -8
  75. package/claude-assets/commands/hive-mind/hive-mind-spawn.md +0 -21
  76. package/claude-assets/commands/hive-mind/hive-mind-status.md +0 -8
  77. package/claude-assets/commands/hive-mind/hive-mind-stop.md +0 -8
  78. package/claude-assets/commands/hive-mind/hive-mind-wizard.md +0 -8
  79. package/claude-assets/commands/hive-mind/hive-mind.md +0 -27
  80. package/claude-assets/commands/hooks/README.md +0 -11
  81. package/claude-assets/commands/hooks/overview.md +0 -58
  82. package/claude-assets/commands/hooks/post-edit.md +0 -117
  83. package/claude-assets/commands/hooks/post-task.md +0 -112
  84. package/claude-assets/commands/hooks/pre-edit.md +0 -113
  85. package/claude-assets/commands/hooks/pre-task.md +0 -111
  86. package/claude-assets/commands/hooks/session-end.md +0 -118
  87. package/claude-assets/commands/hooks/session-start.md +0 -9
  88. package/claude-assets/commands/hooks/setup.md +0 -103
  89. package/claude-assets/commands/hooks.js +0 -651
  90. package/claude-assets/commands/index.js +0 -119
  91. package/claude-assets/commands/memory/README.md +0 -9
  92. package/claude-assets/commands/memory/memory-bank.md +0 -58
  93. package/claude-assets/commands/memory/memory-persist.md +0 -25
  94. package/claude-assets/commands/memory/memory-search.md +0 -25
  95. package/claude-assets/commands/memory/memory-usage.md +0 -25
  96. package/claude-assets/commands/memory/neural.md +0 -47
  97. package/claude-assets/commands/memory/usage.md +0 -46
  98. package/claude-assets/commands/monitoring/README.md +0 -9
  99. package/claude-assets/commands/monitoring/agent-metrics.md +0 -25
  100. package/claude-assets/commands/monitoring/agents.md +0 -44
  101. package/claude-assets/commands/monitoring/real-time-view.md +0 -25
  102. package/claude-assets/commands/monitoring/status.md +0 -46
  103. package/claude-assets/commands/monitoring/swarm-monitor.md +0 -25
  104. package/claude-assets/commands/neural.js +0 -572
  105. package/claude-assets/commands/optimization/README.md +0 -9
  106. package/claude-assets/commands/optimization/auto-topology.md +0 -62
  107. package/claude-assets/commands/optimization/cache-manage.md +0 -25
  108. package/claude-assets/commands/optimization/parallel-execute.md +0 -25
  109. package/claude-assets/commands/optimization/parallel-execution.md +0 -50
  110. package/claude-assets/commands/optimization/topology-optimize.md +0 -25
  111. package/claude-assets/commands/pair/README.md +0 -261
  112. package/claude-assets/commands/pair/commands.md +0 -546
  113. package/claude-assets/commands/pair/config.md +0 -510
  114. package/claude-assets/commands/pair/examples.md +0 -512
  115. package/claude-assets/commands/pair/modes.md +0 -348
  116. package/claude-assets/commands/pair/session.md +0 -407
  117. package/claude-assets/commands/pair/start.md +0 -209
  118. package/claude-assets/commands/parse-epic.js +0 -180
  119. package/claude-assets/commands/performance.js +0 -582
  120. package/claude-assets/commands/register-all-commands.js +0 -320
  121. package/claude-assets/commands/register-claude-md.js +0 -82
  122. package/claude-assets/commands/register-claude-soul.js +0 -80
  123. package/claude-assets/commands/sparc/analyzer.md +0 -52
  124. package/claude-assets/commands/sparc/architect.md +0 -53
  125. package/claude-assets/commands/sparc/batch-executor.md +0 -54
  126. package/claude-assets/commands/sparc/coder.md +0 -54
  127. package/claude-assets/commands/sparc/debugger.md +0 -54
  128. package/claude-assets/commands/sparc/designer.md +0 -53
  129. package/claude-assets/commands/sparc/documenter.md +0 -54
  130. package/claude-assets/commands/sparc/innovator.md +0 -54
  131. package/claude-assets/commands/sparc/memory-manager.md +0 -54
  132. package/claude-assets/commands/sparc/optimizer.md +0 -54
  133. package/claude-assets/commands/sparc/orchestrator.md +0 -132
  134. package/claude-assets/commands/sparc/researcher.md +0 -54
  135. package/claude-assets/commands/sparc/reviewer.md +0 -54
  136. package/claude-assets/commands/sparc/sparc-modes.md +0 -174
  137. package/claude-assets/commands/sparc/swarm-coordinator.md +0 -54
  138. package/claude-assets/commands/sparc/tdd.md +0 -54
  139. package/claude-assets/commands/sparc/tester.md +0 -54
  140. package/claude-assets/commands/sparc/workflow-manager.md +0 -54
  141. package/claude-assets/commands/sparc.js +0 -110
  142. package/claude-assets/commands/stream-chain/pipeline.md +0 -121
  143. package/claude-assets/commands/stream-chain/run.md +0 -70
  144. package/claude-assets/commands/swarm/README.md +0 -15
  145. package/claude-assets/commands/swarm/analysis.md +0 -95
  146. package/claude-assets/commands/swarm/development.md +0 -96
  147. package/claude-assets/commands/swarm/examples.md +0 -168
  148. package/claude-assets/commands/swarm/maintenance.md +0 -102
  149. package/claude-assets/commands/swarm/optimization.md +0 -117
  150. package/claude-assets/commands/swarm/research.md +0 -136
  151. package/claude-assets/commands/swarm/swarm-analysis.md +0 -8
  152. package/claude-assets/commands/swarm/swarm-background.md +0 -8
  153. package/claude-assets/commands/swarm/swarm-init.md +0 -19
  154. package/claude-assets/commands/swarm/swarm-modes.md +0 -8
  155. package/claude-assets/commands/swarm/swarm-monitor.md +0 -8
  156. package/claude-assets/commands/swarm/swarm-spawn.md +0 -19
  157. package/claude-assets/commands/swarm/swarm-status.md +0 -8
  158. package/claude-assets/commands/swarm/swarm-strategies.md +0 -8
  159. package/claude-assets/commands/swarm/swarm.md +0 -27
  160. package/claude-assets/commands/swarm/testing.md +0 -131
  161. package/claude-assets/commands/swarm.js +0 -423
  162. package/claude-assets/commands/testing/playwright-e2e.md +0 -288
  163. package/claude-assets/commands/training/README.md +0 -9
  164. package/claude-assets/commands/training/model-update.md +0 -25
  165. package/claude-assets/commands/training/neural-patterns.md +0 -74
  166. package/claude-assets/commands/training/neural-train.md +0 -25
  167. package/claude-assets/commands/training/pattern-learn.md +0 -25
  168. package/claude-assets/commands/training/specialization.md +0 -63
  169. package/claude-assets/commands/truth/start.md +0 -143
  170. package/claude-assets/commands/validate-commands.js +0 -223
  171. package/claude-assets/commands/verify/check.md +0 -50
  172. package/claude-assets/commands/verify/start.md +0 -128
  173. package/claude-assets/commands/workflow.js +0 -606
  174. package/claude-assets/commands/workflows/README.md +0 -9
  175. package/claude-assets/commands/workflows/development.md +0 -78
  176. package/claude-assets/commands/workflows/research.md +0 -63
  177. package/claude-assets/commands/workflows/workflow-create.md +0 -25
  178. package/claude-assets/commands/workflows/workflow-execute.md +0 -25
  179. package/claude-assets/commands/workflows/workflow-export.md +0 -25
  180. package/claude-assets/hooks/post-edit.config.json +0 -23
@@ -1,338 +0,0 @@
1
- # GitHub Release Manager
2
-
3
- ## Purpose
4
- Automated release coordination and deployment with ruv-swarm orchestration for seamless version management, testing, and deployment across multiple packages.
5
-
6
- ## Capabilities
7
- - **Automated release pipelines** with comprehensive testing
8
- - **Version coordination** across multiple packages
9
- - **Deployment orchestration** with rollback capabilities
10
- - **Release documentation** generation and management
11
- - **Multi-stage validation** with swarm coordination
12
-
13
- ## Tools Available
14
- - `mcp__github__create_pull_request`
15
- - `mcp__github__merge_pull_request`
16
- - `mcp__github__create_branch`
17
- - `mcp__github__push_files`
18
- - `mcp__github__create_issue`
19
- - `mcp__claude-flow__*` (all swarm coordination tools)
20
- - `TodoWrite`, `TodoRead`, `Task`, `Bash`, `Read`, `Write`, `Edit`
21
-
22
- ## Usage Patterns
23
-
24
- ### 1. Coordinated Release Preparation
25
- ```javascript
26
- // Initialize release management swarm
27
- mcp__claude-flow__swarm_init { topology: "hierarchical", maxAgents: 6 }
28
- mcp__claude-flow__agent_spawn { type: "coordinator", name: "Release Coordinator" }
29
- mcp__claude-flow__agent_spawn { type: "tester", name: "QA Engineer" }
30
- mcp__claude-flow__agent_spawn { type: "reviewer", name: "Release Reviewer" }
31
- mcp__claude-flow__agent_spawn { type: "coder", name: "Version Manager" }
32
- mcp__claude-flow__agent_spawn { type: "analyst", name: "Deployment Analyst" }
33
-
34
- // Create release preparation branch
35
- mcp__github__create_branch {
36
- owner: "ruvnet",
37
- repo: "ruv-FANN",
38
- branch: "release/v1.0.72",
39
- from_branch: "main"
40
- }
41
-
42
- // Orchestrate release preparation
43
- mcp__claude-flow__task_orchestrate {
44
- task: "Prepare release v1.0.72 with comprehensive testing and validation",
45
- strategy: "sequential",
46
- priority: "critical"
47
- }
48
- ```
49
-
50
- ### 2. Multi-Package Version Coordination
51
- ```javascript
52
- // Update versions across packages
53
- mcp__github__push_files {
54
- owner: "ruvnet",
55
- repo: "ruv-FANN",
56
- branch: "release/v1.0.72",
57
- files: [
58
- {
59
- path: "claude-code-flow/claude-code-flow/package.json",
60
- content: JSON.stringify({
61
- name: "claude-flow",
62
- version: "1.0.72",
63
- // ... rest of package.json
64
- }, null, 2)
65
- },
66
- {
67
- path: "ruv-swarm/npm/package.json",
68
- content: JSON.stringify({
69
- name: "ruv-swarm",
70
- version: "1.0.12",
71
- // ... rest of package.json
72
- }, null, 2)
73
- },
74
- {
75
- path: "CHANGELOG.md",
76
- content: `# Changelog
77
-
78
- ## [1.0.72] - ${new Date().toISOString().split('T')[0]}
79
-
80
- ### Added
81
- - Comprehensive GitHub workflow integration
82
- - Enhanced swarm coordination capabilities
83
- - Advanced MCP tools suite
84
-
85
- ### Changed
86
- - Aligned Node.js version requirements
87
- - Improved package synchronization
88
- - Enhanced documentation structure
89
-
90
- ### Fixed
91
- - Dependency resolution issues
92
- - Integration test reliability
93
- - Memory coordination optimization`
94
- }
95
- ],
96
- message: "release: Prepare v1.0.72 with GitHub integration and swarm enhancements"
97
- }
98
- ```
99
-
100
- ### 3. Automated Release Validation
101
- ```javascript
102
- // Comprehensive release testing
103
- Bash("cd /workspaces/ruv-FANN/claude-code-flow/claude-code-flow && npm install")
104
- Bash("cd /workspaces/ruv-FANN/claude-code-flow/claude-code-flow && npm run test")
105
- Bash("cd /workspaces/ruv-FANN/claude-code-flow/claude-code-flow && npm run lint")
106
- Bash("cd /workspaces/ruv-FANN/claude-code-flow/claude-code-flow && npm run build")
107
-
108
- Bash("cd /workspaces/ruv-FANN/ruv-swarm/npm && npm install")
109
- Bash("cd /workspaces/ruv-FANN/ruv-swarm/npm && npm run test:all")
110
- Bash("cd /workspaces/ruv-FANN/ruv-swarm/npm && npm run lint")
111
-
112
- // Create release PR with validation results
113
- mcp__github__create_pull_request {
114
- owner: "ruvnet",
115
- repo: "ruv-FANN",
116
- title: "Release v1.0.72: GitHub Integration and Swarm Enhancements",
117
- head: "release/v1.0.72",
118
- base: "main",
119
- body: `## 🚀 Release v1.0.72
120
-
121
- ### 🎯 Release Highlights
122
- - **GitHub Workflow Integration**: Complete GitHub command suite with swarm coordination
123
- - **Package Synchronization**: Aligned versions and dependencies across packages
124
- - **Enhanced Documentation**: Synchronized CLAUDE.md with comprehensive integration guides
125
- - **Improved Testing**: Comprehensive integration test suite with 89% success rate
126
-
127
- ### 📦 Package Updates
128
- - **claude-flow**: v1.0.71 → v1.0.72
129
- - **ruv-swarm**: v1.0.11 → v1.0.12
130
-
131
- ### 🔧 Changes
132
- #### Added
133
- - GitHub command modes: pr-manager, issue-tracker, sync-coordinator, release-manager
134
- - Swarm-coordinated GitHub workflows
135
- - Advanced MCP tools integration
136
- - Cross-package synchronization utilities
137
-
138
- #### Changed
139
- - Node.js requirement aligned to >=20.0.0 across packages
140
- - Enhanced swarm coordination protocols
141
- - Improved package dependency management
142
- - Updated integration documentation
143
-
144
- #### Fixed
145
- - Dependency resolution issues between packages
146
- - Integration test reliability improvements
147
- - Memory coordination optimization
148
- - Documentation synchronization
149
-
150
- ### ✅ Validation Results
151
- - [x] Unit tests: All passing
152
- - [x] Integration tests: 89% success rate
153
- - [x] Lint checks: Clean
154
- - [x] Build verification: Successful
155
- - [x] Cross-package compatibility: Verified
156
- - [x] Documentation: Updated and synchronized
157
-
158
- ### 🐝 Swarm Coordination
159
- This release was coordinated using ruv-swarm agents:
160
- - **Release Coordinator**: Overall release management
161
- - **QA Engineer**: Comprehensive testing validation
162
- - **Release Reviewer**: Code quality and standards review
163
- - **Version Manager**: Package version coordination
164
- - **Deployment Analyst**: Release deployment validation
165
-
166
- ### 🎁 Ready for Deployment
167
- This release is production-ready with comprehensive validation and testing.
168
-
169
- ---
170
- 🤖 Generated with Claude Code using ruv-swarm coordination`
171
- }
172
- ```
173
-
174
- ## Batch Release Workflow
175
-
176
- ### Complete Release Pipeline:
177
- ```javascript
178
- [Single Message - Complete Release Management]:
179
- // Initialize comprehensive release swarm
180
- mcp__claude-flow__swarm_init { topology: "star", maxAgents: 8 }
181
- mcp__claude-flow__agent_spawn { type: "coordinator", name: "Release Director" }
182
- mcp__claude-flow__agent_spawn { type: "tester", name: "QA Lead" }
183
- mcp__claude-flow__agent_spawn { type: "reviewer", name: "Senior Reviewer" }
184
- mcp__claude-flow__agent_spawn { type: "coder", name: "Version Controller" }
185
- mcp__claude-flow__agent_spawn { type: "analyst", name: "Performance Analyst" }
186
- mcp__claude-flow__agent_spawn { type: "researcher", name: "Compatibility Checker" }
187
-
188
- // Create release branch and prepare files using gh CLI
189
- Bash("gh api repos/:owner/:repo/git/refs --method POST -f ref='refs/heads/release/v1.0.72' -f sha=$(gh api repos/:owner/:repo/git/refs/heads/main --jq '.object.sha')")
190
-
191
- // Clone and update release files
192
- Bash("gh repo clone :owner/:repo /tmp/release-v1.0.72 -- --branch release/v1.0.72 --depth=1")
193
-
194
- // Update all release-related files
195
- Write("/tmp/release-v1.0.72/claude-code-flow/claude-code-flow/package.json", "[updated package.json]")
196
- Write("/tmp/release-v1.0.72/ruv-swarm/npm/package.json", "[updated package.json]")
197
- Write("/tmp/release-v1.0.72/CHANGELOG.md", "[release changelog]")
198
- Write("/tmp/release-v1.0.72/RELEASE_NOTES.md", "[detailed release notes]")
199
-
200
- Bash("cd /tmp/release-v1.0.72 && git add -A && git commit -m 'release: Prepare v1.0.72 with comprehensive updates' && git push")
201
-
202
- // Run comprehensive validation
203
- Bash("cd /workspaces/ruv-FANN/claude-code-flow/claude-code-flow && npm install && npm test && npm run lint && npm run build")
204
- Bash("cd /workspaces/ruv-FANN/ruv-swarm/npm && npm install && npm run test:all && npm run lint")
205
-
206
- // Create release PR using gh CLI
207
- Bash(`gh pr create \
208
- --repo :owner/:repo \
209
- --title "Release v1.0.72: GitHub Integration and Swarm Enhancements" \
210
- --head "release/v1.0.72" \
211
- --base "main" \
212
- --body "[comprehensive release description]"`)
213
-
214
-
215
- // Track release progress
216
- TodoWrite { todos: [
217
- { id: "rel-prep", content: "Prepare release branch and files", status: "completed", priority: "critical" },
218
- { id: "rel-test", content: "Run comprehensive test suite", status: "completed", priority: "critical" },
219
- { id: "rel-pr", content: "Create release pull request", status: "completed", priority: "high" },
220
- { id: "rel-review", content: "Code review and approval", status: "pending", priority: "high" },
221
- { id: "rel-merge", content: "Merge and deploy release", status: "pending", priority: "critical" }
222
- ]}
223
-
224
- // Store release state
225
- mcp__claude-flow__memory_usage {
226
- action: "store",
227
- key: "release/v1.0.72/status",
228
- value: {
229
- timestamp: Date.now(),
230
- version: "1.0.72",
231
- stage: "validation_complete",
232
- packages: ["claude-flow", "ruv-swarm"],
233
- validation_passed: true,
234
- ready_for_review: true
235
- }
236
- }
237
- ```
238
-
239
- ## Release Strategies
240
-
241
- ### 1. **Semantic Versioning Strategy**
242
- ```javascript
243
- const versionStrategy = {
244
- major: "Breaking changes or architecture overhauls",
245
- minor: "New features, GitHub integration, swarm enhancements",
246
- patch: "Bug fixes, documentation updates, dependency updates",
247
- coordination: "Cross-package version alignment"
248
- }
249
- ```
250
-
251
- ### 2. **Multi-Stage Validation**
252
- ```javascript
253
- const validationStages = [
254
- "unit_tests", // Individual package testing
255
- "integration_tests", // Cross-package integration
256
- "performance_tests", // Performance regression detection
257
- "compatibility_tests", // Version compatibility validation
258
- "documentation_tests", // Documentation accuracy verification
259
- "deployment_tests" // Deployment simulation
260
- ]
261
- ```
262
-
263
- ### 3. **Rollback Strategy**
264
- ```javascript
265
- const rollbackPlan = {
266
- triggers: ["test_failures", "deployment_issues", "critical_bugs"],
267
- automatic: ["failed_tests", "build_failures"],
268
- manual: ["user_reported_issues", "performance_degradation"],
269
- recovery: "Previous stable version restoration"
270
- }
271
- ```
272
-
273
- ## Best Practices
274
-
275
- ### 1. **Comprehensive Testing**
276
- - Multi-package test coordination
277
- - Integration test validation
278
- - Performance regression detection
279
- - Security vulnerability scanning
280
-
281
- ### 2. **Documentation Management**
282
- - Automated changelog generation
283
- - Release notes with detailed changes
284
- - Migration guides for breaking changes
285
- - API documentation updates
286
-
287
- ### 3. **Deployment Coordination**
288
- - Staged deployment with validation
289
- - Rollback mechanisms and procedures
290
- - Performance monitoring during deployment
291
- - User communication and notifications
292
-
293
- ### 4. **Version Management**
294
- - Semantic versioning compliance
295
- - Cross-package version coordination
296
- - Dependency compatibility validation
297
- - Breaking change documentation
298
-
299
- ## Integration with CI/CD
300
-
301
- ### GitHub Actions Integration:
302
- ```yaml
303
- name: Release Management
304
- on:
305
- pull_request:
306
- branches: [main]
307
- paths: ['**/package.json', 'CHANGELOG.md']
308
-
309
- jobs:
310
- release-validation:
311
- runs-on: ubuntu-latest
312
- steps:
313
- - uses: actions/checkout@v3
314
- - name: Setup Node.js
315
- uses: actions/setup-node@v3
316
- with:
317
- node-version: '20'
318
- - name: Install and Test
319
- run: |
320
- cd claude-code-flow/claude-code-flow && npm install && npm test
321
- cd ../../ruv-swarm/npm && npm install && npm test:all
322
- - name: Validate Release
323
- run: npx claude-flow-novice release validate
324
- ```
325
-
326
- ## Monitoring and Metrics
327
-
328
- ### Release Quality Metrics:
329
- - Test coverage percentage
330
- - Integration success rate
331
- - Deployment time metrics
332
- - Rollback frequency
333
-
334
- ### Automated Monitoring:
335
- - Performance regression detection
336
- - Error rate monitoring
337
- - User adoption metrics
338
- - Feedback collection and analysis