Comparison
Mainline vs RAG
Code retrieval is useful. It is not the same thing as repo memory.
RAGMainline
Best atFinding relevant code and documentsRecording decisions, risks, anti-patterns, and lifecycle
TimingUsually used during code inspectionRequired before non-trivial edits
Failure modeRetrieves the abandoned Redis implementationExplains why Redis was abandoned
System of recordVector store or vendor indexGit refs and notes owned by the repo