In addition to when the requirement may have been put into effect, there is likely a statute of limitations based on when the work was "substantially completed".
The following is an excerpt from one of the many discussions that you will find about patent and latent defects if you search "statute of limitations for hidden defects".
"Substantial Completion and the Statute of Limitations in Construction Defect Cases
Posted on March 28, 2013 by Jampol Zimet LLC
Amongst the tools available to defendants, time is one of the most powerful. Known as a statute of limitations, there exists a maximum time in which a plaintiff can sue a defendant and if that time expires then a plaintiff cannot bring a lawsuit. In construction law, the length of the statute of limitations depends on the type of problem, whether it is a “patent” or a “latent” defect. For both types of defect, the clock starts running upon “substantial completion” of the project. A defendant who proves that the plaintiff filed the suit after the time limit can get the case dismissed.
What is a defect?
For these purposes, construction defects are deficiencies or problems that occur in the course of the improvement project. The problem can be in the design, the specifications, the planning, supervision, observation, or actual construction. Moreover, the project is any type of project, from mere grading to the construction of dwellings. It can be as simple as stairs not built to the specifications. "
From:
Substantial Completion and the Statute of Limitations in Construction Defect Cases |
In my experience, the time limits for filing claims and deadlines for the various stages that followed were always the first thing that both parties investigated because it was the quickest way to end the construction disputes.