Goal
Make CodeLens the best pure-Python code intelligence tool for AI agents before adding Rust complexity. These changes are high-impact, low-risk, and can start now.
Checklist
Definition of Done
- Agent can orient in a new codebase in 1 tool call (
get_architecture)
- 5 structural queries cost <5k tokens total
- Full scan on 500-file repo under 1 second
- Call graph is import-aware (not just same-file)
Why this before Rust
Architecture fixes (#8, #13) will themselves improve speed significantly — RAM-first pipeline + bulk SQLite inserts can recover 5-10x even in pure Python. Profile after Phase 1 before deciding what to port to Rust.
Goal
Make CodeLens the best pure-Python code intelligence tool for AI agents before adding Rust complexity. These changes are high-impact, low-risk, and can start now.
Checklist
get_architecture— single-call codebase overview for agents #19 —get_architectureone-call codebase overviewDefinition of Done
get_architecture)Why this before Rust
Architecture fixes (#8, #13) will themselves improve speed significantly — RAM-first pipeline + bulk SQLite inserts can recover 5-10x even in pure Python. Profile after Phase 1 before deciding what to port to Rust.