* feat: default preserve filesystem for migration * add button on frontend * stage and publish api and add to templates test * fix test * stage and publish api * agents inherit folders from templates * sync sources on template update * don't preserve sources on af upload * fix test