Scalable robot collective resilience by sharing resources | Synapse