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

5.8 KiB

Review the provider acquisition and publication contracts

Task ID: T-PREFLIGHT-007 Role: astra_reviewer Status: READY

1. Context and baseline

Shared /home/faumaray/Projects/VoidLanguageServer, feat/implement-roadmap at ca04975, dirty files authorized. Primary native descriptor build.cpp, optional CMake verification, VoidLibrary main 7d7d23e. T-PLAN-006 verified VBS 6c225c2 selector/status/generations and actual compdb rows. Build/Model.hpp, Workspace/{Configuration,Trust}.hpp and Protocol/Json.hpp are implemented. Root owns build/test registration, CLI, session, docs and integration. No shared tree branch switches, Git mutations, sibling writes, child agents or independent user messages.

2. Objective and deliverables

Give independent pre-implementation verdicts for T-PROVIDER-IO-007, T-PROVIDER-ROWS-007, T-PROVIDER-VBS-006 and root T-PROVIDER-SESSION-007. Return decisive amendments early so unaffected workers can begin.

3. Scope and non-goals

Technical architecture preflight only. No source changes, activities against other software or external messages. Review against actual local data and interfaces.

4. Files to inspect

Read all four named task specs in docs/agent-workflow/tasks/, roadmaps 04-07, current Build/Model.hpp, Workspace/{Configuration,Trust}.hpp, Scope helper include/Void/LanguageServer/Support/RegularFile.hpp, Protocol/Json.hpp, src/Server.cpp and src/main.cpp. Read the VLS-owned .vbs/editor_selection.json, build/native-validation/profiles/debug/editor/status.json and exact selected VLS-generated compdb. Read committed VBS seed build/tools/vbs-6c225-src/src/Editor/CompDb.cpp and real VLS-CMake build/bootstrap/compile_commands.json. No sibling writes, arbitrary project files or ambient settings.

5. Write ownership and coordination

Write scope: none Root and eligible workers share this checkout. Return observations by internal message or final only.

6. Implementation or investigation approach

Compare field types, purpose admission and revalidation to producer rules and sources, file symlink/rename rules and logical bases, row bounds, argv/response parsing and stable duplicate identity. Review immutable generation consistency, fresh/stale observation and fallback semantics, router path/trust/provenance and grants per root. Identify a specific distinguishing test for each material finding. Distinguish fixable current contracts from future native export and production-analysis prerequisites.

7. Interfaces and data contracts

NEW namespace Void::LanguageServer::Build. Root owns Providers.hpp. ProviderScope contains WorkspaceIdentity workspace, optional absolute exact_database, exact_selector, build_root, producer_cwd (root-bound launcher grants only) and Workspace::ResourceLimitsConfig limits. enum FilePurpose {selection,status,database,response}; read_provider_file(scope,path,purpose,byte_limit) returns expected<ProviderFile,ProviderIssue>; provider_file_current(scope,file) revalidates identity. ProviderFile has purpose, logical_path, canonical_path, bytes, content_id, stamp; stamp binds admission root, opened object and selected name. ProviderIssue has string code,message and filesystem::path path. DatabaseInput has const ProviderScope& scope, const ProviderFile& database, optional profile, optional driver; DriverInput holds a workspace/purpose/generation checked Workspace::ToolCheck and Workspace::CompilerDriver, plus known wrapper spellings. import_commands(const DatabaseInput&) returns expected<ImportedCommands,ProviderIssue>; ImportedCommands has vector contexts, vector dependencies and string revision. ProviderObservation has string provider, optional<uint64_t> selection_ticket, optional profile, Generation generation, vector issues and vector inputs; fresh is a generation without blocking issues (row limitations stay in context). observe_vbs(scope, selector_path, optional), observe_compdb(scope, database_path, optional) return ProviderObservation. Root owns latest sequenced publication and revalidation at install. All reads are passive. Concrete spelling in forthcoming header coordinated by root after preflight.

8. Dependencies and integration

T-PLAN-006 is the independent planner baseline. The three implementation workers wait for your per-slice verdict; root can continue the unrelated GCC/earlier-foundation work. Send first implementation-ready slice(s) promptly.

9. Edge cases security and performance

Check equal-ticket generation replacement or reverse completion, selection ABA/root reincarnation, metadata vs actual execution, external exact file symlink admission, fixed byte/row/memory bounds and roots with shared configuration. Check for accidental privilege via driver input, compiler source outside root or fallback aliases. Never execute metadata or real compiler commands for this review.

10. Acceptance criteria

Per-package READY or CHANGES_REQUIRED; severity, exact path/field/contract, concrete change and test. Do not prescribe unrelated features or require unavailable VBS-native rich output for today's passive observer.

11. Verification commands and evidence

Use git status --short --branch, scoped graph/check_index_coverage and targeted file reads, bounded fixture data comparisons. No build necessary. Cite file lines for consequential claims and distinguish observed cases from proposed tests.

12. Constraints and stop conditions

Stop for missing producer details outside allowed read data and report narrowly; do not propose broader authority. No code edits, agent children or direct user contact.

13. Authorization and decisions

User approved all plans, 6.2 family and Max effort. This independent Astra review is routed through the generic role as approved in D-027.

14. Return format

T-PREFLIGHT-007 verdicts, amendments, evidence, test cases and any actual blocker.