112 lines
9.9 KiB
Markdown
112 lines
9.9 KiB
Markdown
# Verification record
|
||
|
||
Updated: 2026-11-27
|
||
Working directory: `/home/faumaray/Projects/VoidBuildSystem`
|
||
|
||
All checks below were executed after the final C++ edits and formatting pass. Planned/non-executed items are separated explicitly under **Limits and Unrun Checks**.
|
||
|
||
## Toolchain & Dependency Integrity
|
||
|
||
- Configure baseline (`build/dev`): Ninja Debug C++26 (`-DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON`) against clean detached checkout of VoidLibrary pin `3e254055e081a104f08df68dde39711bc7813518` (`modules=15`, enabling `Void::Algorithms`, `Void::Archive`, `Void::Async`, `Void::Configuration`, `Void::Crypto`, `Void::Text`, `Void::Unicode`, `Void::Testing`, and core dependencies with zero external crypto/archive libraries).
|
||
- Build command:
|
||
```sh
|
||
dev cpp-gcc -c cmake --build build/dev --parallel 4
|
||
```
|
||
- Exit status: `0` (all library targets `VoidBuild_Sdk`, `VoidBuild_Core`, `VoidBuild_Registry`, binaries `vbs`, `vbs-registry`, `vbs_describe`, `vbs_benchmarks`, and 5 `Void::Testing` executables compiled and linked cleanly).
|
||
- Pin checks:
|
||
- Detached VoidLibrary checkout `HEAD` == `3e254055e081a104f08df68dde39711bc7813518` (`Merge branch 'feat/upstream-vbs-requests' (VL-001..VL-013)`).
|
||
- VBS made zero writes to `/home/faumaray/Projects/VoidLibrary`.
|
||
|
||
## Formatting Check
|
||
|
||
```sh
|
||
dev cpp-gcc -c clang-format --dry-run --Werror \
|
||
build.cpp build.profiles.cpp build-support/Defaults.hpp build-support/Defaults.cpp \
|
||
include/Void/Build.hpp include/Void/Build/*/*.hpp \
|
||
src/*.cpp src/*/*.cpp \
|
||
recipes/VoidLibrary/*.hpp recipes/VoidLibrary/*.cpp \
|
||
recipes/SelfHost/*.hpp recipes/SelfHost/*.cpp \
|
||
registry/include/Void/Build/Registry/*.hpp registry/service/*.cpp \
|
||
benchmarks/*.cpp tests/*.cpp
|
||
```
|
||
- Exit status: `0` (all 70 owned C++ headers/sources pass with zero formatting diffs).
|
||
|
||
## CTest Suite Results (`dev cpp-gcc`)
|
||
|
||
```sh
|
||
dev cpp-gcc -c ctest --test-dir build/dev --output-on-failure
|
||
```
|
||
- Exit status: `0` — **8 / 8 passed (100%) in 121.31 sec**:
|
||
|
||
| # | CTest Name | Scope Verified | Result | Time |
|
||
| --- | --- | --- | --- | --- |
|
||
| 1 | `vbs_sdk_tests` | 17 self-registered `VOID_TEST` cases (`SdkDeclarations` 14 + `ExampleContexts` 3 for 13-target `.native_builder()` `build.cpp` and pin `3e254055...`; zero CMake test scanner) | Passed | 0.01s |
|
||
| 2 | `vbs_core_tests` | 6 `VOID_TEST` cases: `Void::Crypto` SHA-256 NIST vectors, `Void::Process` exec-fail & stubborn grandchild `SIGKILL`, profile inheritance/cycles, snapshot mutation/symlinks/header-shadowing (`Void::FileSystem`), stat-cached `StateStore` CAS recovery/GC, end-to-end native frontend + deterministic build + `RunDigestCache` | Passed | 11.41s |
|
||
| 3 | `vbs_v1_tests` | 12 `VOID_TEST` cases: CompDB ticket races & `atomic_symlink_swap`, `Void::FileSystem::DirectoryWatcher` + `MetadataOnly` boundary, `Void::Data::Toml` + `Void::Semver::parse_range` PubGrub solver + CAS `vbs.lock`, `Void::Archive` `.tar` determinism & security rejection, real CMake & Meson providers + `VbsDeps.cmake` bridge + relocatable install + CLI `vbs install`/`vbs uninstall`, GCC 16 P1689 modules + full Plan 08 graph integration, **Plan 20 Slice 1** CMake translation, **Plan 20 Slice 2A** Meson translation, **Wave 8 DX CLI** E2E (`vbs init` -> `vbs test` -> `vbs graph` -> `vbs doctor` -> `vbs clean`), AND **Track A1** pure `build.cpp` subproject `.native_builder()` build with trapped `cmake` on `PATH` | Passed | 23.95s |
|
||
| 4 | `vbs_registry_tests` | 2 `VOID_TEST` cases: `vbs-registry` HTTP/1.1 security/RBAC/CSRF/XSS/tar-422/backup-restore + full live CLI E2E `vbs publish` -> `vbs deps resolve` -> `vbs build --locked` | Passed | 4.02s |
|
||
| 5 | `vbs_selfhost_tests` | 5 `VOID_TEST` cases: basename-collision-safe `vbs gen-tests`, strict non-CMake native `VoidLibrary` + direct `VOID_TEST` `SdkDeclarations.cpp` (zero scanner) + Stage 2, full Stage 0 -> Stage 1 native `VbsSelfHostRecipe` -> Stage 2 `vbs test` with trapped `cmake`, `VL-009` `VOID_TEST(suite, name)` colliding basenames (`alpha/Unit.cpp`, `beta/Unit.cpp`), AND **Track A3** cross-build-dir SHA-256 bit-identical reproducibility (`librepro_lib.a` & `repro_app` with `custom_action` + anonymous namespace + trapped `cmake`) | Passed | 81.80s |
|
||
| 6 | `vbs_sdk_registration` | 17 `VOID_TEST` registrations verified (`SdkDeclarations.*`, `ExampleContexts.*`); named JSON case executed | Passed | 0.01s |
|
||
| 7 | `vbs_cli_contract` | 32 native CLI & auto-generated `Void::Argparse::Parser` help/subcommand/error contracts verified | Passed | 0.05s |
|
||
| 8 | `vbs_description_contract` | Four runtime profile/compiler contexts (`debug`/`release` x `gcc`/`clang` for 13-target `.native_builder()` `build.cpp`), auto-generated `vbs_describe --help`, and five error contracts verified | Passed | 0.06s |
|
||
|
||
## Real Zero-CMake Self-Build, Native Test Suite & Bit-Identical Stage 2 == Stage 3 (`vbs test` / `vbs build`)
|
||
|
||
### Stage 1 -> Stage 2: Bootstrap `vbs` builds `VoidLibrary` via `.native_builder()`, builds VBS, and runs native `VOID_TEST` suites with trapped `cmake` (`exit 99`)
|
||
```sh
|
||
VBS_VOID_SOURCE_DIR=/home/faumaray/Projects/VoidBuildSystem/build/voidlibrary-pinned \
|
||
dev cpp-gcc -c sh -c 'PATH="$PWD/build/cmake-trap:$PATH" build/dev/bin/vbs test --build-dir build/vbs-stage2 --profile release --target vbs --target vbs_self_smoke --target vbs_sdk_tests --target vbs_core_tests --jobs 8'
|
||
```
|
||
- Exit status: `0`:
|
||
- `VoidLibrary` built completely natively without CMake in `12.57s` (`27 executed, 0 cached`), exporting 60 targets.
|
||
- Root `build.cpp` built cleanly in `41.87s` (`42 executed, 0 cached`).
|
||
- `vbs test` passed `vbs_sdk_tests` (`4 ms`), `vbs_self_smoke` (`2 ms`), and `vbs_core_tests` (`11324 ms`) with zero `cmake` invocations.
|
||
|
||
### Stage 2 -> Stage 3: Bit-Identical Reproducible Self-Build (`sha256(stage2) == sha256(stage3)`) with trapped `cmake` (`--no-cache`)
|
||
```sh
|
||
VBS_VOID_SOURCE_DIR=/home/faumaray/Projects/VoidBuildSystem/build/voidlibrary-pinned \
|
||
dev cpp-gcc -c sh -c 'PATH="$PWD/build/cmake-trap:$PATH" build/vbs-stage2/profiles/release/out/bin/vbs build --build-dir build/vbs-stage3 --profile release --target vbs --no-cache --jobs 8'
|
||
sha256sum build/vbs-stage2/profiles/release/out/bin/vbs build/vbs-stage3/profiles/release/out/bin/vbs \
|
||
build/vbs-stage2/profiles/release/out/libVoidBuildSdk.a build/vbs-stage3/profiles/release/out/libVoidBuildSdk.a \
|
||
build/vbs-stage2/profiles/release/out/libVoidBuildCore.a build/vbs-stage3/profiles/release/out/libVoidBuildCore.a
|
||
```
|
||
- Exit status: `0` — `32 executed, 0 cached` in `38.36s`; exact bit-for-bit SHA-256 matches across distinct build directories:
|
||
- `vbs`: `9280ea998492cd3f48833cf87b06d91940c1f465f29f3871289c1e01bcf2e0b3` (Stage 2 == Stage 3)
|
||
- `libVoidBuildSdk.a`: `8f1ec2ea226fcb93a55e78e658ce62bc2769941edaaaf097045ba7f8e6027483` (Stage 2 == Stage 3)
|
||
- `libVoidBuildCore.a`: `07f3ff5fd96e5c7cce3d5dfb0f25f071f09003ae850def63d605d9b0d2b1a4a3` (Stage 2 == Stage 3)
|
||
|
||
### Remaining Native Test Suites via Stage 2 `vbs test`
|
||
```sh
|
||
VBS_VOID_SOURCE_DIR=/home/faumaray/Projects/VoidBuildSystem/build/voidlibrary-pinned \
|
||
dev cpp-gcc -c build/vbs-stage2/profiles/release/out/bin/vbs test --build-dir build/vbs-stage2 --profile release --target vbs_v1_tests --target vbs_registry_tests --target vbs_selfhost_tests --jobs 8
|
||
```
|
||
- Exit status: `0` (`9.60s` build, `9 executed, 32 cached`):
|
||
- `vbs test: PASSED 'vbs_v1_tests'` (`23226 ms`)
|
||
- `vbs test: PASSED 'vbs_selfhost_tests'` (`59753 ms`)
|
||
- `vbs test: PASSED 'vbs_registry_tests'` (`2851 ms`)
|
||
|
||
## Clang 23.1.3 Target Matrix (`dev cpp`)
|
||
|
||
```sh
|
||
dev cpp -c build/dev/bin/vbs_v1_tests --no-color --filter clang23
|
||
```
|
||
- Exit status: `0` — `1 tests: 1 ✔ in 771.0ms` (`FullV1Tests.clang23_target_toolchain_and_p1689_module_scan`).
|
||
- Verified inside `dev cpp`: Clang 23.1.3 + `clang-scan-deps` target probing, C++20 compilation, and full `Graph::lower_project_graph` + `Execution::execute_graph` build of module partition (`vbs.clangcalc:part`) + primary interface (`vbs.clangcalc`) + consumer `main.cpp` using two-step `--precompile` `.pcm` -> `.o` with transitive `-fmodule-file=`.
|
||
|
||
## Benchmarks (`dev cpp-gcc`)
|
||
|
||
```sh
|
||
dev cpp-gcc -c build/dev/bin/vbs_benchmarks --files 15
|
||
```
|
||
- Exit status: `0`:
|
||
```json
|
||
{"fixture_files":16,"compiler":"g++ (GCC) 16.2.0","snapshot_ms":20,"cold_build_ms":337,"cold_executed":17,"warm_noop_ms":5,"warm_executed":0,"warm_cached":17}
|
||
```
|
||
|
||
## Limits and Unrun Checks
|
||
|
||
1. **HTTPS git fetch in proxy-restricted environment**: Inside this execution environment, outbound HTTPS to `https://git.faumaray.com/Void/VoidLibrary.git` encountered `Proxy CONNECT aborted`; CMake configure and `vbs test` were therefore verified against a clean local detached checkout of the exact pinned commit `3e254055e081a104f08df68dde39711bc7813518` via `VBS_VOID_SOURCE_DIR`.
|
||
2. **Conan2 live installation**: `conan` is absent in `dev cpp-gcc`; automated testing verified explicit missing-prerequisite failure (`FullV1Tests.cpp`).
|
||
3. **Optional external VoidLibrary modules (`Void::Net`, `Void::Sqlite`)**: `Boost`, `OpenSSL`, and `SQLite3` are not installed in `dev cpp-gcc`, so VBS continues using its pure-C++/POSIX loopback HTTP adapters (`HttpServer`, `RegistryClient`) and journaled atomic CAS store (`StateStore`), while retaining optional `Void::Sqlite` CMake detection.
|
||
4. **CI workflow & Web UI browser**: [.github/workflows/ci.yml](../../.github/workflows/ci.yml) has not been executed on remote GitHub Actions runners, and `registry/web/` was verified via HTTP/header/static-serving/API/XSS/CSRF tests without a headless browser runner.
|
||
5. **Post-v1 Expansion Roadmap ([21-expansion-roadmap.md](../roadmap/21-expansion-roadmap.md) & [20-future-translation-platforms.md](../roadmap/20-future-translation-platforms.md))**: Track B (C driver, Ninja custom-command translation, foreign C++20 module fileSets, Conan2), Track C (Windows/MSVC, macOS/Apple Clang, dual-profile cross-compilation), Track D (shared HTTP CAS, parallel hashing, SBOM/signatures), and Track E2–E4 (`workspace.cpp`, local daemon, `Void::Net`/`Void::Sqlite` alignment) remain planned scope.
|