Yeah, there are plenty of examples of dictators that go through great lengths to inflict tremendous amounts of pain on many people. It’s terrifying to think of someone like that in control of an AGI.
Granted, people like that probably tend to be less likely than the average head-of-state to find themselves in control of an AGI, since brutal dictators often have unhealthy economies, and are therefore unlikely to win an AGI race. But it’s not like they have a monopoly on revenge or psychopathy either.
A few thoughts:
It sounds like he’s being rebellious. Separate the rebelliousness from the question of profanity, and discuss them separately. You might say something like “Asking questions if you genuinely want to understand something better is great, but asking questions to try to frustrate or annoy me is not. I’m getting the sense that you’re doing the latter.”
If he persists, put your foot down—but be really clear that it’s for the intent to annoy you, rather than because he’s asking questions in an attempt to honestly understand something.
It may also help to ask him, openly and gently, why he’s being rebellious. Sometimes rebelliousness comes from a perception that the rules are arbitrary or unfair. If you understand what he’s feeling, you can be in a better position to address those underlying causes. For example—Larks’s suggestion that sharing the reasons you don’t want him to swear may help. And maybe it would also help him to explain how this is a subjective issue, highly dependent on things like tone and social context, and perfectly clear rules are unfortunately impossible.