Files
Language-Server/docs/agent-workflow/DECISIONS.md
T
faumaray 3b28c001a1 Record that VLS targets any compiler
D-032: no custom-built compiler is a dependency going forward.
Private-GCC experiments remain historical evidence, compiler-native
completion is not pursued through the private frontend, and
compiler-specific capabilities (occurrence observer, stock diagnostics
profile) stay optional accelerators with documented fallbacks. The
parity matrix and state note the change.
2026-12-06 00:52:20 +03:00

91 lines
7.2 KiB
Markdown

# Confirmed decisions
Date: 2026-11-25. These are user choices unless explicitly marked proposed.
| ID | Decision | Status / implication |
| --- | --- | --- |
| D-001 | Independent server reusing compiler libraries | CONFIRMED; no clangd fork or from-scratch C++ frontend |
| D-002 | GCC16 Void projects define fidelity | CONFIRMED; actual flags/headers/extensions matter |
| D-003 | Initial delivery is plans plus working shell | CONFIRMED; semantic/debug implementation remains gated |
| D-004 | Linux first | CONFIRMED; Windows/macOS later |
| D-005 | Neovim and VS Code | CONFIRMED; both are acceptance clients |
| D-006 | Core IDE plus modules/reflection | CONFIRMED; diagnostics/completion/hover/navigation/references/safe rename |
| D-007 | Metadata refresh and private IDE caches | CONFIRMED; trusted metadata scope, explicit project generator/dependency builds |
| D-008 | CMake now, VBS later | HISTORICAL; superseded by D-025 making VBS primary now |
| D-009 | VoidLibrary and VBS adoption first | CONFIRMED; remaining Void projects follow evidence |
| D-010 | Probe Clang reflection fork first | CONFIRMED; reject unsupported GCC-context fidelity; no implicit compiler repairs |
| D-011 | Defer license until backend decision | CONFIRMED; do not add an invented LICENSE |
| D-012 | Responsive daily editing | CONFIRMED; proposed targets accepted: warm completion100ms/navigation50ms p95 |
| D-013 | Follow VBS profile with override | CONFIRMED; keep per-file target alternatives |
| D-014 | Milestones without a fixed date | CONFIRMED |
| D-015 | Metaprogram debugging required in first usable release | CONFIRMED; separate instrumentation track |
| D-016 | Templates/constraints plus constant evaluation/reflection | CONFIRMED; not reflection-only debugging |
| D-017 | Live AND recorded replay | CONFIRMED; neither substitutes for the other |
| D-018 | DAP AND custom UI | CONFIRMED by free-text correction; one service, two client surfaces |
| D-019 | Upstream worker will add Void JSON decimals | CONFIRMED user report, implementation NOT yet verified; dependency gate |
| D-020 | Implement the plan | CONFIRMED; authorizes milestone0 local writes, no commit/push/deploy |
| D-021 | Follow VoidLibrary main; no commit pin | CONFIRMED execution follow-up: "not yet implemented, watch main no need to pin"; supersedes previous VoidLibrary pin requirements, retains exact tested-commit evidence and JSON acceptance gate |
| D-022 | Implement all plans | CONFIRMED2026-11-27; expands beyond bootstrap while retaining the full27-part requirements and gates |
| D-023 | Max effort for all agents/subagents | CONFIRMED and explicitly corrected from XHigh; current configured roles are locked to XHigh, so no new delegation has run |
| D-024 | Continue existing dirty foundation code | CONFIRMED; user reports no active writer; preserve and integrate the current files |
| D-025 | VoidBuildSystem is the primary build system | CONFIRMED; overrides CMake-first sequencing; prioritize native VBS build/test support now |
| D-026 | Work on a separate branch | CONFIRMED; root created feat/implement-roadmap and carried all existing changes without commit/push |
| D-027 | GPT-6.2 family at Max for each delegated assignment | User approved the generic runtime role with explicit model and effort after escalation, then requested the 6.2 family. Use gpt-6.2-astra for planning, review and difficult implementation, and gpt-6.2-sol for general implementation. Preserve independent assignments. |
| D-028 | Evaluate GCC 16 as a backend after the Clang fidelity failure | The user selected the same IDE and debugger gates for GCC. Evaluate the installed frontend and its inspection interfaces. Production backend selection, compiler modifications and project licensing remain separate decisions. |
| D-029 | Keep independent review on GPT-6.2 Astra at Max | The user chose to retry after two HTTP 429 responses. Record the outstanding review and continue independent work. |
| D-030 | Prototype the isolated GCC worker and versioned compiler hooks locally | The user authorized local changes against GCC 16.2 after the overload, recovery and module probes. Distribution and the VLS project license are deferred. |
## Root technical defaults accepted into the reviewed plan
- LSP3.17 compatibility, stdio, empty semantic capability set in bootstrap.
- New immutable VBS tooling export, separate from declaration JSON and exact execution records.
- Server/compiler workers/DAP in C++; thin clients TypeScript/Lua.
- Compiler/plugin execution identity separate from metadata authority.
- Guarded rename across declared affected contexts, no atomic filesystem-save claim.
- One live debug session;2GiB worker/3GiB aggregate;256MiB/1M-event trace;
running60s CPU/120s wall; paused30min idle; disconnect5s grace, configurable.
- License and candidate compatibility remain gates; no silent libc++ substitution.
- No competing VLS decimal parser; follow upstream main and verify its actual revision, adding only remaining local validation.
- No telemetry or remote service is part of the initial product.
## Routing record
The initial astra_planner candidate was used for VBS discovery; astra_researcher
provided independent official-source frontend evidence. The later upstream-status
follow-up created no new implementation package while in Plan Mode, so its Sol
candidate was not dispatched. The execution-turn Sol candidate owns T-001.
Roles are configured XHigh; model execution was not independently verified.
## D-031: Stock GCC diagnostics are enabled by default
The user selected default-on stock GCC diagnostics over an explicit opt-in flag
("diagnostics by default"). The server therefore prepares its GCC profile in
process from the workspace-selected GCC driver when no profile is supplied, so
no external Python script is required for normal use.
Consequences:
- Workspace build metadata can cause the selected GCC compiler to run for
analysis. The command is still the checked, sandboxed invocation; metadata
never supplies plugins, wrappers or arbitrary options.
- The occurrence observer remains optional: without a launcher-selected
observer artifact, diagnostics work and hover/definition stay unavailable.
- An explicitly supplied `--gcc-profile` still takes precedence, and
`--provider none` remains available for passive sessions.
Implementation status: decided, not yet implemented. `GccProfile::prepare()` in
C++ and the launcher default are the next package.
## D-032: VLS targets any compiler; no custom-built compiler
The user directed that VLS must not depend on a custom-built compiler and
should work with any compiler in the future. Existing private-GCC experiments
and patches remain historical evidence, but new features may not require them.
Consequences:
- Compiler-native completion with visibility proof is not pursued through the
private frontend. The generic completion surface stays index-backed and is
explicitly marked incomplete.
- Compiler-specific capabilities (the GCC occurrence observer, stock GCC
diagnostics profile) remain optional accelerators. Without them the server
degrades to snapshot-based features and reports the reason.
- Future compiler integration uses standard interfaces: LSP inputs, SARIF
diagnostics, compilation databases and VBS metadata.