# Establish the actual reflection and module reference for the frontend gate Task ID: T-RESEARCH-008 Role: astra_researcher Status: READY ## 1. Context and baseline /home/faumaray/Projects/VoidLanguageServer, feat/implement-roadmap at ca04975. The user authorized the full roadmap and selected gpt-6.2-astra at Max for this research role using the generic runtime. The shell passes 37 cases with GCC 16.2. Roadmap 08/11/12/17/24 needs compiler evidence independent of the build migration. ## 2. Objective and deliverables Run small representative probes with the actual GCC/libstdc++ used by Void and establish how to exercise the exact candidate frontend. Return observed evidence of supported and failing cases and a precise tool/source provisioning path. ## 3. Scope and non-goals Cover the real Void enum helper, reflection/splices through a named module, an invalid edit and the candidate tool's identity/availability. Ordinary source inspection and bounded reference compiler experiments only. Production code, backend selection, compiler patches, debugger implementation and full LLVM builds belong to later owned tasks. ## 4. Files to inspect Read docs/DEPENDENCIES.md, docs/roadmap/{08-frontend-feasibility,11-cpp-modules, 12-reflection-provenance,17-compiler-debug-instrumentation,24-conformance-performance}.md. The actual helper is build/bootstrap/_deps/voidlibrary-src/include/Void/Detail/Enum.hpp at VoidLibrary 7d7d23ec0a6a55d4b30921432fa215b29a29e59b. It implements enum_name, enum_parse and enum_cast with define_static_array, template for and splices. Pinned upstream project is bloomberg/clang-p2996 at 562409c7942690d59ea470762515f88f24b16e23. ## 5. Write ownership and coordination Write scope: none This is read-only research across all repositories. Run compiler experiments in a temporary directory under /tmp kept separate from all checkouts, with new synthetic sources only. Return fixture text, flags and outputs in the report. All project source, docs, build trees and global configuration are outside scope. ## 6. Implementation or investigation approach 1. Confirm compiler paths, versions and actual public header entry points. Create small valid and broken inputs in the temporary directory and run them through GCC. 2. Instantiate the real helper and check observed results. Exercise a named module with a separate importer using reflection. Capture the flags needed by installed GCC. 3. Check for a matching candidate from ordinary toolchain discovery and official upstream source/releases at the pinned revision. Distinguish docs, local tests and unavailable artifacts. If the exact binary is present, run equivalent probes. 4. Return the smallest reproducible compiler-library gate experiment, candidate resource prerequisites and whether a product decision is justified by the evidence. ## 7. Interfaces and data contracts Record compiler executable/version, language/flag list, standard-library identity, source header revision, module import order, expected diagnostic or program result, actual process exit status and any difference from a semantic-query assertion. Future semantic requests must carry source and context identities. ## 8. Dependencies and integration Root owns VBS seed work and source integration. The planner handles foundations. Your compiler results feed roadmap 08/17 and have independent inputs. Use the existing active Serena project. For graph queries confirm project and coverage, then verify important claims in actual sources. Do not switch shared projects. ## 9. Edge cases security and performance Keep all compiler processes finite. Use one or two compile jobs at a time. Use the known GCC directly on the fixtures. Do not execute downloaded binaries, project scripts or plugins. Public queries may name the public fork and commits only. Do not browse workspace credentials, dotfiles, ignored caches or unrelated projects. ## 10. Acceptance criteria 1. Reproducible GCC enum helper checks show the actual observed values/exit status. 2. Named-module success/failure and invalid-edit diagnostics have recorded commands. 3. Exact candidate binary availability, provenance and relevant implementation evidence from primary sources are distinguished from extrapolation. 4. A concrete next experiment addresses libstdc++ fidelity and actual IDE queries. ## 11. Verification commands and evidence From repo root run `dev cpp-gcc -c g++ --version` and use the observed compiler with `-std=c++26 -freflection` for the enum case. Use the temporary directory as working directory for module compiles, discovering the required module flag from the installed compiler. Record complete flags, working directories and observed exit codes. Do not treat a documentation statement as a compiler test. ## 12. Constraints and stop conditions Stop before installing software or consuming substantial disk for a toolchain. Report unavailable candidate tools/access as missing evidence. A failing reference case should be retained with the smallest distinguishing check. ## 13. Authorization and decisions D-002, D-010, D-011, D-022, D-025, D-027. The user approved investigation and implementation of the plan. Compiler repairs or a change of backend require a separate explicit technical decision. No publishing, messaging or installation. ## 14. Return format Return T-RESEARCH-008 DONE/PARTIAL/BLOCKED, exact commands/results, artifact paths, tool revisions and official links, evidence per criterion, unrun checks and recommendation. Distinguish observed behavior from inference. No child agents.