3 months ago
c16f05fNative batch parse created line-based fallback chunks (80-line slices) with no symbolName in metadata. The graph build maps symbolName → chunkId to set refId on symbol nodes — without symbolName, refId was always null, so code_context couldn't find source snippets for any Python/Go/Rust symbol. Fix: use createSymbolChunks() when symbols exist (sets heading, symbolName, symbolType, searchText, proper token counts), and makeFallbackChunks() only when no symbols were extracted. Also bound chunks to configured token limits via boundChunks(), which the old code skipped entirely. Typecheck 8/8, tests 144 pass. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Parent7f91ec8