N.Y. Comp. Codes R. & Regs. tit. 10, § 5-1.26
No repair to the public water system shall be made until the trench has been dewatered to a point below the mains, valves or other structures. Every effort shall be made to prevent the entrance of foreign material and seepage into the public water system.