What is the process of negotiating in agreement among the defendant, the prosecutor, and the court as to the appropriate plea and associated sentences in a given text?