From 3b28c001a10523cbb47c2522118bb21b39310cc1 Mon Sep 17 00:00:00 2001 From: "Aleksei (Faumaray) Selikhov" Date: Sun, 6 Dec 2026 00:52:20 +0300 Subject: [PATCH] Record that VLS targets any compiler D-032: no custom-built compiler is a dependency going forward. Private-GCC experiments remain historical evidence, compiler-native completion is not pursued through the private frontend, and compiler-specific capabilities (occurrence observer, stock diagnostics profile) stay optional accelerators with documented fallbacks. The parity matrix and state note the change. --- docs/agent-workflow/DECISIONS.md | 16 ++++++++++++++++ docs/agent-workflow/LSP-PARITY.md | 8 ++++---- docs/agent-workflow/STATE.md | 5 +++++ 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/docs/agent-workflow/DECISIONS.md b/docs/agent-workflow/DECISIONS.md index d18150e..3c896dd 100644 --- a/docs/agent-workflow/DECISIONS.md +++ b/docs/agent-workflow/DECISIONS.md @@ -72,3 +72,19 @@ Consequences: Implementation status: decided, not yet implemented. `GccProfile::prepare()` in C++ and the launcher default are the next package. + +## D-032: VLS targets any compiler; no custom-built compiler + +The user directed that VLS must not depend on a custom-built compiler and +should work with any compiler in the future. Existing private-GCC experiments +and patches remain historical evidence, but new features may not require them. + +Consequences: +- Compiler-native completion with visibility proof is not pursued through the + private frontend. The generic completion surface stays index-backed and is + explicitly marked incomplete. +- Compiler-specific capabilities (the GCC occurrence observer, stock GCC + diagnostics profile) remain optional accelerators. Without them the server + degrades to snapshot-based features and reports the reason. +- Future compiler integration uses standard interfaces: LSP inputs, SARIF + diagnostics, compilation databases and VBS metadata. diff --git a/docs/agent-workflow/LSP-PARITY.md b/docs/agent-workflow/LSP-PARITY.md index d5af1b4..672dc23 100644 --- a/docs/agent-workflow/LSP-PARITY.md +++ b/docs/agent-workflow/LSP-PARITY.md @@ -35,7 +35,7 @@ missing part. Updated December 5, 2026 after semantic tokens and inlay hints. | Capability | Notes | | --- | --- | -| Compiler-native completion with visibility proof | index-backed completion is explicitly incomplete | +| Compiler-native completion with visibility proof | not pursued through a custom compiler (D-032); generic completion remains index-backed and incomplete | | Overload-set signature help | observed overloads are listed with the compiler-selected one first; visibility and overload resolution are not proven | | textDocument/formatting | needs a plan | | callHierarchy / typeHierarchy | prepare, incomingCalls and outgoingCalls are implemented and served; outgoing calls are verified over stdio now that the observer reports full function extents. Type hierarchy is open. | @@ -45,6 +45,6 @@ missing part. Updated December 5, 2026 after semantic tokens and inlay hints. ## Next slices -1. call hierarchy from stock call facts. -2. Formatting via the selected compiler. -3. code lens and executeCommand. +1. Generic-compiler degradation: every compiler-specific feature names its fallback. +2. Broader index migrations. +3. Client-side application of server edits. diff --git a/docs/agent-workflow/STATE.md b/docs/agent-workflow/STATE.md index e0dc41b..630cd8e 100644 --- a/docs/agent-workflow/STATE.md +++ b/docs/agent-workflow/STATE.md @@ -213,3 +213,8 @@ responses identify the requested assignment and thread, without independent model or effort attestations. Some assignments returned HTTP 429. The root verified the available files and test outcomes and recorded outstanding reviews in [TASKS.md](TASKS.md) and [PREFLIGHT.md](PREFLIGHT.md). + + +D-032 directs that VLS work with any compiler in the future and not depend +on a custom-built one; private-GCC work remains historical evidence and +compiler-specific features are optional accelerators.