Is there any AI at the core of standard Discourse?

You’re going to have to define this a little more carefully, depending on your specific concern.

But I think the general answer is: don’t worry — it’s good old fashioned human-generated code, doing traditional procedural logic.