@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.
@@ -2357,7 +2357,25 @@ var PlanningNodeSchema = zod.z.object({
2357
2357
  file: zod.z.string(),
2358
2358
  evidence: zod.z.string().default("")
2359
2359
  })).default([]),
2360
- phase_id: zod.z.string().default("")
2360
+ phase_id: zod.z.string().default(""),
2361
+ // P52/T2.1: tangible user-visible outcome projected from the graph step
2362
+ // (checkpoint candidate for session cutting). Empty = not a checkpoint.
2363
+ user_visible_deliverable: zod.z.string().default(""),
2364
+ // P52/T3.1 — depth-reconcile inputs (mirrored from the feed; optional so
2365
+ // raw graphs without variants keep planning unchanged):
2366
+ // • depth_variants: minutes to teach this node at each depth level (ULO ≤
2367
+ // CIO ≤ SIO) — the reconciler's price list for downgrades.
2368
+ // • depth_scaffold_candidates: parallel to scaffold_candidates but acting
2369
+ // on DEPTH (SIO→CIO, CIO→ULO) instead of lesson time.
2370
+ // • is_core: Master-Tree core concept — never downgraded; escalate instead.
2371
+ depth_variants: zod.z.object({ ulo: zod.z.number().int().nonnegative(), cio: zod.z.number().int().nonnegative(), sio: zod.z.number().int().nonnegative() }).optional(),
2372
+ depth_scaffold_candidates: zod.z.array(zod.z.object({
2373
+ from_depth: DepthLevelSchema,
2374
+ to_depth: DepthLevelSchema,
2375
+ minutes_saved: zod.z.number().int().nonnegative(),
2376
+ reason: zod.z.string().default("")
2377
+ })).optional(),
2378
+ is_core: zod.z.boolean().default(false)
2361
2379
  });
2362
2380
  var DependencyEdgeSchema = zod.z.object({
2363
2381
  from: zod.z.string(),
@@ -3140,9 +3158,9 @@ Evaluate the candidate artifact across these 6 dimensions:
3140
3158
  - 0 pts: Missing critical sections.
3141
3159
 
3142
3160
  5. **Technical & Conceptual Accuracy (15 pts):**
3143
- - 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.
3161
+ - 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.
3144
3162
  - 8 pts: Minor syntax inaccuracies or unidiomatic code that does not break core concepts.
3145
- - 0 pts: Severe technical hallucinations, broken logic, invalid diagrams, or direct contradiction of canonical exposition knowledge.
3163
+ - 0 pts: Severe technical hallucinations, broken logic, invalid diagrams, invented casing/spelling rules for standard-library identifiers, or direct contradiction of canonical exposition knowledge.
3146
3164
 
3147
3165
  6. **Contract Consistency & Zero-Drift (10 pts):**
3148
3166
  - 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.