Files
Build-System/docs/agent-workflow/VERIFICATION.md
T
faumaray f032c9f7fe
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 8s
VoidBuildSystem CI / sanitizers-gcc16 (push) Failing after 6s
VoidBuildSystem CI / fuzz-clang (push) Failing after 6s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 11s
VoidBuildSystem CI / wine-windows-gcc16 (push) Failing after 48s
feat(ide): package the VS Code extension as a VSIX
2026-12-05 13:39:57 +03:00

1836 lines
103 KiB
Markdown

# Verification record
Updated: 2026-12-03
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 owned C++ headers and 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 132.20 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.02s |
| 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.43s |
| 3 | `vbs_v1_tests` | 16 `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/2A** CMake & Meson translation (`USES_TERMINAL` / `console: true` fallback), **Wave 8 DX CLI**, **Track A1** pure `build.cpp` subproject `.native_builder()` with trapped `cmake`, **Track B1** pure C17+C++23 & mixed C/C++ CMake/Meson native translation + CompDB separation, **Track B2** hermetic `build.ninja` `CUSTOM_COMMAND` CMake/Meson native translation + `.util`/out-of-tree/`run_target` rejection, **Track B3** foreign CMake `CXX_MODULES` + cross-target `module_bmis`, AND **IDE Integration** (`build.cpp` CompDB `-fsyntax-only` check + `.clangd`/`.vscode`/`.zed`/`.idea` non-destructive generation + `vbs ide query`) | Passed | 34.05s |
| 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 | 3.99s |
| 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 | 82.58s |
| 6 | `vbs_sdk_registration` | 17 `VOID_TEST` registrations verified (`SdkDeclarations.*`, `ExampleContexts.*`); named JSON case executed | Passed | 0.01s |
| 7 | `vbs_cli_contract` | 37 native CLI & auto-generated `Void::Argparse::Parser` help/subcommand/error contracts verified (including `vbs ide` & `vbs ide generate|query`) | 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.30s` (`27 executed, 0 cached`), exporting 60 targets.
- Root `build.cpp` built cleanly in `41.92s` (`42 executed, 0 cached`, 13 targets, 55 actions).
- `vbs test` passed `vbs_sdk_tests` (`6 ms`), `vbs_self_smoke` (`2 ms`), and `vbs_core_tests` (`11167 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.12s`; exact bit-for-bit SHA-256 matches across distinct build directories:
- `vbs`: `7fa4b54eeaecd21ade1d2877b45a86f215082b78dc0746299ec659b85f6880e6` (Stage 2 == Stage 3)
- `libVoidBuildSdk.a`: `20d3070d70fc5f6efe68058560617d6f2e6b0ec96229b67a34e1c0ee5a4b796c` (Stage 2 == Stage 3)
- `libVoidBuildCore.a`: `bf3accc339a11ba9fe5d429e5e4d90fecfcaad54ee561b0f6a46aedd1464d19e` (Stage 2 == Stage 3)
### Native `vbs_v1_tests` 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 --jobs 8
```
- Exit status: `0` (`10.38s` build, `2 executed, 32 cached`):
- `vbs test: PASSED 'vbs_v1_tests'` (`32658 ms`)
## Clang 23.1.3 Target Matrix (`dev cpp`)
```sh
dev cpp -c build/dev/bin/vbs_v1_tests --no-color --filter "clang23|track_b3"
```
- Exit status: `0` — **2 / 2 passed in 2.37s** (`clang23_target_toolchain_and_p1689_module_scan` `836.6ms`, `track_b3_foreign_cmake_cxx20_modules_native_translation` `1535.3ms`).
- Verified inside `dev cpp`: Clang 23.1.3 + `clang-scan-deps` target probing (with `default_include_dirs` NixOS system include discovery), C++20 compilation, intra-target module partitions (`vbs.clangcalc`), and native translation of a foreign CMake C++20 `CXX_MODULES` library (`vbs.trackb3.math`) plus cross-build-system VBS consumer import using two-step `--precompile` `.pcm` -> `.o` with `-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":19,"cold_build_ms":334,"cold_executed":17,"warm_noop_ms":4,"warm_executed":0,"warm_cached":17}
```
## Track D1/D2 Verification in Docker (2026-12-03)
The host shell lacks `dev`/GCC 16, so the build and tests were run inside the existing
`voidlibrary-dev:latest` Docker image (GCC 16.0.1, CMake 4.2.3, Ninja 1.11.1). CMake fetched
the exact pinned VoidLibrary commit `3e254055e081a104f08df68dde39711bc7813518` inside the
container (network access works there).
```sh
docker run --rm --user "$(id -u):$(id -g)" -e HOME=/tmp -v "$PWD":/src -w /src \
voidlibrary-dev:latest bash -lc '
cmake -S . -B build/docker-pinned -G Ninja -DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON &&
cmake --build build/docker-pinned --parallel 4 &&
ctest --test-dir build/docker-pinned --output-on-failure'
```
- Configure: exit `0` (`VoidLibrary` cloned at pinned commit `3e25405`).
- Build: `170/170` targets linked (warnings only from dependency headers / aggregate
initialization).
- `ctest`: **8 / 8 passed (100%)** in 374.33 s on the final run:
`vbs_sdk_tests`, `vbs_core_tests` (20.19 s), `vbs_v1_tests` (42.65 s),
`vbs_registry_tests` (11.36 s, includes the remote-CAS round-trip and the D1 acceptance),
`vbs_selfhost_tests` (299.69 s), `vbs_sdk_registration`, `vbs_cli_contract`,
`vbs_description_contract`.
Two pre-existing Docker-toolchain failures were found and fixed during this run:
1. `recipes/SelfHost/VbsSelfHostRecipe.cpp` did not list the new `src/State/RemoteCache.cpp`,
so the native Stage 1 self-host link failed; adding it fixed
`strict_native_full_vbs_stage1_to_stage2_without_cmake`.
2. GCC 16's CMake emits `-lgcc_s_asneeded` (a real as-needed linker script for `libgcc_s`)
in codemodel link fragments. It is now accepted as a safe system link flag in
`src/Provider/Translator.cpp`, fixing
`track_b1_native_c_driver_and_mixed_c_cpp_cmake_meson_translation`.
### D1 acceptance (cross-build-directory 100% cache hit)
`RegistryTests.shared_remote_cache_cold_populates_then_clean_build_all_hits` runs a real
`vbs build` into `build_a` (populating the remote CAS through the live registry), then a
second `vbs build` into a clean `build_b`: the summary reports `0 executed` (all actions
restored from the shared cache), and the produced binary runs successfully.
### D2 5,000-file benchmark
```sh
docker run --rm --user "$(id -u):$(id -g)" -e HOME=/tmp -v "$PWD":/src -w /src \
voidlibrary-dev:latest bash -lc './build/docker-pinned/bin/vbs_benchmarks --files 5000 --jobs 8'
```
```json
{"fixture_files":5001,"compiler":"g++ 16.0.1","snapshot_ms":3997,"cold_build_ms":1270353,"cold_executed":5002,"warm_noop_ms":374,"warm_executed":0,"warm_cached":5002}
```
Warm no-op is **374 ms for 5,001 files** (all 5,002 actions cached, zero executed), meeting
the sub-second D2 acceptance gate.
## Track E2 Workspaces in Docker (2026-12-03)
`FullV1Tests.workspace_members_shared_build_and_member_selection` builds a 3-member
workspace (`packages/lib` shared library, `packages/app` executable, `packages/tests` test)
declared by a root `workspace.cpp`:
- `vbs test` builds and runs all members with one root `vbs.lock` and one shared
`build/.vbs` CAS; `packages/app` links `packages/lib` through
`workspace_dependency("lib").target("libcore")`; the app binary runs successfully.
- No member directory receives its own `vbs.lock`, and member builds do not overwrite the
project-root `compile_commands.json` alias.
- `vbs build --member app` builds only the selected member (plus its workspace dependency).
- `vbs build --changed-since HEAD` after a committed edit selects only the owning member.
Full suite after the change: **8 / 8 CTest suites passed** in 800.22 s (`vbs_v1_tests`
170.33 s, `vbs_registry_tests` 36.82 s, `vbs_selfhost_tests` 568.05 s).
## Track D3 SBOM Provenance in Docker (2026-12-03)
`src/Provenance/Sbom.cpp` emits deterministic SPDX 2.3 and CycloneDX 1.5 JSON from lockfile
packages plus `BuildGraph` target outputs, wired as
`vbs build|test --sbom FILE --sbom-format spdx|cyclonedx`. The document namespace/serial is
derived from the input content and the timestamp from the reproducibility epoch, so identical
inputs are byte-equal.
- `FullV1Tests.sbom_spdx_and_cyclonedx_are_deterministic_and_valid_json`: both formats parse as
strict JSON, contain the package/file entries, and repeated generation is byte-identical.
- The workspace CLI test runs `vbs build --member app --sbom app.cdx.json --sbom-format cyclonedx`
and verifies the emitted file contains CycloneDX.
- Full suite: **8 / 8 CTest suites passed** in 471.56 s.
Ed25519 package/binary signing primitives are now implemented in `Void::Build::Provenance::Signing`
(see the signing verification section below); package/binary signature enforcement remains planned.
## Track E3 Daemon Core & Track C1 Platform Split (2026-12-03, `dev cpp-gcc`)
Environment: GCC 16.2.0, CMake 4.5.0, Ninja 1.13.2. VoidLibrary was exported read-only from the
local checkout at the pinned commit `3e254055e081a104f08df68dde39711bc7813518` into
`/tmp/opencode/vl-pin` with `git archive` (the working checkout was mid-edit by another agent and
was never modified).
```sh
dev cpp-gcc -c cmake -S . -B build/bootstrap -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DVBS_VOID_SOURCE_DIR=/tmp/opencode/vl-pin
dev cpp-gcc -c cmake --build build/bootstrap --parallel 8
dev cpp-gcc -c ctest --test-dir build/bootstrap --output-on-failure
```
- Build: exit 0.
- CTest: **8 / 8 passed (100%) in 169.44 s** (`vbs_core_tests` 12.03 s, `vbs_v1_tests` 58.94 s,
`vbs_registry_tests` 9.46 s, `vbs_selfhost_tests` 88.86 s, `vbs_cli_contract` 0.06 s).
- `DaemonTests.lifecycle_ping_status_gc_shutdown_and_unknown_op` and
`DaemonTests.second_create_reports_already_running` pass inside `vbs_v1_tests`.
- Manual CLI smoke: `vbs daemon run` in a temporary project, then `vbs daemon status`, `gc`,
`recover`, and `stop` each exited 0 with `{"ok":true,...}` JSON responses; the socket is removed
on shutdown. The daemon core does not yet serve build requests.
- `src/Provider/Translator.cpp`: CMake 4.5 synthesizes `@cmake_cxx_std@synth_0` INTERFACE_LIBRARY
feature carriers. Their standard is already lowered from each consumer's compile groups, so
they are skipped instead of reported as untranslated dependency edges.
`FullV1Tests.track_b3_foreign_cmake_cxx20_modules_native_translation` passes in 1.68 s after the
fix; it failed deterministically before it.
- `clang-format --dry-run --Werror` passes on all new/changed C++ files.
## Track D3 Ed25519 Signing Primitives & Track E3 Daemon `describe` (2026-12-03, `dev cpp-gcc`)
Environment: GCC 16.2.0, CMake 4.5.0, Ninja 1.13.2, VoidLibrary pin
`3e254055e081a104f08df68dde39711bc7813518` exported read-only to `/tmp/opencode/vl-pin`. This
build has `VOID_CRYPTO_HAS_OPENSSL=0`, so `Void::Crypto::has_openssl_backend()` is false.
```sh
dev cpp-gcc -c cmake -S . -B build/bootstrap -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
dev cpp-gcc -c cmake --build build/bootstrap -j 8
build/bootstrap/bin/vbs_v1_tests --suite Signing --no-color
dev cpp-gcc -c build/bootstrap/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/bootstrap -R vbs_cli_contract --output-on-failure
```
- Build: exit 0; all targets including `bin/vbs` and `bin/vbs_v1_tests` compile and link.
- `Signing` suite: **4 / 4 passed** in 0.3 ms (canonical message, seed round-trip/tamper/rejections,
malformed hex/seed files, backend gating). The crypto round-trip case self-skips while
`signing_available() == false`.
- External signing harness (`/tmp/opencode/signing-verify/verify.cpp`, linked against
`libVoidBuild_Core.a`): **0 failures, 4 skipped, exit 0**. The canonical message is deterministic
and changes on a 1-byte archive-digest or version tamper;
`generate_signing_seed`/`public_key_from_seed`/`sign_package`/`verify_package` return
`ErrorKind::unsupported` with `Ed25519 package signing requires the OpenSSL backend of
Void::Crypto` instead of crashing; truncated/oversized signatures and public keys, missing seed
files, and directory seed paths are rejected as errors. Skipped (OpenSSL unavailable): fixed-seed
RFC 8032 round-trip, signature 1-byte tamper, wrong key, non-hex key/signature.
- `Daemon` suite under `dev cpp-gcc`: **6 / 6 passed** in 6.53 s, including
`describe_evaluates_project_graph` (2224.5 ms), `describe_empty_project_reports_zero_targets`
(2080.0 ms), `describe_bounds_target_names_for_large_projects` (2186.1 ms), and
`describe_rejects_workspace_root` (16.4 ms).
- The same `Daemon` suite run outside the dev shell: 3 / 6, because `g++` is absent from `PATH`
(`describe: host compiler 'g++' not found in PATH for compiling build.cpp`). Daemon tests must
run under `dev cpp-gcc`.
- `vbs_cli_contract`: **PASSED** (7.44 s) including the live `vbs daemon run` → `vbs daemon describe`
→ `vbs daemon stop` round-trip over the Unix socket. The describe client uses a 15 s timeout
because graph evaluation takes ~2 s; the daemon bounds evaluation at 10 s.
- Full default CTest after integration: **8 / 8 passed** in 211.36 s (`vbs_v1_tests` 87.35 s,
`vbs_selfhost_tests` 93.22 s, `vbs_cli_contract` 7.44 s).
- **OpenSSL-backed signing verification** (separate `build/openssl` configure with
`OPENSSL_ROOT_DIR` pointing at the Nix OpenSSL 3.5.9 dev/lib outputs): build exit 0, and
`build/openssl/bin/vbs_v1_tests --suite Signing --no-color` reports **4 / 4 passed** with the
real Ed25519 backend (seed round-trip, sign/verify, uppercase hex, digest/signature/wrong-key
rejection, malformed hex and seed files). The same suite on the default no-OpenSSL build is
**4 / 4 passed** via the capability-gated path, where the crypto round-trip self-skips and the
explicit unsupported-backend error is asserted.
- Bounds verified by `DaemonTests`: `target_names` capped at 128 entries (project with 140 targets)
and 200 bytes per name; `profile` rejects empty, non-string, and > 128-byte values; `compiler`
rejects non-string and unknown values; workspace roots are rejected.
## Track D3 Signed-Package Enforcement (2026-12-03, `dev cpp-gcc`)
Environment: GCC 16.2.0, CMake 4.5.0, Ninja 1.13.2, VoidLibrary pin
`3e254055e081a104f08df68dde39711bc7813518` exported read-only to `/tmp/opencode/vl-pin`. The
OpenSSL-backed runs use the separate `build/openssl` configure against Nix OpenSSL 3.5.9.
```sh
dev cpp-gcc -c cmake --build build/bootstrap --parallel 8
dev cpp-gcc -c ctest --test-dir build/bootstrap --output-on-failure
dev cpp-gcc -c build/openssl/bin/vbs_v1_tests --suite Signing --no-color
dev cpp-gcc -c build/openssl/bin/vbs_v1_tests --suite SignatureEnforcement --no-color
dev cpp-gcc -c build/openssl/bin/vbs_registry_tests --filter cli_publish_deps_resolve_and_locked_build_against_live_registry --no-color
```
- Default build: exit 0. Full CTest: **8 / 8 passed** in 192.70 s (`vbs_v1_tests` 70.37 s,
`vbs_selfhost_tests` 91.77 s, `vbs_registry_tests` 10.11 s, `vbs_cli_contract` 7.47 s).
- `SignatureEnforcement` (default, no OpenSSL): **3 / 3 passed** - lockfile signature fields
round-trip and are omitted when absent; empty/missing/untrusted-key policy decisions; the crypto
case self-skips. With OpenSSL: **3 / 3 passed** including `Verified` and `InvalidSignature`.
- `Signing` with OpenSSL: **4 / 4 passed** (Ed25519 round-trip, tamper/wrong-key rejection).
- Registry metadata: publish with valid `X-Package-Signature`/`X-Package-Public-Key` is served back
in the package detail JSON; 127-hex signature and signature-without-key both return HTTP 400.
- Signed end-to-end (OpenSSL `vbs` CLI, `RegistryTests.cli_publish_deps_resolve_and_locked_build_against_live_registry`):
**passed** - `vbs publish --signing-key` -> `vbs deps update` -> `vbs build --locked
--trusted-public-key <key>` succeeds; the same locked build with an unrelated trusted key fails
closed (and the unsigned locked package also fails closed with `not signed by a trusted key`).
- `clang-format --dry-run --Werror` passes on all changed/new C++ files.
## Track E3 Daemon Build-Serving (2026-12-03, `dev cpp-gcc`)
```sh
dev cpp-gcc -c cmake --build build/bootstrap --parallel 8
dev cpp-gcc -c build/bootstrap/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/bootstrap --output-on-failure
```
- Build: exit 0. Daemon suite: **7 / 7 passed** in 8.88 s, including
`build_executes_project_graph_and_reuses_cache` (cold request executes the compile+link graph and
produces `profiles/debug/out/bin/app`; the second request reports `executed=0` with cached
actions; a non-array `targets` value is rejected).
- Full CTest: **8 / 8 passed** in 190.28 s (`vbs_v1_tests` 68.93 s, `vbs_selfhost_tests` 91.47 s,
`vbs_cli_contract` 7.44 s including `vbs daemon build --help`).
- `clang-format --dry-run --Werror` passes after formatting `src/Daemon/Daemon.cpp`,
`src/Main.cpp`, and `tests/DaemonTests.cpp`.
## VoidLibrary #52 Follow-up: Built-in Ed25519 Capability Probe (2026-12-03)
Issue #52 was closed upstream with a portable built-in Ed25519 backend. VBS's
`Provenance::signing_available()` now probes a real Ed25519 sign operation instead of assuming
`has_openssl_backend()`.
- Against the pinned library (`3e25405`, no OpenSSL): `Signing` 4/4 (capability-gated path) and
full CTest **8 / 8 passed** in 189.12 s.
- Against upstream `main` exported read-only to `/tmp/opencode/vl-main` (commit `0002e74`) with
OpenSSL **not found** (`OPENSSL_CRYPTO_LIBRARY-NOTFOUND`): `vbs_v1_tests --suite Signing` is
**4 / 4 passed** including the real crypto round-trip (151.8 ms), and
`--suite SignatureEnforcement` is **3 / 3 passed** (crypto case 65.9 ms). The built-in backend is
therefore used automatically when OpenSSL is absent.
- The VoidLibrary pin was **not** changed: bumping it to a release containing #52 is a separate
dependency decision.
## VoidLibrary Pin Bump to `0002e74` (2026-12-03, `dev cpp-gcc`)
The pin was moved from `3e254055` to upstream `main` commit
`0002e74a7da94a756f55a4a5574d20b77736c185` (contains the #52 built-in Ed25519 backend). The fresh
configure below used **no** `VBS_VOID_SOURCE_DIR` override, so CMake fetched the commit from the
remote.
```sh
dev cpp-gcc -c cmake -S . -B build/pinned -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Signing --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Fetched checkout: `git -C build/pinned/_deps/voidlibrary-src rev-parse HEAD` =
`0002e74a7da94a756f55a4a5574d20b77736c185`; `OPENSSL_CRYPTO_LIBRARY-NOTFOUND` (no OpenSSL).
- Build: exit 0.
- `Signing`: **4 / 4 passed** with the real crypto round-trip (153.3 ms) on the built-in backend;
`SignatureEnforcement`: **3 / 3 passed** (crypto case 67.8 ms).
- Full CTest against the new pin: **8 / 8 passed** in 198.26 s (`vbs_v1_tests` 74.64 s,
`vbs_selfhost_tests` 92.98 s, `vbs_registry_tests` 10.99 s, `vbs_cli_contract` 7.61 s).
- `clang-format --dry-run --Werror` passes on `build.cpp` and `tests/ExampleContexts.cpp`.
## Track E3 Daemon Dependency Materialization (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **8 / 8 passed** in 13.11 s, including
`build_materializes_path_dependency`: the daemon loads the project's `build.cpp`, materializes the
declared path dependency through the extracted `Package::resolve_and_materialize_dependencies`,
imports its native provider target, lowers the graph with the imported interface, executes the
compile+link, and reports `dependencies >= 1` with the output binary present.
- Full CTest: **8 / 8 passed** in 197.95 s (`vbs_v1_tests` 74.23 s, `vbs_selfhost_tests` 93.24 s,
`vbs_registry_tests` 10.70 s, `vbs_cli_contract` 7.51 s).
- `clang-format --dry-run --Werror` passes on `src/Daemon/Daemon.cpp`, `src/Main.cpp`,
`src/Package/Resolver.cpp`, `include/Void/Build/Package/Resolver.hpp`, and
`tests/DaemonTests.cpp`.
## Track D3 Trusted-Key Distribution (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite SignatureEnforcement --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. `SignatureEnforcement`: **5 / 5 passed** in 90 ms, including
`trusted_key_sources_are_loaded_and_deduplicated` (explicit file with comments/blank lines and a
duplicate, implicit `vbs.keys`, and a comma-separated environment value deduplicate to
`[a, b, c, d]`; a missing file and a malformed `invalid.keys:2` entry are explicit errors) and
`normalize_public_key_validates_and_lowercases`.
- Daemon suite: **8 / 8 passed** (13.21 s).
- Full CTest: **8 / 8 passed** in 209.27 s.
- `clang-format --dry-run --Werror` passes on all changed/new C++ files.
## Track D3 Binary-Variant Signing (GCC 16.2, pin `0002e74`, built-in Ed25519)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite SignatureEnforcement --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. `SignatureEnforcement`: **7 / 7 passed** in 158 ms, including
`binary_variant_signature_policy_and_selection` (no trusted keys selects; a trusted key rejects
an unsigned variant; an unrelated key reports `untrusted_key`; a signed variant with its trusted
key is selected; a tampered digest reports `invalid_signature`) and
`canonical_binary_message_is_exact` (`vbs-binary-v1\n<variant>\nsha256:<digest>\n`).
- Full CTest: **8 / 8 passed** in 195.08 s.
- `clang-format --dry-run --Werror` passes on all changed C++ files.
## Track E3 Daemon-Backed Editor Metadata (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **9 / 9 passed** in 15.66 s, including
`ide_query_serves_workspace_targets_and_compdb`: the daemon lowers the graph, publishes and
selects the profile compilation database, and returns `ok`/`op=ide_query` plus the IDE query JSON
(`schema_version=1`, `profile=debug`, target `app`, and an existing `compdb` path).
- Full CTest: **8 / 8 passed** in 207.44 s; `vbs_cli_contract` re-run separately after adding the
`vbs daemon ide query --help` contract: **passed** (7.45 s).
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Track D3 Binary-Variant Distribution (GCC 16.2, pin `0002e74`, built-in Ed25519)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_registry_tests --filter binary_variant_distribution_downloads_and_verifies --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. `RegistryTests.binary_variant_distribution_downloads_and_verifies`: **passed**
(529 ms) - a signed binary variant is selected with a trusted key, downloaded from the live
registry package endpoint, written to `<cache>/binaries/<sha256>` with byte-for-byte equality,
reused from cache after the registry stops, and rejected when the expected digest is tampered.
- Full CTest: **8 / 8 passed** in 200.71 s (`vbs_registry_tests` 11.39 s).
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Track C1 Watcher Backend Split (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Moved `src/Watch/Watcher.cpp` to `src/Watch/Linux/Watcher.cpp` with an explicit non-Linux
compile-time boundary; CMake, `build.cpp`, and the self-host recipe source lists were updated.
- Build: exit 0. Full CTest: **8 / 8 passed** in 213.42 s.
- After the formatting pass, `vbs_v1_tests --filter watcher_inotify` still **passed** (4.43 s),
and `clang-format --dry-run --Werror` is clean on the moved file.
## Track E3 Daemon Compdb Export (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **10 / 10 passed** in 17.46 s, including
`compdb_export_publishes_compilation_database`: the daemon lowers the graph, publishes the
profile compilation database, and returns `ok`/`op=compdb`/`profile=debug` with an existing
`compdb` path and `entries >= 1`.
- Full CTest: **8 / 8 passed** in 201.96 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Track E3 Daemon IDE Generate (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **11 / 11 passed** in 19.32 s, including
`ide_generate_writes_editor_configs`: an invalid editor preset returns `ok=false`, and
`{"op":"ide_generate","editor":"clangd","force":true}` returns
`ok`/`op=ide_generate`/`editor=clangd` with a non-empty `written` list and an existing
`project_root/.clangd`.
- Full CTest: **8 / 8 passed** in 222.22 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Track E3 Editor-Extension Watch Protocol (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **12 / 12 passed** in 19.76 s, including
`watch_poll_reports_changed_paths`: a file created after daemon start is reported in
`watch_poll.changed` within bounded polling attempts, with `sequence`/`watch_events` counters.
- Full CTest: **8 / 8 passed** in 223.21 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Track E3 Editor Long-Poll Watch (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **13 / 13 passed** in 19.77 s, including
`watch_wait_long_polls_until_change_and_times_out`: a quiet `watch_wait` with `timeout_ms=100`
returns `timed_out=true` and no changes, while a 3000 ms wait is woken by a writer thread creating
`probe.txt` and returns it in `changed` with `timed_out=false` (218 ms total).
- Full CTest: **8 / 8 passed** in 202.84 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Registry Binary-Variant Endpoints (GCC 16.2, pin `0002e74`, built-in Ed25519)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_registry_tests --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Registry suite: **6 / 6 passed** in 11.75 s, including
`registry_binary_variant_publish_download_and_materialize`: unauthenticated publish -> 401,
127-hex signature header -> 400, signed artifact publish -> 201 and listed in package detail,
download returns the exact bytes, a different digest for the same variant -> 409, and the
registry-served artifact is materialized through the signed `materialize_binary_variant` path.
- Full CTest: **8 / 8 passed** in 223.58 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## RegistryClient Binary-Variant API & `vbs publish-binary` (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_registry_tests --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Registry suite: **6 / 6 passed** in 11.96 s; the binary-variant test now also
publishes a signed variant through `Package::publish_binary_variant` and lists it back with
`Package::fetch_binary_variants` (matching SHA-256, signature and public key present).
- `vbs publish-binary --help` and the missing-argument error are covered by `vbs_cli_contract`.
- Full CTest: **8 / 8 passed** in 206.08 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## `vbs binaries list|fetch` (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_registry_tests --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Registry suite: **6 / 6 passed** in 11.92 s; the live CLI E2E publishes a binary
variant with `vbs publish-binary`, lists it (`cli-variant ... unsigned`) and fetches it
byte-for-byte into the requested output file.
- `vbs_cli_contract` covers `binaries --help`, `binaries list|fetch --help`, and the
missing-argument errors.
- Full CTest: **8 / 8 passed** in 207.71 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Daemon Workspace Support (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **13 / 13 passed** in 25.35 s, including
`describe_and_build_workspace_members`: a two-member `workspace.cpp` root is described as
`workspace:true` with both member names, a workspace build without `member` is rejected with a
`member` diagnostic, and `{"op":"build","member":"app"}` builds the member executable
(`profiles/debug/out/bin/ws_app`) sharing the workspace root lock.
- Full CTest: **8 / 8 passed** in 208.57 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Member-Scoped Daemon IDE Requests (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **13 / 13 passed** in 45.30 s; the workspace test now also checks
that a workspace `ide_query` without `member` fails, and that `member:"app"` IDE query returns
the member project root and `ws_app`, while IDE generate writes `packages/app/.clangd`.
- Full CTest: **8 / 8 passed** in 211.77 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Daemon Workspace-Wide Build (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **13 / 13 passed** in 26.94 s; the workspace test now asserts that a
workspace-wide `build` (no `member`) succeeds with `workspace:true` and per-member entries for
both `lib` and `app`, and still covers member-scoped build/IDE requests.
- Full CTest: **8 / 8 passed** in 211.82 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Editor Status Protocol Request (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **14 / 14 passed** in 28.76 s, including
`editor_status_reports_selection_after_compdb_export`: before export the selection is null and
`compdb_exists=false`; after `compdb_export`, `editor_status` reports profile `debug`, an
existing compdb with `compdb_entries >= 1`, and a non-empty compdb path.
- Full CTest: **8 / 8 passed** in 216.37 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Daemon Compdb Use (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **15 / 15 passed** in 30.55 s, including
`compdb_use_switches_active_editor_profile`: after `compdb_export`,
`{"op":"compdb_use","profile":"debug"}` returns profile `debug`, ticket >= 1, and an
existing compdb path; an unknown profile is rejected.
- Full CTest: **8 / 8 passed** in 213.57 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Registry Binary-Variant Yank (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_registry_tests --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Registry suite: **6 / 6 passed** in 11.95 s; the binary-variant test verifies an
unauthenticated yank returns 401, a CSRF-authenticated session yank returns 200, the detail JSON
shows `"yanked":true` for the variant, and `fetch_binary_variants` no longer returns it.
- Full CTest: **8 / 8 passed** in 212.64 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Daemon Graph Export (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **16 / 16 passed** in 32.47 s, including
`graph_exports_target_dependencies_as_json_and_dot`: `{"op":"graph","format":"json"}` returns a
`graph` string containing target `app`, the default request returns a DOT `digraph vbs_targets`
payload, and `format:"xml"` is rejected with `ok=false`.
- Full CTest: **8 / 8 passed** in 214.59 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Daemon Test Request (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **17 / 17 passed** in 34.83 s, including
`test_builds_and_runs_declared_tests`: a project with one passing and one failing test target
returns `op=test`, `ok=false`, `tests_passed=1`, and `tests_failed=1`.
- Full CTest: **8 / 8 passed** in 216.66 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Compdb Entries Query (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **18 / 18 passed** in 36.85 s, including
`compdb_entries_queries_published_database`: before export the request fails explicitly; after
`compdb_export`, all entries are returned, `{"file":"main.cpp","limit":1}` returns at most one
entry whose file ends with `main.cpp` and includes bounded `arguments`, and `limit:501` is
rejected.
- Full CTest: **8 / 8 passed** in 218.84 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Authenticated Binary-Variant Downloads (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_registry_tests --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Registry suite: **7 / 7 passed** in 12.41 s, including
`private_binary_variant_download_requires_auth`: a private package's binary artifact returns 401
anonymously, while `download_binary_artifact(..., RegistryAuth{token})` and
`materialize_binary_variant` with `BinaryFetchOptions::bearer_token` download and verify it.
- Full CTest: **8 / 8 passed** in 219.68 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Yanked Binary Variants in Listing (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_registry_tests --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Registry suite: **7 / 7 passed** in 12.51 s; after yanking a binary variant,
`fetch_binary_variants(..., include_yanked=false)` omits it while
`fetch_binary_variants(..., include_yanked=true)` returns it with `yanked=true`.
- Full CTest: **8 / 8 passed** in 239.95 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Registry Binary-Variant Listing Endpoint (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_registry_tests --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Registry suite: **7 / 7 passed** in 12.63 s; the binary-variant test asserts
`GET /api/v1/packages/demo-bin/1.0.0/binaries` returns the published variant with
`"yanked":false`, and the client listing/download tests still pass against the new endpoint.
- Full CTest: **8 / 8 passed** in 221.10 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Workspace Members Request (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **19 / 19 passed** in 39.02 s, including
`workspace_members_lists_declared_members`: a two-member `workspace.cpp` returns
`workspace:true` with `lib`/`app` names and canonical member paths, without evaluating member
build descriptions.
- Full CTest: **8 / 8 passed** in 222.06 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## IDE Configs Request (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **20 / 20 passed** in 41.45 s, including
`ide_configs_reports_generated_files`: `.clangd` is reported absent before generation and
`exists:true` after `ide_generate`.
- Full CTest: **8 / 8 passed** in 228.03 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Compdb Generations Request (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **21 / 21 passed** in 42.89 s, including
`compdb_generations_lists_history_and_active_generation`: empty before export, then one valid
generation with `entries >= 1` and an active selection; `profile:"../x"` is rejected.
- Full CTest: **8 / 8 passed** in 227.61 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Registry Package Search Pagination (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_registry_tests --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Registry suite: **7 / 7 passed** in 12.57 s; `GET /api/v1/packages?limit=1`
returns exactly one package with `total`/`limit`/`offset`, and `limit=501` returns 400.
- Full CTest: **8 / 8 passed** in 225.74 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Registry Release Detail Endpoint (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_registry_tests --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Registry suite: **7 / 7 passed** in 12.57 s; `GET /api/v1/packages/demo-bin/1.0.0`
returns the release with its binary variant, and `demo-bin/9.9.9` returns 404.
- Full CTest: **8 / 8 passed** in 230.82 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Daemon Deps Request (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **21 / 21 passed** in 44.29 s; `build_materializes_path_dependency`
now first sends `{"op":"deps"}` and asserts an entry with `alias:"helper"`, `source_kind:"path"`,
and a non-empty digest before building.
- Full CTest: **8 / 8 passed** in 236.07 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Daemon Info Request (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **22 / 22 passed** in 43.87 s, including
`info_reports_daemon_paths_and_host`: the response reports a non-empty version and the exact
project root, build root, and socket path.
- Full CTest: **8 / 8 passed** in 230.32 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Track E4 `Void::Sqlite` StateStore Alignment (GCC 16.2, pin `0002e74`)
SQLite and Boost were made available through `dev cpp-gcc -p sqlite -p boost` (the configured
dev shell reports `modules=16` including `Void::Sqlite`; `SQLite3_LIBRARY` is found).
```sh
dev cpp-gcc -p sqlite -p boost -c cmake -S . -B build/e4 -G Ninja -DCMAKE_BUILD_TYPE=Debug -DVBS_VOID_SOURCE_DIR=/tmp/opencode/vl-pin
dev cpp-gcc -p sqlite -p boost -c cmake --build build/e4 --parallel 8
dev cpp-gcc -p sqlite -p boost -c ctest --test-dir build/e4 --output-on-failure
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_core_tests --no-color
```
- SQLite-backed build: exit 0. Full CTest: **8 / 8 passed** in 244.23 s (`vbs_v1_tests` 110.03 s,
`vbs_selfhost_tests` 100.55 s, `vbs_core_tests` 15.61 s, `vbs_registry_tests` 10.33 s) with
`StateStore` using `Void::Sqlite` (`state.v2.sqlite`).
- Default build (no SQLite): exit 0, `vbs_core_tests` **6 / 6 passed** on the JSON backend.
- Fixes during verification: `INSERT` `step()` returning no row is success (not failure), and the
extracted `parse_database_snapshot` needed its final `return snap;` (a missing return trapped as
SIGILL under the SQLite path).
## Live Conan2 Provider Verification (GCC 16.2, pin `0002e74`, conan 2.32.0)
`conan` 2.32.0 was provided with `dev cpp-gcc -p conan`.
```sh
dev cpp-gcc -p conan -c cmake --build build/pinned --parallel 8
dev cpp-gcc -p conan -c build/pinned/bin/vbs_v1_tests --filter track_b3_live_conan_provider_install --no-color
dev cpp-gcc -p conan -c ctest --test-dir build/pinned --output-on-failure
```
- `track_b3_live_conan_provider_install`: **passed** (1.23 s). It creates a real header-only
package with `conan create` in an isolated `CONAN_HOME`, runs the Conan2 provider (which runs a
real `conan install` using the adapter-generated host/build profiles), asserts the provider
export has `builder == "conan"`, and finds the generated `conanbuild.sh` as proof the install
executed. `CONAN_HOME` is restored afterwards; the test skips when `conan` is absent.
- Full CTest with conan available: **8 / 8 passed** in 241.62 s.
## Track E4 `Void::Net` Registry-Client Alignment (GCC 16.2, pin `0002e74`)
With `dev cpp-gcc -p openssl -p boost`, `cmake/VoidDependency.cmake` now appends `Net` to the enabled Void modules (the dev shell reports `modules=16` and `Void_Net` appears in the generated build). `RegistryClient` then uses `Void::Net::HttpClient::secure()` for every registry request.
```sh
dev cpp-gcc -p openssl -p boost -c cmake -S . -B build/net -G Ninja -DCMAKE_BUILD_TYPE=Debug -DVBS_VOID_SOURCE_DIR=/tmp/opencode/vl-pin
dev cpp-gcc -p openssl -p boost -c cmake --build build/net --parallel 8
dev cpp-gcc -p openssl -p boost -c build/net/bin/vbs_registry_tests --no-color
dev cpp-gcc -p openssl -p boost -c ctest --test-dir build/net --output-on-failure
```
- Net-enabled build: exit 0. Registry suite on the Net transport: **7 / 7 passed** (10.58 s),
including the signed-publish, private-download, binary-variant, and live CLI E2E cases.
- Full CTest with `Void::Net`: **8 / 8 passed** in 204.76 s.
- Default build (no Net): rebuild exit 0 and registry suite **7 / 7 passed** (12.60 s); the
pure-POSIX/curl transport remains the fallback.
## Track E4 `Void::Net` Registry HTTP Server (GCC 16.2, pin `0002e74`)
With `-p openssl -p boost`, `Registry::HttpServer` serves through `Void::Net::HttpServer` (catch-all route per method bridging to the registry handler); the POSIX server remains the fallback.
```sh
dev cpp-gcc -p openssl -p boost -c cmake --build build/net --parallel 8
dev cpp-gcc -p openssl -p boost -c build/net/bin/vbs_registry_tests --no-color
dev cpp-gcc -p openssl -p boost -c ctest --test-dir build/net --output-on-failure
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_registry_tests --no-color
```
- Net server: registry suite **7 / 7 passed** (10.11 s; after the formatting pass 7/7 in 18.67 s) and
full CTest **8 / 8 passed** in 199.60 s.
- Default POSIX server: registry suite **7 / 7 passed** (13.14 s; after formatting 7/7 in 14.62 s).
- One correctness fix during adoption: the default security headers (`X-Frame-Options`,
`Content-Security-Policy`, ...) were previously added only by the POSIX loop, so they were
extracted into a helper applied by both transports.
## Track E4 `Void::Net` Remote Cache Transport (GCC 16.2, pin `0002e74`)
`RemoteCache`'s shared action-cache HTTP exchange uses `Void::Net::HttpClient::secure()` when `VBS_HAS_VOID_NET` is defined.
```sh
dev cpp-gcc -p openssl -p boost -c cmake --build build/net --parallel 8
dev cpp-gcc -p openssl -p boost -c build/net/bin/vbs_registry_tests --filter shared_remote --no-color
dev cpp-gcc -p openssl -p boost -c ctest --test-dir build/net --output-on-failure
dev cpp-gcc -c build/pinned/bin/vbs_registry_tests --filter shared_remote --no-color
```
- Net build: exit 0; remote CAS tests **2 / 2 passed** (5.21 s) and full CTest **8 / 8 passed** in
202.70 s.
- Default build: remote CAS tests **2 / 2 passed** (5.55 s) on the POSIX/curl transport.
- `clang-format --dry-run --Werror` passes on `src/State/RemoteCache.cpp`.
## Host Reporting in `vbs doctor` (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c ctest --test-dir build/pinned -R vbs_cli_contract --output-on-failure
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- `vbs doctor` prints `host platform: Linux (native process/file backends)` plus the optional
backend state, e.g. `[opt] Void::Sqlite: disabled (journaled JSON state store)` and
`[opt] Void::Net: disabled (POSIX/curl transport)` in the default build.
- `vbs_cli_contract` (with the new host/backend checks): **passed** (8.54 s).
- Full CTest: **8 / 8 passed** in 235.19 s.
## Daemon Clean Request (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **23 / 23 passed** in 46.72 s, including
`clean_removes_profile_outputs_and_preserves_cache`: after a build, `clean` removes
`profiles/` (`removed_paths >= 1`) while `.vbs` remains, and `{"all":"yes"}` is rejected.
- Full CTest: **8 / 8 passed** in 243.91 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Daemon Target Info Request (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **24 / 24 passed** in 67.24 s, including
`target_info_reports_target_details`: target `app` reports `kind=executable` with non-empty
`sources` and `primary_outputs` arrays, an unknown target and a missing `target` field are
rejected.
- Full CTest: **8 / 8 passed** in 239.76 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Daemon Pack Request (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **25 / 25 passed** in 49.59 s, including
`pack_creates_archive_confined_to_build_root`: `{"op":"pack","output":"dist/src.tar"}` writes the
archive under the build root and returns a 64-hex digest, while `../../escape.tar` and a
non-string `output` are rejected.
- Full CTest: **8 / 8 passed** in 240.40 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Daemon Actions Request & Binary Variant Detail (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c build/pinned/bin/vbs_registry_tests --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **26 / 26 passed** in 50.70 s, including
`actions_lists_lowered_actions` (`total >= 1`, `returned <= 5`, non-empty `id`/`target`/`kind`;
unknown target filter gives `total=0`; `limit=1001` rejected).
- Registry suite: **7 / 7 passed** in 12.56 s; the binary-variant test also checks
`GET .../binaries/<variant>` returns the id, signature, and download URL, and an unknown variant
returns 404.
- Full CTest: **8 / 8 passed** in 238.86 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
- Swarm note: a one-worker swarm was started for the daemon half, stalled on its planning task
(same pattern as before), and was stopped before any file was written; the slice was then
implemented directly.
## Registry Package Ownership API (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_registry_tests --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Registry suite: **7 / 7 passed** in 12.70 s; on a dedicated package the RBAC
test checks owners listing, adding an owner, a 404 for an unknown user, a 403 when a
reader-owner tries to mutate, successful removal, and a 409 when removing the last owner.
- Full CTest: **8 / 8 passed** in 239.25 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## `vbs releases list` (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_registry_tests --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Registry suite: **7 / 7 passed** in 12.72 s; the live E2E runs
`vbs releases list --registry ... --name hello-pkg` and sees both `1.0.0` and `1.1.0` marked
`active`.
- `vbs_cli_contract` covers `releases list --help` and the missing-argument error.
- Full CTest: **8 / 8 passed** in 238.94 s.
- `clang-format --dry-run --Werror` passes on `src/Main.cpp` and `tests/RegistryTests.cpp`.
## Daemon Install Request (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **27 / 27 passed** in 52.69 s, including
`install_stages_prefix_and_writes_manifest`: installing `--prefix <tmp>/prefix` writes
`<prefix>/bin/app` and the manifest (`files >= 1`), and a request without `prefix` is rejected.
- Full CTest: **8 / 8 passed** in 261.67 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Daemon Uninstall Request (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **27 / 27 passed** in 70.35 s;
`install_stages_prefix_and_writes_manifest` now installs, asserts `<prefix>/bin/app` and the
manifest exist, then uninstalls (`removed >= 1`) and asserts the binary is gone.
- Full CTest: **8 / 8 passed** in 242.14 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Daemon Gen-Tests Request (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **28 / 28 passed** in 54.11 s, including
`gen_tests_generates_registration_unit_confined`: a unit with two `Test name()` cases generates a
registration file inside the build root with `cases=2`; an escaping input (`../outside.cpp`) and
output (`../../escape`) are rejected.
- Full CTest: **8 / 8 passed** in 263.40 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Signed `vbs binaries fetch` (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_registry_tests --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Registry suite: **7 / 7 passed** in 12.87 s; the live E2E fetches an unsigned
variant successfully without trusted keys and fails when `--trusted-public-key` is required.
- Full CTest: **8 / 8 passed** in 269.54 s.
- `clang-format --dry-run --Werror` passes on `src/Main.cpp` and `tests/RegistryTests.cpp`.
## Daemon Init Request (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake -S . -B build/pinned -G Ninja -DCMAKE_BUILD_TYPE=Debug -DVBS_VOID_SOURCE_DIR=/tmp/opencode/vl-pin
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **29 / 29 passed** in 52.96 s, including
`init_scaffolds_project_confined_to_root`: `{"op":"init","dir":"newapp","name":"demo"}` writes
`newapp/build.cpp` and `newapp/src/main.cpp`, a second run without `force` is rejected, `force`
succeeds, and `dir:"../outside"` is rejected.
- Full CTest: **8 / 8 passed** in 242.56 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Daemon `clean --all` Semantics (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
```
- `Daemon.clean_all_removes_entire_build_root` runs a daemon with `max_requests=2`: it builds, then
`{"op":"clean","all":true}` removes the entire build root (including the socket and state store)
while the already-connected client still receives `ok`/`removed_all`, and the daemon exits on its
own. Asserted: response correct and `build_root` no longer exists.
- Daemon suite: **30 / 30 passed** in 55.81 s.
## RegistryClient Owners Helper via Swarm (GCC 16.2, pin `0002e74`)
- Swarm `swarm_mx89q8ak_2at3` (one worker) planned, decomposed, and completed all 6 tasks this
time; the orchestrator reviewed the diff before building.
- `Package::fetch_package_owners` returns the owners of `owner-pkg` (including `pub_alice`), fails
for a missing package (404) and for anonymous access to a private package (401).
- Registry suite after integration: **7 / 7 passed** (11.02 s); full CTest: **8 / 8 passed** in
271.07 s.
## Track C1 Executable Path & Daemon Host Info (GCC 16.2, pin `0002e74`)
- `Platform::current_executable_path()` replaces the hard-coded `/proc/self/exe` reads in
`src/Main.cpp`; `CoreEngineTests.current_executable_path_resolves_running_binary` passes (the
returned path is absolute and a regular file).
- Swarm `swarm_mx8a5ush_g8oa` (one worker) completed 5/5 tasks: the daemon `info` response now
includes `host_os`, `host_supported`, and a `backends` object; `Daemon.info_reports_daemon_paths_and_host`
passes.
- Full CTest after both slices: **8 / 8 passed** in 242.99 s.
## Member-Filtered Describe & Test Path Cleanup (GCC 16.2, pin `0002e74`)
- `{"op":"describe","member":"app"}` on a two-member workspace returns exactly one member entry
named `app` (`workspace:true`), and an unknown member is rejected; asserted in
`Daemon.describe_and_build_workspace_members` (7.14 s).
- Swarm `swarm_mx8alvtt_xn4n` (one worker) replaced the `/proc/self/exe` lookups in
`tests/{Registry,FullV1,SelfHost}Tests.cpp` with `Platform::current_executable_path()` (5/5
substantive tasks; its last build task was stopped and re-run by the orchestrator).
- Full CTest: **8 / 8 passed** in 241.04 s.
## Daemon Target Flags & Registry Search Test Depth (GCC 16.2, pin `0002e74`)
- `Daemon.target_flags_reports_compile_units`: target `app` returns a compile unit for
`main.cpp` with a non-empty `arguments` array, `file:"nope.cpp"` returns no units, and an unknown
target is rejected.
- Swarm `swarm_mx8b201o_acox` (one worker) extended `RegistryTests` with `q` name/description
filtering, offset pagination envelope checks, far-offset empty pages, and invalid
offset/limit rejection (4/4 substantive tasks; the final build task was stopped and re-run by
the orchestrator).
- `registry_rbac_immutability_csrf_xss_web_and_backup_restore` passes (975 ms) with the extended
assertions; full CTest: **8 / 8 passed** in 243.47 s.
## Actions Kind Filter & `vbs releases show` (GCC 16.2, pin `0002e74`)
- `Daemon.actions_lists_lowered_actions` passes (2.49 s): `kind:"link"` returns only link actions,
`kind:"nope"` returns `total=0`, and a non-string `kind` is rejected.
- Swarm `swarm_mx8beiy5_3ws7` (one worker) completed 7/7 tasks: `Package::fetch_release_detail`
(`ReleaseInfo`) plus `vbs releases show --registry --name --version`, with CLI contracts and a
live E2E assertion.
- `cli_publish_deps_resolve_and_locked_build_against_live_registry` passes (3.66 s); full CTest:
**8 / 8 passed** in 244.47 s.
## Self-Excluding Source Archives & Release-Detail Tests (GCC 16.2, pin `0002e74`)
- `create_source_package` skips its own output path: packing twice into
`proj/dist/pkg.tar` and extracting shows no `dist/pkg.tar` entry
(`archive_security_determinism_binary_abi_and_redaction` passes in 127 ms).
- Swarm `swarm_mx8bv64x_hhks` (one worker) added a dedicated release-detail test to
`RegistryTests` (fields, signature metadata, 404, private auth; 5/5 substantive tasks; the
build task was stopped and re-run by the orchestrator).
- Registry suite: **8 / 8 passed** (10.91 s); full CTest: **8 / 8 passed** in 246.26 s.
## HEAD/Content-Length & Daemon `compdb_stale` (GCC 16.2, pin `0002e74`)
- `HEAD` on release and binary downloads returns 200 with an empty body, a non-zero
`Content-Length`, and the content headers (asserted in the registry suites).
- Swarm `swarm_mx8cczer_eoac` (one worker) added `compdb_stale` (4/4 substantive tasks; its build
task was stopped and re-run by the orchestrator); `Daemon.compdb_stale_marks_generation_stale`
passes (2.23 s).
- Registry suite: **8 / 8 passed** (11.64 s); full CTest: **8 / 8 passed** in 273.63 s.
## Range Downloads & Install Option Tests (GCC 16.2, pin `0002e74`)
- `Range: bytes=0-3` on a binary download returns 206 with the first four bytes and a
`Content-Range` carrying the total size; `bytes=999999-` returns 416; normal GETs advertise
`Accept-Ranges: bytes`.
- Swarm `swarm_mx8csw7v_btv8` (one worker) extended the daemon install test (5/5 substantive
tasks; its build task was stopped and re-run by the orchestrator); the install test passes
(2.48 s).
- Registry suite: **8 / 8 passed** (11.45 s); full CTest: **8 / 8 passed** in 257.65 s.
## ETag/304 & Daemon `deps --offline` (GCC 16.2, pin `0002e74`)
- Registry read responses carry an `ETag`; a repeat GET with `If-None-Match` returns 304 with an
empty body (asserted in `registry_binary_variant_publish_download_and_materialize`).
- Swarm `swarm_mx8d7skh_774j` (one worker) added the `offline` boolean to the daemon `deps`
request (5/5 substantive tasks; its build task was stopped and re-run); `build_materializes_path_dependency`
passes (4.72 s) with the offline and invalid-type assertions.
- Registry suite: **8 / 8 passed** (21.72 s); full CTest: **8 / 8 passed** in 289.03 s.
## Download ETag/304 & Daemon `status` Pending Changes (GCC 16.2, pin `0002e74`)
- A binary download returns an `ETag`; repeating the GET with `If-None-Match` returns 304 with an
empty body (asserted in `registry_binary_variant_publish_download_and_materialize`).
- Swarm `swarm_mx8dtkrm_1trd` (one worker) added `pending_changes` to the daemon `status`
response (4/4 substantive tasks; build task stopped and re-run by the orchestrator);
`watch_poll_reports_changed_paths` passes (71 ms).
- Registry suite: **8 / 8 passed** (11.01 s); full CTest: **8 / 8 passed** in 257.22 s.
## Registry Metadata PATCH & Daemon `workspace_info` (GCC 16.2, pin `0002e74`)
- `PATCH /api/v1/packages/meta-pkg` with an owner token updates the description (reflected by the
detail endpoint); anonymous (401), non-owner (403), empty body (400), and invalid `private`
type (400) are rejected (in `registry_rbac_immutability_csrf_xss_web_and_backup_restore`, 1.01 s).
- Swarm `swarm_mx8e977a_v5d6` (one worker) added `workspace_info` (5/5 substantive tasks; build
task stopped and re-run by the orchestrator); `workspace_info_reports_members_and_lockfile`
passes (2.28 s).
- Registry suite: **8 / 8 passed** (11.00 s); full CTest: **8 / 8 passed** in 276.04 s.
## Watch Prefix Filter & Registry OPTIONS (GCC 16.2, pin `0002e74`)
- A `watch_poll` with a non-matching `prefix` returns no changes and retains the buffered event; a
poll with the project prefix then returns `probe.txt` (`watch_poll_reports_changed_paths`, 67 ms).
- Swarm `swarm_mx8etp10_joyc` (one worker) added registry `OPTIONS` preflight (204 + `Allow`) with a
dedicated test (4/4 substantive tasks; build task stopped and re-run by the orchestrator).
- Registry suite: **9 / 9 passed** (11.27 s); full CTest: **8 / 8 passed** in 262.39 s.
## Registry Stats & Daemon `doctor` (GCC 16.2, pin `0002e74`)
- `GET /api/v1/stats` with an admin session returns aggregate counts and an `ETag`; a non-admin
bearer token gets 403 (in `registry_rbac_immutability_csrf_xss_web_and_backup_restore`).
- Swarm `swarm_mx8ffmit_2fpk` (one worker) added the structured daemon `doctor` request (5/5
substantive tasks; build task stopped and re-run by the orchestrator);
`Daemon.doctor_reports_host_tools_and_backends` passes (19 ms).
- Registry suite: **9 / 9 passed** (11.76 s); full CTest: **8 / 8 passed** in 256.63 s.
## Tokens Listing & Daemon `target_list` (GCC 16.2, pin `0002e74`)
- `vbs tokens list --registry ... --token-env ...` prints the caller's token metadata (`ci_pub`,
`active`) and never the plaintext secret (live E2E).
- Swarm `swarm_mx8g40db_mi02` (one worker) added the daemon `target_list` request and its test,
completing its own verification (5/5 tasks); `target_list_reports_targets` passes (2.48 s).
- Registry suite: **9 / 9 passed** (12.02 s); full CTest: **8 / 8 passed** in 262.80 s.
## Token Revocation & Daemon `deps --update` (GCC 16.2, pin `0002e74`)
- `vbs tokens revoke --token-id <id>` revokes a second token and a following `vbs tokens list`
shows it as `revoked` (live E2E, never printing the secret).
- Swarm `swarm_mx8goqcn_4gdb` (one worker) added the `deps` `update` flag with validation and
plumbing tests (5/5 substantive tasks; build task stopped and re-run by the orchestrator);
`build_materializes_path_dependency` passes (4.68 s).
- Registry suite: **9 / 9 passed** (11.47 s); full CTest: **8 / 8 passed** in 268.05 s.
## Daemon Install CLI Options & Registry Users Pagination (GCC 16.2, pin `0002e74`)
- `vbs daemon install` exposes `--component`, `--no-cmake-export`, `--no-native-export` (help
contract).
- Swarm `swarm_mx8h93tf_nh0y` (one worker) paginated the admin `/api/v1/users` route with a
total envelope and 400 validation, plus tests (4/4 substantive tasks; build task stopped and
re-run by the orchestrator).
- Registry suite: **9 / 9 passed** (11.23 s); full CTest: **8 / 8 passed** in 265.14 s.
## `vbs lock show` & Daemon Mermaid Graphs (GCC 16.2, pin `0002e74`)
- `vbs lock show --project <dir>` prints `no vbs.lock in <dir>` when absent (CLI contract passes,
8.59 s).
- Swarm `swarm_mx8hsdzr_gixq` (one worker) added the daemon `graph` `mermaid` format and test
coverage (4/5 substantive tasks; the final build/help tasks were stopped and finished by the
orchestrator); `graph_exports_target_dependencies_as_json_and_dot` passes (2.38 s).
- Full CTest: **8 / 8 passed** in 262.82 s.
## `vbs verify` & Registry Content-Disposition (GCC 16.2, pin `0002e74`)
- `vbs verify --help` exits 0, missing arguments exit 2, and an invalid signature exits 1. In the
current default build the linked `Void::Crypto` reports Ed25519 unavailable, so the command fails
closed with an explicit backend message; the OpenSSL-enabled build performs real verification
(see the Signing/SignatureEnforcement sections).
- Swarm `swarm_mx8i87lc_3eom` (one worker) added sanitized `Content-Disposition: attachment`
headers to release and binary downloads with tests (4/4 substantive tasks; build task stopped and
re-run by the orchestrator). Registry suite: **9 / 9 passed** (11.10 s).
- `vbs_cli_contract` passes (8.53 s).
## Shared Compdb Query & `vbs compdb-entries` (GCC 16.2, pin `0002e74`)
- `Editor::query_compdb_entries` now backs both the daemon `compdb_entries` request and the new
`vbs compdb-entries` CLI; `Daemon.compdb_entries_queries_published_database` still passes
(4.56 s) and the CLI contract covers `--help` and the no-database error (13.73 s).
- Full CTest: **8 / 8 passed** in 267.19 s.
## `vbs releases yank` & Daemon `info` Workspace/Lockfile (GCC 16.2, pin `0002e74`)
- `vbs releases yank`/`--unyank` against the live registry succeeds in the CLI E2E (the release
list still resolves afterwards).
- Swarm `swarm_mx8izkm6_lol7` (one worker) added `workspace` and `lockfile` to the daemon `info`
response (4/4 substantive tasks; build task stopped and re-run by the orchestrator);
`info_reports_daemon_paths_and_host` passes (17 ms).
- Registry suite: **9 / 9 passed** (11.11 s); full CTest: **8 / 8 passed** in 281.17 s.
## `vbs binaries show` & Daemon Install File List (GCC 16.2, pin `0002e74`)
- `vbs binaries show --variant cli-variant` prints the variant id, digest, size, yank state, and
signed state in the CLI E2E (`cli_publish_deps_resolve_and_locked_build_against_live_registry`,
3.74 s).
- Swarm `swarm_mx8jylnc_zi6j` (one worker) added a bounded, sorted `installed_files` array (with a
truncation marker) to the daemon `install` response and its assertions; the worker stalled on its
remaining tasks and was stopped after its edits landed. `install_stages_prefix_and_writes_manifest`
passes (2.60 s).
- Full CTest: **8 / 8 passed** in 283.27 s.
## `vbs verify` Trust and RFC 7232 (GCC 16.2, pin `0002e74`)
- `vbs verify` with `--trusted-public-key` rejects an untrusted signer key before any crypto
(`vbs_cli_contract`, 8.56 s).
- Swarm `swarm_mx8kmg2e_w0k2` (one worker) completed 6/6 tasks: the binary-variant detail response
is ETag-validated and `If-None-Match` now follows RFC 7232 (weak `W/` prefix, comma lists, `*`)
for all ETag-validated responses; the registry test covers 304 semantics and stale validators.
- Daemon install assertions were strengthened (exact installed-file count, no truncation flag,
absolute paths under the prefix) by the prior swarm's queued edits.
- Full CTest on the final tree: **8 / 8 passed** in 267.99 s.
## Convention-Based Self-Build, ConsoleLogger & Colors (GCC 16.2, pin `0002e74`)
- Source membership now comes from `project.glob(...)` in `build.cpp` and the self-host recipe
(`sdk/*.cpp`, `src/**/*.cpp`, `recipes/**/*.cpp`, `registry/service/*.cpp`), with the SDK in
`sdk/` and the registry CLI entry in `registry/cli/Main.cpp`.
- Bootstrap build (CMake): exit 0. `vbs_sdk_tests`: **17 / 17 passed**.
- Real `vbs` self-build (root `build.cpp`): **success** with an absolute build dir (43 actions,
linked `vbs`) and, after making dependency cache paths absolute, with a **relative** build dir
(43 actions). The self-built binary reports `vbs 0.1.0`.
- Self-host suite (stage builds through `VbsSelfHostRecipe`) passes after fixing absolute glob
patterns (`expand_glob` now anchors absolute patterns at the project root) and linking
`Void::Log`.
- Logging uses `Void::Logging::ConsoleLogger`; the `vbs` prefix is gone (`[Info] [Deps] ...`).
Under a PTY (`script -qec ...`), help shows ANSI bold/cyan and log levels show ANSI color
(`[<96mInfo<0m]`); `NO_COLOR`/`--no-color` disable both.
- Full CTest on a fresh build: **8 / 8 passed** in 290.25 s.
- Note: one intermediate CTest run had its shared build directory deleted mid-run by an
unidentified external actor; a fresh configure/build/CTest is fully green, and the anomaly is
not attributable to VBS code.
## Self-Contained Installers & IDE Install Tasks (GCC 16.2, pin `0002e74`)
- `vbs install --bundle-dependencies --archive FILE` writes a deterministic tar; two runs are
byte-identical and the archive extracts to the installed `bin/` and package metadata.
- `--archive-format sh` writes a POSIX self-extracting installer; running
`sh installer.sh --prefix DIR` installs the same files (`bin/cli_hi`, `share/vbs/<pkg>/package.json`).
Both are asserted by `foreign_cmake_meson_providers_bridge_and_relocatable_install` (5.88 s).
- `ide_integration_compdb_build_cpp_and_editor_configs_end_to_end` (3.21 s) verifies the generated
VS Code tasks contain `vbs: install` and `vbs: package installer`, and Zed tasks contain
`vbs: install`.
- Full CTest: **8 / 8 passed** in 277.74 s.
## Wine-First Windows Target Support (GCC 16.2, pin `0002e74`)
Available via `dev cpp-gcc -p pkgsCross.mingwW64.stdenv.cc -p wine64`: MinGW-w64 GCC 16.2
(`x86_64-w64-mingw32-*`) and Wine 11.0.
```sh
dev cpp-gcc -p pkgsCross.mingwW64.stdenv.cc -p wine64 -c build/pinned/bin/vbs test --project <proj> \
--build-dir <build> --target-os windows --target-arch x86_64 --jobs 4
dev cpp-gcc -p pkgsCross.mingwW64.stdenv.cc -p wine64 -c build/pinned/bin/vbs_v1_tests \
--filter track_c_windows_target_cross_build_and_wine_test --no-color
```
- Observed: 4 actions (2 compiles, 2 PE links), `winapp.exe`/`win_test.exe` produced, and
`vbs test: PASSED 'win_test'` through the Wine runner.
- Regression test `FullV1Tests.track_c_windows_target_cross_build_and_wine_test`: **passed**
(8.91 s); it skips when MinGW or Wine is absent.
- Full CTest: **8 / 8 passed** in 279.16 s.
## Package Generators: Stored ZIP & DEB (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --filter foreign_cmake_meson_providers_bridge_and_relocatable_install --no-color
dev cpp-gcc -p dpkg -c sh -c 'dpkg-deb --info cli_hi.deb; dpkg-deb --contents cli_hi.deb'
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- `--archive-format zip` produces a stored ZIP containing `bin/cli_hi` and
`share/vbs/CliHiPkg/package.json` with valid local-header/EOCD signatures.
- `--archive-format deb` produces an `ar` package whose first member is `debian-binary` (`2.0\n`),
followed by `control.tar` and `data.tar`; the test extracts both and checks the control fields
and `bin/cli_hi`.
- External validation with real Debian tooling (`dpkg-deb` from `dev cpp-gcc -p dpkg`):
`--info` reports `Package: CliHiPkg`, `Version: 0.1.0`, `Architecture: amd64`, and the
Maintainer/Installed-Size fields; `--contents` lists `bin/cli_hi`, the CMake config files, and
the native package metadata.
- Install test: **passed** (6.45 s); full CTest: **8 / 8 passed** in 282.16 s.
## Signed Installer Archives (GCC 16.2, pin `0002e74`)
- `vbs install --archive FILE --signing-key SEED` writes `FILE.sha256` (sha256sum format),
`FILE.sig` (128-hex Ed25519 signature) and `FILE.pub` (64-hex signer key); without an Ed25519
backend it fails closed instead of silently skipping.
- `foreign_cmake_meson_providers_bridge_and_relocatable_install`: **passed** (7.16 s) - when
signing is available the checksum prefix, 129/65-byte signature/key files, and the signature
over the archive bytes are verified; otherwise the failure path is asserted.
- Full CTest: **8 / 8 passed** in 281.48 s.
## Windows Path & Case-Sensitivity Validation (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -p pkgsCross.mingwW64.stdenv.cc -p wine64 -c build/pinned/bin/vbs_v1_tests \
--filter track_c_windows_target_cross_build_and_wine_test --no-color
```
- The Windows test binary creates `case_a.txt` and opens `CASE_A.TXT`; it passes only because
Wine applies Windows case-insensitive filesystem semantics.
- A project declaring `Tool` and `tool` executables fails with `differ only by case`, and a `CON`
target fails with `reserved Windows device name`.
- Regression test: **passed** (14.12 s); full CTest: **8 / 8 passed** in 277.56 s.
## CMakePresets Import (GCC 16.2, pin `0002e74`)
- `FullV1Tests.cmake_presets_import_maps_inherits_and_cache` **passed**: a child preset inheriting an array parent gets the merged `${sourceDir}` binary dir, `Release` → `release` profile, `clang++` → `clang`, and the suggested command contains `--profile 'release' --compiler 'clang' --build-dir '...'`; a bare preset defaults to `debug`/`gcc` with no build dir.
- CLI contract: `vbs presets --help` passes.
- Full CTest: **8 / 8 passed** in 276.96 s.
## CMake File API Shim (GCC 16.2, pin `0002e74`)
- `vbs ide generate` writes `build/.cmake/api/v1/reply/` with an `index-*.json` listing
`codemodel-v2`, a `codemodel-v2-*.json` referencing a directory file and all target files, and
`target-*.json` per target (kind/type/artifacts/`nameOnDisk`/sources/compileGroups).
- All emitted JSON files validate as strict JSON (checked with a JSON parser during development).
- `ide_integration_compdb_build_cpp_and_editor_configs_end_to_end` walks index → codemodel →
target and asserts the executable target has artifacts and compile groups: **passed** (3.14 s).
- Full CTest: **8 / 8 passed** in 276.69 s.
## VoidLibrary Migration Trial (GCC 16.2, VoidLibrary `0002e74`)
Performed in a **separate clone** (`/tmp/opencode/vl-migrate`); the shared checkout was not touched.
```sh
cp -r contrib/voidlibrary-migration/. /tmp/opencode/vl-migrate/
vbs build --project /tmp/opencode/vl-migrate --build-dir /tmp/opencode/vl-migrate/build \
--profile debug --target void_smoke --jobs 8
vbs test --project /tmp/opencode/vl-migrate --build-dir /tmp/opencode/vl-migrate/build \
--target void_smoke --jobs 8
```
- Build: **exit 0**, 23 actions (`libVoid_*.a` archives for the enabled module closure plus
`void_smoke`), no CMake involved.
- `./build/profiles/debug/out/bin/void_smoke`: exit 0.
- `vbs test`: `PASSED 'void_smoke'`.
- Upstream gap filed as [Void/Library#61](https://git.faumaray.com/Void/Library/issues/61) because
VoidLibrary lacks an in-repo VBS build description and many modules have no native entry.
## Test-Runner Parity: JUnit XML & Test Timeout (GCC 16.2, pin `0002e74`)
- `vbs test --junit report.xml --test-timeout 120` on the native subproject fixture writes a JUnit
report containing `<testsuites`, `<testsuite name="debug"`, `name="consumer_test"`, and
`failures="0"` (`FullV1Tests.native_vbs_subproject_dependency_builds_without_cmake`, 4.03 s).
- `vbs test --test-timeout 0` exits 2 with `invalid --test-timeout value '0'` before any project
work (CLI contract).
- Full CTest: **8 / 8 passed** after both slices.
## Competitor Benchmark Baseline (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c bash benchmarks/compare.sh 20 --vbs build/pinned/bin/vbs
```
Observed on this host (x86_64, 32 jobs, Debug, 20 generated sources):
```
vbs-cold 2578 vbs-warm 209
cmake-config 234 cmake-cold 98 cmake-warm 9
meson-setup 438 meson-cold 232 meson-warm 166
```
The harness (`benchmarks/compare.sh`) generates one project and times each tool's cold and warm
invocations. VBS is slower on this small fixture because every invocation recompiles/probes the
description; the numbers are recorded in [22](../roadmap/22-superiority-and-gaps.md) as the
optimization target.
## Sanitizer Groundwork (ASan + UBSan, GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake -S . -B build/asan -G Ninja -DCMAKE_BUILD_TYPE=Debug -DVBS_VOID_SOURCE_DIR=/tmp/opencode/vl-pin \
-DCMAKE_CXX_FLAGS="-fsanitize=address,undefined -fno-omit-frame-pointer" \
-DCMAKE_C_FLAGS="-fsanitize=address,undefined -fno-omit-frame-pointer" \
-DCMAKE_EXE_LINKER_FLAGS="-fsanitize=address,undefined"
dev cpp-gcc -c cmake --build build/asan --parallel 8
ASAN_OPTIONS=detect_leaks=1 build/asan/bin/vbs_core_tests --no-color
```
- `vbs_core_tests` under ASan+UBSan with leak detection: **7 / 7 passed**, no sanitizer reports.
- Found and filed a real library bug: [Void/Library#62](https://git.faumaray.com/Void/Library/issues/62)
- `Argparse::option_default` is a heap-use-after-free when `default_value` aliases `out`
(`vbs --version` reproduced it). The two aliasing call sites in `Main.cpp` (`gc`, `clean`) now
pass a separate default copy, and `vbs --version` is ASan-clean.
- Limitation: full CLI E2E under ASan is blocked because the out-of-process descriptor compile
does not inherit the sanitizer flags while it links the instrumented SDK archive; this is
recorded as tooling work (propagate sanitizer flags to descriptor compilation), not a code bug.
- Normal build CTest after the fix: **8 / 8 passed** in 278.59 s.
## Deterministic Parser Fuzzing (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c build/pinned/bin/vbs_core_tests --filter fuzz_mutated_inputs_never_crash_parsers --no-color
dev cpp-gcc -c cmake --build build/asan --parallel 8
ASAN_OPTIONS=detect_leaks=1 UBSAN_OPTIONS=print_stacktrace=1 \
dev cpp-gcc -c build/asan/bin/vbs_core_tests --filter fuzz_mutated_inputs_never_crash_parsers --no-color
```
- 200 deterministic mutations (bit flips, truncation, overwrite runs, junk insertion) over TOML,
JSON, lockfile and tar seeds fed to `load_dependencies_toml`, `Void::Json::Strict::parse`,
`parse_lockfile`, and `extract_safe_tar`.
- Normal build: **passed** (2.93 s). ASan+UBSan with leak detection: **passed** (3.05 s), no
reports.
- Seed sanity assertions ensure the unmutated inputs still parse.
## Native RPM Generator (GCC 16.2, pin `0002e74`)
```sh
vbs install --project <proj> --build-dir <build> --prefix <prefix> \
--package-name CliHiPkg --archive cli_hi.rpm --archive-format rpm
dev cpp-gcc -p rpm -c sh -c 'rpm --dbpath <db> -qip cli_hi.rpm; rpm --dbpath <db> -qlp cli_hi.rpm; rpm2cpio cli_hi.rpm | cpio -it'
```
Observed with rpm 6.1.0:
- `rpm -qip`: `Name: CliHiPkg`, `Version: 0.1.0`, `Release: 1`, `Architecture: x86_64`.
- `rpm -qlp`: all four installed files (`bin/cli_hi`, `share/vbs/CliHiPkg/package.json`, both CMake config files).
- `rpm2cpio | cpio -it`: the payload entries are readable.
- The install test asserts the lead magic, the header magic at offset 96, the package name, the cpio magic, and the `TRAILER!!!` marker. Full CTest: **8 / 8 passed** in 292.72 s.
## RPM Prototype Investigation (GCC 16.2, pin `0002e74`)
With `dev cpp-gcc -p rpm` (rpm 6.1.0, `rpm2cpio`, `rpmbuild`) a hand-built RPM prototype was
validated iteratively against `rpm -qip`:
- A bare lead + signature header is rejected (`signature tag: BAD`).
- Using a raw 32-byte SHA-256 signature tag removed that error.
- rpm then rejected the signature region tag (`tag 62 type 7 offset -48 count 3: BAD`), showing
that RPM 6.1 enforces exact region/offset conventions beyond what was implemented here.
Conclusion: the native RPM generator is deferred with this evidence recorded; the tooling needed
to finish and validate it exists in this environment. CI workflow changes are template-only and
have not run on real runners.
## VoidLibrary Migration: Pure Module Expansion (GCC 16.2, VoidLibrary `0002e74`)
In the separate clone (`/tmp/opencode/vl-migrate`, never the shared checkout):
```sh
vbs build --project /tmp/opencode/vl-migrate --build-dir /tmp/opencode/vl-migrate/build2 \
--profile debug --target Void_Fsm --target Void_Storage --target Void_IPC --target Void_Service \
--target Void_Resilience --target Void_Containers --target Void_Binary --target Void_IO --jobs 8
```
- **exit 0**, 18 actions: `libVoid_Containers.a`, `libVoid_Binary.a`, `libVoid_IO.a`,
`libVoid_Service.a`, `libVoid_Resilience.a`, `libVoid_Storage.a`, `libVoid_Fsm.a`,
`libVoid_IPC.a` plus their internal dependency archives - all natively, with no CMake.
- The module table (`recipes/VoidLibrary/VoidLibraryRecipe.cpp`, mirrored in
`contrib/voidlibrary-migration/`) now describes these modules with their internal dependencies;
none requires an external library.
- Upstream [Void/Library#61](https://git.faumaray.com/Void/Library/issues/61) was updated with the
result and the remaining gaps (Net/Sqlite/Stacktrace/Script need Boost/OpenSSL/SQLite3/Lua).
## VoidLibrary Migration: Net & Sqlite (GCC 16.2, VoidLibrary `0002e74`)
In the separate clone, with `dev cpp-gcc -p openssl -p boost -p sqlite`:
```sh
vbs build --project /tmp/opencode/vl-migrate --build-dir /tmp/opencode/vl-migrate/build3 \
--profile debug --target Void_Net --target Void_Sqlite --jobs 8
```
- **exit 0**, 13 actions: compiles `src/Net/{Http,HttpServer,Server,Socket,Url,WebSocket}.cpp` and
`src/Sqlite/Sqlite.cpp`, then archives `libVoid_Net.a` and `libVoid_Sqlite.a` - no CMake.
- The embedding `build.cpp` links the system libraries on the module targets
(`-lssl -lcrypto -lboost_url -ldl`, `-lsqlite3`).
- [Void/Library#61](https://git.faumaray.com/Void/Library/issues/61) was updated with the result.
## VoidLibrary Migration: Complete Module Set (GCC 16.2, VoidLibrary `0002e74`)
In the separate clone, with `dev cpp-gcc -p openssl -p boost -p sqlite -p libsodium -p lua`:
```sh
vbs build --project /tmp/opencode/vl-migrate --build-dir /tmp/opencode/vl-migrate/build4 \
--profile debug --jobs 8
```
- **exit 0**: `built (134 executed, 0 cached)` - every one of the 57 modules compiled, 37 module
archives were produced, and the linked `void_smoke` runs (exit 0). No CMake involved.
- The module table was generated from each module's `module.cmake` internal dependencies; the
embedding `build.cpp` links the external libraries (`-lssl -lcrypto -lboost_url -ldl`,
`-lsqlite3`, `-lsodium`, `-llua`, `-lboost_stacktrace_addr2line`).
- [Void/Library#61](https://git.faumaray.com/Void/Library/issues/61) was updated: the description
covers the whole library; the in-repo `build.cpp` (plus tests/install/packaging) is what remains.
## Migration Tooling `vbs migrate` (GCC 16.2, pin `0002e74`)
- `FullV1Tests.cmake_lists_import_renders_build_cpp_scaffold` **passed**: a sample CMakeLists with
`set()`, `add_library(... STATIC ...)`, `target_include_directories`, `target_compile_definitions`,
`add_executable`, `target_link_libraries` and `install(TARGETS ... DESTINATION bin)` imports to
two targets with the expected sources, include dirs, defines, link edge and install rules; the
rendered scaffold contains `static_library("demo_lib")`, `executable("demo_app")`,
`.link(t_demo_lib` and `.install("bin")`.
- A dry run over this project's own `CMakeLists.txt` produced a valid scaffold with
`.sources({"sdk/Build.cpp", "sdk/Json.cpp"})`, sanitized identifiers for `::` alias targets and
expanded `${CMAKE_CURRENT_SOURCE_DIR}`.
- CLI contract covers `--help` and a missing input file (exit 1).
## Editor Plugin Asset Export (GCC 16.2, pin `0002e74`)
```sh
vbs ide plugin --project <proj> --build-dir <build> --editor vscode --output <dir>
```
- Writes `package.json` (six commands: build, test, install, package, daemon start/status),
`extension.js` (spawns the resolved `vbs` executable in a terminal) and `README.md`.
- `FullV1Tests.ide_plugin_assets_export_vscode_extension` **passed**: three files written, the
manifest parses as strict JSON with six contributed commands, the script embeds the configured
`vbs` path and the `vbs.build`/`vbs.package` ids, and a Zed request is rejected explicitly.
- CLI contract covers `--help` and the missing `--output` error.
## VS Code Extension Repository (GCC 16.2, pin `0002e74`)
- `vbs ide plugin --editor vscode --output DIR` now emits a portable extension: commands are
plain `vbs` invocations and `--project` comes from the VS Code workspace folder at runtime;
the executable falls back to `VBS_BIN` or `vbs` (no machine-specific paths).
- `FullV1Tests.ide_plugin_assets_export_vscode_extension` **passed** (3 files, 6 contributed
commands, `workspaceFolders` and `VBS_BIN || "vbs"` present, Zed rejected).
- Published to the new [Void/VbsVsCode](https://git.faumaray.com/Void/VbsVsCode) repository
(`package.json`, `extension.js`, `README.md`, `LICENSE`, `.vscodeignore`); the contents were
read back through the Gitea API.
## Zed Extension Repository (GCC 16.2, pin `0002e74`)
- `vbs ide plugin --editor zed --output DIR` writes `extension.toml`, `tasks.json` (six tasks) and
`README.md`; the unit test parses `tasks.json` as strict JSON with six entries.
- Published to the new [Void/VbsZed](https://git.faumaray.com/Void/VbsZed) repository
(`extension.toml`, `tasks.json`, `README.md`); contents confirmed through the Gitea API.
## #61 VBS-Side Gaps Fixed (GCC 16.2, pin `0002e74`)
- **Orphan reaping**: `ProcessRequest::descendant_grace` (default 5 s, 0 = wait forever) bounds
the post-leader group drain, after which the group is terminated and reaped until `waitpid`
reports no children. `process_supervisor_exec_failure_and_early_leader_grandchild_kill` gained a
no-timeout case: it returns in well under 5 s and the escaped grandchild never writes its
sentinel (**passed**, 1.10 s).
- **Signing size limit**: the installer signs `vbs-installer-v1\n<sha256>\n` (the archive digest is
streamed with `sha256_file_hex`), writes `<archive>.msg`, and never loads the archive into
memory; the install test verifies the signature over the message and that a tampered digest
fails (**passed**, 6.83 s).
- **native_builder options**: `FrontendOptions::extra_environment` is applied to every descriptor
process, the native provider forwards `VBS_DEP_OPTION_<KEY>`/`VBS_DEP_NAME`, and
`Void::Build::dependency_option(name)` reads them; the native-subproject fixture now throws
unless it receives `SUB_MATH_ENABLED=yes` (**passed**, 4.16 s).
## WiX/MSI-Style Packaging (GCC 16.2, pin `0002e74`)
- `vbs install --archive FILE --archive-format wix` writes a WiX v3 source with deterministic
Product/Upgrade GUIDs, a directory per installed path segment, one Component/File per installed
file, and a Feature referencing `ProductComponents`.
- `python3 -c "xml.etree.ElementTree.parse(...)"` parses it: root `{...}Wix`, Product
`CliHiPkg 0.1.0`, and **4** `File` elements matching the installed files.
- `FullV1Tests.foreign_cmake_meson_providers_bridge_and_relocatable_install` asserts the Product,
Version, UpgradeCode, a `Source="bin/cli_hi"` File and the ComponentGroup (**passed**, 7.16 s).
- Full CTest: **8 / 8 passed** in 281.07 s.
## Coverage-Guided Fuzzing (Clang 23.1.5 + libFuzzer, pin `0002e74`)
```sh
VOID_INCLUDE_DIR=/tmp/opencode/vl-pin/include dev cpp -c bash fuzz/run.sh 30
```
- Built `fuzz/fuzz_parsers.cpp` with `clang++ -fsanitize=fuzzer,address,undefined` and ran for
30 s: **1,541,020 executions, no crashes or sanitizer reports**, and libFuzzer emitted a
recommended dictionary from the observed inputs.
- Targets: `Void::Json::Strict::parse`, `Void::Semver::parse_range`, `Void::Semver::parse_strict`
(all header-only). TOML, lockfile and tar remain in the deterministic mutation harness because
their implementations are not header-only.
- No repo build changed, so the last full CTest run (8/8, 281.07 s at `fd9e867`) remains valid.
## Remote Execution Worker Protocol (GCC 16.2, pin `0002e74`)
- `vbs-registry` adds `POST /api/v1/workers`, `POST /api/v1/workers/<id>/heartbeat`,
`GET /api/v1/workers`, `POST /api/v1/actions/lease`, and
`POST /api/v1/actions/<key>/result` on top of the HTTP CAS.
- `RegistryTests.remote_worker_registration_lease_and_result_upload` **passed** (391 ms):
registration returns a worker id, heartbeat and listing work, a lease returns a token and the
current record, a second lease returns 409, a wrong token returns 403, the leased token stores
the result (visible through the CAS GET), and leasing an unknown action returns 404.
- Full CTest: **8 / 8 passed** in 280.81 s.
## `vbs worker` Client (GCC 16.2, pin `0002e74`)
- `RegistryTests.worker_cli_leases_publishes_and_reports_result` **passed** (417 ms): with a
local StateStore holding an output blob and an action record, the worker CLI registers,
leases the action, publishes the blob and record into the registry CAS, submits the result
with the lease token, and the registry afterwards serves the record (`winapp`) and the exact
blob bytes (`WORKER_OUTPUT`).
- Full CTest: **8 / 8 passed** in 281.23 s.
## Distributed Action Queue (GCC 16.2, pin `0002e74`)
- Registry: `POST /api/v1/queue` enqueues SHA-256 action keys (publish scope), `POST
/api/v1/queue/lease` leases the oldest unleased key to a worker (TTL 1..3600), `GET
/api/v1/queue` lists pending and leased keys. A result upload removes the key from the queue.
- `RegistryTests.worker_action_queue_enqueue_lease_and_complete` **passed** (366 ms): two keys are
enqueued, leased in order, a third lease returns 404, and the listing shows the leased keys.
- Full CTest: **8 / 8 passed** in 281.42 s.
- Also opened [Void/Library#64](https://git.faumaray.com/Void/Library/pulls/64) for the native
VoidLibrary build description.
## Queue-Driven Worker Mode (GCC 16.2, pin `0002e74`)
- `vbs worker --queue --record ... --build-dir ...` leases the next queued key instead of
`--action-key`, then publishes blobs/record and submits the result.
- `RegistryTests.worker_cli_leases_publishes_and_reports_result` **passed** (435 ms) for both the
direct and queue-driven modes; afterwards `GET /api/v1/queue` reports `"pending":[]`.
- Full CTest: **8 / 8 passed** in 287.29 s.
## Continuous Worker Loop (GCC 16.2, pin `0002e74`)
- `vbs worker --queue` (no `--record`) loops: it leases a queued action, exports the record from the local state store, publishes blobs/record, submits the result, and repeats until the queue is empty; `--once` stops after one action. Lease failures are retried up to three times; locally unbuilt actions are skipped with a warning.
- `RegistryTests.worker_cli_leases_publishes_and_reports_result` **passed** (506 ms), covering direct, single queue and continuous loop modes; the loop output contains the action key and `queue empty`.
- Full CTest: **8 / 8 passed** in 294.19 s.
## Lease Renewal & Idle Timeout (GCC 16.2, pin `0002e74`)
- `POST /api/v1/actions/<key>/renew` extends a live lease when the token matches (403 otherwise, 409 when unleased), and `vbs worker --idle-timeout N` keeps watching an empty queue for N seconds (exit 0 afterwards); `--once` stops after one action.
- `RegistryTests.worker_cli_leases_publishes_and_reports_result` **passed** (1.54 s): the idle worker ran for >= 900 ms, renewal succeeded, and a wrong token was rejected.
- Full CTest: **8 / 8 passed** in 302.11 s.
## Warm-Build Latency (GCC 16.2, pin `0002e74`)
- Descriptor identity inputs and cached headers are hashed only when their stat fingerprint
(size + mtime, persisted in `.vbs/config/identity_cache.json` / `.headers.json`) changes.
Legacy hash-only metadata is upgraded in place.
- Descriptor check on the benchmark project: **~106 ms before, ~0.8 ms warm after** (the first
run seeds the memo once).
- `benchmarks/compare.sh` (20 sources): **vbs-warm 92 ms** (was ~209 ms), cmake-warm 8 ms,
meson-warm 175 ms; vbs-cold 2580 ms, cmake-cold 97 ms, meson-cold 246 ms.
- `vbs ide plugin --editor vscode` emits `test/extension.test.js` and `npm test`; running the
generated harness with Node 24 against a mocked VS Code API prints
`extension tests passed: 6 commands`.
- Full CTest: **8 / 8 passed** in 288.56 s.
## Test Labels, Resource Locks & Parallel Tests (GCC 16.2, pin `0002e74`)
- SDK: `.label("fast")` and `.resource("shared")` are serialized by the descriptor and parsed
back into `TargetRecord`/`ResolvedTargetSummary`.
- Runner: `vbs test --label LABEL` filters by label; tests run on a `--jobs`-bounded thread pool
where a resource is held exclusively for the duration of its test.
- `FullV1Tests.test_labels_filter_and_resource_locks_serialize` **passed** (3.81 s): with
`--label fast` only `lab_a`/`lab_c` run; with 4 jobs the shared-resource test intervals in
`order.log` never overlap (a manual run shows `a-start a-end b-start b-end`).
- Full CTest: **8 / 8 passed** in 295.18 s.
## CTest-Style Fixtures (GCC 16.2, pin `0002e74`)
- SDK: `.fixture_setup("db")`, `.fixture_required("db")`, `.fixture_cleanup("db")`; serialized by
the descriptor and parsed back into `TargetRecord`/`ResolvedTargetSummary`.
- Runner: requiring tests pull in the fixture's setup/cleanup automatically; the parallel
scheduler enforces setup -> users -> cleanup ordering via prerequisites, and a failed setup
marks dependents as skipped (`SKIPPED '...' (fixture setup failed)`) while the run fails.
- `FullV1Tests.test_fixtures_setup_required_cleanup_ordering` **passed** (4.01 s): with
`--label uses`, `order.log` is exactly `setup, use_*, use_*, cleanup`; with `--label baduse`
the run fails and `bad_use` never passes.
- Full CTest: **8 / 8 passed** in 302.00 s.
## CDash Reporting (GCC 16.2, pin `0002e74`)
- `vbs test --cdash-output FILE` writes a CTest-compatible `Test.xml` (`Site`/`Testing`/
`TestList` with `Status`, `Name`, `Output`, `ElapsedTime`).
- `vbs test --cdash URL --cdash-project NAME [--cdash-build NAME]` POSTs a
`multipart/form-data` submission (`type=Test`, `project`, `build`, `content=Test.xml`) to
`<URL>/submit.php?project=NAME`.
- `RegistryTests.cdash_test_report_output_and_submission` **passed** (2.50 s): a loopback HTTP
server captured the POST (query `project=Demo`, multipart content type, `Test` field and the
embedded XML), and the written report contains both a passed and a failed test.
- Full CTest: **8 / 8 passed** in 305.48 s.
## Remote Action Execution (GCC 16.2, pin `0002e74`)
- `vbs worker --queue` leases an action, fetches its record from the CAS, and when the record
carries an execution spec (`command`, `working_directory`, `inputs`, `output_paths`) it
downloads and verifies the input blobs, materializes them, runs the command (timeout
`--exec-timeout`, default 600 s), stores the outputs and submits the result.
- `RegistryTests.worker_executes_remote_action_spec` **passed** (434 ms): a seeded spec
`cat input.txt > output.txt` produced `output.txt` locally, the CAS record contains
`output.txt` and `"exit_code":0`, and the output blob is retrievable with the exact bytes.
- Full CTest: **8 / 8 passed** in 301.38 s.
## Parallel Worker Drain (GCC 16.2, pin `0002e74`)
- `vbs worker --queue --parallel N` starts N lease/execute loops sharing one worker
registration; the registry's exclusive leases guarantee each action runs once.
- `RegistryTests.worker_parallel_drains_queue_without_duplicates` **passed** (836 ms): two
queued actions (`sleep 0.4` each) both started exactly once, their start/end intervals
overlapped (real concurrency), and `GET /api/v1/queue` reported `"pending":[]` afterwards.
- Full CTest: **8 / 8 passed** in 303.93 s.
## UDIF/DMG-Style Packaging (GCC 16.2, pin `0002e74`)
- `vbs install --archive demo.dmg --archive-format dmg` produced a 4608-byte file: 4096-byte tar
payload + 512-byte koly trailer.
- Independent Python parse: `koly`, version 4, header 512, `dataForkLength == file-512`,
checksum type 2 with stored `0x5e980f1f` equal to `zlib.crc32(payload)`, sector count 8,
and `ustar` at offset 257 of the payload.
- The install test asserts the same trailer fields and recomputes the CRC in C++ (**passed**,
6.31 s); full CTest **8 / 8** in 308.02 s.
- Not mountable on macOS yet: DiskImageMounter needs an HFS+/APFS payload (macOS-only work).
## Full CMake File API Reply Set (GCC 16.2, pin `0002e74`)
- The reply index now references `codemodel-v2`, `cache-v2`, `cmakeFiles-v1` and `toolchains-v1`
(plus per-target and per-directory files), each parsed back and asserted in
`ide_integration_compdb_build_cpp_and_editor_configs_end_to_end` (**passed**, 3.12 s).
## VSIX Packaging (GCC 16.2, pin `0002e74`)
- `vbs ide plugin --editor vscode --output DIR --vsix dist/vbs-tools.vsix` writes the extension
sources plus a ZIP containing `extension.vsixmanifest`, `[Content_Types].xml` and
`extension/{package.json,extension.js,README.md,test/extension.test.js}`.
- Python `zipfile` reads it back: 6 entries, `testzip()` reports no CRC errors, the manifest has
`Id="vbs-tools"` and `Path="extension/package.json"`, and the packaged
`node test/extension.test.js` prints `extension tests passed: 6 commands`.
- `FullV1Tests.ide_plugin_assets_export_vscode_extension` parses the central directory itself,
recomputes each entry's CRC-32 and asserts the layout (**passed**, 34 ms).
- Full CTest: **8 / 8 passed** in 305.48 s.
## Limits and Unrun Checks
1. **HTTPS git fetch**: the host shell is proxy-restricted, but the Docker container could clone `https://git.faumaray.com/Void/VoidLibrary.git`; the pinned commit `3e254055e081a104f08df68dde39711bc7813518` was fetched directly for the verification above. A separate configure against the local `/home/faumaray/Projects/Library` checkout via `VBS_VOID_SOURCE_DIR` also succeeded (development-only override, checkout unmodified).
2. **Conan2 live installation**: `conan` is absent in `dev cpp-gcc`; automated testing verified explicit missing-prerequisite failure (`FullV1Tests.cpp`). Live `conan` container verification (Track B3) remains unrun.
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. **Remaining Post-v1 Roadmap ([21-expansion-roadmap.md](../roadmap/21-expansion-roadmap.md) & [20-future-translation-platforms.md](../roadmap/20-future-translation-platforms.md))**: Live `conan` container verification, Track C (Windows/MSVC, macOS/Apple Clang, dual-profile cross-compilation), Track D1/D2 acceptance scenarios (unit/integration suites pass in Docker; see above), Track D3 (SBOM/signatures), Track E2 (`workspace.cpp`), Track E3 (daemon core and bounded `describe` are done; build-serving requests and external editor plugins remain), and Track E4 (`Void::Net`/`Void::Sqlite` alignment) remain planned scope.
6. **Track D3 signing / Track C ports**: the Ed25519 primitives are implemented and pass both the no-OpenSSL gating tests and the OpenSSL-backed round-trip (verified against Nix OpenSSL 3.5.9 in `build/openssl`); `vbs publish`/`vbs build --locked` signature enforcement is not wired yet. macOS/Windows platform backends are unverified because no such hosts are available. These remain unrun rather than claimed.