It's not an order.
Transfer deeds to houses built in relatively new developments include restrictions on individual decisions on what to do with the house. Those decisions effectively get placed in the HOA's hands. Failing to abide by their guidelines means that the HOA can fine you.
HOAs effectively have the goal of making sure that a place is a "good neighborhood". Sometimes this takes the form of services provided for residents. (In other jurisdictions, these services are sometimes handled by the local government.) Sometimes it takes the form of limiting what residents can do so that they don't negatively impact the lives or property values of their neighbors. They may have limitations on landscaping, house additions, fencing, house paint, sports paraphernalia, and so on; it's possible to get these limitations revised, but there's usually an approval process for that.
When this crosses the line into Stepfordian behavior is up to the observer.
Some HOAs have real teeth, and others don't. I worked for UPS for some time, and some of the neighborhoods I visited had HOA rules about picking up your own dog's poop. Those rules were...infrequently followed at best, as I soon came to learn. I had to learn how to balance safety, speed, size of package load, and avoiding dog poop. But then there are the HOAs that impose exorbitant fines for, like, an unapproved shade of beige on the house's siding.
Sidenote: a homeowners' association can legally order people to have a flowerbed? In the land of the free?)
To put it another way, as @JollyRoger has often said, homeowners associations are the most oppressive level of government in the US.
How do you control the stink?
For the most part people are only composting vegetable waste and yard waste. There's little smell to it. And what smell there is, since this is happening in open air, and not all that quickly, blows away faster than it accumulates to the point of being noxious.