Skip to content

feat(lesson-ref): accept lesson 0 for the m0l0 General Toolkit - #4

Merged
mkczarkowski merged 1 commit into
masterfrom
feat/lesson-ref-allow-zero
Jun 28, 2026
Merged

feat(lesson-ref): accept lesson 0 for the m0l0 General Toolkit#4
mkczarkowski merged 1 commit into
masterfrom
feat/lesson-ref-allow-zero

Conversation

@mkczarkowski

Copy link
Copy Markdown
Collaborator

Allow lesson numbers >= 0 so general, non-lesson-bound artifacts can be fetched via m0l0 (e.g. 10x get m0l0).

What

  • parseLessonRef: lesson < 1lesson < 0; doc comment updated.
  • Tests: m0l0 now accepted; removed the stale l0-rejection case. Full suite green (469 pass).

Dependency / merge order

This is step 2 of 3. Merge after 10x-toolkit#feat/general-toolkit-m0l0 has merged and its content pipeline (R2 upload) has finished — otherwise 10x get m0l0 parses but 404s until the catalog is live.

🤖 Generated with Claude Code

Allow lesson numbers >= 0 so general, non-lesson-bound artifacts can be
fetched via m0l0 (e.g. `10x get m0l0`). Update the parser doc comment
and tests; lesson 0 is now valid, negatives still rejected by the regex.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mkczarkowski
mkczarkowski merged commit b000e7b into master Jun 28, 2026
9 checks passed
@mkczarkowski
mkczarkowski deleted the feat/lesson-ref-allow-zero branch June 28, 2026 08:00
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.

1 participant