Files
Language-Server/docs/agent-workflow/tasks/T-REVIEW-GCC-019.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

6.1 KiB

Review the integrated GCC occurrence, evaluator, supervisor and replay prototype

Task ID: T-REVIEW-GCC-019 Role: astra_reviewer Status: READY

1. Context and baseline

Fresh independent reviewer requested at GPT-6.2 Astra Max under D-029. Shared repo feat/implement-roadmap ca04975. D-030 covers local GCC16 worker/patches. GCC 0001/0002 built from verified release. Root and separate workers integrated sealed ELF leaf, C++ supervisor, trace and bounded real tests. The current user explicitly asks about stock vs custom compiler: keep claims limited to demonstrated distinctions.

2. Objective and deliverables

This independent retry follows an HTTP 429 before review. A new separate stock GDB experiment observed nested returns on the installed GCC and has its own fixture. It does not supersede the reviewed patches or require expanding this review. Primary native and comparison builds now include the trace suite. Independently review actual compiler patches, launch/control/journal/state provenance, direct IDE physical token and observed declaration evidence. Run tests or focused read-only distinguishing cases. Return actionable findings and slice verdicts for local prototype readiness and what remains before LSP/DAP/public exposure.

3. Scope and non-goals

Read-only assessment of local GCC patches and experimental packages. No changes to compiler or shared integration, production/backend/license decisions or user messages. Exclude ongoing provider remediation (independent assignment).

4. Files to inspect

Read compiler-patches/gcc-16.2.0/{0001-evaluator-events,0002-ide-occurrences}.patch, experiments/frontend/gcc-worker/{Leaf,Main,Supervisor,Trace}.{hpp,cpp} as present, tests/corpus/frontend/{verify-gcc-events,verify-gcc-ide}.py, tests/debug/TraceTests.cpp, tests/native/{GccLeaf,GccSupervisor}.py, T-PREFLIGHT-GCC-008, T-GCC-{IDE-008,LEAF-009,SUPERVISOR-018,TRACE-019}.md, actual GCC16.2 sources for the relevant hooks, plus root logs listed below.

5. Write ownership and coordination

Write scope: none Use only private ignored build/review-gcc-019 for ordinary isolated fixtures. No editing shared sources/builds, compiler or symlinks, Git, siblings, deployments, network sends, additional agents or direct user questions.

6. Implementation or investigation approach

Inspect the live acquisition→hello→pause→one-use command→echo→next event and terminal paths and verify what is saved on cancellation, failure, killed leader, slow client and truncation. Ensure frame copies, identity and revision, journal durability/integrity, timestamp/sequence bounds and partial projection match. Independently evaluate physical source mapping, templates/macros/line directives/splices/declaration-only and reused GCC UID lifetime. Reconcile public statements with actual behavior of ordinary GCC16 vs patched hooks. Validate SDL handling of control FDs/seals, CPU/AS caps, input snapshot, diagnostic locations, stale commands and no AST pointer crossing. Use benign project-owned sources to distinguish defects.

7. Interfaces and data contracts

Current CLI vls_gcc_probe run COMPILER SHA256 SOURCE NEW_TRACE [--step] and replay TRACE [SEQUENCE]. Leaf fixed args no standard includes, controlled C++ fixture. Integration is currently limited to local probe; actual language server exposes passive providers. Verify frontendEnd vs wait, SIGPIPE/disconnect and control input liveness, replay continues after removal of source/compiler. Review combined patch first then independently verify known observations.

8. Dependencies and integration

Root built build/bootstrap/vls_gcc_probe and stand-alone under build/gcc-leaf-tests. Root direct GCC harness for 0002 verifies nested/same-line fields/calls, declaration vs definition and Unicode display columns. Root's native/GccSupervisor test just passed real live/edited/cancel/replay and adverse bounded ordinary process tests. tests/debug has 13 cases. Native/CMake registrations are being repeated. Other agents exposed code but their summaries are not grounds for acceptance.

9. Edge cases security and performance

Keep test resource lifetime bounded; do not launch untrusted arbitrary project input or inspect unrelated storage, do not build the compiler. For corruption and protocol cases use finite synthetic data/benign local binaries; no vulnerabilities/exploits against host or external projects. Focus on materially observable correctness, explicit unavailable evidence, reproducibility and test holes.

10. Acceptance criteria

Return independent READY/CHANGES_REQUIRED for 0001 scalar/stop, 0002 occurrence/definition, sealed leaf, supervisor, immutable journal/replay, and suitability to progress toward scope-approved further gates. State critical defects, real paths/lines/test input+expected/actual/evidence, missing compiler capabilities vs genuine implementation bugs and recommended minimal repairs.

11. Verification commands and evidence

git status --short --branch, git diff --check, direct inspect untracked files. dev cpp-gcc -c python3 tests/corpus/frontend/verify-gcc-ide.py --cc1plus $PWD/build/gcc-gate/compiler-build/gcc/cc1plus and same for verify-gcc-events.py, use the private binary and bounded harness. dev cpp-gcc -c python3 tests/native/GccSupervisor.py --probe $PWD/build/bootstrap/vls_gcc_probe --cc1plus $PWD/build/gcc-gate/evaluator-only/cc1plus; run build/gcc-trace-tests/vls_trace_tests --no-color. Inspect build/gcc-gate/{leaf-retest,observed-ide,observed-events,supervisor-runtime,trace-focused}.log. Capture actual nonzero/zero test evidence.

12. Constraints and stop conditions

Stop for necessary external operation or code edit. If runtime rate-limits return blocked review, not a READY claim. Root owns fixes. Report urgent P0/P1 while continuing independent portions.

13. Authorization and decisions

User D-027/D-029 require explicitly configured GPT-6.2 Astra at Max for review, D-030 permits only local compiler experiments, licensing and distribution deferred. No push/release.

14. Return format

T-REVIEW-GCC-019 READY/CHANGES_REQUIRED/BLOCKED, highest impact findings with reproduction+source then slice verdicts, commands/results and residual limitations. Notify parent only.