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

4.0 KiB

Verify input identities at the source catalog and document store boundary

Task ID: T-PREFLIGHT-CATALOG-009 Role: astra_reviewer Status: READY

1. Context and baseline

T-PLAN-SEMANTICS-010 and the recently cleared T-SOURCE-OVERLAYS-009 define a stock GCC diagnostic input path. Root has a real closed-fixture private compiler view. T-SOURCE-CATALOG-009 proposes capturing exact observed sources and lookup names for that view.

2. Objective and deliverables

Preflight the proposed catalog package for correctness of editor-vs-disk resolution, freshness and realistic integration signatures. Provide minimal amendments with observable distinguishing checks, or READY. Focus the agreed data slice.

3. Scope and non-goals

Read-only, no active security investigation or exploit development. Review ordinary input names, disk changes, unsaved headers, alias behavior and invalidation. No filesystem isolation/driver launch implementation, no scope expansion.

4. Files to inspect

Read T-SOURCE-CATALOG-009.md, T-SOURCE-OVERLAYS-009.md and T-SEMANTIC-LEASE-009.md, include/Void/LanguageServer/{Support/RegularFile,Documents/{DocumentStore,Uri},Build/Model}.hpp, src/Documents/{DocumentStore,Uri}.cpp and src/Build/ProviderFile.cpp. Review the named existing interface rather than restating idealized filesystem behavior.

5. Write ownership and coordination

Write scope: none Private build/preflight-catalog-009 direct source/benign temporary fixtures only if needed. No persistent changes, shared builds or delegated tasks.

6. Implementation or investigation approach

Trace how a caller chooses an authorized root, how fd-based reading and a client URI bind a single physical source, handling of missing/uncreated/blocked/aliased overlays. Check current compare snapshots, retained fd/route lifetime, quota and parent changes. Distinguish explicit evidence for an observed exact lookup from evidence of complete compiler lookup coverage. Reuse recent preflight and original normal case tests; avoid rerunning unrelated review assignments.

7. Interfaces and data contracts

Review proposed source root/session/authority scope and the exact document API capture_file_inventory/observe_bound_source/materialize_bound_disk/validate_bound_sources (see frozen task for spelling). Verify what is revalidated by the caller vs the captured data object, especially hardlinks and directory names. Return any objective missing contract preventing implementation.

8. Dependencies and integration

Document and workspace lease packages are in progress with disjoint owners. The catalog owner can prepare file handling and digests before their headers finish. The downstream runtime controls private mounts, tool identity and complete input coverage independently.

9. Edge cases security and performance

Resource limits, stable identity over replacement, nonblocking regular-file reading, atomic document authority, scope of partial/failed results and source mapping are relevant. Restrict to supplied repo and approved benign file fixtures. No independent exploratory tests on other targets.

10. Acceptance criteria

Provide READY or CHANGES_REQUIRED in terms of a simple real source/lookup example, a source line and a test. The implementation tests must distinguish a new unsaved header, an empty file, a blocked open and an observed negative lookup that changes. Avoid unnecessary policy/UX requirements.

11. Verification commands and evidence

Read-only file review; optional build/bootstrap/tests/vls_document_tests --no-color or targeted existing test. Record only actual checks. No shared manifests or configuration changes.

12. Constraints and stop conditions

Stop and contact root for an actual gap requiring a new owner. Preserve continued independent diagnostic/graph work.

13. Authorization and decisions

Full authorized roadmap D-022/025/027, independent reviewer specifically GPT-6.2 Astra Max D-029. No external publish/remote updates.

14. Return format

T-PREFLIGHT-CATALOG-009 READY or CHANGES_REQUIRED with exact issues/lines/tests and ownership.