@claude-flow/cli 3.0.0-alpha.35 → 3.0.0-alpha.36
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/core/coder.md +67 -30
- package/.claude/agents/core/planner.md +72 -34
- package/.claude/agents/core/researcher.md +68 -30
- package/.claude/agents/core/reviewer.md +70 -33
- package/.claude/agents/core/tester.md +64 -28
- package/.claude/agents/github/code-review-swarm.md +2 -2
- package/.claude/agents/github/multi-repo-swarm.md +23 -23
- package/.claude/agents/github/project-board-sync.md +28 -28
- package/.claude/agents/github/release-swarm.md +32 -32
- package/.claude/agents/github/repo-architect.md +7 -7
- package/.claude/agents/github/swarm-issue.md +26 -26
- package/.claude/agents/github/swarm-pr.md +18 -18
- package/.claude/agents/github/workflow-automation.md +26 -26
- package/.claude/agents/sona/sona-learning-optimizer.md +153 -395
- package/.claude/agents/v3/adr-architect.md +184 -0
- package/.claude/agents/v3/claims-authorizer.md +208 -0
- package/.claude/agents/v3/collective-intelligence-coordinator.md +993 -0
- package/.claude/agents/v3/ddd-domain-expert.md +220 -0
- package/.claude/agents/v3/memory-specialist.md +995 -0
- package/.claude/agents/v3/performance-engineer.md +1233 -0
- package/.claude/agents/v3/reasoningbank-learner.md +213 -0
- package/.claude/agents/v3/security-architect.md +867 -0
- package/.claude/agents/v3/security-auditor.md +771 -0
- package/.claude/agents/v3/sparc-orchestrator.md +182 -0
- package/.claude/agents/v3/swarm-memory-manager.md +157 -0
- package/.claude/agents/v3/v3-integration-architect.md +205 -0
- package/dist/src/init/executor.d.ts.map +1 -1
- package/dist/src/init/executor.js +25 -0
- package/dist/src/init/executor.js.map +1 -1
- package/dist/src/init/settings-generator.d.ts.map +1 -1
- package/dist/src/init/settings-generator.js +9 -7
- package/dist/src/init/settings-generator.js.map +1 -1
- package/dist/src/init/types.d.ts +6 -0
- package/dist/src/init/types.d.ts.map +1 -1
- package/dist/src/init/types.js +6 -0
- package/dist/src/init/types.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -51,7 +51,7 @@ PROJECT_ID=$(gh project list --owner @me --format json | \
|
|
|
51
51
|
jq -r '.projects[] | select(.title == "Development Board") | .id')
|
|
52
52
|
|
|
53
53
|
# Initialize swarm with project
|
|
54
|
-
npx
|
|
54
|
+
npx claude-flow@v3alpha github board-init \
|
|
55
55
|
--project-id "$PROJECT_ID" \
|
|
56
56
|
--sync-mode "bidirectional" \
|
|
57
57
|
--create-views "swarm-status,agent-workload,priority"
|
|
@@ -66,7 +66,7 @@ gh project field-create $PROJECT_ID --owner @me \
|
|
|
66
66
|
### 2. Task Synchronization
|
|
67
67
|
```bash
|
|
68
68
|
# Sync swarm tasks with project cards
|
|
69
|
-
npx
|
|
69
|
+
npx claude-flow@v3alpha github board-sync \
|
|
70
70
|
--map-status '{
|
|
71
71
|
"todo": "To Do",
|
|
72
72
|
"in_progress": "In Progress",
|
|
@@ -80,7 +80,7 @@ npx ruv-swarm github board-sync \
|
|
|
80
80
|
### 3. Real-time Updates
|
|
81
81
|
```bash
|
|
82
82
|
# Enable real-time board updates
|
|
83
|
-
npx
|
|
83
|
+
npx claude-flow@v3alpha github board-realtime \
|
|
84
84
|
--webhook-endpoint "https://api.example.com/github-sync" \
|
|
85
85
|
--update-frequency "immediate" \
|
|
86
86
|
--batch-updates false
|
|
@@ -168,7 +168,7 @@ mapping:
|
|
|
168
168
|
### 1. Auto-Assignment
|
|
169
169
|
```bash
|
|
170
170
|
# Automatically assign cards to agents
|
|
171
|
-
npx
|
|
171
|
+
npx claude-flow@v3alpha github board-auto-assign \
|
|
172
172
|
--strategy "load-balanced" \
|
|
173
173
|
--consider "expertise,workload,availability" \
|
|
174
174
|
--update-cards
|
|
@@ -177,7 +177,7 @@ npx ruv-swarm github board-auto-assign \
|
|
|
177
177
|
### 2. Progress Tracking
|
|
178
178
|
```bash
|
|
179
179
|
# Track and visualize progress
|
|
180
|
-
npx
|
|
180
|
+
npx claude-flow@v3alpha github board-progress \
|
|
181
181
|
--show "burndown,velocity,cycle-time" \
|
|
182
182
|
--time-period "sprint" \
|
|
183
183
|
--export-metrics
|
|
@@ -186,7 +186,7 @@ npx ruv-swarm github board-progress \
|
|
|
186
186
|
### 3. Smart Card Movement
|
|
187
187
|
```bash
|
|
188
188
|
# Intelligent card state transitions
|
|
189
|
-
npx
|
|
189
|
+
npx claude-flow@v3alpha github board-smart-move \
|
|
190
190
|
--rules '{
|
|
191
191
|
"auto-progress": "when:all-subtasks-done",
|
|
192
192
|
"auto-review": "when:tests-pass",
|
|
@@ -208,7 +208,7 @@ echo "$ISSUES" | jq -r '.[].number' | while read -r issue; do
|
|
|
208
208
|
done
|
|
209
209
|
|
|
210
210
|
# Process with swarm
|
|
211
|
-
npx
|
|
211
|
+
npx claude-flow@v3alpha github board-import-issues \
|
|
212
212
|
--issues "$ISSUES" \
|
|
213
213
|
--add-to-column "Backlog" \
|
|
214
214
|
--parse-checklist \
|
|
@@ -218,7 +218,7 @@ npx ruv-swarm github board-import-issues \
|
|
|
218
218
|
### Bulk Operations
|
|
219
219
|
```bash
|
|
220
220
|
# Bulk card operations
|
|
221
|
-
npx
|
|
221
|
+
npx claude-flow@v3alpha github board-bulk \
|
|
222
222
|
--filter "status:blocked" \
|
|
223
223
|
--action "add-label:needs-attention" \
|
|
224
224
|
--notify-assignees
|
|
@@ -227,7 +227,7 @@ npx ruv-swarm github board-bulk \
|
|
|
227
227
|
### Card Templates
|
|
228
228
|
```bash
|
|
229
229
|
# Create cards from templates
|
|
230
|
-
npx
|
|
230
|
+
npx claude-flow@v3alpha github board-template \
|
|
231
231
|
--template "feature-development" \
|
|
232
232
|
--variables '{
|
|
233
233
|
"feature": "User Authentication",
|
|
@@ -242,7 +242,7 @@ npx ruv-swarm github board-template \
|
|
|
242
242
|
### 1. Multi-Board Sync
|
|
243
243
|
```bash
|
|
244
244
|
# Sync across multiple boards
|
|
245
|
-
npx
|
|
245
|
+
npx claude-flow@v3alpha github multi-board-sync \
|
|
246
246
|
--boards "Development,QA,Release" \
|
|
247
247
|
--sync-rules '{
|
|
248
248
|
"Development->QA": "when:ready-for-test",
|
|
@@ -253,7 +253,7 @@ npx ruv-swarm github multi-board-sync \
|
|
|
253
253
|
### 2. Cross-Organization Sync
|
|
254
254
|
```bash
|
|
255
255
|
# Sync boards across organizations
|
|
256
|
-
npx
|
|
256
|
+
npx claude-flow@v3alpha github cross-org-sync \
|
|
257
257
|
--source "org1/Project-A" \
|
|
258
258
|
--target "org2/Project-B" \
|
|
259
259
|
--field-mapping "custom" \
|
|
@@ -263,7 +263,7 @@ npx ruv-swarm github cross-org-sync \
|
|
|
263
263
|
### 3. External Tool Integration
|
|
264
264
|
```bash
|
|
265
265
|
# Sync with external tools
|
|
266
|
-
npx
|
|
266
|
+
npx claude-flow@v3alpha github board-integrate \
|
|
267
267
|
--tool "jira" \
|
|
268
268
|
--mapping "bidirectional" \
|
|
269
269
|
--sync-frequency "5m" \
|
|
@@ -286,7 +286,7 @@ ISSUE_METRICS=$(echo "$PROJECT_DATA" | jq -r '.items[] | select(.content.type ==
|
|
|
286
286
|
done)
|
|
287
287
|
|
|
288
288
|
# Generate analytics with swarm
|
|
289
|
-
npx
|
|
289
|
+
npx claude-flow@v3alpha github board-analytics \
|
|
290
290
|
--project-data "$PROJECT_DATA" \
|
|
291
291
|
--issue-metrics "$ISSUE_METRICS" \
|
|
292
292
|
--metrics "throughput,cycle-time,wip" \
|
|
@@ -326,7 +326,7 @@ npx ruv-swarm github board-analytics \
|
|
|
326
326
|
### Reports
|
|
327
327
|
```bash
|
|
328
328
|
# Generate reports
|
|
329
|
-
npx
|
|
329
|
+
npx claude-flow@v3alpha github board-report \
|
|
330
330
|
--type "sprint-summary" \
|
|
331
331
|
--format "markdown" \
|
|
332
332
|
--include "velocity,burndown,blockers" \
|
|
@@ -338,7 +338,7 @@ npx ruv-swarm github board-report \
|
|
|
338
338
|
### Sprint Management
|
|
339
339
|
```bash
|
|
340
340
|
# Manage sprints with swarms
|
|
341
|
-
npx
|
|
341
|
+
npx claude-flow@v3alpha github sprint-manage \
|
|
342
342
|
--sprint "Sprint 23" \
|
|
343
343
|
--auto-populate \
|
|
344
344
|
--capacity-planning \
|
|
@@ -348,7 +348,7 @@ npx ruv-swarm github sprint-manage \
|
|
|
348
348
|
### Milestone Tracking
|
|
349
349
|
```bash
|
|
350
350
|
# Track milestone progress
|
|
351
|
-
npx
|
|
351
|
+
npx claude-flow@v3alpha github milestone-track \
|
|
352
352
|
--milestone "v2.0 Release" \
|
|
353
353
|
--update-board \
|
|
354
354
|
--show-dependencies \
|
|
@@ -358,7 +358,7 @@ npx ruv-swarm github milestone-track \
|
|
|
358
358
|
### Release Planning
|
|
359
359
|
```bash
|
|
360
360
|
# Plan releases using board data
|
|
361
|
-
npx
|
|
361
|
+
npx claude-flow@v3alpha github release-plan-board \
|
|
362
362
|
--analyze-velocity \
|
|
363
363
|
--estimate-completion \
|
|
364
364
|
--identify-risks \
|
|
@@ -370,7 +370,7 @@ npx ruv-swarm github release-plan-board \
|
|
|
370
370
|
### Work Distribution
|
|
371
371
|
```bash
|
|
372
372
|
# Distribute work among team
|
|
373
|
-
npx
|
|
373
|
+
npx claude-flow@v3alpha github board-distribute \
|
|
374
374
|
--strategy "skills-based" \
|
|
375
375
|
--balance-workload \
|
|
376
376
|
--respect-preferences \
|
|
@@ -380,7 +380,7 @@ npx ruv-swarm github board-distribute \
|
|
|
380
380
|
### Standup Automation
|
|
381
381
|
```bash
|
|
382
382
|
# Generate standup reports
|
|
383
|
-
npx
|
|
383
|
+
npx claude-flow@v3alpha github standup-report \
|
|
384
384
|
--team "frontend" \
|
|
385
385
|
--include "yesterday,today,blockers" \
|
|
386
386
|
--format "slack" \
|
|
@@ -390,7 +390,7 @@ npx ruv-swarm github standup-report \
|
|
|
390
390
|
### Review Coordination
|
|
391
391
|
```bash
|
|
392
392
|
# Coordinate reviews via board
|
|
393
|
-
npx
|
|
393
|
+
npx claude-flow@v3alpha github review-coordinate \
|
|
394
394
|
--board "Code Review" \
|
|
395
395
|
--assign-reviewers \
|
|
396
396
|
--track-feedback \
|
|
@@ -422,7 +422,7 @@ npx ruv-swarm github review-coordinate \
|
|
|
422
422
|
### Sync Issues
|
|
423
423
|
```bash
|
|
424
424
|
# Diagnose sync problems
|
|
425
|
-
npx
|
|
425
|
+
npx claude-flow@v3alpha github board-diagnose \
|
|
426
426
|
--check "permissions,webhooks,rate-limits" \
|
|
427
427
|
--test-sync \
|
|
428
428
|
--show-conflicts
|
|
@@ -431,7 +431,7 @@ npx ruv-swarm github board-diagnose \
|
|
|
431
431
|
### Performance
|
|
432
432
|
```bash
|
|
433
433
|
# Optimize board performance
|
|
434
|
-
npx
|
|
434
|
+
npx claude-flow@v3alpha github board-optimize \
|
|
435
435
|
--analyze-size \
|
|
436
436
|
--archive-completed \
|
|
437
437
|
--index-fields \
|
|
@@ -441,7 +441,7 @@ npx ruv-swarm github board-optimize \
|
|
|
441
441
|
### Data Recovery
|
|
442
442
|
```bash
|
|
443
443
|
# Recover board data
|
|
444
|
-
npx
|
|
444
|
+
npx claude-flow@v3alpha github board-recover \
|
|
445
445
|
--backup-id "2024-01-15" \
|
|
446
446
|
--restore-cards \
|
|
447
447
|
--preserve-current \
|
|
@@ -453,7 +453,7 @@ npx ruv-swarm github board-recover \
|
|
|
453
453
|
### Agile Development Board
|
|
454
454
|
```bash
|
|
455
455
|
# Setup agile board
|
|
456
|
-
npx
|
|
456
|
+
npx claude-flow@v3alpha github agile-board \
|
|
457
457
|
--methodology "scrum" \
|
|
458
458
|
--sprint-length "2w" \
|
|
459
459
|
--ceremonies "planning,review,retro" \
|
|
@@ -463,7 +463,7 @@ npx ruv-swarm github agile-board \
|
|
|
463
463
|
### Kanban Flow Board
|
|
464
464
|
```bash
|
|
465
465
|
# Setup kanban board
|
|
466
|
-
npx
|
|
466
|
+
npx claude-flow@v3alpha github kanban-board \
|
|
467
467
|
--wip-limits '{
|
|
468
468
|
"In Progress": 5,
|
|
469
469
|
"Review": 3
|
|
@@ -475,7 +475,7 @@ npx ruv-swarm github kanban-board \
|
|
|
475
475
|
### Research Project Board
|
|
476
476
|
```bash
|
|
477
477
|
# Setup research board
|
|
478
|
-
npx
|
|
478
|
+
npx claude-flow@v3alpha github research-board \
|
|
479
479
|
--phases "ideation,research,experiment,analysis,publish" \
|
|
480
480
|
--track-citations \
|
|
481
481
|
--collaborate-external
|
|
@@ -486,7 +486,7 @@ npx ruv-swarm github research-board \
|
|
|
486
486
|
### Performance Metrics
|
|
487
487
|
```bash
|
|
488
488
|
# Track board performance
|
|
489
|
-
npx
|
|
489
|
+
npx claude-flow@v3alpha github board-kpis \
|
|
490
490
|
--metrics '[
|
|
491
491
|
"average-cycle-time",
|
|
492
492
|
"throughput-per-sprint",
|
|
@@ -499,7 +499,7 @@ npx ruv-swarm github board-kpis \
|
|
|
499
499
|
### Team Metrics
|
|
500
500
|
```bash
|
|
501
501
|
# Track team performance
|
|
502
|
-
npx
|
|
502
|
+
npx claude-flow@v3alpha github team-metrics \
|
|
503
503
|
--board "Development" \
|
|
504
504
|
--per-member \
|
|
505
505
|
--include "velocity,quality,collaboration" \
|
|
@@ -25,16 +25,16 @@ tools:
|
|
|
25
25
|
hooks:
|
|
26
26
|
pre_task: |
|
|
27
27
|
echo "🐝 Initializing release swarm coordination..."
|
|
28
|
-
npx
|
|
28
|
+
npx claude-flow@v3alpha hook pre-task --mode release-swarm --init-swarm
|
|
29
29
|
post_edit: |
|
|
30
30
|
echo "🔄 Synchronizing release swarm state and validating changes..."
|
|
31
|
-
npx
|
|
31
|
+
npx claude-flow@v3alpha hook post-edit --mode release-swarm --sync-swarm
|
|
32
32
|
post_task: |
|
|
33
33
|
echo "🎯 Release swarm task completed. Coordinating final deployment..."
|
|
34
|
-
npx
|
|
34
|
+
npx claude-flow@v3alpha hook post-task --mode release-swarm --finalize-release
|
|
35
35
|
notification: |
|
|
36
36
|
echo "📡 Broadcasting release completion across all swarm agents..."
|
|
37
|
-
npx
|
|
37
|
+
npx claude-flow@v3alpha hook notification --mode release-swarm --broadcast
|
|
38
38
|
---
|
|
39
39
|
|
|
40
40
|
# Release Swarm - Intelligent Release Automation
|
|
@@ -56,7 +56,7 @@ MERGED_PRS=$(gh pr list --state merged --base main --json number,title,labels,me
|
|
|
56
56
|
--jq ".[] | select(.mergedAt > \"$(gh release view $LAST_TAG --json publishedAt -q .publishedAt)\")")
|
|
57
57
|
|
|
58
58
|
# Plan release with commit analysis
|
|
59
|
-
npx
|
|
59
|
+
npx claude-flow@v3alpha github release-plan \
|
|
60
60
|
--commits "$COMMITS" \
|
|
61
61
|
--merged-prs "$MERGED_PRS" \
|
|
62
62
|
--analyze-commits \
|
|
@@ -68,7 +68,7 @@ npx ruv-swarm github release-plan \
|
|
|
68
68
|
### 2. Automated Versioning
|
|
69
69
|
```bash
|
|
70
70
|
# Smart version bumping
|
|
71
|
-
npx
|
|
71
|
+
npx claude-flow@v3alpha github release-version \
|
|
72
72
|
--strategy "semantic" \
|
|
73
73
|
--analyze-changes \
|
|
74
74
|
--check-breaking \
|
|
@@ -81,7 +81,7 @@ npx ruv-swarm github release-version \
|
|
|
81
81
|
# Generate changelog from PRs and commits
|
|
82
82
|
CHANGELOG=$(gh api repos/:owner/:repo/compare/${LAST_TAG}...HEAD \
|
|
83
83
|
--jq '.commits[].commit.message' | \
|
|
84
|
-
npx
|
|
84
|
+
npx claude-flow@v3alpha github generate-changelog)
|
|
85
85
|
|
|
86
86
|
# Create release draft
|
|
87
87
|
gh release create v2.0.0 \
|
|
@@ -91,7 +91,7 @@ gh release create v2.0.0 \
|
|
|
91
91
|
--target main
|
|
92
92
|
|
|
93
93
|
# Run release orchestration
|
|
94
|
-
npx
|
|
94
|
+
npx claude-flow@v3alpha github release-create \
|
|
95
95
|
--version "2.0.0" \
|
|
96
96
|
--changelog "$CHANGELOG" \
|
|
97
97
|
--build-artifacts \
|
|
@@ -173,7 +173,7 @@ COMMITS=$(gh api repos/:owner/:repo/compare/v1.0.0...HEAD \
|
|
|
173
173
|
--jq '.commits[].commit.message')
|
|
174
174
|
|
|
175
175
|
# Generate categorized changelog
|
|
176
|
-
CHANGELOG=$(npx
|
|
176
|
+
CHANGELOG=$(npx claude-flow@v3alpha github changelog \
|
|
177
177
|
--prs "$PRS" \
|
|
178
178
|
--commits "$COMMITS" \
|
|
179
179
|
--contributors "$CONTRIBUTORS" \
|
|
@@ -202,7 +202,7 @@ gh pr create \
|
|
|
202
202
|
### Version Agent
|
|
203
203
|
```bash
|
|
204
204
|
# Determine next version
|
|
205
|
-
npx
|
|
205
|
+
npx claude-flow@v3alpha github version-suggest \
|
|
206
206
|
--current v1.2.3 \
|
|
207
207
|
--analyze-commits \
|
|
208
208
|
--check-compatibility \
|
|
@@ -219,7 +219,7 @@ npx ruv-swarm github version-suggest \
|
|
|
219
219
|
### Build Agent
|
|
220
220
|
```bash
|
|
221
221
|
# Coordinate multi-platform builds
|
|
222
|
-
npx
|
|
222
|
+
npx claude-flow@v3alpha github release-build \
|
|
223
223
|
--platforms "linux,macos,windows" \
|
|
224
224
|
--architectures "x64,arm64" \
|
|
225
225
|
--parallel \
|
|
@@ -236,7 +236,7 @@ npx ruv-swarm github release-build \
|
|
|
236
236
|
### Test Agent
|
|
237
237
|
```bash
|
|
238
238
|
# Pre-release testing
|
|
239
|
-
npx
|
|
239
|
+
npx claude-flow@v3alpha github release-test \
|
|
240
240
|
--suites "unit,integration,e2e,performance" \
|
|
241
241
|
--environments "node:16,node:18,node:20" \
|
|
242
242
|
--fail-fast false \
|
|
@@ -246,7 +246,7 @@ npx ruv-swarm github release-test \
|
|
|
246
246
|
### Deploy Agent
|
|
247
247
|
```bash
|
|
248
248
|
# Multi-target deployment
|
|
249
|
-
npx
|
|
249
|
+
npx claude-flow@v3alpha github release-deploy \
|
|
250
250
|
--targets "npm,docker,github,s3" \
|
|
251
251
|
--staged-rollout \
|
|
252
252
|
--monitor-metrics \
|
|
@@ -281,7 +281,7 @@ deployment:
|
|
|
281
281
|
### 2. Multi-Repo Releases
|
|
282
282
|
```bash
|
|
283
283
|
# Coordinate releases across repos
|
|
284
|
-
npx
|
|
284
|
+
npx claude-flow@v3alpha github multi-release \
|
|
285
285
|
--repos "frontend:v2.0.0,backend:v2.1.0,cli:v1.5.0" \
|
|
286
286
|
--ensure-compatibility \
|
|
287
287
|
--atomic-release \
|
|
@@ -291,7 +291,7 @@ npx ruv-swarm github multi-release \
|
|
|
291
291
|
### 3. Hotfix Automation
|
|
292
292
|
```bash
|
|
293
293
|
# Emergency hotfix process
|
|
294
|
-
npx
|
|
294
|
+
npx claude-flow@v3alpha github hotfix \
|
|
295
295
|
--issue 789 \
|
|
296
296
|
--target-version v1.2.4 \
|
|
297
297
|
--cherry-pick-commits \
|
|
@@ -329,7 +329,7 @@ jobs:
|
|
|
329
329
|
PRS=$(gh pr list --state merged --base main --json number,title,labels,author \
|
|
330
330
|
--search "merged:>=$(gh release view $PREV_TAG --json publishedAt -q .publishedAt)")
|
|
331
331
|
|
|
332
|
-
npx
|
|
332
|
+
npx claude-flow@v3alpha github release-init \
|
|
333
333
|
--tag $RELEASE_TAG \
|
|
334
334
|
--previous-tag $PREV_TAG \
|
|
335
335
|
--prs "$PRS" \
|
|
@@ -338,7 +338,7 @@ jobs:
|
|
|
338
338
|
- name: Generate Release Assets
|
|
339
339
|
run: |
|
|
340
340
|
# Generate changelog from PR data
|
|
341
|
-
CHANGELOG=$(npx
|
|
341
|
+
CHANGELOG=$(npx claude-flow@v3alpha github release-changelog \
|
|
342
342
|
--format markdown)
|
|
343
343
|
|
|
344
344
|
# Update release notes
|
|
@@ -346,7 +346,7 @@ jobs:
|
|
|
346
346
|
--notes "$CHANGELOG"
|
|
347
347
|
|
|
348
348
|
# Generate and upload assets
|
|
349
|
-
npx
|
|
349
|
+
npx claude-flow@v3alpha github release-assets \
|
|
350
350
|
--changelog \
|
|
351
351
|
--binaries \
|
|
352
352
|
--documentation
|
|
@@ -361,7 +361,7 @@ jobs:
|
|
|
361
361
|
- name: Publish Release
|
|
362
362
|
run: |
|
|
363
363
|
# Publish to package registries
|
|
364
|
-
npx
|
|
364
|
+
npx claude-flow@v3alpha github release-publish \
|
|
365
365
|
--platforms all
|
|
366
366
|
|
|
367
367
|
# Create announcement issue
|
|
@@ -374,7 +374,7 @@ jobs:
|
|
|
374
374
|
### Continuous Deployment
|
|
375
375
|
```bash
|
|
376
376
|
# Automated deployment pipeline
|
|
377
|
-
npx
|
|
377
|
+
npx claude-flow@v3alpha github cd-pipeline \
|
|
378
378
|
--trigger "merge-to-main" \
|
|
379
379
|
--auto-version \
|
|
380
380
|
--deploy-on-success \
|
|
@@ -386,7 +386,7 @@ npx ruv-swarm github cd-pipeline \
|
|
|
386
386
|
### Pre-Release Checks
|
|
387
387
|
```bash
|
|
388
388
|
# Comprehensive validation
|
|
389
|
-
npx
|
|
389
|
+
npx claude-flow@v3alpha github release-validate \
|
|
390
390
|
--checks "
|
|
391
391
|
version-conflicts,
|
|
392
392
|
dependency-compatibility,
|
|
@@ -401,7 +401,7 @@ npx ruv-swarm github release-validate \
|
|
|
401
401
|
### Compatibility Testing
|
|
402
402
|
```bash
|
|
403
403
|
# Test backward compatibility
|
|
404
|
-
npx
|
|
404
|
+
npx claude-flow@v3alpha github compat-test \
|
|
405
405
|
--previous-versions "v1.0,v1.1,v1.2" \
|
|
406
406
|
--api-contracts \
|
|
407
407
|
--data-migrations \
|
|
@@ -411,7 +411,7 @@ npx ruv-swarm github compat-test \
|
|
|
411
411
|
### Security Scanning
|
|
412
412
|
```bash
|
|
413
413
|
# Security validation
|
|
414
|
-
npx
|
|
414
|
+
npx claude-flow@v3alpha github release-security \
|
|
415
415
|
--scan-dependencies \
|
|
416
416
|
--check-secrets \
|
|
417
417
|
--audit-permissions \
|
|
@@ -423,7 +423,7 @@ npx ruv-swarm github release-security \
|
|
|
423
423
|
### Release Monitoring
|
|
424
424
|
```bash
|
|
425
425
|
# Monitor release health
|
|
426
|
-
npx
|
|
426
|
+
npx claude-flow@v3alpha github release-monitor \
|
|
427
427
|
--version v2.0.0 \
|
|
428
428
|
--metrics "error-rate,latency,throughput" \
|
|
429
429
|
--alert-thresholds \
|
|
@@ -433,7 +433,7 @@ npx ruv-swarm github release-monitor \
|
|
|
433
433
|
### Automated Rollback
|
|
434
434
|
```bash
|
|
435
435
|
# Configure auto-rollback
|
|
436
|
-
npx
|
|
436
|
+
npx claude-flow@v3alpha github rollback-config \
|
|
437
437
|
--triggers '{
|
|
438
438
|
"error-rate": ">5%",
|
|
439
439
|
"latency-p99": ">1000ms",
|
|
@@ -446,7 +446,7 @@ npx ruv-swarm github rollback-config \
|
|
|
446
446
|
### Release Analytics
|
|
447
447
|
```bash
|
|
448
448
|
# Analyze release performance
|
|
449
|
-
npx
|
|
449
|
+
npx claude-flow@v3alpha github release-analytics \
|
|
450
450
|
--version v2.0.0 \
|
|
451
451
|
--compare-with v1.9.0 \
|
|
452
452
|
--metrics "adoption,performance,stability" \
|
|
@@ -458,7 +458,7 @@ npx ruv-swarm github release-analytics \
|
|
|
458
458
|
### Auto-Generated Docs
|
|
459
459
|
```bash
|
|
460
460
|
# Update documentation
|
|
461
|
-
npx
|
|
461
|
+
npx claude-flow@v3alpha github release-docs \
|
|
462
462
|
--api-changes \
|
|
463
463
|
--migration-guide \
|
|
464
464
|
--example-updates \
|
|
@@ -531,7 +531,7 @@ Thanks to all contributors who made this release possible!
|
|
|
531
531
|
### NPM Package Release
|
|
532
532
|
```bash
|
|
533
533
|
# NPM package release
|
|
534
|
-
npx
|
|
534
|
+
npx claude-flow@v3alpha github npm-release \
|
|
535
535
|
--version patch \
|
|
536
536
|
--test-all \
|
|
537
537
|
--publish-beta \
|
|
@@ -541,7 +541,7 @@ npx ruv-swarm github npm-release \
|
|
|
541
541
|
### Docker Image Release
|
|
542
542
|
```bash
|
|
543
543
|
# Docker multi-arch release
|
|
544
|
-
npx
|
|
544
|
+
npx claude-flow@v3alpha github docker-release \
|
|
545
545
|
--platforms "linux/amd64,linux/arm64" \
|
|
546
546
|
--tags "latest,v2.0.0,stable" \
|
|
547
547
|
--scan-vulnerabilities \
|
|
@@ -551,7 +551,7 @@ npx ruv-swarm github docker-release \
|
|
|
551
551
|
### Mobile App Release
|
|
552
552
|
```bash
|
|
553
553
|
# Mobile app store release
|
|
554
|
-
npx
|
|
554
|
+
npx claude-flow@v3alpha github mobile-release \
|
|
555
555
|
--platforms "ios,android" \
|
|
556
556
|
--build-release \
|
|
557
557
|
--submit-review \
|
|
@@ -563,7 +563,7 @@ npx ruv-swarm github mobile-release \
|
|
|
563
563
|
### Hotfix Process
|
|
564
564
|
```bash
|
|
565
565
|
# Emergency hotfix
|
|
566
|
-
npx
|
|
566
|
+
npx claude-flow@v3alpha github emergency-release \
|
|
567
567
|
--severity critical \
|
|
568
568
|
--bypass-checks security-only \
|
|
569
569
|
--fast-track \
|
|
@@ -573,7 +573,7 @@ npx ruv-swarm github emergency-release \
|
|
|
573
573
|
### Rollback Procedure
|
|
574
574
|
```bash
|
|
575
575
|
# Immediate rollback
|
|
576
|
-
npx
|
|
576
|
+
npx claude-flow@v3alpha github rollback \
|
|
577
577
|
--to-version v1.9.9 \
|
|
578
578
|
--reason "Critical bug in v2.0.0" \
|
|
579
579
|
--preserve-data \
|
|
@@ -26,16 +26,16 @@ tools:
|
|
|
26
26
|
hooks:
|
|
27
27
|
pre_task: |
|
|
28
28
|
echo "🏗️ Initializing repository architecture analysis..."
|
|
29
|
-
npx
|
|
29
|
+
npx claude-flow@v3alpha hook pre-task --mode repo-architect --analyze-structure
|
|
30
30
|
post_edit: |
|
|
31
31
|
echo "📐 Validating architecture changes and updating structure documentation..."
|
|
32
|
-
npx
|
|
32
|
+
npx claude-flow@v3alpha hook post-edit --mode repo-architect --validate-structure
|
|
33
33
|
post_task: |
|
|
34
34
|
echo "🏛️ Architecture task completed. Generating structure recommendations..."
|
|
35
|
-
npx
|
|
35
|
+
npx claude-flow@v3alpha hook post-task --mode repo-architect --generate-recommendations
|
|
36
36
|
notification: |
|
|
37
37
|
echo "📋 Notifying stakeholders of architecture improvements..."
|
|
38
|
-
npx
|
|
38
|
+
npx claude-flow@v3alpha hook notification --mode repo-architect
|
|
39
39
|
---
|
|
40
40
|
|
|
41
41
|
# GitHub Repository Architect
|
|
@@ -116,9 +116,9 @@ mcp__github__push_files {
|
|
|
116
116
|
}
|
|
117
117
|
},
|
|
118
118
|
hooks: {
|
|
119
|
-
pre_task: "npx
|
|
120
|
-
post_edit: "npx
|
|
121
|
-
notification: "npx
|
|
119
|
+
pre_task: "npx claude-flow@v3alpha hook pre-task",
|
|
120
|
+
post_edit: "npx claude-flow@v3alpha hook post-edit",
|
|
121
|
+
notification: "npx claude-flow@v3alpha hook notification"
|
|
122
122
|
}
|
|
123
123
|
}, null, 2)
|
|
124
124
|
},
|