feat(daemon,platform): add Unix-socket daemon core, split Linux platform backends, and fix CMake feature-carrier translation
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 7s

This commit is contained in:
faumaray committed 2026-12-03 16:10:25 +03:00
1 parent 55ea305528
commit 0bde74f739
20 files changed
+1194 -21

No files matched your search

+30 -1
View File
@@ -191,10 +191,39 @@ Ed25519 package/binary signing is **not** implemented: `Void::Crypto` has no Ed2
It is requested upstream as [Void/Library#36](https://git.faumaray.com/Void/Library/issues/36)
(`VL-014`) rather than faked with a weaker scheme.
## 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.
## 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 (`vbs daemon` local socket server + external editor plugins), and Track E4 (`Void::Net`/`Void::Sqlite` alignment) remain planned scope.
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 is 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 pinned VoidLibrary exposes Ed25519 in `Void::Crypto`, but it requires the OpenSSL backend, which is not available in `dev cpp-gcc`; macOS/Windows platform backends are also unverified because no such hosts are available. Both remain unrun rather than claimed.