You can definitely contract away your speech and other rights. Ever hear of a Confidentiality Agreement? A Rental Agreement allows entry into the home by the landlord whether the tenant likes it or not. Businesses establish exceptions to search and seizure as part their employment agreements. Some companies don't allow political signs in cubicles. The difference is these are all private incursions.
It is clear you don't know much about the Constitution. I can't explain all about it here, but I'll try to clear up a few misunderstandings you have:
Your earlier statement about free speech being an "inalienable right" is not true. The only "inalienable rights" laid out in The Constitution are "Life, Liberty and the Pursuit of Happiness."
The Constitution is a contract between the Government and The People. It has NOTHING to do with dealings between individuals or corprate entities and individuals.
A CID (Common INterest Development) is a private organization that a person may elect to join or not. It can establish any restrictions on any activity it wants.
I say the ordinance was more wrong. Wronger still would be to allow infringements of this sort--well intentioned, piecemeal, circumscribed as they are-- on these rights.
You are 100% wrong. Not morally wrong, legally wrong. CID limitations on things such as signage, flags, displays, etc. have been found to be legal over and over again. Or would it be OK for someone to have a 35 foot lit sign of the pedophile muhammed and the islam crescent? If you don't want to accept the contract restrictions, don't sign the contract.
Please, learn about the American government system and the Constitution before expressing opinions steeped in ignorance. You can start here to learn more.
Or yelling "fire"... Another restriction, but a reasonable one that preserves the safety of others. Confidentiality agreements preserve what is construed as a kind of property: trade secrets and the like.
Rental Agreements... signs in cubicles... Property rights as well. It's the landlords who pays the taxes, and the company that owns the cubicle. And I'm perfectly happy for them to keep it.
limitations on things such as sign-age, flags, displays, etc.
Codes that limit size and placement of sign-age are actually protections the property rights of adjacent business, as well as public safety.
In my colossal ignorance of the constitution I don't see how a patriotic sign outside a private residence can be construed in the same terms as the examples you give.