- IdSequence<Tag, Rep> is per-instance, copyable and restorable, so two
worlds in one process allocate independently and a saved high-water
mark replays exactly.
- next()/next_batch() check exhaustion before mutating; failed requests
leave the sequence and application records untouched. Batches are
all-or-nothing.
- High-water only moves forward: erased records keep their ids retired.
- Fixed-width Rep (default uint64_t) plus an explicit exhausted flag make
saved state canonical and portable; restore() rejects impossible state.
- 10 standalone tests cover independence, erase/restore, copy replay,
atomic batches, exhaustion, final-boundary batches and invalid state.
- Publication<T>: single-writer, multi-reader publication of complete
immutable values. acquire() returns a retainable Snapshot; a retained
snapshot stays coherent across any number of later publishes and keeps
the value alive until the last reader releases it.
- publish() is compare-and-publish over one atomic (value + version)
state: an expected epoch must match, and the new version must advance
(higher epoch, or same epoch with higher revision). Rejected publishes
leave the last good publication untouched, so a failed preparation
cannot corrupt readers.
- publish_next()/publish_epoch() convenience helpers.
- 7 tests: retained snapshots, stale-epoch rejection, non-advancing
revision, epoch reset, last-reader resource release, failed
preparation preservation and concurrent reader coherence.
A round of new universal capabilities (all generic — templated/reflection
based, no app coupling), verified by the test suite (1103 passing):
Data reflection:
- Reflect.hpp now (de)serializes chrono::duration, chrono::time_point,
std::variant (tagged), std::array, and non-string-keyed std::map;
Meta.hpp gains is_time_point_v et al.
Async:
- EventBus gains Mode::Async (worker-thread dispatch + flush()).
- ThreadPool gains a bounded queue, try_submit(), and rejection stats.
New modules / containers:
- Resilience: TokenBucket, KeyedRateLimiter<Key>, CircuitBreaker,
ResourceMonitor.
- Containers: BufferPool<T> (size-class buffer reuse) and Cache<K,V>
(per-entry TTL, LRU/LFU/FIFO eviction, hit/miss stats).
- System: process/CPU/memory metrics (Metrics.hpp) and a streaming
Process API.
Plus FSM v2 (typed Success/Failure, sub-machines, parallel regions,
history states, deferred events), Configuration/Logging reflection
helpers, and the accompanying test suites.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Headers move, CMake targets merge, C++ namespaces stay unchanged:
- Core: Scope, Lazy, Counted, Flags, Hash, Bits, Uuid, TypeList, TypeMap, Variant
- Functional: Pipeline, Either, Result, Retry
- Containers: Ring, Pool, PriorityQueue, LRU, Trie, Graph, DisjointSet, Bitset, Interval
- Math: +Matrix, Numeric, Random, Histogram
- Text: Str, Format, Tokenizer, Diff, Encoding, Semver
- Data: Json, Csv, Ini
- Async: Coro, Concurrency, EventBus, Observable
- Time: +Bench
- Log: Log facade + Logging framework (facade now header-only, breaking
the Stacktrace<->Log link cycle the merge would have created)
- System: FileSystem + Process
- Configuration: +Argparse
- Unchanged: Stacktrace, Plugin, StateMachine, Testing, TestingMock, Detail
Module system fixes:
- OPTIONAL_DEPS resolution deferred to void_finalize_modules() so it no
longer depends on the alphabetical discovery order of src/ subdirs
(Testing -> Text would have been silently dropped).
- Every header-only module now has a tracked module.cmake; previously the
empty src/<Name> marker dirs were untracked, so a fresh clone would have
silently skipped those modules.
- VOID_HAS_LOGGING/CONCURRENCY/STR consumers renamed to LOG/ASYNC/TEXT.
Tests move to tests/standalone/<Umbrella>/<Feature>.cpp (Result suite files
prefixed: ResultBasic etc.). Test count verified identical (831) before and
after. README/CLAUDE.md module tables updated.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>