🔧 chore(repo): refresh local rules and ast defaults

add repository-local agent rules and refresh the architecture notes
for the current lsp layering.

register the AST self-test in CTest, initialize a few AST defaults,
and bump glaze to the newer conan package version.

verify: `cmake --build lsp-server/build/clang-linux/Release --target test_ast`
verify: `ctest --test-dir lsp-server/build/clang-linux/Release -R test_ast_unit --output-on-failure` passes
known issue: `ctest --test-dir lsp-server/build/clang-linux/Release -R test_ast_script --output-on-failure` still fails on `/home/csh/windows_share/tsf/funcext/Common/Tree/TTree.tsf` due to invalid TSF syntax (`FConfig &= v` missing trailing `;`).
This commit is contained in:
csh
2026-03-06 13:03:00 +08:00
parent 32e1eb09db
commit a9958f36fe
5 changed files with 150 additions and 7 deletions
+2
View File
@@ -66,6 +66,8 @@ target_compile_options(
$<$<CONFIG:Release>:-O3>)
if(BUILD_TESTS)
add_test(NAME test_ast_unit
COMMAND $<TARGET_FILE:test_ast> --self-test)
add_test(NAME test_ast_script
COMMAND ${CMAKE_COMMAND} -E env
TEST_AST_OVERRIDE=$<TARGET_FILE:test_ast>