mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 22:28:10 +09:00
Checkpoint: File edits
Automatic checkpoint created by Claude Code - Branch: v3 - Timestamp: 2026-01-08T03:11:31Z - Changes: 1 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ee898b14f3
commit
dd5fc45176
1 file changed
+32
-32
@@ -25,16 +25,16 @@ tools:
|
||||
hooks:
|
||||
pre_task: |
|
||||
echo "🐝 Initializing release swarm coordination..."
|
||||
npx ruv-swarm hook pre-task --mode release-swarm --init-swarm
|
||||
npx claude-flow@v3alpha hook pre-task --mode release-swarm --init-swarm
|
||||
post_edit: |
|
||||
echo "🔄 Synchronizing release swarm state and validating changes..."
|
||||
npx ruv-swarm hook post-edit --mode release-swarm --sync-swarm
|
||||
npx claude-flow@v3alpha hook post-edit --mode release-swarm --sync-swarm
|
||||
post_task: |
|
||||
echo "🎯 Release swarm task completed. Coordinating final deployment..."
|
||||
npx ruv-swarm hook post-task --mode release-swarm --finalize-release
|
||||
npx claude-flow@v3alpha hook post-task --mode release-swarm --finalize-release
|
||||
notification: |
|
||||
echo "📡 Broadcasting release completion across all swarm agents..."
|
||||
npx ruv-swarm hook notification --mode release-swarm --broadcast
|
||||
npx claude-flow@v3alpha hook notification --mode release-swarm --broadcast
|
||||
---
|
||||
|
||||
# Release Swarm - Intelligent Release Automation
|
||||
@@ -56,7 +56,7 @@ MERGED_PRS=$(gh pr list --state merged --base main --json number,title,labels,me
|
||||
--jq ".[] | select(.mergedAt > \"$(gh release view $LAST_TAG --json publishedAt -q .publishedAt)\")")
|
||||
|
||||
# Plan release with commit analysis
|
||||
npx ruv-swarm github release-plan \
|
||||
npx claude-flow@v3alpha github release-plan \
|
||||
--commits "$COMMITS" \
|
||||
--merged-prs "$MERGED_PRS" \
|
||||
--analyze-commits \
|
||||
@@ -68,7 +68,7 @@ npx ruv-swarm github release-plan \
|
||||
### 2. Automated Versioning
|
||||
```bash
|
||||
# Smart version bumping
|
||||
npx ruv-swarm github release-version \
|
||||
npx claude-flow@v3alpha github release-version \
|
||||
--strategy "semantic" \
|
||||
--analyze-changes \
|
||||
--check-breaking \
|
||||
@@ -81,7 +81,7 @@ npx ruv-swarm github release-version \
|
||||
# Generate changelog from PRs and commits
|
||||
CHANGELOG=$(gh api repos/:owner/:repo/compare/${LAST_TAG}...HEAD \
|
||||
--jq '.commits[].commit.message' | \
|
||||
npx ruv-swarm github generate-changelog)
|
||||
npx claude-flow@v3alpha github generate-changelog)
|
||||
|
||||
# Create release draft
|
||||
gh release create v2.0.0 \
|
||||
@@ -91,7 +91,7 @@ gh release create v2.0.0 \
|
||||
--target main
|
||||
|
||||
# Run release orchestration
|
||||
npx ruv-swarm github release-create \
|
||||
npx claude-flow@v3alpha github release-create \
|
||||
--version "2.0.0" \
|
||||
--changelog "$CHANGELOG" \
|
||||
--build-artifacts \
|
||||
@@ -173,7 +173,7 @@ COMMITS=$(gh api repos/:owner/:repo/compare/v1.0.0...HEAD \
|
||||
--jq '.commits[].commit.message')
|
||||
|
||||
# Generate categorized changelog
|
||||
CHANGELOG=$(npx ruv-swarm github changelog \
|
||||
CHANGELOG=$(npx claude-flow@v3alpha github changelog \
|
||||
--prs "$PRS" \
|
||||
--commits "$COMMITS" \
|
||||
--contributors "$CONTRIBUTORS" \
|
||||
@@ -202,7 +202,7 @@ gh pr create \
|
||||
### Version Agent
|
||||
```bash
|
||||
# Determine next version
|
||||
npx ruv-swarm github version-suggest \
|
||||
npx claude-flow@v3alpha github version-suggest \
|
||||
--current v1.2.3 \
|
||||
--analyze-commits \
|
||||
--check-compatibility \
|
||||
@@ -219,7 +219,7 @@ npx ruv-swarm github version-suggest \
|
||||
### Build Agent
|
||||
```bash
|
||||
# Coordinate multi-platform builds
|
||||
npx ruv-swarm github release-build \
|
||||
npx claude-flow@v3alpha github release-build \
|
||||
--platforms "linux,macos,windows" \
|
||||
--architectures "x64,arm64" \
|
||||
--parallel \
|
||||
@@ -236,7 +236,7 @@ npx ruv-swarm github release-build \
|
||||
### Test Agent
|
||||
```bash
|
||||
# Pre-release testing
|
||||
npx ruv-swarm github release-test \
|
||||
npx claude-flow@v3alpha github release-test \
|
||||
--suites "unit,integration,e2e,performance" \
|
||||
--environments "node:16,node:18,node:20" \
|
||||
--fail-fast false \
|
||||
@@ -246,7 +246,7 @@ npx ruv-swarm github release-test \
|
||||
### Deploy Agent
|
||||
```bash
|
||||
# Multi-target deployment
|
||||
npx ruv-swarm github release-deploy \
|
||||
npx claude-flow@v3alpha github release-deploy \
|
||||
--targets "npm,docker,github,s3" \
|
||||
--staged-rollout \
|
||||
--monitor-metrics \
|
||||
@@ -281,7 +281,7 @@ deployment:
|
||||
### 2. Multi-Repo Releases
|
||||
```bash
|
||||
# Coordinate releases across repos
|
||||
npx ruv-swarm github multi-release \
|
||||
npx claude-flow@v3alpha github multi-release \
|
||||
--repos "frontend:v2.0.0,backend:v2.1.0,cli:v1.5.0" \
|
||||
--ensure-compatibility \
|
||||
--atomic-release \
|
||||
@@ -291,7 +291,7 @@ npx ruv-swarm github multi-release \
|
||||
### 3. Hotfix Automation
|
||||
```bash
|
||||
# Emergency hotfix process
|
||||
npx ruv-swarm github hotfix \
|
||||
npx claude-flow@v3alpha github hotfix \
|
||||
--issue 789 \
|
||||
--target-version v1.2.4 \
|
||||
--cherry-pick-commits \
|
||||
@@ -329,7 +329,7 @@ jobs:
|
||||
PRS=$(gh pr list --state merged --base main --json number,title,labels,author \
|
||||
--search "merged:>=$(gh release view $PREV_TAG --json publishedAt -q .publishedAt)")
|
||||
|
||||
npx ruv-swarm github release-init \
|
||||
npx claude-flow@v3alpha github release-init \
|
||||
--tag $RELEASE_TAG \
|
||||
--previous-tag $PREV_TAG \
|
||||
--prs "$PRS" \
|
||||
@@ -338,7 +338,7 @@ jobs:
|
||||
- name: Generate Release Assets
|
||||
run: |
|
||||
# Generate changelog from PR data
|
||||
CHANGELOG=$(npx ruv-swarm github release-changelog \
|
||||
CHANGELOG=$(npx claude-flow@v3alpha github release-changelog \
|
||||
--format markdown)
|
||||
|
||||
# Update release notes
|
||||
@@ -346,7 +346,7 @@ jobs:
|
||||
--notes "$CHANGELOG"
|
||||
|
||||
# Generate and upload assets
|
||||
npx ruv-swarm github release-assets \
|
||||
npx claude-flow@v3alpha github release-assets \
|
||||
--changelog \
|
||||
--binaries \
|
||||
--documentation
|
||||
@@ -361,7 +361,7 @@ jobs:
|
||||
- name: Publish Release
|
||||
run: |
|
||||
# Publish to package registries
|
||||
npx ruv-swarm github release-publish \
|
||||
npx claude-flow@v3alpha github release-publish \
|
||||
--platforms all
|
||||
|
||||
# Create announcement issue
|
||||
@@ -374,7 +374,7 @@ jobs:
|
||||
### Continuous Deployment
|
||||
```bash
|
||||
# Automated deployment pipeline
|
||||
npx ruv-swarm github cd-pipeline \
|
||||
npx claude-flow@v3alpha github cd-pipeline \
|
||||
--trigger "merge-to-main" \
|
||||
--auto-version \
|
||||
--deploy-on-success \
|
||||
@@ -386,7 +386,7 @@ npx ruv-swarm github cd-pipeline \
|
||||
### Pre-Release Checks
|
||||
```bash
|
||||
# Comprehensive validation
|
||||
npx ruv-swarm github release-validate \
|
||||
npx claude-flow@v3alpha github release-validate \
|
||||
--checks "
|
||||
version-conflicts,
|
||||
dependency-compatibility,
|
||||
@@ -401,7 +401,7 @@ npx ruv-swarm github release-validate \
|
||||
### Compatibility Testing
|
||||
```bash
|
||||
# Test backward compatibility
|
||||
npx ruv-swarm github compat-test \
|
||||
npx claude-flow@v3alpha github compat-test \
|
||||
--previous-versions "v1.0,v1.1,v1.2" \
|
||||
--api-contracts \
|
||||
--data-migrations \
|
||||
@@ -411,7 +411,7 @@ npx ruv-swarm github compat-test \
|
||||
### Security Scanning
|
||||
```bash
|
||||
# Security validation
|
||||
npx ruv-swarm github release-security \
|
||||
npx claude-flow@v3alpha github release-security \
|
||||
--scan-dependencies \
|
||||
--check-secrets \
|
||||
--audit-permissions \
|
||||
@@ -423,7 +423,7 @@ npx ruv-swarm github release-security \
|
||||
### Release Monitoring
|
||||
```bash
|
||||
# Monitor release health
|
||||
npx ruv-swarm github release-monitor \
|
||||
npx claude-flow@v3alpha github release-monitor \
|
||||
--version v2.0.0 \
|
||||
--metrics "error-rate,latency,throughput" \
|
||||
--alert-thresholds \
|
||||
@@ -433,7 +433,7 @@ npx ruv-swarm github release-monitor \
|
||||
### Automated Rollback
|
||||
```bash
|
||||
# Configure auto-rollback
|
||||
npx ruv-swarm github rollback-config \
|
||||
npx claude-flow@v3alpha github rollback-config \
|
||||
--triggers '{
|
||||
"error-rate": ">5%",
|
||||
"latency-p99": ">1000ms",
|
||||
@@ -446,7 +446,7 @@ npx ruv-swarm github rollback-config \
|
||||
### Release Analytics
|
||||
```bash
|
||||
# Analyze release performance
|
||||
npx ruv-swarm github release-analytics \
|
||||
npx claude-flow@v3alpha github release-analytics \
|
||||
--version v2.0.0 \
|
||||
--compare-with v1.9.0 \
|
||||
--metrics "adoption,performance,stability" \
|
||||
@@ -458,7 +458,7 @@ npx ruv-swarm github release-analytics \
|
||||
### Auto-Generated Docs
|
||||
```bash
|
||||
# Update documentation
|
||||
npx ruv-swarm github release-docs \
|
||||
npx claude-flow@v3alpha github release-docs \
|
||||
--api-changes \
|
||||
--migration-guide \
|
||||
--example-updates \
|
||||
@@ -531,7 +531,7 @@ Thanks to all contributors who made this release possible!
|
||||
### NPM Package Release
|
||||
```bash
|
||||
# NPM package release
|
||||
npx ruv-swarm github npm-release \
|
||||
npx claude-flow@v3alpha github npm-release \
|
||||
--version patch \
|
||||
--test-all \
|
||||
--publish-beta \
|
||||
@@ -541,7 +541,7 @@ npx ruv-swarm github npm-release \
|
||||
### Docker Image Release
|
||||
```bash
|
||||
# Docker multi-arch release
|
||||
npx ruv-swarm github docker-release \
|
||||
npx claude-flow@v3alpha github docker-release \
|
||||
--platforms "linux/amd64,linux/arm64" \
|
||||
--tags "latest,v2.0.0,stable" \
|
||||
--scan-vulnerabilities \
|
||||
@@ -551,7 +551,7 @@ npx ruv-swarm github docker-release \
|
||||
### Mobile App Release
|
||||
```bash
|
||||
# Mobile app store release
|
||||
npx ruv-swarm github mobile-release \
|
||||
npx claude-flow@v3alpha github mobile-release \
|
||||
--platforms "ios,android" \
|
||||
--build-release \
|
||||
--submit-review \
|
||||
@@ -563,7 +563,7 @@ npx ruv-swarm github mobile-release \
|
||||
### Hotfix Process
|
||||
```bash
|
||||
# Emergency hotfix
|
||||
npx ruv-swarm github emergency-release \
|
||||
npx claude-flow@v3alpha github emergency-release \
|
||||
--severity critical \
|
||||
--bypass-checks security-only \
|
||||
--fast-track \
|
||||
@@ -573,7 +573,7 @@ npx ruv-swarm github emergency-release \
|
||||
### Rollback Procedure
|
||||
```bash
|
||||
# Immediate rollback
|
||||
npx ruv-swarm github rollback \
|
||||
npx claude-flow@v3alpha github rollback \
|
||||
--to-version v1.9.9 \
|
||||
--reason "Critical bug in v2.0.0" \
|
||||
--preserve-data \
|
||||
|
||||
Reference in new issue
Block a user