Files
Build-System/docs/agent-workflow/VERIFICATION.md
T
faumaray e15e2cb2b4
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 7s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 38s
feat(daemon): generate editor configuration files over the Unix socket
2026-12-03 20:38:09 +03:00

489 lines
32 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.
## 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.