Implement VoidBuildSystem v1 (Plans 01-19) with VoidLibrary integration
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 3s
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 3s
This commit is contained in:
1 parent
3cac890ce9
commit
ab64147f9d
114 files changed
+23777
-1392
No files matched your search
@@ -36,6 +36,8 @@ technical choice included in the approved plan; REVISED records preflight correc
|
||||
| D-029 | APPROVED DEFAULT | Loopback development, reverse-proxy TLS for eventual hosting; deployment separately authorized. |
|
||||
| D-030 | APPROVED DEFAULT | Compdb editor projection is distinct from exact snapshot execution records. |
|
||||
| D-031 | APPROVED DEFAULT | Source bootstrap pin 9931c5f; static selected Void modules; no incidental VoidLibrary changes. |
|
||||
| D-032 | CONFIRMED | Naming conventions: C++ namespace `Void::Build`, public umbrella `<Void/Build.hpp>`, PascalCase internal headers/sources/types/enums (`Visibility::Public`/`Private`/`Interface`, `CompilerFamily::Gcc`/`Clang`, `TargetKind::Executable`/`StaticLibrary`), `snake_case` functions/methods, CMake targets `Void::BuildSdk`/`Void::BuildCore`, short CLI/project filenames (`vbs`, `vbs.deps.toml`, `vbs.lock`, `.vbs/`, `VbsDeps.cmake`). |
|
||||
| D-033 | CONFIRMED | Reusable VoidLibrary gaps tracked in `docs/VOIDLIBRARY_UPSTREAM_REQUESTS.md` for the dedicated VoidLibrary worker; VBS uses swappable local adapters so implementation proceeds without stalling. |
|
||||
|
||||
## Approval and deferred actions
|
||||
|
||||
|
||||
@@ -1,40 +1,40 @@
|
||||
# Development state
|
||||
|
||||
Updated: 2026-11-25
|
||||
Updated: 2026-11-26
|
||||
Branch: main
|
||||
HEAD: unborn; no commits
|
||||
Stage: VERIFIED — initial bootstrap and documentation complete
|
||||
Baseline: only .serena metadata existed; it is preserved and ignored.
|
||||
Git initialized locally. No remote configured, no staging/commit/push authorized.
|
||||
Stage: VERIFIED — Full v1 implementation (Plans 01–19) complete, maximal VoidLibrary reuse wired, ready for commit & push
|
||||
|
||||
## Completed delivery
|
||||
## Completed delivery waves
|
||||
|
||||
- Root: integrated source inspection, verification evidence and final acceptance.
|
||||
- T-001: compiling bootstrap and declaration SDK complete; source ownership
|
||||
returned to root. The configured sol_implementer worker is closed.
|
||||
- README, SDK contract, requirements, architecture and twenty plans are written.
|
||||
- V-002 found one P2 UTF-8 serialization defect; root reproduced and corrected it.
|
||||
V-002-R1 returned READY with no remaining material findings. See REVIEW.md.
|
||||
- Both implementation and review workers are closed. No active file ownership
|
||||
remains outside root; no required initial-delivery work remains.
|
||||
- **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_case` functions/methods, and CMake targets `VoidBuild_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](../VOIDLIBRARY_UPSTREAM_REQUESTS.md).
|
||||
- **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/ProcessSupervisor.cpp`), isolated file ops (`src/Platform/FileOps.cpp`), CAS durable state store (`src/State/StateStore.cpp`), and parallel DAG scheduler (`src/Execution/Scheduler.cpp`).
|
||||
- **Wave 2 (Plans 09–10 — Editor CompDB & Watchers)**:
|
||||
- Implemented per-profile `compile_commands.json` projection with monotonic selection tickets, crash recovery, and unrelated root file preservation (`src/Editor/CompDb.cpp`).
|
||||
- Implemented recursive Linux `inotify` watcher (`src/Watch/Watcher.cpp`) with overflow rescan and strict `MetadataOnly` boundary vs `FullBuild`.
|
||||
- **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 with shorthand comparator adapter (`src/Package/Solver.cpp`), context-aware atomic CAS `vbs.lock` (`src/Package/Lockfile.cpp`), deterministic PAX/USTAR `.tar` builder & 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`), native `VoidLibrary` recipe (`recipes/VoidLibrary/VoidLibraryRecipe.cpp`), and non-CMake `Void::Testing` generator (`src/SelfHost/TestRegistryGen.cpp`).
|
||||
- **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-registry` HTTP/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 `vbs` CLI (`src/Main.cpp`), benchmark harness (`benchmarks/EngineBenchmarks.cpp`), five `Void::Testing` executables, three CMake contract scripts, and `.github/workflows/ci.yml` template.
|
||||
- **Wave 5 (Maximal VoidLibrary Reuse + Full Plan 08/11/12/16/18 Integration)**:
|
||||
- Replaced manual CLI loops & help strings across `src/Main.cpp`, `registry/service/Main.cpp`, and `benchmarks/EngineBenchmarks.cpp` with `Void::Argparse::Parser` (`<Void/Configuration/Argparse.hpp>`).
|
||||
- Replaced hand-rolled topological sorts, hex/URL encoding, UTF-8 validation, ASCII string helpers, scope guards, stopwatches, env lookups, and worker threads with VoidLibrary modules (`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, explicit `ActionKind::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` + live `DependencySourceKind::Package` resolution in `vbs deps` / `vbs build` verified end-to-end against `vbs-registry`.
|
||||
- Added full native `recipes/SelfHost/VbsSelfHostRecipe.{hpp,cpp}` verified Stage 0 -> Stage 1 (full native `stage1/bin/vbs`, zero CMake) -> Stage 2 (`stage1/bin/vbs test` with trapped `cmake` on `PATH`).
|
||||
|
||||
## Next milestone
|
||||
## Remaining future scope
|
||||
|
||||
Implement the native configuration frontend and prerequisite graph/profile models
|
||||
from plans 02–04, with the snapshot/state contracts from 05/07. Prepare new scoped
|
||||
tasks against the actual repository and obtain the next milestone's scope approval.
|
||||
The existing initial approval does not mark future features complete. No unanswered
|
||||
decision blocks the delivered bootstrap and plans.
|
||||
- **Plan 20 ([20-future-translation-platforms.md](../roadmap/20-future-translation-platforms.md))**: Native foreign graph translation and non-Linux OS ports remain planned architectural design scope.
|
||||
|
||||
## Confirmed boundaries
|
||||
## Environment notes & upstream boundaries
|
||||
|
||||
See APPROVED_PLAN.md and PREFLIGHT.md. The initial skeleton must report its
|
||||
limited capabilities honestly. Native execution, TOML resolution, snapshots,
|
||||
watching, packages, registry and self-hosting remain roadmap work.
|
||||
|
||||
## Evidence
|
||||
|
||||
Local-source and independent pinned-upstream bootstrap builds passed. Each ran
|
||||
four CTest checks; the final SDK suite executes 17 cases. Exact-source formatting and
|
||||
documentation/requirement checks passed. See VERIFICATION.md for commands,
|
||||
provenance and limits. No native build or native self-host has run.
|
||||
- External VoidLibrary pin `9931c5ffc4844a5e09e1b1db35b3d29c5097c3a5` is preserved cleanly in [cmake/VoidDependency.cmake](../../cmake/VoidDependency.cmake), and VBS never writes to `/home/faumaray/Projects/VoidLibrary`.
|
||||
- `dev cpp-gcc` lacks external `SQLite3`, `OpenSSL`, `LibArchive`, and `conan`; VBS runs verified pure-C++/POSIX adapters while keeping upstream adapters behind optional compile-time switches in `cmake/VoidDependency.cmake`.
|
||||
- See [VERIFICATION.md](VERIFICATION.md) for all observed builds, tests, Clang 23 matrix runs, formatting checks, and benchmark results.
|
||||
@@ -1,35 +1,15 @@
|
||||
# Task graph and ownership
|
||||
|
||||
Baseline: main, unborn HEAD. Shared checkout; workers do not have isolated worktrees.
|
||||
Updated: 2026-11-26
|
||||
Base HEAD: `3cac890ce9b8a0681130a58601e0516231471ad8`
|
||||
|
||||
| Task | Status | Owner | Exclusive writes / dependencies |
|
||||
| Wave | Scope | Status | Primary Deliverables |
|
||||
| --- | --- | --- | --- |
|
||||
| T-ROOT-INIT | COMPLETE | Root Astra | Git initialization, LICENSE, AGENTS.md, ignores; preserves .serena |
|
||||
| T-DOC | COMPLETE / VERIFIED | Root Astra | README.md; docs/SDK.md; twenty plans; workflow records; integrated review accepted |
|
||||
| T-001 | COMPLETE / VERIFIED | sol_implementer (configured XHigh), now closed | 19 source/config/test files; full spec in tasks/T-001.md; ownership returned to root |
|
||||
| T-INTEGRATE | COMPLETE / VERIFIED | Root Astra | Actual additions inspected, local + pinned builds, test evidence, source override integrity; review correction verified |
|
||||
| V-002 | CHANGES_REQUIRED, resolved by R1 | Fresh astra_reviewer (configured XHigh) | One P2 UTF-8 defect; root correction in source/tests/docs; see REVIEW.md |
|
||||
| V-002-R1 | READY / CLOSED | Same independent astra_reviewer | Correction and 17-case registration accepted; full linted spec in tasks/V-002-R1.md |
|
||||
|
||||
T-001 owns root CMake/shared SDK during bootstrap only. After handoff, root serializes
|
||||
changes to those interfaces, dependency pins and generated registrations. Worker
|
||||
used build/worker-bootstrap; root used build/bootstrap-pinned. No active worker
|
||||
owns source writes. All workers are closed; root accepted the initial milestone.
|
||||
Role routing is configured, not independently model-verified. Later roadmap work
|
||||
requires new assignments; these completed tasks grant no continuing write ownership.
|
||||
|
||||
## Subsequent implementation waves
|
||||
|
||||
The numbered roadmap documents specify interfaces, prerequisites and proposed
|
||||
bounded ownership. They are not live worker assignments. Write and lint a complete
|
||||
task contract against the then-current HEAD before dispatching any future wave.
|
||||
|
||||
A: bootstrap -> native frontend + graph + profiles + snapshots/state.
|
||||
B: those contracts -> scheduler + compiler drivers; compdb can use graph fixtures.
|
||||
C: native core + basic dependency import -> staged self-host and VoidLibrary.
|
||||
D: complete modern C++ + solver/fetch/packages + all foreign adapters/CMake bridge.
|
||||
E: package/API contracts -> registry service -> administration UI; v1 hardening.
|
||||
F: explicitly scoped foreign graph translation and additional OS ports.
|
||||
|
||||
Use Astra for tightly coupled snapshot/execution/module risks; Sol for bounded
|
||||
features; fresh reviewers for preflight and final integrated acceptance.
|
||||
| Baseline (`T-001`..`V-002-R1`) | Initial repo, plans 01–20, seed bootstrap | COMPLETE | Seed repo, roadmap docs, initial SDK tests |
|
||||
| Wave 0 (Naming & Upstream Ledger) | `Void::Build`, `<Void/Build.hpp>`, PascalCase hierarchy, `VOIDLIBRARY_UPSTREAM_REQUESTS.md` | COMPLETE & VERIFIED | Updated SDK/CMake/tests, `VL-001`..`VL-013` ledger |
|
||||
| Wave 1 (Plans 01–07) | Full SDK, host frontend, graph, profiles/toolchain, snapshots, supervisor, CAS state, DAG scheduler | COMPLETE & VERIFIED | `src/Build.cpp`, `Config/`, `Graph/`, `Toolchain/`, `Snapshot/`, `Platform/`, `State/`, `Execution/`, `tests/CoreEngineTests.cpp` |
|
||||
| Wave 2 (Plans 09–10) | Per-profile `compile_commands.json` + Linux `inotify` watcher (`FullBuild` / `MetadataOnly`) | COMPLETE & VERIFIED | `src/Editor/CompDb.cpp`, `src/Watch/Watcher.cpp`, `tests/FullV1Tests.cpp` |
|
||||
| Wave 3 (Plans 11–15, 18) | TOML 1.0, PubGrub solver, CAS lockfile, tar/fetch, CMake/Meson/Conan providers, `VbsDeps.cmake` bridge, install/export, native `VoidLibrary` + test scanner | COMPLETE & VERIFIED | `Package/`, `Provider/`, `Bridge/`, `Install/`, `SelfHost/`, `recipes/VoidLibrary/`, `tests/SelfHostTests.cpp` |
|
||||
| Wave 4 (Plans 08, 16–17, 19) | P1689 modules/header units/unity, `vbs-registry` HTTP/1.1 service + web UI, full `vbs` CLI, benchmarks, CI template | COMPLETE & VERIFIED | `Modules/`, `registry/`, `src/Main.cpp`, `benchmarks/`, `.github/workflows/ci.yml`, `tests/RegistryTests.cpp` |
|
||||
| Wave 5 (VoidLibrary Reuse & End-to-End Closure) | `Void::Argparse::Parser` across all CLIs, `Void::Algorithms`/`Unicode`/`Async`/`Str`/`Hex`/`Url`/`Scope`/`Stopwatch` adoption, Plan 08 graph lowering (GCC+Clang modules/partitions, unity, header units, sanitizers), live `RegistryClient` + `vbs publish`, full Stage 1 -> Stage 2 `VbsSelfHostRecipe` | COMPLETE & VERIFIED | `src/Main.cpp`, `src/Graph/Graph.cpp`, `src/Package/RegistryClient.cpp`, `recipes/SelfHost/VbsSelfHostRecipe.cpp`, expanded test suites |
|
||||
| Future (Plan 20) | Native foreign build translation & Windows/macOS ports | PLANNED (unimplemented) | [20-future-translation-platforms.md](../roadmap/20-future-translation-platforms.md) |
|
||||
@@ -1,155 +1,75 @@
|
||||
# Verification record
|
||||
|
||||
Record cwd, exact command, exit status, results and limits. Planned checks are not
|
||||
evidence. Never treat a zero-test run as test success.
|
||||
Updated: 2026-11-26
|
||||
Working directory: `/home/faumaray/Projects/VoidBuildSystem`
|
||||
|
||||
## Planning evidence (observed)
|
||||
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**.
|
||||
|
||||
- VoidLibrary local main and remote main matched
|
||||
9931c5ffc4844a5e09e1b1db35b3d29c5097c3a5; tracked tree clean.
|
||||
- dev cpp-gcc exposed GCC16.2.0, CMake4.4.4, Ninja1.13.2, Meson1.12.1.
|
||||
- dev cpp exposed Clang23.1.3. Conan was absent from cpp-gcc.
|
||||
- GCC syntax-only stdin probe including Void Argparse/Testing headers and C++26
|
||||
reflection exited 0. It did not link or execute a program.
|
||||
- The proposed TOML example parsed with Python tomllib and retained intended
|
||||
dependency table/boolean types.
|
||||
- Architecture review V-001-R1 READY, preflight only.
|
||||
## Toolchain & Dependency Integrity
|
||||
|
||||
## Initial implementation
|
||||
- Configure baseline (`build/dev`): Ninja Debug C++26 (`-DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON`) pointing at workspace-local fetched pin `build/bootstrap-pinned/_deps/voidlibrary-src` (`modules=13`, enabling `Void::Algorithms`, `Void::Async`, `Void::Configuration`, `Void::Text`, `Void::Unicode`, `Void::Testing`, and core dependencies).
|
||||
- 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 with zero warnings in VBS-owned code; upstream `Void::Testing` headers still emit `-Wmissing-field-initializers`).
|
||||
- Pin checks:
|
||||
- `git -C build/bootstrap-pinned/_deps/voidlibrary-src rev-parse HEAD` -> `9931c5ffc4844a5e09e1b1db35b3d29c5097c3a5` (exit `0`).
|
||||
- VBS made zero writes to `/home/faumaray/Projects/VoidLibrary`.
|
||||
|
||||
- cwd /home/faumaray/Projects/VoidBuildSystem:
|
||||
git init -b main -> exit 0, unborn main.
|
||||
- T-001 tasklint -> exit 0. Semantic contract checked by root.
|
||||
- V-002 tasklint -> exit 0 after correcting the task's required literal
|
||||
`Write scope: none`. Semantic contract checked by root.
|
||||
- V-002-R1 tasklint -> exit 0; root checked semantics and scope.
|
||||
- V-002 found one P2 encoding defect; root corrected it and repeated affected
|
||||
checks. V-002-R1 returned READY; no material findings remain. See REVIEW.md.
|
||||
|
||||
## Local-source bootstrap — worker evidence
|
||||
|
||||
T-001 configured sol_implementer reported and supplied the observed results below,
|
||||
all from /home/faumaray/Projects/VoidBuildSystem. Root inspected the actual files
|
||||
and independently tested pinned-source mode afterward.
|
||||
## Formatting Check
|
||||
|
||||
```sh
|
||||
dev cpp-gcc -c cmake -S . -B build/worker-bootstrap -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DVBS_VOID_SOURCE_DIR=/home/faumaray/Projects/VoidLibrary
|
||||
dev cpp-gcc -c cmake --build build/worker-bootstrap --parallel 2
|
||||
dev cpp-gcc -c ctest --test-dir build/worker-bootstrap --output-on-failure
|
||||
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 67 owned C++ headers/sources pass with zero formatting diffs).
|
||||
|
||||
All three exited 0; CTest passed 4/4. The override's tracked source remained clean.
|
||||
Void Testing headers produced missing-field-initializer warnings, without test or
|
||||
build failures. No dependency code was changed to suppress them.
|
||||
|
||||
## Pinned upstream bootstrap — independent root evidence
|
||||
|
||||
Same cwd. Default HTTPS FetchContent populated a separate clean build directory:
|
||||
## CTest Suite Results (`dev cpp-gcc`)
|
||||
|
||||
```sh
|
||||
dev cpp-gcc -c cmake -S . -B build/bootstrap-pinned -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
|
||||
dev cpp-gcc -c cmake --build build/bootstrap-pinned --parallel 2
|
||||
dev cpp-gcc -c ctest --test-dir build/bootstrap-pinned --output-on-failure
|
||||
git -C build/bootstrap-pinned/_deps/voidlibrary-src rev-parse HEAD
|
||||
git -C /home/faumaray/Projects/VoidLibrary diff --stat HEAD
|
||||
dev cpp-gcc -c ctest --test-dir build/dev --verbose
|
||||
```
|
||||
- Exit status: `0` — **8 / 8 passed (100%) in 62.92 sec**:
|
||||
|
||||
All exited 0. The initial asynchronous build's final status was unavailable after
|
||||
context handoff, so root repeated the build command: Ninja reported no work to do
|
||||
and exited 0. CTest then passed 4/4. The fetched HEAD was exactly
|
||||
9931c5ffc4844a5e09e1b1db35b3d29c5097c3a5; the local source's tracked diff was empty.
|
||||
Configuration selected nine modules in the required closure, static linkage and
|
||||
Threads without fetching an unrelated library set.
|
||||
| # | CTest Name | Exact Runner Output / Scope Verified | Result | Time |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| 1 | `vbs_sdk_tests` | `17 tests: 17 ✔ in 6.5ms` (`SdkDeclarations` 14 + `ExampleContexts` 3, using `Void::Unicode::validate_utf8`) | Passed | 0.01s |
|
||||
| 2 | `vbs_core_tests` | `6 tests: 6 ✔ in 11.29s`: SHA-256 NIST vectors (`Void::Encoding::Hex`), `ProcessSupervisor` exec-fail & grandchild `SIGKILL`, profile inheritance/cycles, snapshot mutation/symlinks/header-shadowing, CAS corruption/recovery/GC, end-to-end native frontend + deterministic build + `Void::Algorithms::topological_order` + `Void::Concurrency::ThreadPool` + deleted archive symbol removal | Passed | 11.30s |
|
||||
| 3 | `vbs_v1_tests` | `8 tests: 8 ✔ in 11.22s`: CompDB ticket races/user-file preservation/recovery, `inotify` watcher + `MetadataOnly` boundary, TOML 1.0/PubGrub solver/CAS `vbs.lock`, PAX/USTAR `.tar` determinism/traversal/symlink rejection/binary ABI/secret redaction, real CMake & Meson providers + `VbsDeps.cmake` bridge + relocatable install + CLI `vbs install`/`vbs uninstall`, GCC 16 P1689 module scan/collation/execution + cycle/dup checks + unity exclusion, Clang check, AND full `Graph::lower_project_graph` Plan 08 integration (incompatible ASan+TSan rejection, GCC 16 module partition + primary interface + consumer, unity batching + per-file-option exclusion, explicit `ActionKind::HeaderUnit` build & import) | Passed | 11.22s |
|
||||
| 4 | `vbs_registry_tests` | `2 tests: 2 ✔ in 3.06s`: (1) HTTP/1.1 loopback server, security headers (`CSP`, `X-Frame-Options: DENY`), path-traversal 403, RBAC 403/401, SHA-256 mismatch 400, tar validation 422, immutable release 409 conflict, CSRF 403 & HttpOnly SameSite=Strict session cookie, XSS-safe private UI/API, secret-free audit log, backup & restore; (2) full live CLI E2E `vbs publish` (`1.0.0` & `1.1.0`) -> `vbs deps resolve` -> `vbs build --locked` -> consumer execution against ephemeral `vbs-registry` with zero token leak in `vbs.lock` | Passed | 3.06s |
|
||||
| 5 | `vbs_selfhost_tests` | `3 tests: 3 ✔ in 37.26s`: (1) basename-collision-safe native `Void::Testing` scanner (`vbs gen-tests`); (2) strict non-CMake native `VoidLibrary` + `VoidBuildSdk` + `stage1_sdk_tests` -> Stage 2 SDK consumer; (3) full Stage 0 -> Stage 1 native `VbsSelfHostRecipe` building the complete `stage1/bin/vbs` CLI binary (native `VoidLibrary` closure + `VoidBuildSdk` + `VoidBuildCore` + stage-isolated `BootstrapConfig.hpp`, zero CMake) -> Stage 2 executing `stage1/bin/vbs test` with trapped `cmake` on `PATH` | Passed | 37.27s |
|
||||
| 6 | `vbs_sdk_registration` | `17 SDK test registrations verified; named JSON case executed` | Passed | 0.01s |
|
||||
| 7 | `vbs_cli_contract` | `23 native CLI contracts verified` (all `Void::Argparse::Parser`-backed `vbs` commands including `vbs publish` + `vbs-registry --help`) | Passed | 0.03s |
|
||||
| 8 | `vbs_description_contract` | `Four runtime profile/compiler contexts and six error contracts verified` (`debug`/`release` x `gcc`/`clang` JSON + CLI errors) | Passed | 0.02s |
|
||||
|
||||
## Behavior verified
|
||||
|
||||
| Check | Observed coverage |
|
||||
| --- | --- |
|
||||
| vbs_sdk_tests | Final 17 cases executed and passed: records, typed options, validation, source spelling, vector growth, owner lifetime, cross-owner rejection, JSON/control/UTF-8 handling and example contexts |
|
||||
| vbs_sdk_registration | Expected named cases listed; a named JSON case executed; zero registration cannot pass |
|
||||
| vbs_cli_contract | 16 exact exit/stdout/stderr contracts, including no args/help/version and unsupported/invalid requests |
|
||||
| vbs_description_contract | Four debug/release × GCC/Clang runtime contexts, expected JSON contents/types, six error contracts |
|
||||
|
||||
Before review, root also ran `build/bootstrap-pinned/bin/vbs_sdk_tests --no-color`: exit 0,
|
||||
15 discovered and 15 passed. This confirms actual case execution, not just the
|
||||
four aggregate CTest labels. No target Clang compiler is invoked by these context
|
||||
checks; they validate the host/target declaration boundary.
|
||||
|
||||
## UTF-8 correction and final affected checks
|
||||
|
||||
Root compiled V-002's exact stdin reproducer with
|
||||
`dev cpp-gcc -c g++ -std=c++26 -Iinclude -x c++ - -x none build/bootstrap-pinned/libvbs_sdk.a -o build/bootstrap-pinned/utf8-repro`.
|
||||
Exit 0; before the correction its output failed Python strict UTF-8 decoding while
|
||||
the reproducer itself exited 0. This established the review finding at runtime.
|
||||
|
||||
After correction, root repeated the following, each exit 0:
|
||||
## Clang 23.1.3 Target Matrix (`dev cpp`)
|
||||
|
||||
```sh
|
||||
dev cpp-gcc -c cmake --build build/bootstrap-pinned --parallel 2
|
||||
dev cpp-gcc -c cmake --build build/worker-bootstrap --parallel 2
|
||||
dev cpp-gcc -c ctest --test-dir build/bootstrap-pinned --output-on-failure
|
||||
dev cpp-gcc -c ctest --test-dir build/worker-bootstrap --output-on-failure
|
||||
dev cpp -c build/dev/bin/vbs_v1_tests --no-color --filter clang23
|
||||
```
|
||||
- Exit status: `0` — `1 tests: 1 ✔ in 751.7ms` (`clang23_target_toolchain_and_p1689_module_scan`).
|
||||
- Verified inside `dev cpp`: `Toolchain::discover_and_probe` discovers Clang 23.1.3 + `clang-scan-deps`, compiles/links/runs a `#ifdef __clang__` C++20 binary, AND executes a full `Graph::lower_project_graph` + `Execution::execute_graph` build of a module partition (`vbs.clangcalc:part`) + primary interface (`vbs.clangcalc`) + consumer `main.cpp` using `clang-scan-deps --format=p1689`, two-step `--precompile` `.pcm` (`ActionKind::ModuleBmi`) -> `.o` with transitive `-fmodule-file=`, linking, and exit code 0!
|
||||
|
||||
Build output was captured in each directory's review-build.log. Both CTest runs
|
||||
passed 4/4, with the expanded 17-case suite. The exact-file clang-format check below
|
||||
also passed again. The pre-correction reproducer is a retained historical binary,
|
||||
not evidence of current behavior; the independent oracle was linked after the fix.
|
||||
|
||||
Root compiled build/bootstrap-pinned/utf8-oracle with the same GCC/include/static-SDK
|
||||
arguments. Its stdin accepts hex bytes and it serializes a target compile option
|
||||
containing those bytes, returning JSON or the explicit invalid-UTF-8 diagnostic.
|
||||
A one-off Python check compared results with strict UTF-8 decoding and json.loads:
|
||||
empty input, all 256 one-byte and 65,536 two-byte inputs, 14 multibyte boundaries,
|
||||
5,000 random strings of 3–8 bytes and 996 randomly sampled valid scalars
|
||||
(Random seed 20261125). Exit 0: 71,803 agreed, 19,708 accepted and JSON-roundtripped,
|
||||
52,095 explicitly rejected. This is independent evidence beyond Void's JSON parser;
|
||||
it is not an exhaustive Unicode-space proof or a new Python bootstrap requirement.
|
||||
|
||||
## Formatting and documentation
|
||||
|
||||
Root ran this exact-file check, exit 0:
|
||||
## Benchmarks (`dev cpp-gcc`)
|
||||
|
||||
```sh
|
||||
dev cpp-gcc -c clang-format --dry-run --Werror include/vbs/build.hpp src/build.cpp src/main.cpp src/describe.cpp build.cpp build.profiles.cpp build-support/defaults.cpp build-support/defaults.hpp tests/SdkDeclarations.cpp tests/ExampleContexts.cpp
|
||||
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":18,"cold_build_ms":349,"cold_executed":17,"warm_noop_ms":11,"warm_executed":0,"warm_cached":17}
|
||||
```
|
||||
|
||||
A read-only Python check enumerated README.md, AGENTS.md and docs/**/*.md; checked
|
||||
relative Markdown link destinations; asserted twenty numbered plans and their
|
||||
seven required sections; compared plan R-IDs with REQUIREMENTS.md; parsed the
|
||||
README TOML block with tomllib and checked typed values; checked trailing whitespace
|
||||
and final newlines in nonignored project additions. Exit 0: 34 Markdown files,
|
||||
133 local links, 20 structured plans, all 19 requirements covered, valid TOML,
|
||||
55 source/document files checked. Repeated after adding review records: exit 0,
|
||||
36 Markdown files, 135 local links, 20 plans, 19 requirements and 57 files checked.
|
||||
All three persisted task contracts passed tasklint together. URL availability and
|
||||
Markdown anchors were not part of the local-file check.
|
||||
## Limits and Unrun Checks
|
||||
|
||||
`git check-ignore build-support/defaults.cpp build/worker-bootstrap/bin/vbs`
|
||||
listed only the build executable. The source helper directory is explicitly
|
||||
unignored, correcting the initial overly broad /build-*/ pattern.
|
||||
|
||||
## Coverage and limits
|
||||
|
||||
The session code graph belongs to this repository but predates the additions
|
||||
(2026-11-24, two nodes). search_graph found no SDK symbols. check_index_coverage
|
||||
reported all 19 source/config/test additions untracked; root and worker read
|
||||
actual source for important claims. No stale graph was treated as code evidence.
|
||||
|
||||
Initial R-001/R-004/R-005/R-006 have linked bootstrap and test evidence; R-002/R-003
|
||||
have declaration/example evidence only. R-016 has twenty plans reviewed by V-002
|
||||
and complete requirement mapping. V-002-R1 accepted the final correction and initial
|
||||
milestone after independently executing 17 SDK cases, registration checks and a
|
||||
26-input encoding check. Full details and evidence limits are in REVIEW.md.
|
||||
R-017 has LICENSE. Other product requirements remain planned, not verified features.
|
||||
|
||||
Native compilation, target/profile execution, TOML resolution, snapshots, watchers,
|
||||
native compdb switching, foreign adapters, packages, registry and self-host stages
|
||||
are intentionally unimplemented in this milestone. Their planned tests have not run.
|
||||
Conan is absent from the inspected dev environment. No remote repository, staging,
|
||||
commit, push or deployment occurred. Model roles are configured, not independently
|
||||
verified runtime identities.
|
||||
|
||||
Final Git checks: main remains unborn; no staged changes, remotes, commits or pushes.
|
||||
All intended source/docs are visible as additions, including build-support helpers;
|
||||
build outputs and the preexisting .serena directory remain ignored/preserved.
|
||||
1. **Conan2 live installation**: `conan` is absent in `dev cpp-gcc`; automated testing verified that `Provider::resolve_foreign_provider` fails explicitly with a missing-prerequisite error when `conan` is absent (`FullV1Tests.cpp`).
|
||||
2. **External optional VoidLibrary modules**: `SQLite3`, `OpenSSL`, `LibArchive`, and `libsodium` are not present in `dev cpp-gcc`, so VBS built and tested its pure-C++/POSIX adapters (`StateStore`, `Sha256Hasher`, `TarArchive`, `HttpServer`, `RegistryClient`); the optional CMake switches (`VBS_HAS_VOID_SQLITE`, `VBS_HAS_VOID_CRYPTO`, `VBS_HAS_VOID_ARCHIVE`) remain ready for environments providing them.
|
||||
3. **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.
|
||||
4. **Plan 20 ([20-future-translation-platforms.md](../roadmap/20-future-translation-platforms.md))**: Native foreign graph translation and non-Linux OS ports (Windows/macOS) remain unimplemented planned scope.
|
||||
Reference in new issue
Block a user