Custom Policy for Category Validation Not Triggering in Strapi 4

As mentioned in the documentation, both validation and api::category.validation can be used in policies. I’ve tried both approaches but still do not see the log output. Any ideas on what could be going wrong?