🎯 Overview
Implement interactive AI-driven PRD generation to replace basic codeframe prd add <file.md> functionality. This is identified as the single most critical gap that would impact 100% of users trying to use the enhanced MVP workflow.
🚨 Critical Blocker Details
Current State: Only codeframe prd add <file.md> exists for manual PRD upload
Problem: Enhanced MVP requires AI-driven discovery with:
- Interactive AI sessions asking contextual questions
- Requirement gathering and constraint identification
- Comprehensive PRD generation with technical specs and user stories
- Iterative refinement based on user feedback
- PRD versioning and change tracking
📋 Implementation Requirements
Phase 1: Discovery Session Framework
Phase 2: PRD Generation Engine
Phase 3: Iterative Refinement System
Phase 4: CLI Integration
🔗 Dependencies
- Requires `codeframe prd generate` to work with existing task generation
- Needs credential management system for AI access
- Should integrate with workspace state management
- Must maintain compatibility with current state machine
✅ Acceptance Criteria
🎯 Success Metrics
- Reduced friction for new projects starting with CodeFRAME
- Higher quality PRDs generated through AI-guided discovery
- Improved project understanding and requirement clarity
- Reduced need for manual PRD creation and editing
📚 References
- Enhanced MVP specification: `docs/GOLDEN_PATH.md`
- Gap analysis: `docs/GAP_ANALYSIS_SUMMARY.md`
- Implementation plan: `docs/CRITICAL_GAP_IMPLEMENTATION_PLAN.md`
- Current PRD system: `codeframe/core/prd.py`
This is the highest priority implementation as it enables the entire enhanced MVP workflow and removes the primary barrier to user adoption.
🎯 Overview
Implement interactive AI-driven PRD generation to replace basic
codeframe prd add <file.md>functionality. This is identified as the single most critical gap that would impact 100% of users trying to use the enhanced MVP workflow.🚨 Critical Blocker Details
Current State: Only
codeframe prd add <file.md>exists for manual PRD uploadProblem: Enhanced MVP requires AI-driven discovery with:
📋 Implementation Requirements
Phase 1: Discovery Session Framework
Phase 2: PRD Generation Engine
Phase 3: Iterative Refinement System
Phase 4: CLI Integration
🔗 Dependencies
✅ Acceptance Criteria
🎯 Success Metrics
📚 References
This is the highest priority implementation as it enables the entire enhanced MVP workflow and removes the primary barrier to user adoption.