build: bump VoidLibrary pin to 0002e74 (built-in Ed25519 backend)
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 4s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 10s

This commit is contained in:
faumaray committed 2026-12-03 18:25:01 +03:00
1 parent a02d2b0d5d
commit 42172a24f8
12 files changed
+37 -13

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
# VoidLibrary Upstream Feature Requests
Pinned VoidLibrary revision: `3e254055e081a104f08df68dde39711bc7813518` (merged `feat/upstream-vbs-requests` covering `VL-001`..`VL-013`; upgraded from `9931c5ffc4844a5e09e1b1db35b3d29c5097c3a5`).
Pinned VoidLibrary revision: `0002e74a7da94a756f55a4a5574d20b77736c185` (upstream `main`; includes the built-in Ed25519 backend from #52; previously `3e254055e081a104f08df68dde39711bc7813518`).
## Status Summary
+4 -3
View File
@@ -86,14 +86,15 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
- **Wave 17 (VoidLibrary #52 Follow-up: Built-in Ed25519 Capability Probe)**:
- Issue [#52](https://git.faumaray.com/Void/Library/issues/52) (built-in Ed25519 backend) was resolved upstream. `Provenance::signing_available()` in `src/Provenance/Signing.cpp` now probes an actual Ed25519 sign operation instead of assuming the OpenSSL backend, so a built-in backend is used automatically and the error message no longer claims OpenSSL specifically.
- Verified against upstream `main` exported to `/tmp/opencode/vl-main` **without OpenSSL**: `Signing` 4/4 (the crypto round-trip actually runs, 151.8 ms) and `SignatureEnforcement` 3/3. The pinned VoidLibrary remains `3e254055`; bumping the pin to a release containing #52 is a separate dependency decision.
- Verified against upstream `main` exported to `/tmp/opencode/vl-main` **without OpenSSL**: `Signing` 4/4 (the crypto round-trip actually runs, 151.8 ms) and `SignatureEnforcement` 3/3.
- The VoidLibrary pin was then bumped to `0002e74a7da94a756f55a4a5574d20b77736c185` (upstream `main`, containing #52) in [CMakeLists.txt](../../CMakeLists.txt) and [build.cpp](../../build.cpp), with the pin assertions in `tests/DescribeContracts.cmake` and `tests/ExampleContexts.cpp` updated.
## Remaining future scope
- **Post-v1 Expansion Roadmap ([21-expansion-roadmap.md](../roadmap/21-expansion-roadmap.md) & [20-future-translation-platforms.md](../roadmap/20-future-translation-platforms.md))**: Live `conan` CLI verification (Track B3), Track C (macOS/Windows ports + dual-profile cross-compilation), Track D3 signing (SBOM, Ed25519 primitives, trusted-key enforcement, and the #52 built-in-backend capability probe done; binary-variant signing, key distribution, and the VoidLibrary pin bump remain), Track E3 (daemon core, bounded `describe` and build-serving done; external editor plugins and dependency materialization inside the daemon remain), and Track E4 (`Void::Net`/`Void::Sqlite` alignment) remain planned scope.
- **Post-v1 Expansion Roadmap ([21-expansion-roadmap.md](../roadmap/21-expansion-roadmap.md) & [20-future-translation-platforms.md](../roadmap/20-future-translation-platforms.md))**: Live `conan` CLI verification (Track B3), Track C (macOS/Windows ports + dual-profile cross-compilation), Track D3 signing (SBOM, Ed25519 primitives, trusted-key enforcement, the #52 built-in-backend capability probe, and the VoidLibrary pin bump to `0002e74` done; binary-variant signing and key distribution remain), Track E3 (daemon core, bounded `describe` and build-serving done; external editor plugins and dependency materialization inside the daemon remain), and Track E4 (`Void::Net`/`Void::Sqlite` alignment) remain planned scope.
## Environment notes & upstream boundaries
- External VoidLibrary pin `3e254055e081a104f08df68dde39711bc7813518` is set in [CMakeLists.txt](../../CMakeLists.txt), [cmake/VoidDependency.cmake](../../cmake/VoidDependency.cmake), and [build.cpp](../../build.cpp). VBS never writes to `/home/faumaray/Projects/VoidLibrary`.
- External VoidLibrary pin `0002e74a7da94a756f55a4a5574d20b77736c185` is set in [CMakeLists.txt](../../CMakeLists.txt) (`VBS_VOID_REVISION`, consumed by [cmake/VoidDependency.cmake](../../cmake/VoidDependency.cmake)) and [build.cpp](../../build.cpp). VBS never writes to `/home/faumaray/Projects/VoidLibrary`.
- `Void::Crypto` and `Void::Archive` now build unconditionally with zero external dependencies in `dev cpp-gcc`; only `SQLite3`, `Boost`/`OpenSSL` (`Void::Net`), and `conan` remain optional external prerequisites.
- See [VERIFICATION.md](VERIFICATION.md) for all observed builds, tests, Clang 23 matrix runs, formatting checks, benchmark results, and real self-build verification.
+1 -1
View File
@@ -23,5 +23,5 @@ Base HEAD: `fe0d1a6`
| Wave 14 (Track E3 daemon core + bounded `describe` + Track C1 platform split) | Unix-socket `vbs daemon` holding warm `StateStore`/`InotifyWatcher` with `ping/status/gc/recover/describe/shutdown`, CLI + tests; bounded `describe` graph summary (`target_names` ≤ 128 × 200 bytes, `profile` ≤ 128 bytes, 10 s eval timeout); `src/Platform/Linux/` backend split with `HostOs` boundary; CMake 4.5 `@cmake_cxx_std@` feature-carrier translation fix | COMPLETE & VERIFIED (GCC 16.2, pinned VoidLibrary `3e25405`, 8/8 CTest suites; `Daemon` suite 6/6 under `dev cpp-gcc`; live `vbs daemon describe` CLI round-trip verified in `vbs_cli_contract`) | `include/Void/Build/Daemon/Daemon.hpp`, `src/Daemon/Daemon.cpp`, `tests/DaemonTests.cpp`, `include/Void/Build/Platform/Host.hpp`, `src/Platform/Linux/`, `src/Main.cpp`, `src/Provider/Translator.cpp`, `tests/CliContracts.cmake`, docs |
| Wave 15 (Track D3 signed-package enforcement) | Optional `signature`/`public_key` in `ReleaseRecord`/`SolvedPackage`/`LockedSourceEntry` + `vbs.lock`; `vbs publish --signing-key`; registry signature metadata storage/serving with hex validation; `vbs build\|test --trusted-public-key` fail-closed enforcement before extraction; `Provenance::verify_trusted_package_signature` trust policy | COMPLETE & VERIFIED (GCC 16.2, pinned VoidLibrary `3e25405`, 8/8 CTest; OpenSSL-enabled Signing 4/4, SignatureEnforcement 3/3, signed registry E2E) | `include/Void/Build/Provenance/Verification.hpp`, `src/Provenance/Verification.cpp`, `include/Void/Build/Package/{Solver,Lockfile,RegistryClient}.hpp`, `src/Package/{Solver,Lockfile,RegistryClient}.cpp`, `registry/`, `src/Main.cpp`, `tests/{SignatureEnforcementTests.cpp,RegistryTests.cpp}`, docs |
| Wave 16 (Track E3 daemon build serving) | In-process daemon `build` request reusing graph lowering + `Execution::execute_graph` against the warm `StateStore`; bounded `profile`/`targets`/`jobs`; `vbs daemon build` CLI; cache-reuse test | COMPLETE & VERIFIED (GCC 16.2; Daemon suite 7/7) | `src/Daemon/Daemon.cpp`, `include/Void/Build/Daemon/Daemon.hpp`, `src/Main.cpp`, `tests/DaemonTests.cpp`, `tests/CliContracts.cmake`, docs |
| Wave 17 (VoidLibrary #52 follow-up) | `signing_available()` probes the real Ed25519 capability instead of `has_openssl_backend()`; verified against upstream `main` without OpenSSL (Signing 4/4 crypto path, SignatureEnforcement 3/3); pin bump remains a dependency decision | COMPLETE & VERIFIED (GCC 16.2; pinned-library CTest 8/8) | `src/Provenance/Signing.cpp`, `include/Void/Build/Provenance/Signing.hpp`, `tests/SigningTests.cpp`, docs |
| Wave 17 (VoidLibrary #52 follow-up + pin bump) | `signing_available()` probes the real Ed25519 capability instead of `has_openssl_backend()`; VoidLibrary pin bumped to `0002e74a7da94a756f55a4a5574d20b77736c185` (contains #52) and pin assertions updated | COMPLETE & VERIFIED (GCC 16.2, fresh remote fetch of the pin, no OpenSSL: Signing 4/4 crypto path, SignatureEnforcement 3/3, full CTest 8/8) | `CMakeLists.txt`, `build.cpp`, `src/Provenance/Signing.cpp`, `include/Void/Build/Provenance/Signing.hpp`, `tests/{SigningTests.cpp,ExampleContexts.cpp,DescribeContracts.cmake}`, docs |
| Future (Plan 20 Slice 3 / Tracks C, D3 binary signing, E3 daemon dependency materialization/editor plugins, E4, live `conan`) | Live `conan` CLI verification; macOS/Windows/cross-compile; binary-variant signing and key distribution; daemon-side dependency materialization and editor plugins; `Void::Net`/`Void::Sqlite` alignment | PLANNED (unimplemented) | [21-expansion-roadmap.md](../roadmap/21-expansion-roadmap.md), [20-future-translation-platforms.md](../roadmap/20-future-translation-platforms.md) |
+23
View File
@@ -328,6 +328,29 @@ Issue #52 was closed upstream with a portable built-in Ed25519 backend. VBS's
- 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`.
## 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).
+1 -1
View File
@@ -61,7 +61,7 @@ flowchart LR
| --- | --- | --- |
| **D1 — Shared HTTP Content-Addressed Action Cache (CAS)** *(verified: cross-build-directory 100% cache hit)* | Push/pull action records and output blobs (`PUT/GET /api/v1/cas/blobs/{sha256}`, `/api/v1/cas/actions/{action_key}`) against `vbs-registry` or any compatible HTTP CAS server with bearer auth and digest verification on every read. Action keys are normalized to be build-directory independent; `vbs build/test --remote-cache URL [--remote-cache-token-env VAR]` (or `VBS_REMOTE_CACHE` / `VBS_REMOTE_CACHE_TOKEN`). | Cold CI build populates remote CAS; second clean machine achieves 100% cache hit with verified SHA-256 outputs. |
| **D2 — Fast Hashing & Parallel Snapshot Pipeline** *(verified: 5,001-file warm no-op 374 ms)* | Adopt `Void::Crypto` BLAKE2b / hardware-accelerated SHA-256 (when available) + parallel snapshot hashing across `Void::Concurrency::ThreadPool` + optional `Void::Sqlite` indexed state store for >10k-file monorepos. Snapshot capture revalidation now hashes on a bounded thread pool for trees of 32+ files. | Sub-second warm no-op on 5,000-file synthetic benchmark fixture (`vbs_benchmarks`). |
| **D3 — Supply-Chain Provenance & Signed Packages** *(SBOM, Ed25519 signing primitives, and trusted-key enforcement implemented; OpenSSL backend required for crypto)* | Emit SPDX/CycloneDX SBOM JSON from `vbs.lock` + `BuildGraph` (`vbs build/test --sbom FILE --sbom-format spdx\|cyclonedx`, `src/Provenance/Sbom.cpp`); Ed25519 detached-signature primitives in `Void::Build::Provenance::Signing` (`include/Void/Build/Provenance/Signing.hpp`, `src/Provenance/Signing.cpp`): 0600 seed generation, public-key derivation, canonical `vbs-package-v1` package message, and sign/verify; package signature/public-key metadata persisted in `vbs.lock` and registry releases; `vbs publish --signing-key FILE`; `vbs build\|test --trusted-public-key HEX` enforced before extraction via `Provenance::verify_trusted_package_signature` (`include/Void/Build/Provenance/Verification.hpp`). | SBOM is deterministic and valid JSON; signing primitives pass round-trip/tamper/malformed tests (`tests/SigningTests.cpp`); trusted-key policy tests pass with and without OpenSSL (`tests/SignatureEnforcementTests.cpp`); a signed publish -> deps update -> `--locked` trusted build succeeds and an untrusted/unsigned package fails closed before extraction (`RegistryTests.cpp`). |
| **D3 — Supply-Chain Provenance & Signed Packages** *(SBOM, Ed25519 signing primitives, and trusted-key enforcement implemented; OpenSSL or the built-in Ed25519 backend)* | Emit SPDX/CycloneDX SBOM JSON from `vbs.lock` + `BuildGraph` (`vbs build/test --sbom FILE --sbom-format spdx\|cyclonedx`, `src/Provenance/Sbom.cpp`); Ed25519 detached-signature primitives in `Void::Build::Provenance::Signing` (`include/Void/Build/Provenance/Signing.hpp`, `src/Provenance/Signing.cpp`): 0600 seed generation, public-key derivation, canonical `vbs-package-v1` package message, and sign/verify; package signature/public-key metadata persisted in `vbs.lock` and registry releases; `vbs publish --signing-key FILE`; `vbs build\|test --trusted-public-key HEX` enforced before extraction via `Provenance::verify_trusted_package_signature` (`include/Void/Build/Provenance/Verification.hpp`). | SBOM is deterministic and valid JSON; signing primitives pass round-trip/tamper/malformed tests (`tests/SigningTests.cpp`); trusted-key policy tests pass with and without OpenSSL (`tests/SignatureEnforcementTests.cpp`); a signed publish -> deps update -> `--locked` trusted build succeeds and an untrusted/unsigned package fails closed before extraction (`RegistryTests.cpp`). |
---