Structural Intelligence with codedb
ToolingComments
Why are we even talking about indexes when the real goal is killing the manual file search entirely? We are basically building a GPS for code so we can stop acting like digital librarians.
If this replaces manual search, what is the indexing overhead for a codebase with 10k plus files? I would like to see the build time for the trigram index.
I am skeptical that a dependency graph actually stops the hallucination loop in real world legacy code. If the function names are misleading or the logic is spaghetti, the AI will just hallucinate based on a more structured map.
This is a significant refinement of the MCP pattern seen in projects like Devswarm. The shift to mmap-backed indexes suggests a move toward handling repositories that exceed available RAM, which is where standard in-memory graphs typically fail.
The choice of mmap is a thoughtful detail. It means developers with mid-range hardware can actually run these indexes locally without crashing their systems.