Step 257: token efficiency tests + benchmarks (Phase 9c complete)

Systematic validation of all Phase 9c token-saving features: compact AST
(6-7% of full size), lean scope (4% of detailed), diagnostic deltas, budget
pagination across 3 pages, batch queries, and combined 95% savings. Benchmark
confirms sub-millisecond parse->mutate->diagnose cycles. Also adds Environment
Layer feature request to docs/annotations.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Bill
2026-02-11 19:34:58 +00:00
parent 850bb8f927
commit 5830361463
4 changed files with 718 additions and 0 deletions

View File

@@ -1499,4 +1499,15 @@ target_link_libraries(step256_test PRIVATE
tree_sitter_java tree_sitter_rust tree_sitter_go
tree_sitter_org)
# Step 257: Token efficiency tests + benchmarks
add_executable(step257_test tests/step257_test.cpp)
target_include_directories(step257_test PRIVATE src)
target_link_libraries(step257_test PRIVATE
nlohmann_json::nlohmann_json
unofficial::tree-sitter::tree-sitter
tree_sitter_python tree_sitter_cpp tree_sitter_elisp
tree_sitter_javascript tree_sitter_typescript
tree_sitter_java tree_sitter_rust tree_sitter_go
tree_sitter_org)
# Step 12: Dear ImGui shell scaffolding created (main.cpp exists but not built due to dependencies)