Uses tree-sitter to parse code's Abstract Syntax Tree (AST). Chunks code by logical units (functions, classes, methods) rather than fixed lengths, ensuring context integrity. Preserves hierarchical ...