-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Overview
This meta-issue tracks the comprehensive effort to close gaps between CodeFRAME's promised functionality (documented in CODEFRAME_USER_DOCUMENTATION.md) and actual implementation (identified in CODEFRAME_ISSUES_ANALYSIS.md).
Background
CodeFRAME has an impressive architecture and vision but suffers from significant implementation gaps. Many core components have TODO comments, stubbed methods, or mocked tests that create a false sense of completeness. This roadmap organizes the work into three priority levels.
Priority 1: Core Functionality (Critical) 🔴
These issues block the primary function of CodeFRAME—autonomous AI-driven development. Must be completed for MVP.
Agent Execution
- [P1] Implement WorkerAgent.execute_task() with Anthropic API integration #98 - Implement WorkerAgent.execute_task() with Anthropic API integration
- [P1] Add token tracking after LLM calls in WorkerAgent #99 - Add token tracking after LLM calls in WorkerAgent
- [P1] Implement LeadAgent.assign_task() logic #100 - Implement LeadAgent.assign_task() logic
- [P1] Implement LeadAgent.detect_bottlenecks() logic #101 - Implement LeadAgent.detect_bottlenecks() logic
Project Lifecycle
- [P1] Implement Project.start() with Lead Agent initialization #102 - Implement Project.start() with Lead Agent initialization
- [P1] Implement Project.pause() with flash save mechanism #103 - Implement Project.pause() with flash save mechanism
- [P1] Implement Project.get_status() comprehensive status gathering #107 - Implement Project.get_status() comprehensive status gathering
- [P1] Implement Project.get_agent() Lead Agent retrieval #108 - Implement Project.get_agent() Lead Agent retrieval
Database Integration
- [P1] Replace mock data with database queries in GET /api/projects/{id}/tasks #104 - Replace mock data with database queries in GET /api/projects/{id}/tasks
- [P1] Convert task dictionaries to Task objects in database.py #106 - Convert task dictionaries to Task objects in database.py
Real-time Communication
- [P1] Implement WebSocket subscription tracking in websocket router #105 - Implement WebSocket subscription tracking in websocket router
Total P1 Issues: 11
Priority 2: Quality & Testing (Essential) 🟡
These issues prevent quality regressions and ensure production readiness. Should be completed before 1.0 release.
Quality Enforcement Integration
- [P2] Integrate SkipPatternDetector into WorkerAgent.complete_task() #109 - Integrate SkipPatternDetector into WorkerAgent.complete_task()
- [P2] Integrate QualityTracker into WorkerAgent workflow #110 - Integrate QualityTracker into WorkerAgent workflow
- [P2] Integrate EvidenceVerifier into WorkerAgent.complete_task() #111 - Integrate EvidenceVerifier into WorkerAgent.complete_task()
- [P2] Implement WorkerAgent.assess_maturity() system #112 - Implement WorkerAgent.assess_maturity() system
Testing Improvements
- [P2] Replace mocked unit tests with real integration tests #113 - Replace mocked unit tests with real integration tests
- [P3] Add edge case testing across core components #114 - Add edge case testing across core components
- [Future] Add performance and load testing benchmarks #115 - Add performance and load testing benchmarks
Total P2 Issues: 7
Priority 3: Advanced Features (Nice-to-Have) 🟢
These issues enhance usability and enable advanced workflows. Can be deferred to post-1.0.
Git Workflow Enhancements
- [P3] Enhance GitWorkflowManager with PR creation #116 - Enhance GitWorkflowManager with PR creation
- [P3] Enhance GitWorkflowManager with merge conflict resolution #117 - Enhance GitWorkflowManager with merge conflict resolution
API Improvements
- [P3] Add API pagination support for large datasets #118 - Add API pagination support for large datasets
- [P3] Complete OpenAPI documentation for all endpoints #119 - Complete OpenAPI documentation for all endpoints
Misc Enhancements
- [Future] Implement by_day token usage aggregation in MetricsTracker #120 - Implement by_day token usage aggregation in MetricsTracker
- [Future] Implement workspace upload extraction #121 - Implement workspace upload extraction
- [Future] Parse issue dependencies from database storage #122 - Parse issue dependencies from database storage
- [Future] Implement custom SDK hooks for tool-specific metrics #123 - Implement custom SDK hooks for tool-specific metrics
Total P3 Issues: 8
Implementation Strategy
Phase 1: Agent Execution (Week 1-2)
Complete issues #98, #99, #100, #101 to enable actual autonomous task execution.
Outcome: Agents can execute tasks via Anthropic API with token tracking.
Phase 2: Project Lifecycle (Week 2-3)
Complete issues #102, #103, #107, #108 to enable full project management.
Outcome: Projects can start, pause, resume with proper state management.
Phase 3: Database Integration (Week 3-4)
Complete issues #104, #105, #106 to replace mock data with real persistence.
Outcome: Dashboard displays real data from database via API.
Phase 4: Quality Enforcement (Week 4-5)
Complete issues #109-112 to integrate existing quality enforcement components.
Outcome: Agents verify evidence before claiming completion, preventing bad code.
Phase 5: Testing & Validation (Week 5-6)
Complete issues #113-115 to ensure production readiness.
Outcome: Comprehensive test coverage with real integration tests.
Phase 6: Advanced Features (Post-1.0)
Address issues #116-123 as time permits.
Outcome: Enhanced workflows, better analytics, improved UX.
Success Criteria
✅ MVP Complete when:
- All P1 issues resolved
- Agents can execute tasks via Anthropic API
- Database integration complete (no mock data)
- WebSocket real-time updates working
✅ Production Ready when:
- All P1 + P2 issues resolved
- Quality enforcement integrated
- Integration tests verify all workflows
- Performance benchmarks established
✅ Feature Complete when:
- All issues (P1 + P2 + P3) resolved
- Advanced features implemented
- Documentation complete
References
- Issues Analysis:
CODEFRAME_ISSUES_ANALYSIS.md - User Documentation:
CODEFRAME_USER_DOCUMENTATION.md - Project Documentation:
CLAUDE.md
Progress Tracking
- Phase 1: Agent Execution (0/4 complete)
- Phase 2: Project Lifecycle (0/4 complete)
- Phase 3: Database Integration (0/3 complete)
- Phase 4: Quality Enforcement (0/4 complete)
- Phase 5: Testing & Validation (0/3 complete)
- Phase 6: Advanced Features (0/8 complete)
Total: 0/26 issues complete
Labels: meta, roadmap, documentation
Assignee: @frankbria