@thanh01.pmt/curriculum-kit 1.4.41 → 1.4.43

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.
Files changed (115) hide show
  1. package/dist/ai/index.cjs +31 -31
  2. package/dist/ai/index.cjs.map +1 -1
  3. package/dist/ai/index.d.cts +77 -77
  4. package/dist/ai/index.d.ts +77 -77
  5. package/dist/ai/index.mjs +31 -31
  6. package/dist/ai/index.mjs.map +1 -1
  7. package/dist/index.cjs +301 -2034
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.d.cts +100 -154
  10. package/dist/index.d.ts +100 -154
  11. package/dist/index.mjs +297 -2014
  12. package/dist/index.mjs.map +1 -1
  13. package/dist/pipeline/index.cjs +31 -31
  14. package/dist/pipeline/index.cjs.map +1 -1
  15. package/dist/pipeline/index.mjs +31 -31
  16. package/dist/pipeline/index.mjs.map +1 -1
  17. package/dist/schemas/index.d.cts +1052 -1052
  18. package/dist/schemas/index.d.ts +1052 -1052
  19. package/dist/standards/index.d.cts +2 -2
  20. package/dist/standards/index.d.ts +2 -2
  21. package/dist/{standardsCoverageGate-CLnq0d0s.d.cts → standardsCoverageGate-49pJq5t8.d.cts} +12 -12
  22. package/dist/{standardsCoverageGate-CLnq0d0s.d.ts → standardsCoverageGate-49pJq5t8.d.ts} +12 -12
  23. package/dist/templates/ACT_template.md +58 -0
  24. package/dist/templates/ALIGNMENT_MATRIX_template.md +45 -0
  25. package/dist/templates/ART_DIRECTION_template.md +43 -0
  26. package/dist/templates/ASSET_MANIFEST_template.md +27 -0
  27. package/dist/templates/BASELINE_STANDARD.md +37 -0
  28. package/dist/templates/BELL_RINGER_template.md +108 -0
  29. package/dist/templates/CHANGELOG_template.md +19 -0
  30. package/dist/templates/CHOICE_BOARD_template.md +64 -0
  31. package/dist/templates/CODE_template.md +70 -0
  32. package/dist/templates/CONTENT_CONTINUITY_template.md +38 -0
  33. package/dist/templates/CONTENT_STYLE_GUIDE_template.md +49 -0
  34. package/dist/templates/CURRICULUM_FRAMEWORK_template.md +63 -0
  35. package/dist/templates/DEPENDENCY_MAP_template.md +65 -0
  36. package/dist/templates/EXIT_TICKET_template.md +85 -0
  37. package/dist/templates/EXT_template.md +35 -0
  38. package/dist/templates/GLOSSARY_template.md +108 -0
  39. package/dist/templates/GRAPHIC_ORGANIZER_template.md +100 -0
  40. package/dist/templates/GUIDE_template.md +56 -0
  41. package/dist/templates/HANDOUT_template.md +61 -0
  42. package/dist/templates/HANDOVER_DOCUMENT_template.md +69 -0
  43. package/dist/templates/KNOWLEDGE_EXPOSITION_template.md +56 -0
  44. package/dist/templates/LEARNER_PROFILE_template.md +51 -0
  45. package/dist/templates/LESSONS_LEARNED_template.md +49 -0
  46. package/dist/templates/LESSON_5E_template.md +127 -0
  47. package/dist/templates/LESSON_EDP_template.md +104 -0
  48. package/dist/templates/LESSON_GENERAL_template.md +117 -0
  49. package/dist/templates/OUTPUT_CONSTRAINTS_template.md +38 -0
  50. package/dist/templates/PACKAGING_SPEC_template.md +56 -0
  51. package/dist/templates/PILOT_FEEDBACK_template.md +49 -0
  52. package/dist/templates/PROJECT_BRIEF_template.md +45 -0
  53. package/dist/templates/PROJECT_STATUS_template.md +64 -0
  54. package/dist/templates/QUIZ_template.md +58 -0
  55. package/dist/templates/QUIZ_v4.6_template.md +65 -0
  56. package/dist/templates/REFERENCE_PACK_template.md +26 -0
  57. package/dist/templates/REVIEW_GAME_template.md +79 -0
  58. package/dist/templates/RUBRIC_template.md +54 -0
  59. package/dist/templates/SCIENCE_LAB_template.md +88 -0
  60. package/dist/templates/SLIDE_template.md +389 -0
  61. package/dist/templates/STATION_ROTATION_template.md +80 -0
  62. package/dist/templates/TASK_CARDS_template.md +111 -0
  63. package/dist/templates/TIERED_PRACTICE_template.md +114 -0
  64. package/dist/templates/UPDATE_ROADMAP_template.md +53 -0
  65. package/dist/templates/WKS_template.md +71 -0
  66. package/dist/workflow/index.cjs +99 -79
  67. package/dist/workflow/index.cjs.map +1 -1
  68. package/dist/workflow/index.d.cts +1 -1
  69. package/dist/workflow/index.d.ts +1 -1
  70. package/dist/workflow/index.mjs +97 -77
  71. package/dist/workflow/index.mjs.map +1 -1
  72. package/docs/refs/templates/ACT_template.md +58 -0
  73. package/docs/refs/templates/ALIGNMENT_MATRIX_template.md +45 -0
  74. package/docs/refs/templates/ART_DIRECTION_template.md +43 -0
  75. package/docs/refs/templates/ASSET_MANIFEST_template.md +27 -0
  76. package/docs/refs/templates/BASELINE_STANDARD.md +37 -0
  77. package/docs/refs/templates/BELL_RINGER_template.md +108 -0
  78. package/docs/refs/templates/CHANGELOG_template.md +19 -0
  79. package/docs/refs/templates/CHOICE_BOARD_template.md +64 -0
  80. package/docs/refs/templates/CODE_template.md +70 -0
  81. package/docs/refs/templates/CONTENT_CONTINUITY_template.md +38 -0
  82. package/docs/refs/templates/CONTENT_STYLE_GUIDE_template.md +49 -0
  83. package/docs/refs/templates/CURRICULUM_FRAMEWORK_template.md +63 -0
  84. package/docs/refs/templates/DEPENDENCY_MAP_template.md +65 -0
  85. package/docs/refs/templates/EXIT_TICKET_template.md +85 -0
  86. package/docs/refs/templates/EXT_template.md +35 -0
  87. package/docs/refs/templates/GLOSSARY_template.md +108 -0
  88. package/docs/refs/templates/GRAPHIC_ORGANIZER_template.md +100 -0
  89. package/docs/refs/templates/GUIDE_template.md +56 -0
  90. package/docs/refs/templates/HANDOUT_template.md +61 -0
  91. package/docs/refs/templates/HANDOVER_DOCUMENT_template.md +69 -0
  92. package/docs/refs/templates/KNOWLEDGE_EXPOSITION_template.md +56 -0
  93. package/docs/refs/templates/LEARNER_PROFILE_template.md +51 -0
  94. package/docs/refs/templates/LESSONS_LEARNED_template.md +49 -0
  95. package/docs/refs/templates/LESSON_5E_template.md +127 -0
  96. package/docs/refs/templates/LESSON_EDP_template.md +104 -0
  97. package/docs/refs/templates/LESSON_GENERAL_template.md +117 -0
  98. package/docs/refs/templates/OUTPUT_CONSTRAINTS_template.md +38 -0
  99. package/docs/refs/templates/PACKAGING_SPEC_template.md +56 -0
  100. package/docs/refs/templates/PILOT_FEEDBACK_template.md +49 -0
  101. package/docs/refs/templates/PROJECT_BRIEF_template.md +45 -0
  102. package/docs/refs/templates/PROJECT_STATUS_template.md +64 -0
  103. package/docs/refs/templates/QUIZ_template.md +58 -0
  104. package/docs/refs/templates/QUIZ_v4.6_template.md +65 -0
  105. package/docs/refs/templates/REFERENCE_PACK_template.md +26 -0
  106. package/docs/refs/templates/REVIEW_GAME_template.md +79 -0
  107. package/docs/refs/templates/RUBRIC_template.md +54 -0
  108. package/docs/refs/templates/SCIENCE_LAB_template.md +88 -0
  109. package/docs/refs/templates/SLIDE_template.md +389 -0
  110. package/docs/refs/templates/STATION_ROTATION_template.md +80 -0
  111. package/docs/refs/templates/TASK_CARDS_template.md +111 -0
  112. package/docs/refs/templates/TIERED_PRACTICE_template.md +114 -0
  113. package/docs/refs/templates/UPDATE_ROADMAP_template.md +53 -0
  114. package/docs/refs/templates/WKS_template.md +71 -0
  115. package/package.json +5 -3
@@ -0,0 +1,53 @@
1
+ ---
2
+ id: "{{ID}}"
3
+ title: "{{TITLE}}"
4
+ type: "UPDATE_ROADMAP"
5
+ created_by: "Curriculum OS Builder"
6
+ phase: "{{PHASE}}"
7
+ deliverable: "{{DELIVERABLE_CODE}}"
8
+ version: "{{VERSION}}"
9
+ date: "{{DATE}}"
10
+ ---
11
+
12
+ # CURRICULUM UPDATE ROADMAP
13
+
14
+ _Project: [Course Name / PRJ Code] | Current Version: v[1.0]_
15
+
16
+ ## 1. Update Triggers
17
+ _To avoid time-consuming minor updates, the team will only proceed with updates when the following conditions are met:_
18
+
19
+ - **[PATCH] Hotfix (Local Correction):**
20
+ - *Trigger:* Client reports bugs in code, dangerous/non-functional circuit diagrams, or severe typos.
21
+ - *SLA:* Handled within [X] working days.
22
+ - **[MINOR] Update v1.x (Pedagogical Refinement):**
23
+ - *Trigger:* Accumulated `PILOT_FEEDBACK` from at least [X] sessions, or after [Y] months of real-world implementation.
24
+ - *Scope:* Tone adjustment, example changes, activity swaps (No change to Learning Objectives).
25
+ - **[MAJOR] Update v2.x (Comprehensive Upgrade):**
26
+ - *Trigger:* Client renews contract for a new school year, major changes in national standards, or hardware/software upgrades (e.g., Scratch 3.0 to 4.0).
27
+ - *Scope:* Re-run process from Phase 1 (Learner Profile & Framework).
28
+
29
+ ---
30
+
31
+ ## 2. Planned Releases
32
+
33
+ ### 📌 Short-term: Update v1.1 (Post-Pilot)
34
+ - **Estimated Release:** [Month/Year, e.g., After Semester 1 ends]
35
+ - **Goal:** Patch difficulty gaps based on actual student feedback. Optimize practical timing.
36
+ - **Main Agent(s):** `@reviewer` (Feedback harvesting), `@content`, `@activity`.
37
+ - **Estimated Duration:** [X] days.
38
+
39
+ ### 📌 Long-term: Version v2.0 (Next Academic Year)
40
+ - **Estimated Release:** [Month/Year, e.g., Preparation for the next academic year]
41
+ - **Goal (Planned):**
42
+ - Upgrade platform from [Old Platform] to [New Platform].
43
+ - Add [X] new Modules on [AI/IoT/etc.].
44
+ - Expand target audience from [Grade X] to [Grade Y].
45
+ - **Main Agent(s):** `@analyst` and `@designer` to rework the Framework.
46
+ - **Estimated Duration:** [X] weeks.
47
+
48
+ ---
49
+
50
+ ## 3. Resources & Archiving
51
+ - The current version (v[1.0]) will be permanently archived at: `_snapshots/S2_v1.0_delivered_[DATE]/`.
52
+ - Clients using v1.0 can continue usage without mandatory upgrades unless hardware requirements change.
53
+ - All change histories are tracked in `CHANGELOG.md`.
@@ -0,0 +1,71 @@
1
+ ---
2
+ id: "{{ID}}"
3
+ title: "{{TITLE}}"
4
+ type: "WKS"
5
+ created_by: "Curriculum OS Builder"
6
+ phase: "{{PHASE}}"
7
+ deliverable: "P3-T7"
8
+ version: "{{VERSION}}"
9
+ date: "{{DATE}}"
10
+ template_contract: "artifact-template-v1"
11
+ template_required_sections:
12
+ - "Part 1: Knowledge Check"
13
+ - "Part 2: Concept Tracing & Diagram Fill-in"
14
+ - "Part 3: Code Analysis & Bug Hunting Challenge"
15
+ - "Part 4: Synthesis & Problem-Solving Application"
16
+ - "Part 5: Self-Reflection & Learning Log"
17
+ ---
18
+
19
+ # WORKSHEET: [LESSON TITLE]
20
+
21
+ **Student Name:** _______________________ **Class:** _______________ **Date:** _______________
22
+
23
+ > **For Students:** This document guides you step-by-step through the practical tasks. Read carefully, fill in the blanks, and mark the checkbox [x] once completed. If you encounter errors, refer back to your **HANDOUT**.
24
+
25
+ ## [REQUIRED] Part 1: Knowledge Check
26
+ > Warm-up — prior-knowledge retrieval. Link back to the previous lesson.
27
+
28
+ 1. **Fill in the blanks:**
29
+ - [Statement with _______________ blanks tied to prior lesson keywords.]
30
+
31
+ 2. **Match the concept:**
32
+ | Concept | Link | Meaning |
33
+ |---|---|---|
34
+ | 1. [Concept A] | 1 - __ | a. [Meaning A] |
35
+ | 2. [Concept B] | 2 - __ | b. [Meaning B] |
36
+
37
+ ## [REQUIRED] Part 2: Concept Tracing & Diagram Fill-in
38
+ > Trace data/control flow through this lesson's core mechanism. Fill the
39
+ > Mermaid/ASCII diagram blanks.
40
+
41
+ ```mermaid
42
+ graph LR
43
+ A[[[Fill: stage 1]]] --> B[[[Fill: stage 2]]]
44
+ B --> C[[[Fill: stage 3]]]
45
+ ```
46
+
47
+ - **Trace question:** [What flows from stage to stage? What transforms?]
48
+
49
+ ## [REQUIRED] Part 3: Code Analysis & Bug Hunting Challenge
50
+ > One complete, runnable snippet containing a real bug from this lesson's
51
+ > Common Mistakes. Students locate, explain, and fix it.
52
+
53
+ ```[language]
54
+ // [Snippet with an embedded lesson bug]
55
+ ```
56
+
57
+ - **Bug located at line:** ______
58
+ - **Why it fails:** [Student explanation]
59
+ - **Fix:** [Student correction]
60
+
61
+ ## [REQUIRED] Part 4: Synthesis & Problem-Solving Application
62
+ > Apply the lesson's skill to a fresh scenario — not a copy of the lab task.
63
+
64
+ - **Scenario:** [New situation requiring the same skill]
65
+ - **Your solution:** [Workspace / code area]
66
+
67
+ ## [REQUIRED] Part 5: Self-Reflection & Learning Log
68
+ - **I can now…** [Can-do statements mirroring the LESSON LO evidence — checkbox each]
69
+ - [ ] [Can-do statement 1]
70
+ - [ ] [Can-do statement 2]
71
+ - **Muddiest point:** [What is still unclear?]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thanh01.pmt/curriculum-kit",
3
- "version": "1.4.41",
3
+ "version": "1.4.43",
4
4
  "description": "A high-fidelity AI curriculum & content generation engine powered by Vercel AI SDK, Zod, and Bloom-aligned pedagogical standards.",
5
5
  "author": "Thanh Pham <https://github.com/thanh01pmt>",
6
6
  "license": "MIT",
@@ -56,14 +56,16 @@
56
56
  }
57
57
  },
58
58
  "files": [
59
- "dist"
59
+ "dist",
60
+ "docs/refs/templates"
60
61
  ],
61
62
  "publishConfig": {
62
63
  "access": "public"
63
64
  },
64
65
  "scripts": {
65
66
  "clean": "rm -rf dist",
66
- "build": "npm run clean && tsup",
67
+ "build": "npm run clean && tsup && node scripts/copy-templates.mjs && node scripts/verify-packaging.mjs",
68
+ "postpack": "node scripts/verify-packaging.mjs",
67
69
  "lint": "eslint . --ext .ts",
68
70
  "test": "vitest run",
69
71
  "test:academic": "vitest run src/__tests__/academic",