Envoyer par SMS: Adaptation to criticality through organizational invariance in embodied agents