Files
Language-Server/docs/agent-workflow/tasks/T-REVIEW-001.md
T
faumaray ca04975d54 bootstrap
Signed-off-by: faumaray <faumaray@gmail.com>
2026-11-25 02:11:19 +03:00

9.4 KiB

Independent integrated bootstrap and roadmap review

Task ID: T-REVIEW-001 Role: astra_reviewer Status: READY

Execution amendment D-021: the user now requires following VoidLibrary main without a commit pin. Root changed CMakeLists.txt/cmake/VoidDependency.cmake and updated current policy docs. Judge the actual main-ref behavior; historical pin requirements below are superseded, and tested-commit provenance still applies.

1. Context and baseline

Review /home/faumaray/Projects/VoidLanguageServer, main, unborn HEAD. All source/docs files are NEW relative to the initially empty source repository; only preexisting .serena runtime metadata was preserved/ignored. User approved milestone0 repository+27 detailed plans+C++26 VoidLibrary LSP shell. T-001 Sol implementer has handed back all files. Root wrote docs and inspected actual code/tests. This is a fresh final review, distinct from prior preflight. Known external blocker: VoidLibrary StrictJson at9931c5ffc4844a5e09e1b1db35b3d29c5097c3a5 rejects decimals; user says another worker is adding them and explicitly chose upstream reuse.

2. Objective and deliverables

Adversarial review of actual integrated source/tests/build and documentation contracts. Find actionable correctness, protocol, safety, dependency, regression-test or dishonest-status issues. Return separate verdict for independent implemented shell behavior/docs and final full shell acceptance. Do not wave away known failing required JSON tests; final acceptance is currently blocked. Identify any additional defects that should be fixed now.

3. Scope and non-goals

Review all18 new source/build/test files and relevant roadmap architecture/01/02/08/16-23 consistency. Validate that all27 plans exist with specific dependencies/ownership/contracts/tests and retain user choices. No compiler/backend/VBS/debug implementation expected. No writes, dependency edits, toolchain installation or Git mutations; no user messages or children. Review actual diff/source, not just worker summary.

4. Files to inspect

Read AGENTS.md, docs/agent-workflow/APPROVED_PLAN.md, PREFLIGHT.md and tasks/T-001.md. Source snapshot at build/review/integrated.patch and SHA256 manifest build/review/manifest.tsv (created before this review-task file). All changes are new files against /dev/null; git diff alone will omit untracked files. Actual code: CMakeLists.txt, cmake/VoidDependency.cmake, .clang-format; include/vls/{Framing,Json,Server}.hpp; src/{Framing,Json,Server,main}.cpp; tests/CMakeLists.txt, Registration.cmake, TestSupport.hpp, FramingTests.cpp, JsonTests.cpp, LifecycleTests.cpp, JsonCapabilities.cpp, ProcessTests.cpp. Docs: README.md, docs/DEPENDENCIES.md, docs/roadmap/README.md, REQUIREMENTS.md, ARCHITECTURE.md and relevant numbered plans. Exact worker tests/logs available in build/worker/Testing/Temporary/LastTest.log; root pinned tests build/bootstrap/Testing/Temporary/LastTest.log. Dependency source only if necessary: pinned build/bootstrap/_deps/voidlibrary-src/include/Void/Data/StrictJson.hpp and Unicode/Utf.hpp. Do not scan unrelated external checkout content.

5. Write ownership and coordination

Write scope: none Root owns source after handoff, but will keep it stable while review runs; verification/status documentation may be updated. .serena, dependencies and global tools non-owned. Use your own /tmp or ignored scratch directory only for non-repository test artifacts if needed; no source mutation. No editing, stage/commit/push/reset/stash/clean or changing Serena active project. All actors share the checkout.

6. Implementation or investigation approach

Verify baseline/manifest and read actual code. Check frame byte/limit/EOF/stream semantics, JSON validation before recursive parsing, ID/envelope handling, lifecycle and stdout discipline. Inspect test assertions/failure propagation and subprocess deadlines. Check exact pin/default fetch vs override and real module linkage. Examine instructions/plans for contradictory scope, source claims, missing chosen debugger/client features and false verification. Root established graph project home-faumaray-Projects-VoidLanguageServer -> exact root; .gitignore excludes build/.vls/.serena/.cache/keys/env/WG.conf. Exact-path coverage reports not_tracked for all new code; structural search returns no symbols. Check coverage for relied paths as required, read source directly, do not reindex or pretend graph completeness. Serena active project is VLS; do not switch. If protocol facts are disputed, use current primary LSP/JSON-RPC sources. Root flags two HYPOTHESES for independent assessment: tests enforce rejection of numeric IDs spelled1.0/1e0 even though integer-valued JSON numbers may need value-based handling; implementation returns InvalidRequest for incoming response envelopes although this shell sends no server requests. These are not asserted defects or requested outcomes.

7. Interfaces and data contracts

Original T-001 gives full binding WHAT/HOW. Core facts: default/--stdio LSP3.17 lifecycle; standalone help/version; header8KiB/body16MiB/depth64; strict UTF-8/escape validation; exact string/integer ID correlation; empty capabilities; no semantic fake success; before-init ServerNotInitialized, repeated-init InvalidRequest, unknown requests MethodNotFound, notifications silent, shutdown null, post-shutdown InvalidRequest, exit0 after shutdown or1 otherwise. User confirmed no competing decimal parser: wait for committed upstream revision, then validate/pin. Existing capability suite is ordinary failing tests, not skip/xfail. Full product requires GCC16 fidelity, modules/reflection, core IDE and safe rename, live+replay template/constraint/constexpr/reflection debugging, DAP+custom UI in Neovim+VSCode. Future contracts are explicitly NEW/planned with compiler/VBS/license gates.

8. Dependencies and integration

No active source implementer remains; root integrates findings. Source header/runtime APIs from exact VoidLibrary pin were inspected, and dependency is statically linked with scoped module options. No frontend compiler fork downloaded. VBS source advanced independently and is not owned. If upstream decimal revision becomes available, root will separately validate pin/API and request re-review of affected code.

9. Edge cases security and performance

Inspect malformed/batched envelopes, notification response behavior, integer limits/decimal representation, Unicode/escaped IDs, header duplicate/overflow, premature EOF, broken pipes/output flush and nesting scanner safety. Confirm tests are not tautological-only and actually exercise executable fragmentation/immediate response. Future boundaries: metadata execution authority; complete declared-context guarded rename without filesystem-atomic claims; debug memory/admission/watchdog/disconnect limits and position-scoped handles. Do not expand bootstrap into a sandbox or full semantic server.

10. Acceptance criteria

  1. Severity-ranked reproducible findings with exact location/trigger/impact/correction; distinguish hypotheses from established defects.
  2. Verify all selected user features remain in plans and implementation advertises only lifecycle.
  3. Review actual test assertions and counts, not only CTest green/red summary.
  4. State known JSON prerequisite independently of new findings; no final VERIFIED verdict while required tests fail.
  5. Return targeted validation/re-review scope for fixes and any material residual risk.

11. Verification commands and evidence

Cwd /home/faumaray/Projects/VoidLanguageServer. Root observed default pinned configure: dev cpp-gcc -c cmake -S . -B build/bootstrap -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON =>exit0, clone exact9931c5f, GCC16.2/reflection pass. Root observed dev cpp-gcc -c cmake --build build/bootstrap --parallel2 (actual invocation uses separate '--parallel','2') =>exit0. Root observed dev cpp-gcc -c ctest --test-dir build/bootstrap --output-on-failure =>exit8,3/4 suites pass, only vls_json_capabilities fails (four bodies). Unit21 and process8 plus registration pass. Worker observed same local override build/test outcomes in build/worker; total33 bodies,29pass/4fail. Worker scoped format/whitespace/install/version checks pass, root has not independently repeated all. Root documentation check:27 numbered plans, each~350-420 words and all6 required sections; local markdown links0 errors. You may run focused existing test binaries or crafted subprocess probes with deadlines; record actual exits. No need to rebuild full dependencies for unchanged code.

12. Constraints and stop conditions

No dependency fixes or competing JSON parser. Treat missing upstream revision as explicit blocked final acceptance, not a reason to hide or disable tests. Do not infer model routing, tests or distribution approval from role labels. Stop on unowned writes/secret risk; return precise evidence. Keep review bounded to actionable integrated defects and requirements.

13. Authorization and decisions

User requested implementation of the approved first milestone. Prior READY preflight applies to contracts only; this fresh reviewer must independently inspect code. All roles configured XHigh; spawn metadata does not verify model runtime. No merge/release/push requested or authorized. Task persisted, linted and root semantically checked.

14. Return format

T-REVIEW-001; verdict for independent scope and full acceptance; severity-ranked findings; acceptance evidence/gaps; exact commands/cwd/results; files changed none; checks not run and residual risks. Do not spawn or message the user.