Files
Language-Server/docs/agent-workflow/tasks/T-REVIEW-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

49 lines
5.9 KiB
Markdown

# Review the integrated passive providers and workspace status
Task ID: T-REVIEW-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
Perform a defect-oriented review of the integrated passive VBS and compile-commands providers including wire dispatch. Report actionable P0/P1/P2, with minimal benign distinguishing test for each and exact code locations. Provide early high-priority findings then READY/CHANGES_REQUIRED for this slice.
## 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/review-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. Other active agents own GCC only.
## 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
Root integrated both build/test systems. Last native and CMake inventories each contain 155 bodies: 29 protocol, 14 process, 22 documents, 28 workspace, 18 model, 36 providers, 8 JSON. Only two independently known numeric tests failed. Native install from empty PATH/cwd produced correct VBS36 and compdb58 status for real main.cpp. Active source owner released latest WorkspaceSession immediately after tests; root repeats both builds on final integration. Review actual code rather than relying on this accounting.
## 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-{native-final,ctest-final,installed}.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-REVIEW-PROVIDER-007 READY/CHANGES_REQUIRED/BLOCKED with scoped verdicts, findings highest impact first, evidence/commands and untested paths. Report to root only.