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

7.3 KiB

Preflight record

Stock occurrence host contract on December 5

Root preflight of the consumer boundary for T-STOCK-OCCURRENCES-014. An independent reviewer was not available for this pass; these are root dispositions. The producer artifact and its sealed verifier are already verified.

Initial verdict: CHANGES_REQUIRED. Corrected host contract:

Finding Binding correction
The observer could be swapped after profile load The launcher-selected profile records an absolute path and SHA-256. Every job re-reads bounded bytes, hashes the exact staged copy and withholds facts on mismatch. Metadata, settings or a compilation database cannot name a plugin.
Report paths could escape the compiled inputs Decoding requires exact logical-path membership in the capture that was compiled. An unknown path rejects the report instead of being dropped.
Physical byte columns are not LSP characters Convert one-based physical byte spans through the captured snapshot's negotiated encoding. Require the sliced bytes to equal the declared name and both endpoints to be UTF-8 boundaries.
Facts could outlive their inputs Occurrences belong to the receipt's capture and analysis revision. Lease or capture invalidation drops them; no cross-generation reuse.
Partial reports could fabricate completeness complete:false publishes zero facts. partial:true still serves individually verified facts. A missing or unproven definition is null, never a guessed link.
A capability could be advertised without a producer hoverProvider and definitionProvider are advertised only when the selected profile enables the observer.
Readable data could become executable Facts are rendered as text only. No recorded string is executed, opened as a workspace file or used as a path.

Compiler input capture and recorded debugging

The reviewers cleared three amended contracts. The document store retains file membership independently of selected text revisions. Source capture checks the job's actual grant set, its original editor census and incompatible ancestor/descendant requests. A recording retains the acknowledged stop and action and the cursor at each compiler event. Four real compiler journals distinguished completion, cancellation, stepping and resuming through later values. A later independent review of the module planner and diagnostic decoder completed after four corrections. The DAP preflight also required binary captured source to retain its digest and length when a DAP text response cannot represent it. The integrated DAP reviewer checked the remaining paging, control, transport and handle ownership contracts.

Module planning, diagnostics and compiler context

Independent GPT-6.2 Astra assignments at Max cleared three amended contracts. The module graph needs a closed census, a current header-CMI identity and all lookup roots. The diagnostic mapper needs the actual owning input and evidence for physical origin and column units. A stock GCC header using #line reproduced the wrong-location case with identical text. The workspace lease must choose the active row before checking its driver, preserve explicit or implicit root routing, and expire replaced evidence even when its content digest recurs. The review exercised a two-driver revocation and identical-byte DB replacement.

Provider and private compiler contracts on November 27

The GPT-6.2 Astra reviewer cleared all four provider contracts after amendment. The file reader anchors directory grants and distinguishes a genuinely absent selector from a dangling link or missing generation. The importer verifies driver authority before response-file reads and checks the sole source operand against the row. Native selection rechecks the full profile, selected generation and ticket. The session rechecks positive inputs and selector absence together with folder incarnation, settings, trust and latest observation before publishing.

The GCC preflight cleared capture of real integral returns, the fixed Linux launcher and bounded supervisor/control/replay. It required explicit provisional values until evaluator cleanup, an immutable checked executable, one-use controls bound to each observed stop, the compiler's resume acknowledgement and final process reaping. The separate IDE contract requires positive definition evidence, physical use and target ranges, all-level tentative-parse handling and explicit gaps for ambiguous source maps. The reviewer reproduced two same-file line-directive mappings with colliding displayed coordinates. The implementation still needs independent integrated review.

Foundation review on November 27

T-PREFLIGHT-004 accepted the amended preparation, protocol, documents and passive trust contracts. The reviewer required changes to the remaining two contracts before implementation. Root incorporated the following dispositions.

Contract Correction applied
T-SESSION-003 Validate coordinates against INT32_MAX before clamping. Distinguish absent and null ranges. A malformed late event in a known document sets its version barrier. Verify edits through a split-scalar error from an actual process in each negotiated encoding.
T-MODEL-005 Bind to the owning TU and stable disk/overlay identity. Track previously unsuccessful include/import lookup evidence or invalidate all lookup roots conservatively. Record operation-specific completeness. Coordinate cancellation, revalidation and installation under one transition.

Root verified the provider-facing inputs against the new document/trust headers. The independent reviewer's continuation and a fresh same-model attempt returned HTTP 429. The corrections above are root dispositions. A second independent verdict and a final review of the integrated changes are outstanding.

Date: 2026-11-25. Scope: initial shell/documents and gated future roadmap. Configured independent astra_reviewer (gpt-6-astra/XHigh); runtime model routing was not independently exposed by spawn metadata.

Initial verdict: CHANGES_REQUIRED. Final contract re-review: READY, with explicit upstream JSON and later compiler/debugger feasibility prerequisites. No implementation diff, build, client run or release was approved by that review.

Finding Binding correction
Compiler options can load native code Metadata cannot authorize tools; identity-bound approved tools, response-file inspection, no arbitrary plugins/unapproved wrappers.
Rename coverage/application undefined All affected provider-exported workspace contexts; materialize and synchronize files, version/content preconditions, transactional buffer application or refusal. No filesystem-atomic claim.
Trace quotas do not isolate debugger resources One live session, memory/admission limits, CPU and running wall watchdogs, paused lifetime and disconnect reaping.
Void JSON parsers have incompatible ingress properties Verified upstream decimal revision, full JSON capability suite, VLS-owned validation only for remaining UTF-8/surrogate/depth gaps. No integer-only fallback.

Additional invariants: post-shutdown requests return InvalidRequest; debug handles include stop/replay-position generation; Gate2 includes failed constraints, nested evaluator/Sema transitions, cancellation and truncated replay. Fresh review of the actual integrated implementation is still required.