Repository navigation
fix(mcp): read guides only from docs/guides, ship them in English only - #2254
Merged
Merged
Conversation
`.claude/rules/schematics.md` shares its name with the `schematics` guide, so the release build replaced the English guide with the rule file. Regenerate guides.json and point two specs at sections that exist in the 21.0.0 texts. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Visit the preview URL for this PR (updated for commit fb9433b): https://koobiq-next--prs-2254-jbsrcixk.web.app (expires Fri, 30 Oct 2026 09:50:37 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: c9e37e518febda70d0317d07e8ceb35ac43c534c |
artembelik
approved these changes
Oct 27, 2026
An agent reads the English text as well as the Russian one and answers in the user's language, while the second copy doubled guides.json and needed a section-parity check and cross-language addressing. get_guide, migrate and which_component_when lose lang. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
which_component_when matches the words of a task against the rows of the guide, so a Russian task has nothing to hit in the English text. Only that guide keeps both languages. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
lskramarov
approved these changes
Oct 27, 2026
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.
Summary
The 21.0.0 release commit shipped a
guides.jsonwhere the Englishschematicsguide was.claude/rules/schematics.md(0 sections, rule frontmatter as the lede), which turned themcpcheck red onmain. While there, the guides now ship in English only.Notable changes
build-guides.ts: the working-tree pass lists onlydocs/guides,locateskips hidden directories, and only English texts are taken.guides.jsonregenerated withKOOBIQ_RELEASE=21.0.0(history.jsonis unchanged); 10 guides (9 English plus the Russianwhich-component-when), ~220 KB.get_guideandmigratelose thelangparameter; cross-language section addressing and its parity test are removed. Russian component pages, search andlist_componentssummaries are untouched.prebuiltsection in 21.0.0 so the spec readssetup; themigraterange ends at 20.0.0 because with 21.0.0 the output budget cut off theaddedline.Review focus
which-component-whenis the one guide that keeps its Russian text, becausewhich_component_whenmatches the words of a task against its rows; its Russian acceptance specs are kept.check-mcp-dataagainst the staged data.🤖 Generated with Claude Code