Asset pipeline for public folder

Is the new asset pipeline only for the files located inside the assets folder? Or could it be used for the files that get generated in the public folder?

Yes. But there are some plans for adding some stuff to the “publishing writer” – minification of the output, which is I guess what most think is the missing piece in all of it.