docs: add expansion roadmap and workflow baseline

This commit is contained in:
faumaray committed 2026-11-24 02:04:38 +03:00
1 parent f1f9ba375b
commit faa8a5198d
65 files changed
+9292

No files matched your search

+124
View File
@@ -0,0 +1,124 @@
# 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](REQUIREMENTS.md) records confirmed scope and representative journeys.
2. [Architecture](ARCHITECTURE.md) defines shared contracts C-01 through C-14 and owners.
3. [Dependencies](DEPENDENCIES.md) separates existing build edges from the target DAG.
4. [Delivery](DELIVERY.md) 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](REQUIREMENTS.md) | R-001–R-016, approved scope, consumers and planning acceptance |
| [Architecture](ARCHITECTURE.md) | Common contracts, layering, ownership and consistency boundaries |
| [Dependencies](DEPENDENCIES.md) | Module edges, adapter boundaries, contract gates and parallel integration |
| [Delivery](DELIVERY.md) | P0–P4 milestones and implementation readiness/release gates |
| [Performance](PERFORMANCE.md) | Workload profiles, measurement protocol, budgets and regression evidence |
| [Validation](VALIDATION.md) | Planning checks, current baseline, future behavior/fault/configuration matrix |
| [Migration](MIGRATION.md) | Public API/ABI, defaults, wire/disk evolution and rollback boundaries |
| [Build and distribution](BUILD-AND-DISTRIBUTION.md) | Toolchains, dependency closure, packaging, CI and reproducibility |
| [Documentation](DOCUMENTATION.md) | 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](modules/Core.md) | Small types, concepts, reflection utilities and foundation independence |
| [Functional](modules/Functional.md) | Results/errors, functional composition, adapters and retry contracts |
| [Containers](modules/Containers.md) | Allocation/lifetime-aware specialized containers and cache behavior |
| [Math](modules/Math.md) | General numeric, statistical and checked math utilities |
| [Text](modules/Text.md) | Byte/text processing, parsing/formatting and explicit Unicode integration |
| [Data](modules/Data.md) | Precise values, bounded parsing, reflection and schema evolution |
| [Binary](modules/Binary.md) | Bounded readers/writers, codecs and explicit wire representation |
| [Time](modules/Time.md) | Clocks, calendars, deadlines and measurement foundations |
| [Async](modules/Async.md) | Structured task scopes, executors, cancellation and bounded completion |
| [System](modules/System.md) | Processes, files, watching, metrics and platform capabilities |
| [Configuration](modules/Configuration.md) | Typed sources, validation and transactional reload |
| [Net](modules/Net.md) | Real server transports, secure clients, persistent sessions and streaming |
| [Sqlite](modules/Sqlite.md) | First-class SQLite access, transactions, migrations and concurrency |
| [Service](modules/Service.md) | Owning access, scopes, dependency lifecycle and replacement |
| [Plugin](modules/Plugin.md) | Complete module hosting, generation retirement and versioned C ABI |
| [Fsm](modules/Fsm.md) | Supervised workflows, child lifetime and checkpoint boundaries |
| [Log](modules/Log.md) | Bounded delivery, shared facade state, saturation and flush guarantees |
| [Stacktrace](modules/Stacktrace.md) | Capture, symbolization, diagnostics and optional integrations |
| [Resilience](modules/Resilience.md) | Retry/admission budgets, circuit breaking and overload composition |
| [Archive](modules/Archive.md) | Bounded archive workflows with path and extraction safety |
| [Crypto](modules/Crypto.md) | Coherent cryptographic operations over reviewed primitives |
| [Security](modules/Security.md) | Secret/token/password workflows and explicit policy boundaries |
| [Update](modules/Update.md) | Signed release selection, complete activation and durable recovery |
| [ShortUrl](modules/ShortUrl.md) | Frozen V1 provider contract and optional richer service composition |
| [Testing](modules/Testing.md) | Deterministic, property, fuzz and fault-test infrastructure |
| [TestingMock](modules/TestingMock.md) | 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](subsystems/Memory.md) | Arenas, pools, allocator resources and allocation accounting |
| [Algorithms](subsystems/Algorithms.md) | Reusable generic algorithms with workload-based specialization |
| [Unicode](subsystems/Unicode.md) | Validated Unicode processing and versioned data tables |
| [IO](subsystems/IO.md) | Native backends, byte streams, partial results and operation lifetime |
| [Runtime](subsystems/Runtime.md) | Optional managed execution and application-injected composition |
| [Scheduler](subsystems/Scheduler.md) | Delayed/calendar jobs, persistence and occurrence semantics |
| [Storage](subsystems/Storage.md) | Original transactional key-value engine and durable recovery |
| [IPC](subsystems/IPC.md) | Local communication, framing, shared memory and peer lifetimes |
| [RPC](subsystems/RPC.md) | Versioned calls, streaming, deadlines and interoperable error contracts |
| [Messaging](subsystems/Messaging.md) | Bounded durable queues, acknowledgements, retries and deduplication |
| [Observability](subsystems/Observability.md) | Metrics, tracing, context and bounded export adapters |
| [Discovery](subsystems/Discovery.md) | Bootstrap, registration, health and pluggable discovery providers |
| [Coordination](subsystems/Coordination.md) | Deterministic consensus core and failure simulation |
| [Replication](subsystems/Replication.md) | Durable protocol/application-state integration and snapshots |
| [DistributedStorage](subsystems/DistributedStorage.md) | Replicated groups, routing, later sharding/rebalance and operations |
## Application platforms
| Platform plan | Complete future workflows |
| --- | --- |
| [NetworkedApplications](platforms/NetworkedApplications.md) | Managed/embedded services, storage, streaming, configuration, trust and shutdown |
| [ReloadableApplications](platforms/ReloadableApplications.md) | Module host, dependency lifecycle, state transfer, generation pins and updates |
| [DistributedApplications](platforms/DistributedApplications.md) | 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](VALIDATION.md) for commands and limitations, and
[verification records](../agent-workflow/VERIFICATION.md) 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](../agent-workflow/STATE.md), [tasks](../agent-workflow/TASKS.md), and
[decisions](../agent-workflow/DECISIONS.md) preserve progress across sessions. No important
user choice should need to be reconstructed from the conversation.