Files
Language-Server/docs/roadmap/26-vbs-self-build-adoption.md
faumaray ca04975d54 bootstrap
Signed-off-by: faumaray <faumaray@gmail.com>
2026-11-25 02:11:19 +03:00

3.1 KiB

26 — Native VBS build and staged Void adoption

Status: PLANNED; no implementation claim Requirements: R-008,R-010,R-014,R-020,R-022,R-023 Dependencies: VBS native executor/toolchain/package/testing readiness;06 live producer,08 semantic gate and core IDE/debug milestones for full replacement.

Ownership and boundaries

Future joint work: root coordinates repository boundaries; Sol VLS build descriptions/adoption harnesses, Astra coupled native-tooling issues. NEW build.cpp/build profiles and tests/adoption/ only after scope approval. 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

CMake is the initial seed; native VBS becomes the primary build path after verified readiness. 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:

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.