docs(workflow): record Wave 3 (P1 Text, Containers, Binary, Data) verification evidence
This commit is contained in:
1 parent
692f5ba5b2
commit
155b47d4d5
3 files changed
+73
-5
No files matched your search
@@ -45,12 +45,37 @@ at `f1f9ba375b22abf1adcc7c550ec21ac20895c0a4`).
|
||||
`Rounding`, `kMaxNumericTokenBytes = 256`, portable `constexpr` overflow helpers with
|
||||
guarded builtins, `checked_mul_add`, `checked_cast`, span-safe `parse_integer`/
|
||||
`parse_real`, and delegated `parse_int`/`parse_double`.
|
||||
4. **Wave 3 / P1 Text, Containers, Binary, Data implemented & verified**:
|
||||
- Task specs committed under `docs/agent-workflow/tasks/` (`68963fc`) plus user
|
||||
decision `D-031` in `DECISIONS.md`.
|
||||
- `Text` (`M-TEXT-02`, `883bbdc`): added locale-independent ASCII-only helpers in
|
||||
`include/Void/Text/Str.hpp`, new `include/Void/Text/Bounded.hpp` (`TextLimits`,
|
||||
`TextError`, `split_views`, `replace_bounded`, `repeat_bounded`, `join_bounded`), and
|
||||
boundary tests in `tests/standalone/Text/{Str,Bounded}.cpp`.
|
||||
- `Containers` (`M-CONTAINERS-02`, `M-CONTAINERS-03`, `9ac76bb`): updated
|
||||
`src/Containers/module.cmake` to `INTERNAL_DEPS Core Memory`; upgraded `ObjectPool` and
|
||||
`BufferPool` with stationary `std::shared_ptr<State>`, zero-alloc recycling, explicit
|
||||
`std::pmr::memory_resource*`, admission/byte limits, and exception-safe slot rollback;
|
||||
upgraded `Ring.hpp` with Vyukov sequence-based non-spinning `MpscRing::try_pop()`,
|
||||
`close()`, and quiesced destructor cleanup.
|
||||
- `Binary` (`M-BINARY-02`, `M-BINARY-03`, `eacb8a4`): updated `src/Binary/module.cmake`
|
||||
to `INTERNAL_DEPS Functional Memory`; added `Budget.hpp` (`BinaryErrorCode`,
|
||||
`DecodeLimits`, `DecodeBudget`), `Writer.hpp`, `ByteBuffer.hpp` (`FrozenBytes`,
|
||||
`ByteBuffer`), and upgraded `Reader.hpp` (pre-consume endian check, strict `readBool`,
|
||||
IEEE `readF32`/`readF64`, `Transaction`, checked cumulative budget readers); expanded
|
||||
installed `Binary` consumer.
|
||||
- `Data` (`M-DATA-02`, `692f5ba`): updated `src/Data/module.cmake` to
|
||||
`INTERNAL_DEPS Core Math Time`; added `std::int64_t`/`std::uint64_t`/`double`
|
||||
alternatives to `Void::Json::Value`, `NumberKind`, `number_as`, strict RFC 8259
|
||||
number parsing, exact cross-type `operator==`, `try_serialize`, typed SAX
|
||||
`on_int`/`on_uint`, and exact reflection/config formatting (`StrictJson` untouched).
|
||||
|
||||
## Baseline and authorization
|
||||
|
||||
User decisions D-027..D-030 authorize roadmap-order execution on branch
|
||||
User decisions D-027..D-031 authorize continuous roadmap-order execution on branch
|
||||
`feat/roadmap-p0-p1-foundations`, per-task workflow specs in `docs/agent-workflow/tasks/`,
|
||||
and Wave A+B API compatibility while leaving local untracked files untouched.
|
||||
Wave A+B API compatibility, and local merges of verified waves into `main` (without
|
||||
pushing to remote) while leaving local untracked files untouched.
|
||||
|
||||
## Verification already observed (P0)
|
||||
|
||||
@@ -81,8 +106,27 @@ and Wave A+B API compatibility while leaving local untracked files untouched.
|
||||
`harness_empty_loop` 0.20 ns, `core_uuid_parse_hyphenated` 25.26 ns (down from 88.76 ns),
|
||||
`core_uuid_to_string` 16.73 ns (down from 498.11 ns).
|
||||
|
||||
## Verification already observed (Wave 3)
|
||||
|
||||
- Full RelWithDebInfo + `-DVOID_WARNINGS_AS_ERRORS=ON` (`/tmp/void-w3-full`, 29 modules,
|
||||
`692f5ba`): `VoidTests` 1,332 tests — 1,329 passed, 3 intentional skips
|
||||
(`plugin_load_and_query_skipped`, `broken_feature`, `unquoted_skip`), 0 failed (3.83s);
|
||||
`ctest` 2/2 passed (`VoidTests` 3.81s, `VoidInstalledComponentConsumers` 12.38s, total
|
||||
16.20s).
|
||||
- Full Debug ASan + UBSan + `-DVOID_WARNINGS_AS_ERRORS=ON` (`/tmp/void-w3-asan`, 29 modules,
|
||||
`692f5ba`): `VoidTests` 1,332 tests — 1,329 passed, 3 skipped, 0 failed (10.83s), 0 leaks,
|
||||
0 UB.
|
||||
- Debug TSan subset (`Containers;Async;Time;Testing`, `/tmp/void-w3-tsan`, `692f5ba`):
|
||||
`Ring*|Pool*|BufferPool*|Clock*|Stopwatch*` 67/67 passed (69.8ms), 0 TSan data races.
|
||||
- `VoidFoundationBench` post-W3 (`rev=692f5ba5b2f9`, `/tmp/void-w3-full/post-w3.json`):
|
||||
`harness_empty_loop` 0.39 ns, `core_uuid_parse_hyphenated` 24.94 ns,
|
||||
`core_uuid_to_string` 16.88 ns, `containers_spsc_ring_push_pop` 8.85 ns,
|
||||
`containers_lru_get_put` 20.59 ns, `binary_reader_u64_be` 1.31 ns,
|
||||
`data_json_parse_small_object` 325.73 ns, `data_json_serialize_small_object` 164.76 ns.
|
||||
|
||||
## Ownership and next step
|
||||
|
||||
Wave 1 (P0) and Wave 2 (P1 Gate 1: `Core`, `Functional`, `Time`, `Memory`, `Math`) are
|
||||
complete and verified on branch `feat/roadmap-p0-p1-foundations`. Next planned wave when
|
||||
authorized: P1 Wave 3 (`Containers`, `Data`, `Binary`, `Text`).
|
||||
Waves 1–3 (`P0`, `P1 Gate 1`, and `P1 Text/Containers/Binary/Data`) are complete and
|
||||
verified on `feat/roadmap-p0-p1-foundations` and ready to merge locally into `main`,
|
||||
before planning and executing Wave 4 (`Algorithms`, `Unicode`, `Async`, `IO`, `Runtime`,
|
||||
`Testing`).
|
||||
@@ -34,6 +34,15 @@ These tasks author plans. Future feature task IDs inside those plans remain plan
|
||||
| S-MEMORY-02..04 | `Memory` subsystem (`Resource`, `BudgetResource`, `Arena`, `BlockPool`, `MemoryOnly`) (`4d48f2a`) | [S-MEMORY-02-04](tasks/S-MEMORY-02-04.md) | VERIFIED | `Arena` 3/3, `BlockPool` 2/2, `BudgetResource` 3/3 passed; isolated `MemoryOnly` & integrated consumers passed |
|
||||
| M-MATH-02 | Span-safe `parse_integer`/`parse_real`, `checked_cast`, `checked_mul_add`, portable overflow (`91e2beb`, `6cac781`) | [M-MATH-02](tasks/M-MATH-02.md) | VERIFIED | `Numeric` 35/35 passed in Debug `-Werror`, full RelWithDebInfo, & full Debug ASan+UBSan |
|
||||
|
||||
## Wave 3 — P1 Text, Containers, Binary, Data (`feat/roadmap-p0-p1-foundations`)
|
||||
|
||||
| ID | Deliverable | Spec | State | Verification summary |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| M-TEXT-02 | ASCII-explicit helpers in `Str.hpp` + `Bounded.hpp` (`883bbdc`) | [M-TEXT-02](tasks/M-TEXT-02.md) | VERIFIED | `Str` 25/25, `Bounded` 2/2 passed in `Text;Testing` `-Werror`, full RelWithDebInfo, & ASan+UBSan |
|
||||
| M-CONTAINERS-02, M-CONTAINERS-03 | Stationary `shared_ptr<State>` & bounded `ObjectPool`/`BufferPool` + Vyukov non-spinning `MpscRing` (`9ac76bb`) | [M-CONTAINERS-02-03](tasks/M-CONTAINERS-02-03.md) | VERIFIED | `Pool` 13/13, `BufferPoolTests` 8/8, `Ring` 15/15 passed in RelWithDebInfo, ASan+UBSan, & Debug TSan (`67/67`, 0 races) |
|
||||
| M-BINARY-02, M-BINARY-03 | `Budget.hpp`, `Writer.hpp`, `ByteBuffer.hpp`, upgraded `Reader.hpp`, expanded `Binary` consumer (`eacb8a4`) | [M-BINARY-02-03](tasks/M-BINARY-02-03.md) | VERIFIED | `Reader` 4/4, `Writer` 2/2, `ByteBuffer` 1/1 passed; `VoidInstalledComponentConsumers` (`Binary`, `RelocatedBinary`) passed |
|
||||
| M-DATA-02 | Exact `int64`/`uint64` JSON numbers, `number_as`, strict parser, exact `operator==`, `try_serialize`, SAX `on_int`/`on_uint`, exact reflection/config (`692f5ba`) | [M-DATA-02](tasks/M-DATA-02.md) | VERIFIED | `Json` 34/34, `Reflect` 14/14, `StrictJson` 3/3, `Update` 22/22, `Config` 12/12 passed in full RelWithDebInfo & ASan+UBSan |
|
||||
|
||||
All workers share the checkout and have disjoint file ownership defined in their
|
||||
persisted task specifications. Root owns all cross-cutting files and resolves contract
|
||||
changes. No worker owns application code, build files, existing docs/short-url.md, or Git
|
||||
|
||||
@@ -173,3 +173,18 @@ Branch: `feat/roadmap-p0-p1-foundations`. Toolchain via `dev cpp-gcc`: GCC 16.2.
|
||||
| Full Integrated RelWithDebInfo (`6cac781`) | `dev cpp-gcc -p libarchive -p openssl -p sqlite -p libsodium` full build (`-DVOID_WARNINGS_AS_ERRORS=ON -DVOID_ENABLE_BENCHMARKS=ON`), `/tmp/void-p1-full/tests/VoidTests`, `ctest --test-dir /tmp/void-p1-full --output-on-failure --timeout 180` | `VoidTests`: 1,310 tests — 1,307 passed, 3 intentional skips (`plugin_load_and_query_skipped`, `broken_feature`, `unquoted_skip`), 0 failed (3.72s); `ctest`: 2/2 passed (`VoidTests` 3.81s + `VoidInstalledComponentConsumers` 11.95s, total 15.75s) |
|
||||
| Full Integrated ASan+UBSan (`6cac781`) | `dev cpp-gcc -p libarchive -p openssl -p sqlite -p libsodium` Debug (`-DVOID_ENABLE_ASAN=ON -DVOID_ENABLE_UBSAN=ON -DVOID_WARNINGS_AS_ERRORS=ON`), `ASAN_OPTIONS=detect_leaks=1:halt_on_error=1 UBSAN_OPTIONS=print_stacktrace=1:halt_on_error=1 /tmp/void-p1-asan/tests/VoidTests` | 1,310 tests — 1,307 passed, 3 skipped, 0 failed (10.70s), 0 leaks, 0 UB |
|
||||
| Post-P1 Benchmark (`6cac781`) | `/tmp/void-p1-full/benchmarks/VoidFoundationBench --json /tmp/void-p1-full/post-p1.json` (RelWithDebInfo, warmup=5, reps=20, ops=10000) | Medians: `harness_empty_loop` 0.20ns, `core_uuid_parse_hyphenated` 25.26ns, `core_uuid_to_string` 16.73ns, `core_hash_fnv1a64_256b` 183.64ns, `core_hash_murmur3_256b` 68.66ns, `functional_result_ok_chain` 1.14ns, `functional_error_with_context` 59.07ns, `math_checked_add_loop` 0.47ns, `containers_spsc_ring_push_pop` 8.51ns, `containers_lru_get_put` 22.29ns, `binary_reader_u64_be` 1.32ns, `data_json_parse_small_object` 290.64ns, `data_json_serialize_small_object` 174.92ns |
|
||||
|
||||
## Wave 3 / P1 Text, Containers, Binary, Data Verification (2026-11-24)
|
||||
|
||||
Branch: `feat/roadmap-p0-p1-foundations`. Toolchain via `dev cpp-gcc`: GCC 16.2.0, CMake 4.4.4, Ninja 1.13.2.
|
||||
|
||||
| Scope | Command & configuration | Observed outcome |
|
||||
| --- | --- | --- |
|
||||
| M-TEXT-02 (`883bbdc`) | `dev cpp-gcc -c` RelWithDebInfo `Text;Testing` `-DVOID_WARNINGS_AS_ERRORS=ON` `/tmp/void-p1-text/tests/VoidTests --filter "Str*\|Bounded*"` & `ctest` | 50/50 passed (`Str` 25, `Bounded` 2, plus active dependencies); `ctest` 2/2 passed |
|
||||
| M-CONTAINERS-02..03 (`9ac76bb`) | `Containers;Testing` RelWithDebInfo `-Werror` `/tmp/void-p1-containers` & Debug TSan `/tmp/void-p1-containers-tsan` | RelWithDebInfo `Pool*\|BufferPool*\|Ring*` 38/38 & `ctest` 2/2 passed; Debug TSan `Ring*` 15/15 passed (0 races) |
|
||||
| M-BINARY-02..03 (`eacb8a4`) | `Binary;Testing` RelWithDebInfo `-Werror` `/tmp/void-p1-binary` & `ctest` | `Reader*\|Writer*\|ByteBuffer*` 7/7 passed (`Reader` 4, `Writer` 2, `ByteBuffer` 1); `ctest` 2/2 passed (including expanded `Binary` & `RelocatedBinary` consumers) |
|
||||
| M-DATA-02 (`692f5ba`) | `dev cpp-gcc -p openssl` RelWithDebInfo `Data;Update;Configuration;Testing` `-Werror` `/tmp/void-p1-data/tests/VoidTests` | Filtered `Json*\|StrictJson*\|Reflect*\|Update*\|Config*` 119/119 passed; full active suite 804 tests: 802 passed, 2 skipped, 0 failed |
|
||||
| Full Integrated RelWithDebInfo (`692f5ba`) | `dev cpp-gcc -p libarchive -p openssl -p sqlite -p libsodium` full build (`-DVOID_WARNINGS_AS_ERRORS=ON -DVOID_ENABLE_BENCHMARKS=ON`), `/tmp/void-w3-full/tests/VoidTests`, `ctest --test-dir /tmp/void-w3-full --output-on-failure --timeout 180` | `VoidTests`: 1,332 tests — 1,329 passed, 3 intentional skips (`plugin_load_and_query_skipped`, `broken_feature`, `unquoted_skip`), 0 failed (3.83s); `ctest`: 2/2 passed (`VoidTests` 3.81s + `VoidInstalledComponentConsumers` 12.38s, total 16.20s) |
|
||||
| Full Integrated ASan+UBSan (`692f5ba`) | `dev cpp-gcc -p libarchive -p openssl -p sqlite -p libsodium` Debug (`-DVOID_ENABLE_ASAN=ON -DVOID_ENABLE_UBSAN=ON -DVOID_WARNINGS_AS_ERRORS=ON`), `ASAN_OPTIONS=detect_leaks=1:halt_on_error=1 UBSAN_OPTIONS=print_stacktrace=1:halt_on_error=1 /tmp/void-w3-asan/tests/VoidTests` | 1,332 tests — 1,329 passed, 3 skipped, 0 failed (10.83s), 0 leaks, 0 UB |
|
||||
| Wave 3 TSan Subset (`692f5ba`) | `dev cpp-gcc -c` Debug (`Containers;Async;Time;Testing`, `-DVOID_ENABLE_TSAN=ON -DVOID_WARNINGS_AS_ERRORS=ON`), `/tmp/void-w3-tsan/tests/VoidTests --filter "Ring*\|Pool*\|BufferPool*\|Clock*\|Stopwatch*"` | 67/67 passed (69.8ms), 0 TSan races (`ThreadPool` 7, `ThreadPoolBackpressure` 2, `BufferPoolTests` 8, `Pool` 13, `Ring` 15, `BlockPool` 2, `Clock` 6, `Stopwatch` 14) |
|
||||
| Post-W3 Benchmark (`692f5ba`) | `/tmp/void-w3-full/benchmarks/VoidFoundationBench --json /tmp/void-w3-full/post-w3.json` (RelWithDebInfo, warmup=5, reps=20, ops=10000) | Medians: `harness_empty_loop` 0.39ns, `core_uuid_parse_hyphenated` 24.94ns, `core_uuid_to_string` 16.88ns, `core_hash_fnv1a64_256b` 181.90ns, `core_hash_murmur3_256b` 68.26ns, `functional_result_ok_chain` 1.13ns, `functional_error_with_context` 58.86ns, `math_checked_add_loop` 0.47ns, `containers_spsc_ring_push_pop` 8.85ns, `containers_lru_get_put` 20.59ns, `binary_reader_u64_be` 1.31ns, `data_json_parse_small_object` 325.73ns, `data_json_serialize_small_object` 164.76ns |
|
||||
Reference in new issue
Block a user