Files
Library/docs/roadmap
faumarayandClaude Opus 5.5 7f95f89d52 chore(wave11): plan execution-path backfill, reserve error codes, update area plans
- Audit roadmap vs TASKS (D-033); scope Wave 11 to M-FUNCTIONAL-03, M-TIME-03,
  M-ASYNC-04/05, S-IO-03/04, S-RUNTIME-02/03 (D-034..D-036)
- Schedule VoidForge upstream requests after Wave 11 (D-037)
- Persist planner output, PREFLIGHT findings and contract addendum (D-038)
- Add AsyncErrorCode::closed, IoErrorCode::sync_failed,
  RuntimeErrorCode::{self_join, shutdown_incomplete}
- Update Functional/IO/Runtime area plans and MIGRATION per C-13

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 18:31:14 +03:00
..

VoidLibrary expansion roadmap

This is the approved planning package for a generic C++26/reflection library spanning small foundations, complete modules, and optional application platforms. It describes future work; the presence of a plan does not mean its APIs or capabilities are implemented.

The user approved authoring this package on 2026-11-24. The source baseline is main at f1f9ba375b22abf1adcc7c550ec21ac20895c0a4. The design retains Linux-first portability, versioned modernization, native implementation preference with per-module backend decisions, embedded and managed runtimes, and separate workload profiles. SQLite support and an original native storage engine are distinct. Distributed capabilities follow single-node foundations and correctness gates.

Start here

  1. Requirements records confirmed scope and representative journeys.
  2. Architecture defines shared contracts C-01 through C-14 and owners.
  3. Dependencies separates existing build edges from the target DAG.
  4. Delivery orders work from baseline quality to complete distributed platforms.
  5. Select an area plan below, then follow its task prerequisites and acceptance scenarios.

Shared plans

Plan Responsibility
Requirements R-001–R-016, approved scope, consumers and planning acceptance
Architecture Common contracts, layering, ownership and consistency boundaries
Dependencies Module edges, adapter boundaries, contract gates and parallel integration
Delivery P0–P4 milestones and implementation readiness/release gates
Performance Workload profiles, measurement protocol, budgets and regression evidence
Validation Planning checks, current baseline, future behavior/fault/configuration matrix
Migration Public API/ABI, defaults, wire/disk evolution and rollback boundaries
Build and distribution Toolchains, dependency closure, packaging, CI and reproducibility
Documentation Capability catalog, guides, future examples, references and upkeep

Existing public modules

Each module has a separate expanded plan. LogState is an internal supporting target; its process/shared-library obligations are covered by Log and architecture.

Module plan Expansion focus
Core Small types, concepts, reflection utilities and foundation independence
Functional Results/errors, functional composition, adapters and retry contracts
Containers Allocation/lifetime-aware specialized containers and cache behavior
Math General numeric, statistical and checked math utilities
Text Byte/text processing, parsing/formatting and explicit Unicode integration
Data Precise values, bounded parsing, reflection and schema evolution
Binary Bounded readers/writers, codecs and explicit wire representation
Time Clocks, calendars, deadlines and measurement foundations
Async Structured task scopes, executors, cancellation and bounded completion
System Processes, files, watching, metrics and platform capabilities
Configuration Typed sources, validation and transactional reload
Net Real server transports, secure clients, persistent sessions and streaming
Sqlite First-class SQLite access, transactions, migrations and concurrency
Service Owning access, scopes, dependency lifecycle and replacement
Plugin Complete module hosting, generation retirement and versioned C ABI
Fsm Supervised workflows, child lifetime and checkpoint boundaries
Log Bounded delivery, shared facade state, saturation and flush guarantees
Stacktrace Capture, symbolization, diagnostics and optional integrations
Resilience Retry/admission budgets, circuit breaking and overload composition
Archive Bounded archive workflows with path and extraction safety
Crypto Coherent cryptographic operations over reviewed primitives
Security Secret/token/password workflows and explicit policy boundaries
Update Signed release selection, complete activation and durable recovery
ShortUrl Frozen V1 provider contract and optional richer service composition
Testing Deterministic, property, fuzz and fault-test infrastructure
TestingMock Expectations, asynchronous behavior and reliable failure diagnostics

New subsystems

All names in this table are NEW proposed areas, not claims of current source targets.

Subsystem plan Purpose
Memory Arenas, pools, allocator resources and allocation accounting
Algorithms Reusable generic algorithms with workload-based specialization
Unicode Validated Unicode processing and versioned data tables
IO Native backends, byte streams, partial results and operation lifetime
Runtime Optional managed execution and application-injected composition
Scheduler Delayed/calendar jobs, persistence and occurrence semantics
Storage Original transactional key-value engine and durable recovery
IPC Local communication, framing, shared memory and peer lifetimes
RPC Versioned calls, streaming, deadlines and interoperable error contracts
Messaging Bounded durable queues, acknowledgements, retries and deduplication
Observability Metrics, tracing, context and bounded export adapters
Discovery Bootstrap, registration, health and pluggable discovery providers
Coordination Deterministic consensus core and failure simulation
Replication Durable protocol/application-state integration and snapshots
DistributedStorage Replicated groups, routing, later sharding/rebalance and operations

Application platforms

Platform plan Complete future workflows
NetworkedApplications Managed/embedded services, storage, streaming, configuration, trust and shutdown
ReloadableApplications Module host, dependency lifecycle, state transfer, generation pins and updates
DistributedApplications Replicated services, discovery, messaging, recovery and operational visibility

These plans specify future reference applications. This documentation delivery does not create executables, launch services, publish sites or deploy infrastructure.

Current evidence and interpretation

The all-module ordinary RelWithDebInfo build passed. VoidTests reported 1,245 passed, 2 failed, 3 skipped out of 1,250; the failures use /bin/echo and /bin/cat, absent on the inspected NixOS host. Installed-component consumers passed. Warnings-as-errors failed in pinned Boost headers. Sanitizers, cross-platform tests and performance benchmarks were not run. These facts establish P0 work, not completed repairs.

See validation for commands and limitations, and verification records for this package's actual checks.

How to execute a task later

Read the selected area and its shared contract gates. Reconcile source and working-tree state, select bounded implementation scope, freeze its interfaces and ownership, and record a precise task specification. Future feature IDs use M-, S-, P-, or X- prefixes; T-DOC tasks refer only to authoring this package. A plan's task becomes implemented only after actual code, review and verification evidence exist.

Workflow state, tasks, and decisions preserve progress across sessions. No important user choice should need to be reconstructed from the conversation.