Skip to content

fix(templates): lowercase TEMPLATE lesson ids for schema 1.10 slug rule - #13

Merged
astrapi69 merged 1 commit into
mainfrom
fix/template-id-slugs
Aug 5, 2026
Merged

fix(templates): lowercase TEMPLATE lesson ids for schema 1.10 slug rule#13
astrapi69 merged 1 commit into
mainfrom
fix/template-id-slugs

Conversation

@astrapi69

Copy link
Copy Markdown
Owner

Same change as astrapi69/adaptive-learner-content#177 (context: learn-content-engine#105 / #108, schema 1.10 slug rule).

The three templates/*/lesson.json placeholder ids (TEMPLATE-*-lesson) carry uppercase letters, invalid under the hard $defs/SlugId pattern on lesson.id since schema 1.10. No gate validates templates, but a freshly copied template fails validation. Renamed to template-*-lesson; titles keep TEMPLATE (title is not a slug field).

Verified: engine 0.18.0 lint on all three files, exit 0.

🤖 Generated with Claude Code

The TEMPLATE-*-lesson placeholder ids carry uppercase letters, which
schema 1.10 (learn-content-engine#105, $defs/SlugId) rejects on
lesson.id. No gate validates the templates, but a freshly copied
template would now fail validation. Same change as
adaptive-learner-content#177; titles keep TEMPLATE (not a slug field).

Verified: engine 0.18.0 lint on all three files, exit 0.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@astrapi69
astrapi69 merged commit 695b2db into main Aug 5, 2026
6 checks passed
@astrapi69
astrapi69 deleted the fix/template-id-slugs branch August 5, 2026 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants