fix: sync llms.txt H1 test and docs to WebJs brand casing#869
Merged
Conversation
#855 correctly capitalized the llms.txt index H1 in llms.server.ts to '# WebJs documentation' but left test/docs/llms.test.mjs and docs/AGENTS.md pinning the old lowercase form, which failed on main. Update the test assertion and the docs spec to match the emitted WebJs casing.
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.
Closes #868
What
mainis red. #855 correctly capitalized the llms.txt index H1 indocs/lib/llms.server.tsto# WebJs documentation(the brand), but left two spots pinning the old lowercase form:test/docs/llms.test.mjs:55asserted/^# webjs documentation/docs/AGENTS.mddocumented the H1 (and a prose line) as lowercase (docs/*.mdwas not swept by the one-time fix)This updates both to
WebJsto match the emitted output. Source is unchanged (already correct).Root cause
The failing "Unit + integration" check was present on #855 and got bypassed by an
--adminmerge (which skips failing checks, not only the review gate). Fixing forward here; the process lesson (never admin-merge past a red check) is noted on #868 and is a candidate for the start-work guard.Tests
node --test test/docs/llms.test.mjs: all green (10 assertions incl. the H1 test).https://claude.ai/code/session_016RNAZ8EfZYE8ZBpKUCzUao