MIDCA: A Metacognitive, Integrated Dual-Cycle Architecture for Self-Regulated Autonomy