|
26 | 26 | > Following major architectural refactoring in October 2025-10, the codebase now features factories, utilities, and centralized configurations that enable rapid feature development. |
27 | 27 |
|
28 | 28 | ### 2.1. Rhea: Core Platform |
29 | | -<details><summary>Status: ~90% MVP</summary> |
| 29 | +<details><summary>Status: ~95% MVP</summary> |
30 | 30 | <ul> |
31 | 31 | <li>Foundation complete</li> |
32 | 32 | <li>Component architecture established</li> |
33 | | - <li>UI polish ongoing (dark mode, British English, emoji removal pending)</li> |
| 33 | + <li>✅ British English enforcement in AI generation</li> |
| 34 | + <li>✅ Emoji removed from UI and build scripts</li> |
| 35 | + <li>UI polish ongoing (dark mode pending)</li> |
34 | 36 | </ul> |
35 | 37 | </details> |
36 | 38 |
|
37 | 39 | <details><summary>Implemented</summary> |
38 | 40 | <p>The platform provides a hub-based navigation structure with module-specific colour palettes and centralized error handling.</p> |
39 | 41 | <p>Recent work focused on establishing reusable patterns for state management (<code>persistedStore()</code>), AI client configuration (agent factories), and prompt construction (composable prompt components).</p> |
| 42 | + <p>✅ <strong>British English enforcement</strong>: All AI-generated content now uses British spelling and terminology via <code>buildBritishEnglishInstructions()</code> integrated into all prompt factories.</p> |
| 43 | + <p>✅ <strong>Professional UI polish</strong>: Removed 54+ emoji instances from UI components and build scripts; improved accessibility and CI/CD compatibility.</p> |
40 | 44 | </details> |
41 | 45 |
|
42 | 46 | <details><summary>Next Up</summary> |
|
60 | 64 | <li>✅ Structure review interface with editable narratives</li> |
61 | 65 | <li>✅ <code>localStorage</code> persistence for auto-save/restore</li> |
62 | 66 | <li>✅ Module generation orchestration (ModuleGenerationList refactored: 896→441 lines)</li> |
63 | | - <li>✅ <strong>NEW:</strong> Component breakdown (ProgressSummary, ModuleCard, ArcSection, ModulePreviewModal)</li> |
64 | | - <li>✅ <strong>NEW:</strong> Centralized store utilities (moduleStoreHelpers.ts)</li> |
| 67 | + <li>✅ Component breakdown (ProgressSummary, ModuleCard, ArcSection, ModulePreviewModal)</li> |
| 68 | + <li>✅ Centralized store utilities (moduleStoreHelpers.ts)</li> |
| 69 | + <li>✅ <strong>NEW:</strong> Module coherence system with overview-first generation</li> |
| 70 | + <li>✅ <strong>NEW:</strong> Smart title system (undefined/prompt/literal modes)</li> |
| 71 | + <li>✅ <strong>NEW:</strong> Knowledge context builder for cumulative learner progression</li> |
65 | 72 | <li>✅ Course-aware module generation API endpoint (193 lines)</li> |
66 | 73 | <li>✅ Course context integration in prompt factory</li> |
67 | 74 | <li>✅ CourseOverview component for final review and export (1462 lines)</li> |
|
72 | 79 |
|
73 | 80 | <details><summary>Next Up</summary> |
74 | 81 | <ul> |
75 | | - <li>Course XML schema validation</li> |
76 | | - <li>Module-to-module coherence improvements (highest priority)</li> |
| 82 | + <li>Course XML schema validation (highest priority)</li> |
77 | 83 | <li>Technical debt resolution (SSE, error handling)</li> |
78 | 84 | <li>UI polish improvements</li> |
79 | 85 | </ul> |
|
205 | 211 | > [!NOTE] |
206 | 212 | > The 5 most significant or important tasks to tackle next. |
207 | 213 |
|
208 | | -1. **[Radically improve module-to-module coherence](Themis-MVP.md#2-mvp-milestones)** (Themis 2.1) - Insert interstitial step for generating module overviews first, build learner knowledge context |
209 | | -2. **[Add Course XML Schema and Validator](Themis-MVP.md#2-mvp-milestones)** (Themis 2.2) - Define course-level XML schema wrapping multiple modules |
210 | | -3. **[Implement Export Functionality](Themis-MVP.md#2-mvp-milestones)** (Themis 2.3) - XML export for complete course (Theia integration) |
211 | | -4. **[Add Dark Mode to UI](Rhea-MVP.md#112-other-tasks)** (Rhea 1.1.2.2) - User-selectable light/dark/system theme with dark palettes |
212 | | -5. **[Implement Metis boilerplate text insertion](Metis-MVP.md)** - Add standard module text sections |
| 214 | +1. **[Add Course XML Schema and Validator](Themis-MVP.md#2-mvp-milestones)** (Themis 2.2) - Define course-level XML schema wrapping multiple modules with validation |
| 215 | +2. **[Implement XML Export Functionality](Themis-MVP.md#2-mvp-milestones)** (Themis 2.3) - Complete course XML export (depends on 2.2) |
| 216 | +3. **[Add Dark Mode to UI](Rhea-MVP.md#1a2-other-tasks)** (Rhea 1a2b) - User-selectable light/dark/system theme with dark palettes for all workflows |
| 217 | +4. **[Implement Metis boilerplate text insertion](Metis-MVP.md)** - Add standard module text sections for consistent structure |
| 218 | +5. **[Address ARIA violations](Rhea-MVP.md#2-mvp-milestones)** (Rhea 2b) - Improve accessibility across all workflow components |
213 | 219 |
|
214 | 220 | --- |
215 | 221 |
|
216 | 222 | ## 4. Recent Wins |
217 | 223 | > [!NOTE] |
218 | 224 | > 7 most recent achievements in this codebase |
219 | 225 |
|
220 | | -1. **[British English & Emoji Cleanup](Rhea-MVP.md#4a3-british-english--emoji-cleanup--completed-2025-10-28)** (2025-10-28) - Added British English instructions to all prompt factories (Metis standalone, course-aware, overview; Themis structure). Removed emoji from build scripts. All AI-generated content now uses British spelling/terminology consistently (49 lines changed, zero breaking changes). |
221 | | -2. **[Roadmap Maintenance & Technical Debt Documentation](README.md)** (2025-10-28) - Updated all active roadmaps with current task status, moved completed items to work record (timeout extraction, UI improvements, component organization), documented remaining technical debt in Themis (SSE parsing vulnerability, race conditions, error handling gaps) |
222 | | -3. **[Themis: Component Refactoring Complete](Themis-MVP.md#411-break-over-large-themis-components-into-subcomponents--completed-2025-10-27)** (2025-10-27) - Split 896-line ModuleGenerationList into focused components (ProgressSummary, ModuleCard, ArcSection, ModulePreviewModal) and centralized store utilities. Main component reduced 51%, improved maintainability and testability. |
223 | | -4. **[Themis: Complete Module Generation Workflow](Themis-MVP.md#410-complete-module-generation-workflow-steps-5-6--completed-2025-10-25)** (2025-10-25) - End-to-end course generation complete: ModuleGenerationList (897 lines), course-aware API endpoint (193 lines), CourseOverview (1462 lines), SSE streaming, and Theia export integration |
224 | | -5. **[Rhea: Palette System Overhaul](Rhea-MVP.md#21-overhaul-palette-system--completed-2025-10-25)** (2025-10-25) - Complete refactor establishing single source of truth at `src/lib/config/palettes/`, build-time CSS generation, 56 files converted, 2,817 insertions |
225 | | -6. **[Theia: Course Structure Upload (JSON)](Theia-MVP.md#412-course-structure-upload-json--completed-2025-10-24)** (2025-10-24) - Complete JSON upload workflow with validation, drag-and-drop interface, and round-trip capability (Themis → export → upload → continue). Theia branding with magenta/cyan palette (2,417 lines) |
226 | | -7. **[Theia: Content Preview & Export complete](Theia-MVP.md#411-core-export-functionality--completed-2025-10-23)** (2025-10-23) - Production-ready export system with Markdown/HTML/JSON formats, configurable detail levels, and selective section export (2,813 lines) |
| 226 | +1. **[Themis: Module Coherence with Overview-First Generation](Themis-MVP.md#412-radically-improve-module-to-module-coherence--completed-2025-10-2728)** (2025-10-27/28) - Implemented two-phase workflow: smart title system (undefined/prompt/literal modes) and lightweight module overviews before full generation. Knowledge context builder tracks learner progression cumulatively, reducing content repetition. Review 10 overviews in ~5min vs 10 full modules in ~20min. 1,479 insertions across 21 files (PR #27). |
| 227 | +2. **[British English & Emoji Cleanup](Rhea-MVP.md#4a3-british-english--emoji-cleanup--completed-2025-10-28)** (2025-10-28) - Added British English instructions to all prompt factories (Metis standalone, course-aware, overview; Themis structure). Removed emoji from build scripts. All AI-generated content now uses British spelling/terminology consistently (49 lines changed, zero breaking changes). |
| 228 | +3. **[Roadmap Maintenance & Technical Debt Documentation](README.md)** (2025-10-28) - Updated all active roadmaps with current task status, moved completed items to work record (timeout extraction, UI improvements, component organization), documented remaining technical debt in Themis (SSE parsing vulnerability, race conditions, error handling gaps) |
| 229 | +4. **[Themis: Component Refactoring Complete](Themis-MVP.md#411-break-over-large-themis-components-into-subcomponents--completed-2025-10-27)** (2025-10-27) - Split 896-line ModuleGenerationList into focused components (ProgressSummary, ModuleCard, ArcSection, ModulePreviewModal) and centralized store utilities. Main component reduced 51%, improved maintainability and testability. |
| 230 | +5. **[Themis: Complete Module Generation Workflow](Themis-MVP.md#4111-complete-module-generation-workflow-steps-5-6--completed-2025-10-25)** (2025-10-25) - End-to-end course generation complete: ModuleGenerationList (897 lines), course-aware API endpoint (193 lines), CourseOverview (1462 lines), SSE streaming, and Theia export integration |
| 231 | +6. **[Rhea: Palette System Overhaul](Rhea-MVP.md#4a2-overhaul-palette-system--completed-2025-10-25)** (2025-10-25) - Complete refactor establishing single source of truth at `src/lib/config/palettes/`, build-time CSS generation, 56 files converted, 2,817 insertions |
| 232 | +7. **[Theia: Course Structure Upload (JSON)](Theia-MVP.md#412-course-structure-upload-json--completed-2025-10-24)** (2025-10-24) - Complete JSON upload workflow with validation, drag-and-drop interface, and round-trip capability (Themis → export → upload → continue). Theia branding with magenta/cyan palette (2,417 lines) |
0 commit comments