Dynamics and design principles of a basic regulatory architecture controlling metabolic pathways