My city collects waste food for composting. There is /no seeds/ rule, likely because whoever uses the compost wants to control what they grow.
I make veg. broth by boiling veg. scraps for ~30—60 min., some of which are loaded with seeds. I’m wondering if the boiling kills the seed, in which case I wouldn’t likely cause problems by tossing the boiled scraps into the city’s compost.
Probably because food waste may also contain meat which therefore carries a health risk and has to be processed separately.