Files
Build-System/docs/roadmap/24-superiority-tracks.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

27 KiB
Raw Blame History

24 — Superiority tracks: beyond CMake, Meson, build2 and Cargo

Status: planned (2026-12-06). Nothing here is implemented unless it is listed in Plan 23 §1. Interfaces are proposals.

Plan 23 closes the remaining gaps. This plan is different: it lists what would make VBS better than the incumbents rather than merely equal — including Cargo, which is the current benchmark for build-system UX.

1. Positioning

Capability CMake Meson build2 Cargo VBS today VBS target (this plan)
Build description DSL DSL bsl TOML compiled C++ build.cpp build.cpp + zero-config inference (G9)
Package manager external wrapdb built-in built-in + crates.io built-in registry, lock, signatures, binary variants, SBOM federation, mirrors, advisories (G5, G10)
Binary packages no no limited no yes, signed + ABI metadata vbs install-binary (G10)
Hermetic sandbox no no partial no no yes (Plan 23 F1, enforced by G5)
“Why did this rebuild?” no no no no vbs explain (done) explain + cache analytics (G7)
Remote execution add-ons no no no worker protocol, queue, leases multi-machine (Plan 23 F5, G7)
Determinism opt-in opt-in partial partial default on Linux, Stage2==Stage3 proven cross-host contract (Plan 23 F11)
Installers CPack dist scripts no external 9 formats built in + PKG/APK/IFW, bundles (Plan 23 F12, G10)
Feature flags global options global options config additive, unified declared but not applied additive C++ features (G2)
Profiles build types buildtype config + per-package overrides profiles, per-package planned per-package + toolchain pin (G3)
Polyglot C/C++/CUDA/Fortran/… C/C++/Rust/D/Fortran C/C++ Rust only C/C++/ASM/shaders + Rust, Fortran, CUDA/HIP (G4)
Machine-readable metadata File API introspect limited cargo metadata describe, graph, explain stable schemas + vbs metadata (G6)
Editor/debug protocol File API/CompDB introspect no rust-analyzer (external) daemon + CompDB + File API DAP + LSP-status (G6)
Test runner CTest meson test test module cargo test CTest parity incl. fixtures/JUnit/CDash doctests, sharding, impact analysis (G8)
Benchmarks no no no cargo bench benchmark harness target kind + regression gates (G8)
Docs no no no cargo doc no vbs doc (G1)
Format/lint external external external rustfmt/clippy no vbs fmt, vbs lint (G1)
Policy as code no no no cargo-deny external no vbs policy + vbs ci (G11)
One-tool lifecycle no no partial yes build/test/install/publish/explain yes (G1)

What the incumbents get right, and what this plan copies or beats:

  • Cargo: zero-config start, one-tool lifecycle, additive features, per-package profiles, metadata, cargo doc, doctests, cargo install, --frozen, vendor. VBS can match all of these and manage native code, binaries, installers and remote execution.
  • CMake: ecosystem reach, find_package/install(EXPORT), File API, CPack, CUDA/Fortran, configure-time checks. VBS already consumes CMake projects (bridge, translation, presets); G4 and G6 close the language and tooling gaps.
  • Meson: clean semantics, fast configure, introspect, wrapdb, devenv, dist. VBS's registry and explainability beat wrapdb and introspection; G9 adds the developer-environment equivalent.
  • build2: hermeticity and package semantics. VBS's snapshots/CAS already match this; F1 makes it enforced.

2. Tracks

Legend: S days, M 1–2 weeks, L multi-week. Each track lists the incumbent it beats and the concrete acceptance gate.

G1 — Cargo-grade lifecycle CLI (S–M per command)

Beats: Cargo (parity), CMake/Meson/build2 (they have no unified lifecycle).

Planned command Behaviour
vbs new NAME [--template app|library|header-only|shared|gui|bench|plugin|workspace] init plus VCS init and a build.cpp that already passes vbs test
vbs add DEP[@RANGE] [--dev|--build|--optional] [--features a,b] [--path|--git|--registry] edits vbs.deps.toml, resolves and writes vbs.lock, prints the resolved version
vbs remove DEP removes the manifest entry and unlocks the package
vbs run [TARGET] [-- ARGS...] builds then runs the executable with per-target args/env/cwd; passes the exit code through
vbs bench [--baseline FILE] [--max-regression 5%] benchmark targets, machine-readable results, fails on regression
vbs doc [--open] [--coverage] Doxygen/Sphinx orchestration, reports undocumented public symbols
vbs fmt [--check] [--changed-only] clang-format over owned sources, cached results
vbs lint [--fix] [--changed-only] clang-tidy with a shared compile database, cached diagnostics
vbs why DEP|TARGET shortest path(s) explaining why a dependency or target is in the graph
vbs tree [--duplicates] [--features] [--depth N] dependency tree with versions, sources, features
vbs outdated, vbs update -p NAME [--precise V] registry-aware upgrade workflow
vbs audit [--advisories URL], vbs deny OSV advisories and license/ban policy
vbs vendor [--output DIR] offline vendoring of the resolved graph
vbs metadata [--format json] stable workspace metadata (G6)
vbs install-binary NAME [--version V] [--prefix DIR] installs a published binary variant into ~/.local/bin
vbs build|test --frozen lock + offline + no registry access, one flag

Work items.

  1. Shared Manifest editor (Package::Toml writer, preserving comments and ordering).
  2. run configs in build.cpp (target.run({.args = {...}, .env = {...}, .cwd = "..."})) and a vbs.json-free design (all in build.cpp).
  3. Benchmark target kind (p.benchmark(name)) plus result parsing (Google Benchmark JSON, nanobench, custom VBS_BENCH output) and baseline comparison with tolerance.
  4. doc/fmt/lint as orchestrated action graphs (so they are cached and parallel), not shell wrappers; --changed-only uses the graph's changed inputs.
  5. vendor reuses the CAS: copy blobs into vendor/<sha256> and rewrite vbs.lock sources.
  6. --frozen is validated as the CI default for release lanes.

Acceptance gates. CLI contracts for every command; add/remove round-trip a manifest byte-for-byte apart from the dependency; run propagates exit codes; bench --max-regression fails on a 10% slowdown fixture; fmt --check fails on unformatted input; vendor builds with the registry offline; install-binary installs and runs the registry artifact.

Effort. S per command; M for bench/doc/lint.


G2 — Feature flags that actually work (M–L)

Beats: Cargo's best idea, applied to C++ — no C++ build system has additive, unified features.

Current state: Dependency::feature(name) is recorded and serialized into the lockfile but is not consumed by any provider or target; there is no project-level feature model. This track makes features real.

Planned interfaces.

// PLANNED — not implemented.
p.feature("ssl", {.default_on = true, .description = "TLS support"});
p.feature("simd", {.default_on = false});
auto dep = p.dependency("zlib").package("zlib", "^1.3");

target.requires("ssl");                       // enables the feature
target.define_when("VBS_HAS_SSL", "ssl");     // VBS_FEATURE_SSL + this define
dependency.optional("zlib", "ssl");           // dep only when the feature is on
p.conditional("windows", [](Target &t) { ... });

Work items.

  1. Project feature table (name, default, description, implies) and additive unification over the target graph (a enables ssl ⇒ every consumer sees ssl; conflicts are explicit).
  2. --features a,b / --no-default-features CLI, recorded in the profile identity and action keys so switching features never reuses wrong artifacts.
  3. Optional dependencies: resolved only when their feature is active; the lockfile records the activation set (Cargo does this; CMake options cannot).
  4. Diagnostics: vbs explain --features prints the unified set and the enabling path (which target enabled what), similar to Cargo's resolver explanation.
  5. Capability-conditioned features (requires compiler_flag(...), os == ...), reusing the cached toolchain probes.
  6. ABI rule documented: features may only add defines/compile options, never change layout of types that cross a feature boundary (enforced by a lint on define_when placement).

Acceptance gates. Two dependents enabling different subsets unify correctly; the artifact digest changes when the feature set changes; --features changes are visible in vbs metadata; an optional dependency absent from the graph when disabled; vbs explain --features names the enabling path.

Risk. Feature unification can silently create ODR issues in C++; the plan constrains features to additive preprocessor-visible configuration and documents the rule.

Effort. L (design-heavy).


G3 — Profiles, per-package overrides and toolchain pinning (M)

Beats: Cargo (per-package profile overrides), CMake/Meson (no per-package profiles).

Work items.

  1. Profile inheritance (relwithdebinfo inherits release + debug info) — partially present via Profiles::inherit; expose in build.cpp ergonomically.
  2. Per-package profile overrides: p.package("fmt").profile("release", {.lto = LtoMode::Thin}), applied to dependency builds (native builder options already carry VBS_DEP_OPTION_*).
  3. Project toolchain pin: vbs-toolchain.toml (compiler family/version, stdlib, sysroot, min/max standard) checked at configure time; drift warns or fails with --locked-toolchain.
  4. Profile matrix sugar: --profile-matrix linux-x64,windows-x64 --profile debug,release expanding to the existing multi-profile support with target triples.
  5. vbs profile list|show|diff A B printing resolved flags per profile.

Acceptance gates. A dependency built with a per-package release override differs from the default; vbs-toolchain.toml mismatch fails with a clear message; matrix expansion matches explicit invocations; profile diff shows only the differing flags.

Effort. M.


G4 — Polyglot: Rust, Fortran, CUDA/HIP, Zig cc (L)

Beats: Cargo (cannot build C++ safely), CMake (weak package UX), Meson (no packages).

VBS already builds C, C++, assembly and shaders (GLSL/HLSL/Slang) with one dependency model. Adding these languages makes it the only tool that builds a modern mixed-language project with a single lockfile, registry and cache.

Work items.

  1. Rust provider: dependency("crate").rust({.manifest = "rust/Cargo.toml"}) runs cargo build --message-format=json-render-diagnostics, imports staticlib/rlib artifacts and includes; p.cxx_bridge("src/lib.rs") (cxx crate) generates the C++ side. The Rust toolchain is probed and pinned; cargo output participates in the action cache key.
  2. Fortran: gfortran compile/link rules, .mod module dependency scanning (like P1689 for Fortran), mixed-language link ordering, CStandard-style FortranStandard.
  3. CUDA/HIP: nvcc/hipcc actions with -gencode arch=... matrix, separable compilation, device link step, and capability probes; p.cuda_library(name).cuda_sources({...}).
  4. Zig cc backend: --compiler zig / profile.compiler_path = "zig cc" for hermetic cross-compilation without a sysroot (Zig ships libc); probe and record the Zig version.
  5. vbs migrate --from cargo for the C++-adjacent parts (workspace members, cxx bridges) — only if the mapping is honest; otherwise document the manual path.

Acceptance gates. A C++ executable calling Rust via a cxx bridge builds and runs; a Fortran + C++ mixed target compiles with .mod dependency tracking (changing a module rebuilds its users); a CUDA (or HIP, when available) target produces a valid binary; zig cc builds a sample with no system compiler; vbs metadata reports the mixed languages.

Risks. Toolchain availability in CI (CUDA needs a GPU-less compile-only lane; Rust and Fortran are cheap to add to images); each language's incremental model differs.

Effort. L per language; Rust first (highest demand).


G5 — Trust: enforced hermeticity, attestations, reproducibility, advisories (L)

Beats: all four. Cargo has cargo-deny externally; CMake/Meson/build2 have nothing built in.

Plan 23 already schedules the sandbox (F1) and reproducibility (F11); this track adds the supply-chain layer that makes the guarantees usable.

Work items.

  1. SLSA/in-toto attestations: vbs attest create --output FILE produces an in-toto statement (builder identity, invocation, resolved lock digest, input snapshot id, output digests, toolchain probe), signed with the existing Ed25519 primitives; vbs publish --attestation stores it; vbs verify --attestation checks signer + subject digests.
  2. Descriptor sandbox: run build.cpp under the same namespace sandbox with an explicit capability list (env allowlist, network off by default for --offline, write access limited to the build dir). Untrusted project descriptors become safe to evaluate in CI.
  3. Advisories: vbs audit queries an OSV-format source (file or URL), matches lockfile packages, and fails on severity threshold; SBOM export already exists.
  4. Dependency-confusion guards: registry namespace ownership (exists), typosquat warnings on vbs add (edit distance against popular names), and signature-required mode (--require-signatures) for CI.
  5. Policy as code (shared with G11): minimum compiler, allowed licenses, banned packages, signature policy, coverage floor.
  6. vbs verify-repro (Plan 23 F11) consumed by a CI job that builds twice and compares.

Acceptance gates. An attestation verifies against the published artifact and fails when the artifact changes; a descriptor that reads $HOME fails under strict sandbox; vbs audit fails on a fixture with a known-vulnerable version; --require-signatures rejects an unsigned package; policy violation exits non-zero in CI.

Effort. L (attestation + descriptor sandbox), M for the rest.


G6 — Machine-readable everything and tooling protocols (M)

Beats: Cargo (metadata), CMake (File API), Meson (introspect) — VBS can expose a single, versioned, cross-cutting model.

Work items.

  1. vbs metadata emits one workspace document: packages, members, targets (kind, sources, outputs, features, labels), resolved dependencies (versions, sources, features, signatures), profiles (resolved flags), artifacts (digests, install paths). Stable JSON with a schema version.
  2. Published schemas under schemas/ for metadata, describe, graph, explain, trace, bep, doctor and the daemon wire protocol; a compatibility test fails when a schema changes without a version bump.
  3. DAP server: vbs dap --target NAME speaks the Debug Adapter Protocol, launches gdb/lldb with the target's artifact, working directory and environment, and maps source paths from the compdb. No C++ build system ships this; editors currently reimplement it per project.
  4. LSP-status request (vbs daemon lsp-status, Plan 23 F13) reporting compdb freshness and diagnostics gaps for clangd.
  5. Plugin protocol: out-of-process providers speaking newline-delimited JSON (the daemon protocol is the template) so third-party ecosystems (vcpkg, SwiftPM, Zig, Bazel interop) can be added without recompiling VBS; plugins declare capabilities and are sandboxed like actions.
  6. vbs doctor --json and vbs cache stats --json for dashboards.

Acceptance gates. A JSON schema test validates every emitted document; metadata is consumed by a small external script in the test suite; a DAP integration test launches a debuggee through a minimal DAP client and reads a breakpoint hit; a sample plugin provider builds a target.

Effort. M (metadata + schemas), M (DAP), M (plugin protocol).


G7 — Speed and CI economics (M–L)

Beats: all four on CI cost; Cargo/Ninja are fast locally but have no affected-test selection or build scans.

Work items.

  1. Affected builds and tests: vbs build\|test --affected [--since REF] selects the target closure whose inputs changed (using the graph, depfiles and snapshot digests) — not just workspace members. CI stops rebuilding and retesting everything.
  2. Daemon-first loop: vbs watch --fast keeps a warm daemon, debounces changes, re-evaluates only affected targets, and reports the first failing action; target < 100 ms feedback for no-op/single-file edits on the 20-source fixture.
  3. Remote cache + distributed execution (Plan 23 F5) with a shared HTTP CAS; vbs build --remote-cache exists — add statistics and automatic enablement in CI.
  4. Build scans: vbs build --scan URL uploads the trace, cache hit/miss per action, and critical path to the registry (new /api/v1/scans), with a web view. Gradle Build Scan class, novel for C++.
  5. Cache analytics: vbs cache stats (hit rate by target, top misses, bytes saved) and a vbs explain --aggregate summary for the whole build.
  6. Link-time parallelism and PCH/module reuse measured and tuned; --timings prints a sorted critical-path report.

Acceptance gates. --affected on a one-file change runs only the expected target closure (asserted by action counts); warm single-file feedback budget met; scan upload round-trips to the registry and lists the same action count; cache stats matches the report counters.

Effort. M for --affected/stats, L for scans + remote distribution.


G8 — Test and benchmark depth (M)

Beats: CTest (no doctests, no impact analysis), Cargo (no sharding in stable, no coverage gates), everyone (no benchmark regression gate built in).

Work items.

  1. Doctests: p.doctest("include/foo.hpp") extracts fenced//// code blocks and compiles and runs them as tests; failures point at the doc line. Cargo's best feature, absent from C++.
  2. Sharding: vbs test --shard I/N partitions by expected duration (from previous JUnit timings) and merges results; CI matrix uses it for the slow suites.
  3. Impact analysis: vbs test --affected (shared with G7).
  4. Flaky management: --known-flaky FILE quarantines tests (reported, not blocking), --rerun-failed re-runs only failures, and a --repeat until-pass already exists.
  5. Coverage gates: merge shard reports, --coverage-min 80, --coverage-diff BASE for PRs, and per-file thresholds.
  6. Benchmark regression gate (shared with G1): baseline file, statistical comparison, CI failure on regression.
  7. Fuzzing command: vbs fuzz --target parsers --runs N --corpus DIR wraps libFuzzer/AFL targets, stores corpora in the CAS, and reports crashes with reproducers.
  8. Sanitizer matrix: built-in profiles for ASan/UBSan/TSan/MSan with suppression files and per-test isolation.

Acceptance gates. A doctest failing in a header fails the suite with a file:line; sharding splits and merges to the same totals; --known-flaky turns a failing test non-blocking but visible; coverage gate fails below the floor; vbs fuzz runs a seeded corpus and reports zero findings for the parser fixtures.

Effort. M (doctests and fuzz are the larger pieces).


G9 — Onboarding and error quality (M)

Beats: Cargo on first-run experience for native code; CMake/Meson on error messages.

Work items.

  1. Zero-config mode: with no build.cpp, infer a conventional project (src/** sources, include/** public headers, tests/** test executables, app/lib targets by shape) so vbs build works in an empty checkout. vbs init --from-sources materializes the inferred build.cpp for customization. Cargo-grade first five minutes.
  2. Actionable errors: unknown target suggests the nearest name; missing dependency suggests vbs add; missing compiler suggests vbs doctor --fix; feature conflicts name the enabling path. Snapshot/lock errors include the exact path and the remedy.
  3. vbs doctor --fix: installs missing tools on supported hosts (guarded, prints the command first), checks compilers, registry connectivity.
  4. vbs tui: live dashboard (targets, running actions, cache hit rate, timings, failures) — no incumbent has one.
  5. Book and examples: docs/book/ (getting started, build.cpp guide, migration from CMake/Meson/Cargo, cookbook), examples/ with CI-built samples, and generated API reference via vbs doc.
  6. vbs tutorial (optional): a guided first project.

Acceptance gates. vbs build in an empty conventional project succeeds; error-message tests assert the suggestion text; doctor --fix is dry-run by default; the book builds and its code samples are tested; examples build in CI.

Effort. M (zero-config + errors), S each for TUI/book scaffolding.


G10 — Distribution and ecosystem (M)

Beats: Cargo (install-binary parity, plus native installers), CPack (formats), wrapdb (registry UX).

Work items.

  1. vbs install-binary NAME from signed binary variants (with ABI matching: compiler family, stdlib, C++ standard) into ~/.local/bin; --list shows available variants.
  2. vbs bundle: self-contained app bundles — Linux AppImage-style, macOS .app when F3 exists, Windows portable folder — bundling runtime DLLs (the installer already does this).
  3. vbs deploy: recipe-driven install (systemd unit, Windows service, launchd plist) generated from a declarative deploy block.
  4. vbs package --dry-run/--list: pre-publish preflight (files, sizes, license presence, missing docs) before publish.
  5. Registry ecosystem (Plan 23 F6): federation, mirrors, key distribution; plus search relevance, download stats, org namespaces, ownership transfer.
  6. Template registry: vbs new --template gh:org/repo fetches a template with provenance checks.

Acceptance gates. install-binary installs a published artifact and runs it; bundle produces a runnable bundle on Linux; package --dry-run lists exactly the published file set; registry search/stats endpoints have tests.

Effort. M.


G11 — Policy as code and vbs ci (S–M)

Beats: Cargo (cargo-deny is external), CMake/Meson/build2 (nothing).

Work items.

  1. vbs.policy (TOML): minimum compiler version, allowed licenses, banned/advisory-threshold dependencies, required signatures, coverage floor, required test labels, max build time.
  2. vbs check enforces the policy locally and in CI with a single exit code and a summary.
  3. vbs ci: runs the local equivalent of the pipeline (build matrix, tests with JUnit, coverage, SBOM, policy) so developers reproduce CI failures without pushing.
  4. Publish policy results in vbs metadata/vbs doctor --json.

Acceptance gates. A policy violation fails vbs check with a precise reason; vbs ci on a sample produces JUnit + SBOM + coverage and exits non-zero on a failing test; policy file schema is documented and validated.

Effort. S–M.


G12 — Interop without lock-in (M)

Beats: everyone, by making migration two-way.

Work items.

  1. CMake consumes VBS: ship VbsPackageConfig.cmake so find_package(VbsPackage) works for every installed VBS package (the VbsDeps.cmake bridge and native exports already exist).
  2. VBS consumes CMake: already supported (providers, translation, presets import); add vbs migrate --from cmake --strict and document the unsupported surface.
  3. Cargo interop (G4): build Rust crates as dependencies and expose C++ to Rust; no lock-in either direction.
  4. Meson subproject consumption as a provider option (today only CMake/Meson projects are translated as dependencies).
  5. vbs compat report: which constructs of a CMake/Meson/Cargo project map to VBS and which need manual work.

Acceptance gates. A CMake project links a VBS-installed package via find_package; a CMake dependency translated by VBS builds with --native-foreign; a Cargo workspace with a cxx bridge builds under VBS; vbs compat output is covered by a fixture test.

Effort. M.


3. Priority

Wave Tracks Why first
147 G1 (run/add/remove/fmt/lint/doc), G9 (zero-config, errors) Biggest adoption lever: Cargo-grade first five minutes
148 G2 (features), G3 (profiles/toolchain pin) The C++-specific differentiators no incumbent has
149 G5 (sandboxed descriptor + attestations), G6 (metadata/schemas) Trust and tooling ecosystem
150 G7 (--affected, cache stats, watch loop), G8 (doctests, sharding, coverage gates) CI economics and test depth
151 G4 (Rust, Fortran, CUDA), G10 (install-binary, bundle), G12 (interop) Polyglot and distribution
152 G11 (policy, vbs ci), G9 (TUI, book) Enterprise policy and polish

Dependency notes: G2 must land before G3's per-package feature/profile overrides are meaningful; G5 depends on Plan 23 F1 (sandbox) and F11 (reproducibility); G7 depends on Plan 23 F5 for distributed execution; G10 depends on Plan 23 F6 for the registry ecosystem; G4's Rust provider benefits from G6's plugin protocol but does not require it.

4. Acceptance gates

Plan 23's global gates apply unchanged: a test in tests/ per feature, an observed run per platform claim, docs (STATE/TASKS/plan status) in the same change, formatted C++ and valid YAML, Release-binary performance numbers, and honest "planned/blocked" labels.

Additional gates for this plan:

  1. No parity-only work. A track must name the incumbent it beats and the observable behaviour that proves it.
  2. Feature flags are either applied or rejected. No API may be recorded and ignored (the current Dependency::feature state is treated as a bug to fix in G2).
  3. Machine-readable outputs are versioned. Any JSON surface ships with a schema and a compatibility test.
  4. Doctests and policies are CI-enforced before they are documented as features.

5. Non-goals

  • Reimplementing every CMake command or generator (the bounded translator stays bounded).
  • A full LSP implementation; clangd + compdb + lsp-status is the supported path.
  • Feature flags that change C++ ABI/layout across a feature boundary (documented restriction).
  • Replacing build.cpp with a DSL; compiled C++ remains the differentiator.
  • Bit-identical artifacts across different compilers or hosts (Plan 23 F11 defines the contract).
  • A GUI/TUI as the primary interface; both are conveniences over the CLI.