50 lines
4.4 KiB
Markdown
50 lines
4.4 KiB
Markdown
# Requirements and acceptance ledger
|
|
|
|
Approved 2026-11-25. Scope approval covers milestone0 (repository, detailed plans,
|
|
working shell). The remaining requirements describe gated future delivery.
|
|
|
|
| ID | Requirement | Acceptance boundary | Plans |
|
|
| --- | --- | --- | --- |
|
|
| R-001 | C++26 server using VoidLibrary | Actual APIs linked, GCC16 host, dependency provenance | 01 |
|
|
| R-002 | Working stdio lifecycle shell | Real initialize/initialized/shutdown/exit and correct errors/exits | 02 |
|
|
| R-003 | Conforming bounded JSON ingress | Decimals/exponents, integer/string IDs, Unicode/escapes and depth tests | 01,02 |
|
|
| R-004 | Honest capabilities and status | No semantic/debug/VBS promises before implementation | All |
|
|
| R-005 | Traceable dependency and meaningful tests | Follow VoidLibrary main per D-021; record tested commit, separate local override, nonzero tests and outcomes | 01,24,25 |
|
|
| R-006 | Versioned unsaved documents | Correct positions, edits, snapshots and desynchronization handling | 03 |
|
|
| R-007 | Workspace/tool execution boundaries | Metadata alone cannot authorize executables, plugins or wrappers | 04,07,09 |
|
|
| R-008 | Native VBS integration | Resolved tooling generations, profile/target selection, readiness and live producer evidence | 05,06 |
|
|
| R-009 | compile_commands compatibility | Standard fields, alternative commands, driver-aware quoting/response files, honest missing metadata | 07 |
|
|
| R-010 | GCC16 Void source fidelity | Real Void/GCC/libstdc++ corpus passes frontend gate; unsupported constructs explicit | 08,09 |
|
|
| R-011 | Responsive foreground work | Warm completion p95~100ms, navigation~50ms on recorded corpus/hardware | 10,14,24 |
|
|
| R-012 | Native modern modules | Named modules, partitions, header units, unsaved dependency changes and compiler-specific artifacts | 11 |
|
|
| R-013 | Reflection/meta semantics | Queries, splices, expansions, generated entities and reliable origins | 12 |
|
|
| R-014 | Core editing features | Diagnostics, completion, hover, navigation, references | 13,14,15,16 |
|
|
| R-015 | Safe rename | Complete declared affected contexts, editable provenance, guarded versioned buffer transaction | 16,22,23 |
|
|
| R-016 | Metaprogram instrumentation | Templates, constraint decisions, constexpr/consteval and reflection events/values | 17 |
|
|
| R-017 | Live metaprogram debugger | Breakpoints, pause/continue, stepping, frames, scopes and inspection | 18 |
|
|
| R-018 | Recorded evaluation replay | Historical state/source, cursor navigation, explicit failed/truncated traces | 19 |
|
|
| R-019 | DAP and custom views | One session/control authority, DAP plus timeline/tree/entity views | 20,21 |
|
|
| R-020 | Neovim AND VS Code | End-to-end editing, guarded rename, live and replay debug journeys | 22,23 |
|
|
| R-021 | Robustness and resource isolation | Worker recovery, bounded resources, cancellation and ordinary-editing capacity | 09,10,18,19,24 |
|
|
| R-022 | CMake bootstrap then native VBS build | Independent seed now, verified native build later | 01,26 |
|
|
| R-023 | Staged adoption across Void | VoidLibrary and VBS first; evidence-based expansion to remaining projects | 26 |
|
|
| R-024 | Linux first; later parity/ports | Linux release matrix now; Windows/macOS and broader IDE features separate | 25,27 |
|
|
| R-025 | Detailed durable plans and decisions | Dependency graph, contracts, ownership, failures, implementation and tests for every part | All |
|
|
| R-026 | Deliberate licensing/release gate | License decision after backend evidence; no implicit distribution approval | 08,25 |
|
|
|
|
## Release definition
|
|
Milestone0 proves the shell, not clangd replacement. The first usable replacement
|
|
must meet R-008 through R-021 and the two-client adoption corpus, including BOTH live
|
|
and replay debugging and BOTH DAP and custom views. A successful handshake, a compiler
|
|
version string, a prototype trace or passing unit tests alone cannot establish this.
|
|
|
|
No fixed release date was selected. Lack of a deadline does not waive acceptance.
|
|
The planned C++26 matrix is bounded by the approved GCC16 project corpus and explicitly
|
|
enumerated proposals; do not claim complete final-standard coverage from -std=c++26.
|
|
|
|
## Current external prerequisites
|
|
VoidLibrary decimal support is being developed by another worker. Confirm an exact
|
|
committed revision and all JSON tests before final shell acceptance.
|
|
The VBS resolved tooling producer is planned independently. The frontend and debugger
|
|
feasibility experiments have not run. Licensing is intentionally undecided.
|