Commit Graph
89 Commits
Author SHA1 Message Date
faumaray 713d2dc656 feat(security): add SecureBuffer, VSEC envelopes, authorization, and SecurityAsync Authenticator 2026-11-25 20:44:31 +03:00
faumaray eb42228604 feat(crypto): harden Crypto primitives and add optional CryptoAsync adapter 2026-11-25 06:28:50 +03:00
faumaray acd77ee67a feat(data): support RFC 8259 decimal numbers in StrictJson 2026-11-25 05:59:21 +03:00
faumaray 39a48d5c0a feat(IPC): add V1 VDIP framed codec, quota reservations, local UDS/pipe transport, full-duplex Session, and IPCOnly consumer (S-IPC-01..03) 2026-11-24 15:27:40 +03:00
faumaray 9a3c5d86ef feat(SystemAsync): add async IO ProcessManager/communicate and shared WatcherService with WatchSubscription (M-SYSTEM-03, M-SYSTEM-04) 2026-11-24 14:46:46 +03:00
faumaray fcdbc063b2 feat(System): harden OwnedFd/Child process spawn, full-duplex bounds, durable replace_file, safe TempFile/TempDir, and SystemOnly consumer (M-SYSTEM-01, M-SYSTEM-02, M-SYSTEM-05) 2026-11-24 14:32:05 +03:00
faumaray 3f67b1ecb7 chore(wave6a): reserve P2 error domains, guard IO pipe SIGPIPE, extend ProcessHelper, and add Wave 6A specs 2026-11-24 10:56:39 +03:00
faumaray 7b57b355cd feat(Stacktrace): split capture/resolve, add capabilities, bounded resolver cache, safe source snippets, and crash marker (M-STACKTRACE-01..04) 2026-11-24 10:26:24 +03:00
faumaray 3d8dfb0ea2 fix(cmake): check test header requirements against active module headers 2026-11-24 10:26:19 +03:00
faumaray a74a402938 feat(Log): harden LogState facade, bounded Logger delivery/tickets/quarantine, file sync/reopen, redaction, and separate LogConfig (M-LOG-01..05) 2026-11-24 10:16:35 +03:00
faumaray 18a623aa62 feat(Resilience): add validated configs, RAII breaker/resource permits, bounded keyed cleanup, ResilienceAsync composition, and reserve P2 error domains (M-RESILIENCE-01..04) 2026-11-24 10:06:35 +03:00
faumaray fe99051ded feat(Observability): add zero-dep hooks, HookLease, ContextSnapshot, bounded metrics/tracing, and snapshot exporter (S-OBSERVABILITY-01..04) 2026-11-24 09:57:48 +03:00
faumaray de8a981893 feat(Testing): add per-run owned reporters, strict config validation, FailureCapture, subprocess isolation, and deterministic property/schedule harness (M-TESTING-02, M-TESTING-03) 2026-11-24 09:36:59 +03:00
faumaray 1b3331e3a8 feat(Runtime): add inert Host, validated RuntimeLimits, EmbeddedResources, and topological ResourceGraph (S-RUNTIME-01) 2026-11-24 09:33:03 +03:00
faumaray 673bb7e8b4 feat(IO): add portable Driver/ByteStream/BufferLease, mock backend, and Linux epoll driver (S-IO-01, S-IO-02) 2026-11-24 09:31:13 +03:00
faumaray c75056fe07 feat(Async): add OperationOptions, OperationState, ResumeTicket, TaskScope, and bounded executor tickets (M-ASYNC-02, M-ASYNC-03) 2026-11-24 03:48:55 +03:00
faumaray 4369fde867 feat(Unicode): add Unicode 17.0.0 manifest and strict/repair/streaming UTF codecs (S-UNICODE-01, S-UNICODE-02) 2026-11-24 03:38:53 +03:00
faumaray bfd6246d32 feat(Algorithms): add indexed graph views, work budgets, and iterative traversals/topology (S-ALGORITHMS-02) 2026-11-24 03:36:10 +03:00
faumaray 692f5ba5b2 feat(Data): add exact 64-bit signed/unsigned JSON numbers and checked conversion (M-DATA-02) 2026-11-24 03:25:17 +03:00
faumaray eacb8a4602 feat(Binary): add Writer, ByteBuffer, DecodeBudget, and explicit endian codecs (M-BINARY-02, M-BINARY-03) 2026-11-24 03:21:02 +03:00
faumaray 9ac76bbcf9 feat(Containers): fix pool lease lifetimes/budgets and non-spinning MPSC ring (M-CONTAINERS-02, M-CONTAINERS-03) 2026-11-24 03:20:04 +03:00
faumaray 883bbdcf38 feat(Text): add ASCII-explicit helpers and bounded split/replace/repeat/join (M-TEXT-02) 2026-11-24 03:14:41 +03:00
faumaray 6cac781f3a fix(Math): guard 64-bit precision shift in checked_cast for long double 2026-11-24 02:55:35 +03:00
faumaray 91e2beb5d4 feat(Math): add span-safe parsers, checked_cast, and checked_mul_add (M-MATH-02) 2026-11-24 02:53:46 +03:00
faumaray 4d48f2a8f2 feat(Memory): add Memory subsystem with BudgetResource, Arena, and BlockPool (S-MEMORY-02..04) 2026-11-24 02:49:28 +03:00
faumaray 4227348051 feat(Time): add MonotonicClock/CivilClock/ManualClock and bounded Stopwatch (M-TIME-02) 2026-11-24 02:46:25 +03:00
faumaray 7f3395cb74 feat(Functional): add compact Status, ErrorKind/ErrorCode, bounded chains, and Adapters (M-FUNCTIONAL-02) 2026-11-24 02:45:17 +03:00
faumaray cbc900412b feat(Core): detach Uuid from Math, add CheckedBits and portable Hash (M-CORE-02, M-CORE-03) 2026-11-24 02:39:35 +03:00
faumaray 196ed251f9 bench: add reproducible foundation benchmark harness and record P0 baseline (X-BASE-05) 2026-11-24 02:35:43 +03:00
faumaray cd6fc7e5f5 build: reconcile module dependency closures, Log.hpp ownership, and consumer tests (X-BASE-03) 2026-11-24 02:28:33 +03:00
faumaray 340acaec34 test(System): replace host /bin utility assumptions with VoidProcessHelper (X-BASE-01) 2026-11-24 02:10:06 +03:00
faumaray f1f9ba375b log: snapshot scopes through the shared library boundary
Avoid consumer-inline access to DLL-owned thread-local storage by copying
the scope span returned by the existing out-of-line current_scopes function.
Keep the owned snapshot at its original initializer position and preserve
filtering, scope order and exception behavior.

Add direct-call regressions for nested buffered ownership, overlapping
producer scopes and immediate sink reentry. All 14 focused shared-library
tests pass on Linux and the two-file candidate passed independent review.
Native UCRT64 linking and runtime verification follow through Engine CI.
2026-11-15 03:25:25 +03:00
faumaray 531b604154 Add configurable split file logging 2026-08-02 01:47:22 +03:00
faumaray cb58236538 Release 1.1.0 with transactional plugin validation 2026-08-01 17:59:57 +03:00
faumaray c509aa7424 Make rotating logger failure test deterministic
Release / release (push) Failing after 21m4s
2026-07-30 02:03:44 +03:00
faumaray 4c2b96ac69 Add reusable strict JSON, rate limiting, and sealed secrets 2026-07-29 22:40:15 +03:00
faumaray 7edce967f2 Update: align component feed identities
CI / GCC 16 / C++26 / werror (push) Failing after 1m57s
CI / GCC 16 / C++26 / default (push) Failing after 2m36s
CI / GCC 16 / C++26 / sanitizers (push) Failing after 2m39s
2026-07-29 00:41:57 +03:00
faumaray 05815c4668 Update: add component catalog transactions
CI / GCC 16 / C++26 / sanitizers (push) Failing after 2m35s
CI / GCC 16 / C++26 / default (push) Failing after 2m39s
CI / GCC 16 / C++26 / werror (push) Failing after 1m54s
2026-07-29 00:22:20 +03:00
faumaray fb5388a7ee Plugin: add reusable module descriptor
CI / GCC 16 / C++26 / sanitizers (push) Failing after 1m48s
CI / GCC 16 / C++26 / werror (push) Failing after 1m56s
CI / GCC 16 / C++26 / default (push) Failing after 7m11s
2026-07-28 22:33:51 +03:00
faumaray 053ee5b296 update
CI / GCC 16 / C++26 / sanitizers (push) Failing after 4s
CI / GCC 16 / C++26 / werror (push) Failing after 3s
CI / GCC 16 / C++26 / default (push) Failing after 1m48s
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-25 23:42:52 +03:00
faumaray 3851aeb703 Update
CI / GCC 16 / C++26 / werror (push) Failing after 3m9s
CI / GCC 16 / C++26 / sanitizers (push) Failing after 10m15s
CI / GCC 16 / C++26 / default (push) Failing after 13m1s
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-20 01:18:53 +03:00
faumaray 8583a479dd Update
CI / GCC 16 / C++26 / default (push) Has been cancelled
CI / GCC 16 / C++26 / sanitizers (push) Has been cancelled
CI / GCC 16 / C++26 / werror (push) Has been cancelled
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-15 19:49:06 +03:00
faumaray fa30098129 Update
CI / GCC 16 / C++26 / default (push) Has been cancelled
CI / GCC 16 / C++26 / sanitizers (push) Has been cancelled
CI / GCC 16 / C++26 / werror (push) Has been cancelled
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-12 03:00:38 +03:00
faumaray f94366104e Update
CI / GCC 16 / C++26 / default (pull_request) Has been cancelled
CI / GCC 16 / C++26 / sanitizers (pull_request) Has been cancelled
CI / GCC 16 / C++26 / werror (pull_request) Has been cancelled
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-12 02:37:49 +03:00
faumarayandClaude Fable 5 9a54f15e7e Net: actually enforce Request::timeout on HTTP socket I/O
Request::timeout was declared but never used — every sync Asio
operation (TLS handshake, read, write) blocked without bound, so a
stalled peer hung the calling thread indefinitely (observed: a stalled
CDN download blocking a host's shutdown join forever).

SO_RCVTIMEO cannot fix this: Asio's sync emulation treats the
resulting EAGAIN as would-block and poll()s with no deadline. Instead
a per-request DeadlineGuard watchdog ::shutdown()s the descriptor on
expiry, which wakes any blocked sync op with EOF and fails the
request. Declaration order in send() keeps the descriptor owners alive
past the guard. Resolution and connect() remain on kernel defaults.

Regression test: a stalled localhost server is bounded at ~1s.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018yj92cCihyaYtf4gKCT3nv
2026-07-12 00:20:49 +03:00
faumarayandClaude Fable 5 a06f639393 Plugin: copy_on_load option; unique hotswap temp names
- copy_on_load: dlopen a fresh-inode temp copy on first load (reloads
  already did), so deployments that rewrite the plugin file in place —
  e.g. a build writing its output — cannot corrupt the mapped image.
  The registry keeps addressing the original path for watch/reload.
- hotswap_copy now generates a unique temp name per copy. glibc dedupes
  dlopen by pathname, so the previous fixed ".void_hotswap" name made
  every second reload through the same path silently return the
  already-mapped OLD image instead of the new bytes.
- hot_reload_under_concurrent_load now asserts the true downgrade
  semantics (v2 -> v1 is rejected transactionally, v2 stays); it only
  ever passed the old all-succeed expectation via the dedup bug, since
  no flip after the first actually took effect.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018yj92cCihyaYtf4gKCT3nv
2026-07-11 23:46:21 +03:00
faumarayandClaude Fable 5 ee4486e1d2 Plugin: discovery, unload, config entry, multi-observer reloads, state API
Host-side additions for applications embedding a plugin system:

- PluginManager::load_directory(dir) loads every shared-library file in
  a directory (filename order) with per-file expected results.
- PluginManager::unload(name) drops the registry entry; the instance
  dies with its last pinned handle (RCU semantics, as on reload).
- Optional C entry void_plugin_configure(inst, config): fed from
  PluginManagerOptions::config_provider after create and after each
  reload swap, before on_load().
- on_reloaded() is now multi-observer: returns a ReloadCallbackId,
  remove_on_reloaded() unregisters. Manual reload() now notifies
  observers too (previously only watched reloads did, contradicting
  the documented contract). PluginServiceBinding deregisters its
  callback on destruction (was a dangling-callback hazard).
- PluginManager::serialize_state/deserialize_state expose the plugin's
  v2 state exports so an embedder can carry plugin state through its
  own hot reload.
- ServiceRegistry::remove<I>() withdraws a provided service (child
  removal re-exposes a parent's entry).
- EventBus::subscribe_scoped<E>() returns a move-only RAII
  Subscription that unsubscribes on destruction.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018yj92cCihyaYtf4gKCT3nv
2026-07-11 23:39:10 +03:00
faumaray 7ca0e1b62e Process update and UdpSocket
CI / GCC 16 / C++26 / sanitizers (pull_request) Has been cancelled
CI / GCC 16 / C++26 / werror (pull_request) Has been cancelled
CI / GCC 16 / C++26 / default (pull_request) Has been cancelled
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-11 21:40:52 +03:00
faumaray 827c9e150a change rotation
CI / GCC 16 / C++26 / default (push) Has been cancelled
CI / GCC 16 / C++26 / sanitizers (push) Has been cancelled
CI / GCC 16 / C++26 / werror (push) Has been cancelled
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-06 14:42:28 +03:00
faumarayandClaude Opus 4.8 2d3f9dc319 Log: carry call-site source_location through to the sink
Every log line showed LoggingAdapter.hpp as its source because make_sink
called Void::Logging::Logger::log() with a defaulted source_location captured
inside the adapter, discarding the real call site.

Capture std::source_location at each Void::Log::{info,warn,...} call via an
FmtLoc wrapper (the same trick Logger uses internally), thread it through a
4-argument Sink, and forward it from make_sink to logger.log(). Sinks now
receive the originating file/line/function.

Formatted emission is routed through a single non-overloaded Detail::emit():
forwarding a (level, module, std::string, source_location) call to the public
log() would otherwise also match the variadic log() overload, deducing
source_location as a format argument and failing in FmtLoc's consteval ctor.

Sink is now a 4-arg callable; updated the bundled tests accordingly.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 02:35:42 +03:00