AI in courts demands disciplined legal workflows