Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

7.7 KB
Raw Blame

ADR-046: Dual Umbrella Packages β€” claude-flow + ruflo

Status: Accepted Date: 2026-02-07 Updated: 2026-02-08 Authors: RuvNet, Claude Flow Team

Context

The umbrella package is published to npm as claude-flow. As the ecosystem grows and the product establishes its own identity, a second umbrella package ruflo is introduced alongside the original.

Current State

Aspect Current Value
npm package claude-flow
CLI binary claude-flow
GitHub repo ruvnet/claude-flow
Internal packages @claude-flow/*
Weekly downloads ~1,000+

Drivers for Change

  1. Brand Cohesion: Aligns with the ruv ecosystem (ruv.io, @ruvector/*, ruv-swarm)
  2. Trademark Safety: Removes potential trademark concerns with "Claude" in product name
  3. Product Identity: Establishes independent product identity beyond Claude integration
  4. Discoverability: "ruflo" is unique, memorable, and searchable
  5. Future Flexibility: Enables the platform to support multiple AI backends without name confusion
  6. Zero Disruption: Keeping claude-flow ensures no existing users are broken

Decision

Publish two independent npm umbrella packages β€” claude-flow (original) and ruflo (new) β€” both backed by @claude-flow/cli.

Package Architecture

npm registry
β”œβ”€β”€ claude-flow          ← original umbrella (bundles @claude-flow/cli)
β”‚   └── bin: claude-flow β†’ v3/@claude-flow/cli/bin/cli.js
β”œβ”€β”€ ruflo              ← new umbrella (depends on @claude-flow/cli)
β”‚   └── bin: ruflo     β†’ @claude-flow/cli/bin/cli.js
└── @claude-flow/cli     ← shared CLI implementation

What Changes

Aspect Before After
npm packages claude-flow only claude-flow + ruflo
CLI binaries claude-flow claude-flow + ruflo
Install commands npx claude-flow@latest Both npx claude-flow@latest and npx ruflo@latest
README branding "Claude-Flow" "Ruflo" (primary), "claude-flow" (supported)
Product name Claude-Flow Ruflo (with claude-flow alias)

What Stays the Same

Aspect Value Reason
GitHub repo ruvnet/claude-flow SEO, existing links, history
Internal packages @claude-flow/* Minimal disruption, existing integrations
Functionality All features No functional changes
License MIT No change
Author RuvNet No change
claude-flow npm package Fully supported No breaking changes for existing users

Consequences

Positive

  1. Zero Disruption: Existing claude-flow users unaffected
  2. Unified Brand: New ruflo package for the ruv ecosystem
  3. Trademark Safety: Users can choose the non-"Claude" branded package
  4. Dual Discovery: Package discoverable under both names on npm
  5. Future Proof: Can add non-Claude integrations without name confusion

Negative

  1. Two packages to maintain: Must publish and tag both packages
  2. Documentation: Must reference both package names
  3. Download split: npm download stats split across two packages

Neutral

  1. GitHub repo unchanged: Existing links continue to work
  2. Internal packages unchanged: No code changes required in @claude-flow/*

Implementation

Package Structure

/workspaces/claude-flow/
β”œβ”€β”€ package.json            # name: "claude-flow" (original umbrella)
β”‚                           # bin: claude-flow β†’ v3/@claude-flow/cli/bin/cli.js
β”‚                           # bundles CLI files directly
└── ruflo/
    β”œβ”€β”€ package.json        # name: "ruflo" (new umbrella)
    β”‚                       # bin: ruflo β†’ ./bin/ruflo.js
    β”‚                       # depends on @claude-flow/cli
    β”œβ”€β”€ bin/
    β”‚   └── ruflo.js      # thin wrapper, imports @claude-flow/cli
    └── README.md           # Ruflo-branded docs

Phase 1: Preparation (This PR)

  1. Create ADR-046 (this document)
  2. Keep root package.json as claude-flow (original umbrella)
  3. Create ruflo/ directory with new umbrella package
  4. Update main README.md with Ruflo branding
  5. Update install scripts to reference ruflo

Phase 2: Publishing

# 1. Publish @claude-flow/cli (shared implementation)
cd v3/@claude-flow/cli
npm publish --tag alpha

# 2. Publish claude-flow umbrella (original)
cd /workspaces/claude-flow
npm publish --tag v3alpha
npm dist-tag add claude-flow@<version> latest
npm dist-tag add claude-flow@<version> alpha

# 3. Publish ruflo umbrella (new)
cd /workspaces/claude-flow/ruflo
npm publish --tag alpha
npm dist-tag add ruflo@<version> latest

Phase 3: Ongoing

  1. Both packages maintained indefinitely
  2. Version numbers kept in sync
  3. README shows both install options
  4. ruflo promoted as primary in new documentation

Publishing Checklist

When publishing updates, all three packages must be published:

Order Package Command Tags
1 @claude-flow/cli npm publish --tag alpha alpha, latest
2 claude-flow npm publish --tag v3alpha v3alpha, alpha, latest
3 ruflo npm publish --tag alpha alpha, latest

Alternatives Considered

1. Replace claude-flow with ruflo (single package)

Pros: Simpler, one package to maintain Cons: Breaks existing users, loses download history Decision: Rejected - zero disruption preferred

2. Rename to ruv-flow (hyphenated)

Pros: Matches ruv-swarm pattern Cons: Inconsistent with @ruvector (no hyphen) Decision: Rejected - "ruflo" is cleaner and matches ruvector pattern

3. Rename internal packages too (@ruflo/*)

Pros: Complete rebrand Cons: Major breaking change, complex migration, npm scope registration Decision: Rejected - disruption not worth the benefit

4. Deprecate claude-flow

Pros: Forces migration to ruflo Cons: Breaks existing users, bad developer experience Decision: Rejected - both packages coexist permanently

Migration Guide

For New Users

# Recommended
npx ruflo@latest init --wizard

# Also works
npx claude-flow@latest init --wizard

For Existing Users

No migration required. claude-flow continues to work. Optionally switch:

# Switch MCP server (optional)
claude mcp remove claude-flow
claude mcp add ruflo npx ruflo@latest mcp start

For Contributors

  1. Root package.json is the claude-flow umbrella
  2. ruflo/package.json is the ruflo umbrella
  3. Internal imports remain @claude-flow/*
  4. GitHub repo remains ruvnet/claude-flow

Metrics for Success

Metric Target Measurement
Combined npm downloads Maintain or grow npm weekly stats (both packages)
GitHub stars Maintain or grow GitHub metrics
Issues from confusion < 10 in 30 days GitHub issues
ruflo adoption 50%+ new installs in 90 days npm stats

References

Appendix: Branding Guidelines

Product Names

Context Use
npm packages ruflo and claude-flow (both lowercase)
README title "Ruflo" (PascalCase)
CLI binaries ruflo or claude-flow (both lowercase)
In prose "Ruflo" (PascalCase)

Command Examples

# New recommended style
npx ruflo@latest init
npx ruflo@latest agent spawn -t coder
npx ruflo@latest swarm init --topology hierarchical

# Legacy style (still fully supported)
npx claude-flow@latest init
npx claude-flow@latest agent spawn -t coder

Decision Date: 2026-02-07 Updated: 2026-02-08 Review Date: 2026-03-07 (30 days post-implementation)