# ChurnFlow MCP Version Roadmap
## Current Status: v0.4.2 Advanced Database Features & Migrations π
*All completed versions documented in CHANGELOG.md*
---
## π **Future Version Roadmap** *(Undone v0.3.x Features Migrated)*
### **v0.4.2** - Advanced Database Features & Migrations *(Current Feature Branch)*
**Type**: MINOR (new migration infrastructure, advanced features, backward compatible)
**Scope**: Database schema evolution, collections, tagging, relationships
**Features**:
- π **Drizzle Migrations**: Proper migration workflow for safe schema evolution
- ποΈ **Collections & Tagging**: Add support for collections, tags, and relationships
- π **Migration Commands**: `npm run db:generate`, `npm run db:migrate` workflows
- π **Version Tracking**: Database schema versioning and rollback support
- π **Data Safety**: Ensure no data loss during schema changes
- π·οΈ **Context Relationships**: Link captures to contexts and trackers
- π **Development Workflow**: Easy schema iteration during development
**Implementation**:
- Update DatabaseManager to use proper migrations instead of manual table creation
- Establish migration workflow for future schema changes
- Add collections, tags, and relationships to schema
- Ensure existing v0.4.1 databases can migrate forward safely
---
### **v0.4.3** - Capture Input Refinements *(Next Feature)*
**Type**: MINOR (enhanced capture processing)
**Scope**: Improve capture quality and AI inference
**Features**:
- β¨ **Enhanced AI Processing**: Better context inference and item generation
- β¨ **Input Validation**: Improve capture text processing and edge cases
- β¨ **Priority Detection**: Better priority inference from natural language
- β¨ **Multi-item Enhancement**: Improved multi-item capture from complex inputs
- β¨ **Edge Case Handling**: Better handling of ambiguous or unusual inputs
- β¨ **Confidence Scoring**: Refined confidence algorithms for routing decisions
---
### **v0.3.5** - Context-Aware Dashboard Views
**Type**: MINOR (new dashboard modes, backward compatible)
**Scope**: Situational task recommendations for different contexts
**Planned Features**:
- π‘ **Quick Tasks**: `next quick` - Show only tasks β€ 5 minutes for micro-breaks
- π‘ **Errand Mode**: `next errands` - Location-based tasks (bank, store, etc.) for lunch breaks
- π‘ **Away Mode**: `next lunch` - Tasks you can do away from desk/computer
- π‘ **Low Energy**: `next energy low` - Easy tasks for when you're tired/unfocused
- π‘ **Review Chunks**: `next review` - Bite-sized review sessions (5-10 items)
- π‘ **Tasks by Tracker**: Enhanced `tasks tracker [name]` with better filtering
- π‘ **Context Detection**: Smart tag recognition (#errand, #call, #email, #admin)
- π‘ **Time-Based Filtering**: Filter by estimated duration ranges
**Implementation Considerations**:
- **Depends on v0.3.4** - Requires working review system for review chunks
- Extend DashboardManager with context-specific filtering
- Add location and energy level metadata to task parsing
- Create task classification system for activities (desk vs mobile)
- Implement smart tag detection for context inference
- **Enhanced**: Leverage v0.3.3 task editing for context-aware task management
---
### **v0.4.4** - Context-Aware Dashboard Views *(Migrated from v0.3.5)*
**Type**: MINOR (enhanced dashboard modes with database backing)
**Scope**: Situational task recommendations with database analytics
**Features** *(Enhanced with Database)*:
- π‘ **Quick Tasks**: `next quick` - Database-filtered tasks β€ 5 minutes
- π‘ **Errand Mode**: `next errands` - Location-based tasks with usage patterns
- π‘ **Away Mode**: `next lunch` - Tasks for away-from-desk productivity
- π‘ **Low Energy**: `next energy low` - Easy tasks based on completion history
- π **Review Chunks**: `next review` - Database-prioritized review sessions
- π **Tasks by Tracker**: Enhanced filtering with database insights
- π·οΈ **Context Detection**: Smart tag recognition with AI learning patterns
- β±οΈ **Time-Based Filtering**: Duration estimates from database analytics
---
### **v0.4.5** - Inferred Due Dates *(Migrated from v0.3.6)*
**Type**: MINOR (AI-powered date detection)
**Scope**: Automatic due date inference from natural language
**Features** *(Enhanced with Database)*:
- π
**AI Date Detection**: Parse "by Friday", "next week", "in 3 days" from capture text
- π
**Automatic Assignment**: Smart due date assignment to action items
- π
**Database Storage**: Store and track due dates with analytics
- π
**Learning Patterns**: Improve date inference based on user corrections
- π
**Review Interface**: Confirm/edit inferred dates during review
- π
**Calendar Integration**: Date validation and calendar awareness
---
### **v0.4.6** - Enhanced MCP Server Features *(Migrated from v0.3.8)*
**Type**: MINOR (database-powered MCP tools)
**Scope**: Extended MCP server capabilities with database integration
**Features** *(Enhanced with Database)*:
- π§ **Dashboard MCP Tools**: `get_next_tasks`, `get_statistics`, `complete_task`
- π§ **Database Search Tools**: `search_captures`, `get_analytics`
- π§ **Context-Aware Tools**: Database-backed filtering and recommendations
- π§ **Task Management Tools**: `change_task`, `move_task` with database sync
- π§ **Review Tools**: Database-powered review prioritization via MCP
- π§ **Learning Tools**: Access AI learning patterns and insights
- π§ **Performance**: Optimized database queries for AI assistant usage
---
### **v0.4.7** - Comprehensive Testing & 80% Coverage
**Type**: PATCH (quality improvements, no new features)
**Scope**: Testing infrastructure and quality assurance
**Planned Features**:
- π§ͺ CLI integration testing (0% β 80% coverage)
- π§ͺ **NEW**: Task management testing (v0.3.3 edit operations)
- π§ͺ MCP server testing (0% β 75% coverage)
- π§ͺ Core logic improvements (87% β 90% coverage)
- π§ͺ Performance testing and optimization
- π§ͺ Error handling validation
- π§ͺ Documentation completeness
**Implementation Considerations**:
- Jest configuration for CLI testing
- **NEW**: Mock frameworks for interactive task editing
- MCP protocol testing utilities
- Mock frameworks for interactive testing
- Coverage reporting and monitoring
---
### **v0.5.0** - Voice Memo Capture System *(Migrated from v0.4.0)*
**Type**: MINOR (major new feature with database integration)
**Scope**: Mobile voice capture with database storage and analytics
**Features** *(Enhanced with Database)*:
- π€ **Voice Memo Integration**: Seamless capture with database storage
- π€ **Database Storage**: Voice transcriptions stored with metadata
- π€ **Speech-to-Text**: OpenAI Whisper integration with confidence scoring
- π€ **Mobile Workflow**: Database-backed voice capture from anywhere
- π€ **Audio Analytics**: Track voice capture patterns and success rates
- π€ **Learning Integration**: Voice patterns improve AI context inference
- π€ **Search Integration**: Voice transcriptions included in FTS search
- π€ **Quality Tracking**: Database analytics on transcription accuracy
---
### **v0.6.0** - Smart Sync System *(Migrated from v0.5.0)*
**Type**: MINOR (intelligent automation with database analytics)
**Scope**: Database-powered tracker synchronization and collection maintenance
**Features** *(Enhanced with Database)*:
- π€ **Learning Sync Rules**: Database analytics learn optimal sync patterns
- π€ **Smart Project Completion**: Database-tracked project lifecycle management
- π€ **Automated Insights**: Database-powered reports and trend analysis
- π€ **Pattern Recognition**: AI learns from database history for better automation
- π€ **Financial Intelligence**: Database categorization of expenses/revenue
- π€ **Milestone Detection**: Database analytics recognize completion patterns
- π€ **Maintenance Analytics**: Database-optimized sync scheduling
- π€ **User Adaptation**: Database learning improves automation over time
**Business Impact**:
- **Eliminates Weekly Admin**: Database automation replaces manual sync sessions
- **Intelligent Insights**: Database analytics provide actionable intelligence
- **Time Recovery**: Hours per week returned to productive work
---
## π **Implementation Timeline** *(Updated for v0.4.x Sequence)*
### π **Achievement**: v0.4.0 Database Integration Complete
- **v0.4.0** (Sep 21): SQLite database integration with FTS, analytics, AI learning β
- **Clean Architecture**: Database setup separated from capture operations
- **Dual Storage**: Files + database with graceful fallback
- **176+ Tests**: Comprehensive test coverage including database
### π― **Next Steps (MVP Refinement Phase)**
- **v0.4.1**: MVP refinements (current feature branch) - Fix priority indicators on activities, etc.
- **v0.4.2**: Database migrations system - Proper schema evolution without data loss
- **v0.4.3**: Capture input refinements - Enhanced AI processing and edge cases
### π **Feature Enhancement Phase (v0.4.4+)**
- **v0.4.4**: Context-aware dashboard views with database backing
- **v0.4.5**: Inferred due dates with AI learning patterns
- **v0.4.6**: Enhanced MCP server with database-powered tools
### π€ **Major Feature Releases**
- **v0.5.0**: Voice memo capture system with database integration
- **v0.6.0**: Smart sync system with database analytics
- **v0.7.0+**: Advanced AI features, mobile app, community features
---
## π **Roadmap Principles**
### πͺ **Database-First Architecture**
- All future features leverage SQLite database foundation
- Dual storage (files + database) ensures backwards compatibility
- Database analytics and learning enhance every feature
- Clean migrations enable safe schema evolution
### π§ **ADHD-Focused Development**
- MVP refinements based on real usage patterns
- Incremental improvements over major rewrites
- Database insights drive UX optimizations
- Maintain zero-friction capture workflow
### π **Proven Velocity**
- v0.4.0 database integration completed in focused sessions
- Each version builds incrementally on solid foundation
- Database infrastructure enables rapid feature development
- Clear, bounded objectives for each release
---
*This roadmap reflects the new database-powered architecture while maintaining the proven ADHD-friendly productivity workflow. All future features are enhanced by SQLite foundation and analytics capabilities.*
*Last updated: 2025-09-22 00:07*