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.