A Guide to Layered AI Memory Management: The 5 Layers That Decide Whether AI Stays Accurate