Files
Language-Server/docs/roadmap/REQUIREMENTS.md
T
faumaray da8003f6d4 Implement the VLS roadmap on the native VBS build
Native VBS and CMake builds of the server and every registered suite:
protocol and document sync, VBS/compdb providers, stock GCC diagnostics
(including in-process default profile preparation), the stock occurrence
observer and hover/definition, the bounded Scheduler, C++ module graph,
scan and artifact cache with real CMI production, the context-aware
symbol index with schema-2 snapshot migration, navigation and guarded
rename, reflection provenance with splice-origin extraction, index-backed
completion and signature help, live GCC worker control with a registered
DAP suite, and the Neovim and VS Code clients.

VoidLibrary follows main. The private GCC 16.2.0 frontend is reproduced
from the versioned patches and verified stepping reflection/template code
with projected values 17/34 and 41/82.
2026-12-05 14:06:50 +03:00

4.5 KiB

Requirements and acceptance ledger

Approved2026-11-25. On2026-11-27 the user authorized implementing all plans. The full requirement set remains the goal; completion requires the gates and evidence below, not just bootstrap test success.

ID Requirement Acceptance boundary Plans
R-001 C++26 server using VoidLibrary Actual APIs linked, GCC16 host, dependency provenance 01
R-002 Working stdio lifecycle shell Real initialize/initialized/shutdown/exit and correct errors/exits 02
R-003 Conforming bounded JSON ingress Decimals/exponents, integer/string IDs, Unicode/escapes and depth tests 01,02
R-004 Honest capabilities and status No semantic/debug/VBS promises before implementation All
R-005 Traceable dependency and meaningful tests Follow VoidLibrary main per D-021; record tested commit, separate local override, nonzero tests and outcomes 01,24,25
R-006 Versioned unsaved documents Correct positions, edits, snapshots and desynchronization handling 03
R-007 Workspace/tool execution boundaries Metadata alone cannot authorize executables, plugins or wrappers 04,07,09
R-008 Native VBS integration Resolved tooling generations, profile/target selection, readiness and live producer evidence 05,06
R-009 compile_commands compatibility Standard fields, alternative commands, driver-aware quoting/response files, honest missing metadata 07
R-010 GCC16 Void source fidelity Real Void/GCC/libstdc++ corpus passes frontend gate; unsupported constructs explicit 08,09
R-011 Responsive foreground work Warm completion p95100ms, navigation50ms on recorded corpus/hardware 10,14,24
R-012 Native modern modules Named modules, partitions, header units, unsaved dependency changes and compiler-specific artifacts 11
R-013 Reflection/meta semantics Queries, splices, expansions, generated entities and reliable origins 12
R-014 Core editing features Diagnostics, completion, hover, navigation, references 13,14,15,16
R-015 Safe rename Complete declared affected contexts, editable provenance, guarded versioned buffer transaction 16,22,23
R-016 Metaprogram instrumentation Templates, constraint decisions, constexpr/consteval and reflection events/values 17
R-017 Live metaprogram debugger Breakpoints, pause/continue, stepping, frames, scopes and inspection 18
R-018 Recorded evaluation replay Historical state/source, cursor navigation, explicit failed/truncated traces 19
R-019 DAP and custom views One session/control authority, DAP plus timeline/tree/entity views 20,21
R-020 Neovim AND VS Code End-to-end editing, guarded rename, live and replay debug journeys 22,23
R-021 Robustness and resource isolation Worker recovery, bounded resources, cancellation and ordinary-editing capacity 09,10,18,19,24
R-022 Native VBS as primary build system Build/test/install VLS and VoidLibrary natively; existing CMake seed is historical bootstrap evidence 01,26
R-023 Staged adoption across Void VoidLibrary and VBS first; evidence-based expansion to remaining projects 26
R-024 Linux first; later parity/ports Linux release matrix now; Windows/macOS and broader IDE features separate 25,27
R-025 Detailed durable plans and decisions Dependency graph, contracts, ownership, failures, implementation and tests for every part All
R-026 Deliberate licensing/release gate License decision after backend evidence; no implicit distribution approval 08,25

Release definition

Milestone0 proves the shell, not clangd replacement. The first usable replacement must meet R-008 through R-021 and the two-client adoption corpus, including BOTH live and replay debugging and BOTH DAP and custom views. A successful handshake, a compiler version string, a prototype trace or passing unit tests alone cannot establish this.

No fixed release date was selected. Lack of a deadline does not waive acceptance. The planned C++26 matrix is bounded by the approved GCC16 project corpus and explicitly enumerated proposals; do not claim complete final-standard coverage from -std=c++26.

Current external prerequisites

VoidLibrary main 7d7d23e supplies decimal support. Independent review found two remaining exact-number requirements, now exercised by failing cases. VBS has new editor generation/query APIs; complete native tooling coverage and live adoption remain unverified. Frontend/debugger feasibility and licensing remain explicit gates.