@thanh01.pmt/curriculum-kit 1.4.47 → 1.4.49

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.
@@ -2735,7 +2735,25 @@ var PlanningNodeSchema = zod.z.object({
2735
2735
  file: zod.z.string(),
2736
2736
  evidence: zod.z.string().default("")
2737
2737
  })).default([]),
2738
- phase_id: zod.z.string().default("")
2738
+ phase_id: zod.z.string().default(""),
2739
+ // P52/T2.1: tangible user-visible outcome projected from the graph step
2740
+ // (checkpoint candidate for session cutting). Empty = not a checkpoint.
2741
+ user_visible_deliverable: zod.z.string().default(""),
2742
+ // P52/T3.1 — depth-reconcile inputs (mirrored from the feed; optional so
2743
+ // raw graphs without variants keep planning unchanged):
2744
+ // • depth_variants: minutes to teach this node at each depth level (ULO ≤
2745
+ // CIO ≤ SIO) — the reconciler's price list for downgrades.
2746
+ // • depth_scaffold_candidates: parallel to scaffold_candidates but acting
2747
+ // on DEPTH (SIO→CIO, CIO→ULO) instead of lesson time.
2748
+ // • is_core: Master-Tree core concept — never downgraded; escalate instead.
2749
+ depth_variants: zod.z.object({ ulo: zod.z.number().int().nonnegative(), cio: zod.z.number().int().nonnegative(), sio: zod.z.number().int().nonnegative() }).optional(),
2750
+ depth_scaffold_candidates: zod.z.array(zod.z.object({
2751
+ from_depth: DepthLevelSchema,
2752
+ to_depth: DepthLevelSchema,
2753
+ minutes_saved: zod.z.number().int().nonnegative(),
2754
+ reason: zod.z.string().default("")
2755
+ })).optional(),
2756
+ is_core: zod.z.boolean().default(false)
2739
2757
  });
2740
2758
  var DependencyEdgeSchema = zod.z.object({
2741
2759
  from: zod.z.string(),
@@ -3466,9 +3484,9 @@ Evaluate the candidate artifact across these 6 dimensions:
3466
3484
  - 0 pts: Missing critical sections.
3467
3485
 
3468
3486
  5. **Technical & Conceptual Accuracy (15 pts):**
3469
- - 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.
3487
+ - 15 pts: Code snippets, logic flows, architectural descriptions, and Mermaid diagrams are conceptually sound and valid. Every code identifier uses the REAL standard-library/API spelling of the declared stack (grounded in REFERENCE_PACK / canonical LESSON) \u2014 internal consistency with a glossary term name is NOT evidence of correctness. If \`canonicalExposition\` or \`[KNOWLEDGE_EXPOSITION]\` is provided, content strictly adheres to canonical concepts without contradicting definitions or examples.
3470
3488
  - 8 pts: Minor syntax inaccuracies or unidiomatic code that does not break core concepts.
3471
- - 0 pts: Severe technical hallucinations, broken logic, invalid diagrams, or direct contradiction of canonical exposition knowledge.
3489
+ - 0 pts: Severe technical hallucinations, broken logic, invalid diagrams, invented casing/spelling rules for standard-library identifiers, or direct contradiction of canonical exposition knowledge.
3472
3490
 
3473
3491
  6. **Contract Consistency & Zero-Drift (10 pts):**
3474
3492
  - 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.
@@ -19524,6 +19542,7 @@ Your task is to author a canonical, publication-grade learning artifact of type
19524
19542
  ${langDirective}
19525
19543
  ${headingDirective}
19526
19544
  2. NON-MOCK CODE INVARIANT: Any code snippet provided MUST be 100% syntactically valid, idiomatic, and executable without placeholders or fake functions.
19545
+ 2b. IDENTIFIER GROUND TRUTH: Never derive identifier casing/spelling from glossary term or concept names (they are pedagogical labels). Copy identifiers EXACTLY from the canonical LESSON and REFERENCE_PACK ground truth present in the context.
19527
19546
  3. PEDAGOGICAL GROUNDING: Strictly align with the ${pedagogy.toUpperCase()} model, Bloom's Revised Taxonomy, and IEEE/ACM CS2023 guidelines.
19528
19547
  4. SCAFFOLDING LEVEL: "${scaffoldingLevel.toUpperCase()}".${scaffoldingRule}
19529
19548
  5. TARGET AUDIENCE: ${gradeLevel ? `Grade ${gradeLevel}, ` : ""}${targetAge} on ${hwStr}.${deviceRule}${classDynamicsRule}${extraContextRule}