The three top findings of the LSP 3.18 audit (TODO.md §9), one round of
dev (Opus) + QA (Sonnet) + lead review:
- executeCommand now pushes its WorkspaceEdit as workspace/applyEdit and
reads the client's verdict; the old return-the-edit behavior stays as
the documented fallback for clients without the capability. This fixes
the three port commands doing nothing in stock clients — the returned
edit was dropped by vscode-languageclient and Neovim alike.
docs/features/apply-edit/README.md
- textDocument/diagnostic + workspace/diagnostic (LSP 3.17), served from
the same parse+lint pass the push model publishes, with resultId /
unchanged caching on one generation counter; a pulling client is pushed
nothing, a pushing client is unchanged. QA's exhaustive input trace
found no stale-unchanged path. docs/features/pull-diagnostics/README.md
- textDocument/selectionRange: chains from token spans, the tolerant
parse's item/statement spans and the scope-pair matcher, filtered to
strict nesting; the invariant swept over all 860 corpus files (6,880
positions, held everywhere). docs/features/selection-range/README.md
43 tests added across unit/e2e (server 557 -> 594+ unit, 29 -> 32 e2e);
fmt/clippy/test/smoke all clean, re-verified independently by QA and by
the lead.
Co-Authored-By: Claude Fable 5 <[email protected]>