feat(lesson-ref): accept lesson 0 for the m0l0 General Toolkit - #4
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Allow lesson numbers
>= 0so general, non-lesson-bound artifacts can be fetched viam0l0(e.g.10x get m0l0).What
parseLessonRef:lesson < 1→lesson < 0; doc comment updated.m0l0now 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-m0l0has merged and its content pipeline (R2 upload) has finished — otherwise10x get m0l0parses but 404s until the catalog is live.🤖 Generated with Claude Code