Implement the VLS roadmap on the native VBS build
Native VBS and CMake builds of the server and every registered suite: protocol and document sync, VBS/compdb providers, stock GCC diagnostics (including in-process default profile preparation), the stock occurrence observer and hover/definition, the bounded Scheduler, C++ module graph, scan and artifact cache with real CMI production, the context-aware symbol index with schema-2 snapshot migration, navigation and guarded rename, reflection provenance with splice-origin extraction, index-backed completion and signature help, live GCC worker control with a registered DAP suite, and the Neovim and VS Code clients. VoidLibrary follows main. The private GCC 16.2.0 frontend is reproduced from the versioned patches and verified stepping reflection/template code with projected values 17/34 and 41/82.
This commit is contained in:
1 parent
ca04975d54
commit
da8003f6d4
310 files changed
+47552
-480
No files matched your search
@@ -0,0 +1,89 @@
|
||||
# Review the first bootstrap with decimal-capable VoidLibrary
|
||||
|
||||
Task ID: T-REVIEW-003
|
||||
Role: astra_reviewer
|
||||
Status: READY
|
||||
|
||||
## 1. Context and baseline
|
||||
Working directory /home/faumaray/Projects/VoidLanguageServer on feat/implement-roadmap
|
||||
at ca04975. Upstream main moved from 9931c5f to 7d7d23ec0a6a55d4b30921432fa215b29a29e59b.
|
||||
T-REVIEW-002 predates decimal support. Root changed the CLI to reject a bare
|
||||
`--` with exit 2 after Argparse started accepting it. Both builds pass 37 cases.
|
||||
|
||||
## 2. Objective and deliverables
|
||||
Independently review the CLI/dependency and LSP numeric-ID boundary against the
|
||||
original T-001 contract. Return a precise verdict and reproductions of actionable
|
||||
errors. The previous review left the floating-point branch untested.
|
||||
|
||||
## 3. Scope and non-goals
|
||||
Cover the bootstrap executable and real dependency behavior. Native build work,
|
||||
new document/store code, future semantic capabilities and the choice of compiler
|
||||
are separate assignments. You may verify coverage of the current assertions.
|
||||
|
||||
## 4. Files to inspect
|
||||
Read docs/agent-workflow/tasks/T-001.md, tasks/T-REVIEW-002.md, REVIEW.md and
|
||||
VERIFICATION.md for acceptance and prior limits. Inspect the actual diff of
|
||||
src/main.cpp against ca04975 and the affected src/{Json,Server}.cpp,
|
||||
include/vls/{Json,Server}.hpp, tests/{JsonTests,JsonCapabilities,ProcessTests}.cpp,
|
||||
tests/{Registration.cmake,TestSupport.hpp}, cmake/VoidDependency.cmake and
|
||||
build/bootstrap/_deps/voidlibrary-src/include/Void/Data/StrictJson.hpp.
|
||||
|
||||
## 5. Write ownership and coordination
|
||||
Write scope: none
|
||||
All source, task records and output trees belong to others. Use existing binaries
|
||||
or private /tmp scratch for finite subprocess probes. Keep the active Serena
|
||||
project. No Git mutations or sibling changes. Return findings to root.
|
||||
|
||||
## 6. Implementation or investigation approach
|
||||
Check the changed default/explicit CLI modes and stdout/stderr/exit contracts.
|
||||
Examine how parsed decimal and integer forms reach JSON-RPC request ID handling,
|
||||
how conversion and range validation affect correlation, and whether any accepted
|
||||
input yields a reply for another ID. Compare StrictJson's representation with
|
||||
the protocol requirement. Verify the tested revision from the actual build.
|
||||
Use graph coverage and source checks with the active project as appropriate.
|
||||
|
||||
## 7. Interfaces and data contracts
|
||||
vls::parse_json returns expected<Json,string>. vls::request_id accepts a decoded
|
||||
Json and returns expected<variant<int32_t,string>,string>. Numeric success must
|
||||
preserve the signed-32-bit value. Invalid ID returns InvalidRequest with null
|
||||
correlation. The CLI's help/version are standalone and stdout is protocol-only
|
||||
in default/stdio mode. Existing framing and lifecycle bounds apply.
|
||||
|
||||
## 8. Dependencies and integration
|
||||
This review is independent of T-PLAN-002, native-build and compiler experiments.
|
||||
No implementer owns bootstrap source during this check. Root handles findings
|
||||
and orders any repair against pending work. Verdict is for the reviewed shell.
|
||||
|
||||
## 9. Edge cases security and performance
|
||||
Cover signed limits, exponent spellings, invalid types and precision loss. Keep
|
||||
subprocesses small and bounded. No shell execution of protocol fields or reading
|
||||
credentials. Do not enable capabilities or change test expectations.
|
||||
|
||||
## 10. Acceptance criteria
|
||||
1. Verify correct CLI exit and stream behavior for the bare marker and regular modes.
|
||||
2. Verify numeric identity on the real dependency, including cases the ordinary
|
||||
suite could miss. Record exact request/response pairs for discrepancies.
|
||||
3. Report any missing evidence for the original JSON gate and regression checks.
|
||||
|
||||
## 11. Verification commands and evidence
|
||||
From project root, `git diff ca04975 -- src/main.cpp cmake/VoidDependency.cmake`
|
||||
and `git -C build/bootstrap/_deps/voidlibrary-src rev-parse HEAD` show the change
|
||||
and revision. Root ran `dev cpp-gcc -c ctest --test-dir build/bootstrap --output-on-failure`
|
||||
and the corresponding build/local suite. Both passed all four entries, containing
|
||||
22 unit, 6 JSON capability and 9 process tests. Use build/bootstrap/vls for
|
||||
bounded LSP probes and the respective test executables in build/bootstrap/tests/.
|
||||
|
||||
## 12. Constraints and stop conditions
|
||||
If inputs drift, state exactly what was reviewed. If the dependency lacks exact
|
||||
number provenance, identify its API limitation and affected values. Do not edit
|
||||
VoidLibrary or implement a parser. Return promptly on a decisive finding.
|
||||
|
||||
## 13. Authorization and decisions
|
||||
D-021 follows main and D-022 expands scope. D-027 selects gpt-6.2-astra with
|
||||
Max for this independent review through the explicitly approved runtime role.
|
||||
The review has no release, network-write or branch authority.
|
||||
|
||||
## 14. Return format
|
||||
T-REVIEW-003 READY/CHANGES_REQUIRED/INSUFFICIENT_EVIDENCE. For each finding give
|
||||
severity, source location, trigger, expected and actual output, recommended fix
|
||||
and distinguishing regression. Include commands and limits. No child agents.
|
||||
Reference in new issue
Block a user