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

49 lines
3.8 KiB
Markdown

# Review stability and lifetime of the editor context lease
Task ID: T-PREFLIGHT-LEASE-009
Role: astra_reviewer
Status: READY
## 1. Context and baseline
Shared VLS feat/implement-roadmap ca04975; passive status, actual providers, authority pinning and guarded analysis model exist. Planner T-PLAN-SEMANTICS-010 established the new lease to connect actual compiler contexts to diagnostics; before implementation review the attached contract.
## 2. Objective and deliverables
Return early READY or CHANGES_REQUIRED for a context lease that acquires a real selection, authenticates its selected driver and revalidates when inputs change without degrading unaffected documents. Catch new contract holes before worker coding.
## 3. Scope and non-goals
Read-only preflight limited to the proposed semantic context acquisition API and relevant existing projection/selection and settings. Do not implement, do not change any tools or release/pin choices.
## 4. Files to inspect
Read T-SEMANTIC-LEASE-009, actual src/WorkspaceSession.cpp, src/Build/{Model,CommandImport,CompdbProvider,VbsProvider,ProviderFile}.cpp, src/Workspace/Trust.cpp, include/vls/WorkspaceSession.hpp, include/Void/LanguageServer/Build/{Providers,Model}.hpp and semantic-planner notes in the contract. Existing docs/agent-workflow/DECISIONS.md supplies authority decisions.
## 5. Write ownership and coordination
Write scope: none
Use private build/preflight-semantic-lease-009 for ordinary files if needed. Preserve shared checkout, no global or sibling changes, further agents, direct user contact, or process launches from workspace commands.
## 6. Implementation or investigation approach
Trace how identical generation identity/selection, query aliases and distinct in-flight documents can remain correct. Scope frontend/driver distinction and trust generation checks. Look for precise minimal amendments affecting real users, selected command fidelity, lifetime, equality and false generation changes.
## 7. Interfaces and data contracts
NEW acquire_semantic_context/validate from the attached §7, consuming existing TrustPolicy, SelectionState, generation/stamps and immutable document binding. Ensure no untrusted executable is selected implicitly, repeated ordinary provider status can't break cached selection and unrelated documents aren't serialized to one latest issuance. Check handling of staleness during validation.
## 8. Dependencies and integration
Root owns integration; no active source writer for affected files until preflight clears them. Module graph and SARIF decoder are parallel separate owners. Passive provider already has working stdio/regression checks.
## 9. Edge cases security and performance
Bound cache/history and return safe immutable lifetime after eviction or removal. Track observed change and affected context rather than arbitrary process lifetime for readiness. Check that explicit file/workspace, missing/native precedence and config source choose the real row.
## 10. Acceptance criteria
Deliver concrete P1/P2 interface or ordering changes with a distinguishing fixture, then a READY verdict if scope is technically sufficient. No need to approve later compiler isolation or wire protocol here.
## 11. Verification commands and evidence
git status --short --branch, targeted symbol/source inspection and existing build/bootstrap/tests/vls_workspace_tests --no-color if helpful. No commands on arbitrary project input or shared rebuilds.
## 12. Constraints and stop conditions
Stop at preflight verdict; role must stay GPT-6.2 Astra at Max. No changes to product scope or user commitments.
## 13. Authorization and decisions
D-022/025/027/029, approved full roadmap, first semantic context integration follows the planner. This assignment is independent review only.
## 14. Return format
T-PREFLIGHT-LEASE-009 READY/CHANGES_REQUIRED with actual evidence, smallest amendment and test. Report to root only.