(a) If the offender violates the conditions of the Pre-Trial Intervention Program agreed to in writing by the offender and the district attorney, the district attorney may terminate the participation of the offender in the program and pursue criminal charges against the offender. The offender shall be given written notice of the intent of the district attorney to terminate him or her from the Pre-Trial Intervention Program.
(b) The district attorney may waive a violation for good cause shown why the offender should stay in the Pre-Trial Intervention Program.