A covenant not to sue legally obliges a party that could initiate a lawsuit not to do so. The covenant is made explicitly between two parties, and any third party that wants to make a claim is legally allowed to do so. Covenants not to sue are used to settle specific legal issues outside of the court system.
My limited understanding is, restrictive covenants are only enforceable by a home owners association created among them. A local government isn't going to swoop in and enforce, or defend, a covenant that you created on your property. The local government is only concerned with land use ordinance's and state laws.
The Maryland Homeowners Association Act (“HOA Act”) and the Maryland inium Act (“Condo Act”) are sets of laws that apply to homeowners associations and iniums in Maryland. They can be found in the Real Property Article of the Maryland Code.
A real covenant is only enforceable if it was created intentionally, it relates to the property in question, and two kinds of privity are established. Additionally, a real covenant must be in writing. The party capable of enforcing the covenant depends on whether the burden or the benefit runs with the land.
To be enforceable, a restrictive covenant must be reasonably limited in duration. In some cases, a three year limitation might be acceptable, while, in other cases, one year would be too long. The restriction must also be sufficiently limited in a geographic scope.
A restrictive covenant runs with the land, affecting successive owners. It will not cease to be enforceable just because it was created a long time ago. However, the covenant may be unenforceable for another reason. For example, where the seller failed to observe the relevant registration formalities.
If a deed restriction is not enforceable, you can choose to ignore it and take on the risk of a neighbor filing suit, or you can seek out a judge's ruling to have the covenant removed from the deed. Obtaining that ruling is easier when no one is actively enforcing the covenant.
Under the Limitation Act 1980 claims in land need to be brought to court within 12 years. The main remedy for a breach of a restrictive covenant or the threat of it is the application to the courts for an injunction to prevent any further breaches.
Because there's no central authority to keep everyone in line, it's up to individual property owners to take matters into their own hands. They can either enforce the restrictions themselves or turn to local authorities.
While homeowners' associations in Maryland are governed by the federal FDCPA, the state also has an additional legislature that regulates the collection of debt at the state level.