Expand description
Per-language semantic coverage: how many of a language’s file-level call
edges are verified, and whether a language server for it can run here.
Shared by ctx_graph status, lean-ctx doctor and the dashboard legend.
Structs§
- Grade
Counts - Evidence counts of one language’s file-level
callsedges. - Negotiated
Backend - What a backend negotiated for a language at its last start (the
initializehandshake), as recorded in<data dir>/semantic-backends.json— across processes, solean-ctx doctorsees what the MCP server’s backend can do. - Server
Status - Whether lean-ctx can start a standalone language server for a language.
Functions§
- coverage_
by_ language callsedge evidence grouped by the caller file’s language (theLanguageIdspelling:rust,typescript, …), sorted by language.- coverage_
lines - One line per language for terminal output, e.g.
rust 96/120 verified (80%) · rust-analyzer ✓ · offers definition, references, implementations; no type hierarchy, fromcoverage_by_language. Sorted by language; deterministic. - negotiated
- What the last backend started for
languagenegotiated, if one ever ran. - record_
negotiated - Records what a freshly started backend negotiated for
language. Written only when it changed; best effort (a status display, not state anything depends on). - server_
status - Standalone-server status for a language (
LanguageIdspelling) inproject_root— the server the router would start there (a project’s own TypeScript counts);Nonewhen lean-ctx knows no standalone server for it (a JetBrains IDE may still serve it).