# Implementation Plan: Granular AST Control ## Phase 1: Models & UI State - [x] Update `FileItem` model in `src/models.py` to support the new AST states. - [x] Update `src/gui_2.py` Context Panel to render toggle buttons/dropdowns for the new states. ## Phase 2: Aggregation Logic - [x] Modify `src/aggregate.py` to intercept files with these states and call the appropriate `tree-sitter` MCP tools. - [x] Ensure caching works for the new AST extraction states.