Files
Language-Server/docs/agent-workflow/tasks/T-REREVIEW-PROVIDER-007.md
T
faumaray da8003f6d4 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.
2026-12-05 14:06:50 +03:00

6.1 KiB

Re-review the provider repairs against actual editor queries

Task ID: T-REREVIEW-PROVIDER-007 Role: astra_reviewer Status: READY

1. Context and baseline

Fresh independent review of actual shared checkout feat/implement-roadmap at ca04975. Main development is native VoidBuildSystem with CMake secondary. User approved full roadmap and Max GPT-6.2 family, and specifically requires GPT-6.2 Astra at Max for reviews. No review substitution. The provider preflight required pinned grants, genuine negative evidence, prefix/TU verification, and latest-issued publication (see T-PREFLIGHT-007).

2. Objective and deliverables

Re-review the corrected P1/P2 findings from the prior independent review, with priority on actual physical source selection and revalidation after alias/parent replacement. Inspect the changes and run distinguishing checks for every item. Focus on remaining major defects directly on these repair paths.

3. Scope and non-goals

Review acquisition, import, VBS/compdb selection, session semantics, CLI/configuration, build and LSP process integration. Recheck relevant cross-file trust/document/model behavior. Known unrelated upstream JSON precision/range failures have tracked separate ownership. No compiler-patch review, release verdict or implementation edits.

4. Files to inspect

Inspect git diff ca04975 and the actual new untracked files in include/Void/LanguageServer/{Build/Providers.hpp,Support/RegularFile.hpp}, src/Build/{ProviderFile,CommandImport,VbsProvider,CompdbProvider}.cpp, src/WorkspaceSession.cpp, include/vls/{Server,WorkspaceSession}.hpp, src/{main,Server}.cpp, src/Workspace/{Configuration,Trust}.cpp, tests/providers/, tests/workspace/ProviderSessionTests.cpp, tests/ProviderProcessTests.cpp, tests/native/InstalledServer.py, build.cpp, CMakeLists.txt, tests/CMakeLists.txt and tests/NativeRegistration.cpp. Consult individual provider task specs and ACTUAL VoidBuildSystem selector/status generation if a claim depends on the producer. Tests formerly under tests/build moved to tests/providers because VBS excludes directories named build from project snapshots.

5. Write ownership and coordination

Write scope: none Use only private ignored build/rereview-providers-007 for any benign fixtures or generated verification artifacts. No editing shared sources/docs, builds, branches, commits, sibling checkouts, dependencies, tools or user messages. The root owns build wiring and provider integration. Other agents own the compiler prototype and module work.

6. Implementation or investigation approach

Trace a real request and one failed/superseded request across wire → session → providers → pinned IO → bounded importer → BuildGeneration → publication. Examine source lifetime, exception/outcome, TOCTOU, alias/hardlink/negative lookup, passive prefix-to-origin checking, language/value/settings origins, issue/epoch serialization, workspace and trust reconfiguration, no stale publishing. Try to refute implemented claims using tests and actual local executables. Inspect untracked source directly; a clean tracked diff is insufficient.

7. Interfaces and data contracts

The public contracts are Providers.hpp, Model.hpp, WorkspaceSession.hpp. Status is voidLanguageServer/providerStatus, supports per-workspace scope and optional document. Auto VBS precedence, a dangling/stale selector or missing native generation stays VBS. No automatic trust execution. Immutable revisions scoped to incarnation; unknown role/source remains explicit. Native v1 lacks target/module/role richness, retain unknowns.

8. Dependencies and integration

The prior reviewer reproduced wrong ownership with link/../x.cpp, an unused missing external compdb grant poisoning native, accepted trailing-slash file locators, POSIX double-quoted backslash loss, missing response recreation not invalidating, escaped search paths and an installed validator failing with 17 alternatives. On the repaired shared sources, root ran 22/22 CommandImport and 4/4 actual ProviderProcess tests. CMake registers 41 provider and 16 process cases. Native/integration rerun in progress. Read T-REPAIR-PROVIDER-007 for the contract and inspect CommandPathWalk, the generation identities, scope stamps and latest input rechecks.

9. Edge cases security and performance

Watch resource amplification (nested rows/response files, retained generations or file descriptors), boundary alignment after file rename, root re-add, external exact/build roots and user-origin grants. Verify tests do not accidentally pass with no-op handler, invented context values or shell success. Identify exposed user failures and materially justified fixes, not speculative style churn. Use only ordinary owned fixtures and read-only inspection.

10. Acceptance criteria

Report independent concrete verdict for acquire/import/native/compdb/session/CLI/integration and tests, supported by exact files/lines, reproductions and observed exit codes. Distinguish pre-existing known JSON findings. If a high-priority issue exists, notify root early to begin correction while you review disjoint areas.

11. Verification commands and evidence

git status --short --branch; git diff --check; run build/bootstrap/tests/vls_provider_tests --no-color, vls_workspace_tests --no-color and vls_process_tests --no-color; check native list/installed result if useful. Read build/native-evidence/{providers-installed,provider-regressions-build,provider-repair-cmake}.log; optional targeted proof only under private review dir. No shared builds or compiler experiments.

12. Constraints and stop conditions

Stop if prerequisite prevents factual verdict, report missing evidence or actual runtime error. Do not downgrade or silently substitute model on 429. No merge/release or deployment actions.

13. Authorization and decisions

User D-025/027/029: native VBS, explicit GPT-6.2 Astra at Max, preserve independent reviewer. Passive workspace and provider implementation cleared after amendments. This review is of code and behavior.

14. Return format

T-REREVIEW-PROVIDER-007 READY/CHANGES_REQUIRED/BLOCKED with scoped verdicts, findings highest impact first, evidence/commands and untested paths. Report to root only.