MCP server with RAG to feed it back to agents when they are working on a piece of code, and bob's your uncle
This means that the agent will can have context of previous decisions, something that they currently struggle with as they are always starting from a blank slate.