Expose qualified name utility functions in policy.h
Avoid detached ad-hoc promise in runagent