Files
Library/docs/roadmap/REQUIREMENTS.md
T

5.6 KiB

Requirements and approved scope

Status: approved planning scope; feature implementations are planned, not delivered. Baseline: main, f1f9ba375b22abf1adcc7c550ec21ac20895c0a4, inspected 2026-11-24.

Purpose

VoidLibrary will span independently usable foundations, complete functional modules, and optional application platforms. Completeness means documented, composable workflows with defined failure and resource behavior, as well as useful individual primitives. The immediate deliverable is this expanded planning package. The user's instruction “Implement the plan” approves authoring that package, whose approved scope explicitly separates future application implementation.

Confirmed requirements

ID Requirement Acceptance in this package
R-001 Generic library from small foundations through complete modules and platforms Every current public module, agreed new subsystem, and three platforms has a linked area plan.
R-002 Keep C++26 and reflection API designs retain that baseline; feature detection and compiler validation are specified without promising unsupported compilers.
R-003 Linux first, portable design Linux is the first implementation/validation target; capability and future platform parity are explicit.
R-004 Versioned modernization Incompatible changes are grouped into a major-release migration with old/new behavior and consumer checks.
R-005 Standard-library-only foundation Foundation plans require no optional external packages, hidden workers, or mandatory managed runtime.
R-006 Prefer native implementations; decide dependencies by module Every area records native, standard-library, external, or adapter choices with rationale.
R-007 SQLite integration plus an original storage engine SQLite stays a distinct backend; new Storage owns its implementation and makes no SQLite SQL/file-format compatibility claim.
R-008 Original transactional key-value core first Atomic batches, consistent snapshots, durable acknowledgement, recovery, and subsequent richer data models have separate milestones.
R-009 Embedded and managed execution Applications may inject execution resources; an optional Runtime supplies managed startup and shutdown.
R-010 Broad module completion and both initial platforms Module work, networked applications, and reloadable applications all appear in the dependency-ordered delivery plan.
R-011 Full distributed platform roadmap Messaging, discovery, coordination, replication, and distributed storage include failure-model and evidence gates.
R-012 Runtime and memory first, with workload profiles Latency, throughput, and footprint profiles have measurements, limits, and acceptance rules; build cost remains tracked.
R-013 C++ plugins plus stable C boundary Same-toolchain C++ compatibility and separately versioned C ABI are distinguished.
R-014 One expanded plan per module/new area Each area has concrete APIs, tasks, dependencies, failure cases, verification, and migration detail.
R-015 Preserve sensitive existing contracts Strict signed-document parsing, exact signed bytes, update commit points, frozen ShortUrl V1, and generation pins remain explicit obligations.
R-016 Evidence-based delivery Current behavior, proposed behavior, observed checks, and future commands are labeled distinctly.

Scope boundaries

The selected domain is general software infrastructure: utilities, systems, protocols, data/storage, runtimes, service composition, and distributed platforms. GUI, media, GPU, and embedded product layers are outside this roadmap. General numeric utilities remain in scope; a scientific-computing platform does not.

No calendar deadline, team size, deployment environment, or spending budget was given. Delivery therefore uses dependency and evidence gates. Documented designs do not claim implemented capability, measured speedup, proven distributed reliability, or release readiness. Publishing, licensing changes, and remote actions are separate work.

Representative acceptance journeys

  1. A small CLI links only the utilities it uses and does not need network, database, crypto, or managed-runtime packages merely to include foundation headers.
  2. An application supplies its executor and clock, then uses streaming I/O and tasks with bounded cancellation and resource ownership.
  3. A managed network service starts storage and listeners in dependency order, reports health, serves bounded requests, and shuts down without abandoning owned work.
  4. A reloadable host replaces a provider while existing acquired handles remain valid; a failed candidate does not displace the active generation.
  5. A durable key-value batch survives restart after successful durable acknowledgement; an interrupted batch never appears partially applied.
  6. A later replicated service rejects minority writes, preserves committed history, and recovers snapshots and applied positions consistently.

Planning completion gate

The master index is the coverage authority. All listed area documents must exist, link to applicable shared contracts, distinguish existing source from NEW interfaces, and contain implementation tasks and testable acceptance scenarios. The validation plan defines checks on the written package itself. High-impact unresolved alternatives must be resolved in the plan, not passed silently to an implementer. Later refinements update the decision ledger and affected contracts.

See architecture, delivery, and the decision ledger.