- Dependency::profile(name, DependencyProfileOptions) records per-profile compile/link options, defines, LTO and sanitizers. The native provider applies the matching override to the dependency's own ProfileContext and hashes the overrides into the provider input hash, so changing them invalidates cached dependency builds. - vbs-toolchain.toml pins compiler, minimum version, C/C++ standards and sysroot (optional strict); it is loaded once and checked after every toolchain probe. Drift warns by default and fails with --locked-toolchain or strict = true; malformed pins fail with the TOML diagnostic. - vbs profile list|show|diff lists declared profiles with parents, prints a resolved profile (flags, standards, LTO, sanitizers, sysroot) or the fields that differ between two. Verified: dependency_profile_overrides_apply_to_native_builds (a define from the override is required by the dependency source), toolchain_pin_detects_and_enforces_drift and profile_commands_list_show_and_diff pass; vbs_core_tests 8/8; CLI contracts pass; clang-format clean.
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 define the next phases. Two follow-on plans record what is left after the 1.0 line: 23 — Remaining upgrade plan closes gaps, and 24 — Superiority tracks targets being better than CMake, Meson, build2 and Cargo. For implemented
commands, targets, and workflow usage, see the project README and
verification record.
Authority: requirements, architecture, decisions, approved scope.
Per-part implementation status
| Part | Status | Primary Implementation |
|---|---|---|
| 01 — Bootstrap and declaration SDK | Implemented & Verified | Build.hpp, Build.cpp |
| 02 — Native C++ configuration frontend | Implemented & Verified | Frontend.cpp |
| 03 — Targets, usage requirements and action graph | Implemented & Verified | Graph.cpp |
| 04 — Profiles, target selection and toolchains | Implemented & Verified | Driver.cpp |
| 05 — Immutable snapshots and mutation tracking | Implemented & Verified | Snapshot.cpp |
| 06 — Native execution, scheduling and process lifecycle | Implemented & Verified | Scheduler.cpp, ProcessSupervisor.cpp |
| 07 — Transactional state and local artifact cache | Implemented & Verified | StateStore.cpp |
| 08 — Modules, header units and compiler features | Implemented & Verified | ModuleScanner.cpp |
| 09 — Compilation databases and editor selection | Implemented & Verified | CompDb.cpp |
| 10 — Reconciliation, build watching and metadata watching | Implemented & Verified | Watcher.cpp, Main.cpp |
| 11 — Dependency declarations, native solver and lockfile | Implemented & Verified | Toml.cpp, Solver.cpp, Lockfile.cpp |
| 12 — Acquisition, source packages and binary packages | Implemented & Verified | Archive.cpp, Fetch.cpp |
| 13 — CMake, Meson and Conan providers | Implemented & Verified | Provider.cpp (Conan fails explicitly if conan absent) |
| 14 — CMake-facing dependency integration | Implemented & Verified | VbsDeps.cmake, CMakeBridge.cpp |
| 15 — Installation, exports and package consumption | Implemented & Verified | Installer.cpp |
| 16 — Hosted package registry service | Implemented & Verified | HttpServer.cpp, RegistryService.cpp |
| 17 — Registry web administration | Implemented & Verified | registry/web/ |
| 18 — Native self-hosting and VoidLibrary migration | Implemented & Verified | VoidLibraryRecipe.cpp, TestRegistryGen.cpp |
| 19 — Quality, performance and CI | Implemented & Verified | tests/, EngineBenchmarks.cpp, .gitea/workflows/ci.yml |
| 20 — Later native foreign execution and platform ports | Slices 1, 2A, 2B, & 2C Implemented & Verified; Slice 3 OS/remote ports planned | Translator.hpp, 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 | 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 for the verified wave history) |
| 22 — Superiority roadmap and gaps | 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 | 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 | Planned (2026-12-06) | Executive summary with the five decisive moves (Cargo-grade lifecycle, real C++ feature flags, per-package profiles and toolchain pinning, polyglot builds, trust layer), the existing wedge to protect, and tracks G1–G12: lifecycle CLI, feature flags, profiles/toolchain pin, 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
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
- Initial delivery: repository/docs, linked CLI, compile-tested SDK descriptor, real tests, local and pinned dependency builds.
- Native core: immutable snapshots, correct action execution, profile isolation, selection/refresh and input mutation tests.
- First adoption: clean stage1->stage2 isolation and native VoidLibrary closure.
- Full v1: modern compiler features, package/foreign/CMake bridge, install/export, registry service/UI, CLI/contract/benchmark coverage.
- Later: separately bounded native foreign translation and platform ports.