Dippy, do you understand the risk that the prosecution would take if they dismissed charges against her, she took the stand, and then became a hostile witness, or had a "lapse of memory"?
The prosecution is not taking any risk. If (Kayden) renigs on the deal, or has a lapse of memory they are free to refile the charges. That is also why the "wire fraud" charge is being bought. She pleads guilty to that. If she commits perjury on the stand, or becomes hostile, she has broken the plea deal and the files get reinstated. As part of the guilty plea on the lesser counts she also allocutes to all the other crimes she participated in or knew about. This is under oath.
Thats how plea deals in exchange for testimony work. The deal is in exchange for truthful testimony, a conviction can never be guaranteed.