Code of Conduct
AI Policy
Is your feature request related to a problem? Please describe.
A lot of policies don't make sense to run on create actions, because they test against the original record. eg. relates_to_actor_via. At the moment this will either raise a runtime error, or silently fail.
Describe the solution you'd like
If each built-in policy could define which action types it worked on, we could emit a compile-time warning if people write policies that don't make a lot of sense or will never pass on a create action.
Describe alternatives you've considered
No response
Additional context
No response
Code of Conduct
AI Policy
Is your feature request related to a problem? Please describe.
A lot of policies don't make sense to run on create actions, because they test against the original record. eg.
relates_to_actor_via. At the moment this will either raise a runtime error, or silently fail.Describe the solution you'd like
If each built-in policy could define which action types it worked on, we could emit a compile-time warning if people write policies that don't make a lot of sense or will never pass on a create action.
Describe alternatives you've considered
No response
Additional context
No response