v3/implementation/v3-migration/README.md
Comprehensive guide for migrating from Claude Flow V2 to V3
This directory contains detailed analysis of capabilities, gaps, and migration paths from V2 to V3. The migration involves significant architectural changes based on 10 Architecture Decision Records (ADRs).
| Category | V2 Features | V3 Implemented | Gap |
|---|---|---|---|
| Hive-Mind/Swarm | 18 | 12 | 6 MISSING |
| Hooks | 42 | 13 | 29 MISSING |
| MCP Tools | 65 | 22 | 43 MISSING |
| CLI Commands | 25 | 7 | 18 MISSING |
| Memory | 14 | 20 | +6 NEW |
| Neural | 3 | 14 | +11 NEW |
| Document | Description |
|---|---|
| CAPABILITY-GAP-ANALYSIS.md | Complete gap analysis across all systems |
| BACKWARD-COMPATIBILITY.md | Backward compatibility requirements |
| Document | Description |
|---|---|
| HIVE-MIND-MIGRATION.md | Hive-mind, topologies, consensus migration |
| HOOKS-MIGRATION.md | Self-learning hooks system migration |
| MCP-TOOLS-MIGRATION.md | MCP tool definitions and handlers |
| CLI-MIGRATION.md | CLI commands and options |
| MEMORY-NEURAL-MIGRATION.md | Memory backends and neural systems |
| ADR | Decision | Impact |
|---|---|---|
| ADR-001 | Adopt agentic-flow@alpha as core | Eliminates 10,000+ duplicate lines |
| ADR-002 | Domain-Driven Design | Bounded contexts for modularity |
| ADR-003 | Single coordination engine | UnifiedSwarmCoordinator replaces multiple |
| ADR-004 | Plugin architecture | Microkernel for extensibility |
| ADR-005 | MCP-first API | Consistent tool interfaces |
| ADR-006 | Unified memory service | AgentDB integration |
| ADR-007 | Event sourcing | Full audit trail |
| ADR-008 | Vitest over Jest | 10x faster testing |
| ADR-009 | Hybrid memory backend | SQLite + AgentDB |
| ADR-010 | Remove Deno support | Node.js 20+ only |
# Check migration status
npx claude-flow migrate status
# Run automatic migration
npx claude-flow migrate run --target all --backup
# Verify migration
npx claude-flow migrate verify