Thinking Machines: A Dual-System Framework for Metacognitive Control and Learning | Synapse