Repository navigation
ci(agent-files): raise the llms-full.txt cap to 8 MB to match the MCP (LIN-5175) - #408
Merged
Merged
Conversation
… (LIN-5175) The docs check still capped llms-full.txt at 2,000,000 bytes, but the MCP's search_documentation has read up to 8,000,000 since mcp-server#36. main was 78 bytes under, so docs PRs that add text failed the build. Co-Authored-By: Claude Opus 5.5 <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.
Docs PRs that add text fail the build because
llms-full.txtis now 1,999,922 bytes and the docs check caps it at 2,000,000. The MCP that reads this file has accepted up to 8,000,000 since mcp-server#36 (17th November 2026), which is the version running in prod. This PR raises the docs check to the same 8 MB.Related: LIN-5175, which raised the MCP limit.
Changes
scripts/check-agent-files.ts: cap is nowMCP_MAX_BYTES = 8_000_000, with a note on where the number comes from.README.md: thellms-full.txtrow says 8 MB.prod-mcp-v0.24.0-c65378e)llms-full.txtTesting
bun run checkandbun run build:relaypass: "llms-full.txt 167 pages (2.00 MB)".llms-full.txt(glaze and hazelnut readllms.txt; semantic search calls the backend).Risk
🤖 Generated with Claude Code