Undesired removal of content in AI Studio

I use AI Studio to build an app. This app has a sidebar on the right. This sidebar contains a cartoon image of Red Sonja in her bikini armor making a self-portrait of herself. Why? Because the app uses Imagen to create images based on a prompt that the user provides, which gets enhanced by Gemini first. It’s just a fun indicator of what the app is doing. It’s not an indecent image.
The problem is that AI Studio doesn’t seem to like it, so occasionally it decides to replace it with a placeholder. Or an image of a cat or some other silly image. And then I have to return to the last checkpoint, and that’s really annoying.
It would be useful if I could set specific instructions for AI Studio that it will always obey, like: “Never replace the image in the right sidebar” or “Never change the list of Gemini and Imagen models”.
AI Studio tends to damage apps this way by removing functionality that is required. And if these aren’t detected while making changes to an app, then a lot of work might get lost.

So, suggested solution: In the file list, at root level, a file called “instructions.txt” should be created that holds all the rules that matter for the application. Based on the prompt, AI Studio can add more rules to this file, but it can never modify or delete rules. And it will obey these rules, never violating them. (Or it should tell the user that it can’t implement a new feature as that violates these rules.) The user can modify and remove rules from this file, though.