FEAT: add minimalist function spec block validation for runtime-created functions.