156 lines
8.5 KiB
Markdown
156 lines
8.5 KiB
Markdown
# 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.
|
||
|
||
## Planning evidence (observed)
|
||
|
||
- 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.
|
||
|
||
## Initial implementation
|
||
|
||
- 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.
|
||
|
||
```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
|
||
```
|
||
|
||
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:
|
||
|
||
```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
|
||
```
|
||
|
||
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.
|
||
|
||
## 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:
|
||
|
||
```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
|
||
```
|
||
|
||
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:
|
||
|
||
```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
|
||
```
|
||
|
||
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.
|
||
|
||
`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.
|