A detailed account of rewriting Kodit, a code RAG system combining BM25 and vector search, from Python to Go using Claude Code for AI-assisted migration. The author documents key architectural decisions and specific failures: the AI resurrected a deprecated snippets table by following dead code references, defaulted to burying
Table of contents
The Migration ApproachArchitectural DecisionsTesting and ValidationWhat the AI Got WrongThe New KoditWhat’s NextConclusionSort: