Skip to content

fix(mcp): read guides only from docs/guides, ship them in English only - #2254

Merged
NikGurev merged 4 commits into
mainfrom
fix/mcp-guides-locate
Oct 27, 2026
Merged

NikGurev merged 4 commits into
mainfrom
fix/mcp-guides-locate

Conversation

@NikGurev

@NikGurev NikGurev commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The 21.0.0 release commit shipped a guides.json where the English schematics guide was .claude/rules/schematics.md (0 sections, rule frontmatter as the lede), which turned the mcp check red on main. While there, the guides now ship in English only.

Notable changes

  • build-guides.ts: the working-tree pass lists only docs/guides, locate skips hidden directories, and only English texts are taken.
  • guides.json regenerated with KOOBIQ_RELEASE=21.0.0 (history.json is unchanged); 10 guides (9 English plus the Russian which-component-when), ~220 KB.
  • get_guide and migrate lose the lang parameter; cross-language section addressing and its parity test are removed. Russian component pages, search and list_components summaries are untouched.
  • Specs: theming has no prebuilt section in 21.0.0 so the spec reads setup; the migrate range ends at 20.0.0 because with 21.0.0 the output budget cut off the added line.

Review focus

  • which-component-when is the one guide that keeps its Russian text, because which_component_when matches the words of a task against its rows; its Russian acceptance specs are kept.
  • Whether the release pipeline should also run check-mcp-data against the staged data.

🤖 Generated with Claude Code

`.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>
@NikGurev
NikGurev requested a review from lskramarov as a code owner October 27, 2026 08:56
@github-actions github-actions Bot added the bug Something isn't working label Oct 27, 2026
@NikGurev
NikGurev requested a review from artembelik October 27, 2026 08:57
@NikGurev NikGurev self-assigned this Oct 27, 2026
@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

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

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>
@NikGurev NikGurev changed the title fix(mcp): read guides only from docs/guides fix(mcp): read guides only from docs/guides, ship them in English only Oct 27, 2026
NikGurev and others added 2 commits October 27, 2026 12:37
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>
@NikGurev
NikGurev merged commit 30432f9 into main Oct 27, 2026
15 checks passed
@NikGurev
NikGurev deleted the fix/mcp-guides-locate branch October 27, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants