Describir: Adaptation to criticality through organizational invariance in embodied agents