Route schema validation without context waste - #3
Closed
raghubetina wants to merge 1 commit into
Closed
Conversation
Treat the bundled schema as validator input instead of prose so agents do not spend context reading it end to end. Define bounded behavior for named, absent, failing, and library-only validator cases. Keep identity and reporting boundaries explicit.
This was referenced Jul 30, 2026
Contributor
Author
|
Stacked follow-up #4 is now open: #4 It keeps this PRs validator routing unchanged and adds the next bounded authoring capability: enum Fields with ordered, identity-bearing values and optional ordinality, matched to firstdraft/firstdraft#196. The bundled schema digest and CLI surface remain unchanged. |
Contributor
Author
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.
What
Why
Cross-repository dogfood showed fresh agents reading the full 4,961-line schema and probing several language ecosystems when no validator was installed. This keeps authoring productive from the narrative references while still using the exact schema when a compatible command is already available.
Checks
sh script/check— 11/11 passingnpm audit --audit-level=low— 0 vulnerabilitiesgh skill publish --dry-run— passed with the existing license/tag-protection advisories5994c41f65eab52f92020fa24437e76b6957b7016ccf231dce06e8097f0b34b5git diff --check