Just war theory in the age of AI weapons and the ‘Department of War’

Just war theory in the age of AI weapons and the ‘Department of War’
What does the Catholic Church have to say about war? How does the concept of a "just war" which has roots in St. Augustine's writings relate to modern warfare? And what does a discussion of the ethics of war look like with modern weaponry, including weapons made with artificial intelligence?