Mass. Gen. Laws ch. 119, § 54A
(c)
(1) After the completion of the assessment, the probation officer or, where applicable, the director of a program to which the child has been referred shall submit to the court and to the counsel for the child a recommendation as to whether the child would benefit from diversion.
Upon receipt of the recommendation, the judge shall provide an opportunity for both the commonwealth and counsel for the child to be heard regarding diversion of the child. The judge shall then make a final determination as to the eligibility of the child for diversion. The proceedings of a child who is found eligible for diversion shall be stayed for 90 days unless the judge determines that the interest of justice would best be served by a lesser period of time or unless extended under subsection (f).
(f)