|
52 | 52 | ### 2.2. Workflow Modules |
53 | 53 |
|
54 | 54 | #### 2.2.1. Themis: Course Builder |
55 | | -<details><summary>Status: ~95% MVP ✅</summary> |
56 | | - <p>End-to-end workflow complete, component refactoring complete, technical debt identified, polish pending</p> |
| 55 | +<details><summary>Status: 100% MVP ✅</summary> |
| 56 | + <p>End-to-end workflow complete, component refactoring complete, XML export implemented, polish pending</p> |
57 | 57 | </details> |
58 | 58 |
|
59 | 59 | <details><summary>Implemented</summary> |
|
72 | 72 | <li>✅ Course-aware module generation API endpoint (193 lines)</li> |
73 | 73 | <li>✅ Course context integration in prompt factory</li> |
74 | 74 | <li>✅ CourseOverview component for final review and export (1462 lines)</li> |
75 | | - <li>📋 Course XML schema and export functionality (pending)</li> |
| 75 | + <li>✅ <strong>NEW:</strong> Course XML schema and validator (courseSchema.xml, courseValidator.ts)</li> |
| 76 | + <li>✅ <strong>NEW:</strong> Comprehensive validation with temporal consistency checks (15 test cases)</li> |
| 77 | + <li>✅ <strong>NEW:</strong> Complete course XML export with embedded module specifications</li> |
| 78 | + <li>✅ <strong>NEW:</strong> Pre-download validation with user feedback banners</li> |
| 79 | + <li>✅ <strong>NEW:</strong> Export button with success/error validation in CourseOverview</li> |
76 | 80 | <li>📋 Technical debt: SSE parsing vulnerability, race conditions, error handling improvements</li> |
77 | 81 | </ul> |
78 | 82 | </details> |
79 | 83 |
|
80 | 84 | <details><summary>Next Up</summary> |
81 | 85 | <ul> |
82 | | - <li>Course XML schema validation (highest priority)</li> |
83 | 86 | <li>Technical debt resolution (SSE, error handling)</li> |
84 | 87 | <li>UI polish improvements</li> |
| 88 | + <li>Dark mode implementation</li> |
85 | 89 | </ul> |
86 | 90 | </details> |
| 91 | +</text> |
| 92 | + |
| 93 | +<old_text line=158> |
| 94 | +## 3. Next Milestones |
| 95 | +> [!NOTE] |
| 96 | +> The 5 most significant or important tasks to tackle next. |
| 97 | +
|
| 98 | +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 |
| 99 | +2. **[Implement XML Export Functionality](Themis-MVP.md#2-mvp-milestones)** (Themis 2.3) - Complete course XML export (depends on 2.2) |
| 100 | +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 |
| 101 | +4. **[Implement Metis boilerplate text insertion](Metis-MVP.md)** - Add standard module text sections for consistent structure |
| 102 | +5. **[Address ARIA violations](Rhea-MVP.md#2-mvp-milestones)** (Rhea 2b) - Improve accessibility across all workflow components |
87 | 103 |
|
88 | 104 | #### 2.2.2. Tethys: Arc Designer |
89 | 105 | <details><summary>Status: 0% MVP</summary> |
|
211 | 227 | > [!NOTE] |
212 | 228 | > The 5 most significant or important tasks to tackle next. |
213 | 229 |
|
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 |
| 230 | +1. **[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 |
| 231 | +2. **[Implement Metis boilerplate text insertion](Metis-MVP.md)** - Add standard module text sections for consistent structure |
| 232 | +3. **[Address ARIA violations](Rhea-MVP.md#2-mvp-milestones)** (Rhea 2b) - Improve accessibility across all workflow components |
| 233 | +4. **[Resolve Technical Debt in Themis](Themis-MVP.md#1-tasks)** - Fix SSE parsing vulnerability, race conditions, and error handling gaps |
| 234 | +5. **[Implement Module XML Upload in Theia](Theia-MVP.md)** - Upload module XML to continue in Metis or preview/export |
219 | 235 |
|
220 | 236 | --- |
221 | 237 |
|
222 | 238 | ## 4. Recent Wins |
223 | 239 | > [!NOTE] |
224 | 240 | > 7 most recent achievements in this codebase |
225 | 241 |
|
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) |
| 242 | +1. **[Themis: Complete Course XML Export](Themis-MVP.md#2-mvp-milestones)** (2025-10-28) - Implemented complete course XML export with embedded module specifications. Generates validatable XML matching courseSchema.xml, validates before download, and provides user feedback via success/error banners. Export button in CourseOverview with automatic validation. Themis MVP now 100% feature-complete. 575 lines across 3 files: outputSerialiser.ts (rewrite), CourseOverview.svelte (+127 lines), documentation. |
| 243 | +2. **[Themis: Course XML Schema and Validator](Themis-MVP.md#2-mvp-milestones)** (2025-10-28) - Created comprehensive course XML schema with hierarchical structure (Course → Arcs → Modules → Specifications). Implemented validator with temporal consistency checks, cardinality constraints, and 15 test cases. Validates complete courses including embedded module specifications. 1,652 lines across 4 files: schema template, validator, tests, and documentation. Task 2.2 complete, unblocks XML export implementation. |
| 244 | +2. **[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). |
| 245 | +3. **[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). |
| 246 | +4. **[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) |
| 247 | +5. **[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. |
| 248 | +6. **[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 |
| 249 | +7. **[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 |
0 commit comments