Files
Library/docs/agent-workflow/STATE.md
T

40 KiB
Raw Blame History

Workflow state

Updated: 2026-12-01. Repository: VoidLibrary; active branch feat/roadmap-p2-wave11 (from main at 38436b1; Waves 1–11 + VL-001..VL-013 complete and merging into main, pushed to origin/main). Current wave: Wave 11 — execution-path backfill COMPLETE; next: Wave 12 — VoidForge upstream requests (D-041) + X-QA-01..04.

Completed objective

  1. Approved multi-file expansion planning package committed (faa8a51): 54 roadmap documents with 300 planned feature tasks and workflow records.
  2. Wave 1 / P0 Reliable Baseline (X-BASE-01..X-BASE-05) implemented & verified:
    • X-BASE-01: Replaced hardcoded /bin/echo, /bin/cat, and seq in process tests with standard-library VoidProcessHelper.
    • X-BASE-02: Marked FetchContent Boost 1.84 as SYSTEM so -DVOID_WARNINGS_AS_ERRORS=ON succeeds cleanly on GCC 16.2.0 (-std=c++26).
    • X-BASE-03: Transferred <Void/Log/Log.hpp> header ownership to LogState, reconciled acyclic INTERNAL_DEPS across 10 module.cmake files, added Void::FunctionalCoreFormatting, propagated -freflection on INTERFACE modules, filtered VoidTests by ACTIVE_MODULES, and verified minimal, System-only, embedded add_subdirectory, static, and relocated installed consumers.
    • X-BASE-04: Added cmake/Capabilities.cmake (VOID_HAS_STD_EXPECTED, VOID_HAS_CXX26_REFLECTION, sanitizer probes, ASan+TSan mutual exclusion) and 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.
  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-032 authorize continuous roadmap-order execution across dedicated wave branches (feat/roadmap-*), per-task workflow specs in docs/agent-workflow/tasks/, Wave A+B API compatibility, --no-ff merges of verified waves into main, and pushing verified main and active feature branches to origin while leaving local untracked files untouched.

Verification already observed (P0)

  • Full RelWithDebInfo + -DVOID_WARNINGS_AS_ERRORS=ON via dev cpp-gcc -p libarchive -p openssl -p sqlite -p libsodium: build passed (exit 0); ctest 2/2 passed (VoidTests 1,249 passed / 3 intentional skips / 0 failed; VoidInstalledComponentConsumers including relocated Foundation and External passed).
  • Minimal foundation subset, System without Log (Log.hpp installed), embedded add_subdirectory, and static (BUILD_SHARED_LIBS=OFF) builds/tests all passed.
  • Full Debug ASan+UBSan+-Werror: VoidTests 1,249 passed, 3 skipped, 0 failed, 0 leaks/UB.
  • Debug TSan subset (Async;Time;Core;Functional;Testing): 389 passed, 2 skipped, 0 failed.
  • 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).

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.

Verification already observed (Wave 4A — P1 Algorithms, Unicode, Async)

  • Standalone Algorithms;Testing (-Werror, /tmp/void-w4a-alg, bfd6246): Graph 4/4 passed (64.2ms); ctest 2/2 passed (including AlgorithmsOnly installed consumer).
  • Standalone Unicode;Testing (-Werror, /tmp/void-w4a-unicode, 4369fde): Utf 4/4 passed (0.3ms); ctest 2/2 passed (including UnicodeOnly installed consumer).
  • Standalone Async;Testing (-Werror, /tmp/void-w4a-async, c75056f): OperationScope*|Executor*|Coro* 28/28 passed (4.1ms); ctest 2/2 passed.
  • Debug TSan subset (Async;Testing, /tmp/void-w4a-async-tsan, c75056f): OperationScope*|Executor*|ThreadPool* 20/20 passed (34.6ms), 0 TSan races.
  • Full RelWithDebInfo + -DVOID_WARNINGS_AS_ERRORS=ON (/tmp/void-w4a-full, 31 modules, c75056f): VoidTests 1,345 tests — 1,342 passed, 3 intentional skips (plugin_load_and_query_skipped, broken_feature, unquoted_skip), 0 failed (3.75s); ctest 2/2 passed (VoidTests 3.77s, VoidInstalledComponentConsumers 14.45s, total 18.21s).
  • Full Debug ASan + UBSan + -DVOID_WARNINGS_AS_ERRORS=ON (/tmp/void-w4a-asan, 31 modules, c75056f): VoidTests 1,345 tests — 1,342 passed, 3 skipped, 0 failed (11.00s), 0 leaks, 0 UB.
  • VoidFoundationBench post-W4A (rev=c75056fe0707, /tmp/void-w4a-full/post-w4a.json): harness_empty_loop 0.39 ns, core_uuid_parse_hyphenated 25.48 ns, core_uuid_to_string 17.09 ns, containers_spsc_ring_push_pop 9.16 ns, containers_lru_get_put 21.81 ns, binary_reader_u64_be 1.36 ns, data_json_parse_small_object 319.83 ns, data_json_serialize_small_object 168.13 ns.

Verification already observed (Wave 4B — P1 IO, Runtime, Testing)

  • Standalone IO (-Werror, /tmp/void-w4b-io, 673bb7e): IoDriver 4/4 passed (7.5 ms); ctest 2/2 passed (VoidTests 1.50 s, VoidInstalledComponentConsumers including IOOnly 6.08 s); Debug TSan /tmp/void-w4b-io-tsan IoDriver 4/4 passed (12.8 ms, 0 races).
  • Standalone Runtime (-Werror, /tmp/void-w4b-runtime, 11 modules, 1b3331e): RuntimeHost 3/3 passed (0.5 ms); ctest 2/2 passed (VoidTests 1.54 s, VoidInstalledComponentConsumers including RuntimeOnly 8.01 s).
  • Standalone Testing (Core;Testing, -Werror, /tmp/void-w4b-testing, de8a981): FrameworkHardening*|Deterministic*|Math*|ContainerFixture*|StructRepr* 16 tests — 14 passed, 2 intentional skips (broken_feature, unquoted_skip), 0 failed (301.1 ms); ctest 2/2 passed (2.82 s).
  • Full RelWithDebInfo + -DVOID_WARNINGS_AS_ERRORS=ON (/tmp/void-w4b-full, 33 modules, de8a981): VoidTests 1,359 tests — 1,356 passed, 3 intentional skips (plugin_load_and_query_skipped, broken_feature, unquoted_skip), 0 failed (5.08 s); ctest 2/2 passed (VoidTests 4.50 s, VoidInstalledComponentConsumers 19.77 s, total 24.27 s).
  • Full Debug ASan + UBSan + -DVOID_WARNINGS_AS_ERRORS=ON (/tmp/void-w4b-asan, 33 modules, de8a981): VoidTests 1,359 tests — 1,356 passed, 3 skipped, 0 failed (14.87 s), 0 leaks, 0 UB.
  • Debug TSan subset (IO;Async;Containers;Time;Testing, /tmp/void-w4b-tsan, 9 active modules, de8a981): Io*|OperationScope*|Executor*|Ring*|Pool*|Clock* 80/80 passed (60.7 ms), 0 TSan data races.
  • VoidFoundationBench post-W4B (rev=de8a981893d8, /tmp/void-w4b-full, post-w4b.json): harness_empty_loop 0.39 ns, core_uuid_parse_hyphenated 25.28 ns, core_uuid_to_string 16.94 ns, core_hash_fnv1a64_256b 184.30 ns, core_hash_murmur3_256b 69.63 ns, functional_result_ok_chain 1.16 ns, functional_error_with_context 60.17 ns, math_checked_add_loop 0.48 ns, containers_spsc_ring_push_pop 9.06 ns, containers_lru_get_put 21.30 ns, binary_reader_u64_be 1.35 ns, data_json_parse_small_object 316.78 ns, data_json_serialize_small_object 168.16 ns.

Verification already observed (Wave 5 — P2 Operations Foundations)

  • ObservabilityHooks + Observability (fe99051): Observability* 4/4 passed (12.1 ms); ctest 2/2 passed (including ObservabilityHooksOnly & ObservabilityOnly, 7.03 s).
  • Resilience + ResilienceAsync + P2 error domains (18a623a): standalone 21/21 (2.8 ms) + AsyncPolicy* 6/6 (1.3 ms); ctest 2/2 (5.99 s including ResilienceOnly).
  • LogState + Log + LogConfig (a74a402): Log;Testing 724 ✔, 2 ⊘ (broken_feature, unquoted_skip), 0 ✘ (799.2 ms); ctest 2/2 (LogOnly 7.15 s, total 8.09 s); LogConfig;Testing 12/12 (28.9 ms).
  • CMake VOID_ACTIVE_PUBLIC_HEADERS fix (3d8dfb0) + Stacktrace (7b57b35): Stacktrace;Testing Stacktrace* 4/4 passed (374.2 ms) without selecting Log.
  • Full RelWithDebInfo + -DVOID_WARNINGS_AS_ERRORS=ON (/tmp/void-w5-full, 37 modules, 7b57b35): VoidTests 1,378 tests — 1,375 passed, 3 intentional skips (plugin_load_and_query_skipped, broken_feature, unquoted_skip), 0 failed (7.49 s); ctest 2/2 passed (VoidTests 8.09 s, VoidInstalledComponentConsumers all 16 consumers 66.12 s, total 74.22 s).
  • Full Debug ASan + UBSan + -DVOID_WARNINGS_AS_ERRORS=ON (/tmp/void-w5-asan, 37 modules, 7b57b35): initial run hit 1 timing assertion in unrelated existing internal_fsm_service_hot_reload_under_load (FsmServiceHotReload.cpp:119); clean re-run passed all 1,378 tests — 1,375 passed, 3 skipped, 0 failed (50.16 s), 0 leaks, 0 UB.
  • Wave 5 Debug TSan subset (/tmp/void-w5-tsan, 15 modules, 7b57b35): Observability*|ResilienceHardening*|AsyncPolicy*|Log*|AsyncLogger*|LogScopeSnapshot*|Io*|OperationScope* 68/68 passed (7.01 s), 0 TSan data races.
  • VoidFoundationBench post-W5 (rev=7b57b355cd75, /tmp/void-w5-full, post-w5.json): harness_empty_loop 0.75 ns, core_uuid_parse_hyphenated 43.49 ns, core_uuid_to_string 32.51 ns, core_hash_fnv1a64_256b 213.37 ns, core_hash_murmur3_256b 92.34 ns, functional_result_ok_chain 1.65 ns, functional_error_with_context 94.82 ns, math_checked_add_loop 0.86 ns, containers_spsc_ring_push_pop 10.76 ns, containers_lru_get_put 31.99 ns, binary_reader_u64_be 2.24 ns, data_json_parse_small_object 576.81 ns, data_json_serialize_small_object 284.87 ns.

Verification already observed (Wave 6A — P2 System, SystemAsync, IPC)

  • Wave 6A prep & P2/P3 error domains (3f67b1e): reserved kIpcErrorDomain = 16.. kSqliteErrorDomain = 21 in Error.hpp, added thread-safe pipe ENOTSOCK fallback in EpollDriver.cpp, enabled VoidProcessHelper for Void::System OR Void::IPC, added M-SYSTEM-01-05.md and S-IPC-01-03.md.
  • System (fcdbc06): System;Testing (/tmp/void-w6a-system, -Werror) System* 53/53 passed (226.6 ms); ctest 2/2 (VoidTests 0.57 s, VoidInstalledComponentConsumers including SystemOnly 3.95 s).
  • SystemAsync (9a3c5d8): SystemAsync;Testing (/tmp/void-w6a-sysasync, -Werror) SystemAsync* 2/2 passed (211.5 ms); ctest 2/2 (VoidTests 1.15 s, VoidInstalledComponentConsumers including SystemAsyncOnly 9.43 s).
  • IPC (39a48d5): IPC;Testing (/tmp/void-w6a-ipc, -Werror) Ipc* 3/3 passed (8.8 ms); ctest 2/2 (VoidTests 0.49 s, VoidInstalledComponentConsumers including IPCOnly 12.20 s, total 12.70 s).
  • Full RelWithDebInfo + -DVOID_WARNINGS_AS_ERRORS=ON (/tmp/void-w6a-full, 39 modules, 39a48d5): VoidTests 1,386 tests — 1,383 passed, 3 intentional skips (plugin_load_and_query_skipped, broken_feature, unquoted_skip), 0 failed (4.68 s); ctest 2/2 passed (VoidTests 4.58 s, VoidInstalledComponentConsumers 19 consumer builds incl. SystemOnly, SystemAsyncOnly, IPCOnly, RelocatedFoundation, RelocatedExternal, 31.05 s, total 35.63 s).
  • Full Debug ASan + UBSan + -DVOID_WARNINGS_AS_ERRORS=ON (/tmp/void-w6a-asan, 39 modules, 39a48d5): VoidTests 1,386 tests — 1,383 passed, 3 skipped, 0 failed (19.34 s), 0 ASan/LSan leaks, 0 UBSan errors.
  • Wave 6A Debug TSan subset (/tmp/void-w6a-tsan, 14 modules, 39a48d5): Process*|SystemHardening*|SystemAsync*|Ipc*|FileWatcher*|IoDriver*|OperationScope* 35/35 passed (609.4 ms), 0 TSan data races.
  • VoidFoundationBench post-W6A (rev=39a48d5c0a72, /tmp/void-w6a-full/post-w6a.json): harness_empty_loop 0.38 ns, core_uuid_parse_hyphenated 24.92 ns, core_uuid_to_string 17.45 ns, core_hash_fnv1a64_256b 181.41 ns, core_hash_murmur3_256b 67.93 ns, functional_result_ok_chain 1.13 ns, functional_error_with_context 58.77 ns, math_checked_add_loop 0.47 ns, containers_spsc_ring_push_pop 8.80 ns, containers_lru_get_put 20.61 ns, binary_reader_u64_be 1.31 ns, data_json_parse_small_object 311.16 ns, data_json_serialize_small_object 162.52 ns.

Verification already observed (StrictJson RFC 8259 decimals — acd77ee, on main)

  • Added ParseOptions{maximumDepth, allowDecimals = true} and double variant alternative to Void::Json::Strict (include/Void/Data/StrictJson.hpp) for LSP messages while preserving exact int64_t integer semantics and allowDecimals = false opt-out (tests/standalone/Data/StrictJson.cpp 6/6 tests).
  • Verified in RelWithDebInfo -Werror (49/49, ctest 2/2) and Debug ASan+UBSan -Werror (/tmp/void-strictjson-asan, 49/49 in 7.0 ms, 0 leaks, 0 UB); pushed to origin/main.

Verification already observed (Wave 6B — P2 Crypto, Security, Archive, Update)

  • Wave 6B task specs (8a1c15f): added M-CRYPTO-01-05.md, M-SECURITY-01-04.md, M-ARCHIVE-01-05.md, and M-UPDATE-01-06.md.
  • Crypto & CryptoAsync (eb42228): Crypto;CryptoAsync;Testing (/tmp/void-w6b-crypto, -Werror, -p openssl, 10 modules) Crypto*|crypto_* 8/8 (Crypto 3, CryptoHardening 3, CryptoAsync 2); ctest 2/2 (7.22 s, including CryptoOnly & CryptoAsyncOnly).
  • Security & SecurityAsync (713d2dc): Security;SecurityAsync;Testing (/tmp/void-w6b-security, -Werror, -p libsodium, 10 modules) Security*|security_* 14/14 (720.7 ms: SecurityTests 8, SecurityHardening 4, SecurityAsync 2); ctest 2/2 (8.46 s, including SecurityOnly & SecurityAsyncOnly).
  • Archive (00d7478): Archive;Testing (/tmp/void-w6b-archive, -Werror, -p libarchive, 7 modules) Archive*|archive_* 9/9 (259.0 ms: Archive 6, ArchiveHardening 3); ctest 2/2 (5.76 s, including ArchiveOnly).
  • Update (47736cb): Update;Testing (/tmp/void-w6b-update, -Werror, -p libarchive -p openssl, 12 modules) Update*|update_*|component_feed_*|readable_component_*|version_store_* 25/25 (1.91 s: Update 22, UpdateHardening 3); ctest 2/2 (10.64 s, including UpdateOnly).
  • Full RelWithDebInfo + -DVOID_WARNINGS_AS_ERRORS=ON (/tmp/void-w6b-full, 41 modules, 47736cb): VoidTests 1,406 tests — 1,403 passed, 3 intentional skips (plugin_load_and_query_skipped, broken_feature, unquoted_skip), 0 failed (6.26 s); ctest 2/2 passed (VoidTests 7.34 s, VoidInstalledComponentConsumers all 25 consumers incl. CryptoOnly, CryptoAsyncOnly, SecurityOnly, SecurityAsyncOnly, ArchiveOnly, UpdateOnly, RelocatedFoundation, RelocatedExternal, 40.73 s, total 48.07 s).
  • Full Debug ASan + UBSan + -DVOID_WARNINGS_AS_ERRORS=ON (/tmp/void-w6b-asan, 41 modules, 47736cb): VoidTests 1,406 tests — 1,403 passed, 3 skipped, 0 failed (21.78 s), 0 ASan/LSan leaks, 0 UBSan errors.
  • Wave 6B Debug TSan subset (CryptoAsync;SecurityAsync;Update;Testing, /tmp/void-w6b-tsan, 20 modules, 47736cb): 56/56 passed (4.86 s), 0 TSan data races.
  • VoidFoundationBench post-W6B (rev=47736cb6ce2f, /tmp/void-w6b-full/post-w6b.json): harness_empty_loop 0.38 ns, core_uuid_parse_hyphenated 24.52 ns, core_uuid_to_string 16.53 ns, core_hash_fnv1a64_256b 179.95 ns, core_hash_murmur3_256b 67.37 ns, functional_result_ok_chain 1.12 ns, functional_error_with_context 58.37 ns, math_checked_add_loop 0.47 ns, containers_spsc_ring_push_pop 8.76 ns, containers_lru_get_put 21.02 ns, binary_reader_u64_be 1.31 ns, data_json_parse_small_object 333.32 ns, data_json_serialize_small_object 165.99 ns.

Wave 7 (P2 Persistence & Storage: Sqlite, SqliteAsync, and NEW Original Storage — G-STORE Gate)

  • Task specs committed on feat/roadmap-p2-wave7 (9925ea1): tasks/M-SQLITE-01-05.md, tasks/S-STORAGE-01-06.md.
  • Void::Sqlite & Void::SqliteAsync (427cc9a, TSan lock-order fix 84e6fe8): hardened ConnectionState, open_database/OpenOptions with checked WAL/FULL/foreign_keys pragmas and disabled extension loading, checked positional/named binds, borrowed lifetime owners, strict typed RowView/getters, Transaction (sqlite3_get_autocommit), Savepoint, close() busy guard, migrate_checked with _void_schema_migrations, checkpoint/backup_to/restore_from/health, exception-safe callbacks, ScopedFaultGuard, plus optional Void::SqliteAsync (AsyncPool, bounded workers, leased interrupt cleanup) and SqliteOnly/SqliteAsyncOnly installed consumers.
  • Void::Storage (G-STORE Gate) (fdf0da5): built NEW original durable single-writer key-value storage engine with zero SQLite or external dependencies (Crc32c, Types, FilePort/PosixFilePort/FaultInjectingFilePort, V1 binary codecs VOIDWAL1/VOIDTBL1/VOIDMNF1/VOIDCUR1, Batch with preconditions, Engine with bootstrap/recovery/tail-truncation/checkpoint/incremental compaction/backup, Tools verify/restore/salvage, AsyncStorageAdapter C-03 stop-race conformance) and StorageOnly installed consumer.
  • Integrated verification (84e6fe8): VoidTests 1,417 tests (1,414 passed, 3 intentionally skipped hardware/root checks, 0 failed across 43 modules in 21.06s), ctest 2/2 (all 28 installed consumers in 65.05s), Debug ASan+UBSan 1,417 tests (0 leaks, 0 UB in 36.47s), TSan (SqliteAsync;Storage;Testing) 19/19 in 15.38s with 0 warnings, and post-Wave-7 VoidFoundationBench.

Wave 8 (P2 Lifecycle: Service, ServicePlugin, Plugin, Configuration, ConfigurationAsync, and Fsm)

  • Task specs committed on feat/roadmap-p2-wave8 (6b3dede): tasks/M-SERVICE-01-05.md, tasks/M-PLUGIN-01-06.md, tasks/M-CONFIGURATION-01-05.md, tasks/M-FSM-01-05.md; error domains 22..25 reserved in Functional/Error.hpp (kServiceErrorDomain, kPluginErrorDomain, kConfigurationErrorDomain, kFsmErrorDomain); cmake/Module.cmake updated to install *.h headers.
  • Void::Service & Void::ServicePlugin (1474a69): immutable ServiceSnapshot, owning ServiceHandle<I>, transactional DAG ProviderSet/prepare_batch/start_staged/publish/start_and_publish/close_and_join, split Void::ServicePlugin helper target, and ServiceOnly/ServicePluginOnly installed consumers.
  • Void::Plugin (a24e086, TSan pthread fixture fix 1a54f38): pure-C11 include/Void/Plugin/CAbi.h v1 (VOID_PLUGIN_ABI_VERSION), CModuleHost (pins/quiesce/checkpoint/replace/degraded state/retention/byte budgets/dep topological batching), CAbiAdapter, unlocked PluginManager staging, 9 pure-C11 -Werror test fixtures, and PluginOnly installed consumer.
  • Void::Configuration & Void::ConfigurationAsync (1dc51d5): Bind.hpp attributes (Secret, RestartRequired, Deprecated, IntRange, RealRange), bounded Schema<T> reflection/provenance/redaction/deprecation validation, async transactional ReloadController<T> + Snapshot<T> + prepare_external + coalescing WatcherService, and ConfigurationOnly/ConfigurationAsyncOnly installed consumers.
  • Void::Fsm (ef5312c, TSan fixes 40b579d, cb988fa): terminal(Status)/TerminationReason, FsmErrorCode/kFsmErrorDomain = 25, FsmLimits, ExecutionBinding, Checkpoint/StateId, hardened Detail/Engine (MonotonicClock, bounded try_post, m_control_queue, ScopeId waiter/timer tracking, 64-event/1ms turn budget), Detail/Awaiter (scope+user stop_token cancellation), Machine::run/acquire_service/run_parallel_structured/run_parallel_any_structured/request_checkpoint/restore_checkpoint, Orchestrator (StopOnFault/BoundedRestart, unlocked observers), tests/standalone/Fsm/FsmHardening.cpp, and FsmOnly installed consumer.
  • Integrated verification (cb988fa, -DVOID_WARNINGS_AS_ERRORS=ON):
    • Full RelWithDebInfo (/tmp/void-w8-full, 45 modules): VoidTests 1,437 tests (1,434 passed, 3 skipped, 0 failed, 20.99s); ctest 2/2 (77.11s, all 34 installed consumers); VoidFoundationBench post-W8 (rev=cb988fa98509, /tmp/void-w8-full/post-w8.json): harness_empty_loop 0.38ns, core_uuid_parse_hyphenated 24.71ns, core_uuid_to_string 16.45ns, core_hash_fnv1a64_256b 179.94ns, core_hash_murmur3_256b 67.31ns, functional_result_ok_chain 1.12ns, functional_error_with_context 57.98ns, math_checked_add_loop 0.47ns, containers_spsc_ring_push_pop 8.72ns, containers_lru_get_put 20.58ns, binary_reader_u64_be 1.30ns, data_json_parse_small_object 319.62ns, data_json_serialize_small_object 167.55ns.
    • Full Debug ASan+UBSan (/tmp/void-w8-asan, 45 modules): VoidTests 1,437 tests (37.13s), 0 leaks, 0 UB.
    • Debug TSan (/tmp/void-w8-tsan, ServicePlugin;ConfigurationAsync;Fsm;Testing, 20 modules): VoidTests 1,110 tests (1,107 passed, 3 skipped, 0 failed, 11.49s), 0 data races.

VoidBuildSystem Upstream Feature Wave (VL-001..VL-013, feat/upstream-vbs-requests)

  • Batch A (adfc854, VL-002, VL-008, VL-009, VL-012, VL-013):
    • Reserved kNetErrorDomain = 26; enforced PascalCase types / snake_case methods naming (VL-012); added strict RFC 3629/8259 UTF-8 validation in StrictJson, Semver shorthand comparators (^1, ^1.0, ~1.2, >=1.2 <2), header-only Data/Toml.hpp TOML 1.0 parser/serializer with Origin, and zero-CMake self-registering VOID_TEST* macros.
    • Verified (Data;Text;Testing, -Werror): 690 tests (687 ✔, 3 ⊘) in 351.9ms; pure g++ multi-file stem-collision binary 4/4 (0.1ms).
  • Batch B (b50131f, VL-001, VL-003, VL-010, VL-011):
    • Full process-group supervision (PR_SET_CHILD_SUBREAPER, waitpid(-pgid), SIGKILL escalation), FileLock / atomic_symlink_swap / reflink_copy_file / set_timestamps_nofollow, Linux inotify recursive DirectoryWatcher, Argparse subcommands/option_many/positional_many/ParseOutcome, top-level LANGUAGES C CXX, and FetchContent SQLite3 amalgamation fallback.
    • Verified (/tmp/void-vbs-b, -Werror): 791 tests (788 ✔, 3 ⊘) in 1.72s, ctest 2/2 (14.44s incl. SystemOnly, ConfigurationOnly, SqliteOnly).
  • Batch C (22c8538, VL-006, VL-007):
    • Optional OpenSSL::Crypto (VOID_CRYPTO_HAS_OPENSSL) + pure-C++ FIPS 180-4 SHA-1/256/512 & RFC 7693 BLAKE2b-256/512 + HMAC/HKDF + snake_case aliases; optional LibArchive (VOID_ARCHIVE_HAS_LIBARCHIVE) + pure-C++ USTAR/PAX tar & deterministic ArchiveCompression::Gzip + create().
    • Verified zero-OpenSSL (534 ✔ / 3 ⊘, ctest 2/2 5.59s), zero-LibArchive (405 ✔ / 3 ⊘, ctest 2/2 6.22s), and full backends (888 ✔ / 3 ⊘, ctest 2/2 15.53s).
  • Batch D (66baae7, VL-004, VL-005) + TSan/race fix (9920bfd):
    • POSIX TCP HTTP/1.1 HttpServer, streaming HttpClient + HttpClient::secure() TLS >= 1.2 + CA/SAN verification + cross-origin/downgrade/redaction + std::stop_token cancellation + NetOnly consumer (66baae7); scoped GCC -Wno-tsan to src/Net/Http.cpp and fixed StallServer join order (9920bfd).
    • Verified Net;System;Crypto;Testing (563 ✔ / 3 ⊘, ctest 2/2 8.48s incl. NetOnly).
  • Full-suite & sanitizer checks:
    • Full RelWithDebInfo (/tmp/void-vbs-full, 45 modules, -Werror): VoidTests 1,456 discovered (1,452 ✔, 4 ⊘, 0 ✘) in 21.94s (22.09s post-9920bfd), ctest 2/2 in 82.82s (VoidTests 22.03s, VoidInstalledComponentConsumers 60.79s across all 35 consumers incl. NetOnly), VoidFoundationBench (rev=66baae74a0b7) recorded.
    • Full Debug ASan+UBSan (/tmp/void-vbs-asan, 45 modules, -Werror): 1,456 discovered (1,452 ✔, 4 ⊘, 0 ✘) in 39.11s, 0 leaks, 0 UB (+ post-9920bfd Http|Net|Server 9/9 ✔ in 1.58s).
    • Debug TSan (/tmp/void-vbs-tsan, Net;System;SystemAsync;Configuration;Crypto;Archive;Data;Text;Testing, 17 modules, -Werror): 957 discovered (954 ✔, 3 ⊘, 0 ✘) in 10.65s, 0 data races, 0 lock-order warnings.

Wave 9 — P2 Completion: Net, TestingMock, ShortUrl, RPC (feat/roadmap-p2-wave9)

  • Specs & Error Domains (700024a): authored M-NET-01-05.md, M-TESTINGMOCK-01-04.md, M-SHORTURL-01-04.md, S-RPC-01-03.md; reserved kTestingMockErrorDomain = 27, kShortUrlErrorDomain = 28, kRpcErrorDomain = 29, kDiscoveryErrorDomain = 30.
  • Net P2 Hardening (86d777e, M-NET-01..05): native incremental RFC 9110/9112 HttpRequestParser / HttpResponseParser, bounded ConnectionPool (PoolKey origin+proxy+TLS generation, MonotonicClock idle eviction, RAII ConnectionLease), descriptor-pinned StaticFileResolver::open_safe() (openat+O_NOFOLLOW), HttpClient 303/307 redirect & single-deadline hardening, RFC 6455 WebSocket codec/decoder/WebSocketClient & HttpServer::add_websocket_route().
  • TestingMock P2 Hardening (658c21a, M-TESTINGMOCK-01..04): explicit MockSession (freeze, verify_and_close, MockLimits, RegistrationToken), Sequence order groups, action-outside-lock reservation (same-thread reentry + ConcurrentActions), perfect forwarding + returns_once/invokes_once move-only support, never()/at_least/at_most/between, matcher combinators (Ne, EndsWith, IsNull, NotNull, NotOf, AllOf, AnyOf, depth bound 32), TestingMockOnly consumer.
  • ShortUrl P2 Completion (691808e, M-SHORTURL-01..04): preserved frozen V1 ABI; added Void::ShortUrl::V2 (LocalProvider, URL/key validation, base62 keys, civil expiry, tombstone non-reuse, 24h idempotency, V1Adapter), separate ShortUrlStorage (Void::Storage conditional batches + SecurityRandomBytesPort), separate ShortUrlRemote (pre-mutation capability checks, Retry-After, UnknownOutcome), ShortUrlOnly consumer.
  • RPC Subsystem (5184d1c, S-RPC-01..03): NEW Void::RPC module with Wire v1 deterministic binary envelope codec (VRPC, fail-closed on unknown major/required flags/reserved/overflow, skippable minor extensions, Binary::Reader std::memcpy fix), unary /void-rpc/v1/call HTTP/1.1 Server & Client (AuthHook, schema check, timeout clamp, sanitized exceptions, Registration::unregister_and_drain()), RpcOnly consumer.
  • Full-suite & sanitizer checks:
    • Full integrated RelWithDebInfo (/tmp/void-w9-full, 48 modules, -Werror): VoidTests 1,470 discovered (1,466 ✔, 4 ⊘, 0 ✘) in 23.56s; ctest 2/2 in 91.13s (VoidTests 23.27s, VoidInstalledComponentConsumers 67.86s across all 38 consumers); VoidFoundationBench (rev=5184d1cf8cdd) recorded.
    • Full Debug ASan+UBSan (/tmp/void-w9-asan, 48 modules, -Werror): 1,470 discovered (1,466 ✔, 4 ⊘, 0 ✘) in 41.95s, 0 leaks, 0 UB.
    • Debug TSan (/tmp/void-w9-tsan, Net;TestingMock;ShortUrl;ShortUrlStorage;ShortUrlRemote;RPC;System;Testing, 22 modules, -Werror): 943 discovered (940 ✔, 3 ⊘, 0 ✘) in 24.15s, 0 data races, 0 lock-order warnings.

Wave 10 — P3 Core Subsystems: Discovery, Scheduler, Messaging (feat/roadmap-p3-wave10)

  • Specs & Error Domains (0cf187d): authored S-DISCOVERY-01-04.md, S-SCHEDULER-01-04.md, S-MESSAGING-01-04.md; reserved kSchedulerErrorDomain = 31 and kMessagingErrorDomain = 32 (kDiscoveryErrorDomain = 30 reserved in Wave 9).
  • Discovery & DiscoveryRpc (ec8c0bd, S-DISCOVERY-01..04): NEW zero-external-dep Void::Discovery subsystem (Catalog with pure thread-free construction, atomic replace_static(), provider generation resets, local RAII Registration handles with steady-clock leases & zero-TTL rejection, ManagedLeaseRenewer, bounded WatchHandle with coalesced ResyncRequired overflow recovery + self-cancel + SelfJoin diagnosis, WeightedRoundRobinSelector, HRW AffinitySelector) + separate Void::DiscoveryRpc endpoint adapter preserving expected_tls_name / blocking TLS downgrades while keeping RPC independent; DiscoveryOnly consumer (_no_external_deps).
  • Scheduler & SchedulerStorage (aaeab50, S-SCHEDULER-01..04): NEW zero-external-dep Void::Scheduler subsystem (monotonic min-heap ordered by (due_time, sequence), one-shot/fixed-delay/fixed-rate, 5-field CalendarExpression, explicit TimezoneRegistry with DST gap/fold & unknown-zone rejection without silent UTC fallback, O(1) backward-scanning CoalesceLatest over millions of missed slots, 100/pass CatchUpBounded, Forbid/QueueOne/AllowBounded overlap, exponential full-jitter retries & dead-letter acknowledgement, revision invalidation watermark, close_and_join returning incomplete report on deadline) + durable Void::SchedulerStorage (StorageJobStore on Void::Storage::Engine conditional batches, exclusive owner lock, unique civil-slot dedup, startup Running -> Pending recovery preserving OccurrenceId, UnknownOutcome, retention-cap pause without cursor loss); SchedulerOnly consumer (_no_external_deps).
  • Messaging, MessagingStorage, & MessagingRpc (60ee28e, S-MESSAGING-01..04): NEW zero-external-dep Void::Messaging subsystem (explicit PublishDurability::{Memory,Durable}, InMemoryQueue rejecting Durable, Pending -> InFlight(generation, visibility_deadline) -> Acked | Pending | DeadLetter, competing & SingleActive groups, stale-receipt fencing & idempotent repeat ack, bounded retries -> DLQ, corrupt-payload quarantine) + Void::MessagingStorage (StorageQueue on Void::Storage::Engine conditional batches, restart InFlight -> Pending generation bump preserving attempts, atomic DLQ move & stuck_dlq_count, bounded 24h/100k idempotency ledger refusing silent eviction, BlockAtQuota default & clock-health expiry pause, OutboxInbox single-batch local helper) + Void::MessagingRpc (RpcQueueServer/RpcQueueClient); MessagingOnly consumer (_no_external_deps).
  • Full-suite & sanitizer checks:
    • Full integrated RelWithDebInfo (/tmp/void-w10-full, 55 modules, -Werror): VoidTests 1,484 discovered (1,480 ✔, 4 ⊘, 0 ✘) in 23.80s; ctest 2/2 in 94.93s (VoidTests 23.93s, VoidInstalledComponentConsumers 71.00s across all 41 consumers incl. DiscoveryOnly, SchedulerOnly, MessagingOnly with _no_external_deps); VoidFoundationBench (rev=60ee28e4ca9b) recorded.
    • Full Debug ASan+UBSan (/tmp/void-w10-asan, 55 modules, -Werror): VoidTests 1,484 discovered (1,480 ✔, 4 ⊘, 0 ✘) in 42.48s, 0 leaks, 0 UB.
    • Debug TSan (/tmp/void-w10-tsan, Discovery;DiscoveryRpc;Scheduler;SchedulerStorage;Messaging;MessagingStorage;MessagingRpc;System;Testing, 23 modules, -Werror): 903 discovered (900 ✔, 3 ⊘, 0 ✘) in 23.20s, 0 data races, 0 lock-order warnings.

Wave 11 — Execution-path backfill (feat/roadmap-p2-wave11, verified & merged to main)

  • Planning & contracts (7f95f89, a8a9249, 99203ce, c6789e7, 95785ed, 4ea6384, 7c1fd3c, 09789ae, 3ce21be): W11-PLAN-OUTPUT.md, PREFLIGHT 1 & 2 (W11-PLAN-REV1-OUTPUT.md, W11-CONTRACT-R2.md), spec reviews (D-038, D-040, D-042), error code reservations, area plans (Functional.md, Runtime.md, IO.md, MIGRATION.md).
  • Execution-path implementation:
    • M-FUNCTIONAL-03 (26edf65): pure retry policy state machine + retry_blocking.
    • M-TIME-03 (99a1100, 5c24f8e): injected-clock TimerQueue + saturation helpers + retry_async.
    • M-ASYNC-04 (b2c8411): ThreadExecutor, FuturePool, AsyncChannel, bounded parallel_for, Executor.hpp spawn() race fix.
    • S-IO-03 (1e752da): bounded positional File workers, sync, active-cancel, shutdown core, D1 retire-once fixes.
    • M-ASYNC-05 (ef85ce0): EventBus injected/joined lifecycle + Observable reentrancy queue.
    • S-IO-04 (50029e1): Driver::run, Pump.hpp pump_until, SystemAsync shutdown conformance.
    • S-RUNTIME-02/03 (7bea7df): Host explicit start, readiness, reverse failed-start cleanup, phased shutdown (Lifecycle.hpp, Detail/HostCore.hpp, Host.hpp).
  • Adversarial review & post-fix hardening (c6de784):
    • Fresh adversarial review (925b2cd8-7c57-4121-b6c5-b925c6a434f6) returned CHANGES_REQUIRED (1 P1 + 7 P2 + 1 P3) across EventBus.hpp, Pump.hpp, Driver.hpp, EpollDriver.cpp, and HostCore.hpp.
    • Resolved all 9 findings in c6de784 with 10 regression tests (EventBus::finish_entry_dispatch + pumping self_join; pump_until / Driver::run / run_reactor_loop steady_clock idle pacing + EpollBackend EPOLLIN disarming; MockBackend::try_acquire shutdown/closing TOCTOU guard; HostCore start_running/mutex sync, flushing_exporters single-drain poll, embedded background-worker shutdown_blocking, and incomplete stopping_io worker count). Post-fix review: READY.
  • Integrated post-fix verification (c6de784, -DVOID_WARNINGS_AS_ERRORS=ON):
    • Targeted TSan & Runtime (verify_w11_fixes.sh + verify_runtime.sh): 110/110 ✔ TSan (599.1ms), all 6 Runtime gates passed (37/37 ✔, nosys ctest 2/2, TSan, ASan, zero Void/System/ includes in include/Void/Runtime/**).
    • Full RelWithDebInfo (/tmp/void-w11-full, 55 modules): VoidTests 1,694 (1,690 ✔, 4 ⊘, 0 ✘) in 25.13s; ctest 2/2 in 110.10s (VoidTests 25.01s, VoidInstalledComponentConsumers 85.09s across all 41 consumers); VoidFoundationBench (rev=c6de7842f732, /tmp/void-w11-full/post-w11.json): harness_empty_loop 0.40ns, core_uuid_parse_hyphenated 26.06ns, core_uuid_to_string 18.06ns, core_hash_fnv1a64_256b 186.38ns, core_hash_murmur3_256b 69.57ns, functional_result_ok_chain 1.16ns, functional_error_with_context 61.13ns, math_checked_add_loop 0.50ns, containers_spsc_ring_push_pop 9.33ns, containers_lru_get_put 22.02ns, binary_reader_u64_be 1.19ns, data_json_parse_small_object 302.08ns, data_json_serialize_small_object 170.90ns.
    • Full Debug ASan+UBSan (/tmp/void-w11-asan, 55 modules): VoidTests 1,694 (1,690 ✔, 4 ⊘, 0 ✘) in 67.61s, 0 leaks, 0 UB.
    • Wave 11 Debug TSan (/tmp/void-w11-tsan, 21 modules): unfiltered VoidTests 1,035 (1,032 ✔, 3 ⊘, 0 ✘) in 34.78s; 3x 169-test stress loop 169/169 ✔ (2.12s, 3.07s, 2.14s), 0 data races / lock-order warnings.

Ownership and next step

Waves 1–11 (P0, P1 incl. M-FUNCTIONAL-03/M-TIME-03, P2 execution/operations/storage/lifecycle/network modules, VL-001..VL-013, and P3 core subsystems Discovery, Scheduler, Messaging) are complete, verified, merged into main, and pushed. Next: Wave 12 VoidForge upstream requests (D-041: VL-STREAM-01, VL-PROC-01, VL-CRYPTO-01/02, VL-TEXT-01, VL-NET-W01, VL-NET-02, VL-WASM-01, VL-TOML-01, VL-MCP-01, VL-SQLITE-01..06, VL-SEC-01) + root QA backlog (X-QA-01..04); then remaining P2 foundation tasks (D-036), P3 (S-RPC-04/05, NetworkedApplications, ReloadableApplications), and P4.