@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,70 @@
1
+ ---
2
+ id: "{{ID}}"
3
+ title: "{{TITLE}}"
4
+ type: "CODE"
5
+ created_by: "Curriculum OS Builder"
6
+ phase: "P3"
7
+ deliverable: "P3-T3"
8
+ version: "{{VERSION}}"
9
+ date: "{{DATE}}"
10
+ template_contract: "artifact-template-v1"
11
+ template_required_sections:
12
+ - "Technical Overview & Architecture Blueprint"
13
+ - "Hardware Pinout & Wiring Configuration Matrix"
14
+ - "Starter Code Sandbox"
15
+ - "Verified Reference Solution Code"
16
+ - "Automated Test / Verification Script"
17
+ - "Common Syntax & Runtime Pitfalls Matrix"
18
+ ---
19
+
20
+ # CODE LAB: [LESSON TITLE]
21
+
22
+ ## [REQUIRED] Technical Overview & Architecture Blueprint
23
+ > How the code in this lab is structured and why. Reference the canonical
24
+ > identifiers (files, types, functions) from the LESSON Code Symbol Ledger —
25
+ > use those exact names, do not invent alternatives.
26
+
27
+ - **Architecture:** [Mermaid or ASCII diagram of the components/data flow]
28
+ - **Key decisions:** [2-4 bullets on design choices students should notice]
29
+
30
+ ## [CONDITIONAL] Hardware Pinout & Wiring Configuration Matrix
31
+ > INCLUDE this section ONLY for lessons whose activity contract involves
32
+ > physical hardware wiring. For pure software / theory lessons, OMIT the
33
+ > entire section — do not emit placeholder wiring tables.
34
+
35
+ | Component | Pin / Connection | Notes |
36
+ |---|---|---|
37
+ | [Component] | [Pin] | [Why this wiring] |
38
+
39
+ ## [REQUIRED] Starter Code Sandbox
40
+ > Skeleton the students start from, with explicit TODO comments marking every
41
+ > point they must implement.
42
+
43
+ ```[language]
44
+ // [Starter code with TODO markers]
45
+ ```
46
+
47
+ ## [REQUIRED] Verified Reference Solution Code
48
+ > 100% syntactically valid, production-ready, fully commented. Must satisfy
49
+ > the verification script below.
50
+
51
+ ```[language]
52
+ // [Complete reference solution]
53
+ ```
54
+
55
+ ## [REQUIRED] Automated Test / Verification Script
56
+ > How to compile / run / verify: exact commands and expected output.
57
+
58
+ ```bash
59
+ # [Verify commands]
60
+ ```
61
+
62
+ - **Expected result:** [What success looks like]
63
+
64
+ ## [REQUIRED] Common Syntax & Runtime Pitfalls Matrix
65
+ > Extract the Common Mistakes table VERBATIM from the canonical knowledge
66
+ > context (KX). Do not re-invent or paraphrase — one canonical list per lesson.
67
+
68
+ | Pitfall | Symptom | Fix |
69
+ |---|---|---|
70
+ | [From KX Common Mistakes] | [What the student sees] | [Concrete correction] |
@@ -0,0 +1,38 @@
1
+ ---
2
+ id: "UNIT_CODE-CONTINUITY"
3
+ title: "Content Continuity: [PROJECT_NAME]"
4
+ type: "CONTENT_CONTINUITY"
5
+ created_by: "Antigravity"
6
+ phase: "P3"
7
+ deliverable: "P3-CONT"
8
+ version: "v2.1"
9
+ date: "YYYY-MM-DD"
10
+ ---
11
+
12
+ # CONTENT CONTINUITY: [PROJECT_NAME]
13
+
14
+ ## 1. Storyline & Character Development
15
+ - **Main Character:** [Character name, e.g., Jarvis, Explorer...]
16
+ - **Evolution:**
17
+ - [Describe how the storyline develops across Units]
18
+
19
+ ## 2. Pedagogical Analogies & Concepts
20
+
21
+ ### Unit [XX]: [Topic Name]
22
+ | Lesson | Concept | Analogy | Notes |
23
+ |:---:|---|---|---|
24
+ | U01_M01_L01 | [Concept] | **[Analogy]** | [Notes] |
25
+
26
+ ## 3. Multimedia Assets Log
27
+ | Asset ID | Tier | Type | Content Description |
28
+ |---|:---:|:---:|---|
29
+ | [ID] | [1-4] | [Image/Video] | [Description] |
30
+
31
+ ## 4. Hardware & Materials Used
32
+ | Component | First Seen | Role in Storyline |
33
+ |---|---|---|
34
+ | [Component] | [Lesson ID] | [Role in storyline] |
35
+
36
+ ---
37
+ - **Global Standard:** v2.1 (Consistency Core).
38
+ - **Last Sync:** YYYY-MM-DD.
@@ -0,0 +1,49 @@
1
+ ---
2
+ id: "{{ID}}"
3
+ title: "{{TITLE}}"
4
+ type: "CONTENT_STYLE_GUIDE"
5
+ created_by: "Curriculum OS Builder"
6
+ phase: "{{PHASE}}"
7
+ deliverable: "P2-T3"
8
+ version: "{{VERSION}}"
9
+ date: "{{DATE}}"
10
+ template_contract: "artifact-template-v1"
11
+ template_required_sections:
12
+ - "Voice & Tone"
13
+ - "Standard Terminology (Glossary)"
14
+ - "Examples & Context Rules"
15
+ - "Lesson Content Standards"
16
+ ---
17
+
18
+ # CONTENT STYLE GUIDE
19
+
20
+
21
+ ## [REQUIRED] Voice & Tone
22
+ - **Primary Persona:** [E.g., Encouraging mentor / Professional engineer / Storyteller]
23
+ - **Target Audience Toning:** [E.g., Simple language for kids, technical rigor for seniors]
24
+ - **Prohibited Phrases:** [E.g., "This is easy", "Just click this"]
25
+
26
+ ## [REQUIRED] Standard Terminology (Glossary)
27
+ | Concept (English) | Standard Translation | Synonyms to Avoid | Context Notes |
28
+ |---|---|---|---|
29
+ | Variable | [translation] | [avoid] | Use the glossary translation for clarity |
30
+ | Loop | [translation] | [avoid] | Avoid the non-coding term in coding context |
31
+ | Debug | [translation] | [avoid] | Use the glossary translation for professionalism |
32
+
33
+ ## [REQUIRED] Examples & Context Rules
34
+ - **Preferred Sources:** [E.g., Vietnamese daily life, urban/rural student context, popular games]
35
+ - **Prohibited Contexts:** [E.g., Violence, military, weapons, religion, politics, heavy winter/snow examples for tropical regions]
36
+ - **Explanation Structure:** [E.g., Analogy first -> Technical application second]
37
+
38
+ ## [REQUIRED] Lesson Content Standards
39
+ _Every lesson written by @content must follow this flow:_
40
+ 1. **Warm-up / Hook:** [Scenario-based, e.g., opening question, short story]
41
+ 2. **Core Concepts:** [Maximum paragraphs per concept, use of bullet points]
42
+ 3. **Guided Practice:** [Code snippets with line-by-line comments]
43
+ 4. **Independent Practice:** [Space reserved for @activity inclusion]
44
+ 5. **Wrap-up & Checkpoint:** [Summary format, formative quiz type]
45
+
46
+ ## [OPTIONAL] Formatting & Code
47
+ - **Code Blocks:** [E.g., Always use \`\`\`python, detailed comments on important functions]
48
+ - **Visuals:** [E.g., Prefer Mermaid diagrams for algorithmic flowcharts]
49
+ - **Markdown:** [E.g., Use **bold** for new keywords, `inline code` for variable names]
@@ -0,0 +1,63 @@
1
+ ---
2
+ id: "{{ID}}"
3
+ title: "{{TITLE}}"
4
+ type: "CURRICULUM_FRAMEWORK"
5
+ created_by: "Curriculum OS Builder"
6
+ phase: "{{PHASE}}"
7
+ deliverable: "P2-T1"
8
+ version: "{{VERSION}}"
9
+ date: "{{DATE}}"
10
+ template_contract: "artifact-template-v1"
11
+ template_required_sections:
12
+ - "Course Overview"
13
+ - "Global Learning Objectives"
14
+ - "Structural Hierarchy (Unit & Module)"
15
+ - "Scope & Sequence (Detailed Roadmap)"
16
+ - "Standard Lesson Format"
17
+ ---
18
+
19
+ # CURRICULUM FRAMEWORK
20
+
21
+ _Based on: LEARNER_PROFILE.md v[X]_
22
+
23
+ ## [REQUIRED] Course Overview
24
+ - **Official Course Name:** [Name]
25
+ - **Short Description:** [1–2 sentences for client/marketing materials]
26
+ - **Primary Platform/Tools:** [E.g., Arduino Uno, Scratch 3.0, Python]
27
+ - **Total Units:** [Number]
28
+ - **Total Lessons:** [Number]
29
+ - **Total Duration:** [Calculated in minutes/hours]
30
+
31
+ ## [REQUIRED] Global Learning Objectives
32
+ By the end of this course, students will be able to:
33
+ 1. [Bloom Verb + Specific Content + Condition]
34
+ 2. [Bloom Verb + Specific Content + Condition]
35
+ 3. [Bloom Verb + Specific Content + Condition]
36
+ _Note: Each objective must be measurable and observable._
37
+
38
+ ## [REQUIRED] Structural Hierarchy (Unit & Module)
39
+ | Unit (UXX) | Module (UXXMYY) | Lessons | Module Objective | Lesson Codes |
40
+ |---|---|:---:|---|---|
41
+ | U01: [Unit 1 Name] | U01_M01: [Module Name] | [Qty] | [Specific objectives for U01_M01] | U01_M01_L01 – U01_M01_L03 |
42
+ | U02: [Unit 2 Name] | U02_M01: [Module Name] | [Qty] | [Specific objectives for U02_M01] | U02_M01_L01 – U02_M01_L04 |
43
+
44
+ ## [REQUIRED] Scope & Sequence (Detailed Roadmap)
45
+ **CONTRACT — mỗi buổi học (session) PHẢI có đúng 1 dòng, đủ 10 cột, mã bài dạng UXX_MYY_LZZ:**
46
+ | # | Lesson Code | Title | Unit | Module | Learning Objective (Students will be able to...) | Key Concepts (Học gì) | Hands-on Deliverable (Làm được gì) | Prerequisites | Bloom | Duration (mins) |
47
+ |---|---|---|---|---|---|---|---|---|---|:---:|
48
+ | 01 | U01_M01_L01 | [Session title] | U01 | U01_M01 | [Measurable objective with Bloom verb: e.g. "Xác định được 4 thành phần của mạch LED"] | [Concept 1, Concept 2] | [Concrete artifact: e.g. "Mạch LED nháy cơ bản chạy trên kit thật"] | None | Understand | 90 |
49
+ | 02 | U01_M01_L02 | [Session title] | U01 | U01_M01 | [Measurable objective] | [Concepts] | [Concrete deliverable] | U01_M01_L01 | Apply | 90 |
50
+
51
+ _Rules: (a) KHÔNG truncate bằng '...' — viết ĐỦ số dòng bằng tổng số buổi của khóa; (b) Prerequisites chỉ tham chiếu mã bài TRƯỚC đó (không forward-reference); (c) Objective dùng động từ Bloom đo được (xác định/giải thích/vận dụng/thiết kế/đánh giá), không dùng 'hiểu/biết' trừu tượng; (d) Hands-on Deliverable là sản phẩm CỤ THỂ học sinh mang được ra khỏi buổi học; (e) Duration cộng lại đúng Tổng Duration của Course Overview._
52
+
53
+ ## [REQUIRED] Standard Lesson Format
54
+ - **Theory Duration:** [X mins]
55
+ - **Practice Duration:** [Y mins]
56
+ - **Homework Included:** [Yes / No]
57
+ - **Mini-project at end of Unit/Module:** [Yes / No]
58
+ - **Session Resumption Protocol:** [Recap protocol for non-consecutive weekly classes]
59
+
60
+ ## [OPTIONAL] Standards Alignment
61
+ | Learning Objective | Standard Code (CSTA / K12 CS / local) | Alignment Level |
62
+ |---|---|---|
63
+ | [Objective 1] | [E.g., TH-8.2] | [Full / Partial] |
@@ -0,0 +1,65 @@
1
+ ---
2
+ id: "{{ID}}"
3
+ title: "{{TITLE}}"
4
+ type: "DEPENDENCY_MAP"
5
+ created_by: "Curriculum OS Builder"
6
+ phase: "{{PHASE}}"
7
+ deliverable: "{{DELIVERABLE_CODE}}"
8
+ version: "{{VERSION}}"
9
+ date: "{{DATE}}"
10
+ template_contract: "artifact-template-v1"
11
+ template_required_sections:
12
+ - "Document Dependency Hierarchy"
13
+ - "Cascade Impact Rules"
14
+ - "Cascade Processing Protocol"
15
+ ---
16
+
17
+ # CURRICULUM DEPENDENCY MAP: {{PROJECT_NAME}}
18
+
19
+ _Tracks the logical flow and technical prerequisites between units and lessons to prevent fragmentation._
20
+
21
+ ## [REQUIRED] Document Dependency Hierarchy
22
+ Data flows top-down. An arrow `└──` means the document below MUST read the document above before it is produced.
23
+
24
+ ```text
25
+ LEARNER_PROFILE.md (Source: Client)
26
+ └── CURRICULUM_FRAMEWORK.md (reads Profile to design)
27
+ ├── ART_DIRECTION.md (reads Profile & Framework)
28
+ ├── CONTENT_STYLE_GUIDE.md (reads Profile & Framework)
29
+ ├── _content/U[XX]/L[YY]/ (lesson folders containing the artifacts)
30
+ │ ├── LESSON_U[XX]_M[ZZ]_L[YY].md (detailed lesson plan - reads Framework & Style Guide)
31
+ │ ├── ACT_U[XX]_M[ZZ]_L[YY].md (hands-on activity - reads Lesson)
32
+ │ └── QUIZ_U[XX]_M[ZZ]_L[YY].md (question bank & rubrics - reads Lesson & Framework)
33
+ │ └── CONTENT_CONTINUITY.md (registers terminology & seamless pedagogy)
34
+ └── ALIGNMENT_MATRIX.md (cross-checks and truth-syncs the whole system)
35
+ └── PACKAGES (final deliverables: Teacher, Student, Parent, Client)
36
+ ```
37
+
38
+ ## [REQUIRED] Cascade Impact Rules
39
+ When a Scope Change request or Version update occurs, `@reviewer` MUST cross-check the table below to identify the affected files:
40
+
41
+ | If this file changes MAJOR/MINOR... | ...then these files MUST be Reviewed/Rewritten |
42
+ |---|---|
43
+ | **LEARNER_PROFILE** | Everything (Framework, Lessons, Activities, Quizzes). Usually requires a restart (special gate). |
44
+ | **CURRICULUM_FRAMEWORK** | Lessons (`LESSON_U[XX]_M[ZZ]_L[YY]`) of the changed module, `ACT_U[XX]_M[ZZ]_L[YY]`, `QUIZ_U[XX]_M[ZZ]_L[YY]`, `ALIGNMENT_MATRIX`. |
45
+ | **CONTENT_STYLE_GUIDE** | All `LESSON_U[XX]_M[ZZ]_L[YY]` (only Tone/Style revision, no structure change), `CONTENT_CONTINUITY`. |
46
+ | **ART_DIRECTION** | Regenerate the illustrations or circuit diagram designs affected by the new Style. |
47
+ | **LESSON_U[XX]_M[ZZ]_L[YY] (Theory)**| `ACT_U[XX]_M[ZZ]_L[YY]` (materials may change), `QUIZ_U[XX]_M[ZZ]_L[YY]` (criteria may change), `ALIGNMENT_MATRIX`. |
48
+ | **ACT_U[XX]_M[ZZ]_L[YY] (Hands-on)** | `QUIZ_U[XX]_M[ZZ]_L[YY]` (practical product assessment criteria may change). |
49
+
50
+ ## [REQUIRED] Cascade Processing Protocol
51
+ 1. Identify the original file that changed.
52
+ 2. Follow the "Propagation Rules" above to list the affected files.
53
+ 3. Build the **Cascade Impact Map** table into `PROJECT_STATUS.md` (Open Issues section) and mark 🔴 (needs rewrite) or 🟡 (needs review).
54
+ 4. Assign `@content`, `@activity`, `@assessor` to process in top-down order of the dependency diagram.
55
+
56
+ ## [OPTIONAL] Tool & Platform Dependencies
57
+ | Component | Minimum Version | Required For |
58
+ |---|---|---|
59
+ | Arduino IDE | 2.0+ | All hardware projects |
60
+ | Python | 3.10+ | AI and Data units |
61
+ | n8n | 1.0+ | Automation units |
62
+
63
+ ---
64
+ - **Global Standard:** v4.6 (Operational-First).
65
+ - **Status:** ALIGNED TEMPLATE (Modular-First Architecture Alignment).
@@ -0,0 +1,85 @@
1
+ ---
2
+ id: "{{ID}}"
3
+ title: "{{TITLE}}"
4
+ type: "EXIT_TICKET"
5
+ created_by: "Curriculum OS Builder"
6
+ phase: "{{PHASE}}"
7
+ deliverable: "P3-T10"
8
+ version: "{{VERSION}}"
9
+ date: "{{DATE}}"
10
+ template_contract: "artifact-template-v1"
11
+ template_required_sections:
12
+ - "Target Learning Objectives"
13
+ - "Recall & Conceptual Anchor"
14
+ - "Application & Bug Hunt"
15
+ - "Metacognitive Reflection & Confidence Check"
16
+ - "Scoring & Teacher Intervention Trigger"
17
+ ---
18
+ <!-- INJECT_BODY -->
19
+
20
+ # FORMATIVE EXIT TICKET: [LESSON TITLE]
21
+ _Unit: U[X] | Module: M[X.X] | Lesson: Lesson [XX] | Estimated Time: 5-7 mins_
22
+
23
+ ## [REQUIRED] Target Learning Objectives
24
+ - **Target LO 1 (ULO):** [The universal conceptual objective being assessed, e.g., "The learner will be able to understand the immutability of declarative views."]
25
+ - **Target LO 2 (CIO/SIO):** [The concrete technical objective, e.g., "The learner will be able to bind state variables to UI controls using @State."]
26
+
27
+ ---
28
+
29
+ ## [REQUIRED] Part 1: Recall & Conceptual Anchor (Prompt 1)
30
+ > *Objective: Test core mental model without allowing rote syntax memorization.*
31
+
32
+ **Question 1:**
33
+ [Present a conceptual scenario or analogy comparison. E.g., "In SwiftUI, why does modifying a regular local variable inside `body` fail to trigger a screen re-render, whereas mutating a `@State` property causes the View to update?"]
34
+
35
+ - **Student Answer Area:**
36
+ ```text
37
+ [Write 1-2 concise sentences explaining the difference in runtime mechanism]
38
+ ```
39
+
40
+ ---
41
+
42
+ ## [REQUIRED] Part 2: Application & Bug Hunt (Prompt 2)
43
+ > *Objective: Test code diagnosis and precise correction in ≤ 3 lines of modification.*
44
+
45
+ **Code Snippet:**
46
+ ```swift
47
+ // [Provide a minimal 4-8 line realistic code snippet containing exactly 1 bug or missing annotation]
48
+ struct CounterDisplay: View {
49
+ var counter: Int = 0 // Line containing deliberate bug
50
+
51
+ var body: some View {
52
+ Button("Increment: \(counter)") {
53
+ counter += 1
54
+ }
55
+ }
56
+ }
57
+ ```
58
+
59
+ **Task:**
60
+ 1. **Identify the Compiler/Runtime Error:** [E.g., "Cannot assign to property: 'self' is immutable"]
61
+ 2. **Corrected Line:**
62
+ ```swift
63
+ // [Write the single corrected line of code]
64
+ ```
65
+
66
+ ---
67
+
68
+ ## [REQUIRED] Part 3: Metacognitive Reflection & Confidence Check (Prompt 3)
69
+ > *Objective: Empower student self-regulation and provide immediate diagnostic signals.*
70
+
71
+ **Traffic Light Self-Assessment:**
72
+ - [ ] 🟢 **Green (Mastered):** "I can build and explain this concept to a peer without any hints."
73
+ - [ ] 🟡 **Yellow (Needs Practice):** "I understand the concept but got stuck on syntax or error messages."
74
+ - [ ] 🔴 **Red (Blocked):** "I need help understanding why this architecture is used."
75
+
76
+ **One Lingering Question (Exit Ticket Note):**
77
+ ```text
78
+ [What is one question you still have before leaving today's lab?]
79
+ ```
80
+
81
+ ---
82
+
83
+ ## [REQUIRED] Scoring & Teacher Intervention Trigger
84
+ - **Proficiency Threshold:** Green/Yellow check + Correct Answer to Part 2 Bug Hunt.
85
+ - **Intervention Protocol:** If $\ge 25\%$ of students mark 🔴 Red or miss Part 2, start next session with a 5-minute Live Debugging Warm-up.
@@ -0,0 +1,35 @@
1
+ ---
2
+ id: "{{ID}}"
3
+ title: "{{TITLE}}"
4
+ type: "EXT"
5
+ created_by: "Curriculum OS Builder"
6
+ phase: "{{PHASE}}"
7
+ deliverable: "P3-T8"
8
+ version: "{{VERSION}}"
9
+ date: "{{DATE}}"
10
+ ---
11
+
12
+ # EXTENSION TASKS: [LESSON TITLE]
13
+
14
+ ## For: Advanced Students / Extra Time
15
+
16
+ ### Challenge 1: [Challenge Name] (Difficulty: ⭐⭐⭐)
17
+ **Description:**
18
+ [Advanced task requirement, e.g., code optimization, adding new features, connecting additional modules].
19
+
20
+ **Clues & Suggestions:**
21
+ - Refer to documentation for `[Concept/Function]`.
22
+ - Suggested Approach: [1-2 basic steps].
23
+
24
+ **Expected Outcome:**
25
+ [Description of the final product/result].
26
+
27
+ ### Challenge 2: [Challenge Name] (Difficulty: ⭐⭐⭐⭐)
28
+ **Description:**
29
+ [More difficult task requiring synthesis of multiple concepts].
30
+
31
+ **Clues & Suggestions:**
32
+ [Hints if applicable].
33
+
34
+ **Expected Outcome:**
35
+ [Description].
@@ -0,0 +1,108 @@
1
+ ---
2
+ id: __ID__
3
+ title: "__TITLE__"
4
+ type: __TYPE__
5
+ template_contract: "artifact-template-v1"
6
+ template_required_sections:
7
+ - "Term Glossary"
8
+ ---
9
+
10
+ <!--
11
+ Created by: Curriculum OS Builder
12
+ Phase: P3 | Deliverable: Glossary Artifact
13
+ Version: v1.0 | Date: 2026-05-09
14
+ -->
15
+
16
+ # 📖 TERM GLOSSARY: [MODULE / TOPIC NAME]
17
+
18
+ _Created by: @content (Terminology Mode) | Version: v[X] | Date: [DATE]_
19
+ _Unit: U[X] | Module: M[X.X] | Audience: Grade [XX] ([AGE] years old)_
20
+
21
+ > **How to use:**
22
+ > - 📘 Read **top to bottom** — terms are ordered from basic to advanced.
23
+ > - 🔗 Terms with `→ See more` links help you go deeper.
24
+ > - 💡 The **Analogy** section helps you remember — read it carefully!
25
+
26
+ ---
27
+
28
+ ## [REQUIRED] Term Glossary
29
+
30
+ <!--
31
+ INSTRUCTIONS FOR @content:
32
+ Repeat the entry block below for each term.
33
+ Order from prerequisite → advanced (basic terms first).
34
+ Minimum 8 terms, maximum 15 terms per module.
35
+ -->
36
+
37
+ ---
38
+
39
+ ### 📌 [Term Name] *(English Term)*
40
+
41
+ **Bloom's Level:** [🔵 Remember / 🟡 Understand / 🟠 Apply]
42
+
43
+ **Simple definition:**
44
+ [Max 2 sentences, age-appropriate language — NO jargon]
45
+
46
+ **💡 Memory analogy:**
47
+ > *"[This term] is like [familiar everyday object/situation]..."*
48
+
49
+ **Real-world example:**
50
+ ```[python/cpp/text]
51
+ [1-3 line code snippet OR 1-sentence real-world application description]
52
+ ```
53
+
54
+ **⚠️ Common mistake:**
55
+ > Many students confuse [this term] with **[similar term]** because [reason]. The key difference is: [short explanation].
56
+
57
+ **→ See more:** [Related term 1], [Related term 2]
58
+
59
+ ---
60
+
61
+ ### 📌 [Term Name 2] *(English Term 2)*
62
+
63
+ **Bloom's Level:** [🔵 Remember / 🟡 Understand / 🟠 Apply]
64
+
65
+ **Simple definition:**
66
+ [...]
67
+
68
+ **💡 Memory analogy:**
69
+ > *"[...]"*
70
+
71
+ **Real-world example:**
72
+ ```
73
+ [...]
74
+ ```
75
+
76
+ **⚠️ Common mistake:**
77
+ > [...]
78
+
79
+ **→ See more:** [...]
80
+
81
+ ---
82
+
83
+ <!-- Add further entries with the same structure -->
84
+
85
+ ---
86
+
87
+ ## [OPTIONAL] Quick Reference Table
88
+
89
+ _For quick revision before tests:_
90
+
91
+ | Term (EN) | Translation (target language) | Bloom's | Mnemonic keywords |
92
+ |---|---|:---:|---|
93
+ | [English Term 1] | [Translation 1] | 🔵 | [1-2 key words] |
94
+ | [English Term 2] | [Translation 2] | 🟡 | [1-2 key words] |
95
+ | [English Term 3] | [Translation 3] | 🟠 | [1-2 key words] |
96
+
97
+ ---
98
+
99
+ ## [OPTIONAL] Standardized Terms
100
+
101
+ _International technical terms — use the English form in code and documentation (Plan C):_
102
+
103
+ | Technical term | Note | Do not use |
104
+ |---|---|---|
105
+ | `Serial.begin()` | UART initialization function in Arduino | `serial_start()`, `init_serial()` |
106
+ | `GPIO` | General Purpose Input/Output | localized term (in code) |
107
+ | `PWM` | Pulse Width Modulation | localized term (in code) |
108
+ | [Add term] | [Note] | [Term to avoid] |
@@ -0,0 +1,100 @@
1
+ ---
2
+ id: "{{ID}}"
3
+ title: "{{TITLE}}"
4
+ type: "GRAPHIC_ORGANIZER"
5
+ created_by: "Curriculum OS Builder"
6
+ phase: "{{PHASE}}"
7
+ deliverable: "P3-T18"
8
+ version: "{{VERSION}}"
9
+ date: "{{DATE}}"
10
+ template_contract: "artifact-template-v1"
11
+ template_required_sections:
12
+ - "Visual Paradigm Overview"
13
+ - "Organizer 1: Architectural Data Flow (Mermaid Flowchart)"
14
+ - "Organizer 2: Comparative Analysis (Mermaid / Markdown Venn)"
15
+ - "Organizer 3: State Machine & Lifecycle (Mermaid StateDiagram)"
16
+ - "Student Fill-in Worksheet Format"
17
+ ---
18
+ <!-- INJECT_BODY -->
19
+
20
+ # VISUAL GRAPHIC ORGANIZERS: [LESSON / UNIT TITLE]
21
+ _Unit: U[X] | Module: M[X.X] | Format: Mermaid Markdown Diagrams + Fill-in Printable Worksheets_
22
+
23
+ ## [REQUIRED] Visual Paradigm Overview
24
+ - **Cognitive Purpose:** Unload mental processing burden through spatial diagramming and dual-coding theory (Paivio).
25
+ - **Output Formats:** Interactive Mermaid.js rendered diagrams + Printable student fill-in worksheets.
26
+
27
+ ---
28
+
29
+ ## [REQUIRED] Organizer 1: Architectural Data Flow (Mermaid Flowchart)
30
+
31
+ ```mermaid
32
+ graph TD
33
+ classDef input fill:#1e3a8a,stroke:#3b82f6,stroke-width:2px,color:#fff;
34
+ classDef state fill:#78350f,stroke:#f59e0b,stroke-width:2px,color:#fff;
35
+ classDef engine fill:#14532d,stroke:#22c55e,stroke-width:2px,color:#fff;
36
+ classDef view fill:#4c1d95,stroke:#a855f7,stroke-width:2px,color:#fff;
37
+
38
+ A[User Gesture / Tap]:::input -->|Triggers Action Closure| B[Mutate @State Variable]:::state
39
+ B -->|Emits State Invalidation| C[SwiftUI Dependency Graph]:::engine
40
+ C -->|Executes Diffing Algorithm| D[Compute Minimal View Hierarchy]:::engine
41
+ D -->|Calls body getter| E[Render Updated UI Component]:::view
42
+
43
+ subgraph "Hardware & Runtime"
44
+ C
45
+ D
46
+ end
47
+ ```
48
+
49
+ ---
50
+
51
+ ## [REQUIRED] Organizer 2: Comparative Analysis (Venn Diagram / Matrix)
52
+
53
+ ```mermaid
54
+ graph LR
55
+ subgraph "Imperative (UIKit / Legacy)"
56
+ I1["Manual View Hierarchy Updates"]
57
+ I2["State stored in View objects"]
58
+ I3["Frequent Sync Bugs & Memory Leaks"]
59
+ end
60
+
61
+ subgraph "Shared Core Fundamentals"
62
+ S1["Event Loop Driven"]
63
+ S2["Underlying CoreAnimation Rendering"]
64
+ end
65
+
66
+ subgraph "Declarative (SwiftUI / Modern)"
67
+ D1["State-Driven Automatic Diffing"]
68
+ D2["Immutable Struct View Descriptors"]
69
+ D3["Single Source of Truth Invariant"]
70
+ end
71
+ ```
72
+
73
+ ---
74
+
75
+ ## [REQUIRED] Organizer 3: State Machine & Lifecycle (State Diagram)
76
+
77
+ ```mermaid
78
+ stateDiagram-v2
79
+ [*] --> Idle: View Instantiated
80
+ Idle --> Mutating: User Input Received
81
+ Mutating --> ComputingDiff: State Wrapper Notifies Graph
82
+ ComputingDiff --> Repainting: Node Delta Detected
83
+ Repainting --> Idle: Frame Rendered on Display (60 FPS)
84
+ ```
85
+
86
+ ---
87
+
88
+ ## [REQUIRED] Student Fill-in Worksheet Format (Offline Handout)
89
+ ```text
90
+ ┌──────────────────────────────────────────────────────────────────────────┐
91
+ │ STUDENT DATA FLOW FILL-IN EXERCISE │
92
+ ├──────────────────────────────────────────────────────────────────────────┤
93
+ │ [ Box 1: _____________ ] ──▶ [ Box 2: _____________ ] │
94
+ │ │ │ │
95
+ │ ▼ ▼ │
96
+ │ [ Box 3: _____________ ] ──▶ [ Box 4: Renders New Screen (60 FPS) ] │
97
+ │ │
98
+ │ Word Bank: @State Mutation, User Tap, View Tree Diffing, Body Re-evaluated│
99
+ └──────────────────────────────────────────────────────────────────────────┘
100
+ ```
@@ -0,0 +1,56 @@
1
+ ---
2
+ id: "{{ID}}"
3
+ title: "{{TITLE}}"
4
+ type: "GUIDE"
5
+ created_by: "Curriculum OS Builder"
6
+ phase: "{{PHASE}}"
7
+ deliverable: "P3-T5"
8
+ version: "{{VERSION}}"
9
+ date: "{{DATE}}"
10
+ template_contract: "artifact-template-v1"
11
+ template_required_sections:
12
+ - "Objectives & Preparation"
13
+ - "Preparation Checklist & Workstation Setup"
14
+ - "Facilitation Script & Timeline"
15
+ - "Common Misconceptions & Diagnostic Remediation Matrix"
16
+ - "Differentiated Support Strategies"
17
+ ---
18
+
19
+ # TEACHER GUIDE: [LESSON TITLE]
20
+ _For Teacher Use Only | Unit [UXX] Module [MXX]_
21
+
22
+ ## [REQUIRED] Objectives & Preparation
23
+ - **Pedagogical Goal:** [The main goal for the teacher to achieve during the session. Emphasize mindset shift, not just knowledge.]
24
+ - **Technical Checklist:** [Software/hardware to install or check before class]
25
+
26
+ > Misconceptions have ONE home in this document: the Remediation Matrix below.
27
+ > Do not restate them here.
28
+
29
+ ## [REQUIRED] Preparation Checklist & Workstation Setup
30
+ | Item | Qty / Setup | Verified? |
31
+ |---|---|---|
32
+ | [Hardware/software/resource] | [Per group or per class] | [ ] |
33
+
34
+ ## [REQUIRED] Facilitation Script & Timeline
35
+ > Mirror the LESSON B-flow phase-by-phase — same phases, same minutes. Do not
36
+ > invent a different time allocation.
37
+
38
+ ### [Phase 1 name] — [X mins] (from LESSON B-flow)
39
+ - **Teacher moves:** [What the teacher says/does]
40
+ - **Inquiry questions:** [Questions to pose]
41
+ - **Transition:** [How to move to the next phase]
42
+
43
+ <!-- Repeat per B-flow phase. -->
44
+
45
+ ## [REQUIRED] Common Misconceptions & Diagnostic Remediation Matrix
46
+ > Extract the Common Mistakes table VERBATIM from the canonical knowledge
47
+ > context (KX). Do not re-invent or paraphrase — one canonical list per lesson.
48
+
49
+ | Misconception | Why Students Believe It | Diagnostic Probe | Remediation |
50
+ |---|---|---|---|
51
+ | [From KX Common Mistakes] | [Underlying reasoning error] | [Quick question that exposes it] | [Concrete reteach action] |
52
+
53
+ ## [REQUIRED] Differentiated Support Strategies
54
+ - **Support (struggling students):** [Concrete scaffolds during activities]
55
+ - **Extension (advanced students):** [What to hand them — reference EXT artifact]
56
+ - **Enrichment Question:** [1-2 deep-thinking questions]