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

3.2 KiB

01 — Bootstrap, dependency provenance and CLI

Status: PARTIAL (T-001); builds verified, final JSON acceptance blocked upstream Requirements: R-001,R-003,R-005,R-022,R-026 Dependencies: None for repository/CLI; upstream VoidLibrary decimal revision gates final JSON acceptance.

Ownership and boundaries

T-001 has handed source/build ownership back to root for integration. Root owns provenance/docs and dependency-reference policy; later source tasks require explicit ownership. 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

Build with GCC16+, C++26 and -freflection; CMake4+/Ninja. VLS_VOID_SOURCE_DIR is an explicit development override, never an implicit sibling lookup. Follow upstream main per user decision D-021 and record the tested commit and override provenance. CLI modes are default/--stdio, standalone --help/-h and --version/-V, with invalid/mixed options returning2.

Implementation sequence

  1. Select only the verified Void module closure: Configuration/Data/Unicode, with System/Testing for tests. Disable dependency tests/benchmarks and keep output in the VLS binary tree; static linkage simplifies the initial executable.
  2. Create a reusable protocol target, thin main and separate unit/subprocess test executables. Keep framework setup in the CMake binary tree. Test registration must propagate failures and must discover a nonzero count.
  3. Observe the user's upstream JSON update on main, inspect its API and run the capability suite. Baseline9931c5f lacks decimals; do not independently add decimal parsing or call an unverified upstream update accepted.
  4. Document install/run commands, version/provenance, source override and capability limitations. Preserve third-party notices; project licensing remains undecided.

Failure behavior and constraints

An unavailable dependency, missing compiler feature or failed JSON capability is an explicit prerequisite failure. Both main and local source may change, so evidence must name the actual tested commit and dirty state. Preserve prior results; never alter the external checkout to make it compile.

Acceptance scenarios

  1. Build clean upstream-main and explicitly named local-source configurations in separate trees; record the resolved revision and compare dependency tracked state before/after.
  2. Verify help/version, unknown arguments and incompatible modes with output/exit assertions; test stdio default without diagnostic leakage.
  3. Require registered nonzero tests, decimal/exponent ingress, correct integer/string IDs, Unicode/depth boundaries and actual child-process lifecycle coverage.

Verification and integration

Run the documented configure/build/CTest commands from the repository README. Inspect ctest -N and test output for nonzero registration and real failures. Upstream main and local override use separate build trees. Require fresh independent review of the implemented contract and affected integrations. Retain prior build/provenance records and review API changes when main advances. Do not restore a commit pin, delete unrelated build trees or rewrite global toolchain state.