docs(workflow): record P1 Gate 1 verification evidence

This commit is contained in:
faumaray committed 2026-11-24 03:00:07 +03:00
1 parent 6cac781f3a
commit 1d34a93a3f
3 files changed
+68 -2

No files matched your search

+41 -2
View File
@@ -23,6 +23,28 @@ at `f1f9ba375b22abf1adcc7c550ec21ac20895c0a4`).
`VOID_ENABLE_TSAN`; verified Debug ASan+UBSan+`-Werror` full suite and TSan subset.
- `X-BASE-05`: Added `VOID_ENABLE_BENCHMARKS` (`benchmarks/FoundationBench.cpp`) and
`tests/corpus/README.md`; recorded P0 foundation benchmark manifest.
3. **Wave 2 / P1 Foundations Gate 1 implemented & verified**:
- Specs authored under `docs/agent-workflow/tasks/` (`8d28c7e`).
- `Core` (`M-CORE-02`, `M-CORE-03`, `cbc9004`): detached `Uuid` from `Math`/`<format>`,
added `GenerateError`, `v4(G&)`, `try_v4()`, span-safe `constexpr` `parse`/`v5_lite`/
`format_chars`, `CheckedBits`, endian-portable `Hash` helpers, and `CoreOnly` consumer.
- `VoidTestScanner` fix (`284d963`): prevented unbalanced `[` in C++ strings from dropping
downstream test discovery in `cmake/VoidTestScanner.cmake`.
- `Functional` (`M-FUNCTIONAL-02`, `7f3395c`): added `ErrorKind`/`ErrorCode`, zero-alloc
`Status`, bounded `Error` chains (16 frames / 1 KiB / 16 KiB) with iterative destructor,
`Result::fail` overloads, and `Adapters.hpp`.
- `Time` (`M-TIME-02`, `4227348`): added `Clock.hpp` (`MonotonicClock`, `CivilClock`,
`SystemMonotonicClock`, `SystemCivilClock`, atomic `ManualClock`, `ManualCivilClock`,
`remaining_until`) and upgraded `Stopwatch` with clock injection, `resume()`,
`try_lap()`, single-sample `split()`, and `kDefaultMaxLaps = 4096`.
- `Memory` subsystem (`S-MEMORY-02..04`, `4d48f2a`): added `Resource.hpp`,
`BudgetResource.hpp`, `Arena.hpp` (`Arena::Checkpoint`, `Arena::TypedScope`,
`ArenaResource`), `BlockPool.hpp` (`BlockPool`, `SynchronizedBlockPool`), and
`MemoryOnly` installed consumer.
- `Math` (`M-MATH-02`, `91e2beb`, `6cac781`): added `Error::{Inexact,NonFinite}`,
`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`.
## Baseline and authorization
@@ -43,7 +65,24 @@ and Wave A+B API compatibility while leaving local untracked files untouched.
- `VoidFoundationBench` (RelWithDebInfo, 5 warmup, 20 reps, 10,000 ops/rep): 12 workloads +
empty-harness baseline recorded to `/tmp/void-p0-bench/baseline.json`.
## Verification already observed (P1 Gate 1)
- Full RelWithDebInfo + `-DVOID_WARNINGS_AS_ERRORS=ON` (`/tmp/void-p1-full`, 29 modules,
`6cac781`): `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 Debug ASan + UBSan + `-DVOID_WARNINGS_AS_ERRORS=ON` (`/tmp/void-p1-asan`, 29 modules,
`6cac781`): `VoidTests` 1,310 tests — 1,307 passed, 3 skipped, 0 failed (10.70s), 0 leaks,
0 UB.
- Standalone `Memory;Testing` (`8/8`) + isolated `-DVOID_ENABLED_MODULES=Memory` consumer
`/tmp/void-p1-memory-only-consumer/void_memory_only_consumer` passed (`4d48f2a`).
- `VoidFoundationBench` post-P1 (`rev=6cac781f3a5f`, `/tmp/void-p1-full/post-p1.json`):
`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).
## Ownership and next step
Proceeding to Wave 2 (P1 Gate 1): `Core` (`M-CORE-02`, `M-CORE-03`), `Functional`
(`M-FUNCTIONAL-02`), `Time` (`M-TIME-02`), `Memory` (`S-MEMORY-02..04`), and `Math` (`M-MATH-02`).
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`).