You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build native language services and an LSP server on top of Wright's proven frontend, compiler/session, and semantic-service layers without coupling editor concerns into compiler core.
Scope
Define the document/workspace model needed by language services.
Provide diagnostics, completion, hover, references, rename, semantic tokens, and related editor-neutral language services where they provide clear value.
Support project/include awareness using the same source/project model as the CLI.
Keep LSP as a protocol adapter over Wright-owned language-service contracts.
Validate responsiveness, stale-version behavior, project/source correctness, and representative client interoperability.
Shipping a VS Code extension, browser extension, or editor-specific UI.
Duplicating compiler/session orchestration inside the LSP server.
Making LSP types part of Wright's compiler or IR contracts.
Expanding M10 with debugger, CodeLens, inlay hints, formatter, decompiler, or unrelated post-M10 tooling.
Building sophisticated incrementality/cancellation without measured evidence.
Exit criteria
Editor-neutral language services provide the declared diagnostics/navigation/refactoring capabilities over Wright's real project model.
Source identity is preserved correctly across diagnostics, navigation, and multi-document edits.
Standard LSP clients can consume those capabilities through a thin protocol adapter with correct URI/path, UTF-16, lifecycle, and version semantics.
Included/open-overlay changes cannot leave dependent semantic results presented as current, including diagnostics previously published for included sources that are no longer diagnostic owners after a project/include change.
Multi-file rename and diagnostics follow the same Wright-owned source/project semantics as the compiler/toolchain; rename edits target semantic occurrences rather than unrelated same-spelled text.
Responsive behavior is validated against correctness/performance evidence, and the authoritative cancellation contract is internally consistent.
All bounded M10 correctness issues (#72–#75) are now independently accepted. Do not add new implementation scope unless #69 discovers a concrete acceptance blocker in current repository evidence. The remaining work is #69.
Status
M10 COMPLETE.#69's independent gate accepted the resulting current repository state on f84e43e (green CI run 31701527539, all six jobs executed). #72–#75 correctness closure accepted; language-service/LSP scope delivered with deferred capabilities (true in-flight cancellation, diff-based incremental reanalysis) recorded per #75 and in the #69 gate writeup.
Goal
Build native language services and an LSP server on top of Wright's proven frontend, compiler/session, and semantic-service layers without coupling editor concerns into compiler core.
Scope
.opyparsing, source provenance, semantic indexing, CFG, diagnostics, and toolchain/session APIs.M10 baseline sub-issues
M10 correctness closure
2345536; CI run31698428421green)f84e43e, CI run31701527539)Non-goals
Exit criteria
Planning note
All bounded M10 correctness issues (#72–#75) are now independently accepted. Do not add new implementation scope unless #69 discovers a concrete acceptance blocker in current repository evidence. The remaining work is #69.
Status
M10 COMPLETE. #69's independent gate accepted the resulting current repository state on
f84e43e(green CI run31701527539, all six jobs executed). #72–#75 correctness closure accepted; language-service/LSP scope delivered with deferred capabilities (true in-flight cancellation, diff-based incremental reanalysis) recorded per #75 and in the #69 gate writeup.