@thanh01.pmt/curriculum-kit 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3521,13 +3521,13 @@ Evaluate the candidate artifact across these 6 dimensions:
3521
3521
  - 0 pts: Missing critical sections.
3522
3522
 
3523
3523
  5. **Technical & Conceptual Accuracy (15 pts):**
3524
- - 15 pts: Code snippets, logic flows, architectural descriptions, and Mermaid diagrams are conceptually sound, valid, and free of syntax hallucinations.
3524
+ - 15 pts: Code snippets, logic flows, architectural descriptions, and Mermaid diagrams are conceptually sound and valid. If \`canonicalExposition\` or \`[KNOWLEDGE_EXPOSITION]\` is provided, content strictly adheres to canonical concepts without contradicting definitions or examples.
3525
3525
  - 8 pts: Minor syntax inaccuracies or unidiomatic code that does not break core concepts.
3526
- - 0 pts: Severe technical hallucinations, broken logic, or invalid diagrams.
3526
+ - 0 pts: Severe technical hallucinations, broken logic, invalid diagrams, or direct contradiction of canonical exposition knowledge.
3527
3527
 
3528
3528
  6. **Contract Consistency & Zero-Drift (10 pts):**
3529
- - 10 pts: Satellite artifact strictly adheres to the scope, tech stack, and objectives of Lesson ${lessonId} without introducing unrelated topics.
3530
- - 0-5 pts: Scope drift or topic divergence detected.
3529
+ - 10 pts: Satellite artifact strictly adheres to the scope, tech stack, and objectives of Lesson ${lessonId} without introducing unrelated topics. If \`canonicalLessonExcerpt\` is present in candidate JSON, all satellite phases/activities strictly operationalize the master Lesson Flow and Activity Sequence without inventing divergent timelines.
3530
+ - 0-5 pts: Scope drift, topic divergence, or disjoint activity sequence detected compared to master lesson.
3531
3531
 
3532
3532
  ## VERDICT RULES
3533
3533
  - **PASS:** Score >= 80 AND Language Adherence = true AND Standards Alignment >= 12 (when STANDARDS GROUND TRUTH is present).
@@ -7025,6 +7025,24 @@ function getArtifactSpecializedInvariants(type, req) {
7025
7025
  const studentCount = req.studentCount || "25";
7026
7026
  switch (type) {
7027
7027
  case "slide": {
7028
+ if (req.slidesEngine === "html") {
7029
+ return `
7030
+ ### \u{1F3AC} INTERACTIVE HTML SLIDE ENGINE CONTRACT:
7031
+ You generate structured slide decks for the LearnWell HTML Slide Presentation Engine.
7032
+ Output a single valid JSON object matching: { "title": "...", "theme": "ocean", "slides": [{ "layoutId": "hero-cover", "slots": { ... }, "notes": "..." }] }
7033
+
7034
+ Layout Presets available:
7035
+ - hero-cover (title, subtitle, presenter, date, tag)
7036
+ - two-column-split (col1Title, col1Items[], col2Title, col2Items[])
7037
+ - code-explainer (filename, language, code, highlightLines, annotations[])
7038
+ - metrics-3-card (card1Title, card1Val, card1Desc, ...)
7039
+ - process-flow (steps: [{ label, desc, status }])
7040
+ - quiz-checkpoint (question, options[], answerIdx, explanation)
7041
+ - tiered-practice-3cards (foundation, standard, challenge cards)
7042
+ - takeaways-summary (takeaways: bullet points)
7043
+
7044
+ Mandatory Presenter Notes on every slide with Talk Track, Cold-Call, and Scaffolding Tip.`;
7045
+ }
7028
7046
  const slideCount = cfg.slideCount || 10;
7029
7047
  const presentationStyle = cfg.presentationStyle || "modern";
7030
7048
  const presentationDuration = cfg.presentationDuration || 45;