Files
Build-System/docs/roadmap/README.md
T
faumaray 4b5ef128dc
VoidBuildSystem CI / 1 · Requirements (push) Successful in 7s
VoidBuildSystem CI / 2B · Windows Wine build (debug) (push) Successful in 2m5s
VoidBuildSystem CI / 2A · Linux build (debug) (push) Successful in 2m26s
VoidBuildSystem CI / 2A · Linux build (coverage) (push) Successful in 2m37s
VoidBuildSystem CI / 2A · Linux build (sanitizers) (push) Successful in 4m20s
VoidBuildSystem CI / 2A · Linux build (relwithdebinfo) (push) Successful in 5m0s
VoidBuildSystem CI / 2B · Windows Wine build (relwithdebinfo) (push) Successful in 3m29s
VoidBuildSystem CI / 3A · Linux test (coverage) (push) Failing after 1m40s
VoidBuildSystem CI / 3B · Windows Wine test (debug) (push) Successful in 21s
VoidBuildSystem CI / 3A · Linux test (sanitizers) (push) Successful in 1m10s
VoidBuildSystem CI / 3A · Linux test (debug) (push) Successful in 5m26s
VoidBuildSystem CI / 3B · Windows Wine test (relwithdebinfo) (push) Successful in 28s
VoidBuildSystem CI / 3A · Linux test (relwithdebinfo) (push) Successful in 6m4s
VoidBuildSystem CI / 4A2 · VBS installers (linux target) (push) Skipped
VoidBuildSystem CI / 4A2 · VBS installers (windows target) (push) Skipped
VoidBuildSystem CI / 5 · Release (push) Skipped
docs: add the gap-closure (23) and superiority (24) plans
Plan 23 (Track F) re-baselines the gaps after Wave 146 and turns them into
F1–F14 with planned interfaces, acceptance gates and milestones:
hermetic sandboxing, Windows IPC/watcher/native backends, macOS/MSVC,
multi-machine orchestration, registry mirrors/federation/keys/vcpkg, BEP,
10k scaling and changes-proportional snapshots, migration depth, native
Windows CI, cross-platform determinism, PKG/APK/IFW installers, GUI/LSP
polish and maintenance.

Plan 24 (Track G) targets being better rather than equal, including against
Cargo: Cargo-grade lifecycle commands, additive C++ feature flags (the
current Dependency::feature is recorded but not applied), per-package
profiles and toolchain pinning, polyglot Rust/Fortran/CUDA/Zig, SLSA
attestations plus a sandboxed descriptor, versioned metadata schemas with
DAP and plugin protocols, affected builds/tests and build scans,
doctests/sharding/coverage gates/fuzzing, zero-config onboarding, the
distribution ecosystem, policy-as-code with vbs ci, and two-way interop.

Both plans are marked planned; the roadmap index, TASKS and STATE point at
them. Also fixes the stale .github/workflows link in the roadmap index.
2026-12-06 19:00:41 +03:00

80 lines
8.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Roadmap and delivery graph
Plans **01–19**, **Plan 20 Slices 1, 2A, 2B, & 2C** (bounded native C/C++ CMake & Meson translation, hermetic `build.ninja` `CUSTOM_COMMAND` rules, and CMake C++20 `CXX_MODULES` `fileSets`), **Track A**, **Track B**, **Track E1**, and **Track E3 IDE config/query tooling** are implemented and verified in the native codebase and CTest
suites; **Plan 20 Slice 3** (Windows/MSVC, macOS/Apple Clang, remote execution, plus live `conan` CLI verification) and the remaining post-v1 tracks (**C, D, E2 `workspace.cpp`, E3 `vbs daemon`, & E4**) in [21 — Post-v1 expansion roadmap](21-expansion-roadmap.md) define the next phases. Two follow-on plans record what is left after the 1.0 line: [23 — Remaining upgrade plan](23-remaining-upgrade-plan.md) closes gaps, and [24 — Superiority tracks](24-superiority-tracks.md) targets being better than CMake, Meson, build2 and Cargo. For implemented
commands, targets, and workflow usage, see the [project README](../../README.md) and
[verification record](../agent-workflow/VERIFICATION.md).
Authority: [requirements](REQUIREMENTS.md), [architecture](ARCHITECTURE.md),
[decisions](../agent-workflow/DECISIONS.md), [approved scope](../agent-workflow/APPROVED_PLAN.md).
## Per-part implementation status
| Part | Status | Primary Implementation |
| --- | --- | --- |
| [01 — Bootstrap and declaration SDK](01-bootstrap-sdk.md) | Implemented & Verified | [Build.hpp](../../include/Void/Build.hpp), [Build.cpp](../../sdk/Build.cpp) |
| [02 — Native C++ configuration frontend](02-configuration-frontend.md) | Implemented & Verified | [Frontend.cpp](../../src/Config/Frontend.cpp) |
| [03 — Targets, usage requirements and action graph](03-targets-action-graph.md) | Implemented & Verified | [Graph.cpp](../../src/Graph/Graph.cpp) |
| [04 — Profiles, target selection and toolchains](04-profiles-toolchains.md) | Implemented & Verified | [Driver.cpp](../../src/Toolchain/Driver.cpp) |
| [05 — Immutable snapshots and mutation tracking](05-snapshots-invalidation.md) | Implemented & Verified | [Snapshot.cpp](../../src/Snapshot/Snapshot.cpp) |
| [06 — Native execution, scheduling and process lifecycle](06-execution-scheduling.md) | Implemented & Verified | [Scheduler.cpp](../../src/Execution/Scheduler.cpp), [ProcessSupervisor.cpp](../../src/Platform/Linux/ProcessSupervisor.cpp) |
| [07 — Transactional state and local artifact cache](07-state-local-cache.md) | Implemented & Verified | [StateStore.cpp](../../src/State/StateStore.cpp) |
| [08 — Modules, header units and compiler features](08-modern-cpp.md) | Implemented & Verified | [ModuleScanner.cpp](../../src/Modules/ModuleScanner.cpp) |
| [09 — Compilation databases and editor selection](09-compilation-database.md) | Implemented & Verified | [CompDb.cpp](../../src/Editor/CompDb.cpp) |
| [10 — Reconciliation, build watching and metadata watching](10-watchers-cli.md) | Implemented & Verified | [Watcher.cpp](../../src/Watch/Linux/Watcher.cpp), [Main.cpp](../../src/Main.cpp) |
| [11 — Dependency declarations, native solver and lockfile](11-dependencies-solver-lock.md) | Implemented & Verified | [Toml.cpp](../../src/Package/Toml.cpp), [Solver.cpp](../../src/Package/Solver.cpp), [Lockfile.cpp](../../src/Package/Lockfile.cpp) |
| [12 — Acquisition, source packages and binary packages](12-fetching-packages.md) | Implemented & Verified | [Archive.cpp](../../src/Package/Archive.cpp), [Fetch.cpp](../../src/Package/Fetch.cpp) |
| [13 — CMake, Meson and Conan providers](13-foreign-providers.md) | Implemented & Verified | [Provider.cpp](../../src/Provider/Provider.cpp) (Conan fails explicitly if `conan` absent) |
| [14 — CMake-facing dependency integration](14-cmake-bridge.md) | Implemented & Verified | [VbsDeps.cmake](../../cmake/bridge/VbsDeps.cmake), [CMakeBridge.cpp](../../src/Bridge/CMakeBridge.cpp) |
| [15 — Installation, exports and package consumption](15-install-export.md) | Implemented & Verified | [Installer.cpp](../../src/Install/Installer.cpp) |
| [16 — Hosted package registry service](16-registry-service.md) | Implemented & Verified | [HttpServer.cpp](../../registry/service/HttpServer.cpp), [RegistryService.cpp](../../registry/service/RegistryService.cpp) |
| [17 — Registry web administration](17-registry-ui.md) | Implemented & Verified | [registry/web/](../../registry/web/index.html) |
| [18 — Native self-hosting and VoidLibrary migration](18-self-host-voidlibrary.md) | Implemented & Verified | [VoidLibraryRecipe.cpp](../../recipes/VoidLibrary/VoidLibraryRecipe.cpp), [TestRegistryGen.cpp](../../src/SelfHost/TestRegistryGen.cpp) |
| [19 — Quality, performance and CI](19-quality-performance-ci.md) | Implemented & Verified | [tests/](../../tests/CMakeLists.txt), [EngineBenchmarks.cpp](../../benchmarks/EngineBenchmarks.cpp), [.gitea/workflows/ci.yml](../../.gitea/workflows/ci.yml) |
| [20 — Later native foreign execution and platform ports](20-future-translation-platforms.md) | Slices 1, 2A, 2B, & 2C Implemented & Verified; Slice 3 OS/remote ports planned | [Translator.hpp](../../include/Void/Build/Provider/Translator.hpp), [Translator.cpp](../../src/Provider/Translator.cpp) (C/C++ CMake & Meson translation, Ninja `CUSTOM_COMMAND`, foreign C++20 `CXX_MODULES`, unified fallback & `--native-foreign`); Windows/macOS/remote execution planned |
| [21 — Post-v1 expansion roadmap](21-expansion-roadmap.md) | Tracks A, B (incl. live `conan`), D1–D3, E1–E4 implemented & verified; Track C1 done (Linux), C2 deferred, C3 redesigned as Wine-first | Five-track expansion roadmap (see [STATE](../agent-workflow/STATE.md) for the verified wave history) |
| [22 — Superiority roadmap and gaps](22-superiority-and-gaps.md) | Analysis plan (2026-12-05) | Gap inventory, revised platform strategy (macOS dropped for now, Windows via MinGW-w64 + Wine, native MSVC deferred), parity roadmap vs CMake/Meson/build2, differentiators, prioritized order and acceptance gates |
| [23 — Remaining upgrade plan](23-remaining-upgrade-plan.md) | Planned (2026-12-06) | Tracks F1–F14 for the gaps left after Wave 146: hermetic sandboxing, Windows IPC/watcher and native backends, macOS/MSVC, multi-machine orchestration, registry mirrors/federation/keys/vcpkg, BEP, 10k scaling, migration depth, native Windows CI, cross-platform determinism, PKG/APK/IFW/SBOM installers, GUI template/LSP/plugin polish, maintenance |
| [24 — Superiority tracks beyond CMake, Meson, build2 and Cargo](24-superiority-tracks.md) | Planned (2026-12-06) | Tracks G1–G12 for being *better* rather than equal: Cargo-grade lifecycle CLI, additive C++ feature flags, per-package profiles and toolchain pinning, polyglot Rust/Fortran/CUDA/Zig, hermeticity plus SLSA attestations and advisories, versioned metadata/schemas and DAP/plugin protocols, affected builds and build scans, doctests/sharding/coverage gates/fuzzing, zero-config onboarding and error quality, distribution ecosystem, policy-as-code and `vbs ci`, two-way interop |
## Dependency graph
```mermaid
flowchart TD
A["01 Bootstrap / SDK"] --> B["02 Configuration + 03 Graph + 04 Profiles"]
A --> C["05 Snapshots + 07 State"]
B --> D["06 Native execution"]
C --> D
B --> E["09 Editor metadata"]
C --> E
D --> F["10 Build / metadata watching"]
E --> F
A --> G["11 Solver / lock + 12 Packages"]
D --> H["13 Foreign providers"]
G --> H
H --> I["18 Native self-host / VoidLibrary"]
F --> I
D --> J["08 Modern C++"]
G --> K["15 Install / exports"]
H --> K
K --> L["14 CMake bridge"]
G --> M["16 Registry API"]
M --> N["17 Registry UI"]
I --> O["19 Integrated v1 hardening"]
J --> O
L --> O
N --> O
O --> P["20 Later translation / OS ports"]
```
## Release gates
1. Initial delivery: repository/docs, linked CLI, compile-tested SDK descriptor,
real tests, local and pinned dependency builds.
2. Native core: immutable snapshots, correct action execution, profile isolation,
selection/refresh and input mutation tests.
3. First adoption: clean stage1->stage2 isolation and native VoidLibrary closure.
4. Full v1: modern compiler features, package/foreign/CMake bridge,
install/export, registry service/UI, CLI/contract/benchmark coverage.
5. Later: separately bounded native foreign translation and platform ports.