Code intelligence checkpoint history

This is the chronological working record through the implementation checkpoint 867fb766. Statements about remaining work describe their recorded checkpoints. The current behavior and limits are documented in Code intelligence. Original failures and measurement limits remain part of the record.

Code intelligence: host language services, LSP and caching

Rust 0.3.0 declares rust-analyzer through API 9, with declared Cargo/toolchain inputs and Cargo build output in the execution host's cache. The API 7 JavaScript/TypeScript plugin declares typescript-language-server for JS, JSX, TS and TSX; its dialects share one service and synchronize unsaved open buffers. C# 0.2.0 declares csharp-ls through API 8, with the .NET 10 SDK and multi-project .slnx or standalone .csproj workspaces. Its public virtual-document declaration supplies read-only framework definitions. Python 0.2.0 declares Pyright through API 6, with project configuration and virtual-environment import resolution on the execution host. Unsaved cross-file types, diagnostics, completion, navigation and reviewed rename use the shared service; Pyright does not provide formatting. Go 0.3.0 declares gopls through API 9, with declared project inputs, external build/module caches, single-module go.mod and multi-module go.work projects, unsaved cross-module analysis, completion imports, read-only standard-library definitions and reviewed rename/formatting in both modes. C/C++ 0.2.0 declares clangd through API 7. C and C++ retain their language IDs while sharing a service, compilation-database or .clangd configuration and unsaved header overlays. Diagnostics, completion, navigation and reviewed header/source rename and formatting work in both modes. The shared host refreshes dependent documents after overlay changes without saving files or restarting the service. HTML, CSS/SCSS and JSON/JSONC 0.2.0 packages declare the corresponding VS Code language servers through the public API 7 contract. Related dialects share their server while each package remains independently installable. Local JSON schemas, unsaved buffers, snippets, diagnostics and provider lifecycle use the same service and editor paths in both modes. Terraform 0.1.0 owns HCL parsing and editing rules in an independently installable API 9 package built on the public toolkit. Seven Terraform/HCL dialects share terraform-ls. Installed editor checks cover component-owned syntax, unsaved cross-file types, navigation, completion, reviewed formatting and undo, diagnostics, disable/re-enable and host restart in both modes without initializing infrastructure (editor contract). The shared host facade supports diagnostics, hover panels and pointer information, manual and while-typing completion, definitions, references, document symbols, rename, document formatting and text-edit code actions in both project modes. Clients validate source-bound results, review edits and stage changes through existing editor history and recovery. Native services retain warm state with bounded service counts, source buffers, requests and idle lifetime; unsaved clients stay isolated. Completion popups support keyboard and pointer selection, single-transaction insertion with imports, and normal Tab focus navigation. Automatic requests are debounced and coalesced; source, selection and provider changes reject stale results. Pointer information preserves the caret and works in read-only files. Dismissing completion preserves new-source refreshes and periodic diagnostics. Completion snippets, selection formatting, type definitions, implementations, filtered outlines, workspace-symbol search and diagnostic traversal use the shared editor paths. Independently enabled analysis providers label their own problems and fixes; failures preserve ordinary editing. Production browser checks cover these workflows and provider lifecycle in both modes.

Remaining work:

Extend the public language contribution contract, with the same permissions and lifecycle for bundled and community packages.