69 KiB
Development state
Updated: 2026-12-03
Branch: main
Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B1–B3) + Track E1 + vbs ide & build.cpp CompDB integration + Track D1/D2 + Track E2 + Track D3 SBOM (Docker GCC 16) + Track D3 Ed25519 signing primitives & trusted-key enforcement (OpenSSL-gated crypto) + Track E3 daemon core, bounded describe & build-serving + Track C1 Linux platform split complete
Completed delivery waves
-
Wave 0 (Naming Alignment & Upstream Tracker):
- Standardized all C++ identifiers and paths on namespace
Void::Build, umbrella<Void/Build.hpp>, PascalCase internal headers (include/Void/Build/...), PascalCase sources/types/enum constants,snake_casefunctions/methods, and CMake targetsVoidBuild_Sdk(Void::BuildSdk),VoidBuild_Core(Void::BuildCore),VoidBuild_Registry(Void::BuildRegistry). - Documented 13 reusable VoidLibrary gaps and swappable local adapters in VOIDLIBRARY_UPSTREAM_REQUESTS.md.
- Standardized all C++ identifiers and paths on namespace
-
Wave 1 (Plans 01–07 — SDK & Core Native Engine):
- Expanded declaration SDK (
build.cpp,build.profiles.cpp,include/Void/Build.hpp,src/Build.cpp). - Built out-of-process host configuration frontend (
src/Config/Frontend.cpp), dependency-propagating graph lowering (src/Graph/Graph.cpp), GCC/Clang toolchain discovery & capability probing (src/Toolchain/Driver.cpp), content-verified immutable snapshots (src/Snapshot/Snapshot.cpp), process group supervisor (src/Platform/Linux/ProcessSupervisor.cpp), isolated file ops (src/Platform/Linux/FileOps.cpp), CAS durable state store (src/State/StateStore.cpp), and parallel DAG scheduler (src/Execution/Scheduler.cpp).
- Expanded declaration SDK (
-
Wave 2 (Plans 09–10 — Editor CompDB & Watchers):
- Implemented per-profile
compile_commands.jsonprojection with monotonic selection tickets, crash recovery, and unrelated root file preservation (src/Editor/CompDb.cpp). - Implemented recursive Linux
inotifywatcher (src/Watch/Linux/Watcher.cpp) with overflow rescan and strictMetadataOnlyboundary vsFullBuild.
- Implemented per-profile
-
Wave 3 (Plans 11–15, 18 — Packages, Foreign Providers, Bridge, Install & Self-Hosting):
- Implemented TOML 1.0 parser/merger (
src/Package/Toml.cpp), PubGrub-style SemVer solver (src/Package/Solver.cpp), context-aware atomic CASvbs.lock(src/Package/Lockfile.cpp), deterministic PAX/USTAR.tarbuilder & safe extractor (src/Package/Archive.cpp), source/binary materialization (src/Package/Fetch.cpp). - Implemented CMake File API & Meson introspection providers + explicit missing-tool Conan2 adapter (
src/Provider/Provider.cpp),cmake/bridge/VbsDeps.cmake+vbs bridge(src/Bridge/CMakeBridge.cpp), staged relocatable install/export/uninstall (src/Install/Installer.cpp), nativeVoidLibraryrecipe (recipes/VoidLibrary/VoidLibraryRecipe.cpp), and non-CMakeVoid::Testinggenerator (src/SelfHost/TestRegistryGen.cpp).
- Implemented TOML 1.0 parser/merger (
-
Wave 4 (Plans 08, 16–17, 19 — Modern C++, Registry, Web UI, Benchmarks & CI):
- Implemented P1689r5 module scanning & topological collation for GCC 16 and
clang-scan-deps, header units, and unity batching excluding modules/per-file overrides (src/Modules/ModuleScanner.cpp). - Implemented
vbs-registryHTTP/1.1 service (registry/service/HttpServer.cpp,RegistryService.cpp) with RBAC, salted password hashing, CSRF + HttpOnly SameSite cookies, immutable release 409 conflict checks, yank, redacted audit log, backup/restore, and DOM-safe web UI (registry/web/). - Implemented
vbsCLI (src/Main.cpp), benchmark harness (benchmarks/EngineBenchmarks.cpp), fiveVoid::Testingexecutables, three CMake contract scripts, and.github/workflows/ci.ymltemplate.
- Implemented P1689r5 module scanning & topological collation for GCC 16 and
-
Wave 5 (Maximal VoidLibrary Reuse + Full Plan 08/11/12/16/18 Integration):
- Adopted
Void::Algorithms::topological_order,Void::Encoding::Hex/Url,Void::Unicode::validate_utf8,Void::Str,Void::Scope::on_exit,Void::Time::Stopwatch,Void::Configuration::get_env/get_env_or,Void::Concurrency::ThreadPool. - Wired Plan 08 end-to-end into
Graph::lower_project_graph(incompatible sanitizer rejection, unity batching, explicitActionKind::HeaderUnit, GCC-fmodule-mapper& Clang two-step.pcm->.o+ transitive-fmodule-file=named modules & partitions) verified on BOTH GCC 16.2.0 and Clang 23.1.3. - Added live HTTP/1.1
Package::RegistryClient(src/Package/RegistryClient.cpp) +vbs publish+ liveDependencySourceKind::Packageresolution invbs deps/vbs buildverified end-to-end againstvbs-registry. - Added full native
recipes/SelfHost/VbsSelfHostRecipe.{hpp,cpp}verified Stage 0 -> Stage 1 (full nativestage1/bin/vbs, zero CMake) -> Stage 2 (stage1/bin/vbs testwith trappedcmakeonPATH).
- Adopted
-
Wave 6 (VoidLibrary
3e254055Pin Bump, UpstreamVL-001..VL-013Adoption, Real Self-Build, Live Logs & Generated CLI Help):- Upgraded VoidLibrary pin to
3e254055e081a104f08df68dde39711bc7813518(Merge branch 'feat/upstream-vbs-requests' (VL-001..VL-013)). - Replaced local adapters with upstream VoidLibrary implementations across the board:
Void::Crypto(VL-007),Void::Archive(VL-006),Void::Data::Toml(VL-002),Void::Semver::parse_range(VL-013),Void::FileSystem::FileLock/reflink_copy_file/set_canonical_mtime/atomic_symlink_swap(VL-010),Void::FileSystem::DirectoryWatcher(VL-003),Void::Process::spawn/communicate_blocking/enable_subreaper(VL-001), andVoid::Argparse::Parsernative subcommands +option_many+parse_detailed(VL-011). - Eliminated all custom help text and manual
--help/subcommand/repeatable-flag parsing acrosssrc/Main.cpp,src/Describe.cpp,registry/service/Main.cpp, andbenchmarks/EngineBenchmarks.cpp— 100% auto-generated viaVoid::Argparse::Parser. - Upgraded root
build.cppto declare the completeVoidBuildSystem(VoidBuildSdk,VoidBuildCore,GenerateBootstrapConfig,vbs,VoidBuildRegistry,vbs-registry), fixed snapshot root discovery (collect_snapshot_inputs), fixed snapshot remapping of external/build-dir dependency includes inGraph.cpp, fixed CMake File API providerVoid::*alias & header-onlyINTERNAL_DEPSexport + transitive link ordering inProvider.cpp, and verified real Stage 1 + Stage 2 self-builds ofVoidBuildSystemviavbs build! - Wired a live thread-safe
Void::Logconsole sink insrc/Main.cpp(--verbose/-v,--quiet/-q) logging every build phase (Config,Toolchain,Eval,Deps,Fetch,Provider,Snapshot,Graph, per-action[seq/total] Compile/Archive/Link/Action ...progress, andTest) with elapsed timings.
- Upgraded VoidLibrary pin to
-
Wave 7 (Plan 20 Slice 1 Bounded Native CMake Translation, Self-Testing
build.cpp,VL-009VOID_TEST, & Warm Cache Hardening):- Implemented Plan 20 Slice 1 in
include/Void/Build/Provider/Translator.hppandsrc/Provider/Translator.cpp: strict CMake File APIcodemodel-v2completeness audit (audit_cmake_codemodel), bounded C++ nativeGraph::BuildGraphtranslation (translate_cmake_to_native_graph, executing via VBS's toolchain driver/CAS/depfiles with zerocmake --build), and explicitTranslationPolicy::RequireNativevsTranslationPolicy::FallbackToForeignBuildresolution (resolve_cmake_with_translation), verified with equivalence, restored-mtime mutation, and unsupportedadd_custom_command/UTILITYfallback tests intests/FullV1Tests.cpp. - Added
tests/SelfBuildSmoke.cpp(project.test("vbs_self_smoke")) to rootbuild.cppso bothvbs buildandvbs testbuild and execute a self-test directly onVoidBuildSystem. - Verified VoidLibrary's upstream
VL-009VOID_TEST(suite, name)self-registering test macro directly with zero CMake and zero scanner across colliding basenames (alpha/Unit.cpp,beta/Unit.cpp) intests/SelfHostTests.cpp. - Hardened warm-build caching in
src/State/StateStore.cpp(stat-validated in-memoryDatabaseSnapshotcache acrosslookup_action/load_db_locked/save_db_locked) andsrc/Execution/Scheduler.cpp(run-scoped thread-safeRunDigestCachewith output invalidation), reducing 16-file warm no-op latency from16msto4msand 39-action Debug self-test warm verification from18.82sto12.16s.
- Implemented Plan 20 Slice 1 in
-
Wave 8 (Plan 20 Slice 2A Bounded Native Meson Translation, Everyday DX CLI, & Post-v1 Expansion Roadmap):
- Implemented Plan 20 Slice 2A in
include/Void/Build/Provider/Translator.hppandsrc/Provider/Translator.cpp: configure-only Meson setup (configure_meson_for_translation, nevermeson compile), strictmeson-info/intro-targets.jsoncompleteness auditing (audit_meson_introspection), internalbuild.ninjalink-edge recovery and nativeGraph::BuildGraphlowering (translate_meson_to_native_graph), and unifiedresolve_meson_with_translation/resolve_foreign_with_translation(RequireNativevsFallbackToForeignBuild), verified end-to-end with C++ native execution andcustom_targetfallback intests/FullV1Tests.cpp. - Wired opt-in
--native-foreignonvbs build/vbs testplus four everyday DX subcommands (vbs init,vbs clean,vbs doctor,vbs graph --format dot|json) intoVoid::Argparse::Parserinsrc/Main.cpp, verified end-to-end intests/FullV1Tests.cppand 32 CLI contracts intests/CliContracts.cmake. - Authored comprehensive 5-track post-v1 expansion plan in 21-expansion-roadmap.md (Track A zero-CMake self-host & full
VOID_TESTsuite; Track B extended foreign translation; Track C macOS/Windows/cross-compilation; Track D shared HTTP CAS & supply-chain provenance; Track E workspaces, daemon & DX).
- Implemented Plan 20 Slice 2A in
-
Wave 9 (Track A — Zero-CMake Self-Hosting, Full
VOID_TESTMigration, & Bit-Identical Stage 2 == Stage 3 Bootstrap):- Track A1 (
builder == "native"): ExtendedProviderRequestininclude/Void/Build/Provider/Provider.hppand implementedrun_native_providerinsrc/Provider/Provider.cpphandling both purebuild.cppsubprojects and built-inVoidLibraryrecipe closure (VOID_ENABLED_MODULES), complete withLog/Async-completeTestingclosure inrecipes/VoidLibrary/VoidLibraryRecipe.cpp, reverse-DFS static archive link ordering,Void::*target aliasing,MetadataOnlycache isolation, and/proc/self/exe-first SDK/binary discovery insrc/Main.cpp. Switched rootbuild.cpp'sVoidLibrarydependency from.cmake(...)to.native_builder(...). - Track A2 (Full
VOID_TESTVL-009Migration & Complete Self-Testbuild.cpp): Converted all 40 existing test cases acrosstests/{SdkDeclarations,ExampleContexts,CoreEngineTests,FullV1Tests,RegistryTests,SelfHostTests}.cppto VoidLibrary's self-registeringVOID_TEST(Suite, name)macro, removedVoidTestScanner.cmakeinvocation fromCMakeLists.txtandtests/CMakeLists.txt, and declaredvbs_benchmarksplus all 5Void::Testingexecutables (vbs_sdk_tests,vbs_core_tests,vbs_v1_tests,vbs_registry_tests,vbs_selfhost_tests) alongsidevbs_self_smokein rootbuild.cpp(13 targets total). - Track A3 (Bit-Identical Stage 2 == Stage 3 Bootstrap): Removed
$BUILD_DIRfromGenerateBootstrapConfig(binary_dir = ""), added disjoint{profile_build_dir, "/vbs-build"}prefix mapping insrc/Graph/Graph.cpp, emitted-frandom-seed=<filename>on deterministic GCC compiles andTZ=UTC/LC_ALL=Con links insrc/Toolchain/Driver.cpp, and verifiedsha256(stage2/vbs) == sha256(stage3/vbs)(9280ea998492cd3f48833cf87b06d91940c1f465f29f3871289c1e01bcf2e0b3) pluslibVoidBuildSdk.aandlibVoidBuildCore.abit-for-bit equality withcmaketrapped onPATH.
- Track A1 (
-
Wave 10 (Track B [B1–B3] Foreign Translation Expansion + First-Class
vbs ide&build.cppCompDB Integration):- Track B1 (First-Class C Driver & Mixed C/C++ Translation): Added
CStandard(Default,C11,C17,C23) acrossinclude/Void/Build.hpp,src/Build.cpp, andsrc/Config/Frontend.cpp; extendedToolchainCapabilities/CompileRequestinDriver.hpp/Driver.cppwithc_compilerdiscovery/probing/caching and C lowering; extendedGraph.cpp&CompDb.cppfor C compilation andc_standardemission; and upgradedTranslator.cpp+Provider.cppto pass-DCMAKE_C_COMPILER/CCand lower multi-compile-group mixed C/C++ CMake and Meson targets cleanly withPerFileOption. - Track B2 (Bounded
build.ninjaCUSTOM_COMMANDTranslation): Implemented sharedparse_ninja_custom_graph&CustomActionMaterializerinsrc/Provider/Translator.cppsupporting hermetic CMakeadd_custom_command/UTILITYand Mesoncustom_target/generated_sourceslowered toTargetKind::CustomAction, while explicitly rejectingconsolepools,.util-only side-effects, out-of-tree writes, in-tree codegen tools, andruntargets. - Track B3 (Foreign CMake C++20
CXX_MODULES& NixOSclang-scan-depsInclude Discovery): PopulatedToolchainCapabilities::default_include_dirsfrom Clang-E -vso NixOSclang-scan-depsresolves standard library headers; addedexternal_module_bmis+ImportedTargetInterface::module_bmispropagation inModuleScanner.{hpp,cpp},Graph.{hpp,cpp},Provider.cpp, andTranslator.cpp; lowered CMakeCXX_MODULESfileSetsnatively on both GCC 16 and Clang 23, including VBS targets importing modules exported by translated CMake libraries. - IDE Integration (
build.cppCompDB &vbs ide generate|query): Addedproject_build_descriptor_commandsindexingbuild.cpp/build.profiles.cpp/build-support/with<Void/Build.hpp>include paths incompile_commands.json; implementedvbs ide generate(non-destructive.clangdwith GCC flag stripping,.vscode/{tasks,launch,settings}.json,.zed/{tasks,debug}.json,.idea/customTargets.xml) andvbs ide queryworkspace/target JSON output inCompDb.{hpp,cpp},Watcher.cpp,Main.cpp,tests/CliContracts.cmake, andtests/FullV1Tests.cpp.
- Track B1 (First-Class C Driver & Mixed C/C++ Translation): Added
-
Wave 11 (Track D1–D2 Shared HTTP Action Cache & Parallel Snapshot Hashing):
- D1: Added
include/Void/Build/State/RemoteCache.hpp+src/State/RemoteCache.cpp(bearer-authenticated HTTP CAS client with SHA-256 verification on every read),StateStoreremote action/blob APIs,/api/v1/cas/{blobs,actions}endpoints with RBAC/audit invbs-registry, build-path-independent remote action keys and normalized records inScheduler.cpp, andvbs build|test --remote-cache/--remote-cache-token-env(plusVBS_REMOTE_CACHE/VBS_REMOTE_CACHE_TOKEN). - D2: Snapshot capture revalidation now hashes on a bounded
Void::Concurrency::ThreadPoolfor trees of 32+ files. - Docker verification: built and tested in
voidlibrary-dev(GCC 16.0.1, pinned VoidLibrary3e25405) with8/8CTest suites passing. D1 acceptance verified end-to-end: a coldvbs buildpopulates the remote CAS, and a second clean build directory reports0 executedwith the binary running. D2 benchmark on 5,001 files:warm_noop_ms=374(5,002 cached, 0 executed), meeting the sub-second gate. Also fixed the self-host recipe source list forRemoteCache.cppand accepted GCC 16's-lgcc_s_asneededsystem link flag.
- D1: Added
-
Wave 12 (Track E2 Multi-Package Workspaces):
- Added the workspace SDK (
Void::Build::Workspace,workspace(Workspace&),Project::workspace_dependency()),workspace.cppdescriptor discovery/evaluation inConfig::Frontend, and workspace orchestration insrc/Main.cpp: each member builds with its ownbuild.cpp/profiles while sharing the rootvbs.lockandbuild/.vbsCAS. - Cross-member linking resolves
workspace_dependency("lib").target("core")to the member's native path provider throughVBS_WORKSPACE_MEMBER_<name>;--member <pkg>and--changed-since <ref>select affected members. Member builds do not steal the project-rootcompile_commands.jsonalias, and path-dependency snapshots exclude generated editor metadata. - Docker verification:
FullV1Tests.workspace_members_shared_build_and_member_selectionbuilds a 3-member workspace (shared library + app + test) with a unified root lockfile, runs the app, selects a single member, and selects by changed file; all 8 CTest suites pass.
- Added the workspace SDK (
-
Wave 13 (Track D3 SBOM Provenance):
- Added
include/Void/Build/Provenance/Sbom.hpp+src/Provenance/Sbom.cppwith deterministic SPDX 2.3 and CycloneDX 1.5 JSON generation from lockfile packages andBuildGraphtarget outputs (content-derived namespace/serial and epoch timestamp). - Wired
vbs build|test --sbom FILE --sbom-format spdx|cyclonedxinsrc/Main.cpp, writing per-profile files when multiple profiles are selected. - Added
include/Void/Build/Provenance/Signing.hpp+src/Provenance/Signing.cpp+tests/SigningTests.cpp: Ed25519 detached-signature primitives (owner-only0600seed generation, public-key derivation, canonicalvbs-package-v1message, sign/verify) capability-gated onVoid::Crypto's OpenSSL backend. Without OpenSSL every operation fails closed with an explicit unsupported error; signature enforcement invbs publish/vbs build --lockedand the OpenSSL-backed round-trip run remain planned. - Docker verification:
FullV1Tests.sbom_spdx_and_cyclonedx_are_deterministic_and_valid_jsonplus a CLI--sbomassertion in the workspace test; full CTest suite passes.
- Added
-
Wave 14 (Track E3 Unix-Socket Daemon Core, Track C1 Linux Platform Backend Split, & CMake 4.5 Feature-Carrier Translation Fix):
- Implemented
Void::Build::Daemonininclude/Void/Build/Daemon/Daemon.hppandsrc/Daemon/Daemon.cpp: a bounded single-threaded Unix-domain-socket daemon that holds a warmStateStoreand projectInotifyWatcher, serves strict newline-delimited JSON requests (ping,status,gc,recover,describe,shutdown) with boundeddescribegraph summaries (target_names≤ 128 entries × 200 bytes,profile≤ 128 bytes, 10 s evaluation timeout), probes and replaces stale sockets, binds with0600permissions, recovers watcher overflow via rescan, and removes only its own socket (device/inode checked). Wiredvbs daemon run|status|stop|gc|recover|describeintosrc/Main.cppand addedtests/DaemonTests.cpp(VOID_TEST(Daemon, ...)) plus CLI contracts. - Split OS-specific platform implementations into
src/Platform/Linux/and addedinclude/Void/Build/Platform/Host.hpp(HostOs,host_os(),host_supported()); macOS/Windows backends remain planned Track C2/C3 scope. - Fixed bounded CMake translation for CMake 4.5's synthesized
@cmake_cxx_std@(synth_N)INTERFACE_LIBRARYfeature carriers insrc/Provider/Translator.cpp: their standard flag is already lowered from compile groups, so they are skipped instead of reported as untranslated dependency edges. RestoredFullV1Tests.track_b3_foreign_cmake_cxx20_modules_native_translationon CMake 4.5.
- Implemented
-
Wave 15 (Track D3 Signed-Package Enforcement):
- Extended the package model (
ReleaseRecord,SolvedPackage,LockedSourceEntry) andvbs.lockserialization with optional Ed25519signature/public_keyfields (omitted from JSON when absent, so existing locks stay byte-compatible). vbs publish --signing-key FILEsigns the canonicalvbs-package-v1message;vbs-registrystores and servesX-Package-Signature/X-Package-Public-Keymetadata with strict 128/64 hex validation;vbs build|test --trusted-public-key HEX(repeatable) fails closed before package extraction unless the signature verifies against a trusted key.- Added
Void::Build::Provenance::verify_trusted_package_signature(include/Void/Build/Provenance/Verification.hpp,src/Provenance/Verification.cpp) with explicitVerified/Unsigned/UntrustedKey/InvalidSignaturedecisions, plustests/SignatureEnforcementTests.cppand registry metadata/signed-E2E coverage.
- Extended the package model (
-
Wave 16 (Track E3 Daemon Build-Serving):
- Added the
builddaemon request insrc/Daemon/Daemon.cpp: graph evaluation is shared withdescribe(evaluate_project_graph), then executed in-process throughExecution::execute_graphagainst the daemon's warmStateStore. The response is bounded JSON (ok,profile,targets,actions,executed,cached,failed,diagnostic,failed_actions). Requests acceptprofile,compiler,targets(≤ 64 bounded strings) andjobs(0–256). - Wired
vbs daemon build [--profile] [--target]... [--jobs]insrc/Main.cppwith a long-running client timeout, plusDaemon.build_executes_project_graph_and_reuses_cache(cold build creates the binary, second request is fully cached, invalidtargetstype rejected) and a CLI help contract. Dependency materialization stays withvbs build/vbs deps; the daemon builds the already-describable graph.
- Added the
-
Wave 17 (VoidLibrary #52 Follow-up: Built-in Ed25519 Capability Probe):
- Issue #52 (built-in Ed25519 backend) was resolved upstream.
Provenance::signing_available()insrc/Provenance/Signing.cppnow probes an actual Ed25519 sign operation instead of assuming the OpenSSL backend, so a built-in backend is used automatically and the error message no longer claims OpenSSL specifically. - Verified against upstream
mainexported to/tmp/opencode/vl-mainwithout OpenSSL:Signing4/4 (the crypto round-trip actually runs, 151.8 ms) andSignatureEnforcement3/3. - The VoidLibrary pin was then bumped to
0002e74a7da94a756f55a4a5574d20b77736c185(upstreammain, containing #52) in CMakeLists.txt and build.cpp, with the pin assertions intests/DescribeContracts.cmakeandtests/ExampleContexts.cppupdated.
- Issue #52 (built-in Ed25519 backend) was resolved upstream.
-
Wave 18 (Track E3 Daemon-Side Dependency Materialization):
- Extracted the CLI's dependency resolution/materialization pipeline into the reusable library API
Package::resolve_and_materialize_dependencies(include/Void/Build/Package/Resolver.hpp,src/Package/Resolver.cpp) with explicitResolveOptions(project/build root, pinned lock, offline/upgrade, trusted keys, registry URL/auth);src/Main.cppis now a thin adapter over it. - The daemon
buildrequest now loads TOML dependency manifests, merges declared dependencies, resolves and materializes them (pinned lock + registry environment), imports native/CMake/Meson/Conan provider targets, and lowers the graph with those imported interfaces before executing. Responses reportdependencies. AddedDaemon.build_materializes_path_dependency(path dependency materialized, imported, linked, and built over the socket).
- Extracted the CLI's dependency resolution/materialization pipeline into the reusable library API
-
Wave 19 (Track D3 Trusted-Key Distribution):
- Added
Void::Build::Provenance::load_trusted_keys/normalize_public_key(include/Void/Build/Provenance/TrustedKeys.hpp,src/Provenance/TrustedKeys.cpp): keys are loaded from explicit--trusted-key-filefiles, an implicit projectvbs.keysring, andVBS_TRUSTED_PUBLIC_KEYS(comma/whitespace separated), validated as 64-hex, lowercased, and deduplicated. Malformed keys and unreadable files fail explicitly withfile:linecontext. vbs build|testcombines inline--trusted-public-keyvalues with file/env sources; the daemon build request loadsvbs.keys+ the environment variable before resolving dependencies.SignatureEnforcementnow has 5 cases.
- Added
-
Wave 20 (Track D3 Binary-Variant Signing):
- Added generic Ed25519 message primitives (
sign_message/verify_message) inProvenance::Signing, optionalsignature/public_keyonBinaryVariantMeta, the canonicalvbs-binary-v1message andverify_trusted_binary_signaturetrust policy, andselect_compatible_signed_binary: it selects the first ABI-compatible variant and, when trusted keys are supplied, fails closed on unsigned, untrusted, or invalid variants. With no trusted keys it matchesselect_compatible_binary. SignatureEnforcementnow covers binary-variant policy and signed selection (7 cases). Binary-variant distribution/download remains future work; this is the verification layer used by it.
- Added generic Ed25519 message primitives (
-
Wave 21 (Track E3 Daemon-Backed Editor Metadata):
- Added the
ide_querydaemon request (vbs daemon ide query): it evaluates/lowers the project graph, publishes the profile compilation database (selecting it when no editor selection exists), and returns the IDE metadata JSON (schema_version, project/build roots, profile identity, toolchain, compdb path, and per-target sources/outputs) wrapped withok/op/compdb. The response flattens the query's trailing newline so the socket protocol stays one JSON object per line. - Added
Daemon.ide_query_serves_workspace_targets_and_compdb(compdb exists on disk, schema/profile/app target present) and a CLI help contract; Daemon suite is now 9 cases.
- Added the
-
Wave 22 (Track D3 Binary-Variant Distribution):
- Added
download_binary_artifact(RegistryClient): fetches an absolute http(s) binary artifact URL and verifies its SHA-256 before the atomic write. Addedmaterialize_binary_variant(BinaryFetchOptions): selects a compatible variant (trusted-signature checked), reuses<cache>/binaries/<sha256>only when the cached digest still matches, and downloads otherwise. RegistryTests.binary_variant_distribution_downloads_and_verifies: a signed variant is downloaded from the live registry package endpoint, byte-for-byte verified, reused from cache after the server stops, and rejected on digest mismatch.
- Added
-
Wave 23 (Track C1 Watcher Backend Split):
- Moved the Linux
inotifywatcher implementation tosrc/Watch/Linux/Watcher.cppwith an explicit non-Linux compile-time boundary, completing thesrc/Watch/Linux/layout alongsidesrc/Platform/Linux/; source lists (CMake,build.cpp, self-host recipe) and path references updated.
- Moved the Linux
-
Wave 24 (Track E3 Daemon Compdb Export):
- Added the
compdb_exportdaemon request (vbs daemon compdb export [--profile]): it lowers the project graph, publishes/selects the profile compilation database, and returnsok/op=compdb/profile/compdbpath/entriescount. Shared compdb publication helpers are reused byide_query. - Added
Daemon.compdb_export_publishes_compilation_databaseand a CLI help contract; Daemon suite is now 10 cases.
- Added the
-
Wave 25 (Track E3 Daemon IDE Generate):
- Added the
ide_generatedaemon request (vbs daemon ide generate [--profile] [--editor] [--force]): it lowers the graph, publishes the compilation database, writes the requested editor presets (.clangd,.vscode/,.zed/,.idea/), and returnsok/op=ide_generate/profile/editorwithwrittenandskippedfile lists. - Added
Daemon.ide_generate_writes_editor_configs(invalid editor rejected;.clangdwritten) and a CLI help contract; Daemon suite is now 11 cases.
- Added the
-
Wave 26 (Track E3 Editor-Extension Watch Protocol):
- Added the
watch_polldaemon request (vbs daemon ide poll): it drains the warm inotify watcher, buffers changed paths (bounded to 4096, shared with the daemon loop so events are never lost between requests), and returnssequence,watch_events,changed,overflowed, andrescan_requiredfor editor extensions. - Added
Daemon.watch_poll_reports_changed_paths(a newly created file is observed through repeated polls) and a CLI help contract; Daemon suite is now 12 cases.
- Added the
-
Wave 27 (Track E3 Editor Long-Poll Watch):
- Added the
watch_waitdaemon request (vbs daemon ide wait [--timeout-ms]): a bounded long poll (0–5000 ms, default 2000) that returns buffered changes immediately or waits on the warm inotify watcher, then reportschanged,sequence,watch_events, andtimed_out. Because the daemon is single-threaded the wait is bounded; other requests queue behind it. - Added
Daemon.watch_wait_long_polls_until_change_and_times_out(quiet timeout, then a writer thread wakes the poll) and a CLI help contract; Daemon suite is now 13 cases.
- Added the
-
Wave 28 (Registry Binary-Variant Storage & Download Endpoints):
vbs-registrynow stores per-release binary variants (BinaryReleaseMetainReleaseMeta):PUT /api/v1/packages/<name>/<version>/binaries/<variant>(publish scope + CSRF, 128-byte bounded variant ids, upload/quota limits, optionalX-Binary-Signature/X-Binary-Public-Keywith 128/64-hex validation, idempotent same-digest and 409 immutable conflicts) andGET .../binaries/<variant>/download(read permission, CAS integrity re-verification). Metadata persists in the registry database and is listed in package detail JSON.RegistryTests.registry_binary_variant_publish_download_and_materialize: unauthorized publish rejected, malformed signature rejected, signed artifact published and listed, downloaded byte-for-byte, conflicting digest rejected, and the registry-served artifact materialized through the signedmaterialize_binary_variantpath.
-
Wave 29 (RegistryClient Binary-Variant API & Signed CLI Publish):
- Added
Package::publish_binary_variant(reads the artifact, computes SHA-256, optionally signs the canonical binary message with--signing-key, sendsX-Binary-Signature/X-Binary-Public-Key) andPackage::fetch_binary_variants(parses a release's binary list from the registry detail JSON) inRegistryClient. - Wired
vbs publish-binary --registry --name --version --variant --file [--signing-key] [--token-env]intosrc/Main.cpp; the registry binary-variant test now publishes/lists through the client API in addition to the loopback endpoint checks.
- Added
-
Wave 30 (Binaries CLI):
- Added
vbs binaries list|fetchbacked byPackage::fetch_binary_variants:listprints one line per variant (id sha256 size signed|unsigned), andfetchresolves the variant, builds the registry download URL, and downloads the artifact with SHA-256 verification viadownload_binary_artifact. vbs_cli_contractcovers the help/error contracts; the live registry CLI E2E now publishes a binary variant withvbs publish-binary, lists it, and fetches it byte-for-byte.
- Added
-
Wave 31 (Daemon Workspace Support):
- Daemon
describenow evaluatesworkspace.cpproots: it canonicalizes members, exportsVBS_WORKSPACE_MEMBER_<name>, and returns a bounded per-member summary (name,path,targets,actions,target_names). - Daemon
buildaccepts amemberfield for workspace roots (shared rootvbs.lockvia a newlock_rootoption) and builds that member's graph; a workspace build withoutmemberis rejected explicitly.DaemonOptionsgainedlock_root(empty = project root). Daemon.describe_and_build_workspace_membersreplaces the old workspace-rejection test.
- Daemon
-
Wave 32 (Member-Scoped Daemon IDE Requests):
- Extracted
resolve_member_options(workspace member selection, shared root lock) and applied it to the daemonide_query,ide_generate, andcompdb_exportrequests; non-workspace roots rejectmember, workspace roots require it. vbs daemon ide query|generateandvbs daemon compdb exportaccept--member; the workspace daemon test now covers member-scoped IDE query/generate (.clangdin the member directory) and the missing-member error.
- Extracted
-
Wave 33 (Daemon Workspace-Wide Build):
- Split the daemon build path into
execute_project_build(returns a structuredBuildOutcome) andbuild_project; a workspace build withoutmembernow builds every member in declared order, sharing the root lock and CAS, and returns per-member outcomes plus aggregateexecuted/cached/failed. A member-scoped build still returnsmember. - The workspace daemon test now expects the workspace-wide build to succeed and include both members, in addition to the member-scoped IDE checks.
- Split the daemon build path into
-
Wave 34 (Editor Status Protocol Request):
- Added the
editor_statusdaemon request (vbs daemon ide status): reports the active editor selection (ticket, profile, build root, generation id, compdb path, root-alias state) plus whether the selected compilation database exists and how many entries it holds. - Added
Daemon.editor_status_reports_selection_after_compdb_export(no selection before export, thendebugselection with a non-empty compdb) and a CLI help contract; Daemon suite is now 14 cases.
- Added the
-
Wave 35 (Daemon Compdb Use):
- Added the
compdb_usedaemon request (vbs daemon compdb use --profile): it switches the active editor profile to an already-published compilation database viaEditor::select_editor_profile(selection lock) and returns the selected profile, generation id, ticket, and compdb path. - Added
Daemon.compdb_use_switches_active_editor_profile(export then selectdebug; unknown profile rejected) and a CLI help contract; Daemon suite is now 15 cases.
- Added the
-
Wave 36 (Registry Binary-Variant Yank):
- Added
POST /api/v1/packages/<name>/<version>/binaries/<variant>/yanktovbs-registry(auth + CSRF, publish authority,{"yanked":bool}body defaulting to true) withBinaryReleaseMeta::yankedpersisted and listed in detail JSON.RegistryClient::fetch_binary_variantsnow exposesyankedand never returns yanked variants for selection. - The registry binary-variant test now checks unauthenticated yank rejection, CSRF-protected session yank, the yanked flag in the detail JSON, and that the yanked variant disappears from the client variant list.
- Added
-
Wave 37 (Daemon Graph Export): added the
graphdaemon request (vbs daemon graph [--profile] [--format dot|json] [--member]) returning the target dependency graph in a JSON envelope, plusDaemon.graph_exports_target_dependencies_as_json_and_dot. -
Wave 38 (Daemon Test Request):
vbs daemon test [--profile] [--target] [--jobs]runs declared test targets after the build (bounded output, pass/fail counts) and works for workspace-wide runs;Daemon.test_builds_and_runs_declared_tests. -
Wave 39 (Compdb Entries Query):
compdb_entriesdaemon request (vbs daemon compdb entries [--file SUFFIX] [--limit N]) serves bounded projected entries from the active compilation database;Daemon.compdb_entries_queries_published_database. -
Wave 40 (Authenticated Binary-Variant Downloads):
download_binary_artifactacceptsRegistryAuth,BinaryFetchOptionscarries a bearer token, andvbs binaries fetchforwards it;RegistryTests.private_binary_variant_download_requires_auth. -
Wave 41 (Yanked Binary Variants in Listing):
fetch_binary_variants(include_yanked); listings mark yanked variants while selection and fetch never see them. -
Wave 42 (Registry Binary-Variant Listing Endpoint):
GET .../binaries; the client queries it directly instead of parsing package detail JSON. -
Wave 43 (Workspace Members Request):
workspace_membersdaemon request lists declared members without evaluating them. -
Wave 44 (IDE Configs Request):
ide_configsdaemon request reports which editor configuration files exist. -
Wave 45 (Compdb Generations Request):
compdb_generationsdaemon request lists immutable editor generations with the active selection, status and entry counts (profile names validated). -
Wave 46 (Registry Package Search Pagination):
GET /api/v1/packages?limit&offsetwith a total envelope and 400 validation. -
Wave 47 (Registry Release Detail):
GET /api/v1/packages/<name>/<version>with metadata and binary summaries. -
Wave 48 (Daemon Deps Request):
depsdaemon request resolves/materializes dependencies and returns the lock context entries. -
Wave 49 (Daemon Info Request):
infodaemon request exposes version, host, roots, and socket path. -
Wave 50 (Registry Audit Query Filters):
/api/v1/auditsupports actor/action/outcome/limit/offset with an envelope. -
Wave 51 (Track E4
Void::SqliteStateStore): withVBS_HAS_VOID_SQLITEthe StateStore keeps its cache instate.v2.sqlite(Void::Sqlite) and imports the legacy JSON once; the JSON fallback remains. -
Wave 52 (Live Conan2 Verification):
FullV1Tests.track_b3_live_conan_provider_installcreates a real package in an isolatedCONAN_HOMEand runs a realconan installthrough the provider. -
Wave 53 (Track E4
Void::NetRegistry Client):Void::Netis enabled when Boost/OpenSSL/Threads are found;RegistryClientusesVoid::Net::HttpClient::secure(), keeping the POSIX/curl fallback. -
Wave 54 (Track E4
Void::NetRegistry Server):Registry::HttpServerserves throughVoid::Net::HttpServerbehindVBS_HAS_VOID_NETwith a request/response bridge and shared security headers. -
Wave 55 (Track E4
Void::NetRemote Cache):RemoteCacheHTTP exchange usesVoid::Netwhen available. -
Wave 56 (Host Reporting in
vbs doctor): reportsHostOs/host_supported()and the optional Sqlite/Net backends. -
Wave 57 (Daemon Clean Request):
Config::clean_build_treeextraction;cleandaemon request with structured report. -
Wave 58 (Daemon Target Info Request):
target_infodaemon request reports a target's kind, sources, outputs and runtime libraries. -
Wave 59 (Daemon Pack Request):
packdaemon request creates the deterministic source archive confined to the build root. -
Wave 60 (Daemon Actions Request & Binary Variant Detail):
actionsdaemon request lists bounded lowered actions;GET .../binaries/<variant>returns one variant's metadata. -
Wave 61 (Registry Package Ownership API): audited
GET/PUT/DELETE .../owners[/<user>]with authority, CSRF, 404/409 handling. -
Wave 62 (
vbs releases list): registry client release listing CLI. -
Wave 63 (Daemon Install Request):
installdaemon request builds and stages an install prefix, returning manifest and file count. -
Wave 64 (Daemon Uninstall Request):
uninstalldaemon request removes only manifest-owned files. -
Wave 65 (Daemon Gen-Tests Request):
gen_testsdaemon request generates the native registration unit, confined to project/build roots. -
Wave 66 (Signed
vbs binaries fetch): fetch requires a verified variant signature when trusted keys are configured. -
Wave 67 (Daemon Init Request):
Config::scaffold_projectextraction;initdaemon request scaffolds confined projects. -
Wave 68 (Daemon
clean --allCoverage):Daemon.clean_all_removes_entire_build_rootverifies whole-build-root removal while the connected client still receives the response. -
Wave 69 (RegistryClient Owners Helper, via swarm): a swarm worker added
Package::fetch_package_owners(GET/api/v1/packages/<name>/owners, explicit 404/401/403 mapping) and RegistryTests coverage (owner list containspub_alice, missing package fails, anonymous private access fails); the orchestrator reviewed, built, and verified it. -
Wave 70 (Track C1: Portable Executable Path & Daemon Host Reporting): added
Platform::current_executable_path()(FileOps.hpp, implemented insrc/Platform/Linux/FileOps.cppwith an explicit error on failure) and replaced the hard-coded/proc/self/exereads insrc/Main.cpp;CoreEngineTests.current_executable_path_resolves_running_binarycovers it. A swarm worker (5/5 tasks) extended the daemoninforesponse withhost_os,host_supported, and abackendsobject (file ops, process supervisor, directory watcher, sqlite, net), asserted inDaemon.info_reports_daemon_paths_and_host. -
Wave 71 (Member-Filtered Daemon
describe& Test Executable-Path Cleanup):describeaccepts an optionalmember(workspace roots only; unknown members rejected) so one member can be described without evaluating the others. A swarm worker replaced the remaining/proc/self/exelookups intests/{Registry,FullV1,SelfHost}Tests.cppwithPlatform::current_executable_path()(5/5 substantive tasks; its final build task was stopped and re-run by the orchestrator). -
Wave 72 (Daemon Target Flags & Registry Search Test Depth): added the
target_flagsdaemon request (vbs daemon target flags --name [--file] [--profile] [--member]) returning each compilation unit's bounded arguments, defines, and compile options (unknown targets rejected, file-suffix filter). A swarm worker extendedRegistryTestswith searchqfiltering (name and description), offset pagination envelope assertions, far-offset empty pages, and invalid offset/limit rejection (4/4 substantive tasks; its final build task was stopped and re-run by the orchestrator). -
Wave 73 (Actions Kind Filter &
vbs releases show): the daemonactionsrequest gained akindfilter (--kind), asserted inDaemon.actions_lists_lowered_actions. A swarm worker (7/7 tasks) addedPackage::fetch_release_detail(ReleaseInfo) andvbs releases show --registry --name --version, covered by CLI contracts and the live registry E2E. -
Wave 74 (Self-Excluding Source Archives & Release-Detail Tests):
create_source_packagenow skips its own output archive (and any stale copy at that path), so packing into a non-build-named directory no longer embeds the previous archive; asserted inarchive_security_determinism_binary_abi_and_redaction. A swarm worker added a dedicated release-detail test (fields, signature metadata, 404, private auth) toRegistryTests(5/5 substantive tasks; its build task was stopped and re-run by the orchestrator). -
Wave 75 (HEAD/Content-Length Support & Daemon
compdb_stale): the registry server (both the POSIX loop and theVoid::Netbridge) routesHEADexactly likeGETwhile suppressing the body and preservingContent-Length/content headers; asserted for release and binary downloads. A swarm worker (4/4 substantive tasks; build task stopped and re-run) added thecompdb_staledaemon request (marks a profile generation stale with an optional reason) andDaemon.compdb_stale_marks_generation_stale. -
Wave 76 (Range Downloads & Install Option Tests): registry release/binary downloads honour a single
Range: bytes=...header (206 +Content-Range,Accept-Ranges: bytes, suffix/open-ended forms, 416 for unsatisfiable/multipart ranges). A swarm worker extended the daemon install test withcomponent,export_cmake=false/export_native=false, and empty-prefix uninstall assertions (5/5 substantive tasks; build task stopped and re-run). -
Wave 77 (ETag/304 & Daemon
deps --offline): registry release detail, binary listing, and binary detail responses now carry a strongETag(+Cache-Control: no-cache) and honourIf-None-Matchwith a bodyless 304; asserted in the registry binary-variant test. A swarm worker (5/5 substantive tasks; build task stopped and re-run) added anofflineboolean to the daemondepsrequest with validation and tests. -
Wave 78 (Download ETag/304 & Daemon
statusPending Changes): release and binary downloads now carry anETagequal to the artifact digest and answer matchingIf-None-Matchrequests with a bodyless 304 before reading any bytes. A swarm worker addedpending_changesto the daemonstatusresponse and covered it in the watch test (4/4 substantive tasks; build task stopped and re-run). -
Wave 79 (Registry Metadata PATCH & Daemon
workspace_info):PATCH /api/v1/packages/<name>updates mutabledescription/privatemetadata (auth + CSRF, publish authority, validated body, auditedpackage.update), covered in the RBAC test with a dedicated private package. A swarm worker added theworkspace_infodaemon request (members plus root lockfile presence/size,workspace:falsefor plain projects) with tests (5/5 substantive tasks; build task stopped and re-run). -
Wave 80 (Watch Prefix Filter & Registry OPTIONS):
watch_poll/watch_waitaccept a boundedprefixfilter that returns only matching buffered changes while retaining non-matching ones for later requests (vbs daemon ide poll|wait --prefix), covered in the watch test. A swarm worker added anOPTIONSpreflight (204 +Allow) to the registry with a dedicated test (4/4 substantive tasks; build task stopped and re-run). -
Wave 81 (Registry Stats & Daemon
doctor): added the adminGET /api/v1/statsendpoint (package/release/yanked/binary/user/audit counts, ETag-validated) covered in the RBAC test (admin 200 with ETag, non-admin 403). A swarm worker added the structureddoctordaemon request (host/tool/backends JSON) withDaemon.doctor_reports_host_tools_and_backends(5/5 substantive tasks; build task stopped and re-run). -
Wave 82 (Tokens Listing & Daemon
target_list): addedPackage::fetch_tokensandvbs tokens list --registry(token id, label, user, scopes, active/revoked; the plaintext secret is never listed), covered in the CLI E2E. A swarm worker added thetarget_listdaemon request (sorted name/kind/enabled with limit and member support) and its test (5/5 tasks, including its own verification). -
Wave 83 (Token Revocation & Daemon
deps --update): addedPackage::revoke_tokenandvbs tokens revoke --registry --token-id, with a CLI E2E that revokes a second token and observes it as revoked in the listing. A swarm worker added anupdateboolean to the daemondepsrequest (allow compatible upgrades) with validation and plumbing tests (5/5 substantive tasks; build task stopped and re-run). -
Wave 84 (Daemon Install CLI Options & Registry Users Pagination):
vbs daemon installnow exposes--component,--no-cmake-export, and--no-native-export(matching the daemon protocol). A swarm worker paginated the adminGET /api/v1/usersroute (limit/offset envelope, 400 validation) with RegistryTests coverage (4/4 substantive tasks; build task stopped and re-run). -
Wave 85 (
vbs lock show& Daemon Mermaid Graphs): addedvbs lock show [--project DIR]printing the pinned lock revision, contexts, and entries (package/version/source/digest/signed state). A swarm worker added amermaidformat to the daemongraphrequest (flowchart nodes/links/prerequisites) with test coverage (4/5 substantive tasks; the final build/help tasks were stopped and completed by the orchestrator). -
Wave 86 (Shared Compdb Entry Query &
vbs compdb-entries): extracted the bounded compile-database projection intoEditor::query_compdb_entries(CompdbEntry/CompdbQuery/CompdbQueryResult), reused by the daemoncompdb_entriesrequest and exposed as thevbs compdb-entries [--project] [--build-dir] [--file] [--limit]CLI. -
Wave 87 (
vbs releases yank& DaemoninfoWorkspace/Lockfile): addedPackage::set_release_yankedandvbs releases yank --registry --name --version [--unyank], exercised live in the registry E2E. A swarm worker extended the daemoninforesponse withworkspaceandlockfile({path, exists}) fields and their test (4/4 substantive tasks; build task stopped and re-run). -
Wave 88 (Track C1 Platform Boundaries): added explicit compile-time boundaries for the daemon Unix-socket transport (Windows
#errorpointing at Track C3) and the registry POSIX HTTP server/loopback client (swarm worker), and Windows-safe_putenv_sbranches for the workspace member environment inMain.cpp/Daemon.cpp. Linux behavior is unchanged (full CTest 8/8). -
Wave 89 (
vbs binaries show& Daemon Install File List): addedPackage::fetch_binary_detailandvbs binaries show --variant(digest, size, yank, signed state), exercised in the CLI E2E. A swarm worker added a bounded, sortedinstalled_filesarray (with truncation marker) to the daemoninstallresponse and its test; the worker then stalled on its remaining verification tasks and was stopped after its edits landed. -
Wave 90 (
vbs verify --trusted-public-key& RFC 7232 If-None-Match):vbs verifyaccepts trusted key sources and rejects untrusted signer keys before verifying. A swarm worker (6/6 tasks) added ETag/304 support to the binary-variant detail endpoint and hardenedIf-None-Matchhandling per RFC 7232 (weakW/prefixes, comma lists,*) for all ETag-validated responses. -
Wave 91 (Convention-Based Self-Build & VoidLibrary Console Logging):
- Source membership no longer enumerates files: the SDK lives in
sdk/(Build.cpp,Json.cpp), the registry CLI entry inregistry/cli/Main.cpp, andbuild.cppplus the self-host recipe useproject.glob("src/**/*.cpp"),recipes/**,sdk/*.cpp, andregistry/service/*.cpp.Bootstrap::sdk_source_dirnow points atsdk/, andsdk/joins the snapshot root discovery. - A real bug was found and fixed: cached dependency paths are now absolute, so a relative
--build-dirno longer breaks the self-host build (std::filesystem::absoluteinmaterialize_dependency_source). - Logging now uses VoidLibrary's
Void::Logging::ConsoleLoggerthroughVoid::Log::make_sink, removing the hand-written sink and thevbsprefix ([Info] [Deps] ...); theLogmodule is enabled in every configuration.
- Source membership no longer enumerates files: the SDK lives in
-
Wave 92 (TTY-Aware CLI Help & Log Colors):
ConsoleLoggernow installs aPatternFormatterwithColorPolicy::defaults()when stderr is a terminal, so log levels are colored (previously the default policy was disabled); CLI help is colorized (bold section headers/usage, cyan commands and options) when stdout is a terminal.NO_COLORand the new global--no-colorflag disable both. -
Wave 93 (Self-Contained Installers):
InstallOptionsgainedbundle_runtime_dependencies(copies installed targets' runtime shared libraries into<prefix>/lib, deduplicated) andarchive_path(writes a deterministic USTAR installer archive of the published prefix).vbs installexposes--bundle-dependenciesand--archive FILE; the install CLI test unpacks the archive, checks its contents, and proves two runs are byte-identical. -
Wave 94 (CPack-Style Self-Extracting Installed & IDE Install Tasks):
vbs install --archive FILE --archive-format shnow emits an executable POSIX self-extracting installer (tar payload +--prefix/PREFIXhandling) in addition to the plain tar; the install test runs the generated script and verifies the extracted prefix. The generated VS Code and Zed tasks gainedvbs: installandvbs: package installerentries (asserted in the IDE test). -
Wave 96 (Wine-First Windows Target Support):
discover_and_probeselects the MinGW-w64 cross toolchain (x86_64-w64-mingw32-{g++,gcc,ar}, oraarch64for arm64 targets) when the profile targets Windows from a non-Windows host; Windows targets emit PE artifacts (<name>.exe,<name>.dll);vbs build|testaccept--target-os/--target-arch;vbs testruns cross-built Windows test binaries under Wine. Verified end to end: a Windows-target project cross-compiles and its test passes under Wine (FullV1Tests.track_c_windows_target_cross_build_and_wine_test, skipped when MinGW/Wine are absent). -
Wave 97 (Package Generators: ZIP & DEB):
vbs install --archive FILE --archive-format zip|debnow supports a stored (uncompressed) deterministic ZIP and a Debianarpackage (debian-binary,control.tar,data.tarwith Package/Version/Architecture/Maintainer/Installed-Size/Description metadata).dpkg-deb --info/--contentsvalidates the generated package. Tests assert the ZIP structure and parse/extract the DEB members. -
Wave 98 (Signed Installer Archives):
vbs install --archive FILE --signing-key SEEDnow writes<archive>.sha256(sha256sum format),<archive>.sig(Ed25519 detached signature hex) and<archive>.pub(signer key hex), and fails closed when no Ed25519 backend is available. The install test verifies the checksum prefix, the signature/key lengths, and the signature over the archive bytes when signing is available. -
Wave 99 (Windows Path & Case-Sensitivity Validation): graph lowering for Windows targets rejects case-insensitive output collisions (
Toolvstool→Tool.exe/tool.exe) and reserved device names (CON,NUL,COM1, …), with explicit diagnostics. The Wine regression test now also proves PE case-insensitive file semantics (fopen("CASE_A.TXT")findscase_a.txt) and asserts both validation errors. -
Wave 100 (CMakePresets Import):
Config::load_cmake_presetsparsesCMakePresets.json-style configure presets (resolvinginheritsas a string or array with cycle detection), expands${sourceDir}, mergescacheVariables, and mapsCMAKE_BUILD_TYPE/CMAKE_CXX_COMPILERonto VBS profile/compiler. Thevbs presetsCLI lists the mapping or prints the equivalentvbs buildcommand for one preset; covered byFullV1Tests.cmake_presets_import_maps_inherits_and_cacheand a CLI contract. -
Wave 101 (CMake File API Shim):
vbs ide generatenow regenerates a CMake File APIcodemodel-v2reply tree (build/.cmake/api/v1/reply/{index,codemodel-v2,directory,target-*}.json) from the lowered graph, including per-target type, artifacts,nameOnDisk, sources, and compile groups (language, command fragments, defines, includes). Covered byFullV1Tests.ide_integration_compdb_build_cpp_and_editor_configs_end_to_end, which walks index → codemodel → target JSON. -
Wave 102 (VoidLibrary Migration Trial): in a separate VoidLibrary clone at the pin (
0002e74), a nativebuild.cpp(using the shared module-closure logic) built VoidLibrary entirely with VBS - 23 actions, module archives plusvoid_smoke- andvbs testreportedPASSED 'void_smoke'with no CMake. The reusable assets live incontrib/voidlibrary-migration/(outside the globbed source trees), and the missing first-class upstream build description was filed as Void/Library#61. -
Wave 103 (Test-Runner Parity: JUnit XML & Test Timeout):
vbs testgained--test-timeout SECONDS(1..86400, validated before any project work) and--junit FILE, which writes a JUnit XML report aggregating every executed test target across profiles (testcasewith classname/name/time,failurewith exit status and captured output, escaped). Covered byFullV1Tests.native_vbs_subproject_dependency_builds_without_cmake(asserts the suite/testcase/failures fields) and a CLI contract for invalid timeouts. -
Wave 104 (Competitor Benchmark Harness):
benchmarks/compare.shgenerates one C++ project and times VBS, CMake/Ninja and Meson cold and warm. First baseline (20 sources, 32 jobs): VBS 2578/209 ms, CMake configure 234 ms + build 98/9 ms, Meson setup 438 ms + compile 232/166 ms - VBS's per-invocation descriptor/toolchain work is the documented optimization target. -
Wave 105 (Sanitizer Groundwork): an ASan+UBSan build (
build/asan) runsvbs_core_tests7/7 clean with leak detection. It exposed a real VoidLibrary bug -Argparse::option_defaultuse-after-free when the default aliases the output - filed as Void/Library#62 and worked around by de-aliasing thegc/cleancall sites. Full-binary ASan testing is limited because descriptor compilation does not inherit sanitizer flags (recorded as tooling work). -
Wave 106 (Deterministic Parser Fuzzing):
CoreEngineTests.fuzz_mutated_inputs_never_crash_parsersmutates TOML, JSON, lockfile and tar seeds (bit flips, truncation, overwrite runs, junk insertion; fixed xorshift seed, 200 iterations) and feeds them toload_dependencies_toml,Void::Json::Strict::parse,parse_lockfileandextract_safe_tar, with seed sanity checks guarding against a vacuous fuzz. Clean in the normal build and under ASan+UBSan with leak detection. -
Wave 107 (CI Workflow Groundwork & RPM Prototype Finding):
.github/workflows/ci.ymlgained a sanitizer job (ASan+UBSan configure/build, core-safe suites) and a MinGW+Wine job running the Windows-target regression test, and the formatting job now coverssdk/, nested platform dirs,registry/cli/and all recipes. The workflow remains a template that has never run on real runners. An RPM prototype (validated withrpm6.1 fromdev cpp-gcc -p rpm) showed that RPM 6.1 rejects hand-built headers unless the signature-region conventions are exact, so the native RPM generator is deferred rather than shipped unverified. -
Wave 108 (Native RPM Generator):
vbs install --archive FILE --archive-format rpmwrites a real RPM (lead, signature header with header SHA-256, main header with name/version/release/summary/description/build/size/license/group/OS/arch/file metadata/payload tags, and an uncompressed newc cpio payload). Validated with rpm 6.1:rpm -qip,rpm -qlpandrpm2cpio | cpio -itall accept the package; the install test asserts the lead/header magic and cpio payload markers. -
Wave 109 (VoidLibrary Migration: Pure Module Expansion): the native module table gained Containers, Binary, IO, Service, ObservabilityHooks, Resilience, Storage, IPC and Fsm. In the separate clone at
0002e74,vbs buildcompiled and archived all of them (18 actions) with no CMake; upstream Void/Library#61 was updated with the result and what remains (externally dependent modules and further table entries). -
Wave 110 (VoidLibrary Migration: Net & Sqlite): the module table gained
Net(Functional, Text, threads) andSqlite(Functional, Time). In the clone with-p openssl -p boost -p sqlite,vbs buildcompiled and archived both (13 actions incl.libVoid_Net.aandlibVoid_Sqlite.a), with the system libraries linked by the embedding build; Void/Library#61 was updated. -
Wave 111 (VoidLibrary Migration: Complete Module Set): the native table now describes all 57 VoidLibrary modules (generated from each
module.cmake's internal dependencies). In the clone with-p openssl -p boost -p sqlite -p libsodium -p lua,vbs buildbuilt the entire library: exit 0, 134 actions, 37 module archives, smoke executable runs. Void/Library#61 was updated; only the in-repo build description (+ tests/install/packaging) remains upstream. -
Wave 112 (Migration Tooling:
vbs migrate):Config::import_cmake_listsreads a bounded CMakeLists.txt subset (project,set,add_library/add_executable,target_link_libraries,target_include_directories,target_compile_definitions,install(TARGETS)) with variable expansion (${...}, source-dir variables) and reports everything it cannot translate;vbs migrate --input --output [--force] [--dry-run]renders abuild.cppscaffold. Covered by a unit test, a CLI contract, and a dry run over the project's own CMakeLists. -
Wave 113 (Editor Plugin Asset Export):
vbs ide plugin --editor vscode --output DIRwrites ready-to-use VS Code extension assets (package.jsonwith six contributed commands,extension.jsrunningvbsin a terminal,README.md), resolving the currentvbsexecutable path; other editor kinds are rejected explicitly. Covered by a unit test and a CLI contract. -
Wave 114 (VS Code Extension Repository):
vbs ide pluginnow emits a portable extension (workspace-folder based,VBS_BIN/vbsfallback) and the assets were published to the new Void/VbsVsCode repository (package.jsonwith six commands,extension.js, README, MIT LICENSE,.vscodeignore). Zed/CLion plugin repositories remain. -
Wave 115 (Zed Extension Repository):
vbs ide plugin --editor zednow emitsextension.toml,tasks.json(six tasks) and a README; the assets were published to the new Void/VbsZed repository and confirmed via the Gitea API. The plugin asset unit test now covers both VS Code and Zed. -
Wave 116 (CLion Plugin Repository):
vbs ide plugin --editor clionemits a JetBrains plugin skeleton (plugin.xmlwith Tools-menu actions,build.gradle.kts, a Kotlin action file, README); assets published to the new Void/VbsCLion repository and confirmed via the Gitea API. All three editor plugin repositories now exist. -
Wave 117 (#61 VBS-Side Gaps): three gaps noted on Void/Library#61 are fixed in VBS - (1)
ProcessRequest::descendant_gracebounds post-leader orphan supervision and the group is fully reaped so test runs cannot hang on escaped grandchildren; (2) installer archives are signed over a short canonicalvbs-installer-v1digest message (streamed SHA-256,.msgwritten) instead of the archive bytes, removing the 16 MiB one-shot crypto limit; (3).native_builder({...})options are passed to a dependency'sbuild.cppasVBS_DEP_OPTION_<NAME>(plusVBS_DEP_NAME), readable through the new SDKVoid::Build::dependency_option(). -
Wave 118 (VoidLibrary In-Repo Build Description): pushed branch
build-vbsto Void/Library containingbuild.cpp,build-support/vl/VoidLibraryModules.{hpp,cpp}andtests/vl/smoke.cpp(all 57 modules, verified in the clone: 134 actions and a passing smoke test). Void/Library#61 was updated with the branch, verification details and the remaining CI/install work;contrib/voidlibrary-migration/now mirrors the exact pushed files. -
Wave 119 (VoidLibrary Install/Packaging Rules & Profiles): added install rules (module archives to
lib, headers, documentation), abuild.profiles.cpp(default profiles plusrelwithdebinfo) to thebuild-vbsbranch, and verified a fullvbs installof VoidLibrary (320 files) plus a 185 MB DEB accepted bydpkg-deb. VoidLibrary has no LICENSE file, so Void/Library#63 was filed. The DEB writer now streams members (a 16 MiB read limit was hit on the large payload). -
Wave 120 (WiX/MSI-Style Packaging & VoidLibrary CI): added
vbs install --archive FILE --archive-format wix, which emits a WiX v3 source (deterministic Product/Upgrade GUIDs, directory tree, component per file, feature/component group) - the CPack WIX model consumed by candle/light on Windows; the XML is validated by a real parser and asserted in the install test. A.gitea/workflows/vbs.ymltemplate (native build, smoke test, install check) was pushed to the VoidLibrarybuild-vbsbranch. -
Wave 121 (Coverage-Guided Fuzzing with Clang/libFuzzer): added
fuzz/fuzz_parsers.cpp(JSON, SemVer range/strict) plusfuzz/run.sh(Clang 23-fsanitize=fuzzer,address,undefined, seeded corpus,VOID_INCLUDE_DIR). First run: 1,541,020 executions in 31 s with no findings, and libFuzzer produced a recommended dictionary. TOML/lockfile/tar stay covered by the deterministic mutation harness because their implementations are not header-only. -
Wave 122 (Remote Execution Worker Protocol):
vbs-registrynow exposes an in-memory worker/lease protocol on the existing CAS -POST /api/v1/workers(registration),/workers/<id>/heartbeat,GET /workers,POST /api/v1/actions/lease(exclusive lease with TTL and token) andPOST /api/v1/actions/<key>/result(token-checked result upload that requires every referenced output blob to exist).RegistryTests.remote_worker_registration_lease_and_result_uploadcovers registration, heartbeat, lease/conflict, wrong-token rejection, result publication and the unknown-action 404. -
Wave 123 (
vbs workerClient): addedvbs worker --registry --action-key --record FILE [--build-dir] [--token-env] [--lease-seconds], which registers a worker, leases the action, publishes each referenced output blob and the action record to the registry CAS (via the StateStore remote cache), and submits the result with the lease token. Supporting APIs:StateStore::export_action_record_json,Package::register_worker/lease_action/submit_action_result.RegistryTests.worker_cli_leases_publishes_and_reports_resultverifies the CAS record and blob after a worker run. -
Wave 124 (Distributed Action Queue & VoidLibrary PR): the registry gained an in-memory action queue (
POST /api/v1/queueto enqueue keys,POST /api/v1/queue/leaseto lease the oldest unleased key to a worker,GET /api/v1/queueto list pending/leased keys), reusing the existing lease TTL/tokens; a completed result removes its key from the queue.RegistryTests.worker_action_queue_enqueue_lease_and_completecovers enqueue, ordered leases, exhaustion and listing. Pull request Void/Library#64 was opened for the native VoidLibrary build branch. -
Wave 125 (Queue-Driven Worker Mode):
vbs worker --queue(without--action-key) leases the next queued action from the registry (Package::lease_queued_action), then publishes blobs/record and submits the result exactly like the direct mode. The worker E2E now covers both modes, asserting the queue is empty afterwards. -
Wave 126 (VoidLibrary Test Wiring): the
build-vbsbranch now declares per-module package tests (tests/package/<Module>Only/main.cpp→void_<module>_tests) and its CI runs the fullvbs testinstead of a single smoke target. Verified in the clone: 156 actions, and the core/algorithms/crypto/sqlite/unicode/… test binaries all PASSED with exit 0. -
Wave 127 (Continuous Worker Loop):
vbs worker --queuenow loops - lease, process, repeat - exiting when the queue is empty (or after one action with--once). In loop mode the record is exported from the local state store (--recordis optional), transient lease failures are retried three times, and actions that are not built locally are skipped with a warning. The worker E2E exercises the loop and asserts thequeue emptyexit. -
Wave 128 (Lease Renewal & Idle-Timeout Watcher): the registry gained
POST /api/v1/actions/<key>/renew(token-checked lease extension, bounded TTL, audited) andPackage::renew_action_lease.vbs worker --queueaccepts--idle-timeout SECONDSto keep watching an empty queue before exiting, and--oncenow limits the loop to one action. The worker E2E asserts the idle wait, renewal success, and wrong-token rejection. -
Wave 129 (VoidLibrary PR Follow-Up): upstream
maingained its own first-class VBS description (f982049) and the Argparse aliasing fix (9a3fc5e, closing #62). Thebuild-vbsbranch was updated frommainand reduced to the only remaining unique change -.gitea/workflows/vbs.yml(native build, full test, install check) - and PR #64 was retitledci: add the native VBS workflowwith a follow-up comment. The workflow is unexecuted (no runner) and its YAML could not be validated locally (no YAML parser available). -
Wave 130 (CI Hardening): the VoidLibrary workflow (
build-vbs) now guards for GCC 16+, and adds sanitizer (ASan+UBSan core suites) and libFuzzer jobs; it passesyamllint(valid YAML, only line-length warnings). VBS's own CI gained the matching fuzz job. Workflows remain unexecuted without runners. -
Wave 131 (Warm-Build Latency & Generated Plugin Tests): descriptor identity hashing is memoized by stat fingerprint (size + mtime) in
.vbs/config/identity_cache.json, and cached header entries carry the same fingerprint, so unchanged inputs are not re-hashed. In the benchmark project the descriptor check fell from ~106 ms to ~0.8 ms andbenchmarks/compare.shwarm no-op from ~209 ms to 92 ms (CMake 8 ms, Meson 175 ms on the same 20-source project).vbs ide plugin --editor vscodenow also emitstest/extension.test.jsplus annpm testscript, and the generated harness was executed with Node against a mocked VS Code API (6 commands passed). -
Wave 132 (Test Labels, Resource Locks & Parallel Tests): the SDK gained
.label("name")and.resource("name")on targets (round-tripped through the descriptor JSON), andvbs testnow runs test targets in parallel up to--jobswhile serializing tests that share a resource, and filters with--label.FullV1Tests.test_labels_filter_and_resource_locks_serializecovers label filtering and asserts that shared-resource start/end intervals never overlap under 4 jobs. -
Wave 133 (CTest-Style Fixtures): added
.fixture_setup(),.fixture_required()and.fixture_cleanup()on targets (round-tripped through the descriptor JSON). The parallel test runner now pulls fixture setup/cleanup tests in automatically, orders them with prerequisites (setup before users, cleanup after every user), and skips dependents when a setup fails.FullV1Tests.test_fixtures_setup_required_cleanup_orderingverifies the order (setup first, cleanup last) and the skip-on-failed-setup path. -
Wave 134 (CDash Reporting): added
Void::Build::Report(src/Report/Cdash.cpp) with CTest-compatibleTest.xmlrendering and multipart submission to<cdash>/submit.php?project=...;vbs testgained--cdash URL,--cdash-project,--cdash-buildand--cdash-output FILE. The upload uses Void::Net when linked and a POSIX HTTP/1.1 fallback otherwise.RegistryTests.cdash_test_report_output_and_submissioncaptures the submission with a loopback server and checks the XML and multipart fields. -
Wave 135 (Remote Action Execution):
vbs worker --queuenow executes action specs fetched from the CAS when an action is not built locally - it downloads the declared input blobs (verified), materializes them, runscommandinworking_directory(bounded by--exec-timeout, default 600 s), stores the declaredoutput_pathsas CAS blobs, and submits the result record.RegistryTests.worker_executes_remote_action_specseeds a spec (cat input.txt > output.txt) and verifies the local output, the CAS record (exit_code 0) and the uploaded output blob.
Remaining future scope
-
Superiority plan (22-superiority-and-gaps.md, 2026-12-05): revised platform strategy - macOS deferred, Windows via MinGW-w64 cross-compilation + Wine execution (
dev cpp-gcc -p pkgsCross.mingwW64.stdenv.cc,dev cpp-gcc -p wine64), native MSVC deferred; plus packaging parity (ZIP/DEB/RPM), IDE ecosystem, migration tooling, test-runner parity, benchmarks, CI runners, and remote execution in prioritized order. -
Post-v1 Expansion Roadmap (21-expansion-roadmap.md & 20-future-translation-platforms.md): Track C (macOS/Windows ports + dual-profile cross-compilation) and dedicated external editor plugins remain planned; Track D3 signing (SBOM, Ed25519 primitives, trusted-key enforcement/distribution, binary-variant signing/distribution) and Track E3 daemon capabilities are implemented, and Track E4 now uses
Void::Netfor the registry client/server and remote cache plusVoid::Sqlitefor the StateStore when available.