SymbolIndex::find_by_path exposes one document's records with the same overlay shadowing and coverage as find. EditorDiagnostics maps them to textDocument/documentSymbol, and a bounded same-file highlight core (vls/features/DocumentSymbols.hpp) backs textDocument/documentHighlight from verified occurrence facts with the ambiguous-binding rule. Both are advertised and exercised over a real stdio session with the stock observer. Record the LSP parity matrix.
15 KiB
Development state
Updated December 5, 2026. Work is on feat/implement-roadmap at
ca04975d545efd4a891ee90edf22f130069bd191, with implementation changes in the
working tree. The user authorized all 27 plans on this branch. The 16-file
original foundation baseline is preserved under build/goal-baseline-20261127.
VoidLibrary follows main; the current prepared generation is
9cb86f8f978668215328ead51ee6f132552847c1.
Verified
- VoidBuildSystem builds VLS and VoidLibrary natively. Preparation follows VoidLibrary main and records each selected immutable generation. The staged executable from the development VBS install path passed a real stdio session.
- The stdio server negotiates UTF-8 or UTF-16, owns immutable document overlays and accepts ordered incremental edits. It advertises text synchronization. Both encodings were exercised through an edit whose outcome depends on the previous replacement having actually taken effect.
- Native VBS and comparison CMake each register 266 C++ cases across ten suites.
All registered cases pass on VoidLibrary
9cb86f8f, including the two exact numeric request ID and out-of-range JSON number cases that failed on7d7d23e. The upstream StrictJson defect was reported as Void/Library#60 and closed after the fix was verified. All eight dependency preparation tests pass. Verification commands and results - Installed VLS reports per-document contexts from the selected VBS generation and from an external compilation database. Real stdio tests cover aliases, including a symlink followed by a parent component, a change of file identity, unavailable optional locators and the 16-alternative response limit.
- Reference GCC 16.2 passed the 19-case reflection and module corpus. The pinned Bloomberg compiler built successfully. It accepted the basic module, splice and range-expansion controls and failed the production Void header and GCC standard-library fidelity checks. GCC 16.2 resolved both edited overloads and recovered from an invalid edit. Two private module generations produced distinct reflected values. The user authorized an isolated GCC worker and versioned evaluator hooks.
In progress
Module work now has an editor admission path: ModuleWorkQueue submits scans
at background priority and artifact preparation at artifact priority on the
same bounded Scheduler used by analysis. A newer revision supersedes queued
work and cancels running work, and the EditorDiagnostics lifecycle cancels both
kinds per document on edit/close and on shutdown. The registered module suite
covers priority separation, supersession, per-document cancellation, stale
revisions and terminal counts. EditorDiagnostics now builds the checked P1689
scan command from the active compiler context and submits it through the
queue; analysisStatus reports the decoded provides/imports. The real stdio
corpus reached moduleScan: ready on the Void TU. The module corpus now drives artifact preparation from the decoded scan rule and
asserts a published generation; editor-driven artifact
production is verified: tests/native/EditorModules.py observed editor.cmi from the
scan and a published 64-character artifact generation through EditorDiagnostics.
Live DAP control for the private GCC worker is implemented: LiveSession
spawns the worker, speaks its notice/control protocol, tracks stop generations
and enforces bounded notices and deadlines; vls-dap --live maps DAP
continue/next/disconnect to worker control, maps setBreakpoints to the
live session with hit IDs on matching stops, projects typed values from the
inspection snapshot, rejects pause/stepIn/stepOut explicitly, and serves
bounded frame and state inspection with handles that expire when the session
moves. The registered vls_live_tests
suite covers stepping, inspection per generation, continue, cancel, refusal
without a stop, malformed output and the deadline, and a real DAP transcript
test drives the adapter end to end.
Completion is now served: textDocument/completion is advertised and answered from the symbol index through EditorDiagnostics::completion, with a bounded ranking core in include/vls/features/ and registered vls_feature_tests. Results are explicitly incomplete because the index does not prove visibility; compiler-native completion, deferred detail resolution and signature help remain open.
Index-backed rename coverage is now merged into the navigation fact set (vls/features/IndexNavigation.hpp): persisted index contexts and records join the set with the index's completeness, existing compiler-derived facts win, and records without a known current content identity stay non-editable so rename refuses them. Multi-file rename can therefore be ready from real index data when a transactional client is present, proven by registered vls_feature_tests cases.
The rename transaction is now applied in both editor clients. Neovim's
:VlsRename requests the guarded server rename and applies the changes map
transactionally: every range is validated before any buffer is touched, edits
are applied per buffer, and any failure restores the exact pre-edit lines and
modified state of every already-changed buffer. VS Code registers a C++ rename
provider backed by the server and exports applyRename, which builds one
WorkspaceEdit, rechecks the document versions captured at preparation, and
relies on VS Code's transactional application. Headless tests inject a buffer
write failure (Neovim) and a stale document version (VS Code) and assert no
partial edits.
The navigation and guarded-rename package (roadmap 16) is implemented with a
registered suite: binding resolution that never resolves overlapping spellings
by iteration order, deduplicated references with explicit coverage, and a
rename plan that refuses incomplete coverage, stale sources, non-editable
origins, ambiguous bindings, generated/invalid names and multi-file edits
without a transactional client. textDocument/references,
textDocument/prepareRename and textDocument/rename are wired to it. The
stock occurrence corpus asserts that references, prepareRename and rename all
refuse with an explicit incomplete-coverage error rather than returning an
apparently complete set. Applying a ready multi-file rename through client
buffer transactions remains open.
The context-aware symbol index (roadmap 15) is implemented as a bounded
library with a registered suite: explicit analysis contexts, unsaved overlays
that shadow committed records and reconcile on save/close, dependency and
source invalidation that marks coverage incomplete without discarding last-good
records, immutable generations with reader retention, versioned persistence
(schema 2 with a payload digest, migrating schema-1 snapshots on restore)
with corrupt/incompatible/oversized rejection and quarantine, and bounded queries reporting
coverage and truncation. It is wired into navigation: EditorDiagnostics
ingests occurrence facts after each analysis and the server answers
workspace/symbol from the index; the stock occurrence corpus found the
Hash.hpp definition through it. Real persistence migrations and cross-file
rename coverage remain open.
Index-backed completion (roadmap 14 first slice) is implemented: include/vls/features/Completion.hpp, src/features/Completion.cpp and registered vls_feature_tests cover prefix extraction, filtering with replacement ranges, label+kind deduplication, deterministic ranking and bounds. Server.cpp advertises completionProvider and answers textDocument/completion from the symbol index through EditorDiagnostics::completion; a real stdio session with the stock observer returned fnv1a64 and fnv1a64_update at a real call site. Every result is marked incomplete because the index does not prove visibility. Signature help is now served from the compiler-provided occurrence signature (parameter labels and ranges, active parameter, innermost call selection) and advertised by the server. Document symbols are served from the index by path and document highlights from same-binding occurrence facts; both are advertised and were exercised over stdio with the stock observer. Compiler-native completion with visibility proof and deferred detail resolution remain open.
The reflection provenance representation (roadmap 12 first slice) is
implemented as a bounded library with a registered suite: innermost-first
origin chains distinguishing editable spelling, expansion/splice sites,
reflected declarations and synthesized entities (generated entities stay
navigable but not automatically renameable), variant values with canonical
types and honest opaque/unavailable kinds, depth-first expansion that reports
cycles, depth/value-limit cuts and dangling references instead of dropping
them, a versioned canonical JSON snapshot with duplicate/oversized/incompatible
rejection, and a proposal/facility capability matrix where an unknown entry is
an explicit error. Read-only virtual generated views render an entity and its
expansion as explanation lines with source links, explicit cycle/truncation
markers and a never-compilable contract. Compiler extraction of splice origins
is now real: patch 0004 makes the reproduced GCC record the splice site and the
designated entity, the worker trace exposes them in inspection snapshots, and a
registered test asserts the provenance chain from recorded real compiler
output. LSP-shaped hover/locations adapters exist in the reflection library,
and the live DAP variables projection exposes reflected entities with their
declaration and splice coordinates. The EditorDiagnostics LSP path and
index/rename integration remain open because the server has no reflection data
source yet.
The bounded analysis scheduler (roadmap 10) is implemented as a library with a
registered suite and is now the admission layer of EditorDiagnostics: one
foreground slot preserves the single compiler-state owner, revision coalescing
supersedes queued work, running work receives cooperative cancellation, the
watchdog bounds stalled jobs, and analysisStatus exposes the scheduler
counters. Separate foreground, background and artifact pools, queue and memory
admission, exactly one terminal completion per accepted submission, and a
drain that waits for in-flight completions are covered by the suite. The
private module artifact store (roadmap 11 ownership) is also implemented:
content-addressed all-or-nothing generations, reader retention, bounded
eviction and dependency-ordered production from a ready ModulePlan. Real GCC
CMI production runs the selected compiler per planned unit in a private
working directory and module cache, verifies the single produced CMI and
publishes it through the cache. Module artifact preparation also runs through
the bounded Scheduler at artifact priority: a superseded build is cancelled and
publishes nothing, and the module corpus asserts both outcomes with the real
compiler. Both suites pass in VBS and CMake, and the scheduler suite is clean
under the sanitized profile (address and undefined sanitizers) across repeated
runs.
Both thin editor clients are implemented and tested against the real
services. clients/neovim/ with tests/native/NeovimClient.lua passed on
Neovim 0.12.6 and nvim-dap cfa2d58, and clients/vscode/ with
tests/native/VscodeClient.py passed in a disposable extension host on VS Code
1.147.0. Both cover LSP status, a replay session, bounded timeline paging,
captured source and stale-generation rejection. Live debugging, guarded rename
and the remaining semantic features keep their separate gates.
The local stock GCC observer (T-STOCK-OCCURRENCES-014) is delivered with its
build tool and closed verifier: experiments/frontend/gcc-observer/Observer.cpp,
tools/prepare-gcc-observer and tests/corpus/frontend/verify-stock-observer.py.
It publishes compiler-owned direct-call return types, canonical types,
signatures and joined function definitions as strict JSON with byte-checked
spans. The verifier covers same-line overloads and edits, header shifts and
recovery, macro and #line withholding, same-name qualifiers, declared-only
targets, template instantiations, UTF-8 BOM, paths with spaces, capacity,
compile errors, malformed manifests and a sealed fixed-path run. The host
integration is also tested: the launcher profile selects the observer by path
and SHA-256, each job re-verifies the staged bytes, decode_occurrences
validates the report against the exact capture, and LSP hover/definition serve
the verified facts. tests/native/StockOccurrences.py selected the
string_view overload at Hash.hpp:59 and the byte_span overload at line 65
after editing the real Void call. Constant-folded calls are withheld because
the frontend removes them before genericization.
The C++ module planner passed 21 cases, including a stale header-unit CMI,
an added file changing __has_include, duplicate providers and a 4,096-unit
chain. The GCC corpus checked 33 scanner and module behaviors. Seven integration
cases exercised the C++ planner, including a changed partition graph and a
failed scan that still produced a rule. Editor scheduling and private module
artifact production remain open.
The VBS-installed executable and the comparison executable both deliver stock
GCC 16.2 diagnostics over LSP with the opt-in Linux/Nix profile. The installed
server selected the correct main TU among 54 native and 76 comparison commands.
The stdio corpus edited the real VBS-selected DocumentSnapshot.cpp and received
the correct seven-character error range on line 19. Fixing the source cleared
the error. A superseded compile produced no late notification. Initial source
discovery used ten frontend passes, and the subsequent edit used one. A
compilation-database workspace also exercised an unsaved header, an optional
header appearing on disk and a #line remap with an unlocated error.
The editor can request voidLanguageServer/analysisStatus for the current
TU's context and unlocated messages. Larger workspaces, cross-file diagnostic
publication, additional toolchains and module scheduling remain open. The C++
diagnostics suite includes ten SARIF and sixteen source-catalog tests.
The private GCC 16.2 frontend passed 19 language checks, eight tooling probes and 33 module checks with the reference standard library and flags. Its first local patch captured a nested return of 17 followed by 34, then 41 followed by 82 after an enum edit. The same compiler process paused, stepped and resumed. Cancellation preserved the observed inner result. The prototype supervisor and offline replay passed their process checks. Both builds pass 13 journal cases and eight immutable recording cases. Offline replay reproduced four real recordings, including a four-stop session and cancellation. The source-occurrence harness passed after patch 0003 corrected first-line physical columns for UTF-8 byte-order marks. The stock GCC/GDB experiment also observed the nested returns on one unmodified compiler package. Production compiler-backed IDE features, debugging protocols, editor clients and adoption retain their separate acceptance gates.
The user approved GPT-6.2 Astra/Sol at Max for all delegated tasks. Runtime 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 and PREFLIGHT.md.