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.
91 lines
5.7 KiB
Markdown
91 lines
5.7 KiB
Markdown
# Implementation resumption — 2026-11-27
|
|
|
|
## Authorization and observed baseline
|
|
|
|
The active user goal is to implement the existing plans, preserving all requirements
|
|
and gates. This supersedes the earlier limitation to the bootstrap milestone. No
|
|
commit, push, release, sibling edit or global configuration edit is authorized.
|
|
The user confirmed that no worker is editing the existing uncommitted files and
|
|
instructed continuation from them. Preserve their intent and review them as code.
|
|
|
|
Repository: /home/faumaray/Projects/VoidLanguageServer, main at
|
|
ca04975d545efd4a891ee90edf22f130069bd191, tracking origin/main. The committed bootstrap
|
|
and remote existed on resumption; this run did not create either. Initial changes:
|
|
cmake/VoidDependency.cmake plus15 untracked source/header files under include/Void/
|
|
LanguageServer and src/{Documents,Protocol,Workspace}. An exact source-only backup
|
|
of these16 files is in ignored build/goal-baseline-20261127 with SHA256 manifest.
|
|
No unrelated files, secrets or sibling source were copied.
|
|
|
|
## Delegation and branch
|
|
|
|
The user explicitly requires Max effort and rejected XHigh. The live spawn-tool
|
|
schema fixes every approved role to XHigh and says those settings cannot be changed.
|
|
After escalation the user approved the generic runtime with explicit models and
|
|
Max, then selected GPT-6.2. The planner, researcher and independent reviewer were
|
|
dispatched under D-027. Spawn arguments record the requested model and effort.
|
|
All work continues on feat/implement-roadmap at the original base commit.
|
|
|
|
## Immediate root integration boundary
|
|
|
|
Roadmap01/02 was already planned, preflighted and implemented. Root may make the
|
|
small upstream compatibility repair and run its existing acceptance suites. Owned
|
|
correction: src/main.cpp. CLI modes and exit statuses remain unchanged; a sole `--`
|
|
must return usage exit2, emit no stdout and never start the LSP loop. The updated
|
|
Void Argparse accepts an end-of-options marker, so the application must reject a
|
|
successful parse that selects no mode when one argument was supplied. No alternate
|
|
parser or dependency patch is needed. The existing cli_standalone_and_invalid_modes
|
|
subprocess case already fails on exactly this input; retain its assertion.
|
|
|
|
Dependency source remains main, without a commit pin. Ordinary reconfiguration of
|
|
the existing tree retained9931c5f despite remote main7d7d23e. CMake's population
|
|
stamps require a documented --fresh refresh. The fresh fetch resolved
|
|
7d7d23ec0a6a55d4b30921432fa215b29a29e59b. Its StrictJson now has double alternatives,
|
|
decimal/exponent grammar and a checked serializer. Existing six JSON capability
|
|
bodies pass after the fresh build. Full shell acceptance also requires the CLI
|
|
regression correction, full tests and a fresh independent integration review.
|
|
|
|
## Existing foundation code: findings for planning
|
|
|
|
- CMake still builds only src/{Framing,Json,Server,main}. The new Protocol,
|
|
Documents and Workspace files have no registered targets or tests; do not claim
|
|
that their presence implements roadmap03/04.
|
|
- Protocol duplicates the original vls adapter. Its temporary serializer turns
|
|
nonfinite values into null and conversion failures into zero; replace this with
|
|
the now-available checked upstream API and an explicit failure contract before use.
|
|
- Documents has immutable shared snapshots, ordered edits, URI handling and encoding
|
|
conversion. The code currently rejects character positions beyond line length;
|
|
LSP requires clamping them. Preserve rejection of split scalars/surrogate pairs.
|
|
Test CR/LF/CRLF, full-text recovery, stale changes, aliasing and concurrent reads.
|
|
- Document disk reads release the store lock before I/O. Recheck overlays/revision
|
|
after the read so a newly opened/changed overlay cannot be bypassed by publication.
|
|
- Workspace configuration exists; TrustPolicy and tool inspection are declarations
|
|
without an implementation. Default wrapper names are data recognition only, never
|
|
authority to execute them. Repository configuration cannot grant trust.
|
|
- Freeze BuildContext/AnalysisRevision and source identity contracts before providers,
|
|
schedulers or semantics. Avoid an unreviewed namespace migration; integrate the
|
|
existing Void::LanguageServer namespaces deliberately.
|
|
|
|
These are root inspection findings, not an independent review verdict. Graph
|
|
identity/freshness was checked. Relevant VLS paths mostly match metadata; partial
|
|
header ranges and all important claims were checked against source. VoidLibrary's
|
|
graph was stale, so its exact StrictJson source was read directly without reindexing.
|
|
|
|
## Evidence sources and next gates
|
|
|
|
[LSP3.17 positions](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#position)
|
|
defines encoding negotiation, line endings and oversized character clamping.
|
|
[CMake CMP0168](https://cmake.org/cmake/help/latest/policy/CMP0168.html) documents
|
|
--fresh forcing dependency download/update/patch steps with the current policy.
|
|
|
|
VBS has advanced to6c225c2dff58b64fe8dbb0e5072f8e23f566efe5 and has an Editor CompDb
|
|
API, immutable profile generations, selection state and IDE query/config functions.
|
|
Its working tree is actively changed and not owned here. These APIs are evidence
|
|
to assess for roadmap06, not proof that the complete required tooling manifest or
|
|
live native integration already exists. Do not copy its private workspace metadata.
|
|
|
|
The CLI repair passes both bootstrap builds. A coherent VBS seed built from the
|
|
committed 6c225c2 source successfully built and ran the native decimal probe.
|
|
VBS also emitted an immutable debug compilation database with both main.cpp and
|
|
the host build.cpp context. The next work is the primary native VLS build and
|
|
foundation integration, with the full frontend, debugger and editor gates retained.
|