refactor: stricter worker node constructor checks