CR feedback: centralize resource guard evaluation logic to increase readability