mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
7.7 KiB
7.7 KiB
Claude Flow Alpha 58 Release Roadmap
🎯 Priority Issues for Alpha 58
🚨 Critical Bugs
Issue #312 - MCP Tools Don't Actually Write to Database (SHOWSTOPPER)
- Priority: CRITICAL - #1 PRIORITY
- Problem: MCP tools return success but don't persist ANY data to SQLite
- Impact: Users think work is saved but databases remain empty - complete data loss
- Root Cause: MCP server returns mock responses without database integration
- Solution:
- Connect all MCP tools to DatabaseManager
- Implement real database writes for every tool
- Add transaction support and error handling
- Create integration tests to verify persistence
- Files to modify:
src/mcp/mcp-server.js- Add database integrationsrc/hive-mind/core/DatabaseManager.ts- Ensure proper APIssrc/mcp/claude-flow-tools.ts- Update tool implementations
- Expected outcome: All MCP operations actually persist data to SQLite
Issue #330 - Hive-mind Wizard Hangs and Never Creates Prompt File
- Priority: CRITICAL (Breaks Core Feature)
- Problem: Wizard completes but work never starts, prompt file never saved
- Impact: Users can't use hive-mind feature at all without manual workarounds
- Root Cause: Prompt file only saved if Claude CLI is NOT installed (backwards logic)
- Solution:
- Always save prompt file regardless of Claude installation
- Fix stdio handling to prevent terminal conflicts
- Add clear instructions for two-terminal workflow
- Use proper non-interactive flags when spawning Claude
- Files to modify:
src/cli/simple-commands/hive-mind.js(spawnClaudeCodeInstances function)src/cli/commands/hive-mind/spawn.ts
- Expected outcome: Hive-mind wizard works seamlessly, saves prompt file, provides clear next steps
Issue #325 - Hive Session Management: Can't Stop or Resume Sessions
- Priority: HIGH (Core Feature Broken)
- Problem: Ctrl+C leaves orphaned processes, sessions stay "active", can't resume
- Impact: Users have zombie processes consuming resources, no clean shutdown
- Root Cause: SIGINT handler doesn't terminate child processes
- Solution:
- Add process tracking (store PIDs in database)
- Implement proper SIGINT handler that kills children
- Add
stop,pause, andpscommands - Fix session state transitions
- Files to modify:
src/cli/simple-commands/hive-mind/auto-save-middleware.jssrc/cli/simple-commands/hive-mind.jssrc/cli/simple-commands/hive-mind/session-manager.js
- Expected outcome: Clean process lifecycle with stop/pause/resume commands
🤖 Claude API Integration
Issue #331 - Implement Temperature Control & Model Selection
- Priority: High (Core Functionality)
- Problem: Configuration files have non-functional Claude API settings
- Impact: Users expect temperature, model selection, and token limits to work
- Solution: Implement actual Claude API integration with proper parameter handling
- Implementation:
- Add Claude API client integration
- Implement temperature control (0.0-1.0)
- Add model selection (claude-3-opus, claude-3-sonnet, claude-3-haiku)
- Add token limit enforcement
- Add fallback model support
- Files to modify:
src/core/orchestrator.tssrc/config/config-manager.tsexamples/01-configurations/(restore cleaned configs)
- Expected outcome: Functional Claude API integration with proper configuration
🔧 TypeScript Compilation Fixes
Issue #290 - Complete TypeScript Migration
- Priority: High (Build System)
- Problem: 643+ TypeScript compilation errors preventing clean builds
- Impact: Development workflow issues, can't use compiled TypeScript
- Solution: Fix all TypeScript compilation errors systematically
- Implementation:
- Fix TextDecoder/TextEncoder type issues (
typeof TextDecoder) - Add missing type definitions (@types/commander, @types/blessed)
- Fix missing
overridemodifiers - Resolve implicit 'any' types
- Complete remaining file conversions from issue #290
- Fix TextDecoder/TextEncoder type issues (
- Files to modify:
src/cli/runtime-detector.tssrc/cli/repl.tssrc/cli/simple-cli.tstsconfig.json(compiler options)
- Expected outcome: Clean TypeScript compilation with zero errors
🧪 Testing & Validation
Test Suite Stabilization
- Priority: Medium (Quality Assurance)
- Problem: Tests failing due to environment setup and missing imports
- Impact: Unreliable CI/CD and development workflow
- Solution: Fix test configuration and missing dependencies
- Implementation:
- Fix missing
test.utils.tsimports - Update Jest configuration for ESM support
- Resolve module resolution issues
- Fix logger configuration errors in test environment
- Fix missing
- Expected outcome: Stable, passing test suite
📋 Configuration Management
Config System Overhaul
- Priority: Medium (Developer Experience)
- Problem: Configuration system has dead/non-functional options
- Impact: Confusing user experience with features that don't work
- Solution: Clean audit and implementation of all config options
- Implementation:
- Audit all configuration files for non-functional settings
- Implement or remove each configuration option
- Update documentation to match actual functionality
- Add validation for unsupported options
- Expected outcome: Honest, functional configuration system
📚 Documentation & Help System
Issue #323 - CLI Help Text Improvements
- Priority: Low (Core Already Implemented)
- Problem: Help text was decentralized and inconsistent
- Current Status: ✅ Core implementation complete in
src/cli/help-text.js - Alpha 58 Refinements:
- Remove legacy
show...Help()functions from command files - Add automated tests to verify help completeness
- Consider auto-generating help from command definitions
- Add
--jsonoutput format for machine-readable help
- Remove legacy
- Files to modify:
- Various command files to remove old help functions
- Add tests in
tests/unit/cli/help-text.test.js
- Expected outcome: 100% accurate, testable help documentation
🚀 Success Criteria for Alpha 58
✅ Must Have:
- FIX DATABASE PERSISTENCE: MCP tools MUST write to SQLite (Issue #312)
- Claude API Integration: Temperature, model selection, and token limits working
- Clean TypeScript Build: Zero compilation errors
- Functional Configs: All configuration options either work or are removed
🎯 Should Have:
- Stable Tests: Passing test suite with reliable CI/CD
- Documentation Updates: Accurate docs reflecting actual functionality
💎 Nice to Have:
- Performance Improvements: Based on Alpha 57 usage feedback
- Enhanced Error Handling: Better user-facing error messages
📊 Estimated Timeline
- Week 1: Claude API integration and core TypeScript fixes
- Week 2: Test stabilization and configuration cleanup
- Week 3: Documentation updates and final testing
- Release Target: 3-4 weeks from Alpha 57
🔄 Migration from Alpha 57
Users upgrading from Alpha 57 to Alpha 58 will get:
- Working Claude API features that were previously just configuration placeholders
- Faster, more reliable builds with clean TypeScript compilation
- Cleaner configuration with only functional options
- Better development experience with stable tests and clear documentation
📝 Notes
- This roadmap focuses on making existing features actually work rather than adding new ones
- Priority is on reliability and honesty - features either work correctly or are removed
- Alpha 58 should be the first "production-ready" alpha with fully functional core features