detect loop blocks
auto-merge staging into master