@thanh01.pmt/curriculum-kit 1.0.3 → 1.0.4

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.
package/dist/index.cjs CHANGED
@@ -10212,21 +10212,27 @@ footer: "Curriculum OS \u2022 ${lessonCode} (${pedagogyLabel})"
10212
10212
 
10213
10213
  MANDATORY 12-14 SLIDE MICRO-CYCLE STRUCTURE (Delimited by '---'):
10214
10214
  1. **Slide 1 [Title & Mission]:** ${lessonCode}: ${lessonTitle} + Real-world inquiry hook
10215
- 2. **Slide 2 [Agenda & Roadmap]:** Timing and milestone breakdown (${pedagogyLabel})
10216
- 3. **Slide 3 [Warm-Up / Prior Knowledge]:** Prerequisite recall and mental model activator
10217
- 4. **Slide 4 [High-Stakes Hook Scenario]:** Authentic engineering/domain crisis scenario
10218
- 5. **Slide 5 [Core Concept 1: Mental Model]:** Principle definition, core terminology, and analogy
10219
- 6. **Slide 6 [Architecture & Visual Flow]:** Clean Mermaid diagram (flowchart or sequenceDiagram)
10220
- 7. **Slide 7 [Core Concept 2: Syntax / Mechanism Anatomy]:** Breakdown of mechanics and key rules
10221
- 8. **Slide 8 [Executable Blueprint / Demonstration]:** Annotated runnable code or structured domain walkthrough
10222
- 9. **Slide 9 [Guided Practice: Try It Now]:** 3-5 minute active check (I Do -> We Do)
10223
- 10. **Slide 10 [Integrated Hands-On Lab]:** 3-tier differentiated challenge (Bronze / Silver / Gold)
10224
- 11. **Slide 11 [Traffic Light Checkpoint & Pitfalls]:** Formative self-check & top 2 student misconceptions
10225
- 12. **Slide 12 [Exit Ticket & Metacognition]:** Scenario-based check + 1 reflection question
10226
- 13. **Slide 13 [Summary & Next Steps]:** 3 core takeaways and preview of next milestone
10227
-
10228
- Rules:
10229
- - No empty slides or shallow bullet lists. Every slide must contain substantive pedagogical value, diagrams, or runnable snippets.
10215
+ 2. **Slide 2 [Agenda & Roadmap]:** Timing and milestone breakdown table (${pedagogyLabel})
10216
+ 3. **Slide 3 [Warm-Up / Prior Knowledge]:** 2-column recall + 60-second diagnostic challenge card
10217
+ 4. **Slide 4 [High-Stakes Hook Scenario]:** Authentic engineering/domain crisis card + dilemma constraint
10218
+ 5. **Slide 5 [Core Concept 1: Mental Model]:** Definition, intuitive everyday analogy, and golden rule card
10219
+ 6. **Slide 6 [Architecture & Visual Flow]:** Clean Mermaid diagram (flowchart or sequenceDiagram) + 3 flow steps
10220
+ 7. **Slide 7 [Core Concept 2: Syntax / Mechanism Anatomy]:** Side-by-side 6-10 lines runnable code + anatomy breakdown & syntax trap card
10221
+ 8. **Slide 8 [Guided Practice: Try It Now]:** 3-minute active desk task card with starter hint and success criteria
10222
+ 9. **Slide 9 [Integrated Hands-On Lab]:** 3-tier differentiated challenge cards (Bronze / Silver / Gold) + gotcha alert card
10223
+ 10. **Slide 10 [Traffic Light Checkpoint & Pitfalls]:** Formative self-check cards (\u{1F7E2}/\u{1F7E1}/\u{1F534}) & diagnostic test question
10224
+ 11. **Slide 11 [Exit Ticket & Metacognition]:** 2 scenario-based check questions + 1 metacognitive reflection prompt
10225
+ 12. **Slide 12 [Summary & Next Steps]:** 3 core golden rules + preview card of next upcoming milestone
10226
+
10227
+ Mandatory Canvas & Presentation Invariants:
10228
+ - A slide is an INTERACTIVE PROJECTION CANVAS, NOT a textbook! Absolutely NO dense paragraphs or walls of text.
10229
+ - Follow the 6x6 rule: Maximum 4-6 bullet points per slide, maximum 8-12 words per bullet.
10230
+ - Structure slides using \`<div class="columns"><div>...</div><div>...</div></div>\` and \`<div class="card">\`, \`<div class="card highlight">\`, \`<div class="card warning">\`, \`<div class="card success">\`.
10231
+ - MANDATORY PRESENTER NOTES ON EVERY SLIDE: Every slide MUST end with \`<!-- Presenter Notes: ... -->\` containing:
10232
+ * SCRIPT: 60-90s teacher talk track with intuitive analogies.
10233
+ * COLD CALL / CHECK: Specific diagnostic question to ask students.
10234
+ * SCAFFOLDING / GOTCHA: Guidance for students who get stuck.
10235
+ * PACING: Recommended minutes for the slide.
10230
10236
  - Output 100% valid Marp Markdown.`;
10231
10237
  const rawSlide = await runCurriculumAIInference(
10232
10238
  [{ role: "user", content: slidePrompt }],
@@ -10964,20 +10970,25 @@ function getArtifactSpecializedInvariants(type, req) {
10964
10970
  - Pacing: Target total duration is ${presentationDuration} minutes (~${Math.round(Number(presentationDuration) / Number(slideCount))} mins per slide).
10965
10971
  - Visual Style: "${presentationStyle.toUpperCase()}". Maintain high visual clarity, contrasting accents, and executive polish.
10966
10972
  2. **STRICT CONCISENESS & 6x6 RULE (ABSOLUTELY NO TEXT WALLS)**:
10967
- - A slide is a VISUAL PROJECTION CANVAS, NOT a textbook or lesson plan!
10973
+ - A slide is an INTERACTIVE PROJECTION CANVAS, NOT a textbook or lesson plan!
10968
10974
  - Maximum 4\u20136 bullet points per slide.
10969
10975
  - Maximum 8\u201312 words per bullet point. Forbid dense multi-sentence paragraphs on the slide surface.
10970
10976
  3. **SPEAKER NOTES FOR ALL SPOKEN WORDS (<!-- Presenter Notes: ... -->)**:
10971
- ${includeSpeakerNotes ? "- MANDATORY: Every single slide MUST contain comprehensive presenter notes in `<!-- Presenter Notes: ... -->` at the bottom, giving the teacher the exact verbal talking points, analogies, and pacing tips." : "- Optional brief presenter notes."}
10972
- 4. **CLICK-TO-REVEAL SYSTEM**:
10977
+ ${includeSpeakerNotes ? `- MANDATORY: Every single slide MUST contain structured presenter notes in \`<!-- Presenter Notes: ... -->\` at the bottom:
10978
+ - SCRIPT: 60-90s teacher talk track with intuitive analogies.
10979
+ - COLD CALL / CHECK: Diagnostic question to ask students.
10980
+ - SCAFFOLDING / GOTCHA: How to resolve student misconceptions.
10981
+ - PACING: Recommended minutes for the slide.` : "- Optional brief presenter notes."}
10982
+ 4. **2-COLUMN & CALLOUT CARD LAYOUTS**:
10983
+ - Use \`<div class="columns"><div>...</div><div>...</div></div>\` for comparisons, code vs. mechanics, or side-by-side tasks.
10984
+ - Use \`<div class="card">\`, \`<div class="card highlight">\`, \`<div class="card warning">\`, and \`<div class="card success">\` for scannable chunking.
10985
+ 5. **CLICK-TO-REVEAL SYSTEM**:
10973
10986
  - Use \`<!-- clicks -->\` before bulleted lists (\`<ul>\` or \`<ol>\`) for incremental click-to-reveal.
10974
10987
  - Use \`<!-- click -->\` before answers, code reveals, or key callouts.
10975
- 5. **2-COLUMN / SPLIT LAYOUT**:
10976
- - Use <div class="columns"><div>...</div><div>...</div></div> for side-by-side concept vs. code or problem vs. solution comparisons.
10977
10988
  6. **CONCISE CODE SNIPPETS**:
10978
10989
  - Maximum 6\u201310 lines of clean code per snippet with inline comments. Never paste whole files.
10979
10990
  7. **MERMAID VISUALS**:
10980
- - Use Mermaid flowcharts or sequence diagrams for workflows and control loops.`;
10991
+ - Use Mermaid flowcharts (\`graph TD\` or \`graph LR\`) or sequence diagrams for workflows and control loops.`;
10981
10992
  }
10982
10993
  case "tiered_practice": {
10983
10994
  const techStack = cfg.techStack || (req.hardwarePlatform?.[0] || "Modern Programming Language");