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
+56
-100
@@ -1,118 +1,74 @@
|
||||
# Bootstrap declaration SDK
|
||||
# Declaration SDK (`Void::Build`)
|
||||
|
||||
Status: implemented declaration subset, schema version 1. This documents the
|
||||
[public header](../include/vbs/build.hpp) and the compiled
|
||||
[example](../build.cpp), not a completed native build engine. The SDK is experimental;
|
||||
future incompatible protocol changes must change its schema version.
|
||||
Status: Full v1 declaration SDK, JSON `schema_version: 1`.
|
||||
Documents [include/Void/Build.hpp](file:///home/faumaray/Projects/VoidBuildSystem/include/Void/Build.hpp) and [src/Build.cpp](file:///home/faumaray/Projects/VoidBuildSystem/src/Build.cpp).
|
||||
|
||||
## Entry points and context
|
||||
The SDK uses namespace `Void::Build`, `PascalCase` types/enum constants, and `snake_case` functions/methods. Future incompatible schema changes increment `schema_version`.
|
||||
|
||||
`void build(vbs::Project&)` declares one concrete graph for one effective profile.
|
||||
`void profiles(vbs::Profiles&)` declares available profiles. The current example
|
||||
defines both and links them into `vbs_describe`; automatic loading of arbitrary
|
||||
projects and optional-profile fallback belong to the future frontend.
|
||||
## Entry Points and Profiles
|
||||
|
||||
`vbs::default_profiles()` contains debug (`-O0`, `-g`) and release (`-O3`, `-DNDEBUG`).
|
||||
`Profiles::add(name, options)` adds a distinct profile. `Profiles::resolve(name,
|
||||
compiler, os, architecture)` returns a `ProfileContext` with those target facts and
|
||||
the profile's options. Unknown names and invalid contexts throw
|
||||
`std::invalid_argument`.
|
||||
- `void build(Void::Build::Project &project)`: declares targets, dependencies, and install rules for one evaluated `ProfileContext`.
|
||||
- `void profiles(Void::Build::Profiles &profiles)`: declares build profiles (optional if using defaults).
|
||||
|
||||
`Project::context()` exposes name, compiler family, OS, architecture and effective
|
||||
compile options. The bootstrap harness accepts `--profile debug|release` and
|
||||
`--compiler gcc|clang`. OS and architecture come from its CMake configuration.
|
||||
Selecting Clang here does not prove a Clang build or probe a target toolchain.
|
||||
`Void::Build::default_profiles()` provides `"debug"` (`-O0`, `-g`) and `"release"` (`-O3`, `-DNDEBUG`).
|
||||
`Profiles` supports:
|
||||
- `add(name, compile_options)`
|
||||
- `inherit(name, parent, compile_options)`
|
||||
- `define(ProfileDescription)` (supports `compile_options`, `link_options`, `defines`, `parent`, `compiler`, `cxx_standard`, `lto`, `sanitizers`, `sysroot`, `compiler_path`, `reproducibility_epoch`, `nondeterministic`)
|
||||
- `resolve(name, compiler_or_opt, os, architecture)` -> returns an immutable `ProfileContext`, throwing `std::invalid_argument` on unknown profile names, missing parents, or profile inheritance cycles.
|
||||
|
||||
## Targets and source membership
|
||||
## Targets and Usage Requirements
|
||||
|
||||
`Project::executable(name)` and `static_library(name)` return handles to new target
|
||||
records. Names must be nonempty and unique in the target namespace. Other target
|
||||
kinds, cycle detection, usage propagation and command lowering are planned.
|
||||
`Project` supports seven `TargetKind` constructors:
|
||||
|
||||
| Operation | Recorded data |
|
||||
| Constructor | `TargetKind` |
|
||||
| --- | --- |
|
||||
| `target.sources({"src/main.cpp"})` | Explicit source files |
|
||||
| `target.sources(project.glob("src/*.cpp"))` | A symbolic glob |
|
||||
| `target.include_directory("include", visibility)` | Include path and visibility |
|
||||
| `target.compile_option("-Wall")` | An ordered compile option |
|
||||
| `target.link(other, visibility)` | A local target reference |
|
||||
| `target.link(dependency.target("Name::Target"), visibility)` | An imported target reference |
|
||||
| `project.executable(name)` | `TargetKind::Executable` |
|
||||
| `project.static_library(name)` | `TargetKind::StaticLibrary` |
|
||||
| `project.shared_library(name)` | `TargetKind::SharedLibrary` |
|
||||
| `project.header_only_library(name)` | `TargetKind::HeaderOnly` |
|
||||
| `project.object_library(name)` | `TargetKind::ObjectLibrary` |
|
||||
| `project.custom_action(name)` | `TargetKind::CustomAction` |
|
||||
| `project.test(name)` | `TargetKind::Test` |
|
||||
|
||||
`Visibility` values are `private_`, `public_`, `interface_`; the default is private.
|
||||
Source paths/patterns are retained without filesystem access. `SourceSet::file`
|
||||
and `SourceSet::glob` are also available. Repeated operations append records;
|
||||
semantic graph validation beyond the declaration invariants is future work.
|
||||
Target names must be nonempty and unique per `Project`. Operations validate inputs immediately and throw `std::invalid_argument` on invalid arguments or `std::logic_error` on expired handles or cross-project links.
|
||||
|
||||
## Dependencies and options
|
||||
|
||||
`Project::dependency(alias)` creates a unique dependency handle. It records one of:
|
||||
|
||||
- `.git(url, vbs::Commit{sha})`: a nonempty URL and an exact 40-hex-digit revision.
|
||||
- `.package(id, range)`: a nonempty package identity and version constraint string.
|
||||
|
||||
`.cmake(options)` selects the CMake builder for a source dependency. Options retain
|
||||
string, boolean or signed 64-bit integer types through `vbs::OptionValue`. Out-of-range
|
||||
integers, empty option names and contradictory source/builder declarations fail.
|
||||
Package range syntax is recorded but is not parsed or solved in this milestone.
|
||||
|
||||
Imported target names are symbolic; the future provider validates that they exist.
|
||||
An unset dependency source is permitted during declaration construction but fails
|
||||
when serializing a complete project. Source downloads, CMake execution, TOML and
|
||||
other providers are outside the implemented SDK.
|
||||
|
||||
## Ownership and failures
|
||||
|
||||
`Project` cannot be copied or moved. Target/dependency handles store a weak owner
|
||||
identity and index, so adding more records does not invalidate handles. Cross-project
|
||||
links and operations after owner destruction throw. An imported target also carries
|
||||
its dependency's owner identity.
|
||||
|
||||
`record()`, `targets()`, `dependencies()` and `Profiles::records()` expose borrowed
|
||||
const views. Do not retain element references across container growth or after owner
|
||||
destruction. Stable handles do not imply stable references into vectors.
|
||||
|
||||
Declaration errors are exceptions; the example harness catches them, prints a
|
||||
diagnostic and exits 2. Successful output is only JSON on stdout. The SDK is intended
|
||||
for one configuration evaluation at a time; it does not promise concurrent mutation.
|
||||
Ordinary user C++ executes as trusted code without a sandbox.
|
||||
|
||||
## JSON protocol
|
||||
|
||||
`Project::to_json()` emits a deterministic object with these fields:
|
||||
|
||||
| Field | Shape |
|
||||
| Method | Purpose |
|
||||
| --- | --- |
|
||||
| `schema_version` | Integer `1` |
|
||||
| `profile` | `name`, `compiler`, `os`, `architecture`, ordered `compile_options` |
|
||||
| `targets` | Ordered target records |
|
||||
| `dependencies` | Ordered dependency records |
|
||||
| `.sources(SourceSet)` | Explicit files (`{"a.cpp"}` / `SourceSet::file`), globs (`project.glob("src/*.cpp")`), or `SourceSet::module_interface` / `module_partition` / `header_unit` |
|
||||
| `.conventional_sources()` | Enable conventional source discovery (`src/`, `source/`, etc.) |
|
||||
| `.module_sources(SourceSet)` / `.header_unit(path)` | C++20/23/26 module units and explicit header units |
|
||||
| `.include_directory(path, visibility)` / `.system_include_directory(path, visibility)` | Scoped `-I` / `-isystem` paths |
|
||||
| `.compile_option(opt)` / `.compile_option(opt, visibility)` | Ordered compile flags |
|
||||
| `.define(macro, visibility)` | Scoped `-D` preprocessor defines |
|
||||
| `.link_option(opt, visibility)` | Scoped linker flags |
|
||||
| `.link(Target\|ImportedTarget, visibility)` | Local or foreign imported library links (`Visibility::Private`, `Public`, `Interface`) |
|
||||
| `.depends_on(Target)` | Explicit action prerequisite ordering (for example, codegen producer before consumer) |
|
||||
| `.cxx_standard(CxxStandard)` | `Default`, `Cxx17`, `Cxx20`, `Cxx23`, `Cxx26` |
|
||||
| `.precompiled_header(path)` / `.unity_build(enabled, batch_size)` | PCH and deterministic unity batching |
|
||||
| `.lto(LtoMode)` / `.sanitizer(Sanitizer)` | `LtoMode::None\|Full\|Thin`; `Sanitizer::Address\|Undefined\|Thread\|Memory\|Leak` |
|
||||
| `.per_file_option(source, opt)` | Per-TU compile flag override (excluded from unity batches) |
|
||||
| `.command(argv)` / `.inputs(paths)` / `.outputs(paths)` / `.working_directory(dir)` / `.env(k, v)` / `.nondeterministic(flag)` | Custom action execution specification |
|
||||
| `.enabled(flag)` | Enable/disable target lowering |
|
||||
| `.install(destination, component)` | Target installation rule |
|
||||
|
||||
Each target has `name`, `kind` (`executable` or `static_library`), `sources`
|
||||
(`kind`: `file`/`glob`, `path`), `include_directories` (`path`, `visibility`),
|
||||
`compile_options` and `links`. A link has `kind` (`local`/`imported`), `target`,
|
||||
`dependency` (empty for local links) and `visibility` (`private`/`public`/`interface`).
|
||||
## Dependencies, TOML Manifests & Install Rules
|
||||
|
||||
Each dependency has `name`, `source`, `builder` and `options`. A Git source has
|
||||
`kind: "git"`, `location` and `revision`; a package source has `kind: "package"`,
|
||||
`package` and `version`. Options are a key-sorted JSON object with their native
|
||||
string/bool/integer types. An unspecified builder is the empty string.
|
||||
- `project.dependency(alias)` registers a unique `Dependency` handle:
|
||||
- `.git(url, Commit{sha40})` (requires exact 40-hex commit hash)
|
||||
- `.path(local_path)`
|
||||
- `.archive(url, sha256)`
|
||||
- `.package(id, semver_range)` with optional `.registry(authority_url)` and `.feature(name)`
|
||||
- Builders: `.cmake(options)`, `.meson(options)`, `.conan(ref, options)`, `.native_builder(options)`
|
||||
- `.build_dependency(bool)` marks host-tool dependencies
|
||||
- `.target(exported_name)` produces an `ImportedTarget` handle for `.link(...)`
|
||||
- `project.dependencies_file(path)` records symbolic TOML manifest references (e.g. `vbs.deps.toml`) resolved and merged by the core engine (`vbs deps` / `vbs build`) with origin-preserving conflict checks.
|
||||
- `project.install_file(src, dest, component)` and `project.install_directory(src, dest, component)` declare non-target artifact installation rules.
|
||||
|
||||
Declaration order is preserved; string escaping covers quotes, backslashes and
|
||||
control characters. All strings, including keys, must be valid UTF-8 at serialization.
|
||||
`to_json()` preserves valid Unicode and throws `std::invalid_argument` on malformed
|
||||
UTF-8, including overlong sequences, surrogate encodings and values above U+10FFFF.
|
||||
Declaration methods may record raw bytes, but they cannot cross the JSON boundary
|
||||
without this validation. Non-UTF-8 filesystem names therefore require an explicit
|
||||
future path-encoding policy; they are not silently replaced or reinterpreted.
|
||||
This protocol currently describes inputs; it contains no resolved
|
||||
packages, expanded files, actions, build results or capability claims.
|
||||
`OptionValue` accepts `std::string`, `const char*`, `bool`, or signed/range-checked `std::int64_t` values.
|
||||
|
||||
## Tests
|
||||
## JSON Serialization (`schema_version: 1`)
|
||||
|
||||
`vbs_sdk_tests` uses Void::Testing. CTest checks the complete suite, named registration,
|
||||
CLI exit/output behavior and the four runtime contexts. The JSON test roundtrips
|
||||
through Void::Json::Strict; CMake independently parses example output. Registration
|
||||
checks ensure the aggregate test cannot pass merely because no SDK cases were found.
|
||||
`Project::to_json()` validates UTF-8 on every emitted string (rejecting malformed byte sequences, overlong encodings, surrogates `U+D800..U+DFFF`, and code points above `U+10FFFF` with `std::invalid_argument`) and emits deterministic JSON consumed by [Graph::ProjectDescription::from_json](file:///home/faumaray/Projects/VoidBuildSystem/include/Void/Build/Graph/Graph.hpp).
|
||||
|
||||
See [verification](agent-workflow/VERIFICATION.md) for actual commands and results,
|
||||
and [plan 01](roadmap/01-bootstrap-sdk.md) for milestone acceptance.
|
||||
See [tests/SdkDeclarations.cpp](file:///home/faumaray/Projects/VoidBuildSystem/tests/SdkDeclarations.cpp), [tests/ExampleContexts.cpp](file:///home/faumaray/Projects/VoidBuildSystem/tests/ExampleContexts.cpp), and [docs/agent-workflow/VERIFICATION.md](file:///home/faumaray/Projects/VoidBuildSystem/docs/agent-workflow/VERIFICATION.md).
|
||||
@@ -0,0 +1,259 @@
|
||||
# VoidLibrary Upstream Feature Requests
|
||||
|
||||
Pinned baseline inspected: `9931c5ffc4844a5e09e1b1db35b3d29c5097c3a5`.
|
||||
|
||||
This ledger tracks reusable, non-build-system-specific capabilities needed by
|
||||
VoidBuildSystem that are absent, incomplete, or tightly bound to external
|
||||
system libraries in the pinned VoidLibrary revision. Until a dedicated
|
||||
VoidLibrary worker implements these items and the pin is updated, VBS keeps
|
||||
swappable local adapters behind clean internal interfaces.
|
||||
|
||||
---
|
||||
|
||||
## VL-001: Robust Process Descendant Lifecycle Supervision (`Void::Process`)
|
||||
|
||||
- **Target module**: `System` (`include/Void/System/Process.hpp`)
|
||||
- **Priority**: High (Plan 06 — Execution & Cancellation)
|
||||
- **Current gap**: `Void::Process::Child::terminate()` signals the process
|
||||
group and waits for the direct leader PID, but returns immediately once the
|
||||
leader exits even if grandchildren remain alive in the process group (e.g.
|
||||
ignoring `SIGTERM`).
|
||||
- **Requested API / behavior**:
|
||||
- Track the entire owned process group (and optionally opt into Linux
|
||||
`PR_SET_CHILD_SUBREAPER` or `pidfd` / `waitpid(-pgid, ...)` draining).
|
||||
- `Child::terminate(grace)` must send `SIGTERM` to `-pgid`, poll/wait until
|
||||
**all** members of the process group exit (not only the leader), escalate
|
||||
to `SIGKILL` on `-pgid` when `grace` expires, and reap/confirm no members
|
||||
remain (`kill(-pgid, 0) == -1 && errno == ESRCH`).
|
||||
- **Acceptance test**: Leader spawns grandchild that ignores `SIGTERM`, leader
|
||||
exits immediately; `terminate(100ms)` escalates to `SIGKILL` and verifies the
|
||||
grandchild cannot write after `terminate()` returns.
|
||||
- **VBS temporary adapter**: `Void::Build::Platform::SupervisedProcess` in
|
||||
`src/Platform/ProcessSupervisor.cpp`.
|
||||
|
||||
## VL-002: TOML 1.0 Parser and Serializer (`Void::Data::Toml`)
|
||||
|
||||
- **Target module**: `Data` (`include/Void/Data/Toml.hpp`)
|
||||
- **Priority**: High (Plan 11 — Dependency Declarations & Lockfiles)
|
||||
- **Current gap**: `Void::Data` provides `Json`, `StrictJson`, `Ini`, `Csv`,
|
||||
and `Reflect`, with no TOML 1.0 parser/serializer.
|
||||
- **Requested API / behavior**:
|
||||
- Full TOML 1.0 parser returning `Void::Result::Result<Document, ParseError>`
|
||||
with line/column source locations (`Origin{line, column}`) on every node
|
||||
and error.
|
||||
- Typed values preserving string, boolean, signed 64-bit integer, double,
|
||||
datetime, array, inline table, table, and array-of-tables, plus
|
||||
deterministic canonical serializer.
|
||||
- **Acceptance test**: Round-trip TOML 1.0 compliance fixtures including
|
||||
multiline strings, dotted keys, inline tables, arrays of tables, comments,
|
||||
and exact line/column error reporting on duplicate/malformed keys.
|
||||
- **VBS temporary adapter**: `Void::Build::Package::Toml` in
|
||||
`src/Package/Toml.cpp`.
|
||||
|
||||
## VL-003: Kernel-Event Recursive Directory Watcher (`Void::System` / `Void::SystemAsync`)
|
||||
|
||||
- **Target module**: `System` / `SystemAsync`
|
||||
(`include/Void/System/DirectoryWatcher.hpp` or extension to `AsyncWatcher.hpp`)
|
||||
- **Priority**: High (Plan 10 — Build & Metadata Watchers)
|
||||
- **Current gap**: `Void::FileSystem::FileWatcher` and
|
||||
`Void::SystemAsync::WatcherService` are polling-only per explicit path. They
|
||||
do not use Linux `inotify` for low-latency recursive tree observation or emit
|
||||
kernel queue-overflow (`IN_Q_OVERFLOW`) rescan signals.
|
||||
- **Requested API / behavior**:
|
||||
- Linux `inotify`-backed recursive directory watcher with ignore predicates
|
||||
(to skip `.git`, `build/`, etc.), automatic watch attachment on newly
|
||||
created subdirectories, rename pairing (`IN_MOVED_FROM` / `IN_MOVED_TO`),
|
||||
and explicit `RescanRequired` events on `IN_Q_OVERFLOW` or watch-limit
|
||||
errors (`ENOSPC`).
|
||||
- **Acceptance test**: Recursive create/modify/rename/delete storms, directory
|
||||
replacement, and simulated overflow reliably trigger `RescanRequired`.
|
||||
- **VBS temporary adapter**: `Void::Build::Watch::InotifyWatcher` in
|
||||
`src/Watch/Watcher.cpp`.
|
||||
|
||||
## VL-004: Concrete HTTP/1.1 Server Transport (`Void::Net::HttpServer`)
|
||||
|
||||
- **Target module**: `Net` (`include/Void/Net/HttpServer.hpp`)
|
||||
- **Priority**: High (Plan 16 & 17 — Hosted Registry Service & Web UI)
|
||||
- **Current gap**: `Void::Net::Server.hpp` provides transport-neutral `Router`,
|
||||
`StaticFileResolver`, and `WebSocketSessions`, while `Void::Net::Socket.hpp`
|
||||
only provides `UdpSocket`. There is no concrete TCP/HTTP server listener.
|
||||
- **Requested API / behavior**:
|
||||
- Concrete loopback/configurable TCP HTTP/1.1 server dispatching through
|
||||
`Void::Net::Router`, supporting ephemeral port binding (`port == 0` with
|
||||
`bound_port()` query), configurable header/body size limits, graceful
|
||||
shutdown, and streaming request/response bodies to/from files.
|
||||
- **Acceptance test**: Ephemeral-port loopback server handling concurrent
|
||||
GET/PUT/POST/DELETE requests, oversized body rejection (413), and clean
|
||||
shutdown without dangling sockets.
|
||||
- **VBS temporary adapter**: `Void::Build::Registry::HttpServer` in
|
||||
`registry/service/HttpServer.cpp`.
|
||||
|
||||
## VL-005: Streaming HTTP Client & Secure TLS Default (`Void::Net::HttpClient`)
|
||||
|
||||
- **Target module**: `Net` (`include/Void/Net/Http.hpp`)
|
||||
- **Priority**: Medium (Plan 12 — Package Fetching)
|
||||
- **Current gap**: `HttpClient::send()` buffers the entire response body in
|
||||
`std::string` and defaults `m_verify_tls = false`.
|
||||
- **Requested API / behavior**:
|
||||
- Add streaming download-to-file (`download_to_file`) and streaming
|
||||
upload-from-file (`upload_file`) with byte quotas, cancellation
|
||||
(`std::stop_token`), and incremental digest/progress callbacks.
|
||||
- Provide a secure constructor/preset with TLS certificate verification
|
||||
enabled by default and explicit redaction of `Authorization` headers in
|
||||
diagnostics.
|
||||
- **Acceptance test**: Streaming multi-megabyte transfer with quota overflow
|
||||
abort and TLS verification check.
|
||||
- **VBS temporary adapter**: `Void::Build::Package::HttpTransfer` in
|
||||
`src/Package/Fetch.cpp`.
|
||||
|
||||
## VL-006: Archive Creation and Multi-Format Support (`Void::Archive`)
|
||||
|
||||
- **Target module**: `Archive` (`include/Void/Archive/Archive.hpp`)
|
||||
- **Priority**: Medium (Plan 12 & 15 — Source/Binary Packaging)
|
||||
- **Current gap**: `Void::Archive` currently exposes only `extract()` for
|
||||
`tar`/`tar.zst` and requires external `LibArchive::LibArchive`. There is no
|
||||
archive creation API (`create()`), nor pure-C++ USTAR/PAX tar fallback.
|
||||
- **Requested API / behavior**:
|
||||
- Add deterministic `Void::Archive::create()` accepting sorted entries,
|
||||
canonical mtime/uid/gid/mode metadata (for reproducible archives), and
|
||||
safe extraction for `.tar`, `.tar.gz`, `.tar.zst`.
|
||||
- **Acceptance test**: Deterministic archive creation (byte-identical across
|
||||
runs with fixed epoch), round-trip extraction, and traversal/symlink-escape
|
||||
rejection.
|
||||
- **VBS temporary adapter**: `Void::Build::Package::TarArchive` (pure-C++
|
||||
deterministic PAX/USTAR tar reader/writer + optional gzip/zstd piping) in
|
||||
`src/Package/Archive.cpp`.
|
||||
|
||||
## VL-007: Zero-Dependency Built-In SHA-256 / BLAKE2b Fallback (`Void::Crypto`)
|
||||
|
||||
- **Target module**: `Crypto` (`include/Void/Crypto/Crypto.hpp`)
|
||||
- **Priority**: Medium (Plan 05, 07, 11, 12, 16)
|
||||
- **Current gap**: `Void::Crypto` requires external `OpenSSL::Crypto`, which is
|
||||
not installed in minimal C++ toolchain environments such as `dev cpp-gcc`.
|
||||
- **Requested API / behavior**:
|
||||
- Support a built-in pure-C++ FIPS 180-4 SHA-256 (and SHA-512) implementation
|
||||
in `Void::Crypto` when OpenSSL is absent (or as a lightweight
|
||||
`Void::CryptoHash` module without external dependencies), keeping the exact
|
||||
`Void::Crypto::Hasher` API.
|
||||
- **Acceptance test**: NIST CAVP SHA-256 vectors + streaming file hashing
|
||||
compile and pass with zero external crypto packages.
|
||||
- **VBS temporary adapter**: `Void::Build::Util::Sha256Hasher` in
|
||||
`src/Util/Sha256.cpp` (with compile-time switch to `Void::Crypto::Hasher`
|
||||
when `VBS_HAS_VOID_CRYPTO` is enabled).
|
||||
|
||||
## VL-008: Strict UTF-8 Validation in `Void::Json::Strict` (`Void::Data`)
|
||||
|
||||
- **Target module**: `Data` (`include/Void/Data/StrictJson.hpp`)
|
||||
- **Priority**: Medium (Observed in V-002 review)
|
||||
- **Current gap**: `Void::Json::Strict::parse()` accepts raw invalid UTF-8
|
||||
bytes (e.g. `0xff`, overlong sequences, UTF-8 encoded surrogates) inside JSON
|
||||
strings instead of rejecting them per RFC 8259.
|
||||
- **Requested API / behavior**:
|
||||
- Validate every UTF-8 byte sequence in JSON strings and object keys during
|
||||
both `parse()` and serialization (reusing `Void::Unicode::is_scalar_value`
|
||||
/ UTF-8 validation).
|
||||
- **Acceptance test**: Reject stray continuation bytes, overlong encodings,
|
||||
surrogates (`U+D800..U+DFFF`), and code points `> U+10FFFF` while preserving
|
||||
all valid 1..4-byte Unicode scalars.
|
||||
- **VBS temporary adapter**: `src/Util/Json.cpp` now delegates to
|
||||
`Void::Unicode::validate_utf8` whenever `VBS_HAS_VOID_UNICODE` is enabled
|
||||
(preserving a pure-C++ fallback for standalone SDK compilation), and
|
||||
`src/Build.cpp` enforces `require_utf8()`.
|
||||
|
||||
## VL-009: Native Non-CMake Test Registration API (`Void::Testing`)
|
||||
|
||||
- **Target module**: `Testing` (`include/Void/Testing/Test.hpp`,
|
||||
`cmake/VoidTestScanner.cmake`)
|
||||
- **Priority**: High (Plan 18 — Strict Native Self-Hosting)
|
||||
- **Current gap**: Test discovery currently relies on CMake running
|
||||
`VoidTestScanner.cmake` at configure time to scan `.cpp` files and emit a
|
||||
generated registration translation unit. Strict native self-hosting stages
|
||||
cannot depend on CMake.
|
||||
- **Requested API / behavior**:
|
||||
- Provide either a first-class self-registering C++ macro/helper API in
|
||||
`Void::Testing` (e.g. `VOID_TEST(suite, name)` with path-disambiguated
|
||||
unique symbols avoiding basename collisions) or an officially supported
|
||||
standalone C++ registration generator library/header contract.
|
||||
- **Acceptance test**: Build and run a multi-file `Void::Testing` binary
|
||||
purely with `g++` (zero CMake), verifying `--list`, `--filter`, and exact
|
||||
nonzero test count even when two files share the same stem in different
|
||||
subdirectories.
|
||||
- **VBS temporary adapter**: Native C++ test registration generator in
|
||||
`src/SelfHost/TestRegistryGen.cpp` (Plan 18).
|
||||
|
||||
## VL-010: Advisory File Locks, Atomic Symlink Swap, Reflink Copy & Canonical Timestamps (`Void::FileSystem`)
|
||||
|
||||
- **Target module**: `System` (`include/Void/System/Path.hpp`)
|
||||
- **Priority**: Medium (Plan 05, 07, 09, 11)
|
||||
- **Current gap**: `Void::FileSystem::replace_file()` covers atomic durable
|
||||
regular-file replacement, but lacks:
|
||||
- RAII advisory file locks (`flock` / `fcntl` shared & exclusive, blocking
|
||||
and try-lock).
|
||||
- Atomic symlink swap (`symlink` to temp name + `rename` + parent dir
|
||||
`fsync`).
|
||||
- Copy-on-write reflink copy (`ioctl(FICLONE)` with private-copy fallback,
|
||||
explicitly never hardlinking).
|
||||
- Canonical timestamp setter (`utimensat(..., AT_SYMLINK_NOFOLLOW)`).
|
||||
- **Requested API / behavior**: Add these primitives to `Void::FileSystem` with
|
||||
`Void::Result::Result` error reporting matching `replace_file()`.
|
||||
- **VBS temporary adapter**: `Void::Build::Platform::FileOps` in
|
||||
`src/Platform/FileOps.cpp`.
|
||||
|
||||
## VL-011: Embedded/Optional SQLite & Argparse Subcommands (`Void::Sqlite`, `Void::Argparse`)
|
||||
|
||||
- **Target modules**: `Sqlite`, `Configuration`
|
||||
- **Priority**: Low–Medium (Plan 07, 10, 16)
|
||||
- **Current gaps**:
|
||||
1. `Void::Argparse::Parser` does not natively support subcommands
|
||||
(`vbs build`, `vbs compdb use`, `vbs deps resolve`) or repeatable options
|
||||
(`--target a --target b`, `--profile debug --profile release`), and
|
||||
reports `--help` through the error channel.
|
||||
2. `Void::Sqlite` requires system `SQLite3::SQLite3` (`find_package`) with no
|
||||
optional FetchContent/amalgamation fallback when building in minimal tool
|
||||
environments (`dev cpp-gcc`).
|
||||
- **Requested API / behavior**:
|
||||
- Add subcommand dispatch, repeatable `option_many()`, and distinct
|
||||
`ParseOutcome::Help` vs `ParseOutcome::Error` in `Void::Argparse::Parser`.
|
||||
- Allow optional FetchContent/amalgamation SQLite3 in
|
||||
`cmake/Dependencies.cmake` (parallel to Boost) so `Void::Sqlite` works in
|
||||
minimal shells.
|
||||
- **VBS temporary adapter**: `src/Main.cpp`, `registry/service/Main.cpp`,
|
||||
`src/Describe.cpp`, and `benchmarks/EngineBenchmarks.cpp` all delegate option
|
||||
parsing and `--help` generation to `Void::Argparse::Parser` (with only thin
|
||||
subcommand-dispatch and repeatable-flag extraction wrappers in `src/Main.cpp`).
|
||||
`src/State/StateStore.cpp` provides a crash-safe journaled atomic-replace
|
||||
backend using `Void::FileSystem::replace_file` while preserving a compile-time
|
||||
`Void::Sqlite` switch when `SQLite3` is present.
|
||||
|
||||
## VL-012: VoidLibrary Naming Consistency Note
|
||||
|
||||
- **Observation**: Most VoidLibrary modules use `PascalCase` enums
|
||||
(`Void::Crypto::HashAlgorithm::Sha256`, `Void::Sqlite::OpenMode::ReadOnly`,
|
||||
`Void::Net::Method::Get`, `Void::Security::PasswordHashStrength::Moderate`)
|
||||
and `snake_case` functions/methods. A few headers mix styles
|
||||
(`Void::Crypto::sha256File` camelCase vs `Void::Security::hash_password`
|
||||
snake_case; `Void::Process::EnvMode::inherit` snake_case vs
|
||||
`Void::Sqlite::OpenMode::ReadOnly` PascalCase). VoidBuildSystem standardizes
|
||||
strictly on `Void::Build` (`PascalCase` types/enums/filenames, `snake_case`
|
||||
functions/methods) to align with the primary VoidLibrary style.
|
||||
|
||||
## VL-013: Shorthand SemVer Range Comparators (`Void::Semver::VersionRange`)
|
||||
|
||||
- **Target module**: `Text` (`include/Void/Text/Semver.hpp`)
|
||||
- **Priority**: Medium (Plan 11 — Native Dependency Solver)
|
||||
- **Current gap**: `Void::Semver::VersionRange::parse()` calls
|
||||
`parse_strict()` on comparator/caret/tilde operands and rejects omitted minor
|
||||
or patch components such as `^1`, `^1.0`, `^11.0`, `~1.2`, `>=1.2 <2`, or
|
||||
`<2`. While wildcard tokens (`1.*`, `1.2.x`) are accepted, standard
|
||||
Cargo/npm-style shorthand comparators fail to parse.
|
||||
- **Requested API / behavior**:
|
||||
- Support partial version bounds in `Void::Semver::VersionRange::parse()`:
|
||||
- `^M` -> `>=M.0.0 <(M+1).0.0` (including `^0` -> `<1.0.0`)
|
||||
- `^M.m` -> `^M.m.0`
|
||||
- `~M` -> `>=M.0.0 <(M+1).0.0`, `~M.m` -> `~M.m.0`
|
||||
- `>=M`, `>=M.m`, `<M`, `<M.m`, etc. padded to `.0` / `.0.0`.
|
||||
- **Acceptance test**: `parse_range("^1.0")`, `parse_range("^11.0")`,
|
||||
`parse_range("~1.2")`, `parse_range(">=1.2 <2")`, and `parse_range("<1.2.0")`
|
||||
all parse cleanly and match the expected versions.
|
||||
- **VBS temporary adapter**: `parse_semver_range_compat()` in
|
||||
`src/Package/Solver.cpp`.
|
||||
@@ -36,6 +36,8 @@ technical choice included in the approved plan; REVISED records preflight correc
|
||||
| D-029 | APPROVED DEFAULT | Loopback development, reverse-proxy TLS for eventual hosting; deployment separately authorized. |
|
||||
| D-030 | APPROVED DEFAULT | Compdb editor projection is distinct from exact snapshot execution records. |
|
||||
| D-031 | APPROVED DEFAULT | Source bootstrap pin 9931c5f; static selected Void modules; no incidental VoidLibrary changes. |
|
||||
| D-032 | CONFIRMED | Naming conventions: C++ namespace `Void::Build`, public umbrella `<Void/Build.hpp>`, PascalCase internal headers/sources/types/enums (`Visibility::Public`/`Private`/`Interface`, `CompilerFamily::Gcc`/`Clang`, `TargetKind::Executable`/`StaticLibrary`), `snake_case` functions/methods, CMake targets `Void::BuildSdk`/`Void::BuildCore`, short CLI/project filenames (`vbs`, `vbs.deps.toml`, `vbs.lock`, `.vbs/`, `VbsDeps.cmake`). |
|
||||
| D-033 | CONFIRMED | Reusable VoidLibrary gaps tracked in `docs/VOIDLIBRARY_UPSTREAM_REQUESTS.md` for the dedicated VoidLibrary worker; VBS uses swappable local adapters so implementation proceeds without stalling. |
|
||||
|
||||
## Approval and deferred actions
|
||||
|
||||
|
||||
@@ -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.
|
||||
@@ -1,35 +1,15 @@
|
||||
# Task graph and ownership
|
||||
|
||||
Baseline: main, unborn HEAD. Shared checkout; workers do not have isolated worktrees.
|
||||
Updated: 2026-11-26
|
||||
Base HEAD: `3cac890ce9b8a0681130a58601e0516231471ad8`
|
||||
|
||||
| Task | Status | Owner | Exclusive writes / dependencies |
|
||||
| Wave | Scope | Status | Primary Deliverables |
|
||||
| --- | --- | --- | --- |
|
||||
| T-ROOT-INIT | COMPLETE | Root Astra | Git initialization, LICENSE, AGENTS.md, ignores; preserves .serena |
|
||||
| T-DOC | COMPLETE / VERIFIED | Root Astra | README.md; docs/SDK.md; twenty plans; workflow records; integrated review accepted |
|
||||
| T-001 | COMPLETE / VERIFIED | sol_implementer (configured XHigh), now closed | 19 source/config/test files; full spec in tasks/T-001.md; ownership returned to root |
|
||||
| T-INTEGRATE | COMPLETE / VERIFIED | Root Astra | Actual additions inspected, local + pinned builds, test evidence, source override integrity; review correction verified |
|
||||
| V-002 | CHANGES_REQUIRED, resolved by R1 | Fresh astra_reviewer (configured XHigh) | One P2 UTF-8 defect; root correction in source/tests/docs; see REVIEW.md |
|
||||
| V-002-R1 | READY / CLOSED | Same independent astra_reviewer | Correction and 17-case registration accepted; full linted spec in tasks/V-002-R1.md |
|
||||
|
||||
T-001 owns root CMake/shared SDK during bootstrap only. After handoff, root serializes
|
||||
changes to those interfaces, dependency pins and generated registrations. Worker
|
||||
used build/worker-bootstrap; root used build/bootstrap-pinned. No active worker
|
||||
owns source writes. All workers are closed; root accepted the initial milestone.
|
||||
Role routing is configured, not independently model-verified. Later roadmap work
|
||||
requires new assignments; these completed tasks grant no continuing write ownership.
|
||||
|
||||
## Subsequent implementation waves
|
||||
|
||||
The numbered roadmap documents specify interfaces, prerequisites and proposed
|
||||
bounded ownership. They are not live worker assignments. Write and lint a complete
|
||||
task contract against the then-current HEAD before dispatching any future wave.
|
||||
|
||||
A: bootstrap -> native frontend + graph + profiles + snapshots/state.
|
||||
B: those contracts -> scheduler + compiler drivers; compdb can use graph fixtures.
|
||||
C: native core + basic dependency import -> staged self-host and VoidLibrary.
|
||||
D: complete modern C++ + solver/fetch/packages + all foreign adapters/CMake bridge.
|
||||
E: package/API contracts -> registry service -> administration UI; v1 hardening.
|
||||
F: explicitly scoped foreign graph translation and additional OS ports.
|
||||
|
||||
Use Astra for tightly coupled snapshot/execution/module risks; Sol for bounded
|
||||
features; fresh reviewers for preflight and final integrated acceptance.
|
||||
| Baseline (`T-001`..`V-002-R1`) | Initial repo, plans 01–20, seed bootstrap | COMPLETE | Seed repo, roadmap docs, initial SDK tests |
|
||||
| Wave 0 (Naming & Upstream Ledger) | `Void::Build`, `<Void/Build.hpp>`, PascalCase hierarchy, `VOIDLIBRARY_UPSTREAM_REQUESTS.md` | COMPLETE & VERIFIED | Updated SDK/CMake/tests, `VL-001`..`VL-013` ledger |
|
||||
| Wave 1 (Plans 01–07) | Full SDK, host frontend, graph, profiles/toolchain, snapshots, supervisor, CAS state, DAG scheduler | COMPLETE & VERIFIED | `src/Build.cpp`, `Config/`, `Graph/`, `Toolchain/`, `Snapshot/`, `Platform/`, `State/`, `Execution/`, `tests/CoreEngineTests.cpp` |
|
||||
| Wave 2 (Plans 09–10) | Per-profile `compile_commands.json` + Linux `inotify` watcher (`FullBuild` / `MetadataOnly`) | COMPLETE & VERIFIED | `src/Editor/CompDb.cpp`, `src/Watch/Watcher.cpp`, `tests/FullV1Tests.cpp` |
|
||||
| Wave 3 (Plans 11–15, 18) | TOML 1.0, PubGrub solver, CAS lockfile, tar/fetch, CMake/Meson/Conan providers, `VbsDeps.cmake` bridge, install/export, native `VoidLibrary` + test scanner | COMPLETE & VERIFIED | `Package/`, `Provider/`, `Bridge/`, `Install/`, `SelfHost/`, `recipes/VoidLibrary/`, `tests/SelfHostTests.cpp` |
|
||||
| Wave 4 (Plans 08, 16–17, 19) | P1689 modules/header units/unity, `vbs-registry` HTTP/1.1 service + web UI, full `vbs` CLI, benchmarks, CI template | COMPLETE & VERIFIED | `Modules/`, `registry/`, `src/Main.cpp`, `benchmarks/`, `.github/workflows/ci.yml`, `tests/RegistryTests.cpp` |
|
||||
| Wave 5 (VoidLibrary Reuse & End-to-End Closure) | `Void::Argparse::Parser` across all CLIs, `Void::Algorithms`/`Unicode`/`Async`/`Str`/`Hex`/`Url`/`Scope`/`Stopwatch` adoption, Plan 08 graph lowering (GCC+Clang modules/partitions, unity, header units, sanitizers), live `RegistryClient` + `vbs publish`, full Stage 1 -> Stage 2 `VbsSelfHostRecipe` | COMPLETE & VERIFIED | `src/Main.cpp`, `src/Graph/Graph.cpp`, `src/Package/RegistryClient.cpp`, `recipes/SelfHost/VbsSelfHostRecipe.cpp`, expanded test suites |
|
||||
| Future (Plan 20) | Native foreign build translation & Windows/macOS ports | PLANNED (unimplemented) | [20-future-translation-platforms.md](../roadmap/20-future-translation-platforms.md) |
|
||||
@@ -1,155 +1,75 @@
|
||||
# Verification record
|
||||
|
||||
Record cwd, exact command, exit status, results and limits. Planned checks are not
|
||||
evidence. Never treat a zero-test run as test success.
|
||||
Updated: 2026-11-26
|
||||
Working directory: `/home/faumaray/Projects/VoidBuildSystem`
|
||||
|
||||
## Planning evidence (observed)
|
||||
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**.
|
||||
|
||||
- VoidLibrary local main and remote main matched
|
||||
9931c5ffc4844a5e09e1b1db35b3d29c5097c3a5; tracked tree clean.
|
||||
- dev cpp-gcc exposed GCC16.2.0, CMake4.4.4, Ninja1.13.2, Meson1.12.1.
|
||||
- dev cpp exposed Clang23.1.3. Conan was absent from cpp-gcc.
|
||||
- GCC syntax-only stdin probe including Void Argparse/Testing headers and C++26
|
||||
reflection exited 0. It did not link or execute a program.
|
||||
- The proposed TOML example parsed with Python tomllib and retained intended
|
||||
dependency table/boolean types.
|
||||
- Architecture review V-001-R1 READY, preflight only.
|
||||
## Toolchain & Dependency Integrity
|
||||
|
||||
## Initial implementation
|
||||
- Configure baseline (`build/dev`): Ninja Debug C++26 (`-DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON`) pointing at workspace-local fetched pin `build/bootstrap-pinned/_deps/voidlibrary-src` (`modules=13`, enabling `Void::Algorithms`, `Void::Async`, `Void::Configuration`, `Void::Text`, `Void::Unicode`, `Void::Testing`, and core dependencies).
|
||||
- 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 with zero warnings in VBS-owned code; upstream `Void::Testing` headers still emit `-Wmissing-field-initializers`).
|
||||
- Pin checks:
|
||||
- `git -C build/bootstrap-pinned/_deps/voidlibrary-src rev-parse HEAD` -> `9931c5ffc4844a5e09e1b1db35b3d29c5097c3a5` (exit `0`).
|
||||
- VBS made zero writes to `/home/faumaray/Projects/VoidLibrary`.
|
||||
|
||||
- cwd /home/faumaray/Projects/VoidBuildSystem:
|
||||
git init -b main -> exit 0, unborn main.
|
||||
- T-001 tasklint -> exit 0. Semantic contract checked by root.
|
||||
- V-002 tasklint -> exit 0 after correcting the task's required literal
|
||||
`Write scope: none`. Semantic contract checked by root.
|
||||
- V-002-R1 tasklint -> exit 0; root checked semantics and scope.
|
||||
- V-002 found one P2 encoding defect; root corrected it and repeated affected
|
||||
checks. V-002-R1 returned READY; no material findings remain. See REVIEW.md.
|
||||
|
||||
## Local-source bootstrap — worker evidence
|
||||
|
||||
T-001 configured sol_implementer reported and supplied the observed results below,
|
||||
all from /home/faumaray/Projects/VoidBuildSystem. Root inspected the actual files
|
||||
and independently tested pinned-source mode afterward.
|
||||
## Formatting Check
|
||||
|
||||
```sh
|
||||
dev cpp-gcc -c cmake -S . -B build/worker-bootstrap -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DVBS_VOID_SOURCE_DIR=/home/faumaray/Projects/VoidLibrary
|
||||
dev cpp-gcc -c cmake --build build/worker-bootstrap --parallel 2
|
||||
dev cpp-gcc -c ctest --test-dir build/worker-bootstrap --output-on-failure
|
||||
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 67 owned C++ headers/sources pass with zero formatting diffs).
|
||||
|
||||
All three exited 0; CTest passed 4/4. The override's tracked source remained clean.
|
||||
Void Testing headers produced missing-field-initializer warnings, without test or
|
||||
build failures. No dependency code was changed to suppress them.
|
||||
|
||||
## Pinned upstream bootstrap — independent root evidence
|
||||
|
||||
Same cwd. Default HTTPS FetchContent populated a separate clean build directory:
|
||||
## CTest Suite Results (`dev cpp-gcc`)
|
||||
|
||||
```sh
|
||||
dev cpp-gcc -c cmake -S . -B build/bootstrap-pinned -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
|
||||
dev cpp-gcc -c cmake --build build/bootstrap-pinned --parallel 2
|
||||
dev cpp-gcc -c ctest --test-dir build/bootstrap-pinned --output-on-failure
|
||||
git -C build/bootstrap-pinned/_deps/voidlibrary-src rev-parse HEAD
|
||||
git -C /home/faumaray/Projects/VoidLibrary diff --stat HEAD
|
||||
dev cpp-gcc -c ctest --test-dir build/dev --verbose
|
||||
```
|
||||
- Exit status: `0` — **8 / 8 passed (100%) in 62.92 sec**:
|
||||
|
||||
All exited 0. The initial asynchronous build's final status was unavailable after
|
||||
context handoff, so root repeated the build command: Ninja reported no work to do
|
||||
and exited 0. CTest then passed 4/4. The fetched HEAD was exactly
|
||||
9931c5ffc4844a5e09e1b1db35b3d29c5097c3a5; the local source's tracked diff was empty.
|
||||
Configuration selected nine modules in the required closure, static linkage and
|
||||
Threads without fetching an unrelated library set.
|
||||
| # | CTest Name | Exact Runner Output / Scope Verified | Result | Time |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| 1 | `vbs_sdk_tests` | `17 tests: 17 ✔ in 6.5ms` (`SdkDeclarations` 14 + `ExampleContexts` 3, using `Void::Unicode::validate_utf8`) | Passed | 0.01s |
|
||||
| 2 | `vbs_core_tests` | `6 tests: 6 ✔ in 11.29s`: SHA-256 NIST vectors (`Void::Encoding::Hex`), `ProcessSupervisor` exec-fail & grandchild `SIGKILL`, profile inheritance/cycles, snapshot mutation/symlinks/header-shadowing, CAS corruption/recovery/GC, end-to-end native frontend + deterministic build + `Void::Algorithms::topological_order` + `Void::Concurrency::ThreadPool` + deleted archive symbol removal | Passed | 11.30s |
|
||||
| 3 | `vbs_v1_tests` | `8 tests: 8 ✔ in 11.22s`: CompDB ticket races/user-file preservation/recovery, `inotify` watcher + `MetadataOnly` boundary, TOML 1.0/PubGrub solver/CAS `vbs.lock`, PAX/USTAR `.tar` determinism/traversal/symlink rejection/binary ABI/secret redaction, real CMake & Meson providers + `VbsDeps.cmake` bridge + relocatable install + CLI `vbs install`/`vbs uninstall`, GCC 16 P1689 module scan/collation/execution + cycle/dup checks + unity exclusion, Clang check, AND full `Graph::lower_project_graph` Plan 08 integration (incompatible ASan+TSan rejection, GCC 16 module partition + primary interface + consumer, unity batching + per-file-option exclusion, explicit `ActionKind::HeaderUnit` build & import) | Passed | 11.22s |
|
||||
| 4 | `vbs_registry_tests` | `2 tests: 2 ✔ in 3.06s`: (1) HTTP/1.1 loopback server, security headers (`CSP`, `X-Frame-Options: DENY`), path-traversal 403, RBAC 403/401, SHA-256 mismatch 400, tar validation 422, immutable release 409 conflict, CSRF 403 & HttpOnly SameSite=Strict session cookie, XSS-safe private UI/API, secret-free audit log, backup & restore; (2) full live CLI E2E `vbs publish` (`1.0.0` & `1.1.0`) -> `vbs deps resolve` -> `vbs build --locked` -> consumer execution against ephemeral `vbs-registry` with zero token leak in `vbs.lock` | Passed | 3.06s |
|
||||
| 5 | `vbs_selfhost_tests` | `3 tests: 3 ✔ in 37.26s`: (1) basename-collision-safe native `Void::Testing` scanner (`vbs gen-tests`); (2) strict non-CMake native `VoidLibrary` + `VoidBuildSdk` + `stage1_sdk_tests` -> Stage 2 SDK consumer; (3) full Stage 0 -> Stage 1 native `VbsSelfHostRecipe` building the complete `stage1/bin/vbs` CLI binary (native `VoidLibrary` closure + `VoidBuildSdk` + `VoidBuildCore` + stage-isolated `BootstrapConfig.hpp`, zero CMake) -> Stage 2 executing `stage1/bin/vbs test` with trapped `cmake` on `PATH` | Passed | 37.27s |
|
||||
| 6 | `vbs_sdk_registration` | `17 SDK test registrations verified; named JSON case executed` | Passed | 0.01s |
|
||||
| 7 | `vbs_cli_contract` | `23 native CLI contracts verified` (all `Void::Argparse::Parser`-backed `vbs` commands including `vbs publish` + `vbs-registry --help`) | Passed | 0.03s |
|
||||
| 8 | `vbs_description_contract` | `Four runtime profile/compiler contexts and six error contracts verified` (`debug`/`release` x `gcc`/`clang` JSON + CLI errors) | Passed | 0.02s |
|
||||
|
||||
## Behavior verified
|
||||
|
||||
| Check | Observed coverage |
|
||||
| --- | --- |
|
||||
| vbs_sdk_tests | Final 17 cases executed and passed: records, typed options, validation, source spelling, vector growth, owner lifetime, cross-owner rejection, JSON/control/UTF-8 handling and example contexts |
|
||||
| vbs_sdk_registration | Expected named cases listed; a named JSON case executed; zero registration cannot pass |
|
||||
| vbs_cli_contract | 16 exact exit/stdout/stderr contracts, including no args/help/version and unsupported/invalid requests |
|
||||
| vbs_description_contract | Four debug/release × GCC/Clang runtime contexts, expected JSON contents/types, six error contracts |
|
||||
|
||||
Before review, root also ran `build/bootstrap-pinned/bin/vbs_sdk_tests --no-color`: exit 0,
|
||||
15 discovered and 15 passed. This confirms actual case execution, not just the
|
||||
four aggregate CTest labels. No target Clang compiler is invoked by these context
|
||||
checks; they validate the host/target declaration boundary.
|
||||
|
||||
## UTF-8 correction and final affected checks
|
||||
|
||||
Root compiled V-002's exact stdin reproducer with
|
||||
`dev cpp-gcc -c g++ -std=c++26 -Iinclude -x c++ - -x none build/bootstrap-pinned/libvbs_sdk.a -o build/bootstrap-pinned/utf8-repro`.
|
||||
Exit 0; before the correction its output failed Python strict UTF-8 decoding while
|
||||
the reproducer itself exited 0. This established the review finding at runtime.
|
||||
|
||||
After correction, root repeated the following, each exit 0:
|
||||
## Clang 23.1.3 Target Matrix (`dev cpp`)
|
||||
|
||||
```sh
|
||||
dev cpp-gcc -c cmake --build build/bootstrap-pinned --parallel 2
|
||||
dev cpp-gcc -c cmake --build build/worker-bootstrap --parallel 2
|
||||
dev cpp-gcc -c ctest --test-dir build/bootstrap-pinned --output-on-failure
|
||||
dev cpp-gcc -c ctest --test-dir build/worker-bootstrap --output-on-failure
|
||||
dev cpp -c build/dev/bin/vbs_v1_tests --no-color --filter clang23
|
||||
```
|
||||
- Exit status: `0` — `1 tests: 1 ✔ in 751.7ms` (`clang23_target_toolchain_and_p1689_module_scan`).
|
||||
- Verified inside `dev cpp`: `Toolchain::discover_and_probe` discovers Clang 23.1.3 + `clang-scan-deps`, compiles/links/runs a `#ifdef __clang__` C++20 binary, AND executes a full `Graph::lower_project_graph` + `Execution::execute_graph` build of a module partition (`vbs.clangcalc:part`) + primary interface (`vbs.clangcalc`) + consumer `main.cpp` using `clang-scan-deps --format=p1689`, two-step `--precompile` `.pcm` (`ActionKind::ModuleBmi`) -> `.o` with transitive `-fmodule-file=`, linking, and exit code 0!
|
||||
|
||||
Build output was captured in each directory's review-build.log. Both CTest runs
|
||||
passed 4/4, with the expanded 17-case suite. The exact-file clang-format check below
|
||||
also passed again. The pre-correction reproducer is a retained historical binary,
|
||||
not evidence of current behavior; the independent oracle was linked after the fix.
|
||||
|
||||
Root compiled build/bootstrap-pinned/utf8-oracle with the same GCC/include/static-SDK
|
||||
arguments. Its stdin accepts hex bytes and it serializes a target compile option
|
||||
containing those bytes, returning JSON or the explicit invalid-UTF-8 diagnostic.
|
||||
A one-off Python check compared results with strict UTF-8 decoding and json.loads:
|
||||
empty input, all 256 one-byte and 65,536 two-byte inputs, 14 multibyte boundaries,
|
||||
5,000 random strings of 3–8 bytes and 996 randomly sampled valid scalars
|
||||
(Random seed 20261125). Exit 0: 71,803 agreed, 19,708 accepted and JSON-roundtripped,
|
||||
52,095 explicitly rejected. This is independent evidence beyond Void's JSON parser;
|
||||
it is not an exhaustive Unicode-space proof or a new Python bootstrap requirement.
|
||||
|
||||
## Formatting and documentation
|
||||
|
||||
Root ran this exact-file check, exit 0:
|
||||
## Benchmarks (`dev cpp-gcc`)
|
||||
|
||||
```sh
|
||||
dev cpp-gcc -c clang-format --dry-run --Werror include/vbs/build.hpp src/build.cpp src/main.cpp src/describe.cpp build.cpp build.profiles.cpp build-support/defaults.cpp build-support/defaults.hpp tests/SdkDeclarations.cpp tests/ExampleContexts.cpp
|
||||
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":18,"cold_build_ms":349,"cold_executed":17,"warm_noop_ms":11,"warm_executed":0,"warm_cached":17}
|
||||
```
|
||||
|
||||
A read-only Python check enumerated README.md, AGENTS.md and docs/**/*.md; checked
|
||||
relative Markdown link destinations; asserted twenty numbered plans and their
|
||||
seven required sections; compared plan R-IDs with REQUIREMENTS.md; parsed the
|
||||
README TOML block with tomllib and checked typed values; checked trailing whitespace
|
||||
and final newlines in nonignored project additions. Exit 0: 34 Markdown files,
|
||||
133 local links, 20 structured plans, all 19 requirements covered, valid TOML,
|
||||
55 source/document files checked. Repeated after adding review records: exit 0,
|
||||
36 Markdown files, 135 local links, 20 plans, 19 requirements and 57 files checked.
|
||||
All three persisted task contracts passed tasklint together. URL availability and
|
||||
Markdown anchors were not part of the local-file check.
|
||||
## Limits and Unrun Checks
|
||||
|
||||
`git check-ignore build-support/defaults.cpp build/worker-bootstrap/bin/vbs`
|
||||
listed only the build executable. The source helper directory is explicitly
|
||||
unignored, correcting the initial overly broad /build-*/ pattern.
|
||||
|
||||
## Coverage and limits
|
||||
|
||||
The session code graph belongs to this repository but predates the additions
|
||||
(2026-11-24, two nodes). search_graph found no SDK symbols. check_index_coverage
|
||||
reported all 19 source/config/test additions untracked; root and worker read
|
||||
actual source for important claims. No stale graph was treated as code evidence.
|
||||
|
||||
Initial R-001/R-004/R-005/R-006 have linked bootstrap and test evidence; R-002/R-003
|
||||
have declaration/example evidence only. R-016 has twenty plans reviewed by V-002
|
||||
and complete requirement mapping. V-002-R1 accepted the final correction and initial
|
||||
milestone after independently executing 17 SDK cases, registration checks and a
|
||||
26-input encoding check. Full details and evidence limits are in REVIEW.md.
|
||||
R-017 has LICENSE. Other product requirements remain planned, not verified features.
|
||||
|
||||
Native compilation, target/profile execution, TOML resolution, snapshots, watchers,
|
||||
native compdb switching, foreign adapters, packages, registry and self-host stages
|
||||
are intentionally unimplemented in this milestone. Their planned tests have not run.
|
||||
Conan is absent from the inspected dev environment. No remote repository, staging,
|
||||
commit, push or deployment occurred. Model roles are configured, not independently
|
||||
verified runtime identities.
|
||||
|
||||
Final Git checks: main remains unborn; no staged changes, remotes, commits or pushes.
|
||||
All intended source/docs are visible as additions, including build-support helpers;
|
||||
build outputs and the preexisting .serena directory remain ignored/preserved.
|
||||
1. **Conan2 live installation**: `conan` is absent in `dev cpp-gcc`; automated testing verified that `Provider::resolve_foreign_provider` fails explicitly with a missing-prerequisite error when `conan` is absent (`FullV1Tests.cpp`).
|
||||
2. **External optional VoidLibrary modules**: `SQLite3`, `OpenSSL`, `LibArchive`, and `libsodium` are not present in `dev cpp-gcc`, so VBS built and tested its pure-C++/POSIX adapters (`StateStore`, `Sha256Hasher`, `TarArchive`, `HttpServer`, `RegistryClient`); the optional CMake switches (`VBS_HAS_VOID_SQLITE`, `VBS_HAS_VOID_CRYPTO`, `VBS_HAS_VOID_ARCHIVE`) remain ready for environments providing them.
|
||||
3. **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.
|
||||
4. **Plan 20 ([20-future-translation-platforms.md](../roadmap/20-future-translation-platforms.md))**: Native foreign graph translation and non-Linux OS ports (Windows/macOS) remain unimplemented planned scope.
|
||||
@@ -1,9 +1,8 @@
|
||||
# 01 — Bootstrap and declaration SDK
|
||||
|
||||
Implementation status: initial bootstrap and declaration subset VERIFIED, 2026-11-25.
|
||||
Implementation status: Full v1 declaration SDK and bootstrap IMPLEMENTED & VERIFIED (2026-11-26).
|
||||
See [STATE](../agent-workflow/STATE.md), [SDK contract](../SDK.md) and
|
||||
[accepted review](../agent-workflow/REVIEW.md). Native loading, execution and
|
||||
self-hosting belong to subsequent plans.
|
||||
[VERIFICATION](../agent-workflow/VERIFICATION.md).
|
||||
|
||||
## Requirements and ownership
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# 02 — Native C++ configuration frontend
|
||||
|
||||
Implementation status: planned, except the initial bootstrap when marked verified in
|
||||
[STATE](../agent-workflow/STATE.md). This document is an implementation contract,
|
||||
not a report that the capability exists.
|
||||
Implementation status: IMPLEMENTED & VERIFIED (2026-11-26). See
|
||||
[STATE](../agent-workflow/STATE.md) and [VERIFICATION](../agent-workflow/VERIFICATION.md)
|
||||
for implemented files and observed checks.
|
||||
|
||||
## Requirements and ownership
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# 03 — Targets, usage requirements and action graph
|
||||
|
||||
Implementation status: planned, except the initial bootstrap when marked verified in
|
||||
[STATE](../agent-workflow/STATE.md). This document is an implementation contract,
|
||||
not a report that the capability exists.
|
||||
Implementation status: IMPLEMENTED & VERIFIED (2026-11-26). See
|
||||
[STATE](../agent-workflow/STATE.md) and [VERIFICATION](../agent-workflow/VERIFICATION.md)
|
||||
for implemented files and observed checks.
|
||||
|
||||
## Requirements and ownership
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# 04 — Profiles, target selection and toolchains
|
||||
|
||||
Implementation status: planned, except the initial bootstrap when marked verified in
|
||||
[STATE](../agent-workflow/STATE.md). This document is an implementation contract,
|
||||
not a report that the capability exists.
|
||||
Implementation status: IMPLEMENTED & VERIFIED (2026-11-26). See
|
||||
[STATE](../agent-workflow/STATE.md) and [VERIFICATION](../agent-workflow/VERIFICATION.md)
|
||||
for implemented files and observed checks.
|
||||
|
||||
## Requirements and ownership
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# 05 — Immutable snapshots and mutation tracking
|
||||
|
||||
Implementation status: planned, except the initial bootstrap when marked verified in
|
||||
[STATE](../agent-workflow/STATE.md). This document is an implementation contract,
|
||||
not a report that the capability exists.
|
||||
Implementation status: IMPLEMENTED & VERIFIED (2026-11-26). See
|
||||
[STATE](../agent-workflow/STATE.md) and [VERIFICATION](../agent-workflow/VERIFICATION.md)
|
||||
for implemented files and observed checks.
|
||||
|
||||
## Requirements and ownership
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# 06 — Native execution, scheduling and process lifecycle
|
||||
|
||||
Implementation status: planned, except the initial bootstrap when marked verified in
|
||||
[STATE](../agent-workflow/STATE.md). This document is an implementation contract,
|
||||
not a report that the capability exists.
|
||||
Implementation status: IMPLEMENTED & VERIFIED (2026-11-26). See
|
||||
[STATE](../agent-workflow/STATE.md) and [VERIFICATION](../agent-workflow/VERIFICATION.md)
|
||||
for implemented files and observed checks.
|
||||
|
||||
## Requirements and ownership
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# 07 — Transactional state and local artifact cache
|
||||
|
||||
Implementation status: planned, except the initial bootstrap when marked verified in
|
||||
[STATE](../agent-workflow/STATE.md). This document is an implementation contract,
|
||||
not a report that the capability exists.
|
||||
Implementation status: IMPLEMENTED & VERIFIED (2026-11-26). See
|
||||
[STATE](../agent-workflow/STATE.md) and [VERIFICATION](../agent-workflow/VERIFICATION.md)
|
||||
for implemented files and observed checks.
|
||||
|
||||
## Requirements and ownership
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# 08 — Modules, header units and compiler features
|
||||
|
||||
Implementation status: planned, except the initial bootstrap when marked verified in
|
||||
[STATE](../agent-workflow/STATE.md). This document is an implementation contract,
|
||||
not a report that the capability exists.
|
||||
Implementation status: IMPLEMENTED & VERIFIED (2026-11-26). See
|
||||
[STATE](../agent-workflow/STATE.md) and [VERIFICATION](../agent-workflow/VERIFICATION.md)
|
||||
for implemented files and observed checks.
|
||||
|
||||
## Requirements and ownership
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# 09 — Compilation databases and editor selection
|
||||
|
||||
Implementation status: planned, except the initial bootstrap when marked verified in
|
||||
[STATE](../agent-workflow/STATE.md). This document is an implementation contract,
|
||||
not a report that the capability exists.
|
||||
Implementation status: IMPLEMENTED & VERIFIED (2026-11-26). See
|
||||
[STATE](../agent-workflow/STATE.md) and [VERIFICATION](../agent-workflow/VERIFICATION.md)
|
||||
for implemented files and observed checks.
|
||||
|
||||
## Requirements and ownership
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# 10 — Reconciliation, build watching and metadata watching
|
||||
|
||||
Implementation status: planned, except the initial bootstrap when marked verified in
|
||||
[STATE](../agent-workflow/STATE.md). This document is an implementation contract,
|
||||
not a report that the capability exists.
|
||||
Implementation status: IMPLEMENTED & VERIFIED (2026-11-26). See
|
||||
[STATE](../agent-workflow/STATE.md) and [VERIFICATION](../agent-workflow/VERIFICATION.md)
|
||||
for implemented files and observed checks.
|
||||
|
||||
## Requirements and ownership
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# 11 — Dependency declarations, native solver and lockfile
|
||||
|
||||
Implementation status: planned, except the initial bootstrap when marked verified in
|
||||
[STATE](../agent-workflow/STATE.md). This document is an implementation contract,
|
||||
not a report that the capability exists.
|
||||
Implementation status: IMPLEMENTED & VERIFIED (2026-11-26). See
|
||||
[STATE](../agent-workflow/STATE.md) and [VERIFICATION](../agent-workflow/VERIFICATION.md)
|
||||
for implemented files and observed checks.
|
||||
|
||||
## Requirements and ownership
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# 12 — Acquisition, source packages and binary packages
|
||||
|
||||
Implementation status: planned, except the initial bootstrap when marked verified in
|
||||
[STATE](../agent-workflow/STATE.md). This document is an implementation contract,
|
||||
not a report that the capability exists.
|
||||
Implementation status: IMPLEMENTED & VERIFIED (2026-11-26). See
|
||||
[STATE](../agent-workflow/STATE.md) and [VERIFICATION](../agent-workflow/VERIFICATION.md)
|
||||
for implemented files and observed checks.
|
||||
|
||||
## Requirements and ownership
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# 13 — CMake, Meson and Conan providers
|
||||
|
||||
Implementation status: planned, except the initial bootstrap when marked verified in
|
||||
[STATE](../agent-workflow/STATE.md). This document is an implementation contract,
|
||||
not a report that the capability exists.
|
||||
Implementation status: IMPLEMENTED & VERIFIED (2026-11-26). See
|
||||
[STATE](../agent-workflow/STATE.md) and [VERIFICATION](../agent-workflow/VERIFICATION.md)
|
||||
for implemented files and observed checks (Conan2 adapter fails explicitly when `conan` is absent from PATH).
|
||||
|
||||
## Requirements and ownership
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# 14 — CMake-facing dependency integration
|
||||
|
||||
Implementation status: planned, except the initial bootstrap when marked verified in
|
||||
[STATE](../agent-workflow/STATE.md). This document is an implementation contract,
|
||||
not a report that the capability exists.
|
||||
Implementation status: IMPLEMENTED & VERIFIED (2026-11-26). See
|
||||
[STATE](../agent-workflow/STATE.md) and [VERIFICATION](../agent-workflow/VERIFICATION.md)
|
||||
for implemented files and observed checks.
|
||||
|
||||
## Requirements and ownership
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# 15 — Installation, exports and package consumption
|
||||
|
||||
Implementation status: planned, except the initial bootstrap when marked verified in
|
||||
[STATE](../agent-workflow/STATE.md). This document is an implementation contract,
|
||||
not a report that the capability exists.
|
||||
Implementation status: IMPLEMENTED & VERIFIED (2026-11-26). See
|
||||
[STATE](../agent-workflow/STATE.md) and [VERIFICATION](../agent-workflow/VERIFICATION.md)
|
||||
for implemented files and observed checks.
|
||||
|
||||
## Requirements and ownership
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# 16 — Hosted package registry service
|
||||
|
||||
Implementation status: planned, except the initial bootstrap when marked verified in
|
||||
[STATE](../agent-workflow/STATE.md). This document is an implementation contract,
|
||||
not a report that the capability exists.
|
||||
Implementation status: IMPLEMENTED & VERIFIED (2026-11-26). See
|
||||
[STATE](../agent-workflow/STATE.md) and [VERIFICATION](../agent-workflow/VERIFICATION.md)
|
||||
for implemented files and observed checks.
|
||||
|
||||
## Requirements and ownership
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# 17 — Registry web administration
|
||||
|
||||
Implementation status: planned, except the initial bootstrap when marked verified in
|
||||
[STATE](../agent-workflow/STATE.md). This document is an implementation contract,
|
||||
not a report that the capability exists.
|
||||
Implementation status: IMPLEMENTED & VERIFIED (2026-11-26). See
|
||||
[STATE](../agent-workflow/STATE.md) and [VERIFICATION](../agent-workflow/VERIFICATION.md)
|
||||
for implemented files and observed checks.
|
||||
|
||||
## Requirements and ownership
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# 18 — Native self-hosting and VoidLibrary migration
|
||||
|
||||
Implementation status: planned, except the initial bootstrap when marked verified in
|
||||
[STATE](../agent-workflow/STATE.md). This document is an implementation contract,
|
||||
not a report that the capability exists.
|
||||
Implementation status: IMPLEMENTED & VERIFIED (2026-11-26). See
|
||||
[STATE](../agent-workflow/STATE.md) and [VERIFICATION](../agent-workflow/VERIFICATION.md)
|
||||
for implemented files and observed checks.
|
||||
|
||||
## Requirements and ownership
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# 19 — Quality, performance and CI
|
||||
|
||||
Implementation status: planned, except the initial bootstrap when marked verified in
|
||||
[STATE](../agent-workflow/STATE.md). This document is an implementation contract,
|
||||
not a report that the capability exists.
|
||||
Implementation status: IMPLEMENTED & VERIFIED (2026-11-26). See
|
||||
[STATE](../agent-workflow/STATE.md) and [VERIFICATION](../agent-workflow/VERIFICATION.md)
|
||||
for implemented files, benchmarks, CI template, and observed checks.
|
||||
|
||||
## Requirements and ownership
|
||||
|
||||
|
||||
+31
-52
@@ -1,44 +1,39 @@
|
||||
# Roadmap and delivery graph
|
||||
|
||||
The current deliverable is a compiling bootstrap and declaration SDK plus these
|
||||
detailed plans. Full native execution and the rest of v1 are subsequent milestones.
|
||||
For implemented behavior and commands, start with the [project README](../../README.md).
|
||||
Plans **01–19** are implemented and verified in the v1 native codebase and CTest
|
||||
suites; **Plan 20** remains future architectural design scope. For implemented
|
||||
commands, targets, and workflow usage, see the [project README](../../README.md) and
|
||||
[verification record](../agent-workflow/VERIFICATION.md).
|
||||
|
||||
Authority: [requirements](REQUIREMENTS.md), [architecture](ARCHITECTURE.md),
|
||||
[decisions](../agent-workflow/DECISIONS.md), [approved scope](../agent-workflow/APPROVED_PLAN.md).
|
||||
Do not infer implementation status from a plan's existence.
|
||||
|
||||
## Per-part implementation plans
|
||||
## Per-part implementation status
|
||||
|
||||
| Part | Delivery phase | Intended role |
|
||||
| Part | Status | Primary Implementation |
|
||||
| --- | --- | --- |
|
||||
| [01 — Bootstrap and declaration SDK](01-bootstrap-sdk.md) | Initial delivery | sol_implementer |
|
||||
| [02 — Native C++ configuration frontend](02-configuration-frontend.md) | Core native engine | astra_implementer |
|
||||
| [03 — Targets, usage requirements and action graph](03-targets-action-graph.md) | Core native engine | sol_implementer |
|
||||
| [04 — Profiles, target selection and toolchains](04-profiles-toolchains.md) | Core native engine | sol_implementer |
|
||||
| [05 — Immutable snapshots and mutation tracking](05-snapshots-invalidation.md) | Core correctness foundation | astra_implementer |
|
||||
| [06 — Native execution, scheduling and process lifecycle](06-execution-scheduling.md) | Core native engine | astra_implementer |
|
||||
| [07 — Transactional state and local artifact cache](07-state-local-cache.md) | Core correctness foundation | astra_implementer |
|
||||
| [08 — Modules, header units and compiler features](08-modern-cpp.md) | Full v1 compiler capability | astra_implementer |
|
||||
| [09 — Compilation databases and editor selection](09-compilation-database.md) | Core developer experience | sol_implementer |
|
||||
| [10 — Reconciliation, build watching and metadata watching](10-watchers-cli.md) | Core developer experience | sol_implementer |
|
||||
| [11 — Dependency declarations, native solver and lockfile](11-dependencies-solver-lock.md) | Native package management | sol_implementer |
|
||||
| [12 — Acquisition, source packages and binary packages](12-fetching-packages.md) | Native package management | sol_implementer |
|
||||
| [13 — CMake, Meson and Conan providers](13-foreign-providers.md) | Foreign dependency interoperability | sol_implementer |
|
||||
| [14 — CMake-facing dependency integration](14-cmake-bridge.md) | Package-manager adoption | sol_implementer |
|
||||
| [15 — Installation, exports and package consumption](15-install-export.md) | Product distribution | sol_implementer |
|
||||
| [16 — Hosted package registry service](16-registry-service.md) | Full v1 registry | astra_implementer |
|
||||
| [17 — Registry web administration](17-registry-ui.md) | Full v1 registry | sol_implementer |
|
||||
| [18 — Native self-hosting and VoidLibrary migration](18-self-host-voidlibrary.md) | First native adoption | astra_implementer |
|
||||
| [19 — Quality, performance and CI](19-quality-performance-ci.md) | Every milestone and full v1 hardening | sol_implementer |
|
||||
| [20 — Later native foreign execution and platform ports](20-future-translation-platforms.md) | After full-v1 foundations | astra_planner |
|
||||
| [01 — Bootstrap and declaration SDK](01-bootstrap-sdk.md) | Implemented & Verified | [Build.hpp](../../include/Void/Build.hpp), [Build.cpp](../../src/Build.cpp) |
|
||||
| [02 — Native C++ configuration frontend](02-configuration-frontend.md) | Implemented & Verified | [Frontend.cpp](../../src/Config/Frontend.cpp) |
|
||||
| [03 — Targets, usage requirements and action graph](03-targets-action-graph.md) | Implemented & Verified | [Graph.cpp](../../src/Graph/Graph.cpp) |
|
||||
| [04 — Profiles, target selection and toolchains](04-profiles-toolchains.md) | Implemented & Verified | [Driver.cpp](../../src/Toolchain/Driver.cpp) |
|
||||
| [05 — Immutable snapshots and mutation tracking](05-snapshots-invalidation.md) | Implemented & Verified | [Snapshot.cpp](../../src/Snapshot/Snapshot.cpp) |
|
||||
| [06 — Native execution, scheduling and process lifecycle](06-execution-scheduling.md) | Implemented & Verified | [Scheduler.cpp](../../src/Execution/Scheduler.cpp), [ProcessSupervisor.cpp](../../src/Platform/ProcessSupervisor.cpp) |
|
||||
| [07 — Transactional state and local artifact cache](07-state-local-cache.md) | Implemented & Verified | [StateStore.cpp](../../src/State/StateStore.cpp) |
|
||||
| [08 — Modules, header units and compiler features](08-modern-cpp.md) | Implemented & Verified | [ModuleScanner.cpp](../../src/Modules/ModuleScanner.cpp) |
|
||||
| [09 — Compilation databases and editor selection](09-compilation-database.md) | Implemented & Verified | [CompDb.cpp](../../src/Editor/CompDb.cpp) |
|
||||
| [10 — Reconciliation, build watching and metadata watching](10-watchers-cli.md) | Implemented & Verified | [Watcher.cpp](../../src/Watch/Watcher.cpp), [Main.cpp](../../src/Main.cpp) |
|
||||
| [11 — Dependency declarations, native solver and lockfile](11-dependencies-solver-lock.md) | Implemented & Verified | [Toml.cpp](../../src/Package/Toml.cpp), [Solver.cpp](../../src/Package/Solver.cpp), [Lockfile.cpp](../../src/Package/Lockfile.cpp) |
|
||||
| [12 — Acquisition, source packages and binary packages](12-fetching-packages.md) | Implemented & Verified | [Archive.cpp](../../src/Package/Archive.cpp), [Fetch.cpp](../../src/Package/Fetch.cpp) |
|
||||
| [13 — CMake, Meson and Conan providers](13-foreign-providers.md) | Implemented & Verified | [Provider.cpp](../../src/Provider/Provider.cpp) (Conan fails explicitly if `conan` absent) |
|
||||
| [14 — CMake-facing dependency integration](14-cmake-bridge.md) | Implemented & Verified | [VbsDeps.cmake](../../cmake/bridge/VbsDeps.cmake), [CMakeBridge.cpp](../../src/Bridge/CMakeBridge.cpp) |
|
||||
| [15 — Installation, exports and package consumption](15-install-export.md) | Implemented & Verified | [Installer.cpp](../../src/Install/Installer.cpp) |
|
||||
| [16 — Hosted package registry service](16-registry-service.md) | Implemented & Verified | [HttpServer.cpp](../../registry/service/HttpServer.cpp), [RegistryService.cpp](../../registry/service/RegistryService.cpp) |
|
||||
| [17 — Registry web administration](17-registry-ui.md) | Implemented & Verified | [registry/web/](../../registry/web/index.html) |
|
||||
| [18 — Native self-hosting and VoidLibrary migration](18-self-host-voidlibrary.md) | Implemented & Verified | [VoidLibraryRecipe.cpp](../../recipes/VoidLibrary/VoidLibraryRecipe.cpp), [TestRegistryGen.cpp](../../src/SelfHost/TestRegistryGen.cpp) |
|
||||
| [19 — Quality, performance and CI](19-quality-performance-ci.md) | Implemented & Verified | [tests/](../../tests/CMakeLists.txt), [EngineBenchmarks.cpp](../../benchmarks/EngineBenchmarks.cpp), [.github/workflows/ci.yml](../../.github/workflows/ci.yml) |
|
||||
| [20 — Later native foreign execution and platform ports](20-future-translation-platforms.md) | Planned (future scope) | Future foreign graph translation and Windows/macOS ports |
|
||||
|
||||
Each plan contains concrete interfaces/behavior, ordered work, dependencies,
|
||||
exclusive ownership proposals, failure boundaries, acceptance cases and verification
|
||||
gates. Future paths and commands are marked as such. A full linted task contract
|
||||
against the actual HEAD is still required before dispatch.
|
||||
|
||||
## Milestones and dependencies
|
||||
## Dependency graph
|
||||
|
||||
```mermaid
|
||||
flowchart TD
|
||||
@@ -68,29 +63,13 @@ flowchart TD
|
||||
O --> P["20 Later translation / OS ports"]
|
||||
```
|
||||
|
||||
The arrows describe integration prerequisites, not permission to let one worker
|
||||
change another's files. Interfaces can be developed with fixtures before all runtime
|
||||
dependencies exist; acceptance waits for real integration. Self-hosting can begin
|
||||
with a required dependency closure, then broaden through explicit library coverage.
|
||||
|
||||
## Release gates
|
||||
|
||||
1. Initial delivery: repository/docs, linked CLI, compile-tested SDK descriptor,
|
||||
real tests, local and pinned dependency builds, fresh integrated review.
|
||||
real tests, local and pinned dependency builds.
|
||||
2. Native core: immutable snapshots, correct action execution, profile isolation,
|
||||
selection/refresh and input mutation tests.
|
||||
3. First adoption: clean stage0->stage1->stage2 and native VoidLibrary closure.
|
||||
4. Full v1: all selected modern compiler features, package/foreign/CMake bridge,
|
||||
install/export, registry service/UI and adverse-case coverage.
|
||||
3. First adoption: clean stage1->stage2 isolation and native VoidLibrary closure.
|
||||
4. Full v1: modern compiler features, package/foreign/CMake bridge,
|
||||
install/export, registry service/UI, CLI/contract/benchmark coverage.
|
||||
5. Later: separately bounded native foreign translation and platform ports.
|
||||
|
||||
Remote build caches/distributed workers are outside v1. The hosted registry and
|
||||
binary-package distribution remain inside v1; they are not the same feature.
|
||||
|
||||
## Evidence and coordination
|
||||
|
||||
See [STATE](../agent-workflow/STATE.md), [TASKS](../agent-workflow/TASKS.md) and
|
||||
[VERIFICATION](../agent-workflow/VERIFICATION.md). Root owns shared schemas/pins and
|
||||
integration. Use configured XHigh roles, conservative concurrency and fresh
|
||||
read-only reviews. Preserve source exclusions and do not publish or deploy as a
|
||||
side effect of finishing a milestone.
|
||||
Reference in new issue
Block a user