Commit

177f73b

Thanks! Kind of both. Tree-sitter finds the definitions and chunks get cut at those, so a function never starts halfway through a chunk. Long ones still get split. The same parse builds a call graph, so an agent can ask who calls what too.

commit 177f73b