Implement VoidBuildSystem v1 (Plans 01-19) with VoidLibrary integration
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 3s
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 3s
This commit is contained in:
1 parent
3cac890ce9
commit
ab64147f9d
114 files changed
+23777
-1392
No files matched your search
@@ -1,40 +1,40 @@
|
||||
# Development state
|
||||
|
||||
Updated: 2026-11-25
|
||||
Updated: 2026-11-26
|
||||
Branch: main
|
||||
HEAD: unborn; no commits
|
||||
Stage: VERIFIED — initial bootstrap and documentation complete
|
||||
Baseline: only .serena metadata existed; it is preserved and ignored.
|
||||
Git initialized locally. No remote configured, no staging/commit/push authorized.
|
||||
Stage: VERIFIED — Full v1 implementation (Plans 01–19) complete, maximal VoidLibrary reuse wired, ready for commit & push
|
||||
|
||||
## Completed delivery
|
||||
## Completed delivery waves
|
||||
|
||||
- Root: integrated source inspection, verification evidence and final acceptance.
|
||||
- T-001: compiling bootstrap and declaration SDK complete; source ownership
|
||||
returned to root. The configured sol_implementer worker is closed.
|
||||
- README, SDK contract, requirements, architecture and twenty plans are written.
|
||||
- V-002 found one P2 UTF-8 serialization defect; root reproduced and corrected it.
|
||||
V-002-R1 returned READY with no remaining material findings. See REVIEW.md.
|
||||
- Both implementation and review workers are closed. No active file ownership
|
||||
remains outside root; no required initial-delivery work remains.
|
||||
- **Wave 0 (Naming Alignment & Upstream Tracker)**:
|
||||
- Standardized all C++ identifiers and paths on namespace `Void::Build`, umbrella `<Void/Build.hpp>`, PascalCase internal headers (`include/Void/Build/...`), PascalCase sources/types/enum constants, `snake_case` functions/methods, and CMake targets `VoidBuild_Sdk` (`Void::BuildSdk`), `VoidBuild_Core` (`Void::BuildCore`), `VoidBuild_Registry` (`Void::BuildRegistry`).
|
||||
- Documented 13 reusable VoidLibrary gaps and swappable local adapters in [VOIDLIBRARY_UPSTREAM_REQUESTS.md](../VOIDLIBRARY_UPSTREAM_REQUESTS.md).
|
||||
- **Wave 1 (Plans 01–07 — SDK & Core Native Engine)**:
|
||||
- Expanded declaration SDK (`build.cpp`, `build.profiles.cpp`, `include/Void/Build.hpp`, `src/Build.cpp`).
|
||||
- Built out-of-process host configuration frontend (`src/Config/Frontend.cpp`), dependency-propagating graph lowering (`src/Graph/Graph.cpp`), GCC/Clang toolchain discovery & capability probing (`src/Toolchain/Driver.cpp`), content-verified immutable snapshots (`src/Snapshot/Snapshot.cpp`), process group supervisor (`src/Platform/ProcessSupervisor.cpp`), isolated file ops (`src/Platform/FileOps.cpp`), CAS durable state store (`src/State/StateStore.cpp`), and parallel DAG scheduler (`src/Execution/Scheduler.cpp`).
|
||||
- **Wave 2 (Plans 09–10 — Editor CompDB & Watchers)**:
|
||||
- Implemented per-profile `compile_commands.json` projection with monotonic selection tickets, crash recovery, and unrelated root file preservation (`src/Editor/CompDb.cpp`).
|
||||
- Implemented recursive Linux `inotify` watcher (`src/Watch/Watcher.cpp`) with overflow rescan and strict `MetadataOnly` boundary vs `FullBuild`.
|
||||
- **Wave 3 (Plans 11–15, 18 — Packages, Foreign Providers, Bridge, Install & Self-Hosting)**:
|
||||
- Implemented TOML 1.0 parser/merger (`src/Package/Toml.cpp`), PubGrub-style SemVer solver with shorthand comparator adapter (`src/Package/Solver.cpp`), context-aware atomic CAS `vbs.lock` (`src/Package/Lockfile.cpp`), deterministic PAX/USTAR `.tar` builder & safe extractor (`src/Package/Archive.cpp`), source/binary materialization (`src/Package/Fetch.cpp`).
|
||||
- Implemented CMake File API & Meson introspection providers + explicit missing-tool Conan2 adapter (`src/Provider/Provider.cpp`), `cmake/bridge/VbsDeps.cmake` + `vbs bridge` (`src/Bridge/CMakeBridge.cpp`), staged relocatable install/export/uninstall (`src/Install/Installer.cpp`), native `VoidLibrary` recipe (`recipes/VoidLibrary/VoidLibraryRecipe.cpp`), and non-CMake `Void::Testing` generator (`src/SelfHost/TestRegistryGen.cpp`).
|
||||
- **Wave 4 (Plans 08, 16–17, 19 — Modern C++, Registry, Web UI, Benchmarks & CI)**:
|
||||
- Implemented P1689r5 module scanning & topological collation for GCC 16 and `clang-scan-deps`, header units, and unity batching excluding modules/per-file overrides (`src/Modules/ModuleScanner.cpp`).
|
||||
- Implemented `vbs-registry` HTTP/1.1 service (`registry/service/HttpServer.cpp`, `RegistryService.cpp`) with RBAC, salted password hashing, CSRF + HttpOnly SameSite cookies, immutable release 409 conflict checks, yank, redacted audit log, backup/restore, and DOM-safe web UI (`registry/web/`).
|
||||
- Implemented `vbs` CLI (`src/Main.cpp`), benchmark harness (`benchmarks/EngineBenchmarks.cpp`), five `Void::Testing` executables, three CMake contract scripts, and `.github/workflows/ci.yml` template.
|
||||
- **Wave 5 (Maximal VoidLibrary Reuse + Full Plan 08/11/12/16/18 Integration)**:
|
||||
- Replaced manual CLI loops & help strings across `src/Main.cpp`, `registry/service/Main.cpp`, and `benchmarks/EngineBenchmarks.cpp` with `Void::Argparse::Parser` (`<Void/Configuration/Argparse.hpp>`).
|
||||
- Replaced hand-rolled topological sorts, hex/URL encoding, UTF-8 validation, ASCII string helpers, scope guards, stopwatches, env lookups, and worker threads with VoidLibrary modules (`Void::Algorithms::topological_order`, `Void::Encoding::Hex`/`Url`, `Void::Unicode::validate_utf8`, `Void::Str`, `Void::Scope::on_exit`, `Void::Time::Stopwatch`, `Void::Configuration::get_env`/`get_env_or`, `Void::Concurrency::ThreadPool`).
|
||||
- Wired Plan 08 end-to-end into `Graph::lower_project_graph` (incompatible sanitizer rejection, unity batching, explicit `ActionKind::HeaderUnit`, GCC `-fmodule-mapper` & Clang two-step `.pcm` -> `.o` + transitive `-fmodule-file=` named modules & partitions) verified on BOTH GCC 16.2.0 and Clang 23.1.3.
|
||||
- Added live HTTP/1.1 `Package::RegistryClient` (`src/Package/RegistryClient.cpp`) + `vbs publish` + live `DependencySourceKind::Package` resolution in `vbs deps` / `vbs build` verified end-to-end against `vbs-registry`.
|
||||
- Added full native `recipes/SelfHost/VbsSelfHostRecipe.{hpp,cpp}` verified Stage 0 -> Stage 1 (full native `stage1/bin/vbs`, zero CMake) -> Stage 2 (`stage1/bin/vbs test` with trapped `cmake` on `PATH`).
|
||||
|
||||
## Next milestone
|
||||
## Remaining future scope
|
||||
|
||||
Implement the native configuration frontend and prerequisite graph/profile models
|
||||
from plans 02–04, with the snapshot/state contracts from 05/07. Prepare new scoped
|
||||
tasks against the actual repository and obtain the next milestone's scope approval.
|
||||
The existing initial approval does not mark future features complete. No unanswered
|
||||
decision blocks the delivered bootstrap and plans.
|
||||
- **Plan 20 ([20-future-translation-platforms.md](../roadmap/20-future-translation-platforms.md))**: Native foreign graph translation and non-Linux OS ports remain planned architectural design scope.
|
||||
|
||||
## Confirmed boundaries
|
||||
## Environment notes & upstream boundaries
|
||||
|
||||
See APPROVED_PLAN.md and PREFLIGHT.md. The initial skeleton must report its
|
||||
limited capabilities honestly. Native execution, TOML resolution, snapshots,
|
||||
watching, packages, registry and self-hosting remain roadmap work.
|
||||
|
||||
## Evidence
|
||||
|
||||
Local-source and independent pinned-upstream bootstrap builds passed. Each ran
|
||||
four CTest checks; the final SDK suite executes 17 cases. Exact-source formatting and
|
||||
documentation/requirement checks passed. See VERIFICATION.md for commands,
|
||||
provenance and limits. No native build or native self-host has run.
|
||||
- External VoidLibrary pin `9931c5ffc4844a5e09e1b1db35b3d29c5097c3a5` is preserved cleanly in [cmake/VoidDependency.cmake](../../cmake/VoidDependency.cmake), and VBS never writes to `/home/faumaray/Projects/VoidLibrary`.
|
||||
- `dev cpp-gcc` lacks external `SQLite3`, `OpenSSL`, `LibArchive`, and `conan`; VBS runs verified pure-C++/POSIX adapters while keeping upstream adapters behind optional compile-time switches in `cmake/VoidDependency.cmake`.
|
||||
- See [VERIFICATION.md](VERIFICATION.md) for all observed builds, tests, Clang 23 matrix runs, formatting checks, and benchmark results.
|
||||
Reference in new issue
Block a user