8.7 KiB
8.7 KiB
Workflow state
Updated: 2026-11-24.
Repository: VoidLibrary; active branch feat/roadmap-p0-p1-foundations (from main
at f1f9ba375b22abf1adcc7c550ec21ac20895c0a4).
Completed objective
- Approved multi-file expansion planning package committed (
faa8a51): 54 roadmap documents with 300 planned feature tasks and workflow records. - Wave 1 / P0 Reliable Baseline (
X-BASE-01..X-BASE-05) implemented & verified:X-BASE-01: Replaced hardcoded/bin/echo,/bin/cat, andseqin process tests with standard-libraryVoidProcessHelper.X-BASE-02: Marked FetchContent Boost 1.84 asSYSTEMso-DVOID_WARNINGS_AS_ERRORS=ONsucceeds cleanly on GCC 16.2.0 (-std=c++26).X-BASE-03: Transferred<Void/Log/Log.hpp>header ownership toLogState, reconciled acyclicINTERNAL_DEPSacross 10module.cmakefiles, addedVoid::FunctionalCoreFormatting, propagated-freflectiononINTERFACEmodules, filteredVoidTestsbyACTIVE_MODULES, and verified minimal,System-only, embeddedadd_subdirectory, static, and relocated installed consumers.X-BASE-04: Addedcmake/Capabilities.cmake(VOID_HAS_STD_EXPECTED,VOID_HAS_CXX26_REFLECTION, sanitizer probes,ASan+TSanmutual exclusion) andVOID_ENABLE_TSAN; verified Debug ASan+UBSan+-Werrorfull suite and TSan subset.X-BASE-05: AddedVOID_ENABLE_BENCHMARKS(benchmarks/FoundationBench.cpp) andtests/corpus/README.md; recorded P0 foundation benchmark manifest.
- Wave 2 / P1 Foundations Gate 1 implemented & verified:
- Specs authored under
docs/agent-workflow/tasks/(8d28c7e). Core(M-CORE-02,M-CORE-03,cbc9004): detachedUuidfromMath/<format>, addedGenerateError,v4(G&),try_v4(), span-safeconstexprparse/v5_lite/format_chars,CheckedBits, endian-portableHashhelpers, andCoreOnlyconsumer.VoidTestScannerfix (284d963): prevented unbalanced[in C++ strings from dropping downstream test discovery incmake/VoidTestScanner.cmake.Functional(M-FUNCTIONAL-02,7f3395c): addedErrorKind/ErrorCode, zero-allocStatus, boundedErrorchains (16 frames / 1 KiB / 16 KiB) with iterative destructor,Result::failoverloads, andAdapters.hpp.Time(M-TIME-02,4227348): addedClock.hpp(MonotonicClock,CivilClock,SystemMonotonicClock,SystemCivilClock, atomicManualClock,ManualCivilClock,remaining_until) and upgradedStopwatchwith clock injection,resume(),try_lap(), single-samplesplit(), andkDefaultMaxLaps = 4096.Memorysubsystem (S-MEMORY-02..04,4d48f2a): addedResource.hpp,BudgetResource.hpp,Arena.hpp(Arena::Checkpoint,Arena::TypedScope,ArenaResource),BlockPool.hpp(BlockPool,SynchronizedBlockPool), andMemoryOnlyinstalled consumer.Math(M-MATH-02,91e2beb,6cac781): addedError::{Inexact,NonFinite},Rounding,kMaxNumericTokenBytes = 256, portableconstexproverflow helpers with guarded builtins,checked_mul_add,checked_cast, span-safeparse_integer/parse_real, and delegatedparse_int/parse_double.
- Specs authored under
- Wave 3 / P1 Text, Containers, Binary, Data implemented & verified:
- Task specs committed under
docs/agent-workflow/tasks/(68963fc) plus user decisionD-031inDECISIONS.md. Text(M-TEXT-02,883bbdc): added locale-independent ASCII-only helpers ininclude/Void/Text/Str.hpp, newinclude/Void/Text/Bounded.hpp(TextLimits,TextError,split_views,replace_bounded,repeat_bounded,join_bounded), and boundary tests intests/standalone/Text/{Str,Bounded}.cpp.Containers(M-CONTAINERS-02,M-CONTAINERS-03,9ac76bb): updatedsrc/Containers/module.cmaketoINTERNAL_DEPS Core Memory; upgradedObjectPoolandBufferPoolwith stationarystd::shared_ptr<State>, zero-alloc recycling, explicitstd::pmr::memory_resource*, admission/byte limits, and exception-safe slot rollback; upgradedRing.hppwith Vyukov sequence-based non-spinningMpscRing::try_pop(),close(), and quiesced destructor cleanup.Binary(M-BINARY-02,M-BINARY-03,eacb8a4): updatedsrc/Binary/module.cmaketoINTERNAL_DEPS Functional Memory; addedBudget.hpp(BinaryErrorCode,DecodeLimits,DecodeBudget),Writer.hpp,ByteBuffer.hpp(FrozenBytes,ByteBuffer), and upgradedReader.hpp(pre-consume endian check, strictreadBool, IEEEreadF32/readF64,Transaction, checked cumulative budget readers); expanded installedBinaryconsumer.Data(M-DATA-02,692f5ba): updatedsrc/Data/module.cmaketoINTERNAL_DEPS Core Math Time; addedstd::int64_t/std::uint64_t/doublealternatives toVoid::Json::Value,NumberKind,number_as, strict RFC 8259 number parsing, exact cross-typeoperator==,try_serialize, typed SAXon_int/on_uint, and exact reflection/config formatting (StrictJsonuntouched).
- Task specs committed under
Baseline and authorization
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/,
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)
- Full RelWithDebInfo +
-DVOID_WARNINGS_AS_ERRORS=ONviadev cpp-gcc -p libarchive -p openssl -p sqlite -p libsodium: build passed (exit 0);ctest2/2 passed (VoidTests1,249 passed / 3 intentional skips / 0 failed;VoidInstalledComponentConsumersincluding relocatedFoundationandExternalpassed). - Minimal foundation subset,
SystemwithoutLog(Log.hppinstalled), embeddedadd_subdirectory, and static (BUILD_SHARED_LIBS=OFF) builds/tests all passed. - Full Debug ASan+UBSan+
-Werror:VoidTests1,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):VoidTests1,310 tests — 1,307 passed, 3 intentional skips (plugin_load_and_query_skipped,broken_feature,unquoted_skip), 0 failed (3.72s);ctest2/2 passed (VoidTests3.81s,VoidInstalledComponentConsumers11.95s, total 15.75s). - Full Debug ASan + UBSan +
-DVOID_WARNINGS_AS_ERRORS=ON(/tmp/void-p1-asan, 29 modules,6cac781):VoidTests1,310 tests — 1,307 passed, 3 skipped, 0 failed (10.70s), 0 leaks, 0 UB. - Standalone
Memory;Testing(8/8) + isolated-DVOID_ENABLED_MODULES=Memoryconsumer/tmp/void-p1-memory-only-consumer/void_memory_only_consumerpassed (4d48f2a). VoidFoundationBenchpost-P1 (rev=6cac781f3a5f,/tmp/void-p1-full/post-p1.json):harness_empty_loop0.20 ns,core_uuid_parse_hyphenated25.26 ns (down from 88.76 ns),core_uuid_to_string16.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):VoidTests1,332 tests — 1,329 passed, 3 intentional skips (plugin_load_and_query_skipped,broken_feature,unquoted_skip), 0 failed (3.83s);ctest2/2 passed (VoidTests3.81s,VoidInstalledComponentConsumers12.38s, total 16.20s). - Full Debug ASan + UBSan +
-DVOID_WARNINGS_AS_ERRORS=ON(/tmp/void-w3-asan, 29 modules,692f5ba):VoidTests1,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. VoidFoundationBenchpost-W3 (rev=692f5ba5b2f9,/tmp/void-w3-full/post-w3.json):harness_empty_loop0.39 ns,core_uuid_parse_hyphenated24.94 ns,core_uuid_to_string16.88 ns,containers_spsc_ring_push_pop8.85 ns,containers_lru_get_put20.59 ns,binary_reader_u64_be1.31 ns,data_json_parse_small_object325.73 ns,data_json_serialize_small_object164.76 ns.
Ownership and next step
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).