feat: add output_not_set_attachment kernel API
#2252
Merged
output_not_set_attachment kernel API
#2252