@thanh01.pmt/curriculum-kit 1.4.42 → 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.
package/dist/index.d.cts CHANGED
@@ -561,6 +561,10 @@ interface ArtifactPromptParts {
561
561
  * Compose a satellite prompt: methodology directive + runtime-loaded fill-in
562
562
  * template body. Falls back to `inlineScaffold` when the template file cannot
563
563
  * be resolved (same fail-open contract as the pre-P52 hardcoded prompts).
564
+ *
565
+ * The delimiting banner is plain text (not an HTML comment) so the artifact
566
+ * linter's placeholder scanner can never confuse it with template scaffolding
567
+ * that leaked into generated content.
564
568
  */
565
569
  declare function buildArtifactPrompt(parts: ArtifactPromptParts, opts?: {
566
570
  templatesDir?: string;
package/dist/index.d.ts CHANGED
@@ -561,6 +561,10 @@ interface ArtifactPromptParts {
561
561
  * Compose a satellite prompt: methodology directive + runtime-loaded fill-in
562
562
  * template body. Falls back to `inlineScaffold` when the template file cannot
563
563
  * be resolved (same fail-open contract as the pre-P52 hardcoded prompts).
564
+ *
565
+ * The delimiting banner is plain text (not an HTML comment) so the artifact
566
+ * linter's placeholder scanner can never confuse it with template scaffolding
567
+ * that leaked into generated content.
564
568
  */
565
569
  declare function buildArtifactPrompt(parts: ArtifactPromptParts, opts?: {
566
570
  templatesDir?: string;
package/dist/index.mjs CHANGED
@@ -25550,10 +25550,11 @@ var LESSON_TEMPLATE_BY_PEDAGOGY = {
25550
25550
  function buildArtifactPrompt(parts, opts) {
25551
25551
  const resolved = resolveArtifactTemplate(parts.templateFile, opts);
25552
25552
  const body = resolved?.content ?? parts.epilogue ?? "";
25553
- const source = resolved ? `
25554
- <!-- P52 template: ${parts.templateFile} \u2190 ${resolved.sourcePath} -->
25555
- ` : "\n<!-- P52 template: NOT FOUND \u2014 inline fallback scaffold -->\n";
25556
- return `${parts.directive}${source}${body}`;
25553
+ return `${parts.directive}
25554
+
25555
+ ===== ARTIFACT TEMPLATE: ${parts.templateFile} ${resolved ? `(loaded from ${resolved.sourcePath})` : "(\u26A0\uFE0F NOT FOUND \u2014 inline fallback scaffold in use)"} =====
25556
+
25557
+ ${body}`;
25557
25558
  }
25558
25559
  var NO_VERBATIM_COPYING = `
25559
25560
  VERBATIM SOURCING RULE: When a section in the template says to extract a table
@@ -25753,6 +25754,10 @@ type: "${artifactType}"
25753
25754
  and respect the template's OWNERSHIP note: each fact lives in exactly ONE
25754
25755
  section \u2014 never restate satellite lists, resources, or assessment content
25755
25756
  across sections, and never embed KX-owned question banks or self-check text.
25757
+ 3. In the Learning Objectives table, carry the Standard ID from the [STANDARDS
25758
+ STATEMENTS] context into the same row as its LO (e.g. "CSTA: 1B-AP-10")
25759
+ when a matching standard exists.
25760
+ 4. Every code sample must be 100% syntax-valid and executable.
25756
25761
  3. Use the exact vocabulary of the canonical knowledge context for every
25757
25762
  concept and term.
25758
25763
  ${NO_VERBATIM_COPYING}`;