My project is getting 404 error - gemini missed things up

i was working with my project throug the studio workspace , and during some of the modifcations did by gemini , i started getting 404 error page not found for all my pages , i tried to rollback to previous vesrion restoration , but it is useless , i tried fixing error through prototyper but each time it seems gemini is missing things up more and more , i dont know what to do any help

although i have a version of my project published and working , can i get this version back to the firebase studio , keeping in my mind i have did /clear order more than once in my prototyper , and ideas would be great