How to block Agent background terminals?

How can I prevent an Agent from opening background terminals?
Gemini does not obey this prohibition from my User Rules.