Repository navigation
A use-case page says what the code index gives in each language: C++, Python, TypeScript, Go, Rust, Java, SQL and infrastructure code - #605
Merged
Conversation
… Python, TypeScript, Go, Rust, Java, SQL and infrastructure code Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
… page translated and listed; language names may stay as they are in a translation Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…y-language page points to operations for which compiler tiers run Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…e across sections; use-case pages regenerated Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…ames the code ops it means Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…r a section Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
… comment says requests Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
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.
Changelog category (leave one):
Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):
...
Why
A developer looking for code intelligence for a language searches for that language, and the code index's per-language facts sit in a table in the middle of the code index overview.
docs/use-cases/code-intelligence-by-language.mdanswers that search directly: one section per language family (C/C++, Python, TypeScript/JavaScript, Go, Rust and Java, SQL, infrastructure as code) says what the fast tier extracts, whether a compiler tier exists and what it adds, and how to check coverage. It links the language support table and the compiler-tier operations table for the full detail instead of copying them.The two examples are answers from real indexes, both
code.symbolwithuses_brief: true:DB::IMergeTreeDataPart::getBytesOnDiskin the ClickHouse repository andwriter_actorin this one, both attier: "scip". The page names no counts, which move with the index.Scope and risk
One new page, listed in
docs/index.mdanddocs/use-cases/index.mdand linked fromdocs/use-cases/code-intelligence.md;llms.txtregenerated. The new page joins the translated set (SOURCES), as the docs rule says for a use-case page, andtest_i18n.pynow checks that everydocs/use-cases/*.mdis in it. Its six translations and the regenerated translations of the two edited pages are in this PR ($2.64 over seven runs). The untranslated-label check gains language and tool names (Go,Rust,Java,JavaScript,C) that a heading may keep as they are: the Spanish page's## Gowas refused before. A short page (up toWHOLE_PAGE_CHARS, 8,000 characters: every use-case page) now goes to the model in one call instead of a section at a time, so its terms stay the same from section to section; review rounds found the per-section calls drifting (two words for one term on one page), and fixing terms one glossary entry at a time did not converge. Each language's fixed terms also gain the compiler and fast tier, and Spanish fixesoverrideassobrescritura(its page used two words for it). All 60 use-case translations are regenerated with both. The README and the quickstart stay sectioned and take the new terms at their next regeneration; after merge, a run of the translations workflow withallapplies them everywhere.Compatibility, rollout and rollback
Tests
tests/unit/test_i18n.py,test_doc_links.py,test_public_copy.py,test_agent_instructions.py: 497 passed (test_i18n.py: 59).python -m scripts.i18n.translate check: exit 0.python scripts/codegen/docs_reference.py --check: current.mkdocs build --strict: 0 warnings.make format-check,make lint: pass. The prose checker passes on the new page.docs/features/code-index/overview.md(the language table, the switches, the two tiers and the binding confidences),docs/operations/code-index-operations.md(the compiler tiers and their build files),docs/development/adding-language-support.md(tree-sitter and hand-written lanes) and, for Helm,server/code/domain/extract/lang_gotemplate.py.AI assistance in the code (leave one; writing this description with AI is fine):
AI-generated (an agent wrote most of the diff): Claude Code. I checked every claim against the two pages above and ran the two example lookups against the live indexes.
I can explain every line of this diff and how it interacts with the rest of Loom.
Checklist
make format-check,make lint,make typecheckandmake test-unitpass; the integration suite passes if server behaviour changed.docs/describe the system as it now is, and this description names any operator steps and wire changes.🤖 Generated with Claude Code