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.
38 lines
3.3 KiB
Markdown
38 lines
3.3 KiB
Markdown
# 26 — Native VBS build and staged Void adoption
|
|
|
|
Status: Native build and tests verified. Dependency-aware VBS development CLI installed a working server. Full editor/project adoption is gated.
|
|
Requirements: R-008,R-010,R-014,R-020,R-022,R-023
|
|
Dependencies: VBS native executor/toolchain/package/testing readiness and01 for the immediate build slice;06 live producer,08 semantic gate and core IDE/debug milestones for full replacement.
|
|
|
|
## Ownership and boundaries
|
|
Root coordinates repository boundaries; proposed Sol VLS build descriptions/adoption harnesses and Astra coupled native-tooling issues. NEW build.cpp/build profiles are now authorized by D-025; write ownership and preflight still precede substantial implementation.
|
|
Future assignments must verify the then-current baseline and exact disjoint paths;
|
|
these proposed scopes do not authorize work in another repository.
|
|
|
|
## Contracts and data flow
|
|
Native VBS is the primary build path per D-025. The existing CMake seed provides comparison evidence while native readiness is established. VLS runtime consumes a resolved tooling contract independently of how VLS itself was built. Initial adoption corpus is VoidLibrary plus VBS; all remaining Void projects require explicit inventory and evidence.
|
|
|
|
## Implementation sequence
|
|
1. Map the actual built VLS target/module/test closure into ordinary VBS C++ descriptions after its executor/SDK stabilizes. Keep host compiler and analyzed target toolchain identities distinct.
|
|
2. Build/test/install VLS natively in a clean output tree using verified dependencies. Do not count reused CMake artifacts as native self-build success.
|
|
3. Run both editor clients against Library and VBS, including build-description contexts, cross-project navigation, generated prerequisites and module/reflection cases.
|
|
4. Complete full core IDE plus live/replay/DAP/custom-view acceptance before labeling the server a usable replacement. Expand through an approved per-project matrix with unsupported constructs and rollback documented.
|
|
|
|
## Failure behavior and constraints
|
|
Missing VBS functionality is an upstream prerequisite, never a reason to advertise a fake native command. Do not edit sibling build descriptions during this bootstrap. A project failing compiler fidelity remains on its prior tooling until the defect or scope is resolved.
|
|
|
|
## Acceptance scenarios
|
|
1. Compare clean native and CMake seed target/test outputs and provenance; require no project-artifact reuse for native proof.
|
|
2. Exercise profile selection, metadata refresh, explicit generator builds and cross-project source mapping in both clients.
|
|
3. Record project-by-project core IDE/debug journeys, resource/performance results and a tested switch-back configuration.
|
|
|
|
## Verification and integration
|
|
Proposed NEW CTest label: `adoption`. Once implemented, register a nonzero suite and run:
|
|
```sh
|
|
dev cpp-gcc -c ctest --test-dir build/bootstrap -L adoption --output-on-failure
|
|
```
|
|
This future command is not evidence that the label/tests exist now. Before dispatch,
|
|
bind the fixtures above to actual targets and record prerequisites/side effects.
|
|
Require fresh independent review of the implemented contract and affected integrations.
|
|
Retain the CMake seed while native build confidence grows and preserve prior editor setup. Switching clients back must not rewrite project sources, compile databases or user settings without request.
|