Skip to content

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
zlareb1 merged 7 commits into
mainfrom
docs/code-index-by-language
Nov 13, 2026
Merged

zlareb1 merged 7 commits into
mainfrom
docs/code-index-by-language

Conversation

@zlareb1

@zlareb1 zlareb1 commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Documentation (changelog entry is not required)

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.md answers 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.symbol with uses_brief: true: DB::IMergeTreeDataPart::getBytesOnDisk in the ClickHouse repository and writer_actor in this one, both at tier: "scip". The page names no counts, which move with the index.

Scope and risk

One new page, listed in docs/index.md and docs/use-cases/index.md and linked from docs/use-cases/code-intelligence.md; llms.txt regenerated. The new page joins the translated set (SOURCES), as the docs rule says for a use-case page, and test_i18n.py now checks that every docs/use-cases/*.md is 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 ## Go was refused before. A short page (up to WHOLE_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 fixes override as sobrescritura (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 with all applies them everywhere.

Compatibility, rollout and rollback

  • Wire: none.
  • Operator steps: none.
  • Rollback: revert; the translations go back with it.

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.
  • Each claim on the page was checked against 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 typecheck and make test-unit pass; the integration suite passes if server behaviour changed.
  • Generated files are regenerated in this PR, not by hand.
  • Docs under docs/ describe the system as it now is, and this description names any operator steps and wire changes.

🤖 Generated with Claude Code

zlareb1 and others added 7 commits November 13, 2026 08:07
… 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]>
@zlareb1
zlareb1 merged commit f29b778 into main Nov 13, 2026
41 checks passed
@zlareb1
zlareb1 deleted the docs/code-index-by-language branch November 13, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant