The Three Layers of AI Mind: A Cognitive Architecture for Aligned Intelligence | Synapse