The pre-split claude-flow@2.x line is no longer built, tested, or
published from this repo — v3/@claude-flow/* is the active codebase.
Moving v2/ under archive/v2/ to make the inactive status visible from
the directory layout while preserving full git history (6,440 renames,
no content changes).
- git mv v2 archive/v2
- new archive/README.md explains what's frozen, where the v3
equivalents live (cli, mcp-tools, hooks, memory), and a
"don't add new code here" note
- .npmignore: replace `v2/` rule with `archive/` so future archived
items inherit the same exclusion automatically
Auditing for downstream impact: no active package.json, tsconfig, or
CI workflow imports from v2/. The only top-level reference was the
.npmignore rule (now updated). Forks pinned to claude-flow@2.x can still
reach the source via the git history regardless of folder name.
Co-Authored-By: RuFlo <ruv@ruv.net>
archive/
Frozen snapshots of older Ruflo / Claude-Flow code that is no longer built, tested, or published from this repo. Kept under git so history remains attributable, but not part of the active codebase — nothing here is wired into builds, tests, or npm publishes.
Contents
| Path | What it is | Last live version | Status |
|---|---|---|---|
v2/ |
Pre-split claude-flow codebase |
claude-flow@2.7.47 |
Superseded by v3/@claude-flow/cli |
v2 (claude-flow 2.x line)
The original monolithic claude-flow package — single npm artifact at claude-flow@2.x, with its own CLI, agents, MCP tools, hooks, and docs. Replaced in v3 by the workspace split under v3/@claude-flow/* (cli, cli-core, codex, embeddings, hooks, memory, security, guidance, …).
If you're looking for current code:
| Want… | Now lives in |
|---|---|
| CLI entry point | v3/@claude-flow/cli/bin/cli.js |
| Agent definitions | .claude/agents/ (project-level) and plugins/*/agents/ |
| MCP tools | v3/@claude-flow/cli/src/mcp-tools/ |
| Hooks | v3/@claude-flow/hooks/ |
| Memory + AgentDB | v3/@claude-flow/memory/ |
Why archive instead of delete?
- The 2.x line was published to npm as
claude-flow@2.xand is still installable by anyone who pinned that range. Keeping the source in-tree means the published artifact's provenance is auditable. - Some downstream forks and templates reference 2.x file paths; archiving (rather than deleting) gives them a stable URL.
- Migration questions like "how did 2.x do X?" are easier to answer when the code is one
git log archive/v2/away.
Don't…
- …add new code here. Everything new goes into
v3/orplugins/. - …expect tests to run against this. CI ignores
archive/entirely. - …import from here in active code paths.
If you need to revive something out of v2/, copy the relevant file into v3/, port its imports to the current module structure, and add tests — don't try to wire archive/v2/ back into builds.